CN110795001B - Message processing method and electronic equipment - Google Patents

Message processing method and electronic equipment Download PDF

Info

Publication number
CN110795001B
CN110795001B CN201911035063.XA CN201911035063A CN110795001B CN 110795001 B CN110795001 B CN 110795001B CN 201911035063 A CN201911035063 A CN 201911035063A CN 110795001 B CN110795001 B CN 110795001B
Authority
CN
China
Prior art keywords
message
specified
appointed
interface
target application
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
CN201911035063.XA
Other languages
Chinese (zh)
Other versions
CN110795001A (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 CN201911035063.XA priority Critical patent/CN110795001B/en
Publication of CN110795001A publication Critical patent/CN110795001A/en
Application granted granted Critical
Publication of CN110795001B publication Critical patent/CN110795001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a message processing method and electronic equipment, and aims to solve the problems that operation is complex and the condition of missing is existed when a specified message is checked in the prior art. The method comprises the following steps: receiving the appointed type message, and generating a message characteristic element corresponding to the appointed type message according to the preset characteristic information of the appointed type message; the preset characteristic information comprises at least one item of information in the message sources, the sender and the message quantity of the appointed messages; receiving trigger operation aiming at a message characteristic element corresponding to the specified class message; and responding to the trigger operation, and jumping to an application interface of the target application corresponding to the specified class message. The technical scheme enables the operation of checking the specified messages to be simple, convenient and quick, avoids the condition of overlooking the specified messages, and improves the experience of the user in checking the messages.

Description

Message processing method and electronic equipment
Technical Field
The present invention relates to the field of message processing technologies, and in particular, to a message processing method and an electronic device.
Background
When a user chats with friends or chats in multiple chat groups, messages of a specified type (such as electronic red envelope messages) can be sent or received, and the viewing of the messages of the specified type is a basic function provided by the electronic device application.
At present, when a user views a specified type of message, a plurality of chat interfaces need to be manually switched to view the message, the operation is complex, and the user can miss the unviewed specified type of message. Therefore, there is a need to provide a faster or more reliable solution for viewing messages of a specified class.
Disclosure of Invention
The embodiment of the invention provides a message processing method and electronic equipment, and aims to solve the problems that operation is complex and overlooking is caused when a specified message is checked in the prior art.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a message processing method, including:
receiving a specified message, and generating a message characteristic element corresponding to the specified message according to preset characteristic information of the specified message; the preset characteristic information comprises at least one item of information of message sources, senders and the number of the messages of the appointed type of messages;
receiving trigger operation aiming at the message characteristic element corresponding to the specified class message;
and responding to the trigger operation, and jumping to an application interface of the target application corresponding to the specified class message.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the generation module is used for receiving the appointed message and generating a message characteristic element corresponding to the appointed message according to the preset characteristic information of the appointed message; the preset characteristic information comprises at least one item of information of message sources, senders and the number of the messages of the appointed type of messages;
the receiving module is used for receiving the triggering operation of the message characteristic element corresponding to the specified class message;
and the skipping module is used for responding to the triggering operation and skipping to the application interface of the target application corresponding to the specified class message.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
a memory storing computer program instructions;
a processor which, when executed by the processor, implements a message processing method as in any one of the above.
In a fourth aspect, the present invention also provides a computer-readable storage medium, which includes instructions, when the instructions are executed on a computer, the computer is caused to execute the message processing method according to any one of the above items.
In the embodiment of the invention, the specified message is received, the message characteristic element corresponding to the specified message is generated according to the preset characteristic information of the specified message, the trigger operation aiming at the message characteristic element corresponding to the specified message is further received, the trigger operation is responded, and the application interface of the target application corresponding to the specified message is skipped to, so that the operation of viewing the specified message is simple, convenient and quick, the condition of overlooking the specified message can be avoided, and the experience of viewing the message by a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a message processing method in one embodiment of the invention.
Fig. 2 is a schematic flow chart of a message processing method in another embodiment of the invention.
Fig. 3 is a schematic interface diagram of a message feature card in one embodiment of the invention.
Fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Fig. 5 is a schematic diagram of a hardware structure of an electronic 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.
Fig. 1 is a schematic flow chart of a message processing method in one embodiment of the invention. The method of fig. 1 may include:
and S102, receiving the appointed type message, and generating a message characteristic element corresponding to the appointed type message according to the preset characteristic information of the appointed type message.
The preset feature information may include information such as a message source, a sender, and a message quantity of a specific type of message.
In one embodiment, the message source may be an application in the electronic device application that supports sending or receiving messages of a specified class, and the message sender may be a friend of the user or a user in a group chat. If the sender is a friend of the user, the number of messages included in the preset feature information can be the number of messages of a specified class sent to the user by the friend of the user; if the sender is a user in group chat, the number of messages included in the preset feature information may be the total number of messages of a specified class of messages received by the user through the group.
And S104, receiving trigger operation aiming at the message characteristic element corresponding to the specified class message.
In an embodiment, after receiving the trigger operation for the message feature element corresponding to the specified class message, the preset feature information of the specified class message recorded by the message feature element may be determined first, and then the application interface of the target application is skipped according to the determined preset feature information.
Suppose the trigger operation is a click operation on a message feature element corresponding to the specified type of message, where the message feature element is a message feature card in which a message source, a message sender, and a message quantity of the specified type of message are recorded, such as: message origin the message sender: number of messages of the specified class: n (N is more than or equal to 1). When the user clicks any one of the message feature cards, such as: application of AX chat groups: number of messages of the specified class: 2, it can be determined that the message source of the specified type of message is application a, the message sender is a user in the X chat group, and the number of messages is 2.
And S106, responding to the trigger operation, and jumping to an application interface of the target application corresponding to the specified class message.
In the embodiment of the invention, the specified message is received, the message characteristic element corresponding to the specified message is generated according to the preset characteristic information of the specified message, the trigger operation aiming at the message characteristic element corresponding to the specified message is further received, the trigger operation is responded, and the application interface of the target application corresponding to the specified message is skipped to, so that the operation of checking the specified message is simple, convenient and quick, the condition of overlooking the specified message can be avoided, and the experience of a user for checking the message is improved.
In one embodiment, the message characteristic elements may be message characteristic cards, each of which is used to record preset characteristic information of a message of a specific class sent by a message sender through the same message source (an application supporting sending or receiving messages of the specific class). That is, each message sender (a friend of the user or a chat group) corresponds to a respective message feature card.
Each message feature card may be stored in a preset storage location of the electronic device, where the preset storage location may be a file storage area on the electronic device, or a card generation application installed on the electronic device, and the like.
In this embodiment, the preset feature information is recorded by using the message feature card, so that the user can more intuitively know the preset feature information of the specified type of message, such as the message source, the message sender, the message quantity, and the like.
In one embodiment, according to the preset feature information of the specified class message, the message feature element corresponding to the specified class message may be generated by the following method: judging whether the electronic equipment stores message characteristic elements corresponding to the specified messages or not according to the preset characteristic information of the specified messages; if yes, updating message characteristic elements corresponding to the appointed type messages according to the number of the received appointed type messages; if not, creating a message characteristic element of the specified message according to the preset characteristic information of the specified message, and storing the created message characteristic element in the electronic equipment.
When the message characteristic elements corresponding to the specified messages exist in the electronic equipment, the message characteristic elements corresponding to the specified messages are updated according to the number of the received messages of the specified messages. The method for updating the message characteristic element can comprise the following steps: if the number of the received messages of the designated type is 1, adding 1 to the number of the messages of the designated type recorded in the message characteristic elements corresponding to the designated type of the messages; if the number of the received messages of the designated type is 2, adding 2 to the number of the messages of the designated type recorded in the message characteristic elements corresponding to the designated type of the messages; and so on.
For example, the specified type message is an electronic red packet message, the message characteristic elements are message characteristic cards, and each message characteristic card is used for recording preset characteristic information of the electronic red packet message sent by a message sender through the same application. Suppose user Y sends 1 electronic red envelope message through application B. Then, judging whether a message feature card corresponding to the electronic red packet message sent by the user Y through the application B is stored in the electronic equipment or not according to the preset feature information of the electronic red packet message; if yes, adding 1 to the number of the electronic red packages recorded on the message feature card corresponding to the electronic red package message sent by the user Y through the application B; and if not, creating a message feature card corresponding to the electronic red packet message sent by the user Y through the application B according to the preset feature information, and storing the created message feature card in the electronic equipment.
In this embodiment, whether the electronic device stores the message feature element corresponding to the specified type of message is judged through the preset feature information of the specified type of message, and the message feature element is generated according to the judgment result, so that the generation process of the message feature element is more flexible, and the same preset feature information is ensured to correspond to the unique message feature element, thereby avoiding the situation that the message viewing is disordered when the same preset feature information corresponds to a plurality of message feature elements.
In another embodiment, the message characteristic element corresponding to the first message may be generated as follows: monitoring a received first message; if the first message is the appointed message, acquiring preset characteristic information of the first message; generating a message characteristic element corresponding to the first message according to the preset characteristic information of the first message; the first message is a message received by the electronic equipment.
The received first message can be monitored by using the functions of the equipment such as the notification bar, the preset application and the like. Before monitoring the received first message, keywords corresponding to the specified message can be preset, and whether the received first message is the specified message can be judged by monitoring whether the notification bar message of the electronic equipment contains the keywords corresponding to the specified message; when the received first message is judged to be the appointed message, the electronic equipment acquires the preset characteristic information of the first message from the notification bar message, generates a message characteristic element, and stores the created message characteristic element in the electronic equipment.
In this embodiment, by acquiring the preset feature information of the first message and generating the message feature element according to the preset feature information, the user can more comprehensively know the application and the message quantity of the first message, and the condition of missing the first message can be effectively avoided.
In one embodiment, the target application comprises a first specified type message and a second specified type message sent by the same sender, and the like; the first specified type message and the second specified type message are two specified type messages sent by the same sender. Wherein, the same sender is like a friend or the same chat group; the first specified type message and the second specified type message refer to specified type messages positioned on different interfaces. The application interface of the target application corresponding to the specified class message can be jumped to by the following method:
firstly, jumping to a first interface containing a first appointed class message on a target application; secondly, when the fact that the user performs reading operation on the first appointed type message is monitored, sliding to a second interface containing a second appointed type message from the first interface. The first interface may be a bottommost interface or an intermediate interface of the target application.
In one embodiment, the first interface is the bottommost interface on the target application that contains the first specified class of messages. And after jumping to the bottommost interface of the target application, when monitoring that the user performs reading operation on the first appointed type message, sequentially sliding the interfaces upwards from the bottommost interface until sliding to a second interface containing a second appointed type message, and stopping sliding.
In one embodiment, the first interface is an intermediate interface on the target application that contains the first specified class of messages. And after jumping to a middle interface of the target application, when monitoring that the user performs reading operation on the first appointed type message, sequentially sliding the interface downwards from the middle interface until sliding to a second interface containing a second appointed type message, and stopping sliding.
In this embodiment, by monitoring the reading operation performed by the user on the specified type of message, the electronic device can slide the target application interface to the interface where the next specified type of message is located according to the reading operation performed by the user, so that the step of reading the specified type of message is optimized, and the experience of the user is improved.
In another embodiment, a jump may be made to a third interface of the target application; acquiring message content in the third interface, and judging whether the third interface comprises the specified message or not according to the message content; if yes, staying at the third interface; if not, sliding from the third interface to the fourth interface, and judging whether the fourth interface contains the specified type message. The third interface or the fourth interface may be a bottommost interface or an intermediate interface of the target application.
Wherein, keywords can be set in advance for the specified class messages. And after jumping to a third interface of the target application corresponding to the specified type message, acquiring message content in the third interface, and judging whether the specified type message exists in the message content of the third interface according to whether the message content contains keywords. If the message content contains the keywords, the message content of the third interface contains the specified messages; and if the message content does not contain the keywords, the message content of the third interface does not contain the specified messages.
In one embodiment, the third interface is a bottommost interface of the target application and the fourth interface is an intermediate interface of the target application. And after jumping to the bottommost interface (namely, the third interface) of the target application, if the message content of the bottommost interface is judged to have no specified type message, the interfaces are sequentially slid upwards from the bottommost interface until the interface slides to the middle interface (namely, the fourth interface) with the specified type message, and the sliding is stopped.
In one embodiment, the third interface is an intermediate interface of the target application and the fourth interface is an intermediate interface or a bottommost interface of the target application. And after jumping to a middle interface (namely a third interface) of the target application, if judging that no specified type message exists in the message content of the middle interface, sequentially sliding the interfaces downwards from the middle interface until sliding to the middle interface or the bottommost interface (namely a fourth interface) with the specified type message. Preferably, the third interface is an intermediate interface where the first specified type of message is located, so that the intermediate interface to which the first jump is made necessarily has the specified type of message.
In this embodiment, by setting the keywords in the specified type of message in advance, the electronic device can quickly determine the application interface where the specified type of message is located according to the keywords, which is beneficial for a user to quickly read the specified type of message, and improves the efficiency of reading the specified type of message.
In one embodiment, after jumping to an application interface of a target application corresponding to a specified type of message, when it is monitored that a user performs a reading operation on the specified type of message on the target application and the target application further includes an unread specified type of message, the number of messages recorded in a message feature element corresponding to the specified type of message is updated.
Specifically, if it is monitored that the user reads a specified type of message on the target application and the target application further includes the specified type of message that is not read, the number of messages of the specified type recorded in the message feature element corresponding to the specified type of message is reduced by 1.
For example, the message of the designated class is an electronic red packet message, the message characteristic element is a message characteristic card, and the number of the electronic red packets recorded in the message characteristic card is assumed to be 5. When it is monitored that the user performs the getting operation on 1 electronic red packet on the target application, the number of the red packets of the electronic red packets recorded in the message feature card corresponding to the electronic red packet message is reduced by 1 to obtain an updated message feature card, and at the moment, the number of the electronic red packets recorded in the message feature card is 4.
In one embodiment, when it is monitored that the target application does not contain the unread specified class message, the message characteristic element corresponding to the specified class message is deleted.
In the embodiment, the message feature card is continuously updated by subtracting the read specified message from the message quantity of the specified message, so that the preset feature information obtained by the user through the message feature card is always real-time and accurate, the user is prevented from repeatedly entering a reading interface of the specified message, and the efficiency of reading the specified message is improved.
In one embodiment, after jumping to an application interface of a target application corresponding to a specified class message, jumping to a display page of a message characteristic element when any one of the following conditions is met:
condition one, a read operation is received for a specified class message on the target application, and the target application also includes the specified class message that was not read.
And secondly, receiving click operation on a designated key on the application interface.
The designated key may include a physical key (or a combination of several physical keys), a preset virtual key, and the like. For example, a virtual key is displayed on the application interface, and when the user clicks the virtual key on the application interface, the current interface jumps to a display page of the message feature card.
In the embodiment, the electronic equipment can quickly jump to the display page of the message feature card from the current interface by reading the specified message and/or clicking the specified key, so that the user can conveniently continue to read the specified message, the operation of returning the display page of the message feature card by the user is simplified, and the efficiency of reading the specified message by the user is improved.
In one embodiment, the target application comprises a third specified type message and a fourth specified type message sent by different senders of the same message source, and the like; the third appointed type message and the fourth appointed type message are appointed type messages respectively sent by two senders. Wherein, different senders of the same message source, such as: different friends or different chat groups in the same social application; the third specified class of messages and the fourth specified class of messages may correspond to different message characteristic elements. The application interface of the target application corresponding to the specified class message can be jumped to by the following method:
firstly, jumping to a fifth interface containing a third appointed class message on a target application; and secondly, jumping to a display interface of the message characteristic element when the situation that the user performs reading operation on the third appointed type message is monitored. Specifically, if the sender corresponding to the third specified type message also sends the unread specified type message, the sender jumps to the message feature element corresponding to the third specified type message; and if all the appointed messages sent by the sender corresponding to the third appointed message are read, skipping to the message characteristic elements corresponding to the fourth appointed message. And then, when receiving a triggering operation of the user on the message characteristic element corresponding to the fourth specified type of message, jumping to a sixth interface containing the fourth specified type of message on the target application.
In this embodiment, by monitoring the reading operation performed by the user on the specified type of message, the electronic device can jump to the display interface of the message feature element according to the reading operation performed by the user, and further jump to the interface where the corresponding specified type of message is located according to the triggering operation performed by the user on the message feature element corresponding to the specified type of message, so that the step of reading the specified type of message is optimized, and the experience of the user is improved.
The scheme can be applied to various scenes, such as an electronic red packet positioning scene in a mobile phone, an unread message positioning scene, a virus intrusion positioning scene in a computer and the like. The message processing method provided by the above embodiment is described below by taking an electronic red packet positioning scene in a mobile phone as an example.
Fig. 2 is a schematic flow chart of a message processing method in another embodiment of the invention. In this embodiment, the specified class message is an electronic red envelope message, and the message feature element is a message feature card. The reading operation performed by the user on the specified class message is embodied as a pickup operation performed on the electronic red envelope in the embodiment. The method of fig. 2 may include:
s201, monitoring the notification bar message.
S202, when a new message is monitored, judging whether the message is an electronic red packet message; if yes, go to S203; if not, the process returns to S201.
When the notification bar message is monitored, the keywords corresponding to the electronic red packet message can be preset, and whether the received message is the electronic red packet message can be judged by monitoring whether the notification bar message of the mobile phone contains the keywords corresponding to the electronic red packet message.
When the received notification bar message is judged to be the electronic red packet message, the mobile phone analyzes the notification bar message to obtain preset characteristic information of the red packet source, the red packet sender, the red packet quantity and the like of the electronic red packet message. The red packet sender may be a friend of the user or a user in a group chat. If the sender is a friend of the user, the red packet number included in the preset characteristic information can be the red packet number of the electronic red packets sent to the user by the friend of the user; if the sender is a user in group chat, the number of red packets included in the preset feature information may be the total number of red packets of the electronic red packets received by the user through the group.
S203, acquiring the preset characteristic information of the electronic red packet message.
S204, judging whether a message feature card corresponding to the electronic red packet message sent by the same red packet sender through the same red packet source is stored in the mobile phone or not according to the preset feature information; if yes, go to S205; if not, go to S206.
The message characteristic card records preset characteristic information of red packet sources, red packet senders, red packet quantity and the like of the electronic red packets. For example, the following are recorded: "application AX chat group: the number of the uncommitted red packets: 2". If the electronic red packet message is continuously received, the message feature card corresponding to the electronic red packet message is continuously updated according to the preset feature information, as shown in fig. 3.
And S205, updating the message feature card according to the red packet quantity of the electronic red packets in the preset feature information.
S206, creating a message feature card of the electronic red packet message according to the preset feature information, and storing the created message feature card in the mobile phone.
And S207, receiving triggering operation aiming at the message characteristic card corresponding to the electronic red packet message, and determining the preset characteristic information of the electronic red packet message recorded by the message characteristic card.
In this embodiment, the triggering operation may be a click operation on a message feature card corresponding to the electronic red envelope message. The user clicks on any card, such as: application of AX chat groups: the number of the uncommitted red packets: 2, determining that the red packet source of the electronic red packet is application A, the red packet sender is a user in the X chat group, and the quantity of the unreceived red packets is 2.
S208, responding to the trigger operation, jumping to the bottommost interface of the application corresponding to the electronic red packet message, and judging whether the electronic red packet message exists on the bottommost interface; if not, executing S209; if yes, go to S210.
For example, the keyword corresponding to the preset electronic red packet message is "red packet", that is, the message including the keyword "red packet" can be regarded as the electronic red packet type message. If the user clicks the card, "apply B spring festival to snatch red envelope group: the number of the uncommitted red packets: 2, automatically jumping to the bottommost part of the application B's spring festival red packet robbing group chat interface, then acquiring all message contents of the application B's current interface, and judging whether a message containing the keyword 'red packet' exists according to the message contents; if yes, staying at the current interface to show that the position where the electronic red envelope is not received is reached, and if not, sliding the interface of the application B.
S209, sliding the application interface upwards to the interface containing the electronic red packet message.
And S210, staying at the current interface.
In the sliding process, when the interface slides to one interface, the message content on the current interface is obtained, whether the current interface has a message containing the keyword 'red packet' or not is judged, and if the current interface has the message containing the keyword 'red packet', the interface which does not receive the electronic red packet is positioned, and the interface stays at the current interface.
And S211, when receiving the receiving operation of the electronic red envelope by the user, returning the message characteristic card corresponding to the electronic red envelope message, and updating the quantity of the electronic red envelope on the message characteristic card.
In this step, if the number of electronic red packets on the message feature card is updated to 0, the message feature card is deleted.
Continuing with the above example, after the user clicks and picks up the electronic red packet, the number of the electronic red packets recorded on the message feature card is reduced by 1, and the update is that the application B spring festival robs the red packet group: the number of the uncommitted red packets: 1.
and if the user clicks the message feature card again, repeating the step S208 and getting the electronic red envelope. Until the number of electronic red packets on the message feature card is updated to 0, the message feature card is deleted.
In addition, if the newly received notification bar message is an electronic red packet message, judging whether a message feature card corresponding to the newly received notification bar message is stored in the mobile phone or not according to the preset feature information of the newly received notification bar message; if yes, updating the message feature card according to the red packet quantity of the electronic red packet; if not, a message feature card corresponding to the electronic red packet message is created according to the preset feature information, and the created message feature card is stored in the mobile phone.
In the embodiment of the invention, the specified message is received, the message characteristic element corresponding to the specified message is generated according to the preset characteristic information of the specified message, the trigger operation aiming at the message characteristic element corresponding to the specified message is further received, the trigger operation is responded, and the application interface of the target application corresponding to the specified message is skipped to, so that the operation of checking the specified message is simple, convenient and quick, the condition of overlooking the specified message can be avoided, and the experience of a user for checking the message is improved.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the invention. Referring to fig. 4, the electronic device 400 may include:
the generating module 410 is configured to receive the specified type message, and generate a message feature element corresponding to the specified type message according to preset feature information of the specified type message; the preset characteristic information comprises at least one item of information in the message sources, the sender and the message quantity of the appointed messages;
a receiving module 420, configured to receive a trigger operation for a message feature element corresponding to a specified class message;
and the skipping module 430 is configured to skip to an application interface of the target application corresponding to the specified class message in response to the trigger operation.
In one embodiment, the generation module 410 includes:
the judging unit is used for judging whether the electronic equipment stores the message characteristic elements corresponding to the specified messages or not according to the preset characteristic information of the specified messages;
if yes, updating message characteristic elements corresponding to the appointed type messages according to the number of the received appointed type messages;
if not, creating a message characteristic element of the specified message according to the preset characteristic information of the specified message, and storing the created message characteristic element in the electronic equipment.
In one embodiment, the target application at least comprises a first specified type message and a second specified type message sent by the same sender; the skip module 430 includes:
the jumping unit is used for jumping to a first interface containing a first appointed class message on the target application;
and the execution unit is used for sliding from the first interface to a second interface containing the second appointed type message when the situation that the user performs reading operation on the first appointed type message is monitored.
In one embodiment, the electronic device 400 further comprises:
and the updating module is used for updating the number of the messages recorded in the message characteristic elements corresponding to the specified messages when it is monitored that the specified messages on the target application are read by the user and the target application also contains the unread specified messages.
In one embodiment, the electronic device 400 further comprises:
and the deleting module is used for deleting the message characteristic elements corresponding to the specified messages when the condition that the target application does not contain the unread specified messages is monitored.
In one embodiment, a jump is made to a display page of message feature elements when at least one of the following conditions is met:
receiving a reading operation on a specified type message on a target application, wherein the target application also comprises the unread specified type message;
and receiving a click operation on a designated key on the application interface.
In one embodiment, the specified class message is an electronic red envelope message.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the message processing method in the foregoing method embodiments, and is not described here again to avoid repetition.
In the embodiment of the invention, the specified message is received, the message characteristic element corresponding to the specified message is generated according to the preset characteristic information of the specified message, the trigger operation aiming at the message characteristic element corresponding to the specified message is further received, the trigger operation is responded, and the application interface of the target application corresponding to the specified message is skipped to, so that the operation of viewing the specified message is simple, convenient and quick, the condition of overlooking the specified message can be avoided, and the experience of viewing the message by a user is improved.
Fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the invention.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic 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 processor 510 is configured to receive the specified type message, and generate a message feature element corresponding to the specified type message according to preset feature information of the specified type message; the preset characteristic information comprises at least one item of information in the message sources, the sender and the message quantity of the appointed messages; receiving trigger operation aiming at a message characteristic element corresponding to the specified class message; and responding to the trigger operation, and jumping to an application interface of the target application corresponding to the specified class message.
In the embodiment of the invention, the specified message is received, the message characteristic element corresponding to the specified message is generated according to the preset characteristic information of the specified message, the trigger operation aiming at the message characteristic element corresponding to the specified message is further received, the trigger operation is responded, and the application interface of the target application corresponding to the specified message is skipped to, so that the operation of viewing the specified message is simple, convenient and quick, the condition of overlooking the specified message can be avoided, and the experience of viewing the message by a user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 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 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 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 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (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 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds 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 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, 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 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an 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 posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 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 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 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 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts 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 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 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 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. 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 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 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 509 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.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the message processing method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
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 processing 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 be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 solutions of the present invention 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 (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to 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. A message processing method is applied to electronic equipment and is characterized by comprising the following steps:
receiving a specified message, and generating a message characteristic element corresponding to the specified message according to preset characteristic information of the specified message; the preset characteristic information comprises at least one item of information of message sources, senders and the number of the messages of the appointed type of messages;
receiving trigger operation aiming at the message characteristic element corresponding to the specified class message;
responding to the trigger operation, and jumping to an application interface of a target application corresponding to the specified class message;
the target application at least comprises a first appointed message and a second appointed message which are sent by the same sender; the application interface for jumping to the target application corresponding to the specified class message comprises: jumping to a first interface containing the first appointed class message on the target application; jumping to a third interface of the target application from the first interface when it is monitored that a user performs reading operation on the first specified type message; acquiring message content in the third interface; judging whether the message content contains a keyword corresponding to the specified message; if so, determining that the third interface is a second interface containing the second appointed type message;
the target application at least comprises a third appointed message and a fourth appointed message which are sent by different senders of the same message source; the third appointed type message and the fourth appointed type message respectively correspond to different message characteristic elements; the application interface for jumping to the target application corresponding to the specified class message comprises: jumping to a fifth interface containing the third appointed class message on the target application; if it is monitored that the user performs reading operation on the third specified type message and it is determined that the sender corresponding to the third specified type message also sends the specified type message which is not read, skipping to a message characteristic element corresponding to the third specified type message; and if the fact that all the appointed messages sent by the sender corresponding to the third appointed message are read is determined, jumping to the message characteristic elements corresponding to the fourth appointed message, and when a triggering operation of a user on the message characteristic elements corresponding to the fourth appointed message is received, jumping to a sixth interface containing the fourth appointed message on the target application.
2. The method according to claim 1, wherein the generating a message feature element corresponding to the specified class message according to the preset feature information of the specified class message comprises:
judging whether the electronic equipment stores message characteristic elements corresponding to the specified messages or not according to preset characteristic information of the specified messages;
if yes, updating message characteristic elements corresponding to the specified messages according to the number of the received messages of the specified messages;
if not, creating a message characteristic element of the specified message according to the preset characteristic information of the specified message, and storing the created message characteristic element in the electronic equipment.
3. The method according to claim 1, wherein after jumping to the application interface of the target application corresponding to the specified class message, further comprising:
when it is monitored that a user performs a reading operation on the specified type message on the target application and the target application further includes the specified type message which is not read, updating the message quantity recorded in the message characteristic element corresponding to the specified type message.
4. The method of claim 3, further comprising:
and when it is monitored that the target application does not contain the unread specified message, deleting the message characteristic elements corresponding to the specified message.
5. The method of claim 3, characterized by jumping to a display page of the message feature element when at least one of the following conditions is satisfied:
receiving a read operation on the specified class message on the target application, wherein the target application also comprises the specified class message which is not read;
and receiving click operation on a designated key on the application interface.
6. The method of claim 1, wherein the specified class of messages is electronic red envelope messages.
7. An electronic device, comprising:
the generation module is used for receiving the appointed message and generating a message characteristic element corresponding to the appointed message according to the preset characteristic information of the appointed message; the preset characteristic information comprises at least one item of information of message sources, senders and the number of the messages of the appointed type of messages;
the receiving module is used for receiving the triggering operation of the message characteristic element corresponding to the specified class message;
the skipping module is used for responding to the triggering operation and skipping to an application interface of the target application corresponding to the specified message;
the target application at least comprises a first appointed message and a second appointed message which are sent by the same sender; the application interface for jumping to the target application corresponding to the specified class message comprises: jumping to a first interface containing the first appointed class message on the target application; jumping to a third interface of the target application from the first interface when it is monitored that a user performs reading operation on the first specified type message; acquiring message content in the third interface; judging whether the message content contains a keyword corresponding to the specified message; if so, determining that the third interface is a second interface containing the second appointed type message;
the target application at least comprises a third appointed message and a fourth appointed message which are sent by different senders of the same message source; the third appointed type message and the fourth appointed type message respectively correspond to different message characteristic elements; the application interface for jumping to the target application corresponding to the specified class message comprises: jumping to a fifth interface containing the third appointed class message on the target application; if it is monitored that the user performs reading operation on the third specified type message and it is determined that the sender corresponding to the third specified type message also sends the specified type message which is not read, skipping to a message characteristic element corresponding to the third specified type message; and if the fact that all the appointed messages sent by the sender corresponding to the third appointed message are read is determined, jumping to the message characteristic elements corresponding to the fourth appointed message, and when a triggering operation of a user on the message characteristic elements corresponding to the fourth appointed message is received, jumping to a sixth interface containing the fourth appointed message on the target application.
8. An electronic device, comprising:
a memory storing computer program instructions;
a processor which, when executed by the processor, implements the message processing method of any of claims 1 to 6.
9. A computer-readable storage medium, comprising instructions that, when executed on a computer, cause the computer to perform the message processing method of any one of claims 1 to 6.
CN201911035063.XA 2019-10-29 2019-10-29 Message processing method and electronic equipment Active CN110795001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911035063.XA CN110795001B (en) 2019-10-29 2019-10-29 Message processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911035063.XA CN110795001B (en) 2019-10-29 2019-10-29 Message processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110795001A CN110795001A (en) 2020-02-14
CN110795001B true CN110795001B (en) 2022-03-25

Family

ID=69441881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911035063.XA Active CN110795001B (en) 2019-10-29 2019-10-29 Message processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110795001B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552418B (en) * 2020-04-27 2021-08-10 口碑(上海)信息技术有限公司 Resource information display method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051516A (en) * 2011-10-17 2013-04-17 腾讯科技(深圳)有限公司 Message prompting method and device of instant messaging client
CN104965580A (en) * 2014-05-08 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for displaying unread messages
CN105426189A (en) * 2015-11-13 2016-03-23 科大讯飞股份有限公司 Notification bar combining method and system
CN106254616A (en) * 2016-08-16 2016-12-21 努比亚技术有限公司 Missed call or the reminding method of unread short messages and device
CN106445336A (en) * 2016-09-12 2017-02-22 广东欧珀移动通信有限公司 Fast acquisition method for electronic resource and mobile terminal
CN107357481A (en) * 2016-05-10 2017-11-17 腾讯科技(深圳)有限公司 Message display method and message display device
CN109656437A (en) * 2018-11-30 2019-04-19 维沃移动通信有限公司 A kind of information display method and terminal device
CN110333955A (en) * 2019-04-30 2019-10-15 上海掌门科技有限公司 A kind of method and apparatus managing message informing in application

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051516A (en) * 2011-10-17 2013-04-17 腾讯科技(深圳)有限公司 Message prompting method and device of instant messaging client
CN104965580A (en) * 2014-05-08 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for displaying unread messages
CN105426189A (en) * 2015-11-13 2016-03-23 科大讯飞股份有限公司 Notification bar combining method and system
CN107357481A (en) * 2016-05-10 2017-11-17 腾讯科技(深圳)有限公司 Message display method and message display device
CN106254616A (en) * 2016-08-16 2016-12-21 努比亚技术有限公司 Missed call or the reminding method of unread short messages and device
CN106445336A (en) * 2016-09-12 2017-02-22 广东欧珀移动通信有限公司 Fast acquisition method for electronic resource and mobile terminal
CN109656437A (en) * 2018-11-30 2019-04-19 维沃移动通信有限公司 A kind of information display method and terminal device
CN110333955A (en) * 2019-04-30 2019-10-15 上海掌门科技有限公司 A kind of method and apparatus managing message informing in application

Also Published As

Publication number Publication date
CN110795001A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN111343081B (en) Information display method and electronic equipment
CN108845853B (en) Application program starting method and mobile terminal
CN108024019B (en) Message display method and device
CN107580147B (en) Management method of notification message and mobile terminal
CN109471690B (en) Message display method and terminal equipment
CN110196667B (en) Notification message processing method and terminal
CN110768805B (en) Group message display method and electronic equipment
CN108984066B (en) Application icon display method and mobile terminal
CN110442279B (en) Message sending method and mobile terminal
CN110971510A (en) Message processing method and electronic equipment
CN110049187B (en) Display method and terminal equipment
CN111124706A (en) Application program sharing method and electronic equipment
CN111124223A (en) Application interface switching method and electronic equipment
CN110795002A (en) Screenshot method and terminal equipment
CN108196781B (en) Interface display method and mobile terminal
CN108009031B (en) Application program control method and mobile terminal
CN111107223B (en) Message processing method and electronic equipment
CN111562959A (en) Icon management method and electronic equipment
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN108200263B (en) Information processing method and device
CN111443847B (en) Push message processing method and electronic equipment
CN110795001B (en) Message processing method and electronic equipment
CN110099170B (en) Picture deleting method and mobile terminal
CN110888572A (en) Message display method and terminal equipment
CN110750318A (en) Message reply method and device and mobile 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