CN107193664B - Message display method and device and mobile terminal - Google Patents

Message display method and device and mobile terminal Download PDF

Info

Publication number
CN107193664B
CN107193664B CN201710236996.XA CN201710236996A CN107193664B CN 107193664 B CN107193664 B CN 107193664B CN 201710236996 A CN201710236996 A CN 201710236996A CN 107193664 B CN107193664 B CN 107193664B
Authority
CN
China
Prior art keywords
application program
message
application
interface
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
CN201710236996.XA
Other languages
Chinese (zh)
Other versions
CN107193664A (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.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology 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 Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201710236996.XA priority Critical patent/CN107193664B/en
Publication of CN107193664A publication Critical patent/CN107193664A/en
Application granted granted Critical
Publication of CN107193664B publication Critical patent/CN107193664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local

Abstract

The application discloses a message display method, a message display device and a mobile terminal, wherein the method comprises the following steps: when the mobile terminal receives a message through a first application program, judging whether a first application interface of the first application program is displayed on a display screen of the mobile terminal; if not, acquiring a second application program operated at the frontmost end of the mobile terminal; and sending the message to the second application program, and displaying the message through a second application interface of the second application program. When receiving the message through the first application program, finding out a second application program operated at the frontmost end of the mobile terminal, then sending the message to the second application program, and displaying the message on a second application interface of the second application program, at the moment, a user can directly see the message through the second application interface of the second application program without entering the first application program to view the message, so that the user can conveniently view the message.

Description

Message display method and device and mobile terminal
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for displaying a message, and a mobile terminal.
Background
With the rapid development of information technology, people are increasingly unable to leave mobile terminals such as mobile phones and computers in work and life. People usually work and entertain through mobile terminals, such as watching videos and playing games through the mobile terminals.
When a user watches a video or plays a game, a program running in the background in the mobile terminal, such as WeChat, QQ and other application programs, generates a new message prompt message when receiving a new message. After seeing the prompt message of the new message, the user exits from the video or game interface and enters the application program corresponding to the new message, so that the user can view the new message.
In the prior art, when receiving a new message, a user needs to exit an application program operated at the frontmost end, enter an application program corresponding to the new message, and view the new message, thereby causing inconvenience in use for the user.
Disclosure of Invention
The application provides a message display method, a message display device and a mobile terminal, and solves the technical problem that in the prior art, when a new message is received, a user needs to quit an application program operated at the front end, then enter an application program corresponding to the new message, and check the new message, so that the user is inconvenient to use.
The application provides the following scheme:
in a first aspect, an embodiment of the present invention provides a method for displaying a message, where the method is applied in a mobile terminal, and the method includes:
when the mobile terminal receives a message through a first application program, judging whether a first application interface of the first application program is displayed on a display screen of the mobile terminal;
if not, acquiring a second application program operated at the front end of the mobile terminal, and determining whether the second application program has a message display function;
and when the second application program has the function of displaying the message, sending the message to the second application program, and displaying the message through a second application interface of the second application program.
With reference to the first aspect, in a first implementation manner of the first aspect, before sending the message to the second application program and displaying the message through a second application interface of the second application program, the method further includes:
judging whether a display screen of the mobile terminal displays a second application interface of the second application program in a full screen mode;
and if so, executing the operation of sending the message to the second application program and displaying the message through a second application interface of the second application program.
With reference to the first aspect, in a second implementation manner of the first aspect of the present invention, the second application is specifically an application in a game class or a video class.
With reference to the first aspect, in a third implementation manner of the first aspect, the sending the message to the second application includes:
the mobile terminal obtains the message received by the first application program through an operating system;
and the mobile terminal transmits the message to the second application program through an operating system.
With reference to the first aspect, in a fourth implementation manner of the first aspect, the sending the message to the second application includes:
acquiring a communication interface of the second application program;
establishing a communication connection between the first application program and the second application program through the communication interface;
sending the message to the second application over the communication connection.
With reference to the first aspect, in a fifth implementation manner of the first aspect, the method further includes:
detecting a click operation of a user on the message displayed on the second application interface;
responding to the clicking operation and displaying a reply box;
acquiring characters input to the reply box by a user;
and sending the input characters to the first application program so that the first application program replies to the received message.
With reference to the first aspect, in a sixth implementation manner of the first aspect, the method further includes:
detecting a preset sliding operation of a user on the message displayed on the second application interface;
judging whether the sliding operation is a preset sliding operation or not;
and when the sliding operation is a preset sliding operation, displaying an operation entry for deleting or hiding the message.
With reference to the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the method further includes: and when the selection operation of the operation entrance is received, generating a prompt message, wherein the prompt message is used for prompting whether the message needs to be deleted or hidden.
With reference to the sixth implementation manner of the first aspect, in an eighth implementation manner of the first aspect, the preset sliding operation is a leftward sliding operation.
With reference to the first aspect, in a ninth implementation manner of the first aspect, the displaying, by the second application program, the message on the second application interface includes:
and displaying the message and the message of the second application program on the second application interface in a distinguishing way.
With reference to the first aspect, in a tenth implementation manner of the first aspect, the displaying, by the second application program, the message on the second application interface includes:
and the message is displayed on the top of the second application interface.
With reference to the first aspect, in an eleventh implementation manner of the first aspect, the sending the message to the second application program, and displaying the message through a second application interface of the second application program include:
and sending the message and the first application program identification and/or the identity of the message sender to the second application program, and displaying the message and the first application program identification and/or the identity of the message sender through a second application interface of the second application program.
With reference to the first aspect, in a twelfth implementation manner of the first aspect, the method further includes: when the mobile terminal receives a message through a first application program, the first application program backups the message locally.
With reference to the first aspect, in a thirteenth implementation manner of the first aspect, after the sending the message to the second application program and displaying the message through a second application interface of the second application program, the method further includes:
and the second application program archives the messages according to the time sequence so as to form a message history record.
In a second aspect, an embodiment of the present application provides an apparatus for displaying a message, which is applied in a mobile terminal, and the apparatus includes:
the mobile terminal comprises a judging unit and a judging unit, wherein the judging unit is used for judging whether a first application interface of a first application program is displayed on a display screen of the mobile terminal when the mobile terminal receives a message through the first application program;
the obtaining unit is used for obtaining a second application program operated at the forefront end of the mobile terminal when a first application interface of the first application program is not displayed on a display screen of the mobile terminal;
a determination unit configured to determine whether the second application has a function of displaying a message;
a sending unit configured to send a message to the second application program when the second application program has a function of displaying the message;
and the display unit is used for displaying the message through a second application interface of the second application program.
With reference to the second aspect, in a first implementation manner of the second aspect of the present invention, the determining unit is further configured to: before the message is sent to the second application program and displayed through a second application interface of the second application program, judging whether a display screen of the mobile terminal displays the second application interface of the second application program in a full screen mode; and if so, the sending display unit executes the operation of sending the message to the second application program and displaying the message through a second application interface of the second application program.
With reference to the second aspect, in a second implementation manner of the second aspect of the present invention, the sending unit is specifically configured to: and obtaining the message received by the first application program through an operating system, and transmitting the message to the second application program through the operating system.
With reference to the second aspect, in a third implementation manner of the second aspect of the present invention, the sending unit is specifically configured to: acquiring a communication interface of the second application program; establishing a communication connection between the first application program and the second application program through the communication interface; sending the message to the second application over the communication connection.
With reference to the second aspect, in a fourth implementation manner of the second aspect of the present invention, the apparatus further includes:
the first detection unit is used for detecting the clicking operation of the user on the message displayed on the second application interface;
the response unit is used for responding to the click operation and displaying a reply box; and
the obtaining unit is used for obtaining characters input to the reply box by a user;
the sending unit is further configured to send the input character to the first application program, so that the first application program replies to the received message.
With reference to the second aspect, in a fifth implementation manner of the second aspect of the present invention, the apparatus further includes: the second detection unit is used for detecting the preset sliding operation of the user on the message displayed on the second application interface;
the judging unit is further configured to: judging whether the sliding operation is a preset sliding operation or not;
the display unit is further configured to: and when the sliding operation is a preset sliding operation, displaying an operation entry for deleting or hiding the message.
With reference to the fifth implementation manner of the second aspect, in a sixth implementation manner of the second aspect, the apparatus further includes a generating unit, configured to: and when the selection operation of the operation entrance is received, generating a prompt message, wherein the prompt message is used for prompting whether the message needs to be deleted or hidden.
With reference to the second aspect, in a seventh implementation manner of the second aspect of the present invention, the display unit is specifically configured to:
and displaying the message and the message of the second application program on the second application interface in a distinguishing way.
With reference to the second aspect, in an eighth implementation manner of the second aspect of the present invention, the display unit is specifically configured to: and the message is displayed on the top of the second application interface.
With reference to the second aspect, in a ninth implementation manner of the second aspect of the present invention, the sending unit is specifically configured to: sending the message and the first application program identification and/or the identity of the message sender to the second application program;
the display unit is specifically configured to: and displaying the message and the identification of the first application program and/or the identification of the message sender through a second application interface of the second application program.
With reference to the second aspect, in a tenth implementation manner of the second aspect of the present invention, the apparatus further includes a backup unit, where the backup unit is configured to: when the mobile terminal receives a message through a first application program, the first application program backups the message locally.
In a third aspect, an embodiment of the present application provides a mobile terminal, where the mobile terminal includes a processor and a memory, where the memory is used to store a program for executing the method, and the processor is configured to execute the program stored in the memory.
According to the specific embodiments provided herein, the present application discloses the following technical effects:
when the mobile terminal receives a message through a first application program, whether a first application interface of the first application program is displayed on a display screen of the mobile terminal is judged, if not, a second application program operated at the front end of the mobile terminal is found out, then the message is sent to the second application program, the message is displayed on the second application interface of the second application program, at the moment, a user can directly see the message through the second application interface of the second application program, the message does not need to be checked when entering the first application program, the message is convenient to check for the user, and the technical problem that when the new message is received in the prior art, the user needs to quit the application program operated at the front end, then enters the application program corresponding to the new message, checks the new message, and therefore the use of the user is inconvenient is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a message display method according to an embodiment of the present application;
fig. 2 is a flowchart of a method of transmitting the message to the second application in the message display method of fig. 1;
FIG. 3 is a flowchart of a method for sending the message to the second application according to another embodiment of the present application;
FIG. 4 is a flowchart of a method for displaying a message according to another embodiment of the present application;
FIG. 5 is a flowchart of a method for implementing reply to the message in the message display method of FIG. 1;
fig. 6 is a flowchart of a method of deleting the message in the message display method of fig. 1;
fig. 7 is a schematic structural diagram of a display device for displaying a message according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
Example one
A detailed description is given below of a message display method provided in an embodiment of the present application. The message display method is applied to a mobile terminal, and the mobile terminal can be any mobile terminal which has an application program and can receive messages, such as a mobile phone, a computer, an electronic book, a PAD and the like.
Referring to fig. 1, the message display method includes the steps of:
step 110, when the mobile terminal receives a message through a first application program, judging whether a first application interface of the first application program is displayed on a display screen of the mobile terminal;
the first application program can be one of WeChat, QQ, Taobao mobile phone, palm business hall, Jingdong, 360 film and television universe, etc.
The display screen can only display one application interface, and can also display a plurality of application interfaces simultaneously, such as split screen display and partially-shielded stacked display. When a message is received, whether the first application interface of the first application program corresponding to the message is displayed on the display screen of the mobile terminal or not is judged, whether the first application interface is displayed on the display screen independently or simultaneously with other application interfaces in a split screen mode or simultaneously displayed with other application interfaces in a partially-shielded overlapped display mode is regarded as being displayed on the display screen.
Meanwhile, when the mobile terminal receives a message through the first application program, the first application program backups the message locally, so that a user can conveniently check a message record through the first application program.
Step 120, if not, acquiring a second application program operated at the frontmost end of the mobile terminal, and determining whether the second application program has a function of displaying messages;
if none of the first application interfaces of the first application program is displayed on the display screen in the manner described above, it is determined that the first application interface is not displayed, and at this time, step 120 needs to be executed to obtain a second application program at the frontmost end of the mobile terminal and determine whether the second application program has a function of displaying messages. The application program operated at the forefront end can be an application program where an interface focused by a pointer is located, and can also be an application program where an interface currently displayed by the portable mobile terminal is located. In summary, the purpose of step 120 is to find out the second application program with all the displayed application interfaces as the carrier for displaying the message.
The second application program is an application with a message display function, and the display mode includes but is not limited to a bullet screen, a chat dialog box and the like. Specifically, the second application may be a video application, a game application, or the like.
Step 130, when the second application program has a function of displaying a message, sending the message to the second application program, and displaying the message through a second application interface of the second application program.
Specifically, the displaying the message on the second application interface through the second application program includes: and the message is displayed on the top of the second application interface. I.e. the message is placed on the uppermost layer so that it can be viewed by the user.
In addition, after sending the message to the second application and displaying the message through a second application interface of the second application, the method further comprises:
and the second application program archives the messages according to the time sequence so as to form a message history record.
That is, after the second application receives the message, the message is also archived, so that the user can view the message record through the second application.
When the first application interface of the first application program corresponding to the message is not displayed on the display screen of the mobile terminal, finding out a second application program of which the second application interface is completely displayed on the mobile terminal, and determines that the second application has a function of displaying a message, step 130 is performed, a message is sent to the second application, the message is displayed through the second application interface of the second application program, at this time, the user can directly see the message through the second application interface of the second application program, and does not need to enter the first application program to view the message, so that the user can conveniently view the message, and the technical problem that in the prior art, when receiving a new message, the user needs to exit the application program operated at the front end, enter the application program corresponding to the new message again to view the new message, so that the use of the user is inconvenient.
Specifically, the sending of the message to the second application program has at least the following two ways:
A. the operating system of the mobile terminal is an execution subject
Specifically, as shown in fig. 2, the sending the message to the second application includes:
step 1311, the mobile terminal obtains the message received by the first application program through an operating system.
Because the first application program and the second application program are installed on the operating system of the mobile terminal, the message can be acquired directly through an interface between the first application program and the operating system.
Step 1312, the mobile terminal passes the message to the second application through the operating system.
After the message is obtained, step 1312 is executed, that is, the operating system sends the obtained message to the second application program through an interface between the second application program and the operating system, so that the message is sent to the second application program, so that the second application program can display the message.
B. The first application program is an execution subject
Specifically, as shown in fig. 3, the sending the message to the second application includes:
step 1321, acquiring the open communication interface of the second application program.
The second application program needs to have a reserved open communication interface, and the first application program obtains the released communication interface through the operating system.
Step 1322 is to establish a communication connection between the first application program and the second application program through the communication interface.
After the open communication interface is obtained, a communication connection is established between the first application program and the second application program so as to realize data intercommunication.
Step 1323, sending said message to said second application over said communication connection.
That is, the first application program sends the message to the second application program through the communication connection established between the first application program and the second application program, so as to send the message to the second application program, and the second application program can display the message conveniently.
In addition, in a specific implementation process, when the first application receives the message and the application interface of the first application is not displayed on the display screen of the mobile terminal, the message of the first application can be displayed on the second application interface of the second application running at the frontmost end regardless of whether the second application interface of the second application running at the frontmost end is completely displayed in a full-screen display mode or in a non-full-screen display mode. As a better implementation manner, when the second application interface of the second application program running at the frontmost end is displayed in a full screen manner, the application displays the message of the first application program on the second application interface of the second application program running at the frontmost end.
Specifically, as shown in fig. 4, in step 130, before sending the message to the second application program, and displaying the message on the second application interface through the second application program, the method further includes:
step 121, judging whether a display screen of the mobile terminal displays a second application interface of the second application program in a full screen mode;
and if so, executing the operation of sending the message to the second application program and displaying the message on the second application interface through the second application program.
If the second application program is a video playing application program, judging whether the video playing interface occupies all screens of a display screen of the mobile terminal, and if so, displaying the video playing interface in a full screen mode. And when the second application interface is displayed in a full screen mode, displaying the message on the second application interface.
Through the step, when the second application interface is displayed in a full screen mode, if the first application program receives the message, the message is sent to the second application program and displayed through the second application interface, so that the user does not need to quit the full screen mode and enters the corresponding application program to check the message.
In the actual application process, when the first application program receives the message and the application interface of the first application program is not displayed on the display screen of the mobile terminal, the message is displayed through the second application interface of the second application program operated at the frontmost end of the mobile terminal. As a preferred implementation manner, the message of the first application program may be displayed on the second application interface of the second application program operated at the frontmost end only when the second application program operated at the frontmost end satisfies the preset type.
Furthermore, in order to distinguish content displayed on a second application interface of the second application program, the message may be distinguished from content on the second application interface. Specifically, the displaying the message on the second application interface through the second application program includes:
and displaying the message and the message of the second application program on the second application interface in a distinguishing way.
For example, a distinction may be made between colors, fonts, arrangements, positions, sizes, markings, etc., so that the user can recognize the message.
Further, when there are a plurality of messages, the messages may be from different buddies of the same application program or from different buddies of different application programs, and the manner of displaying the messages in a differentiated manner is not limited to the above manner, but may also be implemented in the following manner.
Specifically, the sending the message to the second application program, and displaying the message on the second application interface through the second application program include:
and sending the message and the first application program identification and/or the identity of the message sender to the second application program, and displaying the message and the first application program identification and/or the identity of the message sender on the second application interface through the second application program.
If the number of the messages is multiple and the messages come from different friends of the same application program, the message and the identity of the message sender can be displayed; if the messages come from different friends of different application programs, the messages, the identity of the message sender and the identity of the application program from which the messages come can be displayed, so that a user can determine the source of the messages through the identity of the application program and the identity of the message sender, and the confusion with the messages of the second application program is avoided.
After the user views the message through the second application interface of the second application program, if the user needs to reply, the user can enter the first application program to reply the message by interrupting the process operated at the front end. As a preferred implementation manner, the present application may implement the reply to the message in the following manner, specifically, as shown in fig. 5, the method further includes:
step 141, detecting a user's click operation on the message displayed on the second application interface. The click operation may be a click operation of a mouse or a click operation of a finger of a user.
And 142, responding to the clicking operation and displaying a reply box.
And step 143, acquiring the characters input into the reply box by the user. The input characters can be input through a virtual keyboard or a physical keyboard. In case that the inputted character needs to be inputted through the virtual keyboard, a reply box and a virtual keyboard may be simultaneously displayed in response to the clicking operation, so that the user may directly input information from the virtual keyboard.
Step 144, sending the input character to the first application program, so that the first application program replies to the received message.
Specifically, the operating system of the mobile terminal may obtain the input character and send the input character to the first application program; the second application may also send the entered characters to the first application based on a communication connection established with the first application, so that the message may be replied to.
If a user looks up a new message through a game interface during a game, the process running at the front end does not need to be interrupted, the first application program is started to reply the message, the reply box can be skipped out only by clicking the message, and the user can reply the message by inputting characters into the reply box, so that the user can reply the message without being interrupted.
When a large number of received messages are received or the user does not want the messages to be displayed on the interface, the caching time can be set through the system, and when the caching time is exceeded, the messages can be automatically deleted or the messages can be manually deleted by the user. As a preferred implementation, as shown in fig. 6, the method further includes:
step 151, detecting a preset sliding operation of the message displayed on the second application interface by the user. The preset sliding operation may be any sliding operation that does not conflict with other operations, such as a leftward sliding operation, a rightward sliding operation, an upward sliding operation, a downward sliding operation, a leftward upward sliding operation, and the like.
And 152, judging whether the sliding operation is a preset sliding operation. And if the sliding operation is leftward sliding operation, judging whether the sliding operation is leftward sliding operation.
And step 153, if yes, displaying an operation entry for deleting or hiding the message. When the sliding operation is a preset sliding operation, the user is considered to want to execute a deleting or hiding operation, at this time, a deleted or hidden operation entry is displayed, and the user can select the operation entry, delete or hide a message, and implement the operation of deleting or hiding the message.
Further, to avoid the misoperation, the method further comprises: and when the selection operation of the operation entrance is received, generating a prompt message, wherein the prompt message is used for prompting whether the message needs to be deleted or hidden. This can avoid the message being deleted or hidden by a malfunction.
The mobile terminal judges whether the first application interface of the first application program is displayed on the display screen of the mobile terminal or not when the first application program receives the message, if not, finds out the second application program operated at the forefront end of the mobile terminal, then, the message is sent to the second application program, and the message is displayed on a second application interface of the second application program, at this time, the user can directly see the message through the second application interface of the second application program without entering the first application program to view the message, thereby facilitating the user to view the message, solving the problems that when a new message is received in the prior art, the user needs to exit the application program operated at the front end, enter the application program corresponding to the new message, and check the new message, thereby causing the technical problem of inconvenient use of the user.
Example two
Based on the same inventive concept, the present application further provides a message display apparatus applied in a mobile terminal, as shown in fig. 7, the apparatus includes:
a determining unit 710, configured to determine whether a first application interface of a first application program is displayed on a display screen of the mobile terminal when the mobile terminal receives a message through the first application program;
an obtaining unit 720, configured to obtain a second application program that is executed at the frontmost end of the mobile terminal when the first application interface of the first application program is not displayed on the display screen of the mobile terminal;
a determining unit 730 for determining whether the second application has a function of displaying a message;
a sending unit 740, configured to send a message to the second application program when the second application program has a function of displaying the message;
a display unit 750, configured to display the message through a second application interface of the second application program.
Specifically, the determining unit 710 is further configured to: before the message is sent to the second application program and displayed through a second application interface of the second application program, judging whether a display screen of the mobile terminal displays the second application interface of the second application program in a full screen mode; and if so, the sending display unit executes the operation of sending the message to the second application program and displaying the message through a second application interface of the second application program.
Specifically, the sending unit 740 is specifically configured to: and obtaining the message received by the first application program through an operating system, and transmitting the message to the second application program through the operating system.
Specifically, the sending unit 740 is specifically configured to: acquiring a communication interface of the second application program; establishing a communication connection between the first application program and the second application program through the communication interface; sending the message to the second application over the communication connection.
Specifically, the apparatus further comprises:
the first detection unit is used for detecting the clicking operation of the user on the message displayed on the second application interface;
the response unit is used for responding to the click operation and displaying a reply box; and
the obtaining unit is used for obtaining characters input to the reply box by a user;
the sending unit 740 is further configured to send the input character to the first application program, so that the first application program replies to the received message.
Specifically, the apparatus further comprises: the second detection unit is used for detecting the preset sliding operation of the user on the message displayed on the second application interface;
the determining unit 710 is further configured to: judging whether the sliding operation is a preset sliding operation or not;
the display unit 750 is further configured to: and when the sliding operation is a preset sliding operation, displaying an operation entry for deleting or hiding the message.
Specifically, the apparatus further comprises a generating unit configured to: and when the selection operation of the operation entrance is received, generating a prompt message, wherein the prompt message is used for prompting whether the message needs to be deleted or hidden.
Specifically, the display unit 750 is specifically configured to: and displaying the message and the message of the second application program on the second application interface in a distinguishing way.
Specifically, the display unit 750 is specifically configured to: and the message is displayed on the top of the second application interface.
Specifically, the sending unit 740 is specifically configured to: sending the message and the first application program identification and/or the identity of the message sender to the second application program;
the display unit 750 is specifically configured to: and displaying the message and the identification of the first application program and/or the identification of the message sender through a second application interface of the second application program.
Specifically, the apparatus further comprises a backup unit, the backup unit is configured to: when the mobile terminal receives a message through a first application program, the first application program backups the message locally.
The mobile terminal judges whether the first application interface of the first application program is displayed on the display screen of the mobile terminal or not when the first application program receives the message, if not, finds out the second application program operated at the forefront end of the mobile terminal, then, the message is sent to the second application program, and the message is displayed on a second application interface of the second application program, at this time, the user can directly see the message through the second application interface of the second application program, the user does not need to enter the first application program to view the message, the user can conveniently view the message, and the problems that when a new message is received in the prior art, the user needs to exit the application program operated at the front end, enter the application program corresponding to the new message, and check the new message, thereby causing the technical problem of inconvenient use of the user.
EXAMPLE III
Based on the same inventive concept, an embodiment of the present invention further provides a mobile terminal, as shown in fig. 8, for convenience of description, only a portion related to the embodiment of the present invention is shown, and details of the specific technology are not disclosed, please refer to the method portion of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 8 is a block diagram showing a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention. Referring to fig. 8, the handset includes: radio Frequency (RF) circuitry 1510, memory 1520, input unit 1530, display unit 1540, sensor 1550, audio circuitry 1560, wireless-fidelity (Wi-Fi) module 1570, processor 1580, and power supply 1590. Those skilled in the art will appreciate that the handset configuration shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 8:
the RF circuit 1510 may be configured to receive and transmit signals during information transmission and reception or during a call, and in particular, receive downlink information of a base station and then process the received downlink information to the processor 1580; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1510 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 1510 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1520 may be used to store software programs and modules, and the processor 1580 performs various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 1520. The memory 1520 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 for 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 1520 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 input unit 1530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1530 may include a touch panel 1531 and other input devices 1532. The touch panel 1531, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on or near the touch panel 1531 using any suitable object or accessory such as a finger or a stylus) and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1531 may include two parts, 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, and sends the touch point coordinates to the processor 1580, and can receive and execute commands sent by the processor 1580. In addition, the touch panel 1531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1530 may include other input devices 1532 in addition to the touch panel 1531. In particular, other input devices 1532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 1540 may include a Display panel 1541, and optionally, the Display panel 1541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1531 may cover the display panel 1541, and when the touch panel 1531 detects a touch operation on or near the touch panel 1531, the touch operation is transmitted to the processor 1580 to determine the type of the touch event, and then the processor 1580 provides a corresponding visual output on the display panel 1541 according to the type of the touch event. Although in fig. 8, the touch panel 1531 and the display panel 1541 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1531 and the display panel 1541 may be integrated to implement the input and output functions of the mobile phone.
The handset can also include at least one sensor 1550, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1541 according to the brightness of ambient light and a proximity sensor that turns off the display panel 1541 and/or the backlight when the mobile phone 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), can detect the magnitude and direction of gravity when the mobile phone is stationary, can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping) and the like, and can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like, which are not described herein again.
Audio circuitry 1560, speaker 1561, and microphone 1562 may provide an audio interface between a user and a cell phone. The audio circuit 1560 may transmit the electrical signal converted from the received audio data to the speaker 1561, and convert the electrical signal into an audio signal by the speaker 1561 and output the audio signal; on the other hand, the microphone 1562 converts collected sound signals into electrical signals, which are received by the audio circuit 1560 and converted into audio data, which are processed by the audio data output processor 1580 and then passed through the RF circuit 1510 for transmission to, for example, another cellular phone, or for output to the memory 1520 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a WiFi module 1570, and provides wireless broadband internet access for the user. Although fig. 8 shows WiFi module 1570, it is understood that it does not belong to the essential components of the handset and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1520 and calling data stored in the memory 1520, thereby integrally monitoring the mobile phone. Optionally, the processor 1580 may include one or more processing units; preferably, the processor 1580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, and the like, and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor may not be integrated into the processor 1580.
The handset also includes a power supply 1590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1580 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the processor 1580 included in the terminal further has the following functions:
when the mobile terminal receives a message through a first application program, judging whether a first application interface of the first application program is displayed on a display screen of the mobile terminal;
if not, acquiring a second application program operated at the front end of the mobile terminal, and determining whether the second application program has a message display function;
and when the second application program has the function of displaying the message, sending the message to the second application program, and displaying the message through a second application interface of the second application program.
The mobile terminal judges whether the first application interface of the first application program is displayed on the display screen of the mobile terminal or not when the first application program receives the message, if not, finds out the second application program operated at the forefront end of the mobile terminal, then, the message is sent to the second application program, and the message is displayed on a second application interface of the second application program, at this time, the user can directly see the message through the second application interface of the second application program, the user does not need to enter the first application program to view the message, the user can conveniently view the message, and the problems that when a new message is received in the prior art, the user needs to exit the application program operated at the front end, enter the application program corresponding to the new message, and check the new message, thereby causing the technical problem of inconvenient use of the user.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is instructed to implement by a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
While the mobile terminal provided by the present invention has been described in detail, for those skilled in the art, the idea of the embodiment of the present invention may be changed in the specific implementation and application scope, and in summary, the content of the present description should not be construed as limiting the present invention.

