CN110012150B - A message display method and terminal device - Google Patents

A message display method and terminal device Download PDF

Info

Publication number
CN110012150B
CN110012150B CN201910127550.2A CN201910127550A CN110012150B CN 110012150 B CN110012150 B CN 110012150B CN 201910127550 A CN201910127550 A CN 201910127550A CN 110012150 B CN110012150 B CN 110012150B
Authority
CN
China
Prior art keywords
short message
terminal device
content
information
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.)
Active
Application number
CN201910127550.2A
Other languages
Chinese (zh)
Other versions
CN110012150A (en
Inventor
周辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910127550.2A priority Critical patent/CN110012150B/en
Publication of CN110012150A publication Critical patent/CN110012150A/en
Application granted granted Critical
Publication of CN110012150B publication Critical patent/CN110012150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Recommending goods or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short 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)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Signal Processing (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例提供了一种消息显示方法及终端设备,涉及通信技术领域,以解决用户和短信之间的动态交互效果较差的问题。该方法包括:接收第一短消息,该第一短消息中包括第一内容;并在该第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将该第二短消息替换为该第一短消息,该第二短消息为终端设备中存储的短消息,该第一短消息和该第二短消息为同一目标平台发送的短消息。该方法可以应用于终端设备显示短信的场景中。

Figure 201910127550

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.

Figure 201910127550

Description

Message display method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a message display method and terminal equipment.
Background
With the wider application range of the terminal device, the user's demand for the operational flexibility of the terminal device is increasing.
Currently, a terminal device can receive various short messages (such as commodity promotion information, commodity logistics information, fee payment information, and the like) pushed by different merchants through a short message module of the terminal device, and display the short messages to a user so that the user can browse the short messages.
However, from the perspective of users, for some short messages, the users may need to know real-time changes of some information in the short messages, and at present, the requirement cannot be met. Therefore, the short message display method has the problem of poor dynamic interaction effect between the user and the short message.
Disclosure of Invention
The embodiment of the invention provides a message display method and terminal equipment, aiming at solving the problem of poor dynamic interaction effect between a user and a short message.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a message display method, which is applied to a terminal device, and the method includes: receiving a first short message, wherein the first short message comprises first content; and replacing the second short message with the first short message under the condition that 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 value, wherein the second short message is a short message stored in the terminal equipment, and 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 used for receiving a first short message, and the first short message comprises first content. The processing module is used for replacing the second short message with the first short message received by the receiving module under the condition that 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 value, wherein the second short message is a short message stored in the terminal equipment, 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, where the terminal device includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and the computer program, when executed by the processor, implements the steps of the message display method in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when 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 (where the first short message includes first content) may be received, and when a matching degree between the first content and second content in a second short message is greater than or equal to a preset matching degree threshold, the second short message may be replaced with the first short message (where the second short message is a short message stored in a terminal device, and the first short message and the second short message are short messages sent by the same target platform). Through the scheme, when a short message similar to the content of the short message stored in the terminal device is received, the information (such as quantity information, time information and the like) related to the content sent by the same target platform can be updated and displayed in real time in a single short message mode, so that a user can browse the updated information in real time conveniently, and the dynamic interaction effect of the user and the short message can be improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a message display method according to an embodiment of the present invention;
fig. 3 is a second schematic diagram of a message display method according to an embodiment of the present invention;
fig. 4 is one of schematic interfaces of an application of a message display method according to an embodiment of the present invention;
fig. 5 is a second schematic interface diagram of an application of the message display method according to the embodiment of the present invention;
fig. 6 is a third schematic diagram illustrating a message display method according to an embodiment of the present invention;
FIG. 7 is a fourth schematic diagram illustrating a message display method according to an embodiment of the present invention;
FIG. 8 is a fifth schematic diagram illustrating a message display method according to an embodiment of the present invention;
FIG. 9 is a sixth schematic view of a message display method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 11 is a second schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 12 is a third schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 13 is a hardware schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first short message and the second short message are used to distinguish different short messages, not to describe a specific order of the short messages.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of processing units means two or more processing units, and the like.
The embodiment of the invention provides a message display method and a terminal device, which can receive a first short message (the first short message comprises a first content), and replace a second short message with the first short message under the condition that the matching degree between the first content and a second content in the second short message is greater than or equal to a preset matching degree threshold value (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). Through the scheme, when a short message similar to the content of the short message stored in the terminal device is received, the information (such as quantity information, time information and the like) related to the content sent by the same target platform can be updated and displayed in real time in a single short message mode, so that a user can browse the updated information in real time conveniently, and the dynamic interaction effect of the user and the short message can be improved.
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, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the message display method provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the message display method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the message display method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the message display method provided by the embodiment of the invention by running the software program in the android operating system.
The terminal equipment in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution main body of the message display method provided in the embodiment of the present invention may be the terminal device, or may also be a functional module and/or a functional entity capable of implementing the message display method in the terminal device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal device as an example to exemplarily explain a message display method provided by the embodiment of the present invention.
As shown in fig. 2, an embodiment of the present invention provides a message display method, which may include S200 to S202 described below.
S200, the terminal equipment receives a first short message, wherein the first short message comprises first content.
In the embodiment of the present invention, if a certain platform sends a first short message to a terminal device, the terminal device may receive the first short message, where the first short message may include various contents pushed by the platform to a user.
For example, in the embodiment of the present invention, the first content may include information such as sales promotion information of the product, logistics information of the product, payment information of fees (e.g., communication fees, parking fees, membership fees, etc.), queuing information, and the like, and may be determined specifically according to actual usage requirements, which is not limited in the embodiment of the present invention.
Optionally, in this embodiment of the present invention, the first short message may be a short message including a text and the like, or may also be a multimedia message including a text and/or a picture and the like, or may also be a short message including an audio and/or a video and the like, or any other possible information, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the terminal equipment can receive the first short message through the short message module and store the first short message. Furthermore, the user can view the content in the first short message in the short message application.
S201, the terminal device judges whether the matching degree between the first content and the second content in the second short message is larger than or equal to a preset matching degree threshold value.
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 will be appreciated that the second short message is a short message that the terminal device has received and stored again from the target platform before receiving the first short message from the target platform.
In this embodiment of the present invention, the target platform may be a merchant platform server or an enterprise platform server, or any other possible server, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, the target platform may send a short message (for example, a short message related to a same product promotion) to the terminal device in real time, or may send a short message to the terminal device at intervals according to an actual use requirement, which may be determined according to the actual use requirement, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, after receiving the first short message, the terminal device may calculate a matching degree (or similarity) between the first content in the first short message and the second content in the second short message stored in the terminal device, and compare the calculated matching degree with a preset matching degree threshold, so as to determine whether the calculated matching degree is greater than or equal to the preset matching degree threshold.
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 the preset matching degree threshold, it may be determined that the first content is very similar to the second content, and thus it may be determined that the second content is replaced or updated to the first content, and therefore the terminal device may continue to perform S202 described below. If the terminal device determines that the matching degree between the first content and the second content in the second short message is smaller than the preset matching degree threshold, the terminal device may perform the normal message display procedure (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 related steps of the message display method in the prior art, which are not described herein again.
Optionally, in the embodiment of the present invention, the preset matching degree threshold may be expressed in percentage, may also be expressed in fraction, and may also be expressed in other possible forms, which may specifically be determined according to actual use requirements, and the embodiment of the present invention is not limited.
For example, the preset matching degree threshold may be expressed as a percentage, and 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 use requirements, and the embodiment of the present invention is not limited.
S202, the terminal device replaces the second short message with the first short message.
In the embodiment of the invention, the terminal equipment replaces or updates the second short message into the first short message under the condition that the matching degree between the first content in the first short message and the second content in the second short message is determined to be greater than or equal to the preset matching degree threshold value.
Optionally, with reference to fig. 2, as shown in fig. 3, the above S202 may be specifically implemented by the following S202a and S202 b.
S202a, the terminal device deletes the second short message from the terminal device.
S202b, the terminal device stores the first short message in the terminal device.
In the embodiment of the invention, the terminal equipment deletes the stored second short message and stores the newly received first short message, so that the content based on the single short message is updated in real time, and the user can know the real-time change of the user attention information in real time. On one hand, the terminal equipment can be prevented from storing a plurality of short messages with basically the same content, and the memory space of the terminal equipment cannot be occupied; on the other hand, only one latest received short message in the short messages with basically the same content is reserved, and the short messages are visually and quickly viewed. Therefore, the embodiment of the invention can enable the user to intuitively and quickly browse the single short message updated in real time on the basis of not occupying the memory space of the terminal equipment, thereby improving the dynamic interaction effect of the user and the short message.
It should be noted that the execution order of S202a and S202b may not be limited in the embodiments of the present invention. That is, in the embodiment of the present invention, S202a may be executed first, and then S202b may be executed; or executing S202b first and then executing S202 a; s202a and S202b may also be performed simultaneously. It is understood that the above FIG. 3 is illustrated by first executing S202a and then executing S202 b.
The following describes, by way of example, a specific implementation of the message display method according to the embodiment of the present invention through the following application scenario one and application scenario two.
The application scene one: e-commerce limited preferential activities
As shown in fig. 4, the first short message is a message about sales promotion of limited amount of goods pushed by "shopping platform 1" (i.e. target platform). In fig. 4, the user is informed in the first short message that the product is under limited promotion, and the number 41 of the product is decreased in real time as the user buys, please grasp the time to buy. Therefore, a user can select whether to purchase the commodity according to actual use requirements, so that the embodiment of the invention can update and display the information (such as information related to commodity limited sales promotion) related to the content sent by the shopping platform 1 in real time in a single short message mode, and is more convenient for the user to quickly browse the updated information in real time, thereby improving the dynamic interaction effect of the user and the short message.
Application scenario two: expiration reminder
As shown in fig. 5, the first short message is a message sent by the "trading platform 1" (i.e. the target platform) about the parking space rental expiration reminding. In fig. 5, the first short message informs the user of the parking space rental expiration time, and the expiration time 51 decreases in real time as time goes by, please pay a fee. Therefore, the user can select whether to renew the fee or not according to the actual use requirement, so that the embodiment of the invention can update and display the information (such as the information about the parking space renting due reminding) related to the content sent by the transaction platform 1 in real time in a single short message mode, and is more convenient for the user to quickly browse the real-time updated information, thereby improving the dynamic interaction effect of the user and the short message.
The message display method provided in the embodiment of the present invention may receive a first short message (where the first short message includes a first content), and replace a second short message with the first short message when a matching degree between the first content and a second content in the second short message is greater than or equal to a preset matching degree threshold (where the second short message is a short message stored in a terminal device, and the first short message and the second short message are short messages sent by a same target platform). Through the scheme, when a short message similar to the content of the short message stored in the terminal device is received, the information (such as quantity information, time information and the like) related to the content sent by the same target platform can be updated and displayed in real time in a single short message mode, so that a user can browse the updated information in real time conveniently, and the dynamic interaction effect of the user and the short message can be improved.
Optionally, the first short message may further include a first identifier, where the first identifier is used to identify the target platform. Referring to fig. 2, as shown in fig. 6, after the above S200 and before the above S201, the message display method provided in the embodiment of the present invention may further include the following S203 and S204.
S203, the terminal device determines whether the first identifier is a preset identifier.
In the embodiment of the 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 judge whether the first identifier is the preset identifier.
In the embodiment of the present invention, the terminal device may store the preset identifier in advance, where the preset identifier is determined by a manufacturer of the terminal device and a target platform through negotiation in advance, and the preset identifier may be used to uniquely identify the target platform.
In addition, the manufacturer of the terminal device and the target platform may also negotiate in advance to determine an Application Program Interface (API) for real-time short message interaction. The terminal device may verify the identity of the target platform sending the short message by determining whether the first identifier is a preset identifier (i.e., verify whether the target platform is legal), and after the identity verification is successful, the terminal device establishes a connection with the target platform through the application program interface.
Optionally, in the embodiment of the present invention, the terminal device may establish a connection (for example, a real-time channel) with a target platform (i.e., a platform server) through a Transmission Control Protocol (TCP), where the connection is expressed as a real-time connection, and thus may be referred to as 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 that real-time updating of a single short message is achieved.
Optionally, in the embodiment of the present invention, the terminal device may establish a connection with the target platform through a HyperText Transfer Protocol (HTTP) or a Secure HyperText Transfer Protocol over Secure Socket Layer (HTTPs), where the connection is expressed as a timing pull, and thus may be referred to as a short connection.
In this embodiment of the present invention, if the terminal device determines that the first identifier is the preset identifier, the terminal device determines that the target platform for sending the first short message is legal, and the terminal device may continue to execute S204 described below. If the terminal device determines that the first identifier is not the preset identifier, the terminal device may perform a normal message display procedure (for example, the terminal device stores and displays the first short message).
S204, the terminal device determines the matching degree of the first content and the content in the short message stored in the terminal device.
In the 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 matching degree between the first content and the content in the short message stored in the terminal device, so as to obtain a plurality of matching degrees. Furthermore, the terminal compares the maximum matching degree of the plurality of calculated matching degrees with a preset matching degree threshold, and if the maximum matching degree is greater than or equal to the preset matching degree threshold, the terminal device may replace the short message with the maximum matching degree (i.e., the second short message) in the terminal device with the first short message.
The following describes an interaction process between the terminal device and the target platform in an exemplary manner with reference to fig. 7.
S300, the terminal device (namely the manufacturer of the terminal device) and the target platform negotiate to determine a first identifier of the target platform and an Application Program Interface (API) for short message real-time interaction.
S301, the target platform determines a target object (namely a target user group).
S302, the target platform sends or pushes short messages to terminal equipment held by a target user group. And the target platform adds the first identifier of the target platform and the API which needs to be called back by the terminal equipment in the pushed short message content.
S303, the terminal equipment receives the short message sent by the target platform.
S304, the terminal equipment carries out identity verification on the target platform pushing the short message by identifying the identification carried in the short message.
S305, after the identity authentication is successful, the terminal device and the target platform establish connection (such as a real-time channel) for realizing real-time update of a single short message.
S306, the target platform determines the short message for real-time updating in real time.
S307, the target platform sends the short message for updating to the terminal equipment through the real-time channel so as to realize real-time updating of the short message.
And S308, the terminal equipment updates the short message in real time, so that real-time interaction between the terminal equipment and the target platform is realized.
In addition, the user can perform operations such as reply or emergency purchase on the short message and perform real-time response.
In the embodiment of the invention, the terminal equipment can verify the identity of the target platform sending the short message after receiving the short message, and then determine the matching degree of the content in the short message and the content in the short message stored in the terminal equipment after the identity verification is successful, so that the legality and validity of the terminal equipment for receiving the short message from the target platform can be improved. And the short message not only supports displaying static text and dynamic rich media, but also supports dynamic interaction between the terminal equipment and the target platform.
Optionally, with reference to fig. 2, as shown in fig. 8, after the above S202, the message display method provided in the embodiment of the present invention may further include the following S205 and S206.
S205, the terminal equipment receives a first input of the first short message from the user.
Wherein the first input is used for triggering the display of the first content in the first short message.
In the embodiment of the present invention, after the terminal device replaces the stored second short message with the first short message, the user may 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, the terminal device responds to the first input, displays the first content, and highlights target information in the first content.
Wherein the target information may include at least one of time information, location information, quantity information, amount information, and platform identification information. Such information may be understood as information that enables a user to intuitively and easily see, and thus may be referred to as important information. It is understood that the above target information is an exemplary list, that is, the embodiments of the present invention include, but are not limited to, the above listed target information. In actual implementation, the target information may further include any other possible target information, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
Optionally, in the embodiment of the present invention, the highlighting manner may be a highlighting manner, an underlining manner, an enlarged display manner, or any other possible display manner, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
For example, referring back to fig. 4, assuming that the short message is a message about a limited sales promotion of an item, the target information in the short message may be information on the number of the item, i.e., the number of the item. Wherein the quantity information 41 for the item may be magnified for highlighting and decremented in real time to alert the user that the item is being promoted by a limited amount, please purchase at close time. Therefore, the user can select whether to purchase the commodity according to the actual use requirement, so that the user can browse the real-time updated information in a key mode, and the dynamic interaction effect of the user and the short message can be improved.
As another example, referring back to fig. 5, assuming that the short message is a message related to a parking space rental expiration reminder, the target information in the short message may be time information 51, i.e., expiration time. The time information 51 can be displayed in an enlarged and highlighted manner and decreased in real time, so as to prompt the user that the parking space rental month card is about to expire and please pay for the next time. Therefore, the user can select whether to renew the fee or not according to the actual use requirement, so that the user can more conveniently browse the information updated in real time in a key mode, and the dynamic interaction effect of the user and the short message can be improved.
In the embodiment of the invention, the terminal device can respond to the input of the user to the first short message, display the first content in the first short message, and the important information in the first content is presented to the user in a highlighted way, so that the user can intuitively and easily view the first content and the important information in the first content.
Optionally, the first content may include a target control, where the target control is used to indicate an application program corresponding to the target platform. Referring to fig. 8, as shown in fig. 9, after S206 described above, the message display method provided in the embodiment of the present invention further includes S207 and S208 described below.
And S207, the terminal equipment receives second input of the user to the target control in the first content.
In the embodiment of the invention, after the terminal device displays the first content, a user can input the target control in the first content to trigger the terminal device to run the application program corresponding to the target platform and display the interface of the application program.
And S208, the terminal equipment responds to the second input and displays an interface of the application program corresponding to the target platform.
Optionally, in the embodiment of the present invention, the terminal device may display an interface (hereinafter, referred to as a target interface) of an application corresponding to the target platform in a split-screen manner, may also display the target interface in a small-window manner, may also update and display the first content as the target interface, or may display the target interface in any other possible manner. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Illustratively, as shown in FIG. 4, assuming the short message is a message from "shopping platform 1" (i.e., the target platform) regarding a limited number of promotions for an item, then the target control may be an "immediate preemption" control 42. If the user clicks the "instant-buy" control 42, the terminal device may display an interface containing limited promotional content for the item and purchase options in the application corresponding to the "shopping platform 1" in response to the input. Therefore, the user can select whether to purchase the commodity according to the actual use requirement, so that the user can browse the real-time updated information more conveniently, and the dynamic interaction effect of the user and the short message can be improved.
For example, as shown in fig. 5, assuming that the short message is a message from the "trading platform 1" (i.e. the target platform) regarding the parking space rental expiration reminder, the target control may be an "immediate payment" control and/or a "renewal record" control 52. If the user clicks the "immediate payment" control 52 (or the "renewal record" control), the terminal device may display an interface containing payment options (or an interface containing renewal records) in the application program corresponding to the "trading platform 1" in response to the input. Therefore, the user can select whether to renew the fee or not according to the actual use requirement, so that the user can browse the real-time updated information more conveniently, and the dynamic interaction effect of the user and the short message can be improved.
In the embodiment of the invention, because the received short message comprises the target control, the terminal equipment can respond to the input of the target control by the user, display the target interface and further present more information (such as commodity promotion information or expense payment information and the like) related to the short message to the user through the target interface, so that the user can visually and easily view the first content and the related information thereof, the user can browse the real-time updated information more conveniently, and the dynamic interaction effect of the user and the short message can be improved.
Optionally, in this embodiment of the present invention, the target information may include at least one of time information and quantity information, and the at least one of the time information and the quantity information may be used to indicate validity of the target information. And under the condition that the target information is effective, the target control is in a first display state, and in the first display state, the terminal equipment can respond to the input of the target control. And under the condition that the target information is invalid, the target control is in a second display state, and under the second display state, the terminal equipment does not respond to the input of the target control.
In the embodiment of the present invention, the validity of the target information refers to: the target information is valid under the condition that the target information meets the preset condition; and under the condition that 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, the target information is valid if the time value indicated by the target information is within the preset time period; and in the case that the time indicated by the target information 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; and in the case that the quantity value indicated by the target information is less than the preset quantity, the target information is invalid.
For example, if the value in the target information is greater than zero, the target information is valid, in which case the target control may be in a highlighted state, and at this time, the terminal device may respond to the input of the user to the target control. And if the numerical value in the target information is zero, the target information is invalid, in this case, the target control can be in a gray display state, and at this time, the terminal device can not respond to the input of the user to the target control.
For example, assuming that the first short message is a limited quantity of goods for the first time and the target information is a quantity of goods (i.e. quantity information), the quantity of goods is decreased in real time with the first time. Under the condition that the goods are purchased in a rush mode (at the moment, the quantity of the goods is 0, and the target information is invalid), the terminal equipment can display that the stock is empty and/or the goods cannot be purchased in real time, so that invalid operation of a user can be avoided.
As shown in fig. 10, an embodiment of the present invention provides a terminal device 700, where 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 first content. The processing module 702 is configured to replace the second short message with the first short message received by the receiving module 701 when a matching degree between the first content and a second content in the second short message is greater than or equal to a preset matching degree threshold, where the second short message is a short message stored in the terminal device 700, and the first short message and the second short message are short messages sent by a same target platform.
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 the embodiment of the present invention may further include a determining module 703. The determining module 703 is configured to determine whether the first identifier is a preset identifier after the receiving module 701 receives the first short message; and determines a matching degree of the first content with the content in the short message stored in the terminal device 700, in case that the first identifier is a preset identifier.
Optionally, with reference to fig. 10, as shown in fig. 12, the terminal device 700 provided in the embodiment of the present invention may further include a display module 704. The receiving module 701 is further configured to receive a first input of the first short message from 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 a first content in response to a first input received by the receiving module 701, wherein target information in the first content is highlighted, and the target information includes at least one of time information, location information, quantity information, amount information, and platform identification information.
Optionally, in this embodiment of the present invention, the first content may include a target control, where the target control is used to indicate an application program corresponding to the target platform. The receiving module 701 is further configured to receive a second input of the target control from the user after the displaying module 704 displays the first content. The display module 704 is further configured to display an interface of an application 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 target information may include at least one of time information and quantity information, where the at least one of time information and quantity information is used to indicate validity of the target information. And under the condition that the target information is effective, the target control is in a first display state. And under the condition that the target information is invalid, the target control is in a second display state. Wherein, in the first display state, responding to the input of the target control; in the second display state, no input to the target control is responded to.
The terminal device provided by the embodiment of the present invention can implement each process implemented by the terminal device in the above method embodiments, and is not described here again to avoid repetition.
The terminal device provided in the embodiment of the present invention may receive a first short message (where the first short message includes a first content), and replace a second short message with the first short message when a matching degree between the first content and a second content in the second short message is greater than or equal to a preset matching degree threshold (where 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 a same target platform). Through the scheme, when the terminal equipment receives the short message similar to the content of the short message stored in the terminal equipment, the information (such as quantity information, time information and the like) related to the content sent by the same target platform can be updated and displayed in real time in a single short message mode, so that a user can browse the updated information in real time conveniently and quickly, and the dynamic interaction effect of the user and the short message can be improved.
Fig. 13 is a schematic diagram of a hardware structure of a terminal device for 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, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 13 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. 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 palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The radio frequency unit 801 is configured to receive a first short message, where the first short message includes first content; a processor 810, configured to replace the second short message with the first short message received by the radio frequency unit 801 when a matching degree between the first content and a second content in the second short message is greater than or equal to a preset matching degree threshold, where the second short message is a short message stored in a terminal device, and the first short message and the second short message are short messages sent by a same target platform.
The embodiment of the present invention provides a terminal device, where the terminal device may receive a first short message (where the first short message includes a first content), and replace a second short message with the first short message when a matching degree between the first content and a second content in the second short message is greater than or equal to a preset matching degree threshold (where 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 a same target platform). Through the scheme, when the terminal equipment receives the short message similar to the content of the short message stored in the terminal equipment, the information (such as quantity information, time information and the like) related to the content sent by the same target platform can be updated and displayed in real time in a single short message mode, so that a user can browse the updated information in real time conveniently and quickly, and the dynamic interaction effect of the user and the short message can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, 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. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The terminal device 800 provides the user with wireless broadband internet access through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
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 an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. 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 may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The terminal device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the terminal device 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
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, and the display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 807 is operable to receive input numeric or character information and generate key signal inputs related to user settings 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, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 13, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the terminal device, and this is not limited herein.
The interface unit 808 is an interface for connecting an external device to the terminal apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 800 or may be used to transmit data between the terminal apparatus 800 and an external device.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the terminal device, connects various parts of the whole terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby performing overall monitoring of the terminal device. 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 handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
Terminal device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and optionally, power supply 811 may be logically coupled to processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the terminal device 800 includes some functional modules that are not shown, and are not described in detail here.
Optionally, an embodiment of the present invention further provides a terminal device, which includes the processor 810 shown in fig. 13, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the above-mentioned message display method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
The embodiment of the present invention further 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, the computer program implements each process of the above-mentioned message display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method disclosed in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1.一种消息显示方法,应用于终端设备,其特征在于,所述方法包括:1. A message display method, applied to a terminal device, wherein the method comprises: 接收第一短消息,所述第一短消息中包括第一内容;receiving a first short message, where the first short message includes the first content; 在所述第一内容与第二短消息中的第二内容之间的匹配度大于或等于预设匹配度阈值的情况下,将所述第二短消息替换为所述第一短消息,所述第二短消息为所述终端设备中存储的短消息,所述第一短消息和所述第二短消息为同一目标平台发送的短消息;In the case that 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 second short message is replaced with the first short message, so 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; 其中,所述将所述第二短消息替换为所述第一短消息,包括:Wherein, replacing the second short message with the first short message includes: 从所述终端设备中删除所述第二短消息,并将所述第一短消息存储到所述终端设备中;Delete the second short message from the terminal device, and store the first short message in the terminal device; 所述第一短消息中还包括第一标识,所述第一标识用于标识所述目标平台;The first short message further includes a first identifier, where the first identifier is used to identify the target platform; 在接收第一短消息之后,所述方法还包括:After receiving the first short message, the method further includes: 确定所述第一标识是否为预设标识;determining whether the first identification is a preset identification; 在所述第一标识为所述预设标识的情况下,确定所述第一内容与所述终端设备中存储的短消息中的内容的匹配度;In the case that the first identifier is the preset identifier, determining the degree of matching between the first content and the content in the short message stored in the terminal device; 在所述第一标识为所述预设标识的情况下,在所述确定所述第一内容与所述终端设备中存储的短消息中的内容的匹配度之前,所述方法还包括:在所述终端设备通过应用程序接口与所述目标平台之间建立实时连接,所述应用程序接口为预设的用于实时交互短消息的应用程序接口。In the case where the first identifier is the preset identifier, before the determining the degree of matching between the first content and the content in the short message stored in the terminal device, the method further includes: The terminal device establishes a real-time connection with the target platform through an application program interface, and the application program interface is a preset application program interface for real-time interaction of short messages. 2.根据权利要求1所述的方法,其特征在于,在将所述第二短消息替换为所述第一短消息之后,所述方法还包括:2. The method according to claim 1, wherein after replacing the second short message with the first short message, the method further comprises: 接收用户对所述第一短消息的第一输入;receiving the first input of the first short message from the user; 响应于所述第一输入,显示所述第一内容,其中,所述第一内容中的目标信息突出显示,所述目标信息包括时间信息、地点信息、数量信息、金额信息、平台标识信息中的至少一项。In response to the first input, the first content is displayed, wherein target information in the first content is highlighted, and the target information includes time information, location information, quantity information, amount information, and platform identification information. at least one of. 3.根据权利要求2所述的方法,其特征在于,所述第一内容中包括目标控件,所述目标控件用于指示与所述目标平台对应的应用程序;3. The method according to claim 2, wherein the first content comprises a target control, and the target control is used to indicate an application program corresponding to the target platform; 在显示所述第一内容之后,所述方法还包括:After displaying the first content, the method further includes: 接收用户对所述目标控件的第二输入;receiving a second input from the user to the target control; 响应于所述第二输入,显示与所述目标平台对应的应用程序的界面。In response to the second input, an interface of an application corresponding to the target platform is displayed. 4.根据权利要求2所述的方法,其特征在于,所述目标信息包括所述时间信息和数量信息中的至少一项,所述时间信息和所述数量信息中的至少一项用于指示所述目标信息的有效性;4. The method according to claim 2, wherein the target information comprises at least one of the time information and quantity information, and at least one of the time information and the quantity information is used to indicate the validity of said 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 to the target control is responded; in the second display state, the input to the target control is not responded. 5.一种终端设备,其特征在于,所述终端设备包括接收模块和处理模块;5. A terminal device, characterized in that the terminal device comprises a receiving module and a processing module; 所述接收模块,用于接收第一短消息,所述第一短消息中包括第一内容;the receiving module, 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 specified matching degree 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 received by the receiving module, 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 ; 其中,所述处理模块,具体用于从所述终端设备中删除所述第二短消息,并将所述第一短消息存储到所述终端设备中;Wherein, the processing module is specifically configured to delete the second short message from the terminal device, and store the first short message in the terminal device; 所述第一短消息中还包括第一标识,所述第一标识用于标识所述目标平台;所述终端设备还包括确定模块;The first short message further includes a first identifier, where the first identifier is used to identify the target platform; the terminal device further includes a determining module; 所述确定模块,用于在接收模块接收第一短消息之后,确定所述第一标识是否为预设标识;并在所述第一标识为所述预设标识的情况下,确定所述第一内容与所述终端设备中存储的短消息中的内容的匹配度;The determining module is configured to, after the receiving module receives the first short message, determine whether the first identification is a preset identification; and in the case that the first identification is the preset identification, determine the first identification A degree of matching between the content and the content in the short message stored in the terminal device; 所述处理模块,还用于在所述第一标识为所述预设标识的情况下,在所述确定所述第一内容与所述终端设备中存储的短消息中的内容的匹配度之前,在所述终端设备通过应用程序接口与所述目标平台之间建立实时连接,所述应用程序接口为预设的用于实时交互短消息的应用程序接口。The processing module is further configured to, when the first identifier is the preset identifier, before the determining the degree of matching between the first content and the content in the short message stored in the terminal device , establishing a real-time connection between the terminal device and the target platform through an application program interface, where the application program interface is a preset application program interface for real-time interaction of short messages. 6.根据权利要求5所述的终端设备,其特征在于,所述终端设备还包括显示模块;6. The terminal device according to claim 5, wherein the terminal device further comprises a display module; 所述接收模块,还用于在所述处理模块将所述第二短消息替换为所述第一短消息之后,接收用户对所述第一短消息的第一输入;The receiving module is further configured to receive the user's first input on the first short message after the processing module replaces the second short message with the first short message; 所述显示模块,用于响应于所述接收模块接收的所述第一输入,显示所述第一内容,其中,所述第一内容中的目标信息突出显示,所述目标信息包括时间信息、地点信息、数量信息、金额信息、平台标识信息中的至少一项。The display module is configured to display the first content in response to the first input received by the receiving module, wherein target information in the first content is highlighted, and the target information includes time information, At least one of location information, quantity information, amount information, and platform identification information. 7.根据权利要求6所述的终端设备,其特征在于,所述第一内容中包括目标控件,所述目标控件用于指示与所述目标平台对应的应用程序;7. The terminal device according to claim 6, wherein the first content comprises a target control, and the target control is used to indicate an application program corresponding to the target platform; 所述接收模块,还用于在所述显示模块显示所述第一内容之后,接收用户对所述目标控件的第二输入;The receiving module is further configured to receive a second input from the user to the target control after the display module displays the first content; 所述显示模块,还用于响应于所述接收模块接收的所述第二输入,显示与所述目标平台对应的应用程序的界面。The display module 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. 8.根据权利要求6所述的终端设备,其特征在于,所述目标信息包括所述时间信息和所述数量信息中的至少一项,所述时间信息和所述数量信息中的至少一项用于指示所述目标信息的有效性;8. The terminal device according to claim 6, wherein the target information comprises at least one of the time information and the quantity information, and at least one of the time information and the quantity information 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 to the target control is responded; in the second display state, the input to the target control is not responded. 9.一种终端设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至4中任一项所述的消息显示方法的步骤。9. A terminal device, characterized in that it comprises a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the right The steps of the message display method described in any one of requirements 1 to 4 are required.
CN201910127550.2A 2019-02-20 2019-02-20 A message display method and terminal device Active CN110012150B (en)

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 CN110012150A (en) 2019-07-12
CN110012150B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
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
CN110795310B (en) * 2019-10-30 2024-03-26 维沃移动通信有限公司 Information reminding method 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

Citations (4)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141753A (en) * 2015-07-27 2015-12-09 深圳市万普拉斯科技有限公司 Method and device for processing verification code short-message expiration
CN106170004B (en) * 2016-09-23 2020-11-20 北京小米移动软件有限公司 Method and device for processing verification code

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN110012150A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN110062105B (en) Interface display method and terminal equipment
CN110058754B (en) Option display method and terminal device
CN110012150B (en) A message display method and terminal device
CN111028052A (en) Interface operation method and electronic equipment
CN111124221B (en) File sending method and terminal device
CN109240783B (en) Interface display method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN110908557B (en) Information display method and terminal device
CN109857494B (en) Message prompting method and terminal equipment
CN110012152B (en) Interface display method and terminal device
CN109085968B (en) Screen capturing method and terminal equipment
CN109358931B (en) Interface display method and terminal
CN109521978B (en) A content display method and terminal device
CN109656437B (en) Information display method and terminal equipment
CN110049187B (en) A display method and terminal device
CN110489029A (en) Icon display method and terminal device
CN107909399A (en) A kind of available resources recommend method and apparatus
CN111030917B (en) Message display method and electronic equipment
CN108874906B (en) A kind of information recommendation method and terminal
CN109635205A (en) Information-pushing method and terminal device
CN111064654A (en) Message display method and electronic equipment
CN110007822A (en) A kind of interface display method and terminal device
CN109992192B (en) Interface display method and terminal device
CN111027963A (en) Payment code sharing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant