CN106814915A - A kind of touch-screen display control method and system for mobile terminal - Google Patents
A kind of touch-screen display control method and system for mobile terminal Download PDFInfo
- Publication number
- CN106814915A CN106814915A CN201710040938.XA CN201710040938A CN106814915A CN 106814915 A CN106814915 A CN 106814915A CN 201710040938 A CN201710040938 A CN 201710040938A CN 106814915 A CN106814915 A CN 106814915A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- touch
- touch screen
- nfc
- area
- 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.)
- Granted
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/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)
- Telephone Function (AREA)
Abstract
本发明公开了一种用于移动终端的触摸屏显示控制方法和系统,该方法包括:获取移动终端和外界通讯设备进行NFC交互时移动终端的NFC线圈产生的磁场对移动终端的触摸屏的触摸干扰范围,并定义为触摸干扰区域;缩小触摸屏的显示区域,且缩小后的当前显示区域与触摸干扰区域不存在重合区域。当移动终端需要和外界的通讯设备进行NFC交互时,首先获取NFC交互时NFC线圈产生的磁场对触摸屏的干扰范围,然后缩小触摸屏的显示区域,使得触摸屏的显示区域脱离该干扰范围,这样就使得NFC线圈的磁场不会对触摸屏操作界面产生干扰影响,从而保证了在移动终端和外界通讯设备进行NFC数据交互时用户对于移动终端的正常操作。
The invention discloses a touch screen display control method and system for a mobile terminal. The method includes: obtaining the touch interference range of the touch screen of the mobile terminal by the magnetic field generated by the NFC coil of the mobile terminal when the mobile terminal and an external communication device perform NFC interaction , and defined as the touch interference area; the display area of the touch screen is reduced, and there is no overlapping area between the reduced current display area and the touch interference area. When a mobile terminal needs to perform NFC interaction with an external communication device, first obtain the interference range of the magnetic field generated by the NFC coil on the touch screen during NFC interaction, and then reduce the display area of the touch screen so that the display area of the touch screen is out of the interference range, so that the The magnetic field of the NFC coil will not interfere with the touch screen operation interface, thus ensuring the normal operation of the mobile terminal by the user when the mobile terminal interacts with external communication devices for NFC data.
Description
技术领域technical field
本发明涉及通信技术领域,特别是涉及一种用于移动终端的触摸屏显示控制方法和系统。The present invention relates to the technical field of communication, in particular to a touch screen display control method and system for a mobile terminal.
背景技术Background technique
随着信息技术的发展,手机等移动终端已经成为人们生活和工作不可或缺的电子产品。With the development of information technology, mobile terminals such as mobile phones have become indispensable electronic products for people's life and work.
目前,手机等移动终端全金属外壳的设计越来越普遍,金属外壳可以提高移动终端的安全性,不易在跌落或受到撞击时受到较大的损坏。但是,由于金属对于电通信信号具有屏蔽的作用,因此全金属外壳的移动终端的一些通信部件无法通过金属外壳和外界设备进行数据交互。NFC(即近距离无线通讯技术)装置目前已被广泛应用在手机等移动终端中,极大地方便了人们的生活,NFC装置通过自身的NFC线圈和外界的通讯设备进行数据交互,由于全金属外壳对NFC装置也有屏蔽作用,因此,NFC线圈目前通常安装在移动终端的屏幕背面,NFC装置和外界通讯设备的交互信号可以穿过移动终端的屏幕,以实现NFC功能。但是,当NFC装置和外界的通讯设备进行交互时,NFC线圈和外界的通讯设备之间的移动终端的屏幕区域会受到两者交互时产生的磁场的干扰,由于目前的移动终端屏幕多为触摸屏,触摸屏受干扰的区域的操作会受到极大的影响,使得用户无法正常操作移动终端。At present, the design of all-metal shells for mobile terminals such as mobile phones is becoming more and more common. Metal shells can improve the safety of mobile terminals and are less likely to be greatly damaged when they are dropped or hit. However, since metal has a shielding effect on electrical communication signals, some communication components of a mobile terminal with an all-metal casing cannot perform data interaction with external devices through the metal casing. NFC (near-field communication technology) devices have been widely used in mobile terminals such as mobile phones, which greatly facilitate people's lives. NFC devices perform data interaction with external communication devices through their own NFC coils. Due to the full metal shell It also has a shielding effect on the NFC device. Therefore, the NFC coil is usually installed on the back of the screen of the mobile terminal at present, and the interactive signal between the NFC device and the external communication device can pass through the screen of the mobile terminal to realize the NFC function. However, when the NFC device interacts with external communication equipment, the screen area of the mobile terminal between the NFC coil and the external communication equipment will be disturbed by the magnetic field generated when the two interact. , the operation of the disturbed area of the touch screen will be greatly affected, so that the user cannot normally operate the mobile terminal.
因此,如何在移动终端和外界通讯设备进行NFC数据交互时,保证用户对于移动终端的正常操作,是本领域技术人员目前需要解决的技术问题。Therefore, how to ensure the normal operation of the mobile terminal by the user when the mobile terminal interacts with the external communication device for NFC data is a technical problem currently to be solved by those skilled in the art.
发明内容Contents of the invention
本发明的目的是提供一种用于移动终端的触摸屏显示控制方法和系统,在移动终端和外界通讯设备进行NFC数据交互时,保证用户对于移动终端的正常操作。The purpose of the present invention is to provide a touch screen display control method and system for a mobile terminal, which can ensure the normal operation of the mobile terminal by the user when the mobile terminal interacts with external communication devices for NFC data.
为解决上述技术问题,本发明提供了如下技术方案:In order to solve the problems of the technologies described above, the present invention provides the following technical solutions:
一种用于移动终端的触摸屏显示控制方法,包括:A touch screen display control method for a mobile terminal, comprising:
获取移动终端和外界通讯设备进行NFC交互时所述移动终端的NFC线圈产生的磁场对所述移动终端的触摸屏的触摸干扰范围,并定义为触摸干扰区域;Obtain the touch interference range of the touch screen of the mobile terminal by the magnetic field generated by the NFC coil of the mobile terminal when the mobile terminal and the external communication device perform NFC interaction, and define it as a touch interference area;
缩小所述触摸屏的显示区域,且缩小后的当前显示区域与所述触摸干扰区域不存在重合区域。The display area of the touch screen is reduced, and there is no overlapping area between the reduced current display area and the touch interference area.
优选地,所述获取移动终端和外界通讯设备进行NFC交互时所述移动终端的NFC线圈产生的磁场对所述移动终端的触摸屏的触摸干扰范围,并定义为触摸干扰区域,包括:Preferably, the touch interference range of the touch screen of the mobile terminal by the magnetic field generated by the NFC coil of the mobile terminal when the mobile terminal and the external communication device perform NFC interaction is defined as a touch interference area, including:
获取所述移动终端和外界通讯设备进行NFC交互时所述移动终端的NFC线圈产生的磁场的磁场强度信号;Obtaining the magnetic field strength signal of the magnetic field generated by the NFC coil of the mobile terminal when the mobile terminal interacts with the external communication device through NFC;
根据所述磁场强度信号对所述NFC线圈进行定位,并判定所述磁场对所述移动终端的触摸屏的触摸干扰范围,定义所述磁场对所述移动终端的触摸屏的触摸干扰范围所对应的触摸屏区域为触摸干扰区域。Position the NFC coil according to the magnetic field strength signal, determine the touch interference range of the magnetic field to the touch screen of the mobile terminal, and define the touch screen corresponding to the touch interference range of the magnetic field to the touch screen of the mobile terminal The area is the touch interference area.
优选地,所述获取所述移动终端和外界通讯设备进行NFC交互时所述移动终端的NFC线圈产生的磁场的磁场强度信号,包括:Preferably, the acquisition of the magnetic field strength signal of the magnetic field generated by the NFC coil of the mobile terminal when the mobile terminal interacts with an external communication device through NFC includes:
获取所述移动终端的NFC启动信号;Obtain the NFC activation signal of the mobile terminal;
判断所述移动终端是否和所述外界通讯设备处于NFC交互状态;judging whether the mobile terminal is in an NFC interactive state with the external communication device;
若是,则获取所述移动终端的NFC线圈产生的磁场的磁场强度信号。If yes, acquire the magnetic field intensity signal of the magnetic field generated by the NFC coil of the mobile terminal.
优选地,所述缩小所述触摸屏的显示区域,且缩小后的当前显示区域与所述触摸干扰区域不存在重合区域,包括:Preferably, the reducing the display area of the touch screen, and the reduced current display area does not overlap with the touch interference area includes:
根据所述触摸干扰区域获取所述触摸屏中和所述触摸干扰区域不存在重合区域的触摸正常区域;Acquiring a normal touch area in the touch screen that does not overlap with the touch interference area according to the touch interference area;
控制所述触摸屏的显示区域缩小至所述触摸正常区域的预设位置。controlling the display area of the touch screen to shrink to the preset position of the touch normal area.
优选地,在缩小所述触摸屏的显示区域,且缩小后的当前显示区域与所述触摸干扰区域不存在重合区域,之后还包括:Preferably, after reducing the display area of the touch screen, and there is no overlapping area between the reduced current display area and the touch interference area, the method further includes:
判断所述移动终端和所述外界通讯设备是否断开NFC交互;judging whether the mobile terminal and the external communication device disconnect NFC interaction;
若是,则控制所述触摸屏恢复全屏显示。If so, control the touch screen to resume full-screen display.
一种用于移动终端的触摸屏显示控制系统,包括:A touch screen display control system for a mobile terminal, comprising:
获取模块,用于获取移动终端和外界通讯设备进行NFC交互时所述移动终端的NFC线圈产生的磁场对所述移动终端的触摸屏的触摸干扰范围,并定义为触摸干扰区域;The acquisition module is used to acquire the touch interference range of the touch screen of the mobile terminal by the magnetic field generated by the NFC coil of the mobile terminal when the mobile terminal and the external communication device perform NFC interaction, and define it as a touch interference area;
控制模块,用于缩小所述触摸屏的显示区域,且缩小后的当前显示区域与所述触摸干扰区域不存在重合区域。The control module is configured to reduce the display area of the touch screen, and there is no overlapping area between the reduced current display area and the touch interference area.
优选地,所述获取模块包括:Preferably, the acquisition module includes:
磁力传感单元,用于获取所述移动终端和外界通讯设备进行NFC交互时所述移动终端的NFC线圈产生的磁场的磁场强度信号;The magnetic sensing unit is used to obtain the magnetic field strength signal of the magnetic field generated by the NFC coil of the mobile terminal when the mobile terminal interacts with the external communication device through NFC;
处理单元,用于根据所述磁场强度信号对所述NFC线圈进行定位,并判定所述磁场对所述移动终端的触摸屏的触摸干扰范围,定义所述磁场对所述移动终端的触摸屏的触摸干扰范围所对应的触摸屏区域为触摸干扰区域。A processing unit, configured to locate the NFC coil according to the magnetic field strength signal, determine the touch interference range of the magnetic field to the touch screen of the mobile terminal, and define the touch interference of the magnetic field to the touch screen of the mobile terminal The touch screen area corresponding to the range is the touch interference area.
优选地,所述磁力传感单元包括:Preferably, the magnetic sensing unit includes:
第一获取子单元,用于获取所述移动终端的NFC启动信号;The first obtaining subunit is used to obtain the NFC activation signal of the mobile terminal;
判断子单元,用于判断所述移动终端是否和所述外界通讯设备处于NFC交互状态;A judging subunit, configured to judge whether the mobile terminal is in an NFC interaction state with the external communication device;
第二获取子单元,用于在所述判断子单元判定所述移动终端和所述外界通讯设备处于NFC交互状态时,获取所述移动终端的NFC线圈产生的磁场的磁场强度信号。The second acquiring subunit is configured to acquire the magnetic field strength signal of the magnetic field generated by the NFC coil of the mobile terminal when the judging subunit determines that the mobile terminal and the external communication device are in an NFC interaction state.
优选地,所述控制模块包括:Preferably, the control module includes:
获取单元,用于根据所述触摸干扰区域获取所述触摸屏中和所述触摸干扰区域不存在重合区域的触摸正常区域;An acquisition unit, configured to acquire, according to the touch interference area, a normal touch area in the touch screen that does not overlap with the touch interference area;
控制单元,用于控制所述触摸屏的显示区域缩小至所述触摸正常区域的预设位置。A control unit, configured to control the display area of the touch screen to shrink to the preset position of the normal touch area.
优选地,还包括:Preferably, it also includes:
判断模块,用于判断所述移动终端和所述外界通讯设备是否断开NFC交互;A judging module, configured to judge whether the mobile terminal and the external communication device disconnect NFC interaction;
执行模块,用于在所述判断模块判定所述移动终端和所述外界通讯设备断开NFC交互时,控制所述触摸屏恢复全屏显示。An execution module, configured to control the touch screen to resume full-screen display when the judgment module determines that the NFC interaction between the mobile terminal and the external communication device is disconnected.
与现有技术相比,上述技术方案具有以下优点:Compared with the prior art, the above-mentioned technical solution has the following advantages:
本发明所提供的一种用于移动终端的触摸屏显示控制方法,包括:获取移动终端和外界通讯设备进行NFC交互时移动终端的NFC线圈产生的磁场对移动终端的触摸屏的触摸干扰范围,并定义为触摸干扰区域;缩小触摸屏的显示区域,且缩小后的当前显示区域与触摸干扰区域不存在重合区域。当移动终端需要和外界的通讯设备进行NFC交互时,首先获取NFC交互时NFC线圈产生的磁场对触摸屏的干扰范围,然后缩小触摸屏的显示区域,使得触摸屏的显示区域脱离该干扰范围,这样就使得NFC线圈的磁场不会对触摸屏操作界面产生干扰影响,从而保证了在移动终端和外界通讯设备进行NFC数据交互时用户对于移动终端的正常操作。A touch screen display control method for a mobile terminal provided by the present invention includes: obtaining the touch interference range of the magnetic field generated by the NFC coil of the mobile terminal to the touch screen of the mobile terminal when the mobile terminal and an external communication device perform NFC interaction, and defining It is the touch interference area; the display area of the touch screen is reduced, and there is no overlapping area between the reduced current display area and the touch interference area. When a mobile terminal needs to perform NFC interaction with an external communication device, first obtain the interference range of the magnetic field generated by the NFC coil on the touch screen during NFC interaction, and then reduce the display area of the touch screen so that the display area of the touch screen is out of the interference range, so that the The magnetic field of the NFC coil will not interfere with the touch screen operation interface, thus ensuring the normal operation of the mobile terminal by the user when the mobile terminal interacts with external communication devices for NFC data.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are For some embodiments of the present invention, those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明一种具体实施方式所提供的用于移动终端的触摸屏显示控制方法流程图;1 is a flow chart of a touch screen display control method for a mobile terminal provided by a specific embodiment of the present invention;
图2为本发明一种具体实施方式所提供的用于移动终端的触摸屏显示控制系统结构示意图;2 is a schematic structural diagram of a touch screen display control system for a mobile terminal provided by a specific embodiment of the present invention;
图3为本发明一种具体实施方式所提供的采用了用于移动终端的触摸屏显示控制系统的移动终端的触摸屏显示控制状态示意图。FIG. 3 is a schematic diagram of a touch screen display control state of a mobile terminal using a touch screen display control system for a mobile terminal provided by a specific embodiment of the present invention.
具体实施方式detailed description
本发明的核心是提供一种用于移动终端的触摸屏显示控制方法和系统,在移动终端和外界通讯设备进行NFC数据交互时,保证用户对于移动终端的正常操作。The core of the present invention is to provide a touch screen display control method and system for a mobile terminal, which ensures the normal operation of the mobile terminal by the user when the mobile terminal interacts with external communication devices for NFC data.
为了使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施方式做详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the specific implementation manners of the present invention will be described in detail below in conjunction with the accompanying drawings.
在以下描述中阐述了具体细节以便于充分理解本发明。但是本发明能够以多种不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本发明内涵的情况下做类似推广。因此本发明不受下面公开的具体实施的限制。In the following description, specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention can be implemented in many other ways than those described here, and those skilled in the art can make similar extensions without departing from the connotation of the present invention. Accordingly, the invention is not limited to the specific implementations disclosed below.
请参考图1,图1为本发明一种具体实施方式所提供的用于移动终端的触摸屏显示控制方法流程图。Please refer to FIG. 1 , which is a flow chart of a touch screen display control method for a mobile terminal provided by a specific embodiment of the present invention.
本发明的一种具体实施方式提供了一种用于移动终端的触摸屏显示控制方法,包括:A specific embodiment of the present invention provides a touch screen display control method for a mobile terminal, including:
S11:获取移动终端和外界通讯设备进行NFC交互时移动终端的NFC线圈产生的磁场对移动终端的触摸屏的触摸干扰范围,并定义为触摸干扰区域。S11: Obtain the touch interference range of the touch screen of the mobile terminal by the magnetic field generated by the NFC coil of the mobile terminal when the mobile terminal interacts with the external communication device through NFC, and define it as a touch interference area.
S12:缩小触摸屏的显示区域,且缩小后的当前显示区域与触摸干扰区域不存在重合区域。S12: Reduce the display area of the touch screen, and there is no overlapping area between the reduced current display area and the touch interference area.
以移动终端为智能手机为例,当用户正常操作手机时,通常情况下智能手机是全屏进行显示。由于当手机的后盖为金属外壳时,手机通过触摸屏一侧来和外界的通讯设备进行NFC交互。如外界的通讯设备为IC卡,则需要将IC卡移动至手机的屏幕上以使IC卡可以完成和手机进行NFC交互。而当IC卡等通讯设备和移动终端进行NFC交互时,移动终端的NFC线圈会产生一定的磁场,该磁场对一定范围内的触摸屏产生干扰,造成触摸屏乱触摸操作等,且用户人为手动操作也会受到影响。因此,在本实施方式中,首先获取NFC交互时NFC线圈产生的磁场对触摸屏的干扰范围,然后缩小触摸屏的显示区域,使得触摸屏的显示区域脱离该干扰范围,这样就使得NFC线圈的磁场不会对触摸屏操作界面产生干扰影响,从而保证了在移动终端和外界通讯设备进行NFC数据交互时用户对于移动终端的正常操作。如当外界通讯设备为IC卡时,由于显示区域缩小,有效触摸范围就相应减小,缩小了触摸操作范围,也就是说NFC线圈对触摸的影响部分触摸失效,与有效触摸的显示区域互不干扰,用户可以正常操作触摸屏对IC卡等通讯设备进行写卡、充值、转账或支付等操作。Taking the mobile terminal as an example of a smart phone, when the user normally operates the mobile phone, usually the smart phone is displayed in full screen. Because when the back cover of the mobile phone is a metal shell, the mobile phone performs NFC interaction with the external communication device through one side of the touch screen. If the external communication device is an IC card, the IC card needs to be moved to the screen of the mobile phone so that the IC card can complete the NFC interaction with the mobile phone. When communication devices such as IC cards interact with the mobile terminal through NFC, the NFC coil of the mobile terminal will generate a certain magnetic field, which will interfere with the touch screen within a certain range, causing random touch operations on the touch screen, etc. will be affected. Therefore, in this embodiment, first obtain the interference range of the magnetic field generated by the NFC coil to the touch screen during NFC interaction, and then reduce the display area of the touch screen so that the display area of the touch screen is out of the interference range, so that the magnetic field of the NFC coil will not Interference affects the touch screen operation interface, thereby ensuring the normal operation of the mobile terminal by the user when the mobile terminal and the external communication device perform NFC data interaction. For example, when the external communication device is an IC card, due to the narrowing of the display area, the effective touch range is correspondingly reduced, which reduces the touch operation range, that is to say, the touch effect of the NFC coil on the touch is invalid, which is different from the effective touch display area. Interference, the user can normally operate the touch screen to write cards, recharge, transfer or pay for communication devices such as IC cards.
需要说明的是,在本文中“显示区域”指的是移动终端的有效触摸区域,即用户可以人为进行触摸操作的区域。It should be noted that the "display area" herein refers to the effective touch area of the mobile terminal, that is, the area where the user can artificially perform touch operations.
在上述实施方式的基础上,获取移动终端和外界通讯设备进行NFC交互时移动终端的NFC线圈产生的磁场对移动终端的触摸屏的触摸干扰范围,并定义为触摸干扰区域,包括:获取移动终端和外界通讯设备进行NFC交互时移动终端的NFC线圈产生的磁场的磁场强度信号;根据磁场强度信号对NFC线圈进行定位,并判定磁场对移动终端的触摸屏的触摸干扰范围,定义磁场对移动终端的触摸屏的触摸干扰范围所对应的触摸屏区域为触摸干扰区域。On the basis of the above-mentioned embodiments, when the mobile terminal interacts with external communication devices through NFC, the touch interference range of the magnetic field generated by the NFC coil of the mobile terminal on the touch screen of the mobile terminal is obtained, and is defined as the touch interference area, including: obtaining the mobile terminal and The magnetic field strength signal of the magnetic field generated by the NFC coil of the mobile terminal when the external communication device performs NFC interaction; locate the NFC coil according to the magnetic field strength signal, and determine the touch interference range of the magnetic field to the touch screen of the mobile terminal, and define the impact of the magnetic field on the touch screen of the mobile terminal The touch screen area corresponding to the touch interference range is the touch interference area.
在本实施方式中,对触摸干扰区域的获取方式进行了具体说明。当外界通讯设备和移动终端进行NFC交互时,由于外界通讯设备和移动终端的相对位置是随机的,从而使得移动终端的NFC线圈产生的磁场在每次交互时不尽相同,所以触摸干扰区域通常情况下是不同的。在本实施方式中,通过获取当前NFC线圈产生的磁场的磁场强度信号,根据磁场强度信号的大小可以定位出NFC线圈的位置,并判断出触摸干扰范围,以定义出当前NFC交互时的触摸干扰区域。In this embodiment, the manner of acquiring the touch interference area is specifically described. When the external communication device and the mobile terminal perform NFC interaction, since the relative position of the external communication device and the mobile terminal is random, the magnetic field generated by the NFC coil of the mobile terminal is different for each interaction, so the touch interference area is usually The case is different. In this embodiment, by acquiring the magnetic field strength signal of the magnetic field generated by the current NFC coil, the position of the NFC coil can be located according to the magnitude of the magnetic field strength signal, and the touch interference range can be determined to define the current touch interference during NFC interaction area.
需要说明的是,在本实施方式中,当判定了触摸干扰区域后,可以控制触摸屏的显示区域自适应缩小,只要显示区域和触摸干扰区域没有重合区域即可。It should be noted that in this embodiment, after the touch interference area is determined, the display area of the touch screen can be controlled to shrink adaptively, as long as the display area and the touch interference area do not overlap.
还需要说明的是,本实施方式只是优选通过获取NFC线圈的磁场强度信号来判断出触摸干扰范围,也可以通过其他的方式来获取触摸干扰范围;或者直接判断通常情况下NFC线圈对触摸屏的最大干扰范围,并在每次进行NFC交互时,控制触摸屏的显示区域在该最大干扰范围之外即可。It should also be noted that in this embodiment, the touch interference range is preferably determined only by obtaining the magnetic field strength signal of the NFC coil, and the touch interference range can also be obtained in other ways; Interference range, and every time NFC interaction is performed, the display area of the touch screen is controlled to be outside the maximum interference range.
进一步地,在本发明的一种实施方式中,获取移动终端和外界通讯设备进行NFC交互时移动终端的NFC线圈产生的磁场的磁场强度信号,包括:获取移动终端的NFC启动信号;判断移动终端是否和外界通讯设备处于NFC交互状态;若是,则获取移动终端的NFC线圈产生的磁场的磁场强度信号。Further, in one embodiment of the present invention, obtaining the magnetic field strength signal of the magnetic field generated by the NFC coil of the mobile terminal when the mobile terminal interacts with the external communication device through NFC includes: obtaining the NFC activation signal of the mobile terminal; Whether it is in the NFC interaction state with the external communication device; if so, obtain the magnetic field strength signal of the magnetic field generated by the NFC coil of the mobile terminal.
实时获取移动终端的NFC线圈的磁场强度信号并进行处理,会使得实现该方法的对应硬件一直处于待机状态,造成了无谓的功耗。在本实施方式中,只有当获取移动终端的NFC启动信号,并在判定和外界通讯设备进行NFC交互时才获取磁场强度信号。即当移动终端开启NFC功能时,才触发上述各实施方式中所提供的触摸屏显示控制方法的流程,可以大大减少功耗。Obtaining and processing the magnetic field strength signal of the NFC coil of the mobile terminal in real time will keep the corresponding hardware for implementing the method in a standby state, resulting in unnecessary power consumption. In this embodiment, the magnetic field strength signal is acquired only when the NFC activation signal of the mobile terminal is acquired and it is determined to perform NFC interaction with an external communication device. That is, when the mobile terminal turns on the NFC function, the process of the touch screen display control method provided in the above embodiments is triggered, which can greatly reduce power consumption.
在本发明的一种实施方式中,缩小触摸屏的显示区域,且缩小后的当前显示区域与触摸干扰区域不存在重合区域,包括:根据触摸干扰区域获取触摸屏中和触摸干扰区域不存在重合区域的触摸正常区域;控制触摸屏的显示区域缩小至触摸正常区域的预设位置。In one embodiment of the present invention, reducing the display area of the touch screen, and the reduced current display area does not overlap with the touch interference area includes: obtaining the information of the touch screen and the touch interference area that do not overlap according to the touch interference area Touch the normal area; control the display area of the touch screen to shrink to the preset position of the touched normal area.
在本实施方式中,可以根据预设的程序等控制触摸屏的显示区域缩小至触摸屏正常显示区域的预设位置。如当NFC线圈位于移动终端的上部时,缩小后的当前显示区域靠近整个触摸屏的右下侧。In this embodiment, the display area of the touch screen can be controlled to shrink to the preset position of the normal display area of the touch screen according to a preset program or the like. For example, when the NFC coil is located on the upper part of the mobile terminal, the reduced current display area is close to the lower right side of the entire touch screen.
需要说明的是,在本实施方式中,在缩小显示区域后,显示区域在触摸屏上的位置可以根据用户对于触摸屏的操作进行相应的变化,如在显示区域自适应缩小至触摸屏的右下侧,当用户点击该显示区域的空白区域时(即显示区域中没有任何应用的区域),随着用户手指的移动,显示区域进行相应的移动,直至用户的手指离开触摸屏。It should be noted that, in this embodiment, after the display area is reduced, the position of the display area on the touch screen can be changed accordingly according to the user's operation on the touch screen, such as adaptively shrinking the display area to the lower right side of the touch screen, When the user clicks on a blank area of the display area (that is, an area without any application in the display area), as the user's finger moves, the display area moves accordingly until the user's finger leaves the touch screen.
进一步地,在缩小触摸屏的显示区域,且缩小后的当前显示区域与触摸干扰区域不存在重合区域,之后还包括:判断移动终端和外界通讯设备是否断开NFC交互;若是,则控制触摸屏恢复全屏显示。Further, after reducing the display area of the touch screen, and there is no overlapping area between the reduced current display area and the touch interference area, it also includes: judging whether the mobile terminal and the external communication device disconnect the NFC interaction; if so, then control the touch screen to restore the full screen show.
在本实施方式中,当移动终端断开和外界通讯设备的NFC交互时,恢复全屏显示,使得移动终端恢复正常使用状态,以便于用户进行操作使用。In this embodiment, when the mobile terminal disconnects from the NFC interaction with the external communication device, the full-screen display is resumed, so that the mobile terminal returns to the normal use state, so that the user can operate and use it.
请参考图2,图2为本发明一种具体实施方式所提供的用于移动终端的触摸屏显示控制系统结构示意图。Please refer to FIG. 2 . FIG. 2 is a schematic structural diagram of a touch screen display control system for a mobile terminal provided by a specific embodiment of the present invention.
相应地,本发明一种实施方式还提供了一种用于移动终端的触摸屏显示控制系统,包括:获取模块1,用于获取移动终端和外界通讯设备进行NFC交互时移动终端的NFC线圈产生的磁场对移动终端的触摸屏的触摸干扰范围,并定义为触摸干扰区域;控制模块2,用于缩小触摸屏的显示区域,且缩小后的当前显示区域与触摸干扰区域不存在重合区域。Correspondingly, an embodiment of the present invention also provides a touch screen display control system for a mobile terminal, including: an acquisition module 1, configured to acquire the information generated by the NFC coil of the mobile terminal when the mobile terminal interacts with an external communication device through NFC. The touch interference range of the magnetic field on the touch screen of the mobile terminal is defined as a touch interference area; the control module 2 is used to reduce the display area of the touch screen, and there is no overlapping area between the reduced current display area and the touch interference area.
在本实施方式中,当移动终端需要和外界的通讯设备进行NFC交互时,首先通过获取模块获取NFC交互时NFC线圈产生的磁场对触摸屏的干扰范围,然后通过控制模块缩小触摸屏的显示区域,使得触摸屏的显示区域脱离该干扰范围,这样就使得NFC线圈的磁场不会对触摸屏操作界面产生干扰影响,从而保证了在移动终端和外界通讯设备进行NFC数据交互时用户对于移动终端的正常操作。In this embodiment, when the mobile terminal needs to perform NFC interaction with an external communication device, the acquisition module first obtains the interference range of the magnetic field generated by the NFC coil to the touch screen during NFC interaction, and then narrows the display area of the touch screen through the control module, so that The display area of the touch screen is out of the interference range, so that the magnetic field of the NFC coil will not interfere with the touch screen operation interface, thereby ensuring the normal operation of the mobile terminal by the user when the mobile terminal and the external communication device perform NFC data interaction.
请参考图3,图3为本发明一种具体实施方式所提供的采用了用于移动终端的触摸屏显示控制系统的移动终端的触摸屏显示控制状态示意图。Please refer to FIG. 3 , which is a schematic diagram of a touch screen display control state of a mobile terminal using a touch screen display control system for a mobile terminal provided by a specific embodiment of the present invention.
在本发明的一种实施方式中,获取模块包括:磁力传感单元,用于获取移动终端和外界通讯设备进行NFC交互时移动终端的NFC线圈产生的磁场的磁场强度信号;处理单元,用于根据磁场强度信号对NFC线圈进行定位,并判定磁场对移动终端的触摸屏的触摸干扰范围,定义磁场对移动终端的触摸屏的触摸干扰范围所对应的触摸屏区域为触摸干扰区域。In one embodiment of the present invention, the acquiring module includes: a magnetic sensing unit, configured to acquire a magnetic field strength signal of a magnetic field generated by an NFC coil of the mobile terminal when the mobile terminal interacts with an external communication device through NFC; a processing unit configured to The NFC coil is positioned according to the magnetic field strength signal, and the touch interference range of the magnetic field to the touch screen of the mobile terminal is determined, and the touch screen area corresponding to the touch interference range of the magnetic field to the touch screen of the mobile terminal is defined as the touch interference area.
在本实施方式中,如图3所示,以手机作为移动终端为例进行说明。在移动终端中内置磁力传感单元11,以检测移动终端和外界通讯设备进行NFC交互时移动终端的NFC线圈产生的磁场的磁场强度信号。在图3中,区域31为NFC线圈对触摸屏的触摸干扰区域,区域32为缩小后的当前显示区域。其中,由于目前大量的手机等移动终端中本身设有磁力传感器,可以采用固有的磁力传感器作为磁力传感单元,因此无需再另行设置,当然根据需要也可以另行设置磁力传感单元以专门用于获取NFC线圈的磁场强度信号。在本实施方式中的处理单元可以直接采用移动终端的处理器或者单独设置一处理器。In this embodiment, as shown in FIG. 3 , a mobile phone is taken as an example for description. The magnetic sensor unit 11 is built in the mobile terminal to detect the magnetic field strength signal of the magnetic field generated by the NFC coil of the mobile terminal when the mobile terminal interacts with external communication devices through NFC. In FIG. 3 , area 31 is the touch interference area of the NFC coil on the touch screen, and area 32 is the reduced current display area. Among them, since a large number of mobile terminals such as mobile phones are equipped with magnetic sensors, the inherent magnetic sensor can be used as the magnetic sensing unit, so there is no need to set it up separately. Obtain the magnetic field strength signal of the NFC coil. The processing unit in this embodiment may directly use the processor of the mobile terminal or provide a separate processor.
当外界通讯设备和移动终端进行NFC交互时,由于外界通讯设备和移动终端的相对位置是随机的,从而使得移动终端的NFC线圈产生的磁场在每次交互时不尽相同,所以触摸干扰区域通常情况下是不同的。在本实施方式中,通过获取当前NFC线圈产生的磁场的磁场强度信号,根据磁场强度信号的大小可以定位出NFC线圈的位置,并判断出触摸干扰范围,以定义出当前NFC交互时的触摸干扰区域。When the external communication device and the mobile terminal perform NFC interaction, since the relative position of the external communication device and the mobile terminal is random, the magnetic field generated by the NFC coil of the mobile terminal is different for each interaction, so the touch interference area is usually The case is different. In this embodiment, by acquiring the magnetic field strength signal of the magnetic field generated by the current NFC coil, the position of the NFC coil can be located according to the magnitude of the magnetic field strength signal, and the touch interference range can be determined to define the current touch interference during NFC interaction area.
在本发明的一种实施方式中,磁力传感单元包括:第一获取子单元,用于获取移动终端的NFC启动信号;判断子单元,用于判断移动终端是否和外界通讯设备处于NFC交互状态;第二获取子单元,用于在判断子单元判定移动终端和外界通讯设备处于NFC交互状态时,获取移动终端的NFC线圈产生的磁场的磁场强度信号。In one embodiment of the present invention, the magnetic sensing unit includes: a first acquiring subunit, configured to acquire an NFC activation signal of the mobile terminal; a judging subunit, configured to judge whether the mobile terminal is in an NFC interactive state with an external communication device The second acquiring subunit is used to acquire the magnetic field strength signal of the magnetic field generated by the NFC coil of the mobile terminal when the judging subunit determines that the mobile terminal and the external communication device are in the NFC interaction state.
在本实施方式中,磁力传感单元的设置,使得整个显示控制系统的其他功能模块处于待机状态,只有当获取移动终端的NFC启动信号,并在判定和外界通讯设备进行NFC交互时才获取磁场强度信号,触发系统中各功能模块运行。即移动终端处于亮屏状态时,且NFC功能开启,数据或者WLAN打开,实时交互应用开启,当外界通讯设备移至移动终端的触摸屏的NFC功能部所在的位置范围内时,进行实时交互,此时获取NFC线圈的磁场强度信号。In this embodiment, the setting of the magnetic sensing unit makes other functional modules of the entire display control system in a standby state, and the magnetic field is only obtained when the NFC activation signal of the mobile terminal is obtained and the NFC interaction with the external communication device is determined. The intensity signal triggers the operation of each functional module in the system. That is, when the mobile terminal is in the bright screen state, and the NFC function is turned on, the data or WLAN is turned on, and the real-time interactive application is turned on, when the external communication device moves to the position where the NFC function part of the touch screen of the mobile terminal is located, real-time interaction is performed. Obtain the magnetic field strength signal of the NFC coil at the same time.
在本发明的一种实施方式中,控制模块包括:获取单元,用于根据触摸干扰区域获取触摸屏中和触摸干扰区域不存在重合区域的触摸正常区域;控制单元,用于控制触摸屏的显示区域缩小至触摸正常区域的预设位置。In one embodiment of the present invention, the control module includes: an acquisition unit, configured to acquire a normal touch area in the touch screen that does not overlap with the touch interference area according to the touch interference area; a control unit, configured to control the shrinkage of the display area of the touch screen to the preset position of the touch normal area.
在本实施方式中,控制模块可以获取移动终端的触摸屏的整个触摸区域信息,如以点阵的方式获取整个触摸区域的位置信息等。当获取了NFC线圈的磁场强度信号时,可以将触摸干扰区域和整个触摸区域进行比对,从而得出触摸正常区域,然后控制触摸屏的显示区域缩小,使得整个显示界面处于触摸正常区域内。In this embodiment, the control module may acquire the information of the entire touch area of the touch screen of the mobile terminal, for example, acquire the position information of the entire touch area in a dot matrix manner. When the magnetic field strength signal of the NFC coil is obtained, the touch interference area can be compared with the entire touch area to obtain the normal touch area, and then the display area of the touch screen is controlled to shrink so that the entire display interface is within the normal touch area.
在本发明的一种实施方式中,该显示控制系统还包括:判断模块,用于判断移动终端和外界通讯设备是否断开NFC交互。执行模块,用于在判断模块判定移动终端和外界通讯设备断开NFC交互时,控制触摸屏恢复全屏显示。In an embodiment of the present invention, the display control system further includes: a judging module, configured to judge whether the mobile terminal and the external communication device disconnect the NFC interaction. The execution module is used to control the touch screen to resume full-screen display when the judgment module determines that the NFC interaction between the mobile terminal and the external communication device is disconnected.
在本实施方式中,当移动终端断开和外界通讯设备的NFC交互时,恢复全屏显示,使得移动终端恢复正常使用状态,以便于用户进行操作使用。In this embodiment, when the mobile terminal disconnects from the NFC interaction with the external communication device, the full-screen display is resumed, so that the mobile terminal returns to the normal use state, so that the user can operate and use it.
综上所述,本发明所提供的用于移动终端的触摸屏显示控制方法和系统,当移动终端需要和外界的通讯设备进行NFC交互时,首先获取NFC交互时NFC线圈产生的磁场对触摸屏的干扰范围,然后缩小触摸屏的显示区域,使得触摸屏的显示区域脱离该干扰范围,这样就使得NFC线圈的磁场不会对触摸屏操作界面产生干扰影响,从而保证了在移动终端和外界通讯设备进行NFC数据交互时用户对于移动终端的正常操作。To sum up, the touch screen display control method and system for mobile terminals provided by the present invention, when the mobile terminal needs to perform NFC interaction with external communication devices, first obtain the interference of the magnetic field generated by the NFC coil on the touch screen during NFC interaction range, and then reduce the display area of the touch screen so that the display area of the touch screen is out of the interference range, so that the magnetic field of the NFC coil will not interfere with the touch screen operation interface, thus ensuring NFC data interaction between the mobile terminal and external communication devices When the user performs normal operations on the mobile terminal.
以上对本发明所提供的一种用于移动终端的触摸屏显示控制方法和系统进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The method and system for controlling the display of a touch screen for a mobile terminal provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention, and the descriptions of the above embodiments are only used to help understand the method and core idea of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710040938.XA CN106814915B (en) | 2017-01-17 | 2017-01-17 | A touch screen display control method and system for a mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710040938.XA CN106814915B (en) | 2017-01-17 | 2017-01-17 | A touch screen display control method and system for a mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106814915A true CN106814915A (en) | 2017-06-09 |
| CN106814915B CN106814915B (en) | 2020-02-21 |
Family
ID=59111357
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710040938.XA Active CN106814915B (en) | 2017-01-17 | 2017-01-17 | A touch screen display control method and system for a mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106814915B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116501197A (en) * | 2023-06-27 | 2023-07-28 | 深圳贝特莱电子科技股份有限公司 | A method to prevent NFC devices from interfering with touchpads |
| CN118915928A (en) * | 2024-10-10 | 2024-11-08 | 深圳鼎智通讯股份有限公司 | Under-screen NFC touch screen anti-interference method based on system |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1638456A (en) * | 2003-09-19 | 2005-07-13 | 微软公司 | Full scale video picture with overlaid graphical user interface and reduced image |
| CN103747134A (en) * | 2013-12-23 | 2014-04-23 | 宇龙计算机通信科技(深圳)有限公司 | User interface display method and terminal |
| CN104012010A (en) * | 2011-12-23 | 2014-08-27 | 瑟克公司 | Method to prevent interference of contactless card reader and touch function |
| CN105144036A (en) * | 2013-04-26 | 2015-12-09 | 三星电子株式会社 | Method for displaying and electronic device thereof |
| CN105577908A (en) * | 2015-04-28 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Window mode switching method and device |
| CN105808040A (en) * | 2014-12-30 | 2016-07-27 | 华为终端(东莞)有限公司 | Display method and mobile terminal of a graphical user interface |
-
2017
- 2017-01-17 CN CN201710040938.XA patent/CN106814915B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1638456A (en) * | 2003-09-19 | 2005-07-13 | 微软公司 | Full scale video picture with overlaid graphical user interface and reduced image |
| CN104012010A (en) * | 2011-12-23 | 2014-08-27 | 瑟克公司 | Method to prevent interference of contactless card reader and touch function |
| CN105144036A (en) * | 2013-04-26 | 2015-12-09 | 三星电子株式会社 | Method for displaying and electronic device thereof |
| CN103747134A (en) * | 2013-12-23 | 2014-04-23 | 宇龙计算机通信科技(深圳)有限公司 | User interface display method and terminal |
| CN105808040A (en) * | 2014-12-30 | 2016-07-27 | 华为终端(东莞)有限公司 | Display method and mobile terminal of a graphical user interface |
| CN105577908A (en) * | 2015-04-28 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Window mode switching method and device |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116501197A (en) * | 2023-06-27 | 2023-07-28 | 深圳贝特莱电子科技股份有限公司 | A method to prevent NFC devices from interfering with touchpads |
| CN116501197B (en) * | 2023-06-27 | 2024-03-15 | 深圳贝特莱电子科技股份有限公司 | A way to prevent NFC devices from interfering with touchpads |
| CN118915928A (en) * | 2024-10-10 | 2024-11-08 | 深圳鼎智通讯股份有限公司 | Under-screen NFC touch screen anti-interference method based on system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106814915B (en) | 2020-02-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10872444B2 (en) | Display apparatus and control method thereof | |
| US9252890B2 (en) | Near field communication device and method for saving applied power | |
| KR102553887B1 (en) | Foldable electronic device | |
| AU2014284843B2 (en) | Method for switching digitizer mode | |
| EP2752766B1 (en) | Touch event processing method and portable device implementing the same | |
| EP2949050B1 (en) | Indication of nfc location | |
| US20180188838A1 (en) | Method of disposing touch sensor for enhancing touch accuracy and electronic device using the same | |
| CN106575197B (en) | Apparatus and method for handling drag and drop | |
| KR20150146236A (en) | Method for processing fingerprint and electronic device thereof | |
| EP3613102B1 (en) | Electronic device having loop antenna | |
| KR20150085650A (en) | Method and apparatus for processing input using touch screen | |
| CN109104521B (en) | Proximity state correction method, device, mobile terminal and storage medium | |
| CN107589928A (en) | Double screen displaying method of terminal, device, terminal and computer-readable recording medium | |
| CN105261130A (en) | Intelligent POS terminal | |
| JP2016143069A (en) | Electronic apparatus, control method, and control program | |
| CN106887708A (en) | Nfc antenna and mobile terminal | |
| CN105122195A (en) | Information processing method and electronic device | |
| KR20140134940A (en) | Mobile terminal and method for controlling touch screen and system threefor | |
| KR20160101580A (en) | Method for controlling activation area of touch screen panel and electronic device thereof | |
| CN110458563A (en) | Display interface treating method and apparatus, electronic equipment, readable storage medium storing program for executing | |
| CN106814915B (en) | A touch screen display control method and system for a mobile terminal | |
| CN110958345B (en) | Method and device for detecting rear cover of mobile terminal and computer readable storage medium | |
| CN115498713A (en) | Terminal, charging system and charging control method | |
| KR20150105005A (en) | Method for processing data and an electronic device thereof | |
| CN107301009A (en) | A kind of method, terminal and the computer-readable recording medium of removal Toast message boxs |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250529 Address after: 830000 Xinjiang Uygur Autonomous Region, Urumqi City, Shuimogou District, HuiZhan Zhong Street No. 2800, Yushijia Commercial Residential Community, Building 3, Commercial Building 101 Room Patentee after: Xinjiang Yihui Electronic Technology Co.,Ltd. Country or region after: China Address before: 518057 Guangdong Province Nanshan High-tech Industrial Park North District Kupai Information Port, 2 Buildings, 2 Floors Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right |