Claims (18)

1. A message display method is applied to a mobile terminal, and comprises the following steps:
when the mobile terminal receives a message through a first application program, judging whether a first application interface of the first application program is displayed on a display screen of the mobile terminal;
if not, acquiring a second application program operated at the front end of the mobile terminal, and determining whether the second application program has a message display function;
when the second application program has the function of displaying the message, acquiring a communication interface of the second application program; establishing a communication connection between the first application program and the second application program through the communication interface; sending the message of the first application program to the second application program through the communication connection, and displaying the message of the first application program through a second application interface of the second application program;
the sending the message of the first application program to the second application program through the communication connection, and displaying the message of the first application program through a second application interface of the second application program, further includes: the message of the first application program and the message of the second application program are displayed on the second application interface in a distinguishing way;
the sending the message of the first application program to the second application program through the communication connection, and displaying the message of the first application program through a second application interface of the second application program, further includes: and sending the message of the first application program and the identification of the first application program and/or the identification of the message sender to the second application program, and displaying the message of the first application program and the identification of the first application program and/or the identification of the message sender through a second application interface of the second application program.
2. The method of claim 1, wherein before sending the message of the first application to the second application over the communication connection, the message of the first application is displayed through a second application interface of the second application, the method further comprises:
judging whether a display screen of the mobile terminal displays a second application interface of the second application program in a full screen mode;
and if so, executing the operation of sending the message of the first application program to the second application program and displaying the message of the first application program through a second application interface of the second application program.
3. The method according to claim 1, characterized in that the second application is in particular an application of the game class or video class.
4. The method of claim 1, further comprising:
detecting clicking operation of a user on a message of the first application program displayed on the second application interface;
responding to the clicking operation and displaying a reply box;
acquiring characters input to the reply box by a user;
and sending the input characters to the first application program so that the first application program replies to the received message.
5. The method of claim 1, further comprising:
detecting a preset sliding operation of a user on a message of the first application program displayed on the second application interface;
judging whether the sliding operation is a preset sliding operation or not;
and when the sliding operation is the preset sliding operation, displaying an operation entry for deleting or hiding the message.
6. The method of claim 5, further comprising: when the selection operation of the operation entrance is received, a prompt message is generated, and the prompt message is used for prompting whether the message needs to be deleted or hidden.
7. The method of claim 5, wherein the preset sliding operation is a leftward sliding operation.
8. The method of claim 1, wherein displaying the message of the first application through the second application interface of the second application comprises:
and the message of the first application program is displayed on the top of the second application interface.
9. The method of claim 1, further comprising: when the mobile terminal receives a message through a first application program, the first application program backups the message locally.
10. The method of claim 1, wherein after sending the message of the first application to the second application over the communication connection and displaying the message of the first application through the second application interface of the second application, the method further comprises:
and the second application program archives the messages of the first application program according to the time sequence so as to form a message history record.
11. A message display device applied in a mobile terminal comprises:
the mobile terminal comprises a judging unit and a judging unit, wherein the judging unit is used for judging whether a first application interface of a first application program is displayed on a display screen of the mobile terminal when the mobile terminal receives a message through the first application program;
the mobile terminal comprises an acquisition unit, a display unit and a processing unit, wherein the acquisition unit is used for acquiring a second application program operated at the forefront end of the mobile terminal when a first application interface of the first application program is not displayed on the display screen of the mobile terminal;
a determination unit configured to determine whether the second application has a function of displaying a message;
a sending unit, configured to acquire a communication interface of the second application program when the second application program has a function of displaying a message; establishing a communication connection between the first application program and the second application program through the communication interface; sending a message of a first application to the second application over the communication connection;
the display unit is used for displaying the message of the first application program through a second application interface of the second application program;
the display unit is further configured to: the message of the first application program and the message of the second application program are displayed on the second application interface in a distinguishing way;
the sending unit is further configured to: sending the message of the first application program and the identification mark of the first application program and/or the identification mark of the message sender to the second application program;
the display unit is further configured to: and displaying the message of the first application program and the identification of the first application program and/or the identification of the message sender through a second application interface of the second application program.
12. The apparatus of claim 11, wherein the determining unit is further configured to: sending the message of the first application program to the second application program through the communication connection, and judging whether a display screen of the mobile terminal displays a second application interface of the second application program in a full screen mode or not before displaying the message of the first application program through the second application interface of the second application program; if yes, the sending unit sends the message of the first application program to the second application program, and the display unit displays the message of the first application program through a second application interface of the second application program.
13. The apparatus of claim 11, further comprising:
the first detection unit is used for detecting the clicking operation of the user on the message of the first application program displayed on the second application interface;
the response unit is used for responding to the click operation and displaying a reply box; and
the obtaining unit is used for obtaining characters input to the reply box by a user;
the sending unit is further configured to send the input character to the first application program, so that the first application program replies to the received message.
14. The apparatus of claim 11, further comprising: the second detection unit is used for detecting the preset sliding operation of the user on the message of the first application program displayed on the second application interface;
the judging unit is further configured to: judging whether the sliding operation is a preset sliding operation or not;
the display unit is further configured to: and when the sliding operation is the preset sliding operation, displaying an operation entry for deleting or hiding the message.
15. The apparatus of claim 14, further comprising a generating unit configured to: when receiving the selection operation of the operation entrance, generating a prompt message, wherein the prompt message is used for prompting whether the message needs to be deleted or hidden.
16. The apparatus according to claim 11, wherein the display unit is specifically configured to: and the message of the first application program is displayed on the top of the second application interface.
17. The apparatus of claim 11, further comprising a backup unit configured to: when the mobile terminal receives a message through a first application program, the first application program backups the message locally.
18. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory, the memory being adapted to store a program for performing the method of any of claims 1 to 10, the processor being configured to execute the program stored in the memory.
CN201710236996.XA 2017-04-12 2017-04-12 Message display method and device and mobile terminal Active CN107193664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710236996.XA CN107193664B (en) 2017-04-12 2017-04-12 Message display method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710236996.XA CN107193664B (en) 2017-04-12 2017-04-12 Message display method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN107193664A CN107193664A (en) 2017-09-22
CN107193664B true CN107193664B (en) 2021-02-26

