CN108228033A - A kind of message display method and mobile terminal - Google Patents

A kind of message display method and mobile terminal Download PDF

Info

Publication number
CN108228033A
CN108228033A CN201810083310.2A CN201810083310A CN108228033A CN 108228033 A CN108228033 A CN 108228033A CN 201810083310 A CN201810083310 A CN 201810083310A CN 108228033 A CN108228033 A CN 108228033A
Authority
CN
China
Prior art keywords
message
node
history
incidence relation
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810083310.2A
Other languages
Chinese (zh)
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 CN201810083310.2A priority Critical patent/CN108228033A/en
Publication of CN108228033A publication Critical patent/CN108228033A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of message display method and mobile terminal, this method include:First touch control operation of the user at session interface is received, target message is determined in the session interface according to first touch control operation;Display and the associated history message of the target message in predeterminable area.The present invention will include with the associated history message of target message in predeterminable area, history message be searched convenient for user, so as to improve the display effect of history message.

Description

A kind of message display method and mobile terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of message display methods and mobile terminal.
Background technology
With the rapid development of mobile terminal, mobile terminal has become essential a kind of tool in people's life, And the various aspects for user's life are brought great convenience.It is mobile whole in order to make can preferably to be linked up between user The communication software at end can have a function of chat, and chat have become it is a kind of common between friend, classmate or team Communication way can make more easily to share opinion between multiple users, be linked up by chat.
But since, there may be the message that multiple users send, the discussion of different topics may phase in chat process Mutually interference, it is which problem be directed to that the answer of a certain sentence, which is not often known, yet, so that user is difficult that find oneself required Message.As it can be seen that in the prior art, the display effect of the message in chat process is poor.
Invention content
The embodiment of the present invention provides a kind of message display method and mobile terminal, and chat process is carried out to solve mobile terminal In message display effect it is poor the problem of.
In order to solve the above-mentioned technical problem, the invention is realized in this way:A kind of message display method, including:
First touch control operation of the user at session interface is received, according to first touch control operation in the session interface Determine target message;
Display and the associated history message of the target message in predeterminable area.
In a first aspect, an embodiment of the present invention provides a kind of message display method, including:
First touch control operation of the user at session interface is received, according to first touch control operation in the session interface Determine target message;
Display and the associated history message of the target message in predeterminable area.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:
First receiving module for receiving first touch control operation of the user at session interface, is grasped according to first touch-control Make to determine target message in the session interface;
First display module, for the display in predeterminable area and the associated history message of the target message.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including processor, memory and are stored in described It is real when the computer program is performed by the processor on memory and the computer program that can run on the processor The step of existing above-mentioned message display method.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, the step of computer program realizes above-mentioned message display method when being executed by processor.
In embodiments of the present invention, first touch control operation of the user at session interface is received, is grasped according to first touch-control Make to determine target message in the session interface;Display and the associated history message of the target message in predeterminable area. In this way, will include in predeterminable area with the associated history message of target message, history message is searched convenient for user, so as to improve The display effect of history message.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow chart for the message display method that one embodiment of the invention provides;
Fig. 2 is the flow chart for the message display method that further embodiment of this invention provides;
Fig. 3 is a kind of display schematic diagram at session interface that one embodiment of the invention provides;
Fig. 4 is the schematic diagram of the node in a kind of doubly linked list that one embodiment of the invention provides;
Fig. 5 is a kind of one of schematic diagram of doubly linked list that one embodiment of the invention provides;
Fig. 6 is the two of the schematic diagram for a kind of doubly linked list that one embodiment of the invention provides;
Fig. 7 is one of structure chart of mobile terminal that one embodiment of the invention provides;
Fig. 8 is the two of the structure chart for the mobile terminal that one embodiment of the invention provides;
Fig. 9 is the structure chart of the first searching module of the mobile terminal that one embodiment of the invention provides;
Figure 10 is the three of the structure chart for the mobile terminal that one embodiment of the invention provides;
Figure 11 is the structure chart for establishing module for the mobile terminal that one embodiment of the invention provides;
Figure 12 is the four of the structure chart for the mobile terminal that one embodiment of the invention provides;
Figure 13 is the structure chart of the second display module of the mobile terminal that one embodiment of the invention provides;
Figure 14 is the structure chart for the mobile terminal that further embodiment of this invention provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is the flow chart of message display method provided in an embodiment of the present invention, as shown in Figure 1, including with Lower step:
Step 101 receives first touch control operation of the user at session interface, according to first touch control operation in the meeting It talks about and target message is determined in interface.
In the embodiment of the present invention, above-mentioned session interface can be the social software that mobile terminal carries session interface or Person can also be session interface of social software that mobile terminal is downloaded etc..It can be carried out in session interface with a user Dialogue can also engage in the dialogue etc. with multiple users.Above-mentioned first touch control operation, can be one click operation or Person can also be double click operation etc..For example, user clicks some message in session interface, it is possible to click user Message be determined as target message.
Step 102, display and the associated history message of the target message in predeterminable area.
In the embodiment of the present invention, above-mentioned predeterminable area can be the upper left corner on mobile terminal screen, the upper right corner, the lower left corner or One region in the person lower right corner.The shape of above-mentioned predeterminable area can be rectangle, diamond shape or some other shapes, to this Inventive embodiments are not construed as limiting.The above-mentioned and associated history message of target message, can be that there are identical passes with target message The message of key word can also be that there are some message of preset incidence relation etc. with target message.Certainly, default In region other than showing above-mentioned history message, above-mentioned target message can also be shown.
In the embodiment of the present invention, display and the associated history message of the target message in predeterminable area, then user These message can be directly checked in predeterminable area, without in numerous message (for example, what is sent during group chat is very much Message) in search the message that oneself is needed, user is made to operate more convenient, mobile terminal in chat process message it is aobvious Show that effect is also improved.
In the embodiment of the present invention, above-mentioned mobile terminal can be mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
A kind of message display method of the embodiment of the present invention receives first touch control operation of the user at session interface, according to First touch control operation determines target message in the session interface;Display is closed with the target message in predeterminable area The history message of connection.In this way, will include in predeterminable area with the associated history message of target message, history is searched convenient for user Message, so as to improve the display effect of history message.
Referring to Fig. 2, Fig. 2 is the flow chart of message display method provided in an embodiment of the present invention.The present embodiment and last reality The main distinction for applying example is in this method in preset first incidence relation, searches whether to exist associated with target message History message;If there are history message in preset first incidence relation, display and target message pass in predeterminable area The history message of connection.As shown in Fig. 2, include the following steps:
Step 201 receives first touch control operation of the user at session interface, according to first touch control operation in the meeting It talks about and target message is determined in interface.
In the embodiment of the present invention, above-mentioned session interface can be the social software that mobile terminal carries session interface or Person can also be session interface of social software that mobile terminal is downloaded etc..It can be carried out in session interface with a user Dialogue can also engage in the dialogue etc. with multiple users.Above-mentioned first touch control operation, can be one click operation or Person can also be double click operation etc..For example, user clicks some message in session interface, it is possible to click user Message be determined as target message.
Step 202, in preset first incidence relation, search whether exist disappear with the associated history of the target message Breath.
In the embodiment of the present invention, above-mentioned first incidence relation can be queue or chained list.When in the element of queue During including target message, the other elements in queue can be considered and the associated history message of target message.Alternatively, work as chain When the node of table includes target message, other nodes in chained list can be considered to disappear with the associated history of target message Breath.
If step 203, there are the history messages in preset first incidence relation, shown in the predeterminable area Show and the associated history message of the target message.
In the embodiment of the present invention, above-mentioned predeterminable area can be the upper left corner on mobile terminal screen, the upper right corner, the lower left corner or One region in the person lower right corner.The shape of above-mentioned predeterminable area can be rectangle, diamond shape or some other shapes, to this Inventive embodiments are not construed as limiting.The above-mentioned and associated history message of target message, can be that there are identical passes with target message The message of key word can also be that there are some message of preset incidence relation etc. with target message.Certainly, default In region other than showing above-mentioned history message, above-mentioned target message can also be shown.
In the embodiment of the present invention, display and the associated history message of the target message in predeterminable area, then user These message can be directly checked in predeterminable area, without in numerous message (for example, what is sent during group chat is very much Message) in search the message that oneself is needed, user is made to operate more convenient, mobile terminal in chat process message it is aobvious Show that effect is also improved.
It should be noted that if there is no the history messages in preset first incidence relation, can continue to search for, It can also terminate flow, Fig. 2 in the embodiment of the present invention is illustrated to terminate flow.
In order to be better understood from display and the associated history message of target message in predeterminable area, we can refer to figure 3, Fig. 3 be a kind of display schematic diagram at session interface provided in an embodiment of the present invention.It will be seen that user is selecting in Fig. 3 Select " first:What is patent of invention " after, in the predeterminable area in the upper right corner at session interface, display and " first:What is invention The associated history message of patent ".Certainly, after these history messages can be the reply relationship that multiple terminals are collected by server Determining history message, and the incidence relation between history message is established, it is every in group chat so as to which the incidence relation be sent to One user, facilitates each user to be checked.Certainly, the message of predeterminable area is supported to roll and be slided, and predeterminable area can be with Dragging, size can stretch.
Optionally, first incidence relation is doubly linked list, described in preset first incidence relation, is searched whether The step of in the presence of history message associated with the target message, including:
In the node of the doubly linked list, search whether to be stored with the node of the target message and storage There is the node of the history message;
If in the node of the doubly linked list, there is the node for being stored with the target message and be stored with described The node of history message, it is determined that there are the history messages in first incidence relation.
It, in this way can be from one in doubly linked list using doubly linked list as the first incidence relation in present embodiment Node starts, and is forwardly and rearwardly searched together, can improve the speed of lookup in this way.
Optionally, existed according to first touch control operation in first touch control operation at session interface in the reception user Before the step of target message is determined in the session interface, the method further includes:
Second touch control operation of the user at the session interface is received, according to second touch control operation in session circle First message is determined in face;
The second message that user inputs in input frame is received, and the transmission received to the second message instructs;
It responds described send to instruct, the first message and the second message is established into first incidence relation.
In present embodiment, above-mentioned second touch control operation can be one click operation or a double click operation Etc..For example, user clicks some message in session interface, it is possible to which the message that user clicks is determined as first message. The above-mentioned transmission to second message instructs, and can be the instruction of generation after user clicks send button.Or can also move Dynamic terminal is after the sound of " transmission " that user says is received, the instruction of generation.
In present embodiment, first message and second message are established into the first incidence relation, can be by first message with Second message is stored in same queue or can also be that first message and second message are stored in same chained list Etc..It is, of course, also possible to incidence relation is established there are the message of reply relationship between multiple terminals by server, and will These incidence relations are sent to each and participate in the terminal of the user in chat, and user each in this way can be according to the pass Connection relationship searches the content with incidence relation.
Optionally, first incidence relation is doubly linked list, described to build the first message and the second message The step of founding first incidence relation, including:
The first message is stored in first node, and by the posterior nodal point pointer of the first node, is directed toward second The front nodal point pointer of node;
The second message is stored in the second node, and by the front nodal point pointer of the second node, be directed toward The posterior nodal point pointer of the first node;
Wherein, the first node and the second node belong to the node in the doubly linked list.
In present embodiment, the first message is stored in first node, and by the posterior nodal point of the first node Pointer, is directed toward the front nodal point pointer of second node, and second node can be found in this way by being searched backward from first node.By institute It states second message to be stored in the second node, and by the front nodal point pointer of the second node, is directed toward the first node Posterior nodal point pointer, can find first node from second node Look-ahead in this way.First is disappeared by doubly linked list Breath and second message opening relationships, when learning some node, it is possible to easily search another node.
In order to be better understood from the above process, we can refer to Fig. 4 and Fig. 5.Fig. 4 is provided in an embodiment of the present invention one The schematic diagram of node in kind doubly linked list, Fig. 5 is a kind of schematic diagram of doubly linked list provided in an embodiment of the present invention.In Fig. 4 It is recognised that a node, there are three parts, A is the front nodal point pointer of the node, B is the message of node storage, and C is The posterior nodal point pointer of the node.
We are referring again to Fig. 5 at this time, and the node on the doubly linked list left side can be understood as first node, the section on the right in Fig. 5 Point can be understood as second node.First message is stored in first node, second message is stored in second node.Also, The posterior nodal point pointer of first node is directed toward the front nodal point pointer of second node;The front nodal point pointer of second node is directed toward first segment The posterior nodal point pointer of point.
Certainly, in addition to this doubly linked list is there may also be more nodes, so as to store more message, and by these Message is associated by same doubly linked list.We can refer to Fig. 6 at this time, and Fig. 6 is provided in an embodiment of the present invention one The schematic diagram of kind doubly linked list.In this way in same doubly linked list, as long as obtaining one of message, it is possible to find double Other message stored into chained list.
Optionally, the method further includes:
Determine third message in the session interface, the third message is that other except the target message disappear Breath;
In first incidence relation, search whether that there are the third message;
If there is no the third message in first incidence relation, described the is shown in the predeterminable area Three message.
In present embodiment, third message is determined in the session interface, can be that user clicks some message with regard to true The fixed message is third message.When in the first incidence relation, if searched, there are third message, then illustrates that third message is exactly With the associated history message of target message, then keep current display in predeterminable area.If in the described first association There is no the third message in relationship, then the third message is shown in the predeterminable area, such user can be Third message is checked in predeterminable area.Third message is individually shown, makes user that need not search in numerous message Three message.When except the message of some new transmissions is by third message top to session interface, user still can be in predeterminable area In check third message, without spend page turning search, make user's operation more convenient.
It is, of course, also possible to the head node for including the doubly linked list of third message is judged, with the Two-way Chain including target message Whether the head node of table is identical to judge.When the head node of the doubly linked list including third message, with pair including target message To chained list head node it is identical when, then illustrate doubly linked list for identical doubly linked list, i.e., in the first incidence relation, there are the Three message.When the head node of the doubly linked list including third message, with the head node of the doubly linked list including target message not phase Meanwhile then illustrate doubly linked list for different doubly linked list, i.e., in the first incidence relation, there is no third message.
In present embodiment, when switching topic relationship chained list, a topic relationship chained list can be indicated with head pointer, currently The head node of the topic relation chain table of display can be denoted as CurrentHead, by the finger of the head node of new topic relation chain table Needle is assigned to CurrentHead.When keeping current topic relation chain table, then keep CurrentHead values constant.
Optionally, the described the step of third message is shown in the predeterminable area, including:
In preset second incidence relation, the history message for having with the third message relating is searched whether;
If in the presence of the history message with the third message relating, show that the third disappears in the predeterminable area Breath and the history message with the third message relating;
If there is no the history message with the third message relating, show that the third disappears in the predeterminable area Breath.
In present embodiment, if in the presence of the history message with the third message relating, shown in the predeterminable area Show the third message and the history message with the third message relating;If there is no with the third message relating History message then shows the third message in the predeterminable area.It is gone through with the third message relating when existing in this way During history message, third message can be both shown in predeterminable area, can also show the history message of third message relating.This Sample, user can quickly consult the history message with third message relating, it is not required that oneself is browsed in numerous information and looks into It looks for, saves the time for browsing relevant information, operation is more convenient, and user is made to have better experience.
Optionally, the predeterminable area is default suspended window.
In present embodiment, above-mentioned predeterminable area is default suspended window.And it after display default suspended window, can cover Some contents that lid is shown before falling session interface can also be that white space at session interface show and presets suspended window Etc., this present embodiment is not construed as limiting.
A kind of message display method of the embodiment of the present invention receives first touch control operation of the user at session interface, according to First touch control operation determines target message in the session interface;In preset first incidence relation, search whether In the presence of with the associated history message of the target message;If there are the history message in preset first incidence relation, Display and the associated history message of the target message in the predeterminable area.If in this way, in preset first incidence relation In there are the history message, display and the associated history message of target message in predeterminable area search history convenient for user Message, so as to improve the display effect of history message.
Referring to Fig. 7, Fig. 7 is the structure chart of mobile terminal provided in an embodiment of the present invention, can realize in above-described embodiment and disappear The details of display methods is ceased, and is achieved the effect that identical.As shown in fig. 7, mobile terminal 700 includes 701 He of the first receiving module First display module 702, the first receiving module 701 and the first display module 702 connect wherein:
First receiving module 701, for receiving first touch control operation of the user at session interface, according to first touch-control Operation determines target message in the session interface;
First display module 702, for the display in predeterminable area and the associated history message of the target message.
Optionally, as shown in figure 8, the mobile terminal 700 further includes:
First searching module 703, in preset first incidence relation, searching whether to exist and the target message Associated history message;
First display module 702, is used for:If first searching module 703 is in preset first incidence relation There are the history messages for lookup, then are shown and the associated history message of the target message in the predeterminable area.
Optionally, first incidence relation is doubly linked list, as shown in figure 9, first searching module 703, including:
First searches submodule 7031, described in the node of the doubly linked list, searching whether to be stored with The node of target message and the node for being stored with the history message;
Determination sub-module 7032 is searched submodule 7031 in the node of the doubly linked list for described first, is searched In the presence of the node for being stored with the target message and it is stored with the node of the history message, it is determined that close described first There are the history messages in connection relationship.
Optionally, as shown in Figure 10, the mobile terminal 700 further includes:
Second receiving module 704, for receiving second touch control operation of the user at the session interface, according to described second Touch control operation determines first message in the session interface;
Third receiving module 705 for receiving the second message that user inputs in input frame, and is received to described second The transmission instruction of message;
Establish module 706, for respond it is described send instruction, will be described in the first message and the second message establish First incidence relation.
Optionally, first incidence relation is doubly linked list, as shown in figure 11, described to establish module 706, including:
First sub-module stored 7061, for the first message to be stored in first node, and by the first segment The posterior nodal point pointer of point is directed toward the front nodal point pointer of second node;
Second sub-module stored 7062, for the second message to be stored in the second node, and by described The front nodal point pointer of two nodes is directed toward the posterior nodal point pointer of the first node;
Wherein, the first node and the second node belong to the node in the doubly linked list.
Optionally, as shown in figure 12, the mobile terminal 700 further includes:
Determining module 707, for determining third message in the session interface, the third message disappears for the target Other message except breath;
Second searching module 708, in first incidence relation, searching whether that there are the third message;
Second display module 709 is not deposited if being searched in first incidence relation for second searching module 708 In the third message, then the third message is shown in the predeterminable area.
Optionally, as shown in figure 13, second display module 709, including:
Second searches submodule 7091, in preset second incidence relation, searching whether to exist and the third The history message of message relating;
First display sub-module 7092 exists and the third message if searching submodule 7091 for described second and searching Associated history message then shows the third message in the predeterminable area and is gone through with the third message relating History message;
Second display sub-module 7093, if being searched for the described second lookup submodule 7091, there is no disappear with the third Associated history message is ceased, then the third message is shown in the predeterminable area.
Optionally, the predeterminable area is default suspended window.
Mobile terminal 700 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to avoid It repeats, which is not described herein again.
The mobile terminal 700 of the embodiment of the present invention receives first touch control operation of the user at session interface, according to described the One touch control operation determines target message in the session interface;In predeterminable area display with the target message is associated goes through History message.In this way, will include in predeterminable area with the associated history message of target message, history message is searched convenient for user, So as to improve the display effect of history message.
Referring to Figure 14, a kind of hardware architecture diagram of Figure 14 mobile terminals of each embodiment to realize the present invention should Mobile terminal 1400 includes but not limited to:Radio frequency unit 1401, network module 1402, audio output unit 1403, input unit 1404th, sensor 1405, display unit 1406, user input unit 1407, interface unit 1408, memory 1409, processor The components such as 1410 and power supply 1411.It will be understood by those skilled in the art that the mobile terminal structure shown in Figure 14 not structure The restriction of pairs of mobile terminal, mobile terminal can include than illustrate more or fewer components or the certain components of combination or The different component arrangement of person.In embodiments of the present invention, mobile terminal includes but not limited to mobile phone, tablet computer, notebook electricity Brain, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 1410, for receiving first touch control operation of the user at session interface, according to first touch-control Operation determines target message in the session interface;It shows in predeterminable area and disappears with the associated history of the target message Breath.In this way, will include in predeterminable area with the associated history message of target message, history message is searched convenient for user, so as to Improve the display effect of history message.
Optionally, processor 1410 are additionally operable in preset first incidence relation, search whether exist and the target The history message of message relating;
Described the step of history message associated with the target message is shown in predeterminable area, including:
If there are the history message in preset first incidence relation, in the predeterminable area display with it is described The associated history message of target message.
Optionally, first incidence relation is doubly linked list, and processor 1410 is additionally operable to the section in the doubly linked list In point, search whether to be stored with the node of the target message and be stored with the node of the history message;If institute In the node for stating doubly linked list, there is the node for being stored with the target message and be stored with the node of the history message, Then determine that there are the history messages in first incidence relation.
Optionally, processor 1410 are additionally operable to receive second touch control operation of the user at the session interface, according to described Second touch control operation determines first message in the session interface;The second message that user inputs in input frame is received, and The transmission to the second message is received to instruct;It responds described send to instruct, the first message and the second message is built Found first incidence relation.
Optionally, first incidence relation is doubly linked list, and processor 1410 is additionally operable to store the first message In first node, and by the posterior nodal point pointer of the first node, it is directed toward the front nodal point pointer of second node;By described second Message is stored in the second node, and by the front nodal point pointer of the second node, is directed toward the deutomerite of the first node Point pointer;Wherein, the first node and the second node belong to the node in the doubly linked list.
Optionally, processor 1410 are additionally operable to determine third message in the session interface, and the third message is institute State other message except target message;In first incidence relation, search whether that there are the third message;If institute It states and the third message is not present in the first incidence relation, then the third message is shown in the predeterminable area.
Optionally, processor 1410 are additionally operable in preset second incidence relation, search whether exist and the third The history message of message relating;If in the presence of the history message with the third message relating, shown in the predeterminable area The third message and the history message with the third message relating;If there is no gone through with the third message relating History message then shows the third message in the predeterminable area.
Optionally, the predeterminable area is default suspended window.
It should be understood that the embodiment of the present invention in, radio frequency unit 1401 can be used for receive and send messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, handled to processor 1410;In addition, by uplink Data are sent to base station.In general, radio frequency unit 1401 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1401 can also by radio communication system and network and other Equipment communicates.
Mobile terminal has provided wireless broadband internet to the user by network module 1402 and has accessed, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
It is that audio output unit 1403 can receive radio frequency unit 1401 or network module 1402 or in memory The audio data stored in 1409 is converted into audio signal and exports as sound.Moreover, audio output unit 1403 can be with The relevant audio output of specific function performed with mobile terminal 1400 is provided (for example, call signal receives sound, message sink Sound etc.).Audio output unit 1403 includes loud speaker, buzzer and receiver etc..
Input unit 1404 is used to receive audio or video signal.Input unit 1404 can include graphics processor (Graphics Processing Unit, GPU) 14041 and microphone 14042, graphics processor 14041 in video to capturing In pattern or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into Row processing.Treated, and picture frame may be displayed on display unit 1406.Through treated the picture frame of graphics processor 14041 It can be stored in memory 1409 (or other storage mediums) or be carried out via radio frequency unit 1401 or network module 1402 It sends.Microphone 14042 can receive sound, and can be audio data by such acoustic processing.Audio that treated Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1401 in the case of telephone calling model Formula exports.
Mobile terminal 1400 further includes at least one sensor 1405, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 14061, proximity sensor can when mobile terminal 1400 is moved in one's ear, Close display panel 14061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile terminal appearance when static State (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;Sensor 1405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas Meter, hygrometer, thermometer, infrared ray sensor etc. are pressed, details are not described herein.
Display unit 1406 is used to show by information input by user or be supplied to the information of user.Display unit 1406 can Including display panel 14061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes may be used Forms such as (Organic Light-Emitting Diode, OLED) are managed display panel 14061 is configured.
User input unit 1407 can be used for receiving the number inputted or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 1407 include touch panel 14071 with And other input equipments 14072.Touch panel 14071, also referred to as touch screen collect user on it or neighbouring touch are grasped Make (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 14071 or in touch panel Operation near 14071).Touch panel 14071 may include both touch detecting apparatus and touch controller.Wherein, it touches The touch orientation of detection device detection user is touched, and detects the signal that touch operation is brought, transmits a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1410, It receives the order that processor 1410 is sent and is performed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The multiple types such as sound wave realize touch panel 14071.In addition to touch panel 14071, user input unit 1407 can also include Other input equipments 14072.Specifically, other input equipments 14072 can include but is not limited to physical keyboard, function key (ratio Such as volume control button, switch key), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 14071 can be covered on display panel 14061, when touch panel 14071 detects After touch operation on or near it, processor 1410 is sent to determine the type of touch event, is followed by subsequent processing device 1410 Corresponding visual output is provided on display panel 14061 according to the type of touch event.Although in fig. 14, touch panel 14071 realize the function that outputs and inputs of mobile terminal with display panel 14061 is the component independent as two, but In some embodiments, touch panel 14071 with display panel 14061 can be integrated and realize outputting and inputting for mobile terminal Function does not limit specifically herein.
Interface unit 1408 is the interface that external device (ED) is connect with mobile terminal 1400.For example, external device (ED) can include Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card Port, the port for device of the connection with identification module, audio input/output (I/O) port, video i/o port, earphone Port etc..Interface unit 1408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously And one or more elements that the input received is transferred in mobile terminal 1400 or it can be used in mobile terminal Data are transmitted between 1400 and external device (ED).
Memory 1409 can be used for storage software program and various data.Memory 1409 can mainly include storage program Area and storage data field, wherein, storing program area can storage program area, needed at least one function application program (such as Sound-playing function, image player function etc.) etc.;Storage data field can be stored uses created data (ratio according to mobile phone Such as audio data, phone directory) etc..In addition, memory 1409 can include high-speed random access memory, can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 1409 and/or module and call Data in device 1409 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 1410 may include one or more processing units;Preferably, processor 1410 can integrate application processor and modulation /demodulation Processor, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor master Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1410.
Mobile terminal 1400 can also include the power supply 1411 (such as battery) powered to all parts, it is preferred that power supply 1411 can be logically contiguous by power-supply management system and processor 1410, so as to realize that management is filled by power-supply management system The functions such as electricity, electric discharge and power managed.
In addition, mobile terminal 1400 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 1410, memory 1409, storage On memory 1409 and the computer program that can be run on the processor 1410, the computer program is by processor 1410 Each process of above-mentioned message display method embodiment is realized during execution, and identical technique effect can be reached, is repeated to avoid, Which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned message display method embodiment, and energy when being executed by processor Reach identical technique effect, repeated to avoid, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form is belonged within the protection of the present invention.

