技术领域technical field
本申请涉及电子装置控制技术领域,尤其涉及一种触控信息的处理方法、装置、存储介质及电子装置。The present application relates to the technical field of electronic device control, and in particular to a method, device, storage medium and electronic device for processing touch information.
背景技术Background technique
随着电子装置技术的快速发展,人们对电子装置的依赖越来越高。电子装置的显示屏幕尺寸也越来越大,以便更便捷的为用户提供更多更丰富的资讯和交互体验。With the rapid development of electronic device technology, people rely more and more on electronic devices. The size of the display screen of the electronic device is also increasing, so as to provide more and richer information and interactive experience for the user more conveniently.
但是很多实际场景下,比如手上拿着东西、乘坐公交车等,用户需要进行单手操作终端,而日益增大的电子装置的屏幕导致用户单手操作的难度也越来越大。However, in many practical scenarios, such as holding things in the hand and riding a bus, the user needs to operate the terminal with one hand, and the increasing screen size of electronic devices makes it more and more difficult for the user to operate the terminal with one hand.
现有的解决方法是将界面缩小以形成一个单独的控制区域以保证用户能够使用一个手进行操作。然而,这一解决方法,无法真正享受电子装置的大屏幕,同时由于界面的比例缩小会给用户操作带来不便、且容易造成操作失误。The existing solution is to shrink the interface to form a separate control area to ensure that the user can operate with one hand. However, this solution cannot really enjoy the large screen of the electronic device, and at the same time, due to the reduced interface ratio, it will bring inconvenience to the user's operation and easily cause operation errors.
发明内容Contents of the invention
本申请实施例提供一种触控信息的处理方法、装置、存储介质及电子装置,可以提升电子装置操作的便捷性。Embodiments of the present application provide a touch information processing method, device, storage medium and electronic device, which can improve the convenience of operation of the electronic device.
第一方面,本申请实施例了提供了一种触控信息的处理方法,应用于电子装置中,所述电子装置的边框上设置有触控感应模组,所述处理方法包括:In the first aspect, an embodiment of the present application provides a method for processing touch information, which is applied to an electronic device, and a frame of the electronic device is provided with a touch sensing module, and the processing method includes:
通过所述触控感应模组获取触控点击信息;Obtaining touch and click information through the touch sensing module;
当判断出所述触控点击信息与预设触控点击信息匹配时,进入单手操作模式;When it is determined that the touch click information matches the preset touch click information, enter a one-handed operation mode;
在所述单手操作模式下,通过所述触控感应模组获取触控滑动信息;In the one-handed operation mode, acquiring touch sliding information through the touch sensing module;
根据所述滑动信息移动电子装置的显示界面。The display interface of the electronic device is moved according to the sliding information.
第二方面,本申请实施例了提供了的一种触控信息的处理装置,应用于电子装置中,所述电子装置的边框上设置有触控感应模组,所述处理装置包括:In the second aspect, an embodiment of the present application provides a device for processing touch information, which is applied to an electronic device. A touch sensing module is provided on the frame of the electronic device, and the processing device includes:
第一获取单元,用于通过所述触控感应模组获取触控点击信息;a first acquisition unit, configured to acquire touch click information through the touch sensing module;
模式单元,用于当判断出所述触控点击信息与预设触控点击信息匹配时,进入单手操作模式;A mode unit, configured to enter a one-handed operation mode when it is determined that the touch click information matches the preset touch click information;
第二获取单元,用于在所述单手操作模式下,通过所述触控感应模组获取触控滑动信息;a second acquiring unit, configured to acquire touch sliding information through the touch sensing module in the one-handed operation mode;
移动单元,用于根据所述滑动信息移动电子装置的显示界面。The moving unit is used to move the display interface of the electronic device according to the sliding information.
第三方面,本申请实施例提供的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如本申请任一实施例提供的触控信息的处理方法。In the third aspect, the storage medium provided by the embodiment of the present application has a computer program stored thereon, and when the computer program is run on the computer, the computer is made to perform the processing of the touch information provided by any embodiment of the present application. method.
第四方面,本申请实施例提供的电子装置,包括处理器和存储器,所述存储器有计算机程序,所述处理器通过调用所述计算机程序,用于执行如本申请任一实施例提供的触控信息的处理方法。In the fourth aspect, the electronic device provided by the embodiment of the present application includes a processor and a memory, the memory has a computer program, and the processor is used to execute the triggering device provided by any embodiment of the present application by calling the computer program. The method of processing control information.
第五方面,本申请实施例提供的电子装置,包括壳体、触控感应模组以及处理器,所述触控感应模组包括压力传感器;In the fifth aspect, the electronic device provided by the embodiment of the present application includes a casing, a touch sensing module, and a processor, and the touch sensing module includes a pressure sensor;
所述触控感应模组设置在所述壳体上,所述触控感应模组的正面用于供用户按压产生形变,所述压力传感器设置在所述触控感应模组的背面用于检测触控感应模组所传递的按压力,所述压力传感器与所述处理器电连接,所述处理器执行以下步骤:The touch sensing module is arranged on the housing, the front of the touch sensing module is used for pressing by the user to generate deformation, and the pressure sensor is arranged on the back of the touch sensing module for detecting The pressing force transmitted by the touch sensing module, the pressure sensor is electrically connected to the processor, and the processor performs the following steps:
通过所述触控感应模组获取触控点击信息;Obtaining touch and click information through the touch sensing module;
当判断出所述触控点击信息与预设触控点击信息匹配时,进入单手操作模式;When it is determined that the touch click information matches the preset touch click information, enter a one-handed operation mode;
在所述单手操作模式下,通过所述触控感应模组获取触控滑动信息;In the one-handed operation mode, acquiring touch sliding information through the touch sensing module;
根据所述滑动信息移动电子装置的显示界面。The display interface of the electronic device is moved according to the sliding information.
本申请实施例通过设置在边框上的触控感应模组获取触控点击信息;当判断出触控点击信息与预设触控点击信息匹配时,进入单手操作模式;在单手操作模式下,通过触控感应模组获取触控滑动信息;根据滑动信息移动电子装置的显示界面。以此可以根据边框上的触控感应模组获取的触控点击信息快速进入单手操作模式,在单手模式下,根据触控感应模组获取的触控滑动信息移动显示界面,解决了单手操作不方便的问题,提升了电子装置操作的便捷性。In the embodiment of the present application, the touch-click information is obtained through the touch-sensitive module arranged on the frame; when it is judged that the touch-click information matches the preset touch-click information, the one-handed operation mode is entered; in the one-handed operation mode Obtain touch sliding information through the touch sensing module; move the display interface of the electronic device according to the sliding information. In this way, the one-handed operation mode can be quickly entered according to the touch click information obtained by the touch sensing module on the frame. In the one-handed mode, the display interface is moved according to the touch sliding information obtained by the touch sensing module, solving the problem of single The problem of inconvenient hand operation improves the convenience of electronic device operation.
附图说明Description of drawings
下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其它有益效果显而易见。The technical solutions and other beneficial effects of the present application will be apparent through the detailed description of the specific embodiments of the present application below in conjunction with the accompanying drawings.
图1是本申请实施例提供的电子装置的结构示意图。FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图2为本申请实施例提供的电子装置的另一结构示意图。FIG. 2 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
图3是本申请实施例提供的触控感应模组的示意图。FIG. 3 is a schematic diagram of a touch sensing module provided by an embodiment of the present application.
图4是本申请实施例提供的触控感应模组电路的示意图。FIG. 4 is a schematic diagram of a touch sensing module circuit provided by an embodiment of the present application.
图5是本申请实施例提供的触控信息的处理方法的流程示意图。FIG. 5 is a schematic flowchart of a method for processing touch information provided by an embodiment of the present application.
图6为本申请实施例提供的触控信息的处理方法的另一流程示意图。FIG. 6 is another schematic flowchart of a method for processing touch information provided by an embodiment of the present application.
图7为本申请实施例提供的触控信息的处理装置的模块示意图。FIG. 7 is a block diagram of a touch information processing device provided by an embodiment of the present application.
图8为本申请实施例提供的触控信息的处理装置的另一模块示意图。FIG. 8 is a schematic diagram of another module of the touch information processing device provided by the embodiment of the present application.
图9为本申请实施例提供的电子装置的又一结构示意图。FIG. 9 is another schematic structural diagram of the electronic device provided by the embodiment of the present application.
图10为本申请实施例提供的电子装置的还一结构示意图。FIG. 10 is another schematic structural diagram of the electronic device provided by the embodiment of the present application.
具体实施方式Detailed ways
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Referring to the drawings, wherein the same reference numerals represent the same components, the principles of the present application are exemplified by being implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the present application, which should not be construed as limiting other specific embodiments of the present application that are not described in detail here.
本文所使用的术语「模块」可看做为在该运算系统上执行的软件对象。本文该的不同组件、模块、引擎及服务可看做为在该运算系统上的实施对象。而本文该的装置及方法优选的以软件的方式进行实施,当然也可在硬件上进行实施,均在本申请保护范围之内。The term "module" as used herein may be considered a software object that executes on the computing system. The different components, modules, engines and services described herein can be regarded as implementation objects on the computing system. The devices and methods herein are preferably implemented in software, and of course they can also be implemented in hardware, all of which are within the protection scope of the present application.
以下进行具体分析说明。The specific analysis will be described below.
在本实施例中,将从触控信息的处理装置的角度进行描述,该触控信息的处理装置具体可以集成在电子装置,比如手机、平板电脑、掌上电脑(PDA,Personal DigitalAssistant)等。In this embodiment, description will be made from the perspective of a device for processing touch information. Specifically, the device for processing touch information may be integrated in an electronic device, such as a mobile phone, a tablet computer, or a PDA (Personal Digital Assistant).
参考图1,图1为本申请实施例提供的电子装置的结构示意图。其中,电子装置100包括盖板10、显示屏20、电路板30、以及壳体40。Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Wherein, the electronic device 100 includes a cover plate 10 , a display screen 20 , a circuit board 30 , and a casing 40 .
盖板10安装到显示屏20上,以覆盖显示屏20。盖板10可以为透明玻璃盖板。在一些实施例中,盖板10可以是用诸如蓝宝石等材料制成的玻璃盖板。The cover plate 10 is installed on the display screen 20 to cover the display screen 20 . The cover plate 10 may be a transparent glass cover plate. In some embodiments, the cover plate 10 may be a glass cover plate made of materials such as sapphire.
显示屏20安装在壳体40上,以形成电子装置100的显示面。在一些实施例中,显示屏20包括显示区域21和非显示区域22。其中,显示区域21用于显示图像、文本等信息。非显示区域22不显示信息。非显示区域22可以用于设置一些功能组件,例如摄像头、指纹识别模组等功能组件。在一些实施例中,该非显示区域22可以包括相互间隔的多个区域。例如,非显示区域22可以包括位于该显示区域21上部和下部的两个区域。The display screen 20 is mounted on the casing 40 to form a display surface of the electronic device 100 . In some embodiments, the display screen 20 includes a display area 21 and a non-display area 22 . Among them, the display area 21 is used for displaying information such as images and texts. The non-display area 22 does not display information. The non-display area 22 can be used to set some functional components, such as camera, fingerprint identification module and other functional components. In some embodiments, the non-display area 22 may include multiple areas spaced apart from each other. For example, the non-display area 22 may include two areas located above and below the display area 21 .
在一些实施例中,显示屏20可以全屏显示。也即,显示屏20只包括显示区域21,而不包括非显示区域,如图2所示。In some embodiments, the display screen 20 may display full screen. That is to say, the display screen 20 only includes a display area 21 and does not include a non-display area, as shown in FIG. 2 .
在一些实施例中,显示屏20可以为液晶显示屏(Liquid Crystal Display,LCD)或者有机发光二极管显示屏(Organic Light-Emitting Diode,OLED)。In some embodiments, the display screen 20 may be a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode display (Organic Light-Emitting Diode, OLED).
电路板30安装在壳体40内部。电路板30可以为电子装置100的主板。电路板30上可以集成有摄像头以及处理器等功能组件。同时,显示屏20可以电连接至电路板30。The circuit board 30 is installed inside the housing 40 . The circuit board 30 may be a main board of the electronic device 100 . Functional components such as a camera and a processor may be integrated on the circuit board 30 . Meanwhile, the display screen 20 may be electrically connected to the circuit board 30 .
在一些实施例中,电路板30上设置有显示控制电路。该显示控制电路向显示屏20输出电信号,以控制显示屏20显示信息。In some embodiments, a display control circuit is disposed on the circuit board 30 . The display control circuit outputs electrical signals to the display screen 20 to control the display screen 20 to display information.
壳体40用于形成电子装置100的外部轮廓。壳体40的材质可以为塑料或金属。壳体40可以一体成型。该壳体40的周缘上形成多个边框41,该边框41上设置有触控感应模组,该多个触控感应模组分别与电路板30电连接,用于检测该边框41上产生的触控压力值,并当触控压力值大于预设阈值时,获取触控信息。The casing 40 is used to form the outer contour of the electronic device 100 . The material of the housing 40 can be plastic or metal. The housing 40 can be integrally formed. A plurality of frames 41 are formed on the periphery of the housing 40, and a touch sensing module is arranged on the frame 41, and the plurality of touch sensing modules are respectively electrically connected to the circuit board 30 for detecting The touch pressure value, and when the touch pressure value is greater than a preset threshold, touch information is acquired.
在一实施方式中,该触控感应模组可以是由四个电阻组成的一个全桥电路组成,从而通过该设置于电子装置100的外框41上的全桥电路,在外框41受到按压力而产生微小的形变时,电桥电阻根据一对电阻两端电压差的变化,判断施加按压力的大小。In one embodiment, the touch sensing module can be composed of a full-bridge circuit composed of four resistors, so that through the full-bridge circuit arranged on the outer frame 41 of the electronic device 100, the outer frame 41 receives a pressing force When a slight deformation occurs, the resistance of the bridge judges the magnitude of the applied pressing force according to the change of the voltage difference between the two ends of a pair of resistances.
在本实施例中,如图3所示,当全桥电路由首尾相连的阻值相同的压敏电阻R1、电阻R2、电阻R3和电阻R4组成时,当压敏电阻没有受到按压力作用时,电桥中所有的电阻值是相等的,两个相向电阻的阻值增加,另外两个电阻的阻值将减小,从而,将电压的变化量转换为对应的电压值,以根据电压值的变化获知按压力的大小。In this embodiment, as shown in Figure 3, when the full bridge circuit is composed of varistors R1, R2, R3 and R4 connected end to end with the same resistance, when the varistors are not subjected to pressing force , all the resistance values in the bridge are equal, the resistance value of the two opposite resistances increases, and the resistance value of the other two resistances will decrease, so that the change in voltage is converted into the corresponding voltage value, and according to the voltage value Changes to know the size of the pressing force.
举例而言,如图4所示,当电阻R2和电阻R3的电阻的值收到按压力均减小1%时,电阻R1和电阻R4的值则增加1%,那么两个“中”点间的电压值将从0变为2%,进而,可将该电压值经过放大处理到适合ADC的电平,进而,由ADC将放大后的传感器输出电压转换为数字式,再交给电路板中的控制器或DSP处理,获知当前的按压力。For example, as shown in Figure 4, when the resistance values of resistor R2 and resistor R3 are both reduced by 1% upon receiving the pressing force, the values of resistor R1 and resistor R4 are increased by 1%, then the two "middle" points The voltage value between will change from 0 to 2%, and then, the voltage value can be amplified to a level suitable for the ADC, and then the ADC will convert the amplified sensor output voltage into digital, and then give it to the circuit board In the controller or DSP processing, to obtain the current pressing force.
本申请实施例提供一种触控信息的处理方法,该触控信息的处理方法可以应用于上述电子装置100中。如图5所示,该触控信息的处理方法,可以包括以下步骤:The embodiment of the present application provides a method for processing touch information, and the method for processing touch information can be applied to the above-mentioned electronic device 100 . As shown in FIG. 5, the method for processing the touch information may include the following steps:
在步骤S101中,通过触控感应模组获取触控点击信息。In step S101, the touch click information is acquired through the touch sensing module.
其中,可以通过该触控感应模组检测用户的触控点击操作,该触控点击操作为用户通过手指按压该触控感应模组的操作。Wherein, a user's touch and click operation can be detected through the touch sensing module, and the touch and click operation is an operation in which the user presses the touch sensing module with a finger.
在一实施方式中,为了防止触控感应模组将误触控判定为一次触控感应操作,该触控感应模组在检测到触控点击操作时,会对应获取该触控点击操作对应的触控按压力,并判断该触控按压力是否大于预设按压力,当判断出触控按压力大于预设按压力时,说明该触控点击操作不为误触控,记录为一次触控点击操作,当判断出触控按压力不大于预设按压力时,说明该触控点击操作为误触控,不记录为一次触控点击操作。In one embodiment, in order to prevent the touch sensing module from judging a false touch as a touch sensing operation, when the touch sensing module detects a touch click operation, it will correspondingly obtain the information corresponding to the touch click operation. Touch pressure, and judge whether the touch pressure is greater than the preset pressure. When it is judged that the touch pressure is greater than the preset pressure, it means that the touch click operation is not a false touch, and it is recorded as a touch For a click operation, when it is determined that the touch pressing force is not greater than the preset pressing force, it indicates that the touch click operation is a false touch, and is not recorded as a touch click operation.
基于此,可以通过触控感应模组记录触控点击操作的连续点击次数,并将该连续点击次数生成触控点击信息。Based on this, the number of consecutive clicks of the touch click operation can be recorded by the touch sensing module, and the number of consecutive clicks can be used to generate touch click information.
在一实施方式中,也可以通过触控感应模组记录触控点击操作的按压时间,并根据该按压时间生成触控点击信息。In one embodiment, the touch sensing module can also record the press time of the touch click operation, and generate touch click information according to the press time.
在一些实施方式中,该通过触控感应模组获取触控点击信息的步骤,可以包括:In some embodiments, the step of acquiring touch click information through the touch sensing module may include:
(1)根据该触控感应模组检测用户的触控点击操作;(1) Detecting the user's touch and click operation according to the touch sensing module;
(2)记录该触控点击操作的连续点击次数,将该连续点击次数生成触控点击信息。(2) Record the number of consecutive clicks of the touch click operation, and generate touch click information for the number of consecutive clicks.
其中,通过该触控感应模组检测触控按压力大于预设按压力的有效触控点击操作,当检测到一次有效触控点击操作时,记录为一次连续点击次数,并开始计时,当在预设时间内,当又检测到一次有效触控点击操作时,记录为两次连续点击次数,并重新开始计时,依次类推,直至在预设时间内,未检测到一次有效触控点击操作时,终止记录连续点击次数,并将最后的连续点击次数生成触控点击信息。Among them, the touch sensing module detects an effective touch click operation with a touch pressing force greater than a preset pressing force. When an effective touch click operation is detected, it is recorded as the number of consecutive clicks and starts counting. Within the preset time, when another effective touch click operation is detected, it will be recorded as two consecutive clicks, and the timing will be restarted, and so on, until no effective touch click operation is detected within the preset time , stop recording the number of consecutive clicks, and generate touch click information for the last number of consecutive clicks.
在步骤S102中,当判断出触控点击信息与预设触控点击信息匹配时,进入单手操作模式。In step S102, when it is determined that the touch click information matches the preset touch click information, the one-handed operation mode is entered.
其中,该预设触控点击信息为验证信息,只有当触控点击信息与预设触控点击信息匹配时,才进入单手操作模式。Wherein, the preset touch click information is verification information, and only when the touch click information matches the preset touch click information, the one-handed operation mode is entered.
在一实施方式中,该预设触控点击信息中可以包括预设触控点击次数,当电子装置判断出触控点击信息中记录的连续点击次数与预设触控点击信息中的预设触控点击次数匹配时,判定为触控点击信息与预设触控点击信息匹配,进入单手操作模式。In an embodiment, the preset touch click information may include the preset touch click times. When the number of touch clicks matches, it is determined that the touch click information matches the preset touch click information, and the one-handed operation mode is entered.
在一实施方式中,该预设触控点击信息中可以包括预设按压时间,当电子装置判断出触控点击信息中记录的触控操作的按压时间大于预设触控点击信息中的预设按压时间时,判定为触控点击信息与预设触控点击信息匹配,进入单手操作模式。In one embodiment, the preset touch click information may include a preset press time, and when the electronic device determines that the press time of the touch operation recorded in the touch click information is greater than the preset press time in the preset touch click information When the time is pressed, it is determined that the touch click information matches the preset touch click information, and the one-handed operation mode is entered.
该单手操作模式为方便用户单手使用电子装置的模式,在该单手操作模式下,用户可以电子装置的显示界面进行上下移动,以避免上下边缘上的内容用户手指触控不到的场景。The one-handed operation mode is convenient for the user to use the electronic device with one hand. In this one-handed operation mode, the user can move up and down the display interface of the electronic device, so as to avoid the scene where the content on the upper and lower edges cannot be touched by the user's fingers. .
在步骤S103中,在单手操作模式下,通过触控感应模组获取触控滑动信息。In step S103, in the one-handed operation mode, the touch sliding information is acquired through the touch sensing module.
其中,电子装置在该单手操作模式下,可以通过触控感应模组获取触控滑动操作,并记录下触控滑动操作对应的滑动方向以及滑动距离,根据该滑动方向以及滑动距离生成触控滑动信息。Wherein, in the one-handed operation mode, the electronic device can obtain the touch sliding operation through the touch sensing module, and record the sliding direction and sliding distance corresponding to the touch sliding operation, and generate a touch control according to the sliding direction and sliding distance. Swipe information.
在一些实施方式中,该通过触控感应模组获取触控滑动信息的步骤,可以包括:In some embodiments, the step of obtaining touch sliding information through the touch sensing module may include:
(1)通过该触控感应模组检测用户的触控滑动操作;(1) Detecting the user's touch and slide operation through the touch sensing module;
(2)记录该触控滑动操作对应的滑动距离以及滑动方向,根据该滑动距离以及滑动方向生成触控滑动信息。(2) Record the sliding distance and sliding direction corresponding to the touch sliding operation, and generate touch sliding information according to the sliding distance and sliding direction.
其中,通过该触控感应模组检测用户的触控滑动操作,该触控滑动操作为用户通过手指在触控感应模组上的滑动操作,该滑动操作可以为上滑操作以及下滑操作,该电子装置记录该滑动操作对应的滑动方向以及滑动距离,根据该滑动方向以及滑动距离生成触控滑动信息。Wherein, the touch sensing module detects the user's touch sliding operation, and the touch sliding operation is a sliding operation of the user on the touch sensing module through the finger, and the sliding operation can be an upward sliding operation or a downward sliding operation. The electronic device records the sliding direction and the sliding distance corresponding to the sliding operation, and generates touch sliding information according to the sliding direction and the sliding distance.
在步骤S104中,根据滑动信息移动电子装置的显示界面。In step S104, the display interface of the electronic device is moved according to the sliding information.
其中,电子装置根据滑动信息中的滑动方向确定显示界面的移动方向,根据滑动距离确定显示界面的移动距离,对应将显示界面按照移动方向移动移动距离的位置,以此,使得用户单手操作时,可以通过移动显示界面来触控到上边缘或者下边缘上的显示内容。Wherein, the electronic device determines the moving direction of the display interface according to the sliding direction in the sliding information, determines the moving distance of the display interface according to the sliding distance, and corresponds to the position where the display interface is moved according to the moving distance, so that when the user operates with one hand, , you can touch the displayed content on the upper edge or the lower edge by moving the display interface.
在一些实施方式中,该根据滑动信息移动电子装置的显示界面的步骤,可以包括:In some embodiments, the step of moving the display interface of the electronic device according to the sliding information may include:
(1)获取该滑动距离以及滑动方向;(1) Obtain the sliding distance and sliding direction;
(2)根据该滑动距离生成对应的目标移动距离;(2) Generate a corresponding target moving distance according to the sliding distance;
(3)控制电子装置的显示界面根据滑动方向移动目标移动距离。(3) Controlling the display interface of the electronic device to move the moving distance of the target according to the sliding direction.
其中,电子装置获取滑动信息中的滑动距离以及滑动方向,根据预设关系,将滑动距离生成目标移动距离,该目标移动距离可以为该滑动距离的倍数,具体倍数以用户操作习惯为准,根据滑动方向确定移动方向,该滑动方向可以与移动方向一致,也可以与移动方向相反。Wherein, the electronic device obtains the sliding distance and the sliding direction in the sliding information, and generates a target moving distance from the sliding distance according to a preset relationship. The sliding direction determines the moving direction, and the sliding direction may be consistent with or opposite to the moving direction.
进一步的,将显示界面以移动方向移动目标移动距离,使得显示界面上移或者下移,用户单手可以进行操控。Further, the display interface is moved by the target moving distance in the moving direction, so that the display interface moves up or down, and the user can control it with one hand.
其中,将生成的目标鉴权信息与预设鉴权信息进行对比,该预设鉴权信息为用户提前设置的验证密码,当检测到目标鉴权信息为预设鉴权信息时,说明目标鉴权信息与预设鉴权信息匹配,解锁验证通过,对电子装置进行解锁操作。Wherein, the generated target authentication information is compared with the preset authentication information. The preset authentication information is a verification password set in advance by the user. When it is detected that the target authentication information is the preset authentication information, it indicates that the target authentication information is If the authorization information matches the preset authentication information, the unlocking verification is passed, and the electronic device is unlocked.
由上述可知,本实施例提供的一种触控信息的处理方法,通过设置在边框上的触控感应模组获取触控点击信息;当判断出触控点击信息与预设触控点击信息匹配时,进入单手操作模式;在单手操作模式下,通过触控感应模组获取触控滑动信息;根据滑动信息移动电子装置的显示界面。以此可以根据边框上的触控感应模组获取的触控点击信息快速进入单手操作模式,在单手模式下,根据触控感应模组获取的触控滑动信息移动显示界面,解决了单手操作不方便的问题,提升了电子装置操作的便捷性。It can be seen from the above that the touch information processing method provided by this embodiment obtains the touch click information through the touch sensing module arranged on the frame; when it is judged that the touch click information matches the preset touch click information , enter the one-handed operation mode; in the one-handed operation mode, obtain the touch sliding information through the touch sensing module; move the display interface of the electronic device according to the sliding information. In this way, the one-handed operation mode can be quickly entered according to the touch click information obtained by the touch sensing module on the frame. In the one-handed mode, the display interface is moved according to the touch sliding information obtained by the touch sensing module, solving the problem of single The problem of inconvenient hand operation improves the convenience of electronic device operation.
根据上述实施例所描述的方法,以下将举例作进一步详细说明。According to the methods described in the above embodiments, examples will be given below for further detailed description.
请参阅图6,图6为本申请实施例提供的触控信息的处理方法的另一流程示意图。Please refer to FIG. 6 . FIG. 6 is another schematic flowchart of a method for processing touch information provided by an embodiment of the present application.
具体而言,该方法包括:Specifically, the method includes:
在步骤S201中,根据触控感应模组检测用户的触控点击操作。In step S201, a user's touch and click operation is detected according to the touch sensing module.
其中,根据该触控感应模组检测用户的触控点击操作以及触控点击操作对应的触控按压力,当触控按压力大于预设阈值时,将该触控点击操作确定为一次有效触控点击操作。Wherein, according to the touch sensing module detecting the user's touch click operation and the touch pressure corresponding to the touch click operation, when the touch pressure is greater than a preset threshold, the touch click operation is determined as a valid touch Control click operation.
在步骤S202中,记录触控点击操作的连续点击次数,将连续点击次数生成触控点击信息。In step S202, the number of consecutive clicks of the touch click operation is recorded, and the number of consecutive clicks is used to generate touch click information.
其中,当电子装置检测到一次有效触控点击操作时,开始计时,当在0.5秒内,再次检测到一次有效触控点击操作时,记录为两次有效触控点击操作,并重新开始计时,直至在0.5秒内,没有检测到有效触控点击操作时,终止记录,并将最终的连续点击次数生成触控点击信息,如连续点击次数为两次。Wherein, when the electronic device detects an effective touch and click operation, it starts counting, and when it detects an effective touch and click operation again within 0.5 seconds, it is recorded as two effective touch and click operations, and the timing is restarted, Until no effective touch click operation is detected within 0.5 seconds, the recording is terminated, and the final number of consecutive clicks is used to generate touch click information, for example, the number of continuous clicks is two.
在步骤S203中,判断触控点击信息中的连续点击次数与预设触控点击信息中的预设点击次数是否匹配。In step S203, it is determined whether the number of consecutive clicks in the touch click information matches the preset number of clicks in the preset touch click information.
其中,该预设触控点击信息为验证信息,该预设触控点击信息中包括预设点击次数,当电子装置判断出触控点击信息中的连续点击次数与预设触控点击信息中的预设点击次数匹配时,执行步骤S204。当电子装置判断出触控点击信息中的连续点击次数与预设触控点击信息中的预设点击次数不匹配时,返回执行步骤S201,重新通过触控感应模组检测用户的触控点击操作。Wherein, the preset touch click information is verification information, and the preset touch click information includes preset click times. When the electronic device determines that the number of consecutive clicks in the touch click information is different from the When the preset number of clicks matches, step S204 is executed. When the electronic device determines that the number of consecutive clicks in the touch click information does not match the preset number of clicks in the preset touch click information, it returns to step S201 and detects the user's touch click operation again through the touch sensing module. .
在步骤S204中,判定为触控点击信息与预设触控点击信息匹配,执行进入单手操作模式的步骤。In step S204, it is determined that the touch click information matches the preset touch click information, and the step of entering the one-handed operation mode is performed.
其中,当当电子装置判断出触控点击信息中的连续点击次数与预设触控点击信息中的预设点击次数匹配时,判定为触控点击信息与预设触控点击信息匹配,说明验证通过,进入单手操作模式,在该单手操作模式下,可以对电子装置的显示界面进行移动。Wherein, when the electronic device determines that the number of consecutive clicks in the touch click information matches the preset number of clicks in the preset touch click information, it is determined that the touch click information matches the preset touch click information, indicating that the verification is passed to enter the one-handed operation mode, in which the display interface of the electronic device can be moved.
在步骤S205中,在单手操作模式下,通过触控感应模组检测用户的触控滑动操作。In step S205 , in the one-handed operation mode, the user's touch and slide operation is detected by the touch sensing module.
其中,在该单手操作模式下,通过触控感应模组检测用户手指的触控滑动操作,用户可以在触控感应模组上进行上滑操作或者下滑操作。Wherein, in the one-handed operation mode, the touch sensing module detects the touch sliding operation of the user's finger, and the user can perform an upward sliding operation or a downward sliding operation on the touch sensing module.
在步骤S206中,记录触控滑动操作对应的滑动距离以及滑动方向,根据滑动距离以及滑动方向生成触控滑动信息。In step S206, the sliding distance and the sliding direction corresponding to the touch sliding operation are recorded, and the touch sliding information is generated according to the sliding distance and the sliding direction.
其中,该触控滑动操作会有滑动方向以及滑动的距离,如上滑方向以及滑动0.1厘米,电子装置会根据该滑动方向以及滑动距离生成触控滑动信息。Wherein, the touch sliding operation has a sliding direction and a sliding distance, such as an upward sliding direction and a sliding distance of 0.1 cm, and the electronic device generates touch sliding information according to the sliding direction and sliding distance.
在步骤S207中,获取滑动距离以及滑动方向。In step S207, the sliding distance and the sliding direction are obtained.
在步骤S208中,根据滑动距离生成对应的目标移动距离。In step S208, a corresponding target moving distance is generated according to the sliding distance.
其中,电子装置获取滑动距离以及滑动方向,如上滑方向以及滑动0.1厘米,根据滑动距离0.1厘米确定目标移动距离,该目标移动距离可以为滑动距离的两倍关系,因此,得到目标移动距离为0.2厘米。Wherein, the electronic device obtains the sliding distance and the sliding direction, such as the upward sliding direction and sliding 0.1 cm, and determines the target moving distance according to the sliding distance of 0.1 cm, and the target moving distance can be twice the sliding distance, therefore, the target moving distance is obtained as 0.2 centimeter.
在步骤S209中,控制电子装置的显示界面根据滑动方向移动目标移动距离。In step S209, the display interface of the electronic device is controlled to move the target moving distance according to the sliding direction.
其中,电子装置根据上滑方向确定移动方向也为上滑,因此,控制电子装置的显示界面根据上滑方向移动0.2厘米。Wherein, the electronic device determines that the moving direction according to the upward sliding direction is also upward sliding, therefore, the display interface of the electronic device is controlled to move 0.2 cm according to the upward sliding direction.
由上述可知,本实施例提供的一种触控信息的处理方法,通过设置在边框上的触控感应模组获取触控点击操作,并记录触控点击操作的连续点击次数,对连续点击次数进行验证,当验证通过时,进入单手操作模式;在单手操作模式下,通过触控感应模组获取触控滑动操作,记录滑动操作对应的滑动距离以及滑动方向,根据滑动距离生成目标移动距离,控制电子装置的显示界面根据滑动方向移动目标移动距离。以此可以根据边框上的触控感应模组获取的触控点击信息快速进入单手操作模式,在单手模式下,根据触控感应模组获取的触控滑动信息移动显示界面,解决了单手操作不方便的问题,提升了电子装置操作的便捷性。It can be seen from the above that the touch information processing method provided by this embodiment obtains the touch click operation through the touch sensing module arranged on the frame, and records the number of consecutive clicks of the touch click operation. Perform verification, and when the verification is passed, enter the one-handed operation mode; in the one-handed operation mode, obtain the touch sliding operation through the touch sensing module, record the sliding distance and sliding direction corresponding to the sliding operation, and generate the target movement according to the sliding distance Distance, controlling the display interface of the electronic device to move the moving distance of the target according to the sliding direction. In this way, the one-handed operation mode can be quickly entered according to the touch click information obtained by the touch sensing module on the frame. The problem of inconvenient hand operation improves the convenience of electronic device operation.
为便于更好的实施本申请实施例提供的触控信息的处理方法,本申请实施例还提供一种基于上述触控信息的处理方法的装置。其中名词的含义与上述触控信息的处理方法中相同,具体实现细节可以参考方法实施例中的说明。In order to better implement the touch information processing method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the above touch information processing method. The meanings of the nouns are the same as those in the above-mentioned touch information processing method, and for specific implementation details, please refer to the description in the method embodiments.
请参阅图7,图7为本申请实施例提供的触控信息的处理装置的模块示意图。具体而言,该触控信息的处理装置300,包括:第一获取单元31、模式单元32、第二获取单元33以及移动单元34。Please refer to FIG. 7 . FIG. 7 is a block diagram of a touch information processing device provided by an embodiment of the present application. Specifically, the touch information processing device 300 includes: a first acquiring unit 31 , a mode unit 32 , a second acquiring unit 33 and a moving unit 34 .
第一获取单元31,用于通过该触控感应模组获取触控点击信息。The first acquiring unit 31 is configured to acquire touch click information through the touch sensing module.
其中,第一获取单元31可以通过该触控感应模组检测用户的触控点击操作,该触控点击操作为用户通过手指按压该触控感应模组的操作。Wherein, the first acquisition unit 31 can detect the user's touch and click operation through the touch sensing module, and the touch and click operation is an operation of the user pressing the touch sensing module with a finger.
在一实施方式中,为了防止触控感应模组将误触控判定为一次触控感应操作,该触控感应模组在检测到触控点击操作时,会对应获取该触控点击操作对应的触控按压力,并判断该触控按压力是否大于预设按压力,当判断出触控按压力大于预设按压力时,说明该触控点击操作不为误触控,记录为一次触控点击操作,当判断出触控按压力不大于预设按压力时,说明该触控点击操作为误触控,不记录为一次触控点击操作。In one embodiment, in order to prevent the touch sensing module from judging a false touch as a touch sensing operation, when the touch sensing module detects a touch click operation, it will correspondingly obtain the information corresponding to the touch click operation. Touch pressure, and judge whether the touch pressure is greater than the preset pressure. When it is judged that the touch pressure is greater than the preset pressure, it means that the touch click operation is not a false touch, and it is recorded as a touch For a click operation, when it is determined that the touch pressing force is not greater than the preset pressing force, it indicates that the touch click operation is a false touch, and is not recorded as a touch click operation.
基于此,第一获取单元31可以通过触控感应模组记录触控点击操作的连续点击次数,并将该连续点击次数生成触控点击信息。Based on this, the first acquisition unit 31 may record the number of consecutive clicks of the touch click operation through the touch sensing module, and generate touch click information from the number of consecutive clicks.
模式单元32,用于当判断出该触控点击信息与预设触控点击信息匹配时,进入单手操作模式。The mode unit 32 is configured to enter a one-handed operation mode when it is determined that the touch click information matches the preset touch click information.
其中,该预设触控点击信息为验证信息,只有当触控点击信息与预设触控点击信息匹配时,才进入单手操作模式。Wherein, the preset touch click information is verification information, and only when the touch click information matches the preset touch click information, the one-handed operation mode is entered.
在一实施方式中,该预设触控点击信息中可以包括预设触控点击次数,当模式单元32判断出触控点击信息中记录的连续点击次数与预设触控点击信息中的预设触控点击次数匹配时,判定为触控点击信息与预设触控点击信息匹配,进入单手操作模式。In one embodiment, the preset touch click information may include the preset touch click times, when the mode unit 32 determines that the number of consecutive clicks recorded in the touch click information is different from the preset number of times in the preset touch click information When the number of touch clicks matches, it is determined that the touch click information matches the preset touch click information, and the one-handed operation mode is entered.
第二获取单元33,用于在该单手操作模式下,通过该触控感应模组获取触控滑动信息。The second acquiring unit 33 is configured to acquire touch sliding information through the touch sensing module in the one-hand operation mode.
其中,第二获取单元33在该单手操作模式下,可以通过触控感应模组获取触控滑动操作,并记录下触控滑动操作对应的滑动方向以及滑动距离,根据该滑动方向以及滑动距离生成触控滑动信息。Wherein, in the one-handed operation mode, the second acquisition unit 33 can obtain the touch sliding operation through the touch sensing module, and record the sliding direction and sliding distance corresponding to the touch sliding operation, and according to the sliding direction and sliding distance Generate touch swipe information.
移动单元34,用于根据该滑动信息移动电子设备的显示界面。The moving unit 34 is configured to move the display interface of the electronic device according to the sliding information.
其中,移动单元34根据滑动信息中的滑动方向确定显示界面的移动方向,根据滑动距离确定显示界面的移动距离,对应将显示界面按照移动方向移动移动距离的位置,以此,使得用户单手操作时,可以通过移动显示界面来触控到上边缘或者下边缘上的显示内容。Wherein, the moving unit 34 determines the moving direction of the display interface according to the sliding direction in the sliding information, determines the moving distance of the display interface according to the sliding distance, and corresponds to the position where the display interface is moved according to the moving distance in the moving direction, so that the user can operate with one hand , you can touch the displayed content on the upper or lower edge by moving the display interface.
可一并参考图8,图8为本申请实施例提供的触控信息的处理装置的另一模块示意图,该触控信息的处理装置300还可以包括:Refer to FIG. 8 together. FIG. 8 is a schematic diagram of another module of the touch information processing device provided in the embodiment of the present application. The touch information processing device 300 may also include:
其中,该第一获取单元31可以包括检测子单元311以及生成子单元312。Wherein, the first acquisition unit 31 may include a detection subunit 311 and a generation subunit 312 .
进一步的,该检测子单元311,用于根据该触控感应模组检测用户的触控点击操作。该生成子单元312,用于记录该触控点击操作的连续点击次数,将该连续点击次数生成触控点击信息。Further, the detection subunit 311 is configured to detect a user's touch and click operation according to the touch sensing module. The generation subunit 312 is configured to record the number of consecutive clicks of the touch click operation, and generate touch click information from the number of consecutive clicks.
其中,该处理装置还可以包括判断单元35,用于判断该触控点击信息中的连续点击次数与该预设触控点击信息中的预设点击次数是否匹配。Wherein, the processing device may further include a judging unit 35 for judging whether the number of consecutive clicks in the touch click information matches the preset number of clicks in the preset touch click information.
该模式单元32,还用于当判断出该触控点击信息中的连续点击次数与该预设触控点击信息中的预设点击次数匹配时,判定为该触控点击信息与预设触控点击信息匹配,执行进入单手操作模式的步骤。The mode unit 32 is further configured to determine that the touch click information is consistent with the preset touch click information when it is determined that the number of consecutive clicks in the touch click information matches the preset click times in the preset touch click information. Click Information matching to perform the steps to enter the one-handed operation mode.
由上述可知,本实施例提供的一种触控信息的处理装置,第一获取单元31通过设置在边框上的触控感应模组获取触控点击信息;当模式单元32判断出触控点击信息与预设触控点击信息匹配时,进入单手操作模式;第二获取单元33在单手操作模式下,通过触控感应模组获取触控滑动信息;移动单元34根据滑动信息移动电子设备的显示界面。以此可以根据边框上的触控感应模组获取的触控点击信息快速进入单手操作模式,在单手模式下,根据触控感应模组获取的触控滑动信息移动显示界面,解决了单手操作不方便的问题,提升了电子装置操作的便捷性。As can be seen from the above, in the device for processing touch information provided by this embodiment, the first acquisition unit 31 acquires touch click information through the touch sensing module arranged on the frame; when the mode unit 32 determines that the touch click information When matching the preset touch and click information, enter the one-handed operation mode; the second acquisition unit 33 obtains the touch sliding information through the touch sensing module in the one-handed operation mode; the mobile unit 34 moves the electronic device according to the sliding information. UI. In this way, the one-handed operation mode can be quickly entered according to the touch click information obtained by the touch sensing module on the frame. The problem of inconvenient hand operation improves the convenience of electronic device operation.
本申请实施例还提供一种电子装置。请参阅图9,电子装置500包括处理器501以及存储器502。其中,处理器501与存储器502电性连接。The embodiment of the present application also provides an electronic device. Please refer to FIG. 9 , the electronic device 500 includes a processor 501 and a memory 502 . Wherein, the processor 501 is electrically connected with the memory 502 .
该处理器500是电子装置500的控制中心,利用各种接口和线路连接整个电子装置的各个部分,通过运行或加载存储在存储器502内的计算机程序,以及调用存储在存储器502内的数据,执行电子装置500的各种功能并处理数据,从而对电子装置500进行整体监控。The processor 500 is the control center of the electronic device 500, using various interfaces and lines to connect various parts of the entire electronic device, by running or loading computer programs stored in the memory 502, and calling data stored in the memory 502, executing Various functions of the electronic device 500 and data processing, so as to monitor the electronic device 500 as a whole.
该存储器502可用于存储软件程序以及模块,处理器501通过运行存储在存储器502的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计算机程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子装置的使用所创建的数据等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器501对存储器502的访问。The memory 502 can be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502 . Memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store operating systems, computer programs required by at least one function (such as sound playback function, image playback function, etc.); Data created by the use of electronic devices, etc. In addition, the memory 502 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. Correspondingly, the memory 502 may further include a memory controller to provide the processor 501 with access to the memory 502 .
在本申请实施例中,电子装置500中的处理器501会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器502中,并由处理器501运行存储在存储器502中的计算机程序,从而实现各种功能,如下:In this embodiment of the application, the processor 501 in the electronic device 500 will follow the steps below to load the instructions corresponding to the process of one or more computer programs into the memory 502, and run the instructions stored in the memory 502 by the processor 501. The computer program in the computer, so as to realize various functions, as follows:
通过该触控感应模组获取触控点击信息;Obtain touch click information through the touch sensing module;
当判断出该触控点击信息与预设触控点击信息匹配时,进入单手操作模式;When it is determined that the touch click information matches the preset touch click information, enter the one-handed operation mode;
在该单手操作模式下,通过该触控感应模组获取触控滑动信息;In the one-handed operation mode, the touch sliding information is obtained through the touch sensing module;
根据该滑动信息移动电子设备的显示界面。The display interface of the electronic device is moved according to the sliding information.
在某些实施方式中,在通过该触控感应模组获取触控点击信息时,处理器501可以具体执行以下步骤:In some implementation manners, when acquiring touch click information through the touch sensing module, the processor 501 may specifically perform the following steps:
根据该触控感应模组检测用户的触控点击操作;Detecting the user's touch and click operation according to the touch sensing module;
记录该触控点击操作的连续点击次数,将该连续点击次数生成触控点击信息。The number of consecutive clicks of the touch click operation is recorded, and the number of consecutive clicks is used to generate touch click information.
在某些实施方式中,在进入单手操作模式之前,处理器501还可以具体执行以下步骤:In some implementation manners, before entering the one-handed operation mode, the processor 501 may specifically perform the following steps:
判断该触控点击信息中的连续点击次数与该预设触控点击信息中的预设点击次数是否匹配;judging whether the number of consecutive clicks in the touch click information matches the preset number of clicks in the preset touch click information;
当判断出该触控点击信息中的连续点击次数与该预设触控点击信息中的预设点击次数匹配时,判定为该触控点击信息与预设触控点击信息匹配,执行进入单手操作模式的步骤。When it is determined that the number of consecutive clicks in the touch click information matches the preset number of clicks in the preset touch click information, it is determined that the touch click information matches the preset touch click information, and the execution enters the single-handed Steps in the mode of operation.
在某些实施方式中,在通过该触控感应模组获取触控滑动信息时,处理器501可以具体执行以下步骤:In some implementation manners, when acquiring touch sliding information through the touch sensing module, the processor 501 may specifically perform the following steps:
通过该触控感应模组检测用户的触控滑动操作;Detect the user's touch and slide operation through the touch sensing module;
记录该触控滑动操作对应的滑动距离以及滑动方向,根据该滑动距离以及滑动方向生成触控滑动信息。A sliding distance and a sliding direction corresponding to the touch sliding operation are recorded, and touch sliding information is generated according to the sliding distance and sliding direction.
在某些实施方式中,在根据该滑动信息移动电子设备的显示界面时,处理器501可以具体执行以下步骤:In some embodiments, when the display interface of the electronic device is moved according to the sliding information, the processor 501 may specifically perform the following steps:
获取该滑动距离以及滑动方向;Obtain the sliding distance and sliding direction;
根据该滑动距离生成对应的目标移动距离;Generate a corresponding target moving distance according to the sliding distance;
控制电子设备的显示界面根据滑动方向移动目标移动距离。The display interface of the electronic device is controlled to move the moving distance of the target according to the sliding direction.
由上述可知,本申请实施例的电子装置,通过设置在边框上的触控感应模组获取触控点击信息;当判断出触控点击信息与预设触控点击信息匹配时,进入单手操作模式;在单手操作模式下,通过触控感应模组获取触控滑动信息;根据滑动信息移动电子设备的显示界面。以此可以根据边框上的触控感应模组获取的触控点击信息快速进入单手操作模式,在单手模式下,根据触控感应模组获取的触控滑动信息移动显示界面,解决了单手操作不方便的问题,提升了电子装置操作的便捷性。It can be seen from the above that the electronic device of the embodiment of the present application obtains the touch click information through the touch sensing module arranged on the frame; mode; in the one-handed operation mode, obtain touch sliding information through the touch sensing module; move the display interface of the electronic device according to the sliding information. In this way, the one-handed operation mode can be quickly entered according to the touch click information obtained by the touch sensing module on the frame. The problem of inconvenient hand operation improves the convenience of electronic device operation.
请一并参阅图10,在某些实施方式中,电子装置500还可以包括:显示器503、射频电路504、音频电路505以及电源506。其中,其中,显示器503、射频电路504、音频电路505以及电源506分别与处理器501电性连接。Please also refer to FIG. 10 , in some embodiments, the electronic device 500 may further include: a display 503 , a radio frequency circuit 504 , an audio circuit 505 and a power supply 506 . Wherein, the display 503 , the radio frequency circuit 504 , the audio circuit 505 and the power supply 506 are respectively electrically connected to the processor 501 .
该显示器503可以用于显示由用户输入的信息或提供给用户的信息以及各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示器503可以包括显示面板,在某些实施方式中,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、或者有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。The display 503 can be used to display information input by or provided to the user, as well as various graphical user interfaces. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display 503 may include a display panel. In some implementation manners, the display panel may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
该射频电路504可以用于收发射频信号,以通过无线通信与网络设备或其他电子装置建立无线通讯,与网络设备或其他电子装置之间收发信号。The radio frequency circuit 504 can be used to send and receive radio frequency signals to establish wireless communication with network equipment or other electronic devices through wireless communication, and to send and receive signals with network equipment or other electronic devices.
该音频电路505可以用于通过扬声器、传声器提供用户与电子装置之间的音频接口。The audio circuit 505 can be used to provide an audio interface between the user and the electronic device through a speaker or a microphone.
该电源506可以用于给电子装置500的各个部件供电。在一些实施例中,电源506可以通过电源管理系统与处理器501逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The power supply 506 can be used to supply power to various components of the electronic device 500 . In some embodiments, the power supply 506 may be logically connected to the processor 501 through a power management system, so as to implement functions such as charging, discharging, and power consumption management through the power management system.
尽管图10中未示出,电子装置500还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 10 , the electronic device 500 may also include a camera, a Bluetooth module, etc., which will not be repeated here.
本申请实施例还提供一种存储介质,该存储介质存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述任一实施例中的触控信息的处理方法,比如:通过该触控感应模组获取触控点击信息;当判断出该触控点击信息与预设触控点击信息匹配时,进入单手操作模式;在该单手操作模式下,通过该触控感应模组获取触控滑动信息;根据该滑动信息移动电子设备的显示界面。An embodiment of the present application also provides a storage medium, the storage medium stores a computer program, and when the computer program is run on a computer, the computer is made to execute the touch information processing method in any of the above-mentioned embodiments, for example: through The touch sensing module acquires touch click information; when it is judged that the touch click information matches the preset touch click information, it enters the one-handed operation mode; in the one-handed operation mode, through the touch sensing module The group acquires touch sliding information; and moves the display interface of the electronic device according to the sliding information.
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM,)、或者随机存取记忆体(Random Access Memory,RAM)等。In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access memory (Random Access Memory, RAM), or the like.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
需要说明的是,对本申请实施例的触控信息的处理方法而言,本领域普通测试人员可以理解实现本申请实施例的触控信息的处理方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在电子装置的存储器中,并被该电子装置内的至少一个处理器执行,在执行过程中可包括如触控信息的处理方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。It should be noted that, for the touch information processing method of the embodiment of the present application, ordinary testers in the field can understand that all or part of the flow of the touch information processing method of the embodiment of the present application can be realized by computer programs. Control related hardware to complete, the computer program can be stored in a computer-readable storage medium, such as stored in the memory of the electronic device, and executed by at least one processor in the electronic device, during the execution process can be Including the flow of an embodiment of the method for processing touch information. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, and the like.
对本申请实施例的触控信息的处理装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the touch information processing device of the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium, such as read-only memory, magnetic disk or optical disk, etc. .
以上对本申请实施例所提供的一种触控信息的处理方法、装置、存储介质及电子装置进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above is a detailed introduction of a touch information processing method, device, storage medium and electronic device provided by the embodiment of the present application. In this paper, a specific example is used to illustrate the principle and implementation of the present application. The above embodiment The description is only used to help understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation and application scope, in summary , the contents of this specification should not be construed as limiting the application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810476199.3ACN108681432A (en) | 2018-05-17 | 2018-05-17 | Method, device, storage medium and electronic device for processing touch information |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810476199.3ACN108681432A (en) | 2018-05-17 | 2018-05-17 | Method, device, storage medium and electronic device for processing touch information |
| Publication Number | Publication Date |
|---|---|
| CN108681432Atrue CN108681432A (en) | 2018-10-19 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810476199.3APendingCN108681432A (en) | 2018-05-17 | 2018-05-17 | Method, device, storage medium and electronic device for processing touch information |
| Country | Link |
|---|---|
| CN (1) | CN108681432A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110162215A (en)* | 2019-05-10 | 2019-08-23 | Oppo广东移动通信有限公司 | Control method, control device, electronic equipment and computer readable storage medium |
| CN112803938A (en)* | 2020-12-31 | 2021-05-14 | 美智光电科技股份有限公司 | Storage method and apparatus, switch apparatus, memory apparatus and readable storage medium |
| CN120255735A (en)* | 2025-06-05 | 2025-07-04 | 夏单科技(珠海)有限公司 | A touch interaction module and algorithm |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104850343A (en)* | 2015-04-29 | 2015-08-19 | 努比亚技术有限公司 | Method and device for starting one-hand operation mode |
| CN105549856A (en)* | 2015-07-25 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal based instruction input method and apparatus |
| CN105824495A (en)* | 2015-11-30 | 2016-08-03 | 维沃移动通信有限公司 | Method for operating mobile terminal with single hand and mobile terminal |
| CN106168877A (en)* | 2016-06-28 | 2016-11-30 | 北京小米移动软件有限公司 | Enter the method and device of singlehanded pattern |
| CN106843640A (en)* | 2016-12-26 | 2017-06-13 | 珠海市魅族科技有限公司 | A kind of control method and handheld terminal for showing the page |
| CN106919292A (en)* | 2017-04-13 | 2017-07-04 | 芯海科技(深圳)股份有限公司 | A kind of method and device of the man-machine interaction of mobile phone side virtual key |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104850343A (en)* | 2015-04-29 | 2015-08-19 | 努比亚技术有限公司 | Method and device for starting one-hand operation mode |
| CN105549856A (en)* | 2015-07-25 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal based instruction input method and apparatus |
| CN105824495A (en)* | 2015-11-30 | 2016-08-03 | 维沃移动通信有限公司 | Method for operating mobile terminal with single hand and mobile terminal |
| CN106168877A (en)* | 2016-06-28 | 2016-11-30 | 北京小米移动软件有限公司 | Enter the method and device of singlehanded pattern |
| CN106843640A (en)* | 2016-12-26 | 2017-06-13 | 珠海市魅族科技有限公司 | A kind of control method and handheld terminal for showing the page |
| CN106919292A (en)* | 2017-04-13 | 2017-07-04 | 芯海科技(深圳)股份有限公司 | A kind of method and device of the man-machine interaction of mobile phone side virtual key |
| Title |
|---|
| 马忠丽等: "《传感器及信号检测转换技术》", 31 October 2016* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110162215A (en)* | 2019-05-10 | 2019-08-23 | Oppo广东移动通信有限公司 | Control method, control device, electronic equipment and computer readable storage medium |
| CN112803938A (en)* | 2020-12-31 | 2021-05-14 | 美智光电科技股份有限公司 | Storage method and apparatus, switch apparatus, memory apparatus and readable storage medium |
| CN120255735A (en)* | 2025-06-05 | 2025-07-04 | 夏单科技(珠海)有限公司 | A touch interaction module and algorithm |
| Publication | Publication Date | Title |
|---|---|---|
| US9965086B2 (en) | Method for enabling function module of terminal, and terminal device | |
| CN108733298B (en) | Touch information processing method and device, storage medium and electronic equipment | |
| CN108762835A (en) | Application running method and device, storage medium and electronic device | |
| WO2015131590A1 (en) | Method for controlling blank screen gesture processing and terminal | |
| CN103809895B (en) | It is a kind of can dynamic generation button mobile terminal and method | |
| CN107071264A (en) | A kind of image resolution ratio method of adjustment and mobile terminal | |
| CN108984096A (en) | Touch operation method, device, storage medium and electronic device | |
| CN105700789A (en) | A picture sending method and terminal equipment | |
| CN108664205A (en) | Information display method, device, mobile terminal and storage medium | |
| CN108681432A (en) | Method, device, storage medium and electronic device for processing touch information | |
| CN108704307A (en) | Touch information processing method and device, storage medium and electronic device | |
| WO2017161814A1 (en) | Control method for terminal and terminal | |
| CN108733299A (en) | Application split screen method and device, storage medium and electronic equipment | |
| CN108519849B (en) | Touch information processing method and device, storage medium and electronic equipment | |
| CN110244848A (en) | Reading control method and related equipment | |
| CN108628535A (en) | task management method, device, storage medium and electronic device | |
| CN108319885B (en) | Fingerprint identification method and device | |
| CN108958607B (en) | Split screen display starting method and device, storage medium and electronic equipment | |
| CN108170360A (en) | The control method and mobile terminal of a kind of gesture function | |
| CN109085986B (en) | Device control method, device, storage medium and electronic device | |
| WO2017161808A1 (en) | Method for processing desktop icon and terminal | |
| CN107958146B (en) | Fingerprint verification method and device, storage medium and electronic equipment | |
| WO2017161812A1 (en) | Message replying method and terminal | |
| CN113158108B (en) | Information display method and device and electronic equipment | |
| CN105739697B (en) | terminal function triggering method and terminal function trigger device |
| 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:20181019 |