Family

ID=59872005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710236996.XA Active CN107193664B (en) 2017-04-12 2017-04-12 Message display method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107193664B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587322B (en) 2017-09-29 2021-07-16 华为终端有限公司 Message processing method, message viewing method and terminal
CN113542485B (en) * 2017-10-09 2023-05-05 华为技术有限公司 Notification processing method, electronic equipment and computer readable storage medium
CN107957914B (en) * 2017-11-23 2023-06-16 维沃移动通信有限公司 Information processing method and mobile terminal
CN108153601B (en) * 2018-01-05 2021-05-18 北京小米移动软件有限公司 Method and device for outputting notification information
CN108632454B (en) * 2018-03-29 2021-06-25 Oppo广东移动通信有限公司 Information processing method and device, computer readable storage medium and terminal
CN108650403B (en) * 2018-03-30 2021-01-01 努比亚技术有限公司 Message sending method, mobile terminal and server
CN109101301A (en) * 2018-06-25 2018-12-28 努比亚技术有限公司 A kind of display control method, mobile terminal and computer readable storage medium
CN109819096A (en) * 2018-11-26 2019-05-28 努比亚技术有限公司 Push display control method, terminal and the computer storage medium of notification message
CN110505349A (en) * 2019-08-28 2019-11-26 维沃移动通信有限公司 A kind of based reminding method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487796A (en) * 2015-11-25 2016-04-13 努比亚技术有限公司 Sub-screen display method and terminal
CN105677265A (en) * 2014-11-18 2016-06-15 中兴通讯股份有限公司 Display method and terminal
CN105827816A (en) * 2015-11-25 2016-08-03 维沃移动通信有限公司 Screen splitting method for terminal screen, and mobile terminal
CN105930043A (en) * 2016-04-15 2016-09-07 苏州佳世达电通有限公司 Message display method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677265A (en) * 2014-11-18 2016-06-15 中兴通讯股份有限公司 Display method and terminal
CN105487796A (en) * 2015-11-25 2016-04-13 努比亚技术有限公司 Sub-screen display method and terminal
CN105827816A (en) * 2015-11-25 2016-08-03 维沃移动通信有限公司 Screen splitting method for terminal screen, and mobile terminal
CN105930043A (en) * 2016-04-15 2016-09-07 苏州佳世达电通有限公司 Message display method and electronic device

