CN107562475A - Message display method, device and terminal - Google Patents
Message display method, device and terminal Download PDFInfo
- Publication number
- CN107562475A CN107562475A CN201710755483.XA CN201710755483A CN107562475A CN 107562475 A CN107562475 A CN 107562475A CN 201710755483 A CN201710755483 A CN 201710755483A CN 107562475 A CN107562475 A CN 107562475A
- Authority
- CN
- China
- Prior art keywords
- notification message
- notification
- matching degree
- text content
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及人机交互领域,特别涉及一种消息显示方法、装置及终端。The embodiments of the present application relate to the field of human-computer interaction, and in particular to a message display method, device, and terminal.
背景技术Background technique
推送功能作为应用程序中最为常见的功能,用于向用户推送当前接收到的通知消息,以提醒用户进行及时处理。The push function, as the most common function in the application program, is used to push the currently received notification message to the user, so as to remind the user to deal with it in a timely manner.
应用程序接收到通知消息后,终端会将通知消息添加到通知栏中,以便用户通过下拉通知栏查看通知消息,并进行处理。在实际应用过程中,不同应用程序会对相同内容的通知消息进行重复推送。比如,当用户通过购物应用程序购买某一物品,并完成物品签收时,终端中安装的购物应用程序和物流应用程序将先后推送快递签收通知消息,相应的,通知栏中会显示多条通知消息,提示用户快递已被签收。After the application program receives the notification message, the terminal will add the notification message to the notification bar, so that the user can view the notification message and process it by pulling down the notification bar. In the actual application process, different applications will repeatedly push notification messages with the same content. For example, when a user purchases an item through a shopping application and completes the receipt of the item, the shopping application and the logistics application installed in the terminal will successively push the express delivery notification message, and correspondingly, multiple notification messages will be displayed in the notification bar , prompting the user that the courier has been signed for.
发明内容Contents of the invention
本申请实施例提供了一种消息显示方法、装置及终端,可以用于解决由于不同应用程序对相同内容的通知消息进行重复推送,导致通知栏中相同通知消息重复显示,不利于通知消息管理的问题。所述技术方案如下:The embodiment of the present application provides a message display method, device and terminal, which can be used to solve the problem that the same notification message in the notification bar is repeatedly displayed due to repeated pushes of notification messages of the same content by different application programs, which is not conducive to the management of notification messages question. Described technical scheme is as follows:
第一方面,提供了一种消息显示方法,所述方法包括:In a first aspect, a method for displaying a message is provided, and the method includes:
接收第一通知消息;receiving a first notification message;
获取在第一通知消息之前预定时长内接收到的第二通知消息,第一通知消息与第二通知消息属于不同的应用程序;Obtaining a second notification message received within a predetermined period of time before the first notification message, where the first notification message and the second notification message belong to different applications;
计算第一通知消息与第二通知消息的内容匹配度;calculating the content matching degree between the first notification message and the second notification message;
若内容匹配度大于匹配度阈值,则将第一通知消息与第二通知消息进行合并显示。If the content matching degree is greater than the matching degree threshold, the first notification message and the second notification message are displayed in combination.
第二方面,提供了一种消息显示装置,所述装置包括:In a second aspect, a message display device is provided, the device comprising:
接收模块,用于接收第一通知消息;a receiving module, configured to receive a first notification message;
获取模块,用于获取在第一通知消息之前预定时长内接收到的第二通知消息,第一通知消息与第二通知消息属于不同的应用程序;An acquisition module, configured to acquire a second notification message received within a predetermined period of time before the first notification message, where the first notification message and the second notification message belong to different applications;
计算模块,用于计算第一通知消息与第二通知消息的内容匹配度;A calculation module, configured to calculate the content matching degree between the first notification message and the second notification message;
显示模块,用于当内容匹配度大于匹配度阈值时,将第一通知消息与第二通知消息进行合并显示。A display module, configured to combine and display the first notification message and the second notification message when the content matching degree is greater than the matching degree threshold.
第三方面,提供了一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令,所述指令由所述处理器加载并执行以实现如第一方面所述的消息显示方法。A third aspect provides a terminal, the terminal includes a processor and a memory, at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the message described in the first aspect Show method.
第四方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如第一方面所述的消息显示方法。In a fourth aspect, a computer-readable storage medium is provided, where at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the message display method as described in the first aspect.
本申请实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present application are:
当接收到第一通知消息时,通过获取在第一通知消息之前预定时长内接收到的第二通知消息,并计算第一通知消息与第二通知消息之间的内容匹配度,从而确定先后接收到的通知消息是否为重复通知消息,并在两条通知消息为重复通知消息时,将两条通知消息进行合并显示,进而避免了因在通知栏中显示相同内容的通知消息,导致不利用消息管理的问题;达到了对相同内容的通知消息进行整合显示,进而减少通知栏中通知消息的数量,提高后续对通知栏中通知消息的管理效率。When the first notification message is received, by obtaining the second notification message received within a predetermined time period before the first notification message, and calculating the content matching degree between the first notification message and the second notification message, it is determined that the sequence is received Whether the received notification message is a duplicate notification message, and when the two notification messages are duplicate notification messages, the two notification messages will be combined and displayed, thereby avoiding the notification message with the same content being displayed in the notification bar, resulting in not using the message The problem of management; achieve the integrated display of notification messages with the same content, thereby reducing the number of notification messages in the notification bar, and improving the subsequent management efficiency of notification messages in the notification bar.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1和图2是本申请一个示例性实施例提供的终端的结构方框图;FIG. 1 and FIG. 2 are structural block diagrams of a terminal provided by an exemplary embodiment of the present application;
图3A至图3F是图1和图2所示实施例涉及的五种带有不同显示屏的终端的示意图;FIG. 3A to FIG. 3F are schematic diagrams of five terminals with different display screens involved in the embodiment shown in FIG. 1 and FIG. 2 ;
图4示出了本申请一个示例性实施例提供的消息显示方法的流程图;FIG. 4 shows a flowchart of a message display method provided by an exemplary embodiment of the present application;
图5示出了本申请另一个示例性实施例提供的消息显示方法的流程图;FIG. 5 shows a flowchart of a message display method provided by another exemplary embodiment of the present application;
图6是图5所示消息显示方法实施过程的界面示意图;Fig. 6 is a schematic interface diagram of the implementation process of the message display method shown in Fig. 5;
图7示出了本申请另一个示例性实施例提供的消息显示方法的流程图;FIG. 7 shows a flowchart of a message display method provided by another exemplary embodiment of the present application;
图8示出了本申请一个示例性实施例提供的消息显示装置的结构框图。Fig. 8 shows a structural block diagram of a message display device provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
参考图1和图2所示,其示出了本申请一个示例性实施例提供的终端100的结构方框图。该终端100可以是手机、平板电脑、笔记本电脑和电子书等。本申请中的终端100可以包括一个或多个如下部件:处理器110、存储器120和触摸显示屏130。Referring to FIG. 1 and FIG. 2 , it shows a structural block diagram of a terminal 100 provided by an exemplary embodiment of the present application. The terminal 100 may be a mobile phone, a tablet computer, a notebook computer, an e-book, and the like. The terminal 100 in this application may include one or more of the following components: a processor 110 , a memory 120 and a touch display 130 .
处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个终端100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏130所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块芯片进行实现。Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire terminal 100, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. 100's of various functions and processing data. Optionally, the processor 110 may use at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable LogicArray, PLA). implemented in the form of hardware. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface and application programs, etc.; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch screen 130 ; the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 110, but implemented by a single chip.
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端100的使用所创建的数据(比如音频数据、电话本)等。The memory 120 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area can store data created according to the use of the terminal 100 (such as audio data, phonebook) and the like.
以操作系统为安卓(Android)系统为例,存储器120中存储的程序和数据如图1所示,存储器120中存储有Linux内核层220、系统运行库层240、应用框架层260和应用层280。Linux内核层220为终端100的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层240通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层240中还提供有Android运行时库242(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层260提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层280中运行有至少一个应用程序,这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。Taking the operating system as an Android system as an example, the programs and data stored in the memory 120 are as shown in Figure 1, and the memory 120 is stored with a Linux kernel layer 220, a system runtime layer 240, an application framework layer 260 and an application layer 280 . The Linux kernel layer 220 provides underlying drivers for various hardware of the terminal 100, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and so on. The system runtime layer 240 provides main feature support for the Android system through some C/C++ libraries. For example, the SQLite library provides database support, the OpenGL/ES library provides 3D drawing support, and the Webkit library provides browser kernel support. The system runtime layer 240 also provides an Android runtime library 242 (Android Runtime), which mainly provides some core libraries and can allow developers to use the Java language to write Android applications. The application framework layer 260 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content providers, Package management, call management, resource management, location management. There is at least one application program running in the application layer 280, and these application programs can be contact programs, SMS programs, clock programs, camera applications, etc. Communication programs, photo beautification programs, etc.
以操作系统为IOS系统为例,存储器120中存储的程序和数据如图2所示,IOS系统包括:核心操作系统层320(Core OS layer)、核心服务层340(Core Services layer)、媒体层360(Media layer)、可触摸层380(Cocoa Touch Layer)。核心操作系统层320包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层340的程序框架所使用。核心服务层340提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层360为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层380为应用程序开发提供了各种常用的界面相关的框架,可触摸层380负责用户在终端100上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。Taking the operating system as the IOS system as an example, the programs and data stored in the memory 120 are as shown in Figure 2, and the IOS system includes: a core operating system layer 320 (Core OS layer), a core service layer 340 (Core Services layer), a media layer 360 (Media layer), touchable layer 380 (Cocoa Touch Layer). The core operating system layer 320 includes an operating system kernel, drivers, and underlying program frameworks. These underlying program frameworks provide functions closer to hardware for use by the program frameworks located in the core service layer 340 . The core service layer 340 provides system services and/or program frameworks required by applications, such as foundation framework, account framework, advertisement framework, data storage framework, network connection framework, geographic location framework, exercise framework and so on. The media layer 360 provides audio-visual interfaces for applications, such as interfaces related to graphics and images, interfaces related to audio technology, interfaces related to video technology, and wireless playback (AirPlay) interfaces of audio and video transmission technologies. The touchable layer 380 provides various commonly used interface-related frameworks for application development, and the touchable layer 380 is responsible for the user's touch interaction operation on the terminal 100 . Such as local notification service, remote push service, advertisement framework, game tool framework, message user interface interface (User Interface, UI) framework, user interface UIKit framework, map framework and so on.
在图2所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层340中的基础框架和可触摸层380中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。In the framework shown in FIG. 2 , frameworks related to most applications include but not limited to: the basic framework in the core service layer 340 and the UIKit framework in the touchable layer 380 . The basic framework provides many basic object classes and data types, and provides the most basic system services for all applications, regardless of UI. The class provided by the UIKit framework is a basic UI class library for creating a touch-based user interface. iOS applications can provide UI based on the UIKit framework, so it provides the infrastructure of the application for building user interfaces, drawing , Handle and user interaction events, respond to gestures, and more.
触摸显示屏130用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏130通常设置在终端130的前面板。触摸显示屏130可被设计成为全面屏、曲面屏或异型屏。触摸显示屏130还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本实施例对此不加以限定。其中:The touch display screen 130 is used to receive a user's touch operation on or near it using any suitable object such as a finger or a touch pen, and to display user interfaces of various application programs. The touch display screen 130 is usually arranged on the front panel of the terminal 130 . The touch display screen 130 can be designed as a full screen, a curved screen or a special-shaped screen. The touch display screen 130 can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment. in:
全面屏full screen
全面屏可以是指触摸显示屏130占用终端100的前面板的屏占比超过阈值(比如80%或90%或95%)的屏幕设计。屏占比的一种计算方式为:(触摸显示屏130的面积/终端100的前面板的面积)*100%;屏占比的另一种计算方式为:(触摸显示屏130中实际显示区域的面积/终端100的前面板的面积)*100%;屏占比的再一种计算方式为:(触摸显示屏130的对角线/在终端100的前面板的对角线)*100%。示意性的如图3A所示的例子中,终端100的前面板上近乎所有区域均为触摸显示屏130,在终端100的前面板40上,除中框41所产生的边缘之外的其它区域,全部为触摸显示屏130。该触摸显示屏130的四个角可以是直角或者圆角。The full screen may refer to a screen design in which the screen-to-body ratio occupied by the touch display screen 130 on the front panel of the terminal 100 exceeds a threshold (such as 80% or 90% or 95%). One calculation method of the screen-to-body ratio is: (area of the touch screen 130/area of the front panel of the terminal 100)*100%; another calculation method of the screen-to-body ratio is: (the actual display area in the touch screen 130 area/area of the front panel of the terminal 100)*100%; another calculation method of the screen-to-body ratio is: (diagonal line of the touch screen 130/diagonal line of the front panel of the terminal 100)*100% . In the schematic example shown in FIG. 3A , almost all areas on the front panel of the terminal 100 are touch display screens 130 , and on the front panel 40 of the terminal 100 , other areas except the edge generated by the middle frame 41 , all of which are touch screens 130 . The four corners of the touch display screen 130 may be right angles or rounded corners.
全面屏还可以是将至少一种前面板部件集成在触摸显示屏130内部或下层的屏幕设计。可选地,该至少一种前面板部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,将传统终端的前面板上的其他部件集成在触摸显示屏130的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在触摸显示屏130中每个显示像素中的黑色区域中。由于将至少一种前面板部件集成在了触摸显示屏130的内部,所以全面屏具有更高的屏占比。The full screen may also be a screen design in which at least one front panel component is integrated inside or under the touch display screen 130 . Optionally, the at least one front panel component includes: a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like. In some embodiments, other components on the front panel of the traditional terminal are integrated into all or part of the area of the touch display 130, for example, after splitting the photosensitive element in the camera into multiple photosensitive pixels, each photosensitive Pixels are integrated in the black area of each display pixel in the touch display screen 130 . Since at least one front panel component is integrated inside the touch display screen 130 , the full screen has a higher screen-to-body ratio.
当然在另外一些实施例中,也可以将传统终端的前面板上的前面板部件设置在终端100的侧边或背面,比如将超声波指纹传感器设置在触摸显示屏130的下方、将骨传导式的听筒设置在终端130的内部、将摄像头设置成位于终端的侧边且可插拔的结构。Of course, in some other embodiments, the front panel components on the front panel of the traditional terminal can also be arranged on the side or back of the terminal 100, for example, the ultrasonic fingerprint sensor is arranged under the touch screen 130, the bone conduction The handset is disposed inside the terminal 130, and the camera is disposed on a side of the terminal in a pluggable structure.
在一些可选的实施例中,当终端100采用全面屏时,终端100的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器120,该边缘触控传感器120用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器120可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器120上施加操作,对终端100中的应用程序进行控制。In some optional embodiments, when the terminal 100 adopts a full screen, a single side of the middle frame of the terminal 100, or two sides (such as left and right sides), or four sides (such as Edge touch sensors 120 are arranged on the upper, lower, left, and right sides), and the edge touch sensors 120 are used to detect touch operations, click operations, press operations, and slide operations of the user on the middle frame. at least one action. The edge touch sensor 120 may be any one of a touch sensor, a heat sensor, a pressure sensor, and the like. The user can perform operations on the edge touch sensor 120 to control the application programs in the terminal 100 .
曲面屏curved screen
曲面屏是指触摸显示屏130的屏幕区域不处于一个平面内的屏幕设计。一般的,曲面屏至少存在这样一个截面:该截面呈弯曲形状,且曲面屏在沿垂直于该截面的任意平面方向上的投影为平面的屏幕设计,其中,该弯曲形状可以是U型。可选地,曲面屏是指至少一个侧边是弯曲形状的屏幕设计方式。可选地,曲面屏是指触摸显示屏130的至少一个侧边延伸覆盖至终端100的中框上。由于触摸显示屏130的侧边延伸覆盖至终端100的中框,也即将原本不具有显示功能和触控功能的中框覆盖为可显示区域和/或可操作区域,从而使得曲面屏具有了更高的屏占比。可选地,如图3B所示的例子中,曲面屏是指左右两个侧边42是弯曲形状的屏幕设计;或者,曲面屏是指上下两个侧边是弯曲形状的屏幕设计;或者,曲面屏是指上、下、左、右四个侧边均为弯曲形状的屏幕设计。在可选的实施例中,曲面屏采用具有一定柔性的触摸屏材料制备。The curved screen refers to a screen design in which the screen area of the touch display 130 is not in a plane. Generally, the curved screen has at least one section: the section is curved, and the projection of the curved screen on any plane direction perpendicular to the section is a planar screen design, wherein the curved shape can be U-shaped. Optionally, the curved screen refers to a screen design in which at least one side is curved. Optionally, the curved screen means that at least one side of the touch display screen 130 extends to cover the middle frame of the terminal 100 . Since the side of the touch display screen 130 extends to cover the middle frame of the terminal 100, that is, the middle frame that originally does not have a display function and a touch function is covered as a displayable area and/or an operable area, so that the curved screen has more features. High screen-to-body ratio. Optionally, in the example shown in FIG. 3B , the curved screen refers to a screen design in which the left and right sides 42 are curved; or, the curved screen refers to a screen design in which the upper and lower sides are curved; or, A curved screen refers to a screen design in which the upper, lower, left, and right sides are curved. In an optional embodiment, the curved screen is made of a touch screen material with certain flexibility.
异型屏Shaped screen
异型屏是外观形状为不规则形状的触摸显示屏,不规则形状不是矩形或圆角矩形。可选地,异型屏是指在矩形或圆角矩形的触摸显示屏130上设置有凸起、缺口和/或挖孔的屏幕设计。可选地,该凸起、缺口和/或挖孔可以位于触摸显示屏130的边缘、屏幕中央或两者均有。当凸起、缺口和/或挖孔设置在一条边缘时,可以设置在该边缘的中间位置或两端;当凸起、缺口和/或挖孔设置在屏幕中央时,可以设置在屏幕的上方区域、左上方区域、左侧区域、左下方区域、下方区域、右下方区域、右侧区域、右上方区域中的一个或多个区域中。当设置在多个区域中时,凸起、缺口和挖孔可以集中分布,也可以分散分布;可以对称分布,也可以不对称分布。可选地,该凸起、缺口和/或挖孔的数量也不限。A shaped screen is a touch display screen with an irregular appearance, and the irregular shape is not a rectangle or a rounded rectangle. Optionally, the special-shaped screen refers to a screen design in which protrusions, notches and/or holes are provided on the rectangular or rounded rectangular touch display screen 130 . Optionally, the protrusion, notch and/or hole can be located on the edge of the touch display screen 130, in the center of the screen or both. When the protrusion, notch and/or digging hole is set on one edge, it can be set in the middle or both ends of the edge; when the protrusion, notch and/or digging hole is set in the center of the screen, it can be set on the top of the screen region, upper left region, left region, lower left region, lower region, lower right region, right region, upper right region. When arranged in multiple regions, the protrusions, notches and digging holes can be distributed in a concentrated manner or in a dispersed manner; they can be distributed symmetrically or asymmetrically. Optionally, the number of the protrusions, notches and/or holes is not limited.
由于异型屏将触摸显示屏的上额区和/或下额区覆盖为可显示区域和/或可操作区域,使得触摸显示屏在终端的前面板上占据更多的空间,所以异型屏也具有更大的屏占比。在一些实施例中,缺口和/或挖孔中用于容纳至少一种前面板部件,该前面板部件包括摄像头、指纹传感器、接近光传感器、距离传感器、听筒、环境光亮度传感器、物理按键中的至少一种。Since the special-shaped screen covers the upper forehead area and/or the lower forehead area of the touch display screen as a displayable area and/or an operable area, the touch display screen occupies more space on the front panel of the terminal, so the special-shaped screen also has Larger screen-to-body ratio. In some embodiments, the notch and/or the hole is used to accommodate at least one front panel component, the front panel component includes a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, an earpiece, an ambient light sensor, a physical button, etc. at least one of .
示例性的,该缺口可以设置在一个或多个边缘上,该缺口可以是半圆形缺口、直角矩形缺口、圆角矩形缺口或不规则形状缺口。示意性的如图3C所示的例子中,异型屏可以是在触摸显示屏130的上边缘的中央位置设置有半圆形缺口43的屏幕设计,该半圆形缺口43所空出的位置用于容纳摄像头、距离传感器(又称接近传感器)、听筒、环境光亮度传感器中的至少一种前面板部件;示意性的如图3D所示,异型屏可以是在触摸显示屏130的下边缘的中央位置设置有半圆形缺口44的屏幕设计,该半圆形缺口44所空出的位置用于容纳物理按键、指纹传感器、麦克风中的至少一种部件;示意性的如图3E所示的例子中,异型屏可以是在触摸显示屏130的下边缘的中央位置设置有半椭圆形缺口45的屏幕设计,同时在终端100的前面板上还形成有一个半椭圆型缺口,两个半椭圆形缺口围合成一个椭圆形区域,该椭圆形区域用于容纳物理按键或者指纹识别模组;示意性的如图3F所示的例子中,异型屏可以是在触摸显示屏130中的上半部中设置有至少一个小孔45的屏幕设计,该小孔45所空出的位置用于容纳摄像头、距离传感器、听筒、环境光亮度传感器中的至少一种前面板部件。Exemplarily, the notch can be provided on one or more edges, and the notch can be a semicircular notch, a right-angled rectangular notch, a rounded rectangular notch or an irregular-shaped notch. In the schematic example shown in FIG. 3C , the special-shaped screen may be a screen design in which a semicircular notch 43 is provided at the center of the upper edge of the touch display 130, and the position vacated by the semicircular notch 43 is used for It is used to accommodate at least one front panel component of a camera, a distance sensor (also known as a proximity sensor), an earpiece, and an ambient light brightness sensor; as shown schematically in FIG. A screen design with a semicircular notch 44 in the central position, the position vacated by the semicircular notch 44 is used to accommodate at least one of the physical buttons, fingerprint sensor, and microphone; schematically shown in Figure 3E In an example, the special-shaped screen may be a screen design in which a semi-elliptical notch 45 is provided at the center of the lower edge of the touch display 130, and at the same time, a semi-elliptical notch is formed on the front panel of the terminal 100, and two semi-elliptical notches are formed. Shaped gaps form an elliptical area, which is used to accommodate physical buttons or fingerprint recognition modules; in the example shown in Figure 3F, the special-shaped screen can be in the upper half of the touch display screen 130 The screen design is provided with at least one small hole 45, and the position vacated by the small hole 45 is used to accommodate at least one front panel component among the camera, the distance sensor, the earpiece, and the ambient light brightness sensor.
除此之外,本领域技术人员可以理解,上述附图所示出的终端100的结构并不构成对终端100的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端100中还包括射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal 100 shown in the above drawings does not constitute a limitation on the terminal 100, and the terminal may include more or less components than those shown in the figure, or combine some components, or different component arrangements. For example, the terminal 100 also includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (Wireless Fidelity, WiFi) module, a power supply, and a Bluetooth module, which will not be repeated here.
请参考图4,其示出了本申请一个示例性实施例提供的消息显示方法的流程图。本实施例以该方法应用于上述图1或图2提供的终端中来举例说明。所述方法包括:Please refer to FIG. 4 , which shows a flowchart of a message display method provided by an exemplary embodiment of the present application. This embodiment is described by taking the method applied to the terminal provided in FIG. 1 or FIG. 2 above as an example. The methods include:
步骤401,接收第一通知消息。Step 401, receiving a first notification message.
以安卓系统为例,处于应用层的应用程序接收到通知消息后,通过调用终端操作系统应用框架层的通知管理API,对该通知消息进行显示,比如,以横幅通知的形式显示通知消息。当接收到对通知消息的点击操作时,终端即跳转至该通知消息所属的应用程序,以便用户对该通知消息进行处理。而对于未处理的(未接收到点击操作)通知消息,通知管理API将未处理的通知消息添加未处理堆栈中。用户通过下拉通知栏即可查看到未处理的通知消息。Taking the Android system as an example, after receiving the notification message, the application program at the application layer displays the notification message by calling the notification management API of the application framework layer of the terminal operating system, for example, displaying the notification message in the form of a banner notification. When receiving a click operation on the notification message, the terminal jumps to the application program to which the notification message belongs, so that the user can process the notification message. For unprocessed notification messages (no click operation received), the notification management API adds the unprocessed notification messages to the unprocessed stack. Users can view unprocessed notification messages by pulling down the notification bar.
本实施例中,该第一通知消息即为应用程序调用应用框架层的通知管理API时,通知管理API获取到的通知消息。可选的,该通知消息中包含文本内容。In this embodiment, the first notification message is the notification message obtained by the notification management API when the application program calls the notification management API of the application framework layer. Optionally, the notification message includes text content.
其中,该通知消息为即时通信类应用程序接收到的即时通信消息、短信类应用程序接收到的短信通知消息、支付类应用程序接收到的支付通知消息、物流类应用程序接收到的物流通知消息、购物类应用程序接收到的购物通知消息、视频类应用程序接收到的视频推荐消息以及游戏类应用程序接收到的推送消息等等。本申请并不对接收到通知消息的类型进行限定。Wherein, the notification message is an instant messaging message received by an instant messaging application program, a short message notification message received by a short message application program, a payment notification message received by a payment application program, and a logistics notification message received by a logistics application program. , a shopping notification message received by a shopping application program, a video recommendation message received by a video application program, a push message received by a game application program, and the like. This application does not limit the type of the received notification message.
步骤402,获取在第一通知消息之前预定时长内接收到的第二通知消息,第一通知消息与第二通知消息属于不同的应用程序。Step 402, acquiring a second notification message received within a predetermined time period before the first notification message, where the first notification message and the second notification message belong to different application programs.
由于重复通知消息通常是在较短时间内连续接到的通知消息,因此,终端(通知管理API)获取第一通知消息后,进一步获取第一通知消息之前预定时长内接收到的第二通知消息,其中,预定时长由为操作系统默认或由用户自行设置。比如,该预定时长为1分钟。Since repeated notification messages are usually notification messages received continuously within a relatively short period of time, after the terminal (notification management API) obtains the first notification message, it further obtains the second notification message received within a predetermined period of time before the first notification message , wherein, the predetermined duration is set by default by the operating system or by the user. For example, the predetermined duration is 1 minute.
在一种可能的实施方式中,当接收到第一通知消息时,终端即从已接收通知消息堆栈中,获取在第一通知消息之前预定时长内接收到的,且与第一通知消息属于不同应用程序的第二通知消息。In a possible implementation manner, when receiving the first notification message, the terminal obtains from the stack of received notification messages the information received within a predetermined period of time before the first notification message and belongs to a different group than the first notification message. The application's second notification message.
当获取到至少一条第二通知消息时,终端即执行下述步骤403;当未获取到的第二通知消息时,终端即以横幅通知的形式显示第一通知消息,并在通知栏中显示该第一通知消息。When at least one second notification message is obtained, the terminal executes the following step 403; when no second notification message is obtained, the terminal displays the first notification message in the form of a banner notification, and displays the first notification message in the notification bar First notification message.
步骤403,计算第一通知消息与第二通知消息的内容匹配度。Step 403, calculating the content matching degree between the first notification message and the second notification message.
为了确定第一通知消息是否为重复通知消息,终端进一步计算第一通知消息与接收到的第二通知消息的内容匹配度。In order to determine whether the first notification message is a repeated notification message, the terminal further calculates the degree of content matching between the first notification message and the received second notification message.
在一种可能的实施方式中,终端获取第一通知消息中包含的第一文本内容,以及第二通知消息中包含的第二文本内容,并根据第一文本内容和第二文本内容计算两者的内容匹配度。In a possible implementation manner, the terminal obtains the first text content contained in the first notification message and the second text content contained in the second notification message, and calculates the two text content according to the first text content and the second text content content match.
当计算得到的内容匹配度大于匹配度阈值时,终端确定第一通知消息为重复通知消息,并执行下述步骤404;当计算得到的内容匹配度小于匹配度阈值时,终端确定第一通知消息非重复通知消息,从而以横幅通知的形式显示第一通知消息,并在通知栏中显示该第一通知消息。When the calculated content matching degree is greater than the matching degree threshold, the terminal determines that the first notification message is a repeated notification message, and performs the following step 404; when the calculated content matching degree is less than the matching degree threshold, the terminal determines the first notification message The notification message is not repeated, so that the first notification message is displayed in the form of a banner notification, and the first notification message is displayed in the notification bar.
步骤404,若内容匹配度大于匹配度阈值,则将第一通知消息与第二通知消息进行合并显示。Step 404, if the content matching degree is greater than the matching degree threshold, display the first notification message and the second notification message in combination.
为了减少通知栏中显示的通知消息的数量,当第一通知消息与第二通知消息的内容匹配度大于匹配度阈值(比如50%),即第一通知消息为重复通知消息时,终端对第一通知消息和第二通知消息进行合并显示,也即将第一通知消息和第二通知消息合并为一条通知消息。In order to reduce the number of notification messages displayed in the notification bar, when the content matching degree of the first notification message and the second notification message is greater than the matching degree threshold (such as 50%), that is, when the first notification message is a repeated notification message, the terminal performs the second notification message. The combined display of the first notification message and the second notification message means that the first notification message and the second notification message are combined into one notification message.
可选的,当后续接收到第三通知消息(与第二通知消息的时间间隔小于预定时长),且第三通知消息与第二通知消息和/或第一通知消息的内容匹配度大于匹配度阈值时,终端将第一通知消息、第二通知消息以及第三通知消息进行合并显示。Optionally, when a third notification message is subsequently received (the time interval between the second notification message and the second notification message is less than a predetermined duration), and the content matching degree of the third notification message and the second notification message and/or the first notification message is greater than the matching degree When the threshold is reached, the terminal combines and displays the first notification message, the second notification message and the third notification message.
在一种可能的实施方式中,对多条通知消息进行合并显示时,其中一条通知消息作为主通知消息进行显式显示,而其余的通知消息则折叠隐藏,当接收到对主通知消息的点击操作时,折叠隐藏的通知消息进行显式显示。In a possible implementation, when combining and displaying multiple notification messages, one of the notification messages is explicitly displayed as the main notification message, while the rest of the notification messages are folded and hidden. When a click on the main notification message is received When in action, collapse hidden notification messages to make them explicit.
综上所述,本实施例中,当接收到第一通知消息时,通过获取在第一通知消息之前预定时长内接收到的第二通知消息,并计算第一通知消息与第二通知消息之间的内容匹配度,从而确定先后接收到的通知消息是否为重复通知消息,并在两条通知消息为重复通知消息时,将两条通知消息进行合并显示,进而避免了因在通知栏中显示相同内容的通知消息,导致不利用消息管理的问题;达到了对相同内容的通知消息进行整合显示,进而减少通知栏中通知消息的数量,提高后续对通知栏中通知消息的管理效率。To sum up, in this embodiment, when the first notification message is received, by obtaining the second notification message received within a predetermined time before the first notification message, and calculating the difference between the first notification message and the second notification message The matching degree of the content between them, so as to determine whether the notification messages received successively are duplicate notification messages, and when the two notification messages are duplicate notification messages, the two notification messages will be combined and displayed, thus avoiding the error caused by displaying in the notification bar Notification messages with the same content lead to the problem of not using message management; the integrated display of notification messages with the same content is achieved, thereby reducing the number of notification messages in the notification bar and improving the subsequent management efficiency of notification messages in the notification bar.
相关技术中,针对接收到的多条重复通知消息,终端将采用横幅通知的方式进行重复提示,但是由于重复通知消息的内容相似,因此此类横幅通知被点击的概率较低。为了解决上述问题,在检测到第一通知消息为重复通知消息时,终端将不再采用横幅通知的方式进行提示,下面采用示意性的实施例进行说明。In related technologies, for multiple received repeated notification messages, the terminal will use a banner notification to repeatedly prompt, but since the content of the repeated notification messages is similar, the probability of such a banner notification being clicked is low. In order to solve the above problem, when detecting that the first notification message is a repeated notification message, the terminal will no longer use a banner notification to prompt, and a schematic embodiment is used for description below.
请参考图5,其示出了本申请另一个示例性实施例提供的消息显示方法的流程图。本实施例以该方法应用于上述图1或图2提供的终端中来举例说明。所述方法包括:Please refer to FIG. 5 , which shows a flowchart of a message display method provided by another exemplary embodiment of the present application. This embodiment is described by taking the method applied to the terminal provided in FIG. 1 or FIG. 2 above as an example. The methods include:
步骤501,接收第一通知消息。Step 501, receiving a first notification message.
本步骤的实施方式与上述步骤401相似,本实施例在此不再赘述。The implementation manner of this step is similar to the above step 401, and will not be repeated here in this embodiment.
示意性,终端接收到应用程序A(短信应用程序)发送的第一通知消息。Schematically, the terminal receives the first notification message sent by application program A (short message application program).
步骤502,获取第一通知消息的时间戳。Step 502, acquire the time stamp of the first notification message.
为了进一步获取到第一通知消息之前预定时长内接收到的通知消息,终端获取第一通知消息的时间戳。比如,终端获取到的时间戳为20170815162035,表示第一通知消息的接收时间为2017年8月15日16时20分35秒。In order to further obtain notification messages received within a predetermined period of time before the first notification message, the terminal obtains a timestamp of the first notification message. For example, the timestamp obtained by the terminal is 20170815162035, indicating that the receiving time of the first notification message is 16:20:35 on August 15, 2017.
步骤503,根据时间戳和预定时长,计算时间戳区间。Step 503, calculate the time stamp interval according to the time stamp and the predetermined duration.
获取到第一通知消息的时间戳后,终端在该时间戳所指示时刻的基础上进行时间回溯,从而得到一个时间戳区间,其中时间回溯的长度即为预定时长。后续获取到的第二通知消息的时间戳即在该时间戳区间内。After obtaining the time stamp of the first notification message, the terminal performs time backtracking based on the time indicated by the time stamp, so as to obtain a time stamp interval, wherein the length of time backtracking is the predetermined duration. The time stamp of the second notification message acquired subsequently is within the time stamp interval.
示意性的,当获取到的时间戳为20170815162035,且预定时长为1分钟时,计算得到的时间戳区间即为20170815161935至20170815162035。Schematically, when the acquired time stamp is 20170815162035 and the predetermined duration is 1 minute, the calculated time stamp interval is 20170815161935 to 20170815162035.
步骤504,根据时间戳区间从已接收到的通知消息中获取第二通知消息,其中,第二通知消息的时间戳位于时间戳区间内。Step 504: Obtain a second notification message from the received notification message according to the time stamp interval, where the time stamp of the second notification message is within the time stamp interval.
在一种可能的实施方式中,对于每条接收到的通知消息,终端(通知管理API)记录通知消息的时间戳,并将时间戳存储在已接收通知消息堆栈中,在获取第二通知消息时,终端即根据该时间戳区间,从已接收通知消息堆栈中查找第二通知消息。In a possible implementation manner, for each received notification message, the terminal (notification management API) records the timestamp of the notification message, and stores the timestamp in the received notification message stack, and obtains the second notification message , the terminal searches for the second notification message from the received notification message stack according to the time stamp interval.
示意性的,已接收通知消息堆栈中通知消息与时间戳的对应关系如表一所示。Schematically, the corresponding relationship between notification messages and timestamps in the received notification message stack is shown in Table 1.
表一Table I
由于需要检测来自不同应用程序的通知消息是否为重复通知消息,因此,在一种可能的实施方式中,根据已接收通知消息的时间戳以及时间戳区间筛选出候选通知消息后,终端进一步检测候选通知消息与第一通知消息是否属于不同应用程序,并将与第一通知消息属于不同应用程序的候选通知消息确定为第二通知消息。Since it is necessary to detect whether notification messages from different applications are repeated notification messages, in a possible implementation, after filtering out candidate notification messages according to the timestamps and time stamp intervals of received notification messages, the terminal further detects candidate notification messages. Whether the notification message and the first notification message belong to different application programs, and determine a candidate notification message that belongs to a different application program from the first notification message as the second notification message.
示意性,结合表一所示的示例,由于msg003和msg004的时间戳属于时间戳区间,因此,终端将msg003和msg004确定为候选通知消息;进一步的,由于第一通知消息属于应用程序A(短信应用程序),msg003属于应用程序A(短信应用程序),msg004属于应用程序B(支付类应用程序),因此,终端最终将msg004确定为第二通知消息。Schematically, with reference to the example shown in Table 1, since the timestamps of msg003 and msg004 belong to the timestamp interval, the terminal determines msg003 and msg004 as candidate notification messages; further, since the first notification message belongs to application A (SMS application), msg003 belongs to application A (short message application), and msg004 belongs to application B (payment application). Therefore, the terminal finally determines msg004 as the second notification message.
需要说明的是,终端获取到的第二通知消息的数量还可以为0条或至少两条,本实施例仅以第二通知消息的数量为一条为例进行示意性说明。It should be noted that the number of second notification messages acquired by the terminal may also be zero or at least two, and this embodiment only uses one second notification message as an example for schematic illustration.
步骤505,计算第一通知消息与第二通知消息的内容匹配度。Step 505, calculating the content matching degree between the first notification message and the second notification message.
对于获取到的第一通知消息和第二通知消息,终端进一步计算两者的内容匹配度,从而根据该内容匹配度确定第一通知消息是否为重复通知消息。For the obtained first notification message and the second notification message, the terminal further calculates the content matching degree of the two, so as to determine whether the first notification message is a repeated notification message according to the content matching degree.
在一种可能的实施方式中,本步骤包括如下步骤:In a possible implementation manner, this step includes the following steps:
一、提取第一通知消息中的第一文本内容以及第二通知消息中的第二文本内容。1. Extracting the first text content in the first notification message and the second text content in the second notification message.
由于通知同一事件的通知消息的文本内容通常比较相似,因此终端分别提取第一通知消息和第二通知消息中的文本内容,从而根据文本内容确定两者是否用于通知同一事件。Since the text content of the notification messages notifying the same event is generally similar, the terminal extracts the text content of the first notification message and the second notification message respectively, so as to determine whether the two are used to notify the same event according to the text content.
示意性的,提取到第一通知消息中包含的第一文字内容为:您尾号8073的信用卡于2017年8月15日,快捷支付171元,如有疑问,请拨打客服电话;提取到第二通知消息中包含的第二文字内容为:您刚才使用支付王绑定的尾号8073信用卡支付了171元,请查证。Schematically, the first text contained in the extracted first notification message is: Your credit card ending in 8073 made a quick payment of 171 yuan on August 15, 2017. If you have any questions, please call the customer service number; The second text contained in the notification message reads: You just paid 171 yuan with the credit card ending in 8073 bound by Pay Wang, please check.
二、计算第一文本内容和第二文本内容的整体匹配度,并将整体匹配度确定为内容匹配度。2. Calculate the overall matching degree of the first text content and the second text content, and determine the overall matching degree as the content matching degree.
进一步的,终端对第一文本内容和第二文本内容进行整体匹配,从而计算得到两条文本内容的整体匹配度,并将该整体匹配度确定为两条通知消息的内容匹配度。Further, the terminal performs overall matching on the first text content and the second text content, thereby calculating the overall matching degree of the two text contents, and determining the overall matching degree as the content matching degree of the two notification messages.
可选的,终端采用短文本匹配算法、KMP(The Knuth-Morris-Pratt Algorithm)文本匹配算法或正向最大匹配算法等文本匹配算法计算整体匹配度。Optionally, the terminal calculates the overall matching degree using a text matching algorithm such as a short text matching algorithm, KMP (The Knuth-Morris-Pratt Algorithm) text matching algorithm, or a forward maximum matching algorithm.
示意性的,结合上述示例,终端计算得到第一文本内容与第二文本内容的整体匹配度为52%,即第一通知消息与第二通知消息的内容匹配度为52%。Schematically, with reference to the above example, the terminal calculates that the overall matching degree of the first text content and the second text content is 52%, that is, the content matching degree of the first notification message and the second notification message is 52%.
由于不同应用程序所采用的通知消息模板不同,因此,终端接收到不同应用程序针对同一事件的通知消息的文本内容可能存在较大差异,导致采用上述方法计算得到的整体匹配度较低,进而导致误将同一事件的通知消息识别为不同事件的通知消息。为了进一步提高计算得到的内容匹配度的准确性,在另一种可能的实施方式中,上述步骤二可以被替换为如下步骤。Since the notification message templates used by different applications are different, the text content of the notification message received by different applications for the same event may be quite different on the terminal, resulting in a low overall matching degree calculated by the above method, which in turn leads to Misidentifying notification messages for the same event as notification messages for different events. In order to further improve the accuracy of the calculated content matching degree, in another possible implementation manner, the above step 2 may be replaced with the following steps.
三、从第一文本内容和第二文本内容中提取特征文本内容;计算特征文本内容的特征匹配度,并将特征匹配度确定为内容匹配度。3. Extract characteristic text content from the first text content and the second text content; calculate the characteristic matching degree of the characteristic text content, and determine the characteristic matching degree as the content matching degree.
虽然不同应用程序所采用的通知消息模板可能不同,但是同一事件对应的不同通知消息中包含的关键信息均相同。因此,终端提取到第一文本内容和第二文本内容后,进一步从文本内容中提取特征文本内容,并基于该特征文本内容计算特征匹配度,从而将特征匹配度确定为两条通知消息的内容匹配度。Although the notification message templates adopted by different application programs may be different, the key information contained in different notification messages corresponding to the same event is the same. Therefore, after the terminal extracts the first text content and the second text content, it further extracts the feature text content from the text content, and calculates the feature matching degree based on the feature text content, so as to determine the feature matching degree as the content of the two notification messages suitability.
针对特征文本内容的提取方式,在一种可能的实施方式中,终端确定第一通知消息所属的第一应用程序以及第二通知消息所属的第二应用程序,然后根据第一应用程序以及第二应用程序各自对应的特征文本内容的类型,提取特征文本内容。For the method of extracting feature text content, in a possible implementation manner, the terminal determines the first application program to which the first notification message belongs and the second application program to which the second notification message belongs, and then according to the first application program and the second application program The type of feature text content corresponding to each application program is used to extract the feature text content.
其中,不同类型应用程序对应的特征文本内容的类型相同或不同。可选的,支付类应用程序对应的特征文本内容的类型为金额,购物类应用程序对应的特征文本内容的类型为金额和单号,物流类应用程序对应的特征文本内容的类型为单号,短信类应用程序对应的特征文本内容的类型为数字。Wherein, the types of characteristic text content corresponding to different types of application programs are the same or different. Optionally, the type of characteristic text content corresponding to the payment application is the amount, the type of the characteristic text content corresponding to the shopping application is the amount and the order number, and the type of the characteristic text content corresponding to the logistics application is the order number. The type of characteristic text content corresponding to the short message application program is a number.
相应的,当通知消息所属的应用程序为支付类应用程序时,终端即提取文本内容中包含的金额,在一种可能的实施方式中,终端提取文本内容中“元”之前的数字,或者,“人民币/RMB”之后的数字作为特征文本内容;Correspondingly, when the application to which the notification message belongs is a payment application, the terminal extracts the amount contained in the text content. In a possible implementation, the terminal extracts the number before "yuan" in the text content, or, The number after "RMB/RMB" is used as the characteristic text content;
当通知消息所属的应用程序为购物类应用程序时,终端即提取文本内容中包含的金额和/或单号,在一种可能的实施方式中,终端提取文本内容中“元”之前的数字,或者,“人民币/RMB”之后的数字,或者,“运单号/物流号”之前的数字作为特征文本内容;When the application to which the notification message belongs is a shopping application, the terminal extracts the amount and/or the order number contained in the text content. In a possible implementation manner, the terminal extracts the number before "yuan" in the text content, Or, the number after "RMB/RMB", or the number before "waybill number/logistics number" as the characteristic text content;
当通知消息所属的应用程序为物流类应用程序时,终端即提取文本内容中包含的单号,在一种可能的实施方式中,终端提取文本内容中“运单号/物流号”之前的数字作为特征文本内容;When the application to which the notification message belongs is a logistics application, the terminal extracts the tracking number contained in the text content. In a possible implementation, the terminal extracts the number before the "waybill number/logistics number" in the text content as feature text content;
当通知消息所属的应用程序为短信类应用程序时,终端即提取文本内容中包含的数字作为特征文本内容。When the application program to which the notification message belongs is a short message application program, the terminal extracts the numbers contained in the text content as the characteristic text content.
示意性的,结合上述示例,终端从第一文本内容中提取到特征文本内容“171元”,从第二文本内容中提取到特征文本内容“171元”。Schematically, with reference to the above example, the terminal extracts the characteristic text content "171 yuan" from the first text content, and extracts the characteristic text content "171 yuan" from the second text content.
进一步的,基于提取到的各条文本内容中包含的特征文本内容,终端计算其特征匹配度,并将该特征匹配度确定为通知消息之间的内容匹配度。Further, based on the feature text content contained in the extracted pieces of text content, the terminal calculates its feature matching degree, and determines the feature matching degree as the content matching degree between notification messages.
示意性的,结合上述示例,终端计算得到第一文本特征和第二文本特征的特征匹配度为100%,即第一通知消息和第二通知消息的内容匹配度为100%。Schematically, with reference to the above example, the terminal calculates that the feature matching degree of the first text feature and the second text feature is 100%, that is, the content matching degree of the first notification message and the second notification message is 100%.
需要说明的是,终端还可以采用其他的方式计算通知消息的内容匹配度,本实施例仅以上述两种可能的实施方式为例进行示意性说明,并不对此构成限定。It should be noted that the terminal may also use other methods to calculate the content matching degree of the notification message. This embodiment only uses the above two possible implementation manners as examples for illustrative illustration and does not constitute a limitation thereto.
步骤506,若内容匹配度大于匹配度阈值,则停止显示第一通知消息对应的横幅通知。Step 506, if the content matching degree is greater than the matching degree threshold, stop displaying the banner notification corresponding to the first notification message.
当第一通知消息与第二通知消息的内容匹配度大于匹配度阈值时,终端确定第一通知消息为重复通知消息,并停止显示第一通知消息对应的横幅通知,从而避免重复进行横幅通知对用户造成的影响。When the content matching degree of the first notification message and the second notification message is greater than the matching degree threshold, the terminal determines that the first notification message is a repeated notification message, and stops displaying the banner notification corresponding to the first notification message, thereby avoiding repeated banner notifications. user impact.
需要说明的是,当第一通知消息与第二通知消息的内容匹配度小于匹配度阈值时,终端显示第一通知消息对应的横幅通知,以提醒用户进行消息处理。It should be noted that, when the content matching degree of the first notification message and the second notification message is less than the matching degree threshold, the terminal displays a banner notification corresponding to the first notification message to remind the user to process the message.
采用上述方法,终端对同类通知消息中的第一条通知消息进行横幅通知提醒,避免重复通知消息对应的横幅通知对用户造成的影响。By adopting the above method, the terminal performs a banner notification reminder on the first notification message of the same type of notification message, so as to avoid the influence of the banner notification corresponding to repeated notification messages on the user.
步骤507,若内容匹配度大于匹配度阈值,则确定第一通知消息和第二通知消息中的主通知消息,主通知消息所属的应用程序的使用频率高于另一条通知消息所属的应用程序的使用频率。Step 507, if the content matching degree is greater than the matching degree threshold, then determine the main notification message in the first notification message and the second notification message, and the usage frequency of the application program to which the main notification message belongs is higher than that of the application program to which the other notification message belongs usage frequency.
当第一通知消息与第二通知消息的内容匹配度大于匹配度阈值,且未接收到对第一通知消息和第二通知消息均操作信号时(即第一通知消息和第二通知消息均未处理),终端确定两条通知消息中用于显示主通知消息。When the content matching degree of the first notification message and the second notification message is greater than the matching degree threshold, and no operation signal is received for both the first notification message and the second notification message (that is, neither the first notification message nor the second notification message processing), the terminal determines that the main notification message is to be displayed in the two notification messages.
在一种可能的实施方式中,终端获取第一通知消息以及第二通知消息各自所属的应用程序,并获取两个应用程序各自的使用频率,进而将使用频率较高的应用程序的通知消息确定为主通知消息。In a possible implementation manner, the terminal obtains the applications to which the first notification message and the second notification message respectively belong, and obtains the frequency of use of the two applications, and then determines the notification message of the application with a higher frequency of use. Main notification message.
示意性的,终端获取到第一通知消息所属的应用程序为应用程序A(短信类应用程序),第二通知消息所属的应用程序为应用程序B(支付类应用程序),且应用程序B的使用频率高于应用程序A的使用频率,即将第二通知消息确定为主通知消息。Schematically, the terminal obtains that the application to which the first notification message belongs is application A (short message application), the application to which the second notification message belongs is application B (payment application), and application B's The usage frequency is higher than that of the application program A, that is, the second notification message is determined as the main notification message.
步骤508,将主通知消息显示在通知栏中,并在通知栏中显示下拉控件,其中,下拉控件用于触发将另一条通知消息显示在通知栏中。Step 508 , displaying the main notification message in the notification bar, and displaying a drop-down control in the notification bar, wherein the drop-down control is used to trigger another notification message to be displayed in the notification bar.
为了减少通知栏中通知消息的数量,终端对确定出的重复通知消息进行整合。在一种可能的实施方式中,终端将上述步骤507确定出的主通知消息显示在通知栏中,并对另一条通知消息进行隐藏。为了方便用户查看隐藏的通知消息,通知栏中还显示有下拉控件,当接收到对该下拉控件的触发信号时,终端即在通知栏中显示隐藏的另一条通知消息。。In order to reduce the number of notification messages in the notification bar, the terminal integrates the determined repeated notification messages. In a possible implementation manner, the terminal displays the main notification message determined in step 507 in the notification bar, and hides another notification message. In order to facilitate the user to view the hidden notification message, a drop-down control is also displayed in the notification bar. When a trigger signal for the drop-down control is received, the terminal displays another hidden notification message in the notification bar. .
结合上述示例,终端将第二通知消息显示在通知栏中,并对第一通知消息进行隐藏。With reference to the above example, the terminal displays the second notification message in the notification bar and hides the first notification message.
示意性的,如图6所示,当先后接收到第二通知消息61和第一通知消息62时,终端仅在通知栏中对第二通知消息61进行显示,当用户点击通知栏中的下拉控件63时,原先隐藏的第一通知消息62即显示在通知栏中。Schematically, as shown in FIG. 6, when the second notification message 61 and the first notification message 62 are successively received, the terminal only displays the second notification message 61 in the notification bar. When the control 63 is pressed, the previously hidden first notification message 62 is displayed in the notification bar.
本实施例中,终端在检测到第一通知消息为重复通知消息时,将不再采用横幅通知的方式进行提示,避免重复通知消息对应的横幅通知对用户造成的影响。In this embodiment, when the terminal detects that the first notification message is a repeated notification message, it will no longer use the banner notification to prompt, so as to avoid the impact of the banner notification corresponding to the repeated notification message on the user.
本实施例中,终端根据通知消息所属应用程序的类型,从通知消息中提取特征文本内容,进而根据特征文本内容计算通知消息之间的内容匹配度,从而提高计算得到的内容匹配度的准确性,进而提高了重复通知信息的识别准确度。In this embodiment, the terminal extracts the characteristic text content from the notification message according to the type of the application program to which the notification message belongs, and then calculates the content matching degree between the notification messages according to the characteristic text content, thereby improving the accuracy of the calculated content matching degree , thereby improving the recognition accuracy of repeated notification information.
在一种应用场景下,终端短时间内接收到的通知消息可能并不相关,而对不相关的通知消息进行内容匹配将浪费处理资源。比如,终端中的支付应用程序在18时15分10秒接收到一条支付通知消息,视频播放应用程序在18时15分15秒接收到一条视频推送通知消息,显然,这两条通知消息并非对应同一事件,对这两条通知消息进行内容匹配将浪费处理资源。为了避免上述问题,在一种可能的实施方式中,在图5的基础上,如图7所示,上述步骤504之后,还包括如下步骤。In an application scenario, notification messages received by a terminal within a short period of time may not be relevant, and content matching of irrelevant notification messages will waste processing resources. For example, the payment application in the terminal receives a payment notification message at 18:15:10, and the video playback application receives a video push notification message at 18:15:15. Obviously, these two notification messages do not correspond to each other. For the same event, matching the content of these two notification messages will waste processing resources. In order to avoid the above problems, in a possible implementation manner, on the basis of FIG. 5 , as shown in FIG. 7 , after the above step 504, the following steps are further included.
步骤509,确定第一通知消息所属的第一应用程序以及第二通知消息所属的第二应用程序。Step 509, determine the first application program to which the first notification message belongs and the second application program to which the second notification message belongs.
通过上述步骤获取到时间戳区间内的第二通知消息后,终端进一步获取第一通知消息与第二通知消息各自所属的应用程序,进而根据所属的应用程序初步确定第一通知消息与第二通知消息是否指示同一事件。After obtaining the second notification message within the time stamp interval through the above steps, the terminal further obtains the applications to which the first notification message and the second notification message belong, and then preliminarily determines the first notification message and the second notification according to the application programs to which they belong Whether the message indicates the same event.
示意性的,终端获取到第一通知消息所属的第一应用程序为应用程序A(短信类应用程序),获取到第二通知消息所属的第二应用程序为应用程序B(支付类应用程序)。Schematically, the terminal obtains that the first application to which the first notification message belongs is application A (short message application), and the terminal that obtains the second application to which the second notification message belongs is application B (payment application). .
步骤510,检测第一应用程序和所述第二应用程序是否符合预设关联关系。Step 510, detecting whether the first application program and the second application program conform to a preset association relationship.
实际应用过程中,指示同一事件的通知消息所属的应用程序之间通常具备关联关系。比如,指示支付事件的通知消息所属的应用程序通常为短信类应用程序、支付类应用程序和购物类应用程序,而指示物流事件的通知消息所属的应用程序通常为购物类应用程序和物流类应用程序。In an actual application process, there is usually an association relationship between the applications to which notification messages indicating the same event belong. For example, the applications to which the notification messages indicating payment events belong are usually SMS applications, payment applications, and shopping applications, and the applications to which notification messages indicating logistics events belong are usually shopping applications and logistics applications. program.
在一种可能的实施方式中,终端中预先存储有应用程序之间的关联关系,该关联关系示意性如表二所示。In a possible implementation manner, an association relationship between application programs is pre-stored in the terminal, and the association relationship is schematically shown in Table 2.
表二Table II
终端获取到通知消息所属应用程序后,即检测第一应用程序和第二应用程序之间是否符合预设关联关系,若符合,则执行下述步骤505,进一步进行内容匹配度计算,若不符合,则确定两条通知消息并非指示同一事件,即第一通知消息并非重复通知消息,从而对第一通知消息进行显示。After the terminal obtains the application program to which the notification message belongs, it detects whether the first application program and the second application program conform to the preset association relationship. If yes, the following step 505 is performed to further calculate the content matching degree. , then it is determined that the two notification messages do not indicate the same event, that is, the first notification message is not a repeated notification message, so that the first notification message is displayed.
示意性的,当第一应用程序为支付类应用程序,而第二应用程序为视频播放类应用程序时,终端根据表二确定两者不符合关联关系;当第一应用程序为短信类应用程序,而第二应用程序为支付类应用程序时,终端根据表二确定两者符合关联关系。Schematically, when the first application program is a payment application program and the second application program is a video playback application program, the terminal determines that the two do not conform to the association relationship according to Table 2; when the first application program is an SMS application program , and the second application program is a payment application program, the terminal determines that the two meet the association relationship according to Table 2.
步骤505,若第一应用程序和第二应用程序符合预设关联关系,则计算第一通知消息与第二通知消息的内容匹配度。Step 505, if the first application program and the second application program meet the preset association relationship, calculate the content matching degree of the first notification message and the second notification message.
当第一应用程序和第二应用程序符合预设关联关系时,终端进一步通过计算通知消息的内容匹配度,从而确定两条通知消息是否为重复通知消息。When the first application program and the second application program conform to the preset association relationship, the terminal further determines whether the two notification messages are repeated notification messages by calculating the content matching degree of the notification messages.
本实施例中,终端在计算通知消息的内容匹配度前,检测通知消息所属的应用程序间是否具备关联关系,并在两者存在关联关系时,进一步计算内容匹配度,从而避免对不相关的通知消息进行内容匹配而浪费处理资源。In this embodiment, before calculating the content matching degree of the notification message, the terminal detects whether there is an association relationship between the application programs to which the notification message belongs, and further calculates the content matching degree when there is an association relationship between the two, so as to avoid unrelated Content matching of notification messages wastes processing resources.
请参考图8,其示出了本申请一个示例性实施例提供的消息显示装置的结构框图。该消息显示装置包括:接收模块810,获取模块820,计算模块830和显示模块840。Please refer to FIG. 8 , which shows a structural block diagram of a message display device provided by an exemplary embodiment of the present application. The message display device includes: a receiving module 810 , an acquiring module 820 , a computing module 830 and a display module 840 .
接收模块810,用于接收第一通知消息;A receiving module 810, configured to receive a first notification message;
获取模块820,用于获取在所述第一通知消息之前预定时长内接收到的第二通知消息,所述第一通知消息与所述第二通知消息属于不同的应用程序;An obtaining module 820, configured to obtain a second notification message received within a predetermined period of time before the first notification message, where the first notification message and the second notification message belong to different applications;
计算模块830,用于计算所述第一通知消息与所述第二通知消息的内容匹配度;A calculation module 830, configured to calculate the content matching degree between the first notification message and the second notification message;
显示模块840,用于当所述内容匹配度大于匹配度阈值时,将所述第一通知消息与所述第二通知消息进行合并显示。The display module 840 is configured to combine and display the first notification message and the second notification message when the content matching degree is greater than a matching degree threshold.
可选的,所述获取模块820,包括:Optionally, the obtaining module 820 includes:
第一获取单元,用于获取所述第一通知消息的时间戳;a first obtaining unit, configured to obtain the timestamp of the first notification message;
第一计算单元,用于根据所述时间戳和所述预定时长,计算时间戳区间;a first calculation unit, configured to calculate a time stamp interval according to the time stamp and the predetermined duration;
第二获取单元,用于根据所述时间戳区间从已接收到的通知消息中获取所述第二通知消息,其中,所述第二通知消息的时间戳位于所述时间戳区间内。The second obtaining unit is configured to obtain the second notification message from the received notification message according to the time stamp interval, wherein the time stamp of the second notification message is within the time stamp interval.
可选的,所述装置还包括:Optionally, the device also includes:
确定模块,用于确定所述第一通知消息所属的第一应用程序以及所述第二通知消息所属的第二应用程序;A determining module, configured to determine a first application program to which the first notification message belongs and a second application program to which the second notification message belongs;
检测模块,用于检测所述第一应用程序和所述第二应用程序是否符合预设关联关系;A detection module, configured to detect whether the first application program and the second application program conform to a preset association relationship;
所述计算模块830,还用于当所述第一应用程序和所述第二应用程序符合所述预设关联关系时,执行所述计算所述第一通知消息与所述第二通知消息的内容匹配度的步骤。The calculation module 830 is further configured to perform the calculation of the relationship between the first notification message and the second notification message when the first application program and the second application program conform to the preset association relationship. Steps for content matching.
可选的,所述计算模块830,包括:Optionally, the calculation module 830 includes:
提取单元,用于提取所述第一通知消息中的第一文本内容以及所述第二通知消息中的第二文本内容;an extracting unit, configured to extract the first text content in the first notification message and the second text content in the second notification message;
第一计算单元,用于计算所述第一文本内容和所述第二文本内容的整体匹配度,并将所述整体匹配度确定为所述内容匹配度;a first calculation unit, configured to calculate an overall matching degree of the first text content and the second text content, and determine the overall matching degree as the content matching degree;
或;or;
第二计算单元,用于从所述第一文本内容和所述第二文本内容中提取特征文本内容;计算所述特征文本内容的特征匹配度,并将所述特征匹配度确定为所述内容匹配度。A second calculation unit, configured to extract feature text content from the first text content and the second text content; calculate a feature matching degree of the feature text content, and determine the feature matching degree as the content suitability.
可选的,所述第二计算单元,还用于:Optionally, the second calculation unit is also used for:
确定所述第一通知消息所属的第一应用程序以及所述第二通知消息所属的第二应用程序;determining a first application program to which the first notification message belongs and a second application program to which the second notification message belongs;
根据所述第一应用程序以及所述第二应用程序各自对应的特征文本内容的类型,提取所述特征文本内容;Extracting the feature text content according to the type of feature text content corresponding to the first application program and the second application program;
其中,支付类应用程序对应的特征文本内容的类型为金额,购物类应用程序对应的特征文本内容的类型为金额和单号,物流类应用程序对应的特征文本内容的类型为单号。Among them, the type of characteristic text content corresponding to the payment application is the amount, the type of the characteristic text content corresponding to the shopping application is the amount and the order number, and the type of the characteristic text content corresponding to the logistics application is the order number.
可选的,所述显示模块840,包括:Optionally, the display module 840 includes:
确定单元,用于确定所述第一通知消息和所述第二通知消息中的主通知消息,所述主通知消息所属的应用程序的使用频率高于另一条通知消息所属的应用程序的使用频率;A determining unit, configured to determine a main notification message among the first notification message and the second notification message, where the usage frequency of the application to which the main notification message belongs is higher than the usage frequency of the application to which the other notification message belongs ;
显示单元,用于将所述主通知消息显示在通知栏中,并在所述通知栏中显示下拉控件,其中,所述下拉控件用于触发将另一条通知消息显示在所述通知栏中。The display unit is configured to display the main notification message in a notification bar, and display a drop-down control in the notification bar, wherein the drop-down control is used to trigger another notification message to be displayed in the notification bar.
可选的,所述装置还包括:Optionally, the device also includes:
停止模块,用于当所述内容匹配度大于匹配度阈值时,停止显示所述第一通知消息对应的横幅通知。A stop module, configured to stop displaying the banner notification corresponding to the first notification message when the content matching degree is greater than a matching degree threshold.
综上所述,本实施例中,当接收到第一通知消息时,通过获取在第一通知消息之前预定时长内接收到的第二通知消息,并计算第一通知消息与第二通知消息之间的内容匹配度,从而确定先后接收到的通知消息是否为重复通知消息,并在两条通知消息为重复通知消息时,将两条通知消息进行合并显示,进而避免了因在通知栏中显示相同内容的通知消息,导致不利用消息管理的问题;达到了对相同内容的通知消息进行整合显示,进而减少通知栏中通知消息的数量,提高后续对通知栏中通知消息的管理效率。To sum up, in this embodiment, when the first notification message is received, by obtaining the second notification message received within a predetermined time before the first notification message, and calculating the difference between the first notification message and the second notification message The matching degree of the content between them, so as to determine whether the notification messages received successively are duplicate notification messages, and when the two notification messages are duplicate notification messages, the two notification messages will be combined and displayed, thus avoiding the error caused by displaying in the notification bar Notification messages with the same content lead to the problem of not using message management; the integrated display of notification messages with the same content is achieved, thereby reducing the number of notification messages in the notification bar and improving the subsequent management efficiency of notification messages in the notification bar.
本实施例中,终端在检测到第一通知消息为重复通知消息时,将不再采用横幅通知的方式进行提示,避免重复通知消息对应的横幅通知对用户造成的影响。In this embodiment, when the terminal detects that the first notification message is a repeated notification message, it will no longer use the banner notification to prompt, so as to avoid the impact of the banner notification corresponding to the repeated notification message on the user.
本实施例中,终端根据通知消息所属应用程序的类型,从通知消息中提取特征文本内容,进而根据特征文本内容计算通知消息之间的内容匹配度,从而提高计算得到的内容匹配度的准确性,进而提高了重复通知信息的识别准确度。In this embodiment, the terminal extracts the characteristic text content from the notification message according to the type of the application program to which the notification message belongs, and then calculates the content matching degree between the notification messages according to the characteristic text content, thereby improving the accuracy of the calculated content matching degree , thereby improving the recognition accuracy of repeated notification information.
本实施例中,终端在计算通知消息的内容匹配度前,检测通知消息所属的应用程序间是否具备关联关系,并在两者存在关联关系时,进一步计算内容匹配度,从而避免对不相关的通知消息进行内容匹配而浪费处理资源。In this embodiment, before calculating the content matching degree of the notification message, the terminal detects whether there is an association relationship between the application programs to which the notification message belongs, and further calculates the content matching degree when there is an association relationship between the two, so as to avoid unrelated Content matching of notification messages wastes processing resources.
需要说明的是:上述实施例提供的消息显示装置在显示通知消息时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将终端的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的消息显示装置与消息显示方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the message display device provided in the above embodiment displays the notification message, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. That is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the message display device provided by the above embodiment and the message display method embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.
本申请实施例还提供了一种计算机可读介质,该计算机可读介质存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的消息显示方法。The embodiment of the present application also provides a computer-readable medium, the computer-readable medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the message display method described in each of the above embodiments .
本申请实施例还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的消息显示方法。An embodiment of the present application further provides a computer program product, the computer program product stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the message display method described in each of the above embodiments.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710755483.XA CN107562475B (en) | 2017-08-29 | 2017-08-29 | Message display method, device and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710755483.XA CN107562475B (en) | 2017-08-29 | 2017-08-29 | Message display method, device and terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107562475A true CN107562475A (en) | 2018-01-09 |
| CN107562475B CN107562475B (en) | 2019-02-05 |
Family
ID=60977380
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710755483.XA Active CN107562475B (en) | 2017-08-29 | 2017-08-29 | Message display method, device and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107562475B (en) |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108563520A (en) * | 2018-04-18 | 2018-09-21 | 维沃移动通信有限公司 | A kind of processing method and mobile terminal of notification bar message |
| CN108600089A (en) * | 2018-04-20 | 2018-09-28 | 维沃移动通信有限公司 | A kind of display methods and terminal device of facial expression image |
| CN108881624A (en) * | 2018-05-30 | 2018-11-23 | 维沃移动通信有限公司 | A kind of message display method and terminal device |
| CN109062709A (en) * | 2018-07-12 | 2018-12-21 | 维沃移动通信有限公司 | A kind of processing method and mobile terminal of notification message |
| CN109144345A (en) * | 2018-08-31 | 2019-01-04 | 努比亚技术有限公司 | Application message display methods, device, mobile terminal and readable storage medium storing program for executing |
| CN109189585A (en) * | 2018-07-09 | 2019-01-11 | 珠海市魅族科技有限公司 | Notify methods of exhibiting, mobile terminal and storage medium |
| CN109413282A (en) * | 2018-12-10 | 2019-03-01 | 维沃移动通信有限公司 | A kind of information processing method and mobile terminal |
| CN111859944A (en) * | 2020-07-17 | 2020-10-30 | 维沃移动通信有限公司 | Information display method, device and electronic device |
| CN112311659A (en) * | 2020-10-30 | 2021-02-02 | 维沃移动通信有限公司 | Message processing method and device and electronic equipment |
| CN112738336A (en) * | 2021-01-22 | 2021-04-30 | 维沃移动通信有限公司 | Message processing method and device |
| CN113507406A (en) * | 2021-06-22 | 2021-10-15 | 荣耀终端有限公司 | Message management method and related equipment |
| WO2021249103A1 (en) * | 2020-06-11 | 2021-12-16 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and system for merging linked notifications |
| CN114840297A (en) * | 2022-05-30 | 2022-08-02 | 网易(杭州)网络有限公司 | Message display method and device, electronic equipment and storage medium |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103249015A (en) * | 2013-04-18 | 2013-08-14 | 北京小米科技有限责任公司 | Short message combination method and device |
| CN103955474A (en) * | 2014-03-31 | 2014-07-30 | 可牛网络技术(北京)有限公司 | Notification message processing method and device |
| CN105183486A (en) * | 2015-09-30 | 2015-12-23 | 北京奇虎科技有限公司 | Method and device for displaying notification message |
| CN105260472A (en) * | 2015-10-27 | 2016-01-20 | 珠海市君天电子科技有限公司 | Message pushing method and device |
| CN105426398A (en) * | 2015-10-29 | 2016-03-23 | 小米科技有限责任公司 | Information processing method and apparatus |
| CN105827510A (en) * | 2016-03-31 | 2016-08-03 | 维沃移动通信有限公司 | Push message processing method for mobile terminal, and mobile terminal |
| CN106302094A (en) * | 2015-06-03 | 2017-01-04 | 腾讯科技(深圳)有限公司 | Information push method and device |
| CN106372204A (en) * | 2016-08-31 | 2017-02-01 | 北京小米移动软件有限公司 | Push message processing method and device |
| CN106470406A (en) * | 2015-08-18 | 2017-03-01 | 中兴通讯股份有限公司 | A kind of anti-harassment realization method and system of information |
-
2017
- 2017-08-29 CN CN201710755483.XA patent/CN107562475B/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103249015A (en) * | 2013-04-18 | 2013-08-14 | 北京小米科技有限责任公司 | Short message combination method and device |
| CN103955474A (en) * | 2014-03-31 | 2014-07-30 | 可牛网络技术(北京)有限公司 | Notification message processing method and device |
| CN106302094A (en) * | 2015-06-03 | 2017-01-04 | 腾讯科技(深圳)有限公司 | Information push method and device |
| CN106470406A (en) * | 2015-08-18 | 2017-03-01 | 中兴通讯股份有限公司 | A kind of anti-harassment realization method and system of information |
| CN105183486A (en) * | 2015-09-30 | 2015-12-23 | 北京奇虎科技有限公司 | Method and device for displaying notification message |
| CN105260472A (en) * | 2015-10-27 | 2016-01-20 | 珠海市君天电子科技有限公司 | Message pushing method and device |
| CN105426398A (en) * | 2015-10-29 | 2016-03-23 | 小米科技有限责任公司 | Information processing method and apparatus |
| CN105827510A (en) * | 2016-03-31 | 2016-08-03 | 维沃移动通信有限公司 | Push message processing method for mobile terminal, and mobile terminal |
| CN106372204A (en) * | 2016-08-31 | 2017-02-01 | 北京小米移动软件有限公司 | Push message processing method and device |
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108563520A (en) * | 2018-04-18 | 2018-09-21 | 维沃移动通信有限公司 | A kind of processing method and mobile terminal of notification bar message |
| CN108600089A (en) * | 2018-04-20 | 2018-09-28 | 维沃移动通信有限公司 | A kind of display methods and terminal device of facial expression image |
| CN108881624A (en) * | 2018-05-30 | 2018-11-23 | 维沃移动通信有限公司 | A kind of message display method and terminal device |
| CN109189585A (en) * | 2018-07-09 | 2019-01-11 | 珠海市魅族科技有限公司 | Notify methods of exhibiting, mobile terminal and storage medium |
| CN109062709A (en) * | 2018-07-12 | 2018-12-21 | 维沃移动通信有限公司 | A kind of processing method and mobile terminal of notification message |
| CN109144345B (en) * | 2018-08-31 | 2021-09-21 | 努比亚技术有限公司 | Application message display method and device, mobile terminal and readable storage medium |
| CN109144345A (en) * | 2018-08-31 | 2019-01-04 | 努比亚技术有限公司 | Application message display methods, device, mobile terminal and readable storage medium storing program for executing |
| CN109413282A (en) * | 2018-12-10 | 2019-03-01 | 维沃移动通信有限公司 | A kind of information processing method and mobile terminal |
| WO2021249103A1 (en) * | 2020-06-11 | 2021-12-16 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and system for merging linked notifications |
| CN111859944A (en) * | 2020-07-17 | 2020-10-30 | 维沃移动通信有限公司 | Information display method, device and electronic device |
| US20230152950A1 (en) * | 2020-07-17 | 2023-05-18 | Vivo Mobile Communication Co., Ltd. | Information display method, apparatus and electronic device |
| CN112311659A (en) * | 2020-10-30 | 2021-02-02 | 维沃移动通信有限公司 | Message processing method and device and electronic equipment |
| CN112738336A (en) * | 2021-01-22 | 2021-04-30 | 维沃移动通信有限公司 | Message processing method and device |
| CN113507406A (en) * | 2021-06-22 | 2021-10-15 | 荣耀终端有限公司 | Message management method and related equipment |
| CN113507406B (en) * | 2021-06-22 | 2022-06-10 | 荣耀终端有限公司 | Message management method and related equipment |
| CN114840297A (en) * | 2022-05-30 | 2022-08-02 | 网易(杭州)网络有限公司 | Message display method and device, electronic equipment and storage medium |
| CN114840297B (en) * | 2022-05-30 | 2023-08-08 | 网易(杭州)网络有限公司 | Message display method and device, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107562475B (en) | 2019-02-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107562475A (en) | Message display method, device and terminal | |
| US11467715B2 (en) | User interface display method, terminal and non-transitory computer-readable storage medium for splitting a display using a multi-finger swipe | |
| CN107506123B (en) | Adjusting operation execution method and device and terminal | |
| CN107688422B (en) | Notification message display method and device | |
| CN109144649B (en) | Icon display method, device, terminal and storage medium | |
| CN109862187B (en) | Message processing method, device, terminal and storage medium | |
| CN107526509B (en) | Message display method and device and mobile terminal | |
| WO2019174477A1 (en) | User interface display method and device, and terminal | |
| US20190079666A1 (en) | Control method of terminal device, terminal device, and storage medium | |
| CN108415751B (en) | Message reminding method, device, equipment and storage medium | |
| CN107613118A (en) | Method, device, mobile terminal and storage medium for enabling shortcut function | |
| CN109034115A (en) | Video image recognizing method, device, terminal and storage medium | |
| CN107632874B (en) | Interface display method, device and terminal | |
| WO2019174469A1 (en) | Message notification method, apparatus, device and storage medium | |
| CN111767554A (en) | Screen sharing method and device, storage medium and electronic equipment | |
| CN107577414A (en) | The method and mobile terminal of split screen display available | |
| CN107613116A (en) | Notification message processing method and device | |
| CN108540647A (en) | user interface display method, device, terminal and storage medium | |
| CN107688430B (en) | Method, device, terminal and storage medium for replacing wallpaper | |
| WO2019047189A1 (en) | Message display method and device and terminal | |
| CN107704744A (en) | Identity verification method, device and mobile terminal | |
| CN107609372A (en) | Fingerprint identification method, device, mobile terminal and storage medium | |
| CN107526525A (en) | Screen capture method, device, mobile terminal and computer-readable storage medium | |
| WO2019233307A1 (en) | User interface display method and apparatus, and terminal and storage medium | |
| WO2020156199A1 (en) | Application login method and device, terminal and storage medium |
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 | ||
| CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |