CN109729301B - Message checking method and device - Google Patents

Message checking method and device Download PDF

Info

Publication number
CN109729301B
CN109729301B CN201811521173.2A CN201811521173A CN109729301B CN 109729301 B CN109729301 B CN 109729301B CN 201811521173 A CN201811521173 A CN 201811521173A CN 109729301 B CN109729301 B CN 109729301B
Authority
CN
China
Prior art keywords
message
unread message
unread
condition
mobile terminal
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
CN201811521173.2A
Other languages
Chinese (zh)
Other versions
CN109729301A (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 CN201811521173.2A priority Critical patent/CN109729301B/en
Publication of CN109729301A publication Critical patent/CN109729301A/en
Application granted granted Critical
Publication of CN109729301B publication Critical patent/CN109729301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a message viewing method and device. The method comprises the following steps: when the mobile terminal carries out video call and receives an unread message, a message sender of the unread message is obtained; determining whether the message sender and the video call object are the same; under the condition that the message sender is the same as the video call object, displaying the content of the unread message on a current interface of the mobile terminal; and under the condition that the message sender is different from the video call object, displaying an operation control corresponding to the unread message on the current interface. The invention can reduce the steps of manual operation of the user, reduce the manual operation process of the user, save the time of the user and further improve the use experience of the user.

Description

Message checking method and device
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for viewing a message.
Background
With the continuous development of economic technology, the internet gradually becomes the world leading, and in the short decades, the network becomes more and more perfect. The development of networks has also promoted the change of communication means, and the traditional communication mode can not meet the requirements of people. With the popularization of mobile networks, people have further requirements on network communication. The development of broadband networks changes the quality and form of traditional network communication, so that communication is not limited to common language characters any more, and friends of every party can meet each other by using videos. The existence of the video chat communication greatly reduces the cost of domestic and foreign contact and provides efficiency.
At present, in the process that a user uses video chatting software and videos of friends or family on equipment such as a mobile phone, when messages such as characters, voice, pictures and videos are received, the user needs to quit from a full-screen video, click a message notification or enter a chatting interface for sending the messages to check, and then enter the full-screen video to continue chatting, so that the operation is complex, the time of the user is wasted, and the use experience of the user is reduced.
Disclosure of Invention
The embodiment of the invention provides a message viewing method and device, and aims to solve the problems that in the prior art, when a message is received, a user needs to manually quit a full-screen video and view the message, the operation is complicated, the user time is wasted, and the user experience is reduced.
In order 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 viewing method, including: when the mobile terminal carries out video call and receives an unread message, a message sender of the unread message is obtained; determining whether the message sender and the video call object are the same; under the condition that the message sender is the same as the video call object, displaying the content of the unread message on a current interface of the mobile terminal; and under the condition that the message sender is different from the video call object, displaying an operation control corresponding to the unread message on the current interface.
In a second aspect, an embodiment of the present invention provides a message viewing apparatus, including: the message sender acquisition module is used for acquiring a message sender of the unread message when the mobile terminal carries out video call and receives the unread message; the message sender determining module is used for determining whether the message sender is the same as the video call object or not; an unread message content display module, configured to display the content of the unread message on a current interface of the mobile terminal under the condition that the message sender is the same as the video call object; and the first operation control display module is used for displaying the operation control corresponding to the unread message on the current interface under the condition that the message sender is different from the video call object.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the message viewing method described in any one of the foregoing.
In a fourth aspect, an 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 executed by a processor, the computer program implements the steps of the message viewing method described in any one of the above.
In the embodiment of the invention, the video call is carried out on the mobile terminal, the sender of the unread message is obtained when the unread message is received, the content of the unread message is displayed on the current interface of the mobile terminal under the condition that the message sender is the same as the video call object, and the operation control corresponding to the unread message is displayed on the current interface under the condition that the message sender is different from the video call object. According to the scheme provided by the embodiment of the invention, the unread message can be checked without the user exiting the current specified application program, so that the steps of manual operation of the user are reduced, the manual operation process of the user is reduced, the time of the user is saved, and the use experience of the user is further improved.
Drawings
FIG. 1 is a flowchart illustrating steps of a message viewing method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a message viewing method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram illustrating a message viewing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating a message viewing apparatus according to an embodiment of the present invention;
fig. 5 shows a block diagram of a mobile terminal 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.
Example one
Referring to fig. 1, a flowchart illustrating steps of a message viewing method according to an embodiment of the present invention is shown, where the message viewing method may be applied to a mobile terminal, and specifically may include the following steps:
step 101: and when the mobile terminal carries out video call and receives the unread message, acquiring a message sender of the unread message.
In the embodiment of the present invention, the mobile terminal may be a mobile electronic device such as a mobile phone, a PDA (Personal Digital Assistant), a tablet computer, and the like.
The mobile terminal is preloaded with applications that can be used for video calls, such as entertainment applications, game applications, and the like.
The user can carry out video chat with other users through the application program which is downloaded in the mobile terminal in advance and can carry out video conversation.
The mobile terminal may detect information of the display screen interface to determine whether the mobile terminal is currently engaged in a video call.
The unread message may be an application message or a short message, and the embodiment of the present invention does not limit this.
The mobile terminal system can determine the message sender of the unread message according to the number, name and the like of the sender by acquiring the source of the unread message, namely which application program and the like the unread message comes from.
When the mobile terminal carries out video call, whether a message (application message) pushed by an application is received or not can be detected regularly or irregularly, or a short message sent by other contacts can be detected, and once the message is detected to be received, a sender of an unread message can be obtained.
After obtaining the message sender of the unread message, step 102 is performed.
Step 102: and determining whether the message sender and the video call object are the same.
The mobile terminal may also determine information of the current video call object by acquiring the current video call object, for example, by the name of the current video call object or the number registered by the application program performing the video call.
Further, matching the obtained message sending end of the unread message with the video call object to determine whether the message sending end and the video call object are the same object, for example, if the name of the message sending end of the unread message is the name of the message sending end registered in the application program of the current video is "AAA", and the name of the current video call object registered in the application program of the current video is also "AAA", it means that the message sending end and the video call object are the same, otherwise, they are different.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
In a specific implementation, a person skilled in the art may also determine whether the unread message is the same as the video call object in other ways, and specifically, the embodiment of the present invention may be determined according to practical situations, which is not limited thereto.
In the case where the message sender is the same as the video call object, step 103 is performed.
In the case where the sender of the message is not the same as the video call object, step 104 is performed.
Step 103: and under the condition that the message sender is the same as the video call object, displaying the content of the unread message on a current interface of the mobile terminal.
Under the condition that the message sender is the same as the video call object, the content of the unread message, such as text information, picture information, voice information and the like of the unread message, can be directly displayed on the current interface of the mobile terminal. In particular, it may be determined according to actual conditions.
Step 104: and under the condition that the message sender is different from the video call object, displaying an operation control corresponding to the unread message on the current interface.
The operation control is a control which corresponds to the unread message and can be operated by the user, and the operation control can be used for prompting the user to currently receive the unread message.
The operation control may be a button, a sliding control bar, a pop-up interface, or the like, which is not limited in the embodiments of the present invention.
When the operation control is a button, whether to display the unread message can be determined according to the operation of whether the user clicks the button.
When the operation control is a sliding control bar, whether the unread message is displayed or not can be determined according to the sliding operation of the user on the sliding control bar.
When the operation control is a popup interface, buttons for opening or not opening the unread messages, such as "yes" and "no" buttons, can be displayed on the popup interface, and whether or not to display the unread messages is determined according to the operation of the user on the popup interface.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
In a specific implementation, the operation control may also be in other display manners, which is not limited in this embodiment of the present invention.
In the present invention, the color of the operation control may also be adjusted, and the number of unread messages may also be displayed on the operation control, specifically, as described in detail in the following preferred embodiments.
In a preferred embodiment of the present invention, the step 104 may include:
substep A1: displaying an operation control corresponding to the control color parameter on the current interface according to the preset control color parameter; and/or
Substep A2: and displaying a number identification corresponding to the number of the unread messages on the operation control.
In the embodiment of the present invention, a control color parameter for operating the control may also be preset in the system, and the control color parameter may be preset by the system or may be selected by the user in advance, which is not limited in this embodiment of the present invention.
And under the condition that the unread message meets the preset trigger condition, acquiring a preset control color parameter, adjusting the color of the operation control according to the control color parameter, and displaying the operation control with the adjusted color on the current interface.
Of course, the number of the unread messages may also be obtained, and a number identifier corresponding to the number of the unread messages is displayed on the operation control, for example, a numerical value "5" is displayed in the upper right corner of the operation control, which indicates that there are 5 unread messages.
After the operation control corresponding to the unread message is displayed on the current interface, whether the unread message is opened or not can be determined according to the operation of the user on the operation control. For example, when the user wants to open the unread message, the unread message can be displayed at the specified position of the current interface by clicking the operation control; and when the user does not want to open the unread message, the user does not need to do any operation on the operation control, and after the interval set time, the operation control automatically disappears.
Of course, the specified position for displaying the unread messages may be divided differently according to the display screen of the mobile terminal, for example, when the display screen is a single-sided screen, the display position may be preset on the display screen in advance, and then the unread messages are displayed at the display position. And when the display screen is a double-sided screen, the unread message can be displayed on another screen outside the screen of the foreground running appointed application program.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
According to the message viewing method provided by the embodiment of the invention, the video call is carried out on the mobile terminal, the sender of the unread message is obtained when the unread message is received, the content of the unread message is displayed on the current interface of the mobile terminal under the condition that the message sender is the same as the video call object, and the operation control corresponding to the unread message is displayed on the current interface under the condition that the message sender is different from the video call object. According to the scheme provided by the embodiment of the invention, the unread message can be checked without the user exiting the current specified application program, so that the steps of manual operation of the user are reduced, the manual operation process of the user is reduced, the time of the user is saved, and the use experience of the user is further improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of a message viewing method according to an embodiment of the present invention is shown, where the message viewing method may be applied to a mobile terminal, and specifically may include the following steps:
step 201: and when the mobile terminal carries out video call and receives the unread message, acquiring a message sender of the unread message.
In the embodiment of the present invention, the mobile terminal may be a mobile electronic device such as a mobile phone, a PDA (Personal Digital Assistant), a tablet computer, and the like.
The mobile terminal is preloaded with applications that can be used for video calls, such as entertainment applications, game applications, and the like.
The user can carry out video chat with other users through the application program which is downloaded in the mobile terminal in advance and can carry out video conversation.
The mobile terminal may detect information of the display screen interface to determine whether the mobile terminal is currently engaged in a video call.
The unread message may be an application message or a short message, and the embodiment of the present invention does not limit this.
The mobile terminal system can determine the message sender of the unread message according to the number, name and the like of the sender by acquiring the source of the unread message, namely which application program and the like the unread message comes from.
When the mobile terminal carries out video call, whether a message (application message) pushed by an application is received or not can be detected regularly or irregularly, or a short message sent by other contacts can be detected, and once the message is detected to be received, a sender of an unread message can be obtained.
After obtaining the message sender of the unread message, step 202 is performed.
Step 202: and determining whether the message sender and the video call object are the same.
The mobile terminal may also determine information of the current video call object by acquiring the current video call object, for example, by the name of the current video call object or the number registered by the application program performing the video call.
Further, the obtained message sending party of the unread message is matched with the video call object to determine whether the message sending party and the video call object are the same object, for example, when the name of the message sending party of the unread message is the name of "BBB" registered by the message sending party in the application program of the current video, and the name of the current video call object registered in the application program of the current video is also "BBB", it means that the message sending party and the video call object are the same, otherwise, they are different.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
In a specific implementation, a person skilled in the art may also determine whether the unread message is the same as the video call object in other ways, and specifically, the embodiment of the present invention may be determined according to practical situations, which is not limited thereto.
In case the sender of the message is the same as the video call object, step 203 is performed.
In the case where the message sender is not the same as the video call object, step 204 is performed.
Step 203: and under the condition that the message sender is the same as the video call object, displaying the content of the unread message on a current interface of the mobile terminal.
Under the condition that the message sender is the same as the video call object, the content of the unread message, such as text information, picture information, voice information and the like of the unread message, can be directly displayed on the current interface of the mobile terminal. In particular, it may be determined according to actual conditions.
Step 204: and under the condition that the message sender is different from the video call object, judging whether the unread message meets a preset trigger condition.
In this embodiment of the present invention, the preset trigger condition may include any one of an unread message importance coefficient condition, an unread message number condition, an unread message receiving frequency condition, and the like.
The following is a discussion of the three conditions described above.
1. Unread message importance factor condition
The unread message importance coefficient condition refers to an importance degree condition of the unread message.
A preset importance coefficient is preset in the mobile terminal, and the preset importance coefficient may be a coefficient preset by the system and may be used to indicate the importance of the message.
The importance factor of the unread message can be determined according to the type of the unread message, for example, the unread message is a simple expression or a picture, a voice or video file, etc., which indicates that the unread message is not important, and the importance factor of the unread message can be marked as low; when the unread message is a character message with more numbers, the unread message of the specification is more important, and the important coefficient of the unread message can be marked as high. Corresponding important coefficients can be preset for different types of messages, and after the unread messages are obtained, the important coefficients can be compared with preset important coefficients according to the unread messages to judge whether the important coefficients of the unread messages reach the preset important coefficients or not.
2. Unread message number condition
The unread message number condition refers to a condition of the number of unread messages received.
The preset number of messages is preset in the mobile terminal, and may be a preset number of messages of the system, and the preset number of messages may be 3 or 5, and the like.
When the unread messages are received, whether the number of the unread messages reaches the number of the preset messages can be judged, and whether the unread messages meet the preset triggering conditions or not is determined.
3. Unread message reception frequency conditions
The unread message reception frequency condition refers to the number of unread messages received per unit time.
A preset reception frequency may also be preset in the mobile terminal,
the preset receiving frequency may be a receiving frequency preset by the system, and refers to the number of unread messages received in a unit time, and a specific value of the preset receiving frequency may be determined according to an actual situation, which is not limited in the embodiment of the present invention.
When the unread message is received, the receiving frequency of the unread message can be acquired, and then the receiving frequency is compared with the preset receiving frequency to determine whether the unread message meets the preset trigger condition.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
Of course, in a specific implementation, a person skilled in the art may also determine whether the unread message satisfies the preset trigger condition in other ways, which is not limited in the embodiment of the present invention.
Of course, when the mobile terminal receives the unread message, the application program receiving the unread message can be judged, and if the application program receiving the unread message is the application program running in the foreground of the mobile terminal, the application program can directly enter the message viewing interface to view the unread message.
Step 205: and under the condition that the unread message meets a preset trigger condition, displaying the operation control on the current interface.
The operation control is a control which corresponds to the unread message and can be operated by the user, and the operation control can be used for prompting the user to currently receive the unread message.
The operation control may be a button, a sliding control bar, a pop-up interface, or the like, which is not limited in the embodiments of the present invention.
When the operation control is a button, whether to display the unread message can be determined according to the operation of whether the user clicks the button.
When the operation control is a sliding control bar, whether the unread message is displayed or not can be determined according to the sliding operation of the user on the sliding control bar.
When the operation control is a popup interface, buttons for opening or not opening the unread messages, such as "yes" and "no" buttons, can be displayed on the popup interface, and whether or not to display the unread messages is determined according to the operation of the user on the popup interface.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
In a specific implementation, the operation control may also be in other display manners, which is not limited in this embodiment of the present invention.
In the invention, the color of the operation control can be adjusted, and the number of unread messages can be displayed on the operation control.
In the embodiment of the present invention, a control color parameter for operating the control may also be preset in the system, and the control color parameter may be preset by the system or may be selected by the user in advance, which is not limited in this embodiment of the present invention.
And under the condition that the unread message meets the preset trigger condition, acquiring a preset control color parameter, adjusting the color of the operation control according to the control color parameter, and displaying the operation control with the adjusted color on the current interface.
Of course, the number of the unread messages may also be obtained, and a number identifier corresponding to the number of the unread messages is displayed on the operation control, for example, a numerical value "5" is displayed in the upper right corner of the operation control, which indicates that there are 5 unread messages.
After the operation control is displayed on the current interface, step 206 is executed, or step 207 is executed.
Step 206: and under the condition that the display screen of the mobile terminal is a single-side screen, displaying the content of the unread message at the specified position of the current interface.
The designated position refers to a certain position on a single-side screen of the mobile terminal, for example, an upper left corner position or a lower right corner position of the single-side screen, and the like, which is not limited in this embodiment of the present invention.
The designated position may be a position preset by the mobile terminal, or may be a position determined comprehensively according to information display information of a current display interface of the mobile terminal, and specifically, may be determined according to an actual situation, which is not limited in the embodiment of the present invention.
After the click operation of the user on the operation control is obtained, whether the display screen of the mobile terminal is a single-side screen or not can be judged, under the condition that the display screen of the mobile terminal is the single-side screen, the content of the unread message can be displayed at the specified position of the current interface, so that the user can look up the unread message under the condition that the currently running specified application program is not closed, the user is prevented from switching the application program running in the foreground, more manual operation steps are not required to be carried out by the user, and the operation of the user is greatly facilitated.
After the contents of the unread message are presented at the specified location of the current interface, step 208 is performed.
Step 207: under the condition that a display screen of the mobile terminal is a double-sided screen, displaying the content of the unread message on a first screen; wherein the current interface is located on a second screen.
After the click operation of the user on the operation control is obtained, whether the display screen of the mobile terminal is a double-sided screen or not can be judged, under the condition that the display screen of the mobile terminal is the double-sided screen, an interface for specifying the foreground running of the application program is displayed on the second screen, the unread message can be displayed on the first screen, the user does not need to switch the application program running on the foreground, the user does not need to perform more manual operation steps, and the operation of the user is greatly facilitated.
After the contents of the unread message are displayed on the first screen, step 209 is performed.
Step 208: and canceling the display of the content of the unread message at the specified position according to the first message closing operation executed by the user on the current interface.
Under the condition that the display screen of the mobile terminal is a single-side screen, after the user finishes viewing the unread messages, a closing button or a closing key and the like can be displayed on the current interface, and the user can click the closing button or the closing key to cancel the display of the unread messages.
Step 209: and canceling the display of the content of the unread message on the first screen according to a second message closing operation executed by the user on the first screen.
Under the condition that the display screen of the mobile terminal is a double-sided screen, after the user finishes viewing the unread messages, when the unread messages are displayed on the second screen, a corresponding closing button or closing button can be displayed, and the user can click the closing button or closing button to cancel the display of the unread messages on the first screen.
The message viewing method provided by the embodiment of the invention has the beneficial effects that the message viewing method shown in the first embodiment has, and can be combined with a single-side screen or a double-side screen of the mobile terminal, so that the unread messages can be displayed in different display modes, and the use experience of a user can be further improved while the unread messages are rapidly viewed.
EXAMPLE III
Referring to fig. 3, a schematic structural diagram of a message viewing apparatus provided in an embodiment of the present invention is shown, where the message viewing apparatus may be applied to a mobile terminal, and specifically may include:
a message sender obtaining module 310, configured to obtain a message sender of an unread message when the mobile terminal performs a video call and receives the unread message; a message sender determining module 320, configured to determine whether the message sender is the same as the video call object; an unread message content display module 330, configured to display the content of the unread message on a current interface of the mobile terminal under the condition that the message sender is the same as the video call object; a first operation control display module 340, configured to display, on the current interface, an operation control corresponding to the unread message when the message sender is different from the video call object.
Preferably, the first operation control showing module 340 includes: the control color display sub-module is used for displaying an operation control corresponding to the control color parameter on the current interface according to the preset control color parameter; and/or an unread number display sub-module, configured to display a number identifier corresponding to the number of the unread messages on the operation control.
The message viewing device provided by the embodiment of the invention obtains the sender of the unread message by carrying out video call on the mobile terminal and receiving the unread message, displays the content of the unread message on the current interface of the mobile terminal under the condition that the message sender is the same as the video call object, and displays the operation control corresponding to the unread message on the current interface under the condition that the message sender is different from the video call object. According to the scheme provided by the embodiment of the invention, the unread message can be checked without the user exiting the current specified application program, so that the steps of manual operation of the user are reduced, the manual operation process of the user is reduced, the time of the user is saved, and the use experience of the user is further improved.
Example four
Referring to fig. 4, a schematic structural diagram of a message viewing apparatus provided in an embodiment of the present invention is shown, where the message viewing apparatus may be applied to a mobile terminal, and specifically may include:
a message sender obtaining module 410, configured to obtain a message sender of an unread message when the mobile terminal performs a video call and receives the unread message; a message sender determining module 420, configured to determine whether the message sender is the same as the video call object; an unread message content display module 430, configured to display the content of the unread message on a current interface of the mobile terminal under the condition that the message sender is the same as the video call object; a trigger condition determining module 440, configured to determine whether the unread message meets a preset trigger condition under the condition that the message sender is different from the video call object; a second operation control display module 450, configured to display the operation control on the current interface when the unread message meets a preset trigger condition; the preset trigger condition comprises any one of an unread message important coefficient condition, an unread message number condition and an unread message receiving frequency condition; a first unread message display module 460, configured to display the content of the unread message at a specified position of the current interface when a display screen of the mobile terminal is a single-sided screen; or the second unread message presentation module 470, configured to display the content of the unread message on the first screen when the display screen of the mobile terminal is a dual-sided screen; wherein the current interface is located on a second screen; a first cancellation display module 480, configured to cancel, according to a first message closing operation executed by the user on the current interface, display of the content of the unread message at the specified position; or the second cancellation displaying module 490, configured to cancel, according to a second message closing operation performed by the user on the first screen, display of the content of the unread message on the first screen.
The message viewing device provided by the embodiment of the invention not only has the beneficial effects of the message viewing device shown in the third embodiment, but also can be combined with a single-side screen or a double-side screen of the mobile terminal, so that the unread messages can be displayed in different display modes, and the use experience of a user can be further improved while the unread messages are rapidly viewed.
EXAMPLE five
Referring to fig. 5, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
The mobile terminal 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 mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal 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 mobile terminal 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.
A processor 510, configured to obtain a message sender of an unread message when the mobile terminal performs a video call and receives the unread message; determining whether the message sender and the video call object are the same; under the condition that the message sender is the same as the video call object, displaying the content of the unread message on a current interface of the mobile terminal; and under the condition that the message sender is different from the video call object, displaying an operation control corresponding to the unread message on the current interface.
In the embodiment of the invention, the video call is carried out on the mobile terminal, the sender of the unread message is obtained when the unread message is received, the content of the unread message is displayed on the current interface of the mobile terminal under the condition that the message sender is the same as the video call object, and the operation control corresponding to the unread message is displayed on the current interface under the condition that the message sender is different from the video call object. According to the scheme provided by the embodiment of the invention, the unread message can be checked without the user exiting the current specified application program, so that the steps of manual operation of the user are reduced, the manual operation process of the user is reduced, the time of the user is saved, and the use experience of the user is further 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 mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
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 mobile terminal 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 mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved 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 posture of the mobile terminal (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 mobile terminal. 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 mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 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 mobile terminal 500 or may be used to transmit data between the mobile terminal 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 mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating 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 mobile terminal. 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 mobile terminal 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 that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, 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 above-mentioned message viewing 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 viewing 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 (10)

1. A message viewing method is applied to a mobile terminal, and is characterized by comprising the following steps:
when the mobile terminal carries out video call and receives an unread message, a message sender of the unread message is obtained;
determining whether the message sender and the video call object are the same;
under the condition that the message sender is the same as the video call object, displaying the content of the unread message on a current interface of the mobile terminal;
under the condition that the message sender is different from the video call object, displaying an operation control corresponding to the unread message on the current interface;
before the step of displaying the operation control corresponding to the unread message on the current interface, the method further includes:
under the condition that the message sender is different from the video call object, judging whether the unread message meets a preset trigger condition;
under the condition that the unread message meets a preset trigger condition, displaying the operation control on the current interface;
the preset triggering condition comprises any one of an unread message importance coefficient condition, an unread message number condition and an unread message receiving frequency condition.
2. The method according to claim 1, wherein the step of displaying the operation control corresponding to the unread message on the current interface comprises:
displaying an operation control corresponding to the control color parameter on the current interface according to the preset control color parameter; and/or
And displaying a number identification corresponding to the number of the unread messages on the operation control.
3. The method according to claim 1, further comprising, after the step of presenting the operation control corresponding to the unread message on the current interface:
under the condition that a display screen of the mobile terminal is a single-side screen, displaying the content of the unread message at the specified position of the current interface; or
Under the condition that a display screen of the mobile terminal is a double-sided screen, displaying the content of the unread message on a first screen; wherein the current interface is located on a second screen.
4. The method of claim 3, further comprising, after the step of displaying the unread message at the specified location of the current interface:
canceling the display of the content of the unread message at the designated position according to a first message closing operation executed by the user on the current interface; or
And canceling the display of the content of the unread message on the first screen according to a second message closing operation executed by the user on the first screen.
5. A message viewing device applied to a mobile terminal is characterized by comprising:
the message sender acquisition module is used for acquiring a message sender of the unread message when the mobile terminal carries out video call and receives the unread message;
the message sender determining module is used for determining whether the message sender is the same as the video call object or not;
an unread message content display module, configured to display the content of the unread message on a current interface of the mobile terminal under the condition that the message sender is the same as the video call object;
the first operation control display module is used for displaying the operation control corresponding to the unread message on the current interface under the condition that the message sender is different from the video call object;
the trigger condition judging module is used for judging whether the unread message meets preset trigger conditions or not under the condition that the message sender is different from the video call object;
the second operation control display module is used for displaying the operation control on the current interface under the condition that the unread message meets a preset trigger condition;
the preset triggering condition comprises any one of an unread message importance coefficient condition, an unread message number condition and an unread message receiving frequency condition.
6. The apparatus of claim 5, wherein the first operation control presentation module comprises:
the control color display sub-module is used for displaying an operation control corresponding to the control color parameter on the current interface according to the preset control color parameter; and/or
And the unread number display submodule is used for displaying the number identification corresponding to the number of the unread messages on the operation control.
7. The apparatus of claim 5, further comprising:
the first unread message display module is used for displaying the content of the unread message at the specified position of the current interface under the condition that the display screen of the mobile terminal is a single-sided screen; or
The second unread message display module is used for displaying the content of the unread message on the first screen under the condition that the display screen of the mobile terminal is a double-sided screen; wherein the current interface is located on a second screen.
8. The apparatus of claim 5, further comprising:
a first cancellation display module, configured to cancel, according to a first message closing operation performed by the user on the current interface, display of content of the unread message at the specified location; or
And the second cancellation display module is used for canceling the display of the content of the unread message on the first screen according to a second message closing operation executed by the user on the first screen.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the message viewing method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the message viewing method according to any one of claims 1 to 4.
CN201811521173.2A 2018-12-12 2018-12-12 Message checking method and device Active CN109729301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811521173.2A CN109729301B (en) 2018-12-12 2018-12-12 Message checking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811521173.2A CN109729301B (en) 2018-12-12 2018-12-12 Message checking method and device

Publications (2)

Publication Number Publication Date
CN109729301A CN109729301A (en) 2019-05-07
CN109729301B true CN109729301B (en) 2021-02-09

Family

ID=66295689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811521173.2A Active CN109729301B (en) 2018-12-12 2018-12-12 Message checking method and device

Country Status (1)

Country Link
CN (1) CN109729301B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290052B (en) * 2019-05-31 2022-11-01 维沃移动通信有限公司 Session processing method and device and mobile terminal
CN111163224B (en) * 2019-12-27 2021-07-30 维沃移动通信有限公司 Voice message playing method and electronic equipment
CN114244639B (en) * 2021-12-16 2023-08-11 亿咖通(湖北)技术有限公司 Method for processing object with unread information in chat tool and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8103868B2 (en) * 2005-04-20 2012-01-24 M-Qube, Inc. Sender identification system and method
CN104469247B (en) * 2013-09-15 2018-12-14 联想(北京)有限公司 A kind of information processing method, information display method and electronic equipment
CN106878143A (en) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 Message treatment method and terminal
CN108632129B (en) * 2017-03-15 2021-07-02 阿里巴巴集团控股有限公司 Message prompting method, message display method and related device
CN108762391A (en) * 2018-05-25 2018-11-06 努比亚技术有限公司 Terminal control method, flexible terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN109729301A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN107734175B (en) Notification message prompting method and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN108540655B (en) Caller identification processing method and mobile terminal
CN109101147B (en) Message notification display method and terminal
CN111343081A (en) Information display method and electronic equipment
CN108920059B (en) Message processing method and mobile terminal
CN111666009B (en) Interface display method and electronic equipment
CN108874352B (en) Information display method and mobile terminal
CN109525710B (en) Method and device for accessing application program
CN111130989B (en) Information display and sending method and electronic equipment
CN108391008B (en) Message reminding method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN107734172B (en) Information display method and mobile terminal
CN110138967B (en) Terminal operation control method and terminal
CN109889757B (en) Video call method and terminal equipment
CN109729301B (en) Message checking method and device
CN111596839A (en) Session interface display method, electronic device and medium
CN110855549A (en) Message display method and terminal equipment
CN109271262B (en) Display method and terminal
CN111124706A (en) Application program sharing method and electronic equipment
CN111459447B (en) Volume adjustment display method and electronic equipment
CN109982273B (en) Information reply method and mobile terminal
CN109257489B (en) Display method and mobile terminal
CN108093119B (en) Strange incoming call number marking method 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