Also Published As

Publication number Publication date
CN107193664A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN107193664B (en) Message display method and device and mobile terminal
CN104518953B (en) Method for deleting message, instant communication terminal and system
CN108024019B (en) Message display method and device
CN109154946B (en) Method and terminal for displaying collection objects
EP3015978A1 (en) Gesture-based conversation processing method, apparatus, and terminal device
CN109194818B (en) Information processing method and terminal
US20170315777A1 (en) Method, terminal, and storage medium for starting voice input function of terminal
US10652287B2 (en) Method, device, and system for managing information recommendation
CN106375179B (en) Method and device for displaying instant communication message
CN108255683B (en) Method for prompting message in terminal and terminal
CN106445596B (en) Method and device for managing setting items
CN110830363B (en) Information sharing method and electronic equipment
CN110673770B (en) Message display method and terminal equipment
CN109857297B (en) Information processing method and terminal equipment
CN110308834B (en) Setting method of application icon display mode and terminal
CN110971510A (en) Message processing method and electronic equipment
US20210320995A1 (en) Conversation creating method and terminal device
CN111596839A (en) Session interface display method, electronic device and medium
CN109271262B (en) Display method and terminal
CN105653220B (en) Screen data display method and device in remote control
CN106934003B (en) File processing method and mobile terminal
CN106293407B (en) Picture display method and terminal equipment
CN110719361B (en) Information transmission method, mobile terminal and storage medium
CN107391732B (en) Function guiding method and device of application program and terminal equipment
CN110602766A (en) Personal hotspot identification method and method for determining association relationship between terminals

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