Claims (14)

1. a kind of message display method, which is characterized in that including:
First touch control operation of the user at session interface is received, is determined in the session interface according to first touch control operation Target message;
Display and the associated history message of the target message in predeterminable area.
2. according to the method described in claim 1, it is characterized in that, it is described according to first touch control operation in the session After the step of target message is determined in interface, the display in predeterminable area and the associated history message of the target message The step of before, the method further includes:
In preset first incidence relation, search whether exist and the associated history message of the target message;
Described the step of history message associated with the target message is shown in predeterminable area, including:
If there are the history message in preset first incidence relation, display and the target in the predeterminable area The history message of message relating.
3. according to the method described in claim 2, it is characterized in that, first incidence relation be doubly linked list, it is described pre- If the first incidence relation in, search whether exist history message associated with the target message the step of, including:
In the node of the doubly linked list, search whether to be stored with the node of the target message and storage State the node of history message;
If in the node of the doubly linked list, there is the node for being stored with the target message and be stored with the history The node of message, it is determined that there are the history messages in first incidence relation.
4. it according to the method described in claim 2, it is characterized in that, is grasped in first touch-control of the reception user at session interface Make, according to first touch control operation in the session interface determine target message the step of before, the method further includes:
Second touch control operation of the user at the session interface is received, according to second touch control operation in the session interface Determine first message;
The second message that user inputs in input frame is received, and the transmission received to the second message instructs;
It responds described send to instruct, the first message and the second message is established into first incidence relation.
5. according to the method described in claim 4, it is characterized in that, first incidence relation be doubly linked list, it is described by institute The step of first message establishes first incidence relation with the second message is stated, including:
The first message is stored in first node, and by the posterior nodal point pointer of the first node, is directed toward second node Front nodal point pointer;
The second message is stored in the second node, and by the front nodal point pointer of the second node, described in direction The posterior nodal point pointer of first node;
Wherein, the first node and the second node belong to the node in the doubly linked list.
6. according to the method described in claim 2, it is characterized in that, the method further includes:
Third message is determined in the session interface, the third message is other message except the target message;
In first incidence relation, search whether that there are the third message;
If there is no the third message in first incidence relation, show that the third disappears in the predeterminable area Breath.
7. according to the method described in claim 6, it is characterized in that, described show the third message in the predeterminable area The step of, including:
In preset second incidence relation, the history message for having with the third message relating is searched whether;
If in the presence of the history message with the third message relating, the third message is shown in the predeterminable area, with And the history message with the third message relating;
If there is no the history message with the third message relating, the third message is shown in the predeterminable area.
8. method according to any one of claim 1 to 7, which is characterized in that the predeterminable area is default suspended window.
9. a kind of mobile terminal, which is characterized in that including:
First receiving module for receiving first touch control operation of the user at session interface, exists according to first touch control operation Target message is determined in the session interface;
First display module, for the display in predeterminable area and the associated history message of the target message.
10. mobile terminal according to claim 9, which is characterized in that the mobile terminal further includes:
First searching module, it is associated with the target message in preset first incidence relation, searching whether to exist History message;
First display module, is used for:If first searching module is searched in preset first incidence relation, there are institutes History message is stated, then display and the associated history message of the target message in the predeterminable area.
11. mobile terminal according to claim 10, which is characterized in that first incidence relation be doubly linked list, institute The first searching module is stated, including:
First searches submodule, in the node of the doubly linked list, searching whether to be stored with the target message Node and be stored with the node of the history message;
Determination sub-module searches submodule in the node of the doubly linked list for described first, searches and there is storage It states the node of target message and is stored with the node of the history message, it is determined that exist in first incidence relation The history message.
12. mobile terminal according to claim 10, which is characterized in that the mobile terminal further includes:
Second receiving module for receiving second touch control operation of the user at the session interface, is grasped according to second touch-control Make to determine first message in the session interface;
Third receiving module for receiving the second message that user inputs in input frame, and is received to the second message Send instruction;
Module is established, is instructed for responding described send, the first message and the second message are established described first closes Connection relationship.
13. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 8 is realized when the computer program is performed by the processor Any one of described in message display method the step of.
14. a kind of computer readable storage medium, which is characterized in that computer journey is stored on the computer readable storage medium Sequence is realized when the computer program is executed by processor such as message display method described in any item of the claim 1 to 8 Step.
CN201810083310.2A 2018-01-29 2018-01-29 A kind of message display method and mobile terminal Pending CN108228033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810083310.2A CN108228033A (en) 2018-01-29 2018-01-29 A kind of message display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810083310.2A CN108228033A (en) 2018-01-29 2018-01-29 A kind of message display method and mobile terminal

