CN110012150A - A kind of message display method and terminal device - Google Patents
A kind of message display method and terminal device Download PDFInfo
- Publication number
- CN110012150A CN110012150A CN201910127550.2A CN201910127550A CN110012150A CN 110012150 A CN110012150 A CN 110012150A CN 201910127550 A CN201910127550 A CN 201910127550A CN 110012150 A CN110012150 A CN 110012150A
- Authority
- CN
- China
- Prior art keywords
- short message
- terminal device
- information
- content
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0277—Online advertisement
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0631—Recommending goods or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Signal Processing (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明实施例提供了一种消息显示方法及终端设备,涉及通信技术领域,以解决用户和短信之间的动态交互效果较差的问题。该方法包括:接收第一短消息,该第一短消息中包括第一内容;并在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为该第一短消息,该第二短消息为终端设备中存储的短消息,该第一短消息和该第二短消息为同一目标平台发送的短消息。该方法可以应用于终端设备显示短信的场景中。
Embodiments of the present invention provide a message display method and a terminal device, which relate to the field of communication technologies, so as to solve the problem of poor dynamic interaction effect between users and short messages. The method includes: receiving a first short message, where the first short message includes first content; and a degree of matching between the first content and the second content in the second short message is greater than or equal to a preset matching degree threshold In this case, replace the second short message with the first short message, the second short message is the short message stored in the terminal device, and the first short message and the second short message are short messages sent by the same target platform information. The method can be applied to a scenario where a terminal device displays a short message.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种消息显示方法及终端设备。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a message display method and a terminal device.
背景技术Background technique
随着终端设备的应用范围越来越广,用户对终端设备的操作灵活性的需求日益提升。As the application range of terminal devices becomes wider and wider, users' demands for operational flexibility of the terminal devices are increasing day by day.
目前,终端设备可以通过终端设备的短信模块接收不同商家推送的各类短信(例如:商品促销信息、商品物流信息、费用缴纳信息等),并将这类短信展示给用户,以便用户浏览。At present, the terminal device can receive various types of short messages (for example, product promotion information, product logistics information, fee payment information, etc.) pushed by different merchants through the short message module of the terminal device, and display such short messages to the user for the user to browse.
然而,从用户角度来讲,对于某些短信,用户可能需要获知短信中的某方面信息的实时变化,目前这种需求无法得到满足。因此,上述短信显示方法存在用户和短信之间的动态交互效果较差的问题。However, from the user's point of view, for some short messages, the user may need to know the real-time change of a certain aspect of the information in the short message, which cannot be satisfied at present. Therefore, the above-mentioned short message display method has the problem that the dynamic interaction effect between the user and the short message is poor.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种消息显示方法及终端设备,以解决用户和短信之间的动态交互效果较差的问题。Embodiments of the present invention provide a message display method and a terminal device to solve the problem of poor dynamic interaction effect between users and short messages.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,本发明实施例提供了一种消息显示方法,应用于终端设备,该方法包括:接收第一短消息,该第一短消息中包括第一内容;并在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为该第一短消息,该第二短消息为终端设备中存储的短消息,该第一短消息和该第二短消息为同一目标平台发送的短消息。In a first aspect, an embodiment of the present invention provides a method for displaying a message, which is applied to a terminal device. The method includes: receiving a first short message, where the first short message includes first content; When the matching degree between the second contents in the two short messages is greater than or equal to the preset matching degree threshold, the second short message is replaced with the first short message, and the second short message is stored in the terminal device Short message, the first short message and the second short message are short messages sent by the same target platform.
第二方面,本发明实施例提供了一种终端设备,该终端设备包括接收模块和处理模块。接收模块用于接收第一短消息,该第一短消息中包括第一内容。处理模块用于在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为接收模块接收的该第一短消息,该第二短消息为终端设备中存储的短消息,该第一短消息和该第二短消息为同一目标平台发送的短消息。In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes a receiving module and a processing module. The receiving module is configured to receive a first short message, where the first short message includes the first content. The processing module is configured to replace the second short message with the first content received by the receiving module when the matching degree between the first content and the second content in the second short message is greater than or equal to a preset matching degree threshold. A short message, the second short message is a short message stored in the terminal device, and the first short message and the second short message are short messages sent by the same target platform.
第三方面,本发明实施例提供了一种终端设备,该终端设备包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述第一方面中的消息显示方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal device, the terminal device includes a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to implement the above-mentioned first The steps of a message display method in an aspect.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面中的消息显示方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the steps of the message display method in the first aspect.
在本发明实施例中,可以接收第一短消息(该第一短消息中包括第一内容),并在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为该第一短消息(该第二短消息为终端设备中存储的短消息,第一短消息和第二短消息为同一目标平台发送的短消息)。通过该方案,在接收到与终端设备中存储的短消息内容相似的短消息时,可以通过单条短消息的形式,实时更新显示由同一目标平台发送的内容相关的信息(例如数量信息、时间信息等),更便于用户快速浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。In this embodiment of the present invention, a first short message may be received (the first short message includes the first content), and the degree of matching between the first content and the second content in the second short message is greater than or equal to In the case of a preset matching degree threshold, the second short message is replaced with the first short message (the second short message is the short message stored in the terminal device, and the first short message and the second short message are the same target platform. message sent). Through this solution, when receiving a short message similar to the content of the short message stored in the terminal device, the information related to the content sent by the same target platform (such as quantity information, time information can be updated and displayed in real time in the form of a single short message) etc.), it is more convenient for the user to quickly browse the information updated in real time, so that the dynamic interaction effect between the user and the short message can be improved.
附图说明Description of drawings
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;1 is a schematic diagram of the architecture of a possible Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的消息显示方法的示意图之一;FIG. 2 is one of schematic diagrams of a message display method provided by an embodiment of the present invention;
图3为本发明实施例提供的消息显示方法的示意图之二;3 is a second schematic diagram of a message display method provided by an embodiment of the present invention;
图4为本发明实施例提供的消息显示方法应用的界面示意图之一;FIG. 4 is one of interface schematic diagrams of the application of the message display method provided by the embodiment of the present invention;
图5为本发明实施例提供的消息显示方法应用的界面示意图之二;FIG. 5 is the second schematic diagram of the interface of the application of the message display method provided by the embodiment of the present invention;
图6为本发明实施例提供的消息显示方法的示意图之三;FIG. 6 is a third schematic diagram of a message display method provided by an embodiment of the present invention;
图7为本发明实施例提供的消息显示方法的示意图之四;FIG. 7 is a fourth schematic diagram of a message display method provided by an embodiment of the present invention;
图8为本发明实施例提供的消息显示方法的示意图之五;FIG. 8 is a fifth schematic diagram of a message display method provided by an embodiment of the present invention;
图9为本发明实施例提供的消息显示方法的示意图之六;9 is a sixth schematic diagram of a message display method provided by an embodiment of the present invention;
图10为本发明实施例提供的终端设备的结构示意图之一;10 is one of schematic structural diagrams of a terminal device provided by an embodiment of the present invention;
图11为本发明实施例提供的终端设备的结构示意图之二;FIG. 11 is a second schematic structural diagram of a terminal device provided by an embodiment of the present invention;
图12为本发明实施例提供的终端设备的结构示意图之三;12 is a third schematic structural diagram of a terminal device provided by an embodiment of the present invention;
图13为本发明实施例提供的终端设备的硬件示意图。FIG. 13 is a schematic diagram of hardware of a terminal device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this paper is an association relationship that describes an associated object, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone these three situations. The symbol "/" in this document indicates the relationship in which the associated object is or, for example, A/B indicates A or B.
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一短消息和第二短消息等是用于区别不同的短消息,而不是用于描述短消息的特定顺序。The terms "first" and "second" and the like in the description and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first short message and the second short message are used to distinguish different short messages, rather than to describe a specific sequence of the short messages.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等。In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "plurality" refers to two or more, for example, a plurality of processing units refers to two or more processing units and the like.
本发明实施例提供一种消息显示方法及终端设备,可以接收第一短消息(该第一短消息中包括第一内容),并在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为该第一短消息(该第二短消息为终端设备中存储的短消息,第一短消息和第二短消息为同一目标平台发送的短消息)。通过该方案,在接收到与终端设备中存储的短消息内容相似的短消息时,可以通过单条短消息的形式,实时更新显示由同一目标平台发送的内容相关的信息(例如数量信息、时间信息等),更便于用户快速浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。Embodiments of the present invention provide a message display method and a terminal device, which can receive a first short message (the first short message includes a first content), and display a difference between the first content and the second content in the second short message. When the matching degree between the two is greater than or equal to the preset matching degree threshold, replace the second short message with the first short message (the second short message is the short message stored in the terminal device, the first short message and the first short message are The second short message is the short message sent by the same target platform). Through this solution, when receiving a short message similar to the content of the short message stored in the terminal device, the information related to the content sent by the same target platform (such as quantity information, time information can be updated and displayed in real time in the form of a single short message) etc.), it is more convenient for the user to quickly browse the information updated in real time, so that the dynamic interaction effect between the user and the short message can be improved.
本发明实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍一下本发明实施例提供的消息显示方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the message display method provided by the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的消息显示方法的软件程序,从而使得该消息显示方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的消息显示方法。Taking the Android operating system as an example, in this embodiment of the present invention, a developer can develop a software program for implementing the message display method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The display method may run based on the Android operating system as shown in FIG. 1 . That is, the processor or the terminal device can implement the message display method provided by the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的终端设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The terminal device in this embodiment of the present invention may be a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA). ), etc., the non-mobile terminal may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
本发明实施例提供的消息显示方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该消息显示方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以终端设备为例,对本发明实施例提供的消息显示方法进行示例性的说明。The execution subject of the message display method provided by the embodiment of the present invention may be the above-mentioned terminal device, or may be a functional module and/or functional entity in the terminal device capable of implementing the message display method. The embodiments of the present invention are not limited. The following takes a terminal device as an example to illustrate the message display method provided by the embodiment of the present invention.
如图2所示,本发明实施例提供一种消息显示方法,该消息显示方法可以包括下述的S200-S202。As shown in FIG. 2, an embodiment of the present invention provides a message display method, and the message display method may include the following S200-S202.
S200、终端设备接收第一短消息,该第一短消息中包括第一内容。S200. The terminal device receives a first short message, where the first short message includes the first content.
本发明实施例中,如果某一平台向终端设备发送第一短消息,那么终端设备可以接收该第一短消息,该第一短消息中可以包括平台向用户推送的各种内容。In this embodiment of the present invention, if a platform sends a first short message to a terminal device, the terminal device may receive the first short message, and the first short message may include various contents pushed by the platform to the user.
示例性的,本发明实施例中,上述第一内容可以包括商品促销信息、商品物流信息、费用(例如通讯费、停车费、会员费等)缴纳信息、排队叫号信息等信息,具体可以根据实际使用需求确定,本发明实施例不作限定。Exemplarily, in this embodiment of the present invention, the above-mentioned first content may include information such as commodity promotion information, commodity logistics information, payment information of fees (such as communication fees, parking fees, membership fees, etc.), queuing information, etc. The actual use requirement is determined, which is not limited in the embodiment of the present invention.
可选的,本发明实施例中,上述第一短消息可以为包含文本等的短信,也可以为包含文本和/或图片等的彩信,还可以为包含音频和/或视频等的短消息,或者其它任意可能的信息,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned first short message may be a short message including text, etc., or a multimedia message including text and/or pictures, or a short message including audio and/or video, etc., Or any other possible information, which can be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
本发明实施例中,终端设备可以通过短信模块接收第一短消息,并存储第一短消息。进而,用户可以在短信应用中查看该第一短消息中的内容。In this embodiment of the present invention, the terminal device may receive the first short message through the short message module, and store the first short message. Further, the user can view the content of the first short message in the short message application.
S201、终端设备判断第一内容与第二短消息中的第二内容之间的匹配度是否大于或等于预设匹配度阈值。S201. The terminal device determines whether the matching degree between the first content and the second content in the second short message is greater than or equal to a preset matching degree threshold.
本发明实施例中,该第二短消息为终端设备中存储的短消息,该第一短消息和该第二短消息为同一目标平台发送的短消息。可以理解,第二短消息是终端设备在从目标平台接收第一短消息之前,从该目标平台再次接收并存储的短消息。In the embodiment of the present invention, the second short message is a short message stored in the terminal device, and the first short message and the second short message are short messages sent by the same target platform. It can be understood that the second short message is a short message that the terminal device receives and stores again from the target platform before receiving the first short message from the target platform.
本发明实施例中,上述目标平台可以为商家平台服务器或企业平台服务器,或者其它任意可能的服务器,具体可以根据实际使用需求确定,本发明实施例不作限定。In this embodiment of the present invention, the above-mentioned target platform may be a merchant platform server or an enterprise platform server, or any other possible server, which may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
本发明实施例中,上述目标平台可以实时向终端设备发送短消息(例如关于同一商品促销的短消息),也可以根据实际使用需求,每隔一段时间向终端设备发送短消息,具体可以根据实际使用需求确定,本发明实施例不作限定。In the embodiment of the present invention, the above-mentioned target platform may send short messages (for example, a short message about the promotion of the same product) to the terminal device in real time, or may send short messages to the terminal device at regular intervals according to actual usage requirements. The usage requirement is determined, which is not limited in the embodiment of the present invention.
本发明实施例中,终端设备在接收到第一短消息后,可以计算该第一短消息中的第一内容与终端设备中存储的第二短消息中的第二内容之间的匹配度(或者相似度),并将计算得到的匹配度与预设匹配度阈值进行比较,以判断计算得到的匹配度是否大于或等于预设匹配度阈值。In this embodiment of the present invention, after receiving the first short message, the terminal device may calculate the degree of matching between the first content in the first short message and the second content in the second short message stored in the terminal device ( or similarity), and compare the calculated matching degree with the preset matching degree threshold to determine whether the calculated matching degree is greater than or equal to the preset matching degree threshold.
本发明实施例中,若终端设备确定第一内容与第二内容之间的匹配度大于或等于预设匹配度阈值,则可以确定第一内容与第二内容非常相似,从而可以确定将第二内容替换或更新为第一内容,因而终端设备可以继续执行下述的S202。若终端设备确定第一内容与第二短消息中的第二内容之间的匹配度小于预设匹配度阈值,则终端设备可以按照常规的消息显示步骤执行(例如终端设备存储并显示该第一短消息)。对于常规的消息显示步骤的描述具体可以参见现有技术中的消息显示方法的相关步骤,此处不予赘述。In this embodiment of the present invention, if the terminal device determines that the matching degree between the first content and the second content is greater than or equal to a preset matching degree threshold, it can determine that the first content and the second content are very similar, so that the second content can be determined to be very similar to the second content. The content is replaced or updated with the first content, so the terminal device can continue to perform the following S202. If the terminal device determines that the matching degree between the first content and the second content in the second short message is less than the preset matching degree threshold, the terminal device may perform the conventional message display steps (for example, the terminal device stores and displays the first short message). For the description of the conventional message display steps, reference may be made to the relevant steps of the message display method in the prior art, which will not be repeated here.
可选的,本发明实施例中,上述预设匹配度阈值可以按照百分比表示,也可以按照分数表示,还可以按照其它可能的形式表示,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned preset matching degree threshold may be expressed as a percentage, may also be expressed as a score, or may be expressed in other possible forms, and may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention. .
示例性的,以预设匹配度阈值可以按照百分比表示为例,上述预设匹配度阈值可以为90%,也可以为95%,还可以为98%,或者其它任意可能的数值。具体的,预设匹配度阈值的取值可以根据实际使用需求确定,本发明实施例不作限定。Exemplarily, taking the preset matching degree threshold as an example, the preset matching degree threshold may be 90%, 95%, 98%, or any other possible value. Specifically, the value of the preset matching degree threshold may be determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
S202、终端设备将第二短消息替换为第一短消息。S202. The terminal device replaces the second short message with the first short message.
本发明实施例中,终端设备在确定第一短消息中的第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将第二短消息替换或更新为第一短消息。In this embodiment of the present invention, in the case that the terminal device determines that the degree of matching between the first content in the first short message and the second content in the second short message is greater than or equal to a preset matching degree threshold, the second short message The message is replaced or updated with the first short message.
可选的,结合图2,如图3所示,上述的S202具体可以通过下述的S202a和S202b实现。Optionally, with reference to FIG. 2 , as shown in FIG. 3 , the above-mentioned S202 can be specifically implemented by the following S202a and S202b.
S202a、终端设备从终端设备中删除第二短消息。S202a, the terminal device deletes the second short message from the terminal device.
S202b、终端设备将第一短消息存储到终端设备中。S202b, the terminal device stores the first short message in the terminal device.
本发明实施例中,终端设备删除已存储的第二短消息,并存储最新接收到的第一短消息,实现基于单条短消息的内容实时更新,从而使得用户可以实时获知用户关注信息的实时变化。一方面,这样可以避免终端设备存储多条内容基本相同的短消息,不会占用终端设备的内存空间;另一方面,这样仅保留多条内容基本相同的短消息中最新接收到的一条短消息,查看起来直观且快捷。如此,本发明实施例可以在不占用终端设备的内存空间的基础下,使得用户直观快捷地浏览实时更新的单条短消息,从而可以提高用户和短信的动态交互效果。In the embodiment of the present invention, the terminal device deletes the stored second short message, and stores the newly received first short message, so as to realize the real-time update of the content based on a single short message, so that the user can know the real-time change of the user's attention information in real time. . On the one hand, this can prevent the terminal device from storing multiple short messages with basically the same content and will not occupy the memory space of the terminal device; on the other hand, only the latest received short message among the multiple short messages with basically the same content is retained , which is intuitive and quick to view. In this way, the embodiments of the present invention can enable the user to browse a single short message updated in real time intuitively and quickly without occupying the memory space of the terminal device, thereby improving the dynamic interaction effect between the user and the short message.
需要说明的是,本发明实施例可以不限定S202a和S202b的执行顺序。即本发明实施例可以先执行S202a,后执行S202b;也可以先执行S202b,后执行S202a;还可以同时执行S202a和S202b。可以理解,上述图3是以先执行S202a后执行S202b为例示意的。It should be noted that, the embodiment of the present invention may not limit the execution order of S202a and S202b. That is, in this embodiment of the present invention, S202a may be executed first, and then S202b may be executed; or S202b may be executed first, and then S202a may be executed; or S202a and S202b may be executed simultaneously. It can be understood that the above-mentioned FIG. 3 is illustrated by taking S202a first and then executing S202b as an example.
下面通过下述的应用场景一和应用场景二,示例性的描述本发明实施例提供的消息显示方法的具体实现方式。The following application scenario 1 and application scenario 2 exemplarily describe the specific implementation of the message display method provided by the embodiment of the present invention.
应用场景一:电商类限量优惠活动Application Scenario 1: E-commerce Limited Offers
如图4所示,第一短消息为“购物平台1”(即目标平台)推送的有关商品限量促销的消息。在图4中,第一短消息中告知用户该商品正在限量促销,并且商品数量41会随着用户的抢购而实时递减,请抓紧时间购买。从而用户可以根据实际使用需求,选择是否购买该商品,如此本发明实施例可以通过单条短消息的形式,实时更新显示由“购物平台1”发送的内容相关的信息(例如有关商品限量促销的消息),更便于用户快速浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。As shown in FIG. 4 , the first short message is a message about limited promotion of commodities pushed by "shopping platform 1" (ie, the target platform). In FIG. 4 , the first short message informs the user that the commodity is being sold in limited quantities, and the commodity quantity 41 will decrease in real time as the user snaps up, please hurry up and buy it. Therefore, the user can choose whether to purchase the product according to the actual use requirements. In this way, the embodiment of the present invention can update and display the content-related information sent by the "shopping platform 1" in real time in the form of a single short message (for example, a message about limited product promotions). ), which is more convenient for users to quickly browse the information updated in real time, thereby improving the dynamic interaction effect between users and short messages.
应用场景二:到期提醒Application Scenario 2: Expiration Reminder
如图5所示,第一短消息为“交易平台1”(即目标平台)推送的有关车位租用到期提醒的消息。在图5中,第一短消息中告知用户车位租用到期时间,并且到期时间51会随着时间的推移而实时递减,请及时续费。从而用户可以根据实际使用需求,选择是否续费,如此本发明实施例可以通过单条短消息的形式,实时更新显示由“交易平台1”发送的内容相关的信息(例如有关车位租用到期提醒的消息),更便于用户快速浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。As shown in FIG. 5 , the first short message is a message about the parking space rental expiration reminder pushed by the “trading platform 1” (ie, the target platform). In FIG. 5 , the first short message informs the user of the expiration time of the parking space lease, and the expiration time 51 will decrease in real time with the passage of time, please renew in time. Therefore, the user can choose whether to renew the fee according to the actual usage requirements. In this way, the embodiment of the present invention can update and display the content-related information sent by the "trading platform 1" in real time in the form of a single short message (for example, a message about the parking space rental expiration reminder message). ), which is more convenient for users to quickly browse the information updated in real time, thereby improving the dynamic interaction effect between users and short messages.
本发明实施例提供的消息显示方法,可以接收第一短消息(该第一短消息中包括第一内容),并在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为该第一短消息(该第二短消息为终端设备中存储的短消息,第一短消息和第二短消息为同一目标平台发送的短消息)。通过该方案,在接收到与终端设备中存储的短消息内容相似的短消息时,可以通过单条短消息的形式,实时更新显示由同一目标平台发送的内容相关的信息(例如数量信息、时间信息等),更便于用户快速浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。The message display method provided by the embodiment of the present invention can receive the first short message (the first short message includes the first content), and determine the degree of matching between the first content and the second content in the second short message In the case of greater than or equal to the preset matching degree threshold, replace the second short message with the first short message (the second short message is the short message stored in the terminal device, and the first short message and the second short message are short messages sent by the same target platform). Through this solution, when receiving a short message similar to the content of the short message stored in the terminal device, the information related to the content sent by the same target platform (such as quantity information, time information can be updated and displayed in real time in the form of a single short message) etc.), it is more convenient for the user to quickly browse the information updated in real time, so that the dynamic interaction effect between the user and the short message can be improved.
可选的,上述第一短消息中还可以包括第一标识,该第一标识用于标识上述目标平台。结合图2,如图6所示,在上述的S200之后,上述的S201之前,本发明实施例提供的消息显示方法还可以包括下述的S203和S204。Optionally, the above-mentioned first short message may further include a first identifier, where the first identifier is used to identify the above-mentioned target platform. With reference to FIG. 2 , as shown in FIG. 6 , after the above-mentioned S200 and before the above-mentioned S201 , the message display method provided by the embodiment of the present invention may further include the following S203 and S204 .
S203、终端设备确定第一标识是否为预设标识。S203. The terminal device determines whether the first identifier is a preset identifier.
本发明实施例中,终端设备在接收到第一短消息之后,提取该第一短消息中的第一标识,并将该第一标识与预设标识进行比较,以判断第一标识是否为预设标识。In this embodiment of the present invention, after receiving the first short message, the terminal device extracts the first identifier in the first short message, and compares the first identifier with the preset identifier to determine whether the first identifier is the preset identifier. Set identification.
本发明实施例中,终端设备中可以预先存储上述预设标识,该预设标识是终端设备的厂商和目标平台预先协商确定的,该预设标识可以用于唯一地标识目标平台。In this embodiment of the present invention, the above-mentioned preset identifier may be pre-stored in the terminal device, where the preset identifier is determined in advance through negotiation between the manufacturer of the terminal device and the target platform, and the preset identifier may be used to uniquely identify the target platform.
此外,终端设备的厂商和目标平台还可以预先协商确定用于实时交互短消息的应用程序接口(Application Program Interface,API)。终端设备可以通过判断第一标识是否为预设标识,验证发送短消息的目标平台的身份(即验证目标平台是否合法),并在身份验证成功之后,终端设备与目标平台通过应用程序接口建立连接。In addition, the manufacturer of the terminal device and the target platform may also pre-negotiate to determine an application program interface (Application Program Interface, API) for real-time exchange of short messages. The terminal device can verify the identity of the target platform that sends the short message by judging whether the first identifier is a preset identifier (that is, verifying whether the target platform is legal), and after the authentication is successful, the terminal device and the target platform establish a connection through the application program interface. .
可选的,本发明实施例中,上述终端设备可以通过传输控制协议(TransmissionControl Protocol,TCP)与目标平台(即平台服务器)建立连接(例如实时通道),这种连接表现为实时连接,因此可以称为长连接。因此,目标平台可以实时向终端设备发送短消息,相应地,终端设备可以实时地接收目标平台发送的短消息,以便实现单条短消息的实时更新。Optionally, in this embodiment of the present invention, the above-mentioned terminal device may establish a connection (for example, a real-time channel) with the target platform (that is, the platform server) through a Transmission Control Protocol (Transmission Control Protocol, TCP). called a long connection. Therefore, the target platform can send the short message to the terminal device in real time, and accordingly, the terminal device can receive the short message sent by the target platform in real time, so as to realize the real-time update of a single short message.
可选的,本发明实施例中,上述终端设备可以通过超文本传输协议(HyperTextTransfer Protocol,HTTP)或者安全的超文本传输协议(Hyper Text Transfer Protocolover Secure Socket Layer,HTTPS)与目标平台建立连接,这种连接表现为定时拉取,因此可以称为短连接。Optionally, in this embodiment of the present invention, the above-mentioned terminal device may establish a connection with the target platform through a hypertext transfer protocol (HyperTextTransfer Protocol, HTTP) or a secure hypertext transfer protocol (Hyper Text Transfer Protocol over Secure Socket Layer, HTTPS). This type of connection behaves as a timed pull, so it can be called a short connection.
本发明实施例中,若终端设备确定第一标识是预设标识,则终端设备确定发送该第一短消息的目标平台是合法的,则终端设备可以继续执行下述的S204。若终端设备确定第一标识不是预设标识,则终端设备可以按照常规的消息显示步骤执行(例如终端设备存储并显示该第一短消息)。In this embodiment of the present invention, if the terminal device determines that the first identifier is a preset identifier, the terminal device determines that the target platform for sending the first short message is legitimate, and the terminal device may continue to perform the following S204. If the terminal device determines that the first identifier is not the preset identifier, the terminal device may perform the conventional message display steps (for example, the terminal device stores and displays the first short message).
S204、终端设备确定第一内容与终端设备中存储的短消息中的内容的匹配度。S204. The terminal device determines the degree of matching between the first content and the content in the short message stored in the terminal device.
本发明实施例中,终端设备在确定第一标识为预设标识以后,可以将第一内容与终端设备中存储的短消息中的内容进行比较,并计算第一内容与终端设备中存储的短消息中的内容的匹配度,可以得到多个匹配度。进而,终端将计算得到的多个匹配度中的最大匹配度与预设匹配度阈值进行比较,若最大匹配度大于或等于预设匹配度阈值,则终端设备可以将终端设备中具有最大匹配度的短消息(即上述第二短消息)替换为第一短消息。In this embodiment of the present invention, after determining that the first identifier is the preset identifier, the terminal device may compare the first content with the content in the short message stored in the terminal device, and calculate the first content and the short message stored in the terminal device. The matching degree of the content in the message can be obtained by multiple matching degrees. Further, the terminal compares the maximum matching degree among the calculated matching degrees with the preset matching degree threshold, and if the maximum matching degree is greater than or equal to the preset matching degree threshold, the terminal device can classify the maximum matching degree in the terminal device with the maximum matching degree threshold. The short message (that is, the above-mentioned second short message) is replaced with the first short message.
下面结合图7示例性的说明终端设备和目标平台之间交互的过程。The interaction process between the terminal device and the target platform is exemplarily described below with reference to FIG. 7 .
S300、终端设备(即终端设备的厂商)与目标平台协商确定目标平台的第一标识和用于短消息实时交互的(API)。S300, the terminal device (ie, the manufacturer of the terminal device) negotiates with the target platform to determine the first identifier of the target platform and the (API) used for real-time interaction of short messages.
S301、目标平台确定目标对象(即目标用户群体)。S301. The target platform determines a target object (ie, a target user group).
S302、目标平台向目标用户群体持有的终端设备发送或推送短消息。其中,目标平台在推送的短消息内容中添加该目标平台的第一标识和终端设备需要回调的API。S302. The target platform sends or pushes a short message to terminal devices held by the target user group. The target platform adds the first identifier of the target platform and the API that the terminal device needs to call back in the pushed short message content.
S303、终端设备接收目标平台发送的短消息。S303, the terminal device receives the short message sent by the target platform.
S304、终端设备通过识别短消息中携带的标识,对推送该短消息的目标平台进行身份验证。S304, the terminal device performs identity verification on the target platform that pushes the short message by identifying the identifier carried in the short message.
S305、在身份验证成功之后,终端设备和目标平台建立连接(例如实时通道),用于实现单条短消息的实时更新。S305. After the authentication is successful, the terminal device and the target platform establish a connection (for example, a real-time channel) for realizing real-time update of a single short message.
S306、目标平台实时确定用于实时更新的短消息。S306, the target platform determines the short message for real-time update in real time.
S307、目标平台通过实时通道向终端设备发送用于更新的短消息,以便实现短消息的实时更新。S307 , the target platform sends a short message for updating to the terminal device through a real-time channel, so as to realize real-time updating of the short message.
S308、终端设备实时更新短消息,从而实现终端设备与目标平台的实时交互。S308, the terminal device updates the short message in real time, thereby realizing real-time interaction between the terminal device and the target platform.
另外,用户可以对短消息进行回复或抢购等操作,进行实时响应。In addition, users can reply to short messages or snap up and respond in real time.
本发明实施例中,终端设备可以在接收到短消息之后,验证发送短消息的目标平台的身份,然后在身份验证成功之后,确定短消息中的内容与终端设备中存储的短消息中的内容的匹配度,如此可以提升终端设备从目标平台接收短消息的合法性和有效性。并且,短消息不仅仅支持显示静态文本和动态富媒体,也可以支持终端设备与目标平台之间的动态交互。In this embodiment of the present invention, after receiving the short message, the terminal device may verify the identity of the target platform that sends the short message, and then, after the identity verification is successful, determine the content in the short message and the content in the short message stored in the terminal device In this way, the legitimacy and validity of the short message received by the terminal device from the target platform can be improved. Moreover, the short message not only supports the display of static text and dynamic rich media, but also supports the dynamic interaction between the terminal device and the target platform.
可选的,结合图2,如图8所示,在上述的S202之后,本发明实施例提供的消息显示方法还可以包括下述的S205和S206。Optionally, with reference to FIG. 2 , as shown in FIG. 8 , after the foregoing S202 , the message display method provided by the embodiment of the present invention may further include the following S205 and S206 .
S205、终端设备接收用户对第一短消息的第一输入。S205. The terminal device receives the first input of the first short message by the user.
其中,该第一输入用于触发显示第一短消息中的第一内容。The first input is used to trigger the display of the first content in the first short message.
本发明实施例中,在终端设备将存储的第二短消息替换为第一短消息之后,用户可以对终端设备中存储的第一短消息输入,以触发终端设备显示第一短消息中的内容。In this embodiment of the present invention, after the terminal device replaces the stored second short message with the first short message, the user can input the first short message stored in the terminal device to trigger the terminal device to display the content in the first short message .
S206、终端设备响应于第一输入,显示第一内容,该第一内容中的目标信息突出显示。S206. The terminal device displays the first content in response to the first input, and the target information in the first content is highlighted.
其中,该目标信息可以包括时间信息、地点信息、数量信息、金额信息、平台标识信息中的至少一项。这些信息可以理解为使得用户能够直观且容易看到的信息,因此可以称为重要信息。可以理解,上述目标信息均是示例性的列举,即本发明实施例包括但不限于上述列举的目标信息。实际实现时,上述目标信息还可以包括其它任意可能的目标信息,具体可以根据实际使用需求确定,本发明实施例不作限定。The target information may include at least one item of time information, location information, quantity information, amount information, and platform identification information. Such information can be understood as information that can be seen intuitively and easily by the user, so it can be called important information. It can be understood that the above target information is an example enumeration, that is, the embodiment of the present invention includes but is not limited to the above enumerated target information. In actual implementation, the above target information may also include any other possible target information, which may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
可选的,本发明实施例中,上述突出显示的方式可以为高亮显示方式,也可以为添加下划线方式,还可以为放大显示方式,或者可以为其它任意可能的显示方式,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned highlighting manner may be a highlighting manner, an underline manner, an enlarged display manner, or any other possible display manner, and the specific manner may be based on actual conditions. The usage requirement is determined, which is not limited in the embodiment of the present invention.
示例性的,返回参考图4,假设短消息为有关商品限量促销的消息,那么该短消息中的目标信息可以为商品的数量信息,即商品数量。其中,商品的数量信息41可以放大突出显示并且实时递减,以提示用户该商品正在限量促销,请抓紧时间购买。从而用户可以根据实际使用需求,选择是否购买该商品,如此更便于用户重点浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。Exemplarily, referring back to FIG. 4 , assuming that the short message is a message about limited quantity promotion of commodities, the target information in the short message may be the quantity information of commodities, that is, the quantity of commodities. Among them, the quantity information 41 of the commodity can be enlarged and highlighted and decremented in real time, so as to remind the user that the commodity is being sold in limited quantities, please hurry up and buy it. Therefore, the user can choose whether to purchase the product according to the actual use requirement, which makes it easier for the user to focus on browsing the information updated in real time, thereby improving the dynamic interaction effect between the user and the short message.
又示例性的,返回参考图5,假设短消息为有关车位租用到期提醒的消息,那么该短消息中的目标信息可以为时间信息51,即到期时间。其中,时间信息51可以放大突出显示并且实时递减,以提示用户车位租用月卡即将到期,请及时续费。从而用户可以根据实际使用需求,选择是否续费,如此更便于用户重点浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。For another example, referring back to FIG. 5 , assuming that the short message is a message about a parking space rental expiration reminder, the target information in the short message may be time information 51 , that is, the expiration time. Among them, the time information 51 can be enlarged and highlighted and decremented in real time to remind the user that the monthly parking space rental card is about to expire, please renew the fee in time. Therefore, the user can choose whether to renew or not according to the actual usage requirements, which makes it easier for the user to focus on browsing the information updated in real time, thereby improving the dynamic interaction effect between the user and the short message.
本发明实施例中,终端设备可以响应于用户对第一短消息的输入,显示第一短消息中的第一内容,并且,第一内容中的重要信息以突出显示的方式呈现给用户,如此可以使得用户可以直观且容易地查看第一内容以及其中的重要信息,从而本发明实施例可以通过单条短消息的形式,实时更新显示由同一目标平台发送的内容相关的信息,更便于用户快速且重点浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。In this embodiment of the present invention, the terminal device may display the first content in the first short message in response to the user's input of the first short message, and the important information in the first content is presented to the user in a highlighted manner, so that This enables the user to view the first content and the important information therein intuitively and easily, so that the embodiment of the present invention can update and display the content-related information sent by the same target platform in real time in the form of a single short message, which is more convenient for the user to quickly and efficiently. Focus on browsing the information updated in real time, so as to improve the dynamic interaction effect between users and SMS.
可选的,上述第一内容中可以包括目标控件,该目标控件用于指示与目标平台对应的应用程序。结合图8,如图9所示,在上述的S206之后,本发明实施例提供的消息显示方法还包括下述的S207和S208。Optionally, the above-mentioned first content may include a target control, where the target control is used to indicate an application program corresponding to the target platform. With reference to FIG. 8 , as shown in FIG. 9 , after the above-mentioned S206 , the message display method provided by the embodiment of the present invention further includes the following S207 and S208 .
S207、终端设备接收用户对第一内容中的目标控件的第二输入。S207. The terminal device receives a second input from the user to the target control in the first content.
本发明实施例中,在终端设备显示第一内容之后,用户可以对第一内容中的目标控件输入,以触发终端设备运行与目标平台对应的应用程序并显示该应用程序的界面。In this embodiment of the present invention, after the terminal device displays the first content, the user can input a target control in the first content to trigger the terminal device to run an application program corresponding to the target platform and display the interface of the application program.
S208、终端设备响应于第二输入,显示与目标平台对应的应用程序的界面。S208. The terminal device displays an interface of an application program corresponding to the target platform in response to the second input.
可选的,本发明实施例中,终端设备可以通过分屏方式显示与目标平台对应的应用程序的界面(以下称为目标界面),也可以通过小窗口的方式显示目标界面,还可以将第一内容更新显示为目标界面,或者通过其它任意可能的方式显示目标界面。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the terminal device may display the interface of the application program corresponding to the target platform (hereinafter referred to as the target interface) in a split-screen manner, or may display the target interface in the form of a small window, and may also display the first interface. A content update is displayed as the target interface, or the target interface is displayed in any other possible manner. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
示例性的,如图4所示,假设短消息为来自“购物平台1”(即目标平台)的有关商品限量促销的消息,那么目标控件可以为“立即抢购”控件42。若用户点击“立即抢购”控件42,则终端设备可以响应于该输入,显示与该“购物平台1”对应的应用程序中包含商品限量促销内容和购买选项的界面。从而用户可以根据实际使用需求,选择是否购买该商品,如此更便于用户浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。Exemplarily, as shown in FIG. 4 , assuming that the short message is a message from “shopping platform 1” (ie, the target platform) about limited product promotion, the target control may be the “Buy Now” control 42 . If the user clicks on the "Buy Now" control 42, the terminal device can respond to the input and display an interface containing limited product promotion content and purchase options in the application program corresponding to the "Shopping Platform 1". Therefore, the user can choose whether to purchase the product according to the actual use requirement, which makes it easier for the user to browse the real-time updated information, thereby improving the dynamic interaction effect between the user and the short message.
示例性的,如图5所示,假设短消息为来自“交易平台1”(即目标平台)的有关车位租用到期提醒的消息,那么目标控件可以为“立即缴费”控件和/或“续费记录”控件52。若用户点击“立即缴费”控件52(或者“续费记录”控件),则终端设备可以响应于该输入,显示与该“交易平台1”对应的应用程序中包含缴费选项的界面(或者包含续费记录的界面)。从而用户可以根据实际使用需求,选择是否续费,如此更便于用户浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。Exemplarily, as shown in FIG. 5 , assuming that the short message is a message about the parking space rental expiration reminder from “trading platform 1” (ie, the target platform), the target controls may be the “pay immediately” control and/or the “renew charge” control. Record" control 52. If the user clicks the "Pay Now" control 52 (or the "Renewal Record" control), the terminal device can respond to the input and display an interface containing payment options in the application program corresponding to the "Transaction Platform 1" (or including the renewal record). interface). Therefore, the user can choose whether to renew or not according to the actual usage requirements, which makes it easier for the user to browse the information updated in real time, thereby improving the dynamic interaction effect between the user and the short message.
本发明实施例中,由于接收到的短消息中包括目标控件,终端设备可以响应于用户对目标控件输入,显示目标界面,进而通过目标界面向用户呈现与该短消息相关的更多信息(例如商品促销信息或费用缴纳信息等),如此可以使得用户可以直观且容易地查看第一内容及其相关信息,更便于用户浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。In this embodiment of the present invention, since the received short message includes the target control, the terminal device can respond to the user's input to the target control, display the target interface, and then present more information related to the short message to the user through the target interface (for example, Product promotion information or fee payment information, etc.), so that the user can intuitively and easily view the first content and its related information, it is more convenient for the user to browse the information updated in real time, and the dynamic interaction effect between the user and the short message can be improved.
可选的,本发明实施例中,上述目标信息可以包括时间信息和数量信息中的至少一项,该时间信息和该数量信息中的至少一项可以用于指示上述目标信息的有效性。其中,在该目标信息有效的情况下,该目标控件处于第一显示状态,在该第一显示状态下,终端设备可以响应对该目标控件的输入。在该目标信息无效的情况下,该目标控件处于第二显示状态,在该第二显示状态下,终端设备可以不响应对该目标控件的输入。Optionally, in this embodiment of the present invention, the above target information may include at least one of time information and quantity information, and at least one of the time information and the quantity information may be used to indicate the validity of the above target information. Wherein, when the target information is valid, the target control is in a first display state, and in the first display state, the terminal device can respond to the input of the target control. When the target information is invalid, the target control is in a second display state, and in the second display state, the terminal device may not respond to the input of the target control.
本发明实施例中,上述目标信息的有效性指:在目标信息满足预设条件的情况下,目标信息有效;以及在目标信息不满足预设条件的情况下,目标信息无效。In the embodiment of the present invention, the validity of the target information refers to: when the target information satisfies the preset condition, the target information is valid; and when the target information does not meet the preset condition, the target information is invalid.
例如,若目标信息为时间信息且预设条件为在预设时间段内,则在目标信息指示的时间值在预设时间段内的情况下,该目标信息有效;以及在目标信息指示的时间不在预设时间段内的情况下,该目标信息无效。For example, if the target information is time information and the preset condition is within a preset time period, then if the time value indicated by the target information is within the preset time period, the target information is valid; and at the time indicated by the target information If it is not within the preset time period, the target information is invalid.
再例如,若目标信息为数量信息且预设条件为大于或等于预设数量,则在目标信息指示的数量值大于或等于预设数量的情况下,该目标信息有效;以及在目标信息指示的数量值小于预设数量的情况下,该目标信息无效。For another example, if the target information is quantity information and the preset condition is greater than or equal to the preset quantity, the target information is valid when the quantity value indicated by the target information is greater than or equal to the preset quantity; When the quantity value is less than the preset quantity, the target information is invalid.
示例性的,若目标信息中的数值大于零,则目标信息有效,在此情况下目标控件可以处于高亮显示状态,此时终端设备可以响应用户对该目标控件的输入。若目标信息中的数值为零,则目标信息无效,在此情况下目标控件可以处于置灰显示状态,此时终端设备可以不响应用户对该目标控件的输入。Exemplarily, if the value in the target information is greater than zero, the target information is valid. In this case, the target control can be in a highlighted display state, and the terminal device can respond to the user's input to the target control. If the value in the target information is zero, the target information is invalid. In this case, the target control may be in a grayed-out state, and the terminal device may not respond to the user's input to the target control.
示例性的,假设第一短消息为商品限量抢购短消息且目标信息为商品数量(即数量信息),那么商品数量会随着用户的抢购而实时递减。在商品抢购结束(此时商品数量为0,目标信息无效)的情况下,终端设备可以实时显示库存已空和/或无法抢购,如此可以避免用户的无效操作。Exemplarily, assuming that the first short message is a short message for a limited quantity of commodities and the target information is the quantity of commodities (ie, quantity information), then the quantity of commodities will decrease in real time as the user snaps up. In the case where the commodity rush purchase is over (the number of commodities is 0 and the target information is invalid at this time), the terminal device can display in real time that the inventory is empty and/or cannot be rush-purchased, so as to avoid the user's invalid operation.
如图10所示,本发明实施例提供一种终端设备700,该终端设备700可以包括接收模块701和处理模块702。接收模块701用于接收第一短消息,该第一短消息中包括第一内容。处理模块702用于在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为接收模块701接收的该第一短消息,该第二短消息为终端设备700中存储的短消息,该第一短消息和该第二短消息为同一目标平台发送的短消息。As shown in FIG. 10 , an embodiment of the present invention provides a terminal device 700 , and the terminal device 700 may include a receiving module 701 and a processing module 702 . The receiving module 701 is configured to receive a first short message, where the first short message includes the first content. The processing module 702 is configured to replace the second short message with the one received by the receiving module 701 when the matching degree between the first content and the second content in the second short message is greater than or equal to a preset matching degree threshold. The first short message and the second short message are short messages stored in the terminal device 700 , and the first short message and the second short message are short messages sent by the same target platform.
可选的,本发明实施例中,上述第一短消息中还可以包括第一标识,上述第一标识用于标识该目标平台。结合图10,如图11所示,本发明实施例提供的终端设备700还可以包括确定模块703。确定模块703用于在接收模块701接收第一短消息之后,确定该第一标识是否为预设标识;并在该第一标识为预设标识的情况下,确定第一内容与终端设备700中存储的短消息中的内容的匹配度。Optionally, in this embodiment of the present invention, the first short message may further include a first identifier, where the first identifier is used to identify the target platform. With reference to FIG. 10 , as shown in FIG. 11 , the terminal device 700 provided in this embodiment of the present invention may further include a determination module 703 . The determining module 703 is configured to determine whether the first identification is a preset identification after the receiving module 701 receives the first short message; The matching degree of the content in the stored short message.
可选的,结合图10,如图12所示,本发明实施例提供的终端设备700还可以包括显示模块704。接收模块701还用于在处理模块702将第二短消息替换为第一短消息之后,接收用户对第一短消息的第一输入。显示模块704用于响应于接收模块701接收的第一输入,显示第一内容,其中,该第一内容中的目标信息突出显示,该目标信息包括时间信息、地点信息、数量信息、金额信息、平台标识信息中的至少一项。Optionally, with reference to FIG. 10 , as shown in FIG. 12 , the terminal device 700 provided in this embodiment of the present invention may further include a display module 704 . The receiving module 701 is further configured to receive the first input of the first short message by the user after the processing module 702 replaces the second short message with the first short message. The display module 704 is configured to display the first content in response to the first input received by the receiving module 701, wherein the target information in the first content is highlighted, and the target information includes time information, location information, quantity information, amount information, At least one item of platform identification information.
可选的,本发明实施例中,上述第一内容中可以包括目标控件,该目标控件用于指示与上述目标平台对应的应用程序。接收模块701还用于在显示模块704显示第一内容之后,接收用户对该目标控件的第二输入。显示模块704还用于响应于接收模块701接收的第二输入,显示与该目标平台对应的应用程序的界面。Optionally, in this embodiment of the present invention, the above-mentioned first content may include a target control, where the target control is used to indicate an application program corresponding to the above-mentioned target platform. The receiving module 701 is further configured to receive a second user input to the target control after the display module 704 displays the first content. The display module 704 is further configured to display the interface of the application program corresponding to the target platform in response to the second input received by the receiving module 701 .
可选的,本发明实施例中,上述目标信息可以包括时间信息和数量信息中的至少一项,该时间信息和该数量信息中的至少一项用于指示该目标信息的有效性。在该目标信息有效的情况下,该目标控件处于第一显示状态。在该目标信息无效的情况下,该目标控件处于第二显示状态。其中,在该第一显示状态下,响应对该目标控件的输入;在该第二显示状态下,不响应对该目标控件的输入。Optionally, in this embodiment of the present invention, the above target information may include at least one item of time information and quantity information, where at least one of the time information and the quantity information is used to indicate the validity of the target information. When the target information is valid, the target control is in the first display state. When the target information is invalid, the target control is in the second display state. Wherein, in the first display state, the input of the target control is responded; in the second display state, the input of the target control is not responded.
本发明实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device provided in the embodiments of the present invention can implement each process implemented by the terminal device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
本发明实施例提供的终端设备,可以接收第一短消息(该第一短消息中包括第一内容),并在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为该第一短消息(该第二短消息为终端设备中存储的短消息,第一短消息和第二短消息为同一目标平台发送的短消息)。通过该方案,终端设备在接收到与终端设备中存储的短消息内容相似的短消息时,可以通过单条短消息的形式,实时更新显示由同一目标平台发送的内容相关的信息(例如数量信息、时间信息等),更便于用户快速浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。The terminal device provided in the embodiment of the present invention can receive a first short message (the first short message includes first content), and the matching degree between the first content and the second content in the second short message is greater than or equal to the preset matching degree threshold, replace the second short message with the first short message (the second short message is the short message stored in the terminal device, and the first short message and the second short message are the same short message sent by the target platform). Through this solution, when the terminal device receives a short message with similar content to the short message stored in the terminal device, it can update and display the content-related information sent by the same target platform in real time in the form of a single short message (such as quantity information, Time information, etc.), it is more convenient for the user to quickly browse the information updated in real time, so that the dynamic interaction effect between the user and the short message can be improved.
图13为实现本发明各个实施例的一种终端设备的硬件结构示意图。如图13所示,该终端设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图13中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 13 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention. As shown in FIG. 13 , the terminal device 800 includes but is not limited to: a radio frequency unit 801 , a network module 802 , an audio output unit 803 , an input unit 804 , a sensor 805 , a display unit 806 , a user input unit 807 , an interface unit 808 , and a memory 809 , the processor 810, and the power supply 811 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 13 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than those shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the terminal device includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
其中,射频单元801,用于接收第一短消息,该第一短消息中包括第一内容;处理器810,用于在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为射频单元801接收的该第一短消息,该第二短消息为终端设备中存储的短消息,该第一短消息和该第二短消息为同一目标平台发送的短消息。The radio frequency unit 801 is used for receiving a first short message, the first short message includes first content; the processor 810 is used for matching between the first content and the second content in the second short message When the degree is greater than or equal to the preset matching degree threshold, the second short message is replaced with the first short message received by the radio frequency unit 801, the second short message is the short message stored in the terminal device, and the first short message is The message and the second short message are short messages sent by the same target platform.
本发明实施例提供一种终端设备,该终端设备可以接收第一短消息(该第一短消息中包括第一内容),并在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为该第一短消息(该第二短消息为终端设备中存储的短消息,第一短消息和第二短消息为同一目标平台发送的短消息)。通过该方案,终端设备在接收到与终端设备中存储的短消息内容相似的短消息时,可以通过单条短消息的形式,实时更新显示由同一目标平台发送的内容相关的信息(例如数量信息、时间信息等),更便于用户快速浏览实时更新的信息,从而可以提高用户和短信的动态交互效果。An embodiment of the present invention provides a terminal device. The terminal device can receive a first short message (the first short message includes first content), and communicate between the first content and the second content in the second short message. When the matching degree is greater than or equal to the preset matching degree threshold, replace the second short message with the first short message (the second short message is the short message stored in the terminal device, the first short message and the second short message The short message is the short message sent by the same target platform). Through this solution, when the terminal device receives a short message with similar content to the short message stored in the terminal device, it can update and display the content-related information sent by the same target platform in real time in the form of a single short message (such as quantity information, Time information, etc.), it is more convenient for the user to quickly browse the information updated in real time, so that the dynamic interaction effect between the user and the short message can be improved.
应理解的是,本发明实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 801 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 810; The uplink data is sent to the base station. Generally, the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
终端设备800通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device 800 provides the user with wireless broadband Internet access through the network module 802, such as helping the user to send and receive emails, browse web pages, and access streaming media.
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与终端设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal device 800 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(graphics processing unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。The input unit 804 is used to receive audio or video signals. The input unit 804 may include a graphics processor (graphics processing unit, GPU) 8041 and a microphone 8042. The graphics processor 8041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 806 . The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802 . The microphone 8042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
终端设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在终端设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 8061 and the display panel 8061 when the terminal device 800 moves to the ear. / or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 805 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板8061。The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元807可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 807 can be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the terminal device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072 . The touch panel 8071, also referred to as a touch screen, collects the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 8071). operate). The touch panel 8071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 810, the command sent by the processor 810 is received and executed. In addition, the touch panel 8071 can be realized by various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 8071 , the user input unit 807 may also include other input devices 8072 . Specifically, other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and operation sticks, which will not be repeated here.
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图13中,触控面板8071与显示面板8061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 8071 can be covered on the display panel 8061. When the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event, and then the processor 810 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on the display panel 8061. Although in FIG. 13 , the touch panel 8071 and the display panel 8061 are used as two independent components to realize the input and output functions of the terminal device, but in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated The input and output functions of the terminal device are implemented, which is not specifically limited here.
接口单元808为外部装置与终端设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备800内的一个或多个元件或者可以用于在终端设备800和外部装置之间传输数据。The interface unit 808 is an interface for connecting an external device to the terminal device 800 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 808 may be used to receive input (eg, data information, power, etc.) from external devices and transmit the received input to one or more elements within the terminal device 800 or may be used between the terminal device 800 and external Transfer data between devices.
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 809 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
处理器810是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器810可包括一个或多个处理单元;可选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 is the control center of the terminal device, uses various interfaces and lines to connect various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 809, and calls the data stored in the memory 809. , perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The modulation processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 810.
终端设备800还可以包括给各个部件供电的电源811(比如电池),可选的,电源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 800 may also include a power supply 811 (such as a battery) for supplying power to various components. Optionally, the power supply 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption through the power management system management and other functions.
另外,终端设备800包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 800 includes some unshown functional modules, which will not be repeated here.
可选的,本发明实施例还提供一种终端设备,包括如图13所示的处理器810,存储器809,存储在存储器809上并可在处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述消息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides a terminal device, including a processor 810 as shown in FIG. 13 , a memory 809 , a computer program stored in the memory 809 and executable on the processor 810 , the computer program being When executed by the processor 810, each process of the above-mentioned embodiment of the message display method is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述消息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiment of the message display method is implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例公开的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods disclosed in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910127550.2A CN110012150B (en) | 2019-02-20 | 2019-02-20 | A message display method and terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910127550.2A CN110012150B (en) | 2019-02-20 | 2019-02-20 | A message display method and terminal device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110012150A true CN110012150A (en) | 2019-07-12 |
| CN110012150B CN110012150B (en) | 2021-07-30 |
Family
ID=67165964
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910127550.2A Active CN110012150B (en) | 2019-02-20 | 2019-02-20 | A message display method and terminal device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110012150B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110795310A (en) * | 2019-10-30 | 2020-02-14 | 维沃移动通信有限公司 | Information reminding method and electronic equipment |
| CN112632976A (en) * | 2019-09-20 | 2021-04-09 | 株式会社Ntt都科摩 | Text processing device, method, apparatus, and computer-readable storage medium |
| CN113141296A (en) * | 2021-03-26 | 2021-07-20 | 维沃移动通信有限公司 | Message display method and device and electronic equipment |
| CN114172955A (en) * | 2021-10-29 | 2022-03-11 | 深圳市顺易通信息科技有限公司 | A method and device for reminding the expiry of a monthly card |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102831127A (en) * | 2011-06-17 | 2012-12-19 | 阿里巴巴集团控股有限公司 | Repeated data processing method, device and system |
| CN103106585A (en) * | 2011-11-11 | 2013-05-15 | 阿里巴巴集团控股有限公司 | Real-time duplication eliminating method and device of product information |
| CN105141753A (en) * | 2015-07-27 | 2015-12-09 | 深圳市万普拉斯科技有限公司 | Method and device for processing verification code short-message expiration |
| CN106170004A (en) * | 2016-09-23 | 2016-11-30 | 北京小米移动软件有限公司 | Process the method and device of identifying code |
| CN106528508A (en) * | 2016-10-27 | 2017-03-22 | 乐视控股(北京)有限公司 | Repeated text judgment method and apparatus |
| CN108090082A (en) * | 2016-11-22 | 2018-05-29 | 腾讯科技(北京)有限公司 | Information processing method and information processing unit |
-
2019
- 2019-02-20 CN CN201910127550.2A patent/CN110012150B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102831127A (en) * | 2011-06-17 | 2012-12-19 | 阿里巴巴集团控股有限公司 | Repeated data processing method, device and system |
| CN103106585A (en) * | 2011-11-11 | 2013-05-15 | 阿里巴巴集团控股有限公司 | Real-time duplication eliminating method and device of product information |
| CN105141753A (en) * | 2015-07-27 | 2015-12-09 | 深圳市万普拉斯科技有限公司 | Method and device for processing verification code short-message expiration |
| CN106170004A (en) * | 2016-09-23 | 2016-11-30 | 北京小米移动软件有限公司 | Process the method and device of identifying code |
| CN106528508A (en) * | 2016-10-27 | 2017-03-22 | 乐视控股(北京)有限公司 | Repeated text judgment method and apparatus |
| CN108090082A (en) * | 2016-11-22 | 2018-05-29 | 腾讯科技(北京)有限公司 | Information processing method and information processing unit |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112632976A (en) * | 2019-09-20 | 2021-04-09 | 株式会社Ntt都科摩 | Text processing device, method, apparatus, and computer-readable storage medium |
| CN110795310A (en) * | 2019-10-30 | 2020-02-14 | 维沃移动通信有限公司 | Information reminding method and electronic equipment |
| CN110795310B (en) * | 2019-10-30 | 2024-03-26 | 维沃移动通信有限公司 | Information reminding method and electronic equipment |
| CN113141296A (en) * | 2021-03-26 | 2021-07-20 | 维沃移动通信有限公司 | Message display method and device and electronic equipment |
| CN113141296B (en) * | 2021-03-26 | 2023-06-13 | 维沃移动通信有限公司 | Message display method, device and electronic equipment |
| CN114172955A (en) * | 2021-10-29 | 2022-03-11 | 深圳市顺易通信息科技有限公司 | A method and device for reminding the expiry of a monthly card |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110012150B (en) | 2021-07-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111124221B (en) | File sending method and terminal device | |
| CN110058754A (en) | A kind of option display method and terminal device | |
| CN109240783B (en) | Interface display method and terminal equipment | |
| CN111600931A (en) | Information sharing method and electronic equipment | |
| CN110752981B (en) | Information control method and electronic equipment | |
| CN110012152B (en) | Interface display method and terminal device | |
| CN109358931B (en) | Interface display method and terminal | |
| CN110674662A (en) | Scanning method and terminal equipment | |
| CN109085968B (en) | Screen capturing method and terminal equipment | |
| CN110209323A (en) | A kind of method and terminal device showing unread message | |
| CN109829707B (en) | Interface display method and terminal device | |
| CN110489029A (en) | Icon display method and terminal device | |
| CN110012150B (en) | A message display method and terminal device | |
| CN111324268A (en) | Information reminding method and electronic equipment | |
| CN110069180A (en) | A kind of function control method and terminal device | |
| CN110764666A (en) | Display control method and electronic equipment | |
| CN110769118A (en) | A message prompting method and terminal device | |
| CN109062709A (en) | A kind of processing method and mobile terminal of notification message | |
| CN111880675A (en) | Interface display method and device and electronic equipment | |
| CN107707774A (en) | Message display method and mobile terminal | |
| WO2020192322A1 (en) | Display method and terminal device | |
| CN111596819A (en) | Unread message processing method and electronic equipment | |
| CN111030917B (en) | Message display method and electronic equipment | |
| CN110069304A (en) | A kind of notification message display methods and terminal device | |
| CN108874906A (en) | A kind of information recommendation method and terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |