CN108459819A - Touch information processing method and device, storage medium and electronic equipment - Google Patents
Touch information processing method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108459819A CN108459819A CN201810299271.XA CN201810299271A CN108459819A CN 108459819 A CN108459819 A CN 108459819A CN 201810299271 A CN201810299271 A CN 201810299271A CN 108459819 A CN108459819 A CN 108459819A
- Authority
- CN
- China
- Prior art keywords
- notification information
- display screen
- display
- screen
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本申请涉及电子技术领域,尤其涉及一种触控信息的处理方法、装置、存储介质及电子设备。The present application relates to the field of electronic technology, and in particular to a method, device, storage medium and electronic equipment for processing touch information.
背景技术Background technique
目前,随着电子技术的不断发展,电子设备如手机的功能越来越强大,用户可以通过手机轻松实现查看时间、查看日期、即时通讯等诸多功能。目前,手机已经成为用户不可或缺的必备设备,替代了很多其他设备。At present, with the continuous development of electronic technology, the functions of electronic devices such as mobile phones are becoming more and more powerful. Users can easily implement many functions such as checking time, checking date, and instant messaging through mobile phones. At present, mobile phones have become an indispensable device for users, replacing many other devices.
然后,现在用户经常需要全屏查看手机内容,如全屏播放视频,此时若电子设备接收到通知信息会在手机顶部显示该通知信息,影响用户观看视频。Then, now the user often needs to view the content of the mobile phone in full screen, such as playing a video in full screen. At this time, if the electronic device receives the notification information, the notification information will be displayed on the top of the mobile phone, affecting the user to watch the video.
发明内容Contents of the invention
本申请实施例提供一种触控信息的处理方法、装置、存储介质及电子设备,可以使通知信息不影响用户全屏查看手机内容。第一方面,本申请实施例了提供一种触控信息的处理方法,应用于电子设备中,所述电子设备包括第一显示屏、以及绕设在所述第一显示屏周缘的中框,所述中框上设置有第二显示屏,所述处理方法包括:Embodiments of the present application provide a touch information processing method, device, storage medium, and electronic device, which can prevent notification information from affecting the user's full-screen viewing of mobile phone content. In the first aspect, the embodiment of the present application provides a method for processing touch information, which is applied to an electronic device, and the electronic device includes a first display screen and a middle frame around the periphery of the first display screen, The middle frame is provided with a second display screen, and the processing method includes:
当接收到通知信息时,确定所述第一显示屏是否处于全屏显示状态;When receiving the notification information, determine whether the first display screen is in a full-screen display state;
若是,则确定所述通知信息的显示权限是否大于预设权限阈值;If so, determine whether the display authority of the notification information is greater than a preset authority threshold;
若大于,则将所述通知信息显示在所述第二显示屏,并发出提示信息用于提醒用户。If it is larger, the notification information is displayed on the second display screen, and a prompt message is issued to remind the user.
第二方面,本申请实施例了提供一种触控信息的处理装置,应用于电子设备,所述电子设备包括第一显示屏、以及绕设在所述第一显示屏周缘的中框,所述中框上设置有第二显示屏,所述装置包括:In the second aspect, the embodiment of the present application provides a touch information processing device, which is applied to electronic equipment, and the electronic equipment includes a first display screen and a middle frame around the periphery of the first display screen, so The middle frame is provided with a second display screen, and the device includes:
第一确定模块,用于当接收到通知信息时,确定所述第一显示屏是否处于全屏显示状态;A first determining module, configured to determine whether the first display screen is in a full-screen display state when receiving notification information;
第二确定模块,用于若是,则确定所述通知信息的显示权限是否大于预设权限阈值;The second determining module is configured to determine whether the display authority of the notification information is greater than a preset authority threshold if it is the case;
处理模块,用于若大于,则将所述通知信息显示在所述第二显示屏,并发出提示信息用于提醒用户。The processing module is configured to display the notification information on the second display screen if it is greater than the value, and issue a prompt message to remind the user.
第三方面,本申请实施例提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述所述的触控信息的处理方法。In a third aspect, the embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is run on a computer, the computer is made to execute the above-mentioned touch information processing method.
第四方面,本申请实施例提供一种电子设备,包括处理器和存储器,所述存储器有计算机程序,所述处理器通过调用所述计算机程序,用于执行上述所述的触控信息的处理方法。In the fourth aspect, the embodiment of the present application provides an electronic device, including a processor and a memory, the memory has a computer program, and the processor is used to execute the above-mentioned touch information processing by calling the computer program method.
第五方面,本申请实施例提供一种电子设备,包括:In a fifth aspect, the embodiment of the present application provides an electronic device, including:
第一显示屏;the first display screen;
中框,绕设在所述第一显示屏的周缘;The middle frame is arranged around the periphery of the first display screen;
第二显示屏,设置在所述中框上;The second display screen is set on the middle frame;
处理器,分别与所述第一显示屏和第二显示屏电连接,所述处理器用于当接收到通知信息时,确定所述第一显示屏是否处于全屏显示状态;若是,则确定所述通知信息的显示权限是否大于预设权限阈值;若大于,则将所述通知信息显示在所述第二显示屏,并发出提示信息用于提醒用户。A processor, electrically connected to the first display screen and the second display screen respectively, the processor is used to determine whether the first display screen is in a full-screen display state when receiving notification information; if so, determine the Whether the display authority of the notification information is greater than the preset authority threshold; if so, the notification information is displayed on the second display screen, and a prompt message is issued to remind the user.
本申请实施例提供的触控信息的处理方法,首先当接收到通知信息时,确定第一显示屏是否处于全屏显示状态;若是,则确定通知信息的显示权限是否大于预设权限阈值;若大于,则将通知信息显示在第二显示屏,并发出提示信息用于提醒用户。当接收到通知信息时,若第一显示屏全屏显示,且该通知信息的显示权限也大于预设权限阈值,则在第二显示屏显示该通知信息,如此,既不影响第一显示屏的全屏显示,又能够及时看到通知信息。The method for processing touch information provided by the embodiment of the present application first determines whether the first display screen is in a full-screen display state when receiving notification information; if so, determines whether the display authority of the notification information is greater than a preset authority threshold; if greater than , the notification information is displayed on the second display screen, and a prompt message is issued to remind the user. When the notification information is received, if the first display screen is displayed in full screen, and the display authority of the notification information is also greater than the preset authority threshold, the notification information is displayed on the second display screen. Full screen display, and you can see the notification information in time.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative efforts.
图1为本申请实施例提供的电子设备的第一种的结构示意图。FIG. 1 is a schematic structural diagram of a first type of electronic device provided by an embodiment of the present application.
图2为本申请实施例提供的电子设备的第二种结构示意图。FIG. 2 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the present application.
图3为本申请实施例提供的电子设备的第三种结构示意图。FIG. 3 is a schematic diagram of a third structure of an electronic device provided by an embodiment of the present application.
图4为本申请实施例提供的电子设备的第四种结构示意图。FIG. 4 is a schematic diagram of a fourth structure of an electronic device provided by an embodiment of the present application.
图5为本申请实施例提供的触控传感器的示意图。FIG. 5 is a schematic diagram of a touch sensor provided by an embodiment of the present application.
图6为本申请实施例提供的触控传感器电路的示意图。FIG. 6 is a schematic diagram of a touch sensor circuit provided by an embodiment of the present application.
图7为本申请实施例提供的触控信息的处理方法的流程示意图。FIG. 7 is a schematic flowchart of a method for processing touch information provided by an embodiment of the present application.
图8为本申请实施例提供的触控信息的处理方法的另一流程示意图。FIG. 8 is another schematic flowchart of a method for processing touch information provided by an embodiment of the present application.
图9为本申请实施例提供的触控信息的处理装置的模块示意图。FIG. 9 is a schematic diagram of modules of an apparatus for processing touch information provided by an embodiment of the present application.
图10为本申请实施例提供的电子设备的第五种结构示意图。FIG. 10 is a schematic diagram of a fifth structure of an electronic device provided by an embodiment of the present application.
图11为本申请实施例提供的电子设备的第六种结构示意图。FIG. 11 is a schematic diagram of a sixth structure of an electronic device provided by an 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 an apparatus for processing touch information. Specifically, the apparatus for processing touch information may be integrated in electronic devices, such as mobile phones, tablet computers, and PDAs (Personal Digital Assistant).
请参阅图1,图1为本申请实施例提供的电子设备的第一种的结构示意图。其中,电子设备100包括盖板10、显示屏20、电路板30、以及壳体40。Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of a first type of electronic device provided in 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 .
请参阅图2,图2为本申请实施例提供的电子设备的第二种结构示意图。该显示屏20可以全屏显示。也即,显示屏20只包括显示区域21,而不包括非显示区域。Please refer to FIG. 2 . FIG. 2 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the present application. The display screen 20 can be displayed in full screen. That is to say, the display screen 20 only includes the display area 21 and does not include the non-display area.
在一些实施例中,显示屏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围绕该显示屏20周缘设置,该后壳设置在显示屏20的背光面,背光面与显示屏20的出光面相对,该中框41与后壳的周缘连接形成一容纳空间,该显示屏20设置在该容纳空间内。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. The casing 40 includes a middle frame 41 and a rear case (not shown in the figure), the middle frame 41 is arranged around the periphery of the display screen 20, the rear case is arranged on the backlight surface of the display screen 20, and the backlight surface and the backlight surface of the display screen 20 The light-emitting surface is opposite, and the middle frame 41 is connected with the periphery of the rear case to form an accommodating space, and the display screen 20 is arranged in the accommodating space.
请参阅图3,图3为本申请实施例提供的电子设备的第三种结构示意图。该电子设备400包括第一显示屏401、中框402、第二显示屏404和处理器405。Please refer to FIG. 3 . FIG. 3 is a schematic diagram of a third structure of an electronic device provided by an embodiment of the present application. The electronic device 400 includes a first display screen 401 , a middle frame 402 , a second display screen 404 and a processor 405 .
其中,中框绕402设在第一显示屏401的周缘。第二显示屏404设置在中框402上。处理器405分别与第一显示屏401和第二显示屏404电连接,处理器405用于当接收到通知信息时,确定第一显示屏401是否处于全屏显示状态;若是,则确定通知信息的显示权限是否大于预设权限阈值;若大于,则将通知信息显示在第二显示屏404,并发出提示信息用于提醒用户。Wherein, the middle frame 402 is arranged on the periphery of the first display screen 401 . The second display screen 404 is disposed on the middle frame 402 . The processor 405 is electrically connected to the first display screen 401 and the second display screen 404 respectively, and the processor 405 is used to determine whether the first display screen 401 is in a full-screen display state when the notification information is received; Whether the authority is greater than the preset authority threshold is displayed; if greater, the notification information is displayed on the second display screen 404, and a prompt message is issued to remind the user.
请参阅图4,图4为本申请实施例提供的电子设备的第四种结构示意图。该电子设备400还包括触控传感器403,该触控传感器403设置在中框402上,触控传感器403用于根据中框402的形变产生触控信息。触控传感器贴合在中框402侧边内侧。Please refer to FIG. 4 . FIG. 4 is a schematic diagram of a fourth structure of an electronic device provided in an embodiment of the present application. The electronic device 400 further includes a touch sensor 403 disposed on the middle frame 402 , and the touch sensor 403 is used to generate touch information according to deformation of the middle frame 402 . The touch sensor is attached to the inner side of the middle frame 402 .
处理器405还可以用于当滚动显示通知信息时,根据触控传感器403检测到的触控操作;停止滚动显示通知信息,并保留第二显示屏404当前显示的内容。The processor 405 may also be configured to stop scrolling and displaying the notification information according to the touch operation detected by the touch sensor 403 when scrolling and displaying the notification information, and retain the content currently displayed on the second display screen 404 .
在一实施方式中,第二显示屏404与触控传感器403层叠设置,第二显示屏404包括多个显示区域;处理器405还用于获取触控传感器403的触控位置信息,并确定出触控位置信息对应的目标显示区域,以及在目标显示区域以外的其他显示区域内,显示通知信息。其中,第二显示屏404在最外层,触控传感器403设置在第二显示屏404内侧。In one embodiment, the second display screen 404 is stacked with the touch sensor 403, and the second display screen 404 includes multiple display areas; the processor 405 is also used to obtain the touch position information of the touch sensor 403, and determine Notification information is displayed in the target display area corresponding to the touch position information, and in other display areas other than the target display area. Wherein, the second display screen 404 is on the outermost layer, and the touch sensor 403 is disposed inside the second display screen 404 .
其中,中框402侧边上设置一开口,第二显示屏404设置在该开口内,并通过胶水与中框402密封固定连接。Wherein, an opening is provided on the side of the middle frame 402, and the second display screen 404 is arranged in the opening, and is sealed and fixedly connected with the middle frame 402 by glue.
在一实施方式中,第二显示屏404可以与触控传感器403可以错开设置。In one embodiment, the second display screen 404 and the touch sensor 403 can be arranged in a staggered manner.
需要说明的是,中框包括顶边、底边以及连接顶边和底边的两个侧边,第二显示屏可以设置在中框的顶边、底边、两个侧边中的任意一个或两个上。即,第二显示屏404可以为一个也可以为两个也可以为多个。同样的,触控传感器403可以设置在中框的顶边、底边、两个侧边中的任意一个或两个上。在中框任意一侧上可以设置多个触控传感器403。It should be noted that the middle frame includes a top edge, a bottom edge, and two sides connecting the top edge and the bottom edge, and the second display screen can be set on any one of the top edge, the bottom edge, and the two sides of the middle frame or two. That is, there may be one second display screen 404, two or more. Likewise, the touch sensor 403 can be disposed on any one or both of the top edge, the bottom edge, and the two sides of the middle frame. Multiple touch sensors 403 can be arranged on any side of the middle frame.
在一实施方式中,该触控传感器403可以是由四个电阻组成的一个全桥电路组成,从而通过该设置于电子设备的中框上的全桥电路,在中框受到按压力而产生微小的形变时,电桥电阻根据一对电阻两端电压差的变化,判断施加按压力的大小。触控传感器403可以为压力传感器,其可以设置在中框的侧边,例如,触控传感器403紧密贴合到中框侧边内侧,当中框侧边受到用户手指的压力时,会产生一个垂直于中框侧边方向的压力,中框侧边会产生微小的形变,例如1微米的形变,即用户手指施力的地方会向内凹陷,与中框侧边贴合的触控传感器403因为中框的形变产生对应的电信号,与触控传感器403耦合的控制芯片获取该电信号,若该电信号小于预设电信号阈值,则确认为无效的按压信号,如用户手轻微的握持,或触碰到数据线等情况,防止误操作。若该电信号大于预设电信号阈值,则确认为有效的按压信号。In one embodiment, the touch sensor 403 may be composed of a full-bridge circuit composed of four resistors, so that through the full-bridge circuit arranged on the middle frame of the electronic device, a tiny When the deformation of the bridge resistance is based on the change of the voltage difference between the two ends of a pair of resistances, the size of the applied pressing force is judged. The touch sensor 403 can be a pressure sensor, which can be arranged on the side of the middle frame. For example, the touch sensor 403 is closely attached to the inner side of the middle frame. When the side of the middle frame is pressed by the user's finger, a vertical The pressure on the side of the middle frame will produce a slight deformation on the side of the middle frame, for example, a deformation of 1 micron, that is, the place where the user's finger exerts force will be inwardly sunken, and the touch sensor 403 attached to the side of the middle frame will be The deformation of the middle frame generates a corresponding electrical signal, and the control chip coupled with the touch sensor 403 acquires the electrical signal. If the electrical signal is smaller than the preset electrical signal threshold, it is confirmed as an invalid pressing signal, such as the user’s hand slightly holding , or touch the data line, etc., to prevent misuse. If the electrical signal is greater than the preset electrical signal threshold, it is confirmed as a valid pressing signal.
在一实施方式中,当用户手持电子设备进行操作时,通过手指触控中框,该触控传感器会对应感应该第一触控压力值,并对该第一触控压力值进行检测。该第一预设阈值为一界定值,取适当数值,第一预设阈值大于用户一般手持电子设备时施加的触控压力,防止误操作。当该第一触控压力值大于该第一预设阈值时,判定为一次有效触控,并获取该触控信息。当该第一触控压力值小于该第一预设阈值时,判定为无效触控,忽略该触控事件。In one embodiment, when the user holds the electronic device for operation and touches the middle frame with a finger, the touch sensor will correspondingly sense the first touch pressure value and detect the first touch pressure value. The first preset threshold is a defined value, which is an appropriate value. The first preset threshold is greater than the touch pressure normally applied by the user when holding the electronic device, so as to prevent misuse. When the first touch pressure value is greater than the first preset threshold, it is determined as a valid touch, and the touch information is acquired. When the first touch pressure value is less than the first preset threshold, it is determined as an invalid touch, and the touch event is ignored.
请参阅图5,图5为本申请实施例提供的触控传感器的示意图。本实施例中,全桥电路由首尾相连的阻值相同的压敏电阻R1、电阻R2、电阻R3和电阻R4组成时,当压敏电阻没有受到按压力作用时,电桥中所有的电阻值是相等的,两个相向电阻的阻值增加,另外两个电阻的阻值将减小,从而,将电压的变化量转换为对应的电压值,以根据电压值的变化获知按压力的大小。具体的,触控传感器42贴合在中框侧边内侧,中框的外表面受到外来的压力(如用户手指的按压)会产出向内凹的形变,贴合在中框内侧的触控传感器42因为中框的形变,造成全桥电路一个或多个压敏电阻的阻值发生变化,从而,将电压的变化量转换为对应的电压值,以根据电压值的变化获知按压力的大小。Please refer to FIG. 5 . FIG. 5 is a schematic diagram of a touch sensor provided by an embodiment of the present application. In this embodiment, when the full bridge circuit is composed of piezoresistors R1, R2, R3 and R4 connected end to end with the same resistance, when the piezoresistors are not subjected to pressing force, all the resistance values in the bridge will are equal, the resistance values of the two opposing resistors increase, and the resistance values of the other two resistors decrease, so that the change in voltage is converted into a corresponding voltage value, so as to obtain the pressing force according to the change in voltage value. Specifically, the touch sensor 42 is attached to the inner side of the middle frame, and the outer surface of the middle frame is subjected to external pressure (such as pressing by a user's finger) to produce an inward concave deformation, and the touch sensor 42 attached to the inner side of the middle frame Due to the deformation of the middle frame of the sensor 42, the resistance value of one or more piezoresistors in the full bridge circuit changes, thereby converting the change in voltage into a corresponding voltage value, so as to obtain the pressing force according to the change in voltage value .
举例而言,请参阅图6,图6为本申请实施例提供的触控传感器电路的示意图。当电阻R2和电阻R3的电阻的值收到按压力均减小1%时,电阻R1和电阻R4的值则增加1%,那么两个“中”点间的电压值将从0变为2%,进而,可将该电压值经过放大处理到适合ADC的电平,进而,由ADC将放大后的传感器输出电压转换为数字式,再交给电路板中的控制器或DSP处理,获知当前的按压力。For example, please refer to FIG. 6 , which is a schematic diagram of a touch sensor circuit provided by an embodiment of the present application. When the resistance values of resistor R2 and resistor R3 are both reduced by 1% when the pressing force is received, the values of resistor R1 and resistor R4 are increased by 1%, then the voltage value between the two "middle" points will change from 0 to 2 %, furthermore, 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 hand it over to the controller or DSP in the circuit board for processing to know the current pressing force.
中框侧边不再需要设置实体式机械按键,压力传感器实现按键功能,不会有进程和回程,就没有缝隙,不让容易进水和进灰尘,提高了防水、防尘等级。另外,现在智能手机的中框为金属中框或合金中框,首先金属中框或合金中框无法利用电容式原理实现按键功能。而且电容式按键因为任何导体碰到都会产生对应的操作,容易产生误操作。而本申请的压力传感器按键需要一定的压力才会产生操作,有效避免误操作。There is no need to set physical mechanical buttons on the side of the middle frame. The pressure sensor realizes the button function. There will be no process and return, and there will be no gaps, preventing water and dust from entering easily, and improving the waterproof and dustproof level. In addition, the middle frame of the smartphone is now a metal middle frame or an alloy middle frame. First of all, the metal middle frame or the alloy middle frame cannot use the capacitive principle to realize the button function. Moreover, the capacitive buttons will produce corresponding operations because any conductor touches them, which is prone to misoperation. However, the pressure sensor button of the present application requires a certain pressure to be operated, effectively avoiding misoperation.
请参阅图7,图7是本申请实施例提供的触控信息的处理方法的流程示意图。具体而言,该方法包括:Please refer to FIG. 7 . FIG. 7 is a schematic flowchart of a method for processing touch information provided by an embodiment of the present application. Specifically, the method includes:
101,当接收到通知信息时,确定第一显示屏是否处于全屏显示状态。101. When receiving notification information, determine whether the first display screen is in a full-screen display state.
需要说明的是,该电子设备包括第一显示屏、以及绕设在第一显示屏周缘的中框,中框上设置有第二显示屏。第一显示屏为电子设备的主显示屏,第二显示屏为辅助显示屏,第一显示屏的尺寸远大于第二显示屏的尺寸。It should be noted that the electronic device includes a first display screen and a middle frame surrounding the periphery of the first display screen, and the second display screen is arranged on the middle frame. The first display screen is a main display screen of the electronic device, the second display screen is an auxiliary display screen, and the size of the first display screen is much larger than that of the second display screen.
当接收到通知信息时,通知信息可以短信信息、即时通讯信息、应用程序的通知信息等。当第一显示屏未处于全屏显示状态时,该通知信息可以弹出对应的提示框,该提示框可以显示在第一显示屏显示界面的顶部。当第一显示屏显示网页内容时,第一显示屏的顶部为浏览过的网页内容,提示框显示在第一显示屏顶部不影响用户浏览网页内容。当第一显示屏显示即时通讯界面时,第一显示屏的顶部为之前的聊天内容,提示框显示在第一显示屏顶部不影响用户聊天。When the notification information is received, the notification information may be short message information, instant messaging information, notification information of an application program, or the like. When the first display screen is not in a full-screen display state, the notification information may pop up a corresponding prompt box, and the prompt box may be displayed on the top of the display interface of the first display screen. When the first display screen displays web page content, the top of the first display screen is the browsed web page content, and the prompt box displayed on the top of the first display screen does not affect the user's browsing of web page content. When the first display screen displays the instant messaging interface, the top of the first display screen is the previous chat content, and the prompt box displayed on the top of the first display screen does not affect the chatting of the user.
当第一显示屏处于全屏显示状态时,例如,全屏播放视频内容,手机第一显示屏的尺寸有限,若在第一显示屏的顶部显示提示框,则会覆盖掉很大面积的视频画面。而且,为了让用户能够看清楚提示框内通知信息的内容,提示框停留的时间较长,为了让用户能够从提示框中看到比较完整的通知信息的内容,提示框还需要做的比较大,因此,会极大的影响用户观看视频内容。另外,如果是即时通讯应用的提示信息,经常会连续的接收到多个提示信息,若都要显示的话,会长时间影响视频画面。When the first display screen is in a full-screen display state, for example, video content is played in full screen, the size of the first display screen of the mobile phone is limited, if a prompt box is displayed on the top of the first display screen, a large area of the video screen will be covered. Moreover, in order for the user to see the content of the notification information in the prompt box clearly, the prompt box stays for a long time, and in order for the user to see a relatively complete content of the notification information from the prompt box, the prompt box needs to be made larger , therefore, will greatly affect the user to watch the video content. In addition, if it is a prompt message of an instant messaging application, multiple prompt messages are often received continuously, and if all of them are displayed, the video image will be affected for a long time.
102,若是,则确定通知信息的显示权限是否大于预设权限阈值。102. If yes, determine whether the display permission of the notification information is greater than a preset permission threshold.
其中,通知信息包括多种通知信息,例如,对应不同应用程序的通知信息,包括即时通讯类应用的通知信息、导航类应用的通知信息、购物类应用的通知信息等。The notification information includes a variety of notification information, for example, notification information corresponding to different application programs, including notification information of instant messaging applications, notification information of navigation applications, notification information of shopping applications, and the like.
因此可以对不同种类的通知信息设定不同的显示权限,例如,即时通讯类应用的通知信息的显示权限为高、导航栏应用的通知信息的显示权限为低。Therefore, different display permissions can be set for different types of notification information, for example, the display permission of notification information of instant messaging applications is high, and the display permission of notification information of navigation bar applications is low.
当接收到通知信息时,先确定第一显示屏是否处于全屏显示状态,若第一显示屏处于全屏显示状态,则确定通知信息的显示权限是否大于预设权限阈值。When receiving the notification information, it is first determined whether the first display screen is in the full-screen display state, and if the first display screen is in the full-screen display state, then it is determined whether the display authority of the notification information is greater than a preset authority threshold.
103,若大于,则将通知信息显示在第二显示屏,并发出提示信息用于提醒用户。103. If it is larger, display the notification information on the second display screen, and issue a prompt message to remind the user.
若通知信息的显示权限是否大于预设权限阈值,说明当前的通知信息比较重要,需要将其显示给用户。但是,因为在第一显示屏显示提示框,在提示框内显示通知信息内容会影响用户全屏显示的内容。因此,将该通知信息显示在第二显示屏上。如此,没有通知信息影响第一显示屏可以全屏显示内容,又能在第二显示屏显示该通知信息,使用户既能继续全屏查看内容,又能及时获取该通知信息。例如,用户正在玩游戏时,一般都不愿意被人打扰,但是有时又要避免错过重要的通知信息,此时,第一显示屏全屏显示游戏界面,当通知信息来时,通知信息显示在第二显示屏,用户只需看一眼第二显示屏就知道该通知信息是否重要,如果不重要,则可以忽略继续玩游戏,如果重要,则可以根据重要程度,选择一个合适的时机推出游戏。If the display permission of the notification information is greater than the preset permission threshold, it means that the current notification information is important and needs to be displayed to the user. However, because the prompt box is displayed on the first display screen, displaying the content of the notification information in the prompt box will affect the content displayed by the user in full screen. Therefore, the notification information is displayed on the second display screen. In this way, the first display screen can display the content in full screen without affecting the notification information, and the notification information can be displayed on the second display screen, so that the user can not only continue to view the content in full screen, but also obtain the notification information in time. For example, when a user is playing a game, he generally does not want to be disturbed by others, but sometimes he wants to avoid missing important notification information. At this time, the first display screen displays the game interface in full screen. The second display screen, users only need to glance at the second display screen to know whether the notification information is important, if it is not important, they can ignore it and continue playing the game, if it is important, they can choose an appropriate time to launch the game according to the importance.
另外,将通知信息显示在第二显示屏时,并发出提示信息用于提醒用户。具体的,第二显示屏显示该通知信息时,第二显示屏从息屏状态变为亮屏状态,亮度发生变化,可以作为提示信息。In addition, when the notification information is displayed on the second display screen, a prompt message is issued to remind the user. Specifically, when the second display screen displays the notification information, the second display screen changes from the off-screen state to the on-screen state, and the brightness changes, which can be used as prompt information.
还可以利用现有的提示信息提醒用户第二显示屏显示了通知信息,包括通过LED等闪烁、常亮等方式提醒用户、通过马达震动提醒用户。还可以再第一显示屏对应第二显示屏的位置显示一个小小的提示信息,如第一显示屏与第二显示屏相邻的一侧边缘位置,显示一个红色箭头,红色箭头指向第二显示屏,为了增加提示作用,可以让红色箭头闪烁或加大红色箭头的尺寸。还可以在第二显示屏所在的中框侧边设置新的LED灯,当第二显示屏显示通知信息时,该新的LED灯闪烁或常亮,或者该新的LED灯具有多种颜色,不同颜色表示不同的情况,其中一种颜色表示有新的通知信息。It is also possible to use the existing prompt information to remind the user that the notification information is displayed on the second display screen, including reminding the user by flashing or constant lighting of LEDs, and reminding the user by motor vibration. It is also possible to display a small prompt message at the position where the first display screen corresponds to the second display screen, for example, a red arrow is displayed on the side edge of the first display screen adjacent to the second display screen, and the red arrow points to the second display screen. In the display screen, in order to increase the prompt function, the red arrow can be made to flash or the size of the red arrow can be enlarged. A new LED light can also be set on the side of the middle frame where the second display screen is located. When the second display screen displays notification information, the new LED light flashes or stays on, or the new LED light has multiple colors. Different colors represent different situations, and one color represents new notification information.
根据上述实施例所描述的方法,以下将举例作进一步详细说明。According to the methods described in the above embodiments, examples will be given below for further detailed description.
请参阅图8,图8为本申请实施例提供的触控信息的处理方法的另一流程示意图。Please refer to FIG. 8 . FIG. 8 is another schematic flowchart of a method for processing touch information provided by an embodiment of the present application.
具体而言,该方法包括:Specifically, the method includes:
201,当接收到通知信息时,确定第一显示屏是否处于全屏显示状态。201. When notification information is received, determine whether the first display screen is in a full-screen display state.
需要说明的是,该电子设备包括第一显示屏、以及绕设在第一显示屏周缘的中框,中框上设置有第二显示屏。第一显示屏为电子设备的主显示屏,第二显示屏为辅助显示屏,第一显示屏的尺寸远大于第二显示屏的尺寸。It should be noted that the electronic device includes a first display screen and a middle frame surrounding the periphery of the first display screen, and the second display screen is arranged on the middle frame. The first display screen is a main display screen of the electronic device, the second display screen is an auxiliary display screen, and the size of the first display screen is much larger than that of the second display screen.
当接收到通知信息时,通知信息可以短信信息、即时通讯信息、应用程序的通知信息等。当第一显示屏未处于全屏显示状态时,该通知信息可以弹出对应的提示框,该提示框可以显示在第一显示屏显示界面的顶部。当第一显示屏显示网页内容时,第一显示屏的顶部为浏览过的网页内容,提示框显示在第一显示屏顶部不影响用户浏览网页内容。当第一显示屏显示即时通讯界面时,第一显示屏的顶部为之前的聊天内容,提示框显示在第一显示屏顶部不影响用户聊天。When the notification information is received, the notification information may be short message information, instant messaging information, notification information of an application program, or the like. When the first display screen is not in a full-screen display state, the notification information may pop up a corresponding prompt box, and the prompt box may be displayed on the top of the display interface of the first display screen. When the first display screen displays web page content, the top of the first display screen is the browsed web page content, and the prompt box displayed on the top of the first display screen does not affect the user's browsing of web page content. When the first display screen displays the instant messaging interface, the top of the first display screen is the previous chat content, and the prompt box displayed on the top of the first display screen does not affect the chatting of the user.
当第一显示屏处于全屏显示状态时,例如,全屏播放视频内容,手机第一显示屏的尺寸有限,若在第一显示屏的顶部显示提示框,则会覆盖掉很大面积的视频画面。而且,为了让用户能够看清楚提示框内通知信息的内容,提示框停留的时间较长,为了让用户能够从提示框中看到比较完整的通知信息的内容,提示框还需要做的比较大,因此,会极大的影响用户观看视频内容。另外,如果是即时通讯应用的提示信息,经常会连续的接收到多个提示信息,若都要显示的话,会长时间影响视频画面。When the first display screen is in a full-screen display state, for example, video content is played in full screen, the size of the first display screen of the mobile phone is limited, if a prompt box is displayed on the top of the first display screen, a large area of the video screen will be covered. Moreover, in order for the user to see the content of the notification information in the prompt box clearly, the prompt box stays for a long time, and in order for the user to see a relatively complete content of the notification information from the prompt box, the prompt box needs to be made larger , therefore, will greatly affect the user to watch the video content. In addition, if it is a prompt message of an instant messaging application, multiple prompt messages are often received continuously, and if all of them are displayed, the video image will be affected for a long time.
202,若是,则确定通知信息的显示权限是否大于预设权限阈值。202. If yes, determine whether the display permission of the notification information is greater than a preset permission threshold.
其中,通知信息包括多种通知信息,例如,对应不同应用程序的通知信息,包括即时通讯类应用的通知信息、导航类应用的通知信息、购物类应用的通知信息等。The notification information includes a variety of notification information, for example, notification information corresponding to different application programs, including notification information of instant messaging applications, notification information of navigation applications, notification information of shopping applications, and the like.
因此可以对不同种类的通知信息设定不同的显示权限,例如,即时通讯类应用的通知信息的显示权限为高、导航栏应用的通知信息的显示权限为低。Therefore, different display permissions can be set for different types of notification information, for example, the display permission of notification information of instant messaging applications is high, and the display permission of notification information of navigation bar applications is low.
当接收到通知信息时,先确定第一显示屏是否处于全屏显示状态,若第一显示屏处于全屏显示状态,则确定通知信息的显示权限是否大于预设权限阈值。When receiving the notification information, it is first determined whether the first display screen is in the full-screen display state, and if the first display screen is in the full-screen display state, then it is determined whether the display authority of the notification information is greater than a preset authority threshold.
203,若大于,则获取第二显示屏用于显示信息的行数。203. If it is greater than, acquire the number of rows used to display information on the second display screen.
若通知信息的显示权限是否大于预设权限阈值,说明当前的通知信息比较重要,需要将其显示给用户。因为第二显示屏为长方形,显示信息为横向排列,可以先获取第二显示屏用于显示信息的行数。If the display permission of the notification information is greater than the preset permission threshold, it means that the current notification information is important and needs to be displayed to the user. Since the second display screen is rectangular and the display information is arranged horizontally, the number of rows used to display information on the second display screen may be obtained first.
204,若通知信息显示的内容超过行数,则在第二显示屏滚动显示通知信息,并发出提示信息用于提醒用户。204. If the displayed content of the notification information exceeds the number of lines, scroll and display the notification information on the second display screen, and send a prompt message to remind the user.
若通知信息显示的内容超过第二显示用于显示信息的行数,则再第二显示屏上滚动显示该通知信息,以便用户不需额外的操作就能全部看到通知信息的内容。If the displayed content of the notification information exceeds the number of rows used for displaying information on the second display, the notification information is scrolled and displayed on the second display screen, so that the user can see all the content of the notification information without additional operations.
另外,若通知信息显示的内容没有超过第二显示用于显示信息的行数,则第二显示屏上直接显示该通知信息,并且还可以停留较长的时间,停留的时间可以超过滚动显示时画面切换的时间。In addition, if the displayed content of the notification information does not exceed the number of rows used for displaying information on the second display, the notification information will be displayed directly on the second display screen, and it can also stay for a long time, and the stay time can exceed the scrolling display time. Screen switching time.
205,当滚动显示通知信息时,中框上的触控传感器检测到触控操作。205. When the notification information is scrolled and displayed, the touch sensor on the middle frame detects a touch operation.
其中,中框上不仅设有第二显示屏,还设有触控传感器。当第二显示屏滚动显示通知信息时,中框上的触控传感器也检测到触控操作。Among them, the middle frame is not only equipped with a second display screen, but also has a touch sensor. When the second display screen scrolls to display the notification information, the touch sensor on the middle frame also detects the touch operation.
需要说明的是,触控传感器贴合在中框侧边内侧,触控传感器感应的触控压力垂直于中框侧边。中框侧边因为外部压力而产生的向内凹的形变,触控传感器贴合在中框侧边内侧,因为该形变导致触控传感器对应的电信号发生改变,进而得到对应的第一触控压力值。It should be noted that the touch sensor is attached to the inner side of the middle frame, and the touch pressure sensed by the touch sensor is perpendicular to the side of the middle frame. The side of the middle frame is deformed inwardly due to external pressure, and the touch sensor is attached to the inside of the side of the middle frame, because the deformation causes the electrical signal corresponding to the touch sensor to change, and then the corresponding first touch is obtained. Pressure value.
206,根据触控操作,停止滚动显示通知信息,并保留第二显示屏当前显示的内容。206. According to the touch operation, stop scrolling and displaying the notification information, and keep the content currently displayed on the second display screen.
可以根据该触控操作,停止滚动显示通知信息,第二显示屏包括当前显示的内容,以便用户能长时间查看当前显示的内容。According to the touch operation, the scrolling display of the notification information can be stopped, and the second display screen includes the currently displayed content, so that the user can view the currently displayed content for a long time.
207,当通知信息的数量在两个以上时,获取各个通知信息对应的类别,以及每个类别通知信息的数量。207. When the number of notification information is more than two, acquire the category corresponding to each notification information and the quantity of notification information of each category.
无论是滚动显示还是直接显示,显示一段时间后都不再显示对应的通知信息。此时,当通知信息的数量在两个以上时,获取各个通知信息对应的类别,以及每个类别通知信息的数量。通知信息包括短信的通知信息、第一即时通讯应用的通知信息、第二即时通讯应用的通知信息、购物类应用的通知信息等。例如,当前有短信的通知信息2条,第一即时通讯应用的通知信息5条,第二即时通讯应用的通知信息10条。Regardless of whether it is scrolling display or direct display, the corresponding notification information will not be displayed after a period of time. At this time, when the number of notification information is more than two, the category corresponding to each notification information and the quantity of notification information of each category are acquired. The notification information includes notification information of a short message, notification information of a first instant messaging application, notification information of a second instant messaging application, notification information of a shopping application, and the like. For example, there are currently 2 pieces of notification information for short messages, 5 pieces of notification information for the first instant messaging application, and 10 pieces of notification information for the second instant messaging application.
208,根据通知信息的类别,在第二显示屏显示对应类别的图标,以及在图标上显示类别通知信息的数量。208. According to the category of the notification information, display an icon of the corresponding category on the second display screen, and display the quantity of notification information of the category on the icon.
根据通知信息的类别,在第二显示屏上显示对应该类别的图标,如对应短信的第一图标,对应第一即时通讯的第二图标,对应第二即时通讯的第二图标,而且在各个图标上显示该类别通知信息的数量。即在第一图标上显示2,第二图标上显示5,第三图标上显示10。方便用户查看当前通知信息的状态。According to the category of the notification information, icons corresponding to the category are displayed on the second display screen, such as the first icon corresponding to the short message, the second icon corresponding to the first instant messaging, and the second icon corresponding to the second instant messaging, and in each The number of notification messages of this category is displayed on the icon. That is, 2 is displayed on the first icon, 5 is displayed on the second icon, and 10 is displayed on the third icon. It is convenient for the user to view the status of the current notification information.
在一实施方式中,处理方法还包括确定当前第一显示屏的显示方式,显示方向包括竖屏显示和横屏显示;若显示方式为竖屏显示,则将通知信息显示在第二显示屏,并且通知信息的字体方向为从上到下;若显示方式为横屏显示,则将通知信息显示在第二显示屏,并且通知信息的字体方向为从前到后。In one embodiment, the processing method further includes determining the current display mode of the first display screen, and the display direction includes vertical screen display and horizontal screen display; if the display mode is vertical screen display, displaying the notification information on the second display screen, And the font direction of the notification information is from top to bottom; if the display mode is landscape display, the notification information is displayed on the second display screen, and the font direction of the notification information is from front to back.
竖屏显示和横屏显示时,为了方便用户查看第二显示屏显示的内容,第二显示屏的字体面对用户都是正向的。例如,中框包括顶边、底边和连接顶边和底边的两个侧边,第二显示屏设置在中框的其中一个侧边上,竖屏显示时,通知信息的内容从上往下显示,即从顶边往底边方向依次显示,第二显示屏显示的字体方向也是顶边往底边方向。横屏显示时,通知信息的内容从左往右显示,即左横屏时,从顶边往底边方向依次显示,右横屏时,从底边往顶边方向依次显示,第二显示屏显示的字体方向是一个侧边往另一个侧边方向。During the vertical screen display and the horizontal screen display, in order to facilitate the user to view the content displayed on the second display screen, the fonts of the second display screen are all positive facing the user. For example, the middle frame includes a top edge, a bottom edge, and two sides connecting the top edge and the bottom edge, and the second display screen is set on one of the sides of the middle frame. The bottom display, that is, the display is sequentially displayed from the top edge to the bottom edge, and the font direction displayed on the second display screen is also the direction from the top edge to the bottom edge. When the screen is displayed in landscape orientation, the content of the notification information is displayed from left to right, that is, when the screen is in landscape orientation on the left, it is displayed sequentially from the top edge to the bottom edge; The font direction shown is side to side.
209,若通知信息的显示权限不大于预设权限阈值,则将通知信息存储在缓存空间。209. If the display permission of the notification information is not greater than the preset permission threshold, store the notification information in the cache space.
若通知信息的显示权限不大于预设权限阈值,说明该通知信息的重要性不高,可以先不显示,将其存储在缓存空间内。If the display permission of the notification information is not greater than the preset permission threshold, it means that the notification information is not of high importance, and it may not be displayed at first and stored in the cache space.
210,当第一显示屏退出全屏显示状态时,从缓存空间获取通知信息,并在第一显示屏显示通知信息。210. When the first display screen exits the full-screen display state, obtain notification information from the cache space, and display the notification information on the first display screen.
当第一显示屏退出全屏显示状态时,再从缓存空间获取通知信息,并在第一显示屏显示通知信息。此时,可以将存储在缓存空间内的所有通知信息都显示在第一显示屏上。When the first display screen exits the full-screen display state, the notification information is obtained from the cache space, and the notification information is displayed on the first display screen. At this point, all notification information stored in the buffer space may be displayed on the first display screen.
由上述可知,本实施例提供的触控信息的处理方法,首先当接收到通知信息时,确定第一显示屏是否处于全屏显示状态;若是,则确定通知信息的显示权限是否大于预设权限阈值;若大于,则将通知信息显示在第二显示屏,并发出提示信息用于提醒用户。当接收到通知信息时,若第一显示屏全屏显示,且该通知信息的显示权限也大于预设权限阈值,则在第二显示屏显示该通知信息,如此,既不影响第一显示屏的全屏显示,又能够及时看到通知信息。As can be seen from the above, the touch information processing method provided by this embodiment first determines whether the first display screen is in a full-screen display state when receiving the notification information; if so, determines whether the display authority of the notification information is greater than the preset authority threshold ; If greater, the notification information is displayed on the second display screen, and a prompt message is issued to remind the user. When the notification information is received, if the first display screen is displayed in full screen, and the display authority of the notification information is also greater than the preset authority threshold, the notification information is displayed on the second display screen. Full screen display, and you can see the notification information in time.
为便于更好的实施本申请实施例提供的触控信息的处理方法,本申请实施例还提供一种基于上述触控信息的处理方法的装置。其中名词的含义与上述触控信息的处理方法中相同,具体实现细节可以参考方法实施例中的说明。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.
请参阅图9,图9为本申请实施例提供的触控信息的处理装置的模块示意图。具体而言,该处理装置应用于电子设备,电子设备包括第一显示屏、以及绕设在第一显示屏周缘的中框,中框上设置有第二显示屏,该触控信息的处理装置300包括第一确定模块301、第二确定模块302和处理模块303。Please refer to FIG. 9 . FIG. 9 is a block diagram of a touch information processing device provided by an embodiment of the present application. Specifically, the processing device is applied to electronic equipment, and the electronic device includes a first display screen and a middle frame around the periphery of the first display screen, a second display screen is arranged on the middle frame, and the touch information processing device 300 includes a first determination module 301 , a second determination module 302 and a processing module 303 .
第一确定模块301,用于当接收到通知信息时,确定第一显示屏是否处于全屏显示状态;The first determining module 301 is configured to determine whether the first display screen is in a full-screen display state when the notification information is received;
第二确定模块302,用于若是,则确定通知信息的显示权限是否大于预设权限阈值;The second determination module 302 is configured to determine whether the display authority of the notification information is greater than a preset authority threshold if it is;
处理模块303,用于若大于,则将通知信息显示在第二显示屏,并发出提示信息用于提醒用户。The processing module 303 is configured to display the notification information on the second display screen if it is greater than the value, and send a prompt message to remind the user.
在一实施方式中,处理模块303还用于获取第二显示屏用于显示信息的行数;以及若通知信息显示的内容超过行数,则滚动显示通知信息。In one embodiment, the processing module 303 is further configured to obtain the number of rows used for displaying information on the second display screen; and if the displayed content of the notification information exceeds the number of rows, display the notification information in a scrolling manner.
在一实施方式中,中框上还设有触控传感器。处理模块303还用于当滚动显示通知信息时,根据接收到的触控传感器检测到的触控操作,停止滚动显示通知信息,并保留第二显示屏当前显示的内容。In one embodiment, the middle frame is further provided with a touch sensor. The processing module 303 is further configured to, when scrolling and displaying the notification information, stop scrolling and displaying the notification information according to the received touch operation detected by the touch sensor, and retain the content currently displayed on the second display screen.
在一实施方式中,处理模块303还用于当通知信息的数量在两个以上时,获取各个通知信息对应的类别,以及每个类别通知信息的数量;以及根据通知信息的类别,在第二显示屏显示对应类别的图标,以及在图标上显示类别通知信息的数量。In one embodiment, the processing module 303 is further configured to obtain the category corresponding to each notification information and the number of notification information of each category when the number of notification information is more than two; and according to the category of the notification information, in the second The display screen displays the icon of the corresponding category, and the number of notification information of the category is displayed on the icon.
在一实施方式中,处理模块303还用于若通知信息的显示权限不大于预设权限阈值,则将通知信息存储在缓存空间;以及当第一显示屏退出全屏显示状态时,从缓存空间获取通知信息,并在第一显示屏显示通知信息。In one embodiment, the processing module 303 is further configured to store the notification information in the cache space if the display authority of the notification information is not greater than the preset authority threshold; notification information, and display the notification information on the first display screen.
由上述可知,本实施例提供的触控信息的处理装置,首先第一确定模块301用于当接收到通知信息时,确定第一显示屏是否处于全屏显示状态;得让确定模块302用于若是,则确定通知信息的显示权限是否大于预设权限阈值;处理模块303用于若大于,则将通知信息显示在第二显示屏,并发出提示信息用于提醒用户。当接收到通知信息时,若第一显示屏全屏显示,且该通知信息的显示权限也大于预设权限阈值,则在第二显示屏显示该通知信息,如此,既不影响第一显示屏的全屏显示,又能够及时看到通知信息。As can be seen from the above, in the device for processing touch information provided by this embodiment, first, the first determination module 301 is used to determine whether the first display screen is in the full-screen display state when the notification information is received; , then determine whether the display authority of the notification information is greater than the preset authority threshold; if so, the processing module 303 is configured to display the notification information on the second display screen, and send a prompt message to remind the user. When the notification information is received, if the first display screen is displayed in full screen, and the display authority of the notification information is also greater than the preset authority threshold, the notification information is displayed on the second display screen. Full screen display, and you can see the notification information in time.
请参阅图10,图10为本申请实施例提供的电子设备的第五种结构示意图。电子设备500包括处理器501以及存储器502。其中,处理器501与存储器502电性连接。Please refer to FIG. 10 . FIG. 10 is a schematic diagram of a fifth structure of an electronic device provided by an embodiment of the present application. 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. It uses 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, execution 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 the embodiment of the present 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:
当接收到通知信息时,确定第一显示屏是否处于全屏显示状态;When receiving the notification information, determine whether the first display screen is in a full-screen display state;
若是,则确定通知信息的显示权限是否大于预设权限阈值;If so, determine whether the display authority of the notification information is greater than a preset authority threshold;
若大于,则将通知信息显示在第二显示屏,并发出提示信息用于提醒用户。If it is larger, the notification information is displayed on the second display screen, and a prompt message is issued to remind the user.
在某些实施方式中,将通知信息显示在第二显示屏时,处理器501可以具体执行以下步骤:In some implementation manners, when displaying the notification information on the second display screen, the processor 501 may specifically perform the following steps:
获取第二显示屏用于显示信息的行数;Obtain the number of rows used to display information on the second display screen;
若通知信息显示的内容超过行数,则滚动显示通知信息。If the displayed content of the notification information exceeds the number of lines, the notification information will be scrolled.
在某些实施方式中,中框上还设有触控传感器,滚动显示通知信息时,处理器501可以具体执行以下步骤:In some embodiments, the middle frame is further provided with a touch sensor, and when the notification information is scrolled and displayed, the processor 501 may specifically perform the following steps:
当滚动显示通知信息时,触控传感器检测到触控操作;When the notification information is scrolled, the touch sensor detects a touch operation;
根据触控操作,停止滚动显示通知信息,并保留第二显示屏当前显示的内容。According to the touch operation, the scrolling display of the notification information is stopped, and the content currently displayed on the second display screen is retained.
在某些实施方式中,若大于,则将通知信息显示在第二显示屏,并发出提示信息用于提醒用户时,处理器501可以具体执行以下步骤:In some implementations, if it is greater than, the notification information is displayed on the second display screen, and when a prompt message is issued to remind the user, the processor 501 may specifically perform the following steps:
当通知信息的数量在两个以上时,获取各个通知信息对应的类别,以及每个类别通知信息的数量;When the number of notification information is more than two, obtain the category corresponding to each notification information, and the number of notification information of each category;
根据通知信息的类别,在第二显示屏显示对应类别的图标,以及在图标上显示类别通知信息的数量。According to the category of the notification information, an icon of the corresponding category is displayed on the second display screen, and the quantity of notification information of the category is displayed on the icon.
在某些实施方式中,确定通知信息的显示权限是否大于预设权限阈值时,处理器501可以具体执行以下步骤:In some implementations, when determining whether the display permission of the notification information is greater than a preset permission threshold, the processor 501 may specifically perform the following steps:
若不大于,则将通知信息存储在缓存空间;If not greater than, the notification information will be stored in the cache space;
当第一显示屏退出全屏显示状态时,从缓存空间获取通知信息,并在第一显示屏显示通知信息。When the first display screen exits the full-screen display state, the notification information is obtained from the cache space, and the notification information is displayed on the first display screen.
由上述可知,本实施例提供的电子设备,首先当接收到通知信息时,确定第一显示屏是否处于全屏显示状态;若是,则确定通知信息的显示权限是否大于预设权限阈值;若大于,则将通知信息显示在第二显示屏,并发出提示信息用于提醒用户。当接收到通知信息时,若第一显示屏全屏显示,且该通知信息的显示权限也大于预设权限阈值,则在第二显示屏显示该通知信息,如此,既不影响第一显示屏的全屏显示,又能够及时看到通知信息。As can be seen from the above, the electronic device provided by this embodiment first determines whether the first display screen is in a full-screen display state when receiving the notification information; if so, determines whether the display authority of the notification information is greater than the preset authority threshold; if greater, Then, the notification information is displayed on the second display screen, and a prompt message is issued to remind the user. When the notification information is received, if the first display screen is displayed in full screen, and the display authority of the notification information is also greater than the preset authority threshold, the notification information is displayed on the second display screen. Full screen display, and you can see the notification information in time.
请一并参阅图11,图11为本申请实施例提供的电子设备的第六种结构示意图。电子设备500还可以包括:显示器503、射频电路504、音频电路505以及电源506。其中,其中,显示器503、射频电路504、音频电路505以及电源506分别与处理器501电性连接。Please also refer to FIG. 11 . FIG. 11 is a schematic diagram of a sixth structure of an electronic device provided by an embodiment of the present application. 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 equipment through wireless communication, and to send and receive signals with network equipment or other electronic equipment.
该音频电路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.
尽管图11中未示出,电子设备500还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 11 , 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 method for processing touch information in any of the above-mentioned embodiments, for example: by The touch sensor acquires touch information; analyzes the touch information to determine the touch operation indicated by the touch information; matches the game database according to the touch operation to obtain the game control parameters corresponding to the touch operation; loads the game Control parameters to make game elements perform corresponding actions.
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(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), and 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 equipment provided by the embodiments of the present application. In this paper, specific examples are used to illustrate the principles and implementation methods of the present application. The above embodiments 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.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810299271.XA CN108459819A (en) | 2018-04-04 | 2018-04-04 | Touch information processing method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810299271.XA CN108459819A (en) | 2018-04-04 | 2018-04-04 | Touch information processing method and device, storage medium and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108459819A true CN108459819A (en) | 2018-08-28 |
Family
ID=63235316
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810299271.XA Pending CN108459819A (en) | 2018-04-04 | 2018-04-04 | Touch information processing method and device, storage medium and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108459819A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111741157A (en) * | 2019-03-25 | 2020-10-02 | 摩托罗拉移动有限责任公司 | Method and system for application control in hinged electronic devices |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103500079A (en) * | 2013-09-17 | 2014-01-08 | 小米科技有限责任公司 | Notification message display method and device and electronic equipment |
| CN105739813A (en) * | 2014-12-29 | 2016-07-06 | 三星电子株式会社 | User terminal device and control method thereof |
| CN105760043A (en) * | 2016-01-29 | 2016-07-13 | 珠海市魅族科技有限公司 | Notification processing method and device |
| CN105824506A (en) * | 2016-03-25 | 2016-08-03 | 乐视控股(北京)有限公司 | Display method and device as well as mobile equipment |
| CN105867733A (en) * | 2016-03-25 | 2016-08-17 | 乐视控股(北京)有限公司 | Notice display method and device and mobile device |
| CN106210289A (en) * | 2016-06-30 | 2016-12-07 | 北京奇虎科技有限公司 | Information processing method, device and mobile terminal |
-
2018
- 2018-04-04 CN CN201810299271.XA patent/CN108459819A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103500079A (en) * | 2013-09-17 | 2014-01-08 | 小米科技有限责任公司 | Notification message display method and device and electronic equipment |
| CN105739813A (en) * | 2014-12-29 | 2016-07-06 | 三星电子株式会社 | User terminal device and control method thereof |
| CN105760043A (en) * | 2016-01-29 | 2016-07-13 | 珠海市魅族科技有限公司 | Notification processing method and device |
| CN105824506A (en) * | 2016-03-25 | 2016-08-03 | 乐视控股(北京)有限公司 | Display method and device as well as mobile equipment |
| CN105867733A (en) * | 2016-03-25 | 2016-08-17 | 乐视控股(北京)有限公司 | Notice display method and device and mobile device |
| CN106210289A (en) * | 2016-06-30 | 2016-12-07 | 北京奇虎科技有限公司 | Information processing method, device and mobile terminal |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111741157A (en) * | 2019-03-25 | 2020-10-02 | 摩托罗拉移动有限责任公司 | Method and system for application control in hinged electronic devices |
| US11228671B2 (en) | 2019-03-25 | 2022-01-18 | Motorola Mobility Llc | Methods and systems for application control in a hinged electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107181559B (en) | Method, device, storage medium and terminal for processing radio frequency interference | |
| CN108733298B (en) | Touch information processing method and device, storage medium and electronic equipment | |
| JP7321360B2 (en) | Key instruction method and electronic equipment | |
| CN108268188B (en) | A kind of control method and mobile terminal of display screen | |
| CN108614655B (en) | Split screen display method and device, storage medium and electronic equipment | |
| CN107193451B (en) | Information display method, apparatus, computer equipment, and computer-readable storage medium | |
| CN108924360B (en) | Display method, storage medium and electronic device | |
| WO2021121099A1 (en) | Message notification method and electronic device | |
| CN109032488A (en) | Processing method, storage medium and the electronic equipment of blank screen gesture | |
| CN108762466A (en) | Display method, display device, mobile terminal and storage medium | |
| US20120096350A1 (en) | Electronic device | |
| CN109117679B (en) | Electronic device including a display and method of applying privacy filters | |
| CN110231900A (en) | A kind of application icon display methods and terminal | |
| CN107402625B (en) | Touch screen scanning method and device, terminal and computer readable storage medium | |
| CN110471711A (en) | Application program preloading method and terminal device | |
| CN108646976B (en) | Touch information processing method and device, storage medium and electronic equipment | |
| CN106886351B (en) | A method, device and computer equipment for displaying terminal time information | |
| CN108733299A (en) | Application split screen method and device, storage medium and electronic equipment | |
| CN108664206A (en) | Information processing method, device, storage medium and electronic equipment | |
| CN108595105A (en) | Light supplement lamp control method and device, storage medium and electronic equipment | |
| CN108563393A (en) | Equipment parameter adjusting method and device, storage medium and electronic equipment | |
| CN108704307A (en) | Touch information processing method and device, storage medium and electronic device | |
| CN107943959A (en) | Webpage display process, device and mobile terminal | |
| CN108519849B (en) | Touch information processing method and device, storage medium and electronic equipment | |
| CN108459819A (en) | Touch information processing method and device, storage medium and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180828 |