Publications (1)

Publication Number Publication Date
CN108228033A true CN108228033A (en) 2018-06-29

Family

ID=62667756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810083310.2A Pending CN108228033A (en) 2018-01-29 2018-01-29 A kind of message display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108228033A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376233A (en) * 2018-09-30 2019-02-22 维沃移动通信有限公司 A kind of information display method and mobile terminal
CN110213062A (en) * 2019-05-24 2019-09-06 北京小米移动软件有限公司 Handle the method and device of message
CN112532511A (en) * 2020-11-30 2021-03-19 腾讯科技(深圳)有限公司 Method, device and equipment for processing multimedia interaction information and storage medium
CN113037925A (en) * 2021-04-15 2021-06-25 维沃移动通信有限公司 Information processing method, information processing apparatus, electronic device, and readable storage medium
CN114513480A (en) * 2020-10-29 2022-05-17 腾讯科技(深圳)有限公司 Information processing method, device and equipment based on group chat and computer storage medium
CN115037835A (en) * 2022-06-14 2022-09-09 中国电信股份有限公司 Message display method, system, device, terminal and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744592A (en) * 2013-12-26 2014-04-23 华为技术有限公司 Information processing method and terminal
CN103841525A (en) * 2012-11-21 2014-06-04 三星电子株式会社 Message-based conversation operation method and mobile terminal suporting same
CN105376148A (en) * 2015-12-25 2016-03-02 北京奇虎科技有限公司 Chat message arrangement method and device
CN107241258A (en) * 2017-05-27 2017-10-10 维沃移动通信有限公司 A kind of instant message is sent and display methods, transmitting terminal and receiving terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841525A (en) * 2012-11-21 2014-06-04 三星电子株式会社 Message-based conversation operation method and mobile terminal suporting same
CN103744592A (en) * 2013-12-26 2014-04-23 华为技术有限公司 Information processing method and terminal
CN105376148A (en) * 2015-12-25 2016-03-02 北京奇虎科技有限公司 Chat message arrangement method and device
CN107241258A (en) * 2017-05-27 2017-10-10 维沃移动通信有限公司 A kind of instant message is sent and display methods, transmitting terminal and receiving terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376233A (en) * 2018-09-30 2019-02-22 维沃移动通信有限公司 A kind of information display method and mobile terminal
CN110213062A (en) * 2019-05-24 2019-09-06 北京小米移动软件有限公司 Handle the method and device of message
CN110213062B (en) * 2019-05-24 2022-03-11 北京小米移动软件有限公司 Method and device for processing message
CN114513480A (en) * 2020-10-29 2022-05-17 腾讯科技(深圳)有限公司 Information processing method, device and equipment based on group chat and computer storage medium
CN114513480B (en) * 2020-10-29 2024-04-09 腾讯科技(深圳)有限公司 Group chat-based information processing method, device, equipment and computer storage medium
CN112532511A (en) * 2020-11-30 2021-03-19 腾讯科技(深圳)有限公司 Method, device and equipment for processing multimedia interaction information and storage medium
CN112532511B (en) * 2020-11-30 2023-12-22 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for processing multimedia interaction information
CN113037925A (en) * 2021-04-15 2021-06-25 维沃移动通信有限公司 Information processing method, information processing apparatus, electronic device, and readable storage medium
CN115037835A (en) * 2022-06-14 2022-09-09 中国电信股份有限公司 Message display method, system, device, terminal and medium

Similar Documents

Publication Publication Date Title
CN108762954A (en) A kind of object sharing method and mobile terminal
CN108228033A (en) A kind of message display method and mobile terminal
CN107402709A (en) A kind of multi-screen display method, terminal and computer-readable recording medium
CN107734179A (en) A kind of message prompt method, mobile terminal
CN108234295A (en) Display control method, terminal and the computer readable storage medium of group's functionality controls
CN107977132A (en) A kind of method for information display and mobile terminal
CN108519850A (en) A kind of keyboard interface display methods and mobile terminal
CN109194818A (en) A kind of information processing method and terminal
CN107846352A (en) A kind of method for information display, mobile terminal
CN109343755A (en) A kind of document handling method and terminal device
CN110109604A (en) A kind of application interface display methods and mobile terminal
CN109582475A (en) A kind of sharing method and terminal
CN108052251A (en) A kind of screenshotss method for information display and mobile terminal
CN110109593A (en) A kind of screenshotss method and terminal device
CN108874352A (en) A kind of information display method and mobile terminal
CN108897473A (en) A kind of interface display method and terminal
CN109857297A (en) Information processing method and terminal device
CN108182267A (en) A kind of sharing files method and mobile terminal
CN108228902A (en) A kind of document display method and mobile terminal
CN108600089A (en) A kind of display methods and terminal device of facial expression image
CN109144703A (en) A kind of processing method and its terminal device of multitask
CN110209332A (en) A kind of information processing method and terminal device
CN108388396A (en) A kind of interface switching method and mobile terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109491632A (en) A kind of resource sharing method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180629