CN109120794A - A kind of message display method and device and electronic equipment - Google Patents
A kind of message display method and device and electronic equipment Download PDFInfo
- Publication number
- CN109120794A CN109120794A CN201811046012.2A CN201811046012A CN109120794A CN 109120794 A CN109120794 A CN 109120794A CN 201811046012 A CN201811046012 A CN 201811046012A CN 109120794 A CN109120794 A CN 109120794A
- Authority
- CN
- China
- Prior art keywords
- message
- forwarding message
- merges
- forwarding
- merge
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/216—Handling conversation history, e.g. grouping of messages in sessions or threads
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application provides a kind of message display method and device, electronic equipment and computer readable storage medium.Wherein, message display method comprises determining that received target merges and is nested at least one layer of merging forwarding message in forwarding message;If it is determined that adjacent two layers, which merge forwarding message, comes from same session, then internal layer is merged into forwarding message and unpacked;Internal layer after the same page shows that outer layer merges forwarding message and unpacks merges forwarding message.The embodiment of the present application reduces operating procedure, path is checked in shortening, and the information flow of nested merging forwarding message can be completely shown in a page, and efficiency is checked in promotion, it can be achieved that when checking nested merging forwarding message.
Description
Technical field
This application involves field of computer technology more particularly to a kind of message display methods and device, electronic equipment and meter
Calculation machine readable storage medium storing program for executing.
Background technique
With the development of internet technology, there is various instant messagings (Instant Messaging, abbreviation
IM) technology.IM is the business for referring to send and receive internet message etc. immediately.IM technology is quickly grown, and function is increasingly rich
Richness is gradually integrated with the multiple functions such as transmission file and search.Instant messaging is no longer a simple chat tool, it is
Develop into the synthesization information platform for integrating exchange, search, office cooperation and corporate client service etc..
When using IM application program (APP) forwarding multiple messages, it is understood that there may be merge in forwarding message and be nested with merging
The case where forwarding message, in this case, recipient need just check complete message content by repeatedly clicking.But
It is multiple clicking operation trouble, and the message distribution opened, in multiple pages, information flow is imperfect.
Summary of the invention
In view of this, the application provides a kind of message display method and device, electronic equipment and computer-readable storage medium
Matter.
Specifically, the application is achieved by the following technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of message display method is provided, which comprises
It determines that received target merges and is nested at least one layer of merging forwarding message in forwarding message;
If it is determined that adjacent two layers, which merge forwarding message, comes from same session, then internal layer is merged into forwarding message and unpacked;
Internal layer after the same page shows that outer layer merges forwarding message and unpacks merges forwarding message.
In one embodiment, the method also includes:
If it is determined that adjacent two layers merge forwarding message from different sessions, and it is not institute that the outer layer, which merges forwarding message,
State the outermost layer that target merges forwarding message, then the same page show internal layer merge the corresponding data packet of forwarding message with
The outer layer merges forwarding message;
Using the outer layer merge forwarding message and thereon one it is laminated and forward message as adjacent two layers merge forward message,
Execute described if it is determined that internal layer is then merged the behaviour of forwarding message unpacking from same session by adjacent two layers merging forwarding message
Make;Or
If it is determined that adjacent two layers merge forwarding message from different sessions, and it is the target that outer layer, which merges forwarding message,
Merge the outermost layer of forwarding message, then the corresponding number of content of pages where showing that the internal layer merges forwarding message in the same page
Merge forwarding message according to packet and the outer layer;
Wherein, the data packet is entering for another page where corresponding merging forwarding message or corresponding page content
Mouthful.
In one embodiment, described to show that internal layer merges the corresponding data packet of forwarding message and outer layer merges in the same page
Forward message, comprising:
Show that the internal layer merges the corresponding data packet of forwarding message and described outer laminated in the same page with different patterns
And forward message;Or
The corresponding data packet of content of pages and the outer layer where same page display internal layer merging forwarding message merge
Forward message, comprising:
The corresponding data packet of content of pages where showing that the internal layer merges forwarding message in the same page with different patterns
Merge forwarding message with the outer layer.
In one embodiment, described to show that the internal layer merges the corresponding number of forwarding message in the same page with different patterns
Merge forwarding message according to packet and the outer layer, comprising:
Show that the internal layer merges the corresponding data packet of forwarding message in the same page with folded style, sample to be unfolded one by one
Formula shows that the outer layer merges forwarding message;Or
It is described to show that the internal layer merges the corresponding number of content of pages where forwarding message with different patterns in the same page
Merge forwarding message according to packet and the outer layer, comprising:
The corresponding data packet of content of pages where showing that the internal layer merges forwarding message in the same page with folded style,
Show that the outer layer merges forwarding message so that pattern to be unfolded one by one.
In one embodiment, the determining adjacent two layers merge forwarding message from same session, comprising:
Determine that the internal layer merges transmitting terminal mark and receiving end mark entrained by forwarding message and merges with the outer layer
Forward the mark of transmitting terminal entrained by message corresponding identical with receiving end mark;Or
Determine that the internal layer merges group identification entrained by forwarding message and merges entrained by forwarding message with the outer layer
Group identification it is identical.
In one embodiment, the internal layer after the same page shows that outer layer merges forwarding message and unpacks merges forwarding
Message, comprising:
Internal layer after the outer layer is merged forwarding message and unpacked merges forwarding message and carries out duplicate removal;
According to message of the message sending time after the same page shows duplicate removal.
According to the second aspect of an embodiment of the present disclosure, a kind of message display device is provided, described device includes:
Determining module is nested at least one layer of merging forwarding message for determining that received target merges in forwarding message;
Module is unpacked, is nested at least one layer for determining that received target merges in forwarding message in the determining module
Merge after forwarding message, however, it is determined that adjacent two layers merge forwarding message and come from same session, then merge internal layer and forward message
It unpacks;
Display module, for the internal layer after the same page shows that outer layer merges forwarding message and the unpacking module unpacking
Merge forwarding message.
In one embodiment, described device further include:
First determines display module, is nested with for determining that received target merges in forwarding message in the determining module
At least one layer merges after forwarding message, however, it is determined that adjacent two layers merge forwarding message from different sessions, and the outer layer
Merging forwarding message is not the outermost layer that the target merges forwarding message, then shows that the internal layer merges forwarding in the same page
The corresponding data packet of message and the outer layer merge forwarding message;
Calling module, for the outer layer to be merged forwarding message and one laminated and forward message as adjacent two layers thereon
Merge and forward message, calls the unpacking module execution is described to forward message to come from same session if it is determined that adjacent two layers merge,
Internal layer is then merged into the operation that forwarding message unpacks;Or
Second determines display module, for if it is determined that adjacent two layers merge forwarding message from different sessions, and outer layer
Merging forwarding message is the outermost layer that the target merges forwarding message, then shows that the internal layer merges forwarding and disappears in the same page
The corresponding data packet of content of pages where breath and the outer layer merge forwarding message;
Wherein, the data packet is entering for another page where corresponding merging forwarding message or corresponding page content
Mouthful.
According to the third aspect of an embodiment of the present disclosure, a kind of computer readable storage medium is provided, the storage medium is deposited
Computer program is contained, the computer program is for executing above-mentioned message display method.
According to a fourth aspect of embodiments of the present disclosure, a kind of electronic equipment is provided, including processor, memory and is stored in
On the memory and the computer program that can run on a processor, the processor are realized when executing the computer program
Above-mentioned message display method.
The embodiment of the present application, however, it is determined that when adjacent two layers merge forwarding message from same session, then internal layer is merged and turned
It sends out message to unpack, and the internal layer after the same page shows that outer layer merges forwarding message and unpacks merges forwarding message, to realize
When checking nested merging forwarding message, operating procedure is reduced, path is checked in shortening, and can completely be shown in a page embedding
Efficiency is checked in the information flow of the merging forwarding message of set, promotion.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of message display method shown in one exemplary embodiment of the application;
Fig. 2A is that a kind of merging forwarding message shown in one exemplary embodiment of the application is nested with merging forwarding message
Schematic diagram one;
Fig. 2 B is that a kind of display shown in one exemplary embodiment of the application merges the schematic diagram one for forwarding message;
Fig. 3 is the flow chart of another message display method shown in one exemplary embodiment of the application;
Fig. 4 A is that a kind of merging forwarding message shown in one exemplary embodiment of the application is nested with merging forwarding message
Schematic diagram two;
Fig. 4 B is that a kind of display shown in one exemplary embodiment of the application merges the schematic diagram two for forwarding message;
Fig. 4 C is that a kind of display shown in one exemplary embodiment of the application merges the schematic diagram three for forwarding message;
Fig. 5 is a kind of a kind of hardware of message display device place electronic equipment shown in one exemplary embodiment of the application
Structure chart;
Fig. 6 is a kind of block diagram of message display device shown in one exemplary embodiment of the application;
Fig. 7 is the block diagram of another message display device shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application.
It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
Fig. 1 is a kind of message display method shown in one exemplary embodiment of the application, can be applied to message sink end, such as
Shown in Fig. 1, this method comprises:
Step S101 determines that received target merges and is nested at least one layer of merging forwarding message in forwarding message.
In this embodiment, if it includes by a plurality of conjunction for merging forwarding message and forming in forwarding message that received target, which merges,
And forward massage set and other forwarding message, then it can determine that received target merges in forwarding message and be nested at least one layer
Merge forwarding message.
For example, the target received merges forwarding message to merge forwarding massage set 1 and message 2, wherein merge forwarding
Massage set 1 includes message 1 and message 3, it is possible thereby to which determining that received target merges in forwarding message is nested at least one layer
Merge forwarding message.
Step S102, however, it is determined that adjacent two layers merge forwarding message and come from same session, then internal layer are merged forwarding message
It unpacks.
In this embodiment, in order to show from the message of same session in the same page, it can merge in display and turn
Before sending out message, judge that adjacent two layers merge whether forwarding message comes from same session.
Wherein, identification information can be carried by merging in forwarding message, for example, in the forwarding message of the merging from single chat session
Transmitting terminal mark and receiving end mark can be carried, that is, merges the transmitting terminal mark and receiving end mark of forwarding message respective session
Know, corresponding group identification can be carried in the merging forwarding message from group chat session.
Identification information can be carried due to merging in forwarding message, message sink end can be disappeared based on forwarding is merged
The identification information carried in breath merges whether forwarding message comes from same session to judge adjacent two layers.
In this embodiment, if can determine that internal layer merges transmitting terminal mark and receiving end mark entrained by forwarding message
Know transmitting terminal mark entrained by merging forwarding message with outer layer and receiving end mark correspondence is identical, then can determine that internal layer merges
Forwarding message merges forwarding message with outer layer from same session.If can determine that internal layer merges group entrained by forwarding message
Group mark merges with outer layer forwards group identification entrained by message identical, then can determine that internal layer merges forwarding message and outer layer
Merge forwarding message and comes from same session.
In this embodiment, however, it is determined that adjacent two layers merge forwarding message and come from same session, then can merge internal layer
It forwards message to unpack, disappears so that the subsequent internal layer after the same page shows that outer layer merges forwarding message and unpacks merges forwarding
Breath.
Step S103, the internal layer after the same page shows that outer layer merges forwarding message and unpacks merge forwarding message.
By internal layer merge forwarding message unpack after, can externally it is laminated and forward message and unpack after internal layer merge
Message is forwarded to carry out duplicate removal, and the message according to message sending time after the same page shows duplicate removal.
For example, as shown in Figure 2 A, target, which merges, is nested with merging forwarding message B in forwarding message A, however, it is determined that outer layer merges
It forwards message 1,2,6 and internal layer to merge forwarding message B and comes from same session, then internal layer can be merged to forwarding message B and unpacked, obtained
To message 3,4,5, and forwarding message can be merged in the internal layer after the same page shows that outer layer merges forwarding message and unpacks, such as
Shown in Fig. 2 B, message 1,2,3,4,5 and 6 can be shown in the same page by the sequencing of message sending time.
It should be noted that if target, which merges, forwards nested multilayer merging forwarding message in message, two layers wherein
After carrying out unpacking merging in such a way that the embodiment provides, it regard the page unpacked after merging as individual one layer again, still
So unpacking merging treatment is done with other adjacent layers in such a way that the embodiment provides.
Above-described embodiment, however, it is determined that when adjacent two layers merge forwarding message from same session, then internal layer is merged and forwarded
Message unpacks, and the internal layer after the same page shows that outer layer merges forwarding message and unpacks merges forwarding message, is looked into realizing
When seeing nested merging forwarding message, operating procedure is reduced, path is checked in shortening, and can completely show nesting in a page
Merging forwarding message information flow, promotion check efficiency.
Fig. 3 is the flow chart of another message display method shown in one exemplary embodiment of the application, as shown in figure 3,
This method comprises:
Step S300 determines that received target merges and is nested at least one layer of merging forwarding message in forwarding message.
Step S301 judges that adjacent two layers merge whether forwarding message comes from same session, if coming from same session, hold
Row step S302, if thening follow the steps S303 from different sessions.
Step S302, merges forwarding message for internal layer and unpacks, and shows that outer layer merges forwarding message and unpacking in the same page
Internal layer afterwards merges forwarding message, and operation terminates.
Step S303, judging that outer layer merges forwarding message is the outermost layer that target merges forwarding message, if it is not, then
Step S304 is executed, if so, thening follow the steps S305.
Step S304 shows that internal layer merges the corresponding data packet of forwarding message and outer layer merges forwarding and disappears in the same page
Outer layer is merged forwarding message and one laminated and forward message to merge as adjacent two layers to forward message, and continue to hold thereon by breath
Row step S301.
Wherein, show that internal layer merges the corresponding data packet of forwarding message and outer layer merges forwarding message in the same page, it can
Think and shows that internal layer merges the corresponding data packet of forwarding message and outer layer merges forwarding message in the same page with different patterns.Example
Such as, it can show that internal layer merges the corresponding data packet of forwarding message in the same page with folded style, it is aobvious pattern to be unfolded one by one
Show that outer layer merges forwarding message.
Wherein, which is the corresponding entrance for merging another page where forwarding message, i.e. user is somebody's turn to do in click
When data packet, the corresponding merging forwarding message of the data packet can be shown on another page.
Step S305, the corresponding data packet of content of pages and outer layer where showing that internal layer merges forwarding message in the same page
Merge forwarding message, operation terminates.
Wherein, the corresponding data packet of content of pages and outer layer merge where showing that internal layer merges forwarding message in the same page
Message is forwarded, can be to show the corresponding data of content of pages where internal layer merging forwarding message with different patterns in the same page
Packet and outer layer merge forwarding message.For example, showing that internal layer merges where forwarding message in the page in the same page with folded style
Hold corresponding data packet, shows that outer layer merges forwarding message so that pattern to be unfolded one by one.
Wherein, which is the entrance of another page where corresponding page content, i.e., user is clicking the data
Bao Shi can show that internal layer merges content of pages where forwarding message on another page.And internal layer merges forwarding message institute
It is exactly that the internal layer shown in step S304 in the same page merges the corresponding data packet of forwarding message and outer laminated in content of pages
And forward message.
In order to better describe the program, it is described below with reference to specific example:
As shown in Figure 4 A, merge and be nested with merging forwarding message N in forwarding message M, merge and be nested with again in forwarding message N
Merge forwarding message O, wherein merging forwarding message M includes merging forwarding message N, 1,2,6 and 7, merges forwarding message N and includes
Merge forwarding message O, 4 and 5, merging forwarding message O includes message 31 and 32.
In this embodiment, first determine whether to merge forwarding message O and message 4,5 whether from same session, if merged
It forwards message O and message 4,5 to come from same session, then will merge forwarding message O and unpack, obtain message 31 and 32, and same
The page shows message 31,32,4,5.Then judge whether message 31,32,4,5 and message 1,2,6,7 come from same session, if
They come from same session, then show that message 31,32,4,5,1,2,6,7 as shown in Figure 4 B can be by message in the same page
The sequencing of sending time shows message 1,2,31,32,4,5,6 and 7 in the same page.
In this embodiment, if merging forwarding message O from message 4,5 from different sessions, judge 4,5 institute of message
Layer whether be outermost layer that target merges forwarding message, if it is not, then showing that merge forwarding message O corresponding in the same page
Data packet and outer layer merge forwarding message, that is, message 4,5, the page where message 4,5 is merged as internal layer and forwards message,
And judge that internal layer merges forwarding message and merges forwarding message 1,2,6,7 with outer layer whether from same session, if they come from
Internal layer is then merged forwarding message and unpacked by same session, obtains merging the corresponding data packet of forwarding message O, message 4, message 5,
And it is shown in the same page and merges the corresponding data packet of forwarding message O, message 4, message 5 and message 1,2,6,7.Such as Fig. 4 C institute
Show, can the same page according to message receipt times sequencing show message 1, message 2, the corresponding data packet of message O,
Message 4, message 5, message 6 and message 7, wherein merge forwarding message O shown with folded style, message 1,2,4,5,6 and 7 with
Expansion pattern is shown one by one.In this embodiment, the corresponding data packet of message O is another where corresponding merging forwarding message
The entrance of the page, i.e. user can show that the corresponding merging of the data packet turns when clicking the data packet on another page
Send out message, that is, message 31 and message 32.
Above-described embodiment describes under different situations to the treatment process of nested merging forwarding message, passes through above-mentioned place
Reason process when may be implemented to check the merging forwarding message of multilayer nest, reduces operating procedure, and path is checked in shortening, and can be with
The information flow of the merging forwarding message of the multilayer nest from same session is completely shown in a page, efficiency is checked in promotion,
At the same time it can also reduce the shown nested number of plies to the greatest extent, fluency is checked in promotion.
Corresponding with the embodiment of aforementioned messages display methods, present invention also provides the embodiments of message display device.
The embodiment of the application message display device can be using on an electronic device.Wherein, which can be
Terminal including the message display device.Installation practice can also pass through hardware or software and hardware by software realization
In conjunction with mode realize.As shown in figure 5, be a kind of hardware structure diagram of 500 place electronic equipment of the application message display device,
The electronic equipment includes processor 510, memory 520 and is stored in the meter that can be run on memory 520 and on processor 510
Calculation machine program, the processor 510 realize above-mentioned message display method when executing the computer program.In addition to processing shown in fig. 5
Except device 510 and memory 520, electronic equipment in embodiment where device generally according to the message sink actual functional capability,
It can also include other hardware, this is repeated no more.
Fig. 6 is a kind of block diagram of message display device shown in one exemplary embodiment of the application, as shown in fig. 6, this disappears
Breath display device comprises determining that module 61, unpacks module 62 and display module 63.
Determining module 61 is nested at least one layer of merging forwarding message for determining that received target merges in forwarding message.
In this embodiment, if it includes by a plurality of conjunction for merging forwarding message and forming in forwarding message that received target, which merges,
And forward massage set and other forwarding message, then it can determine that received target merges in forwarding message and be nested at least one layer
Merge forwarding message.
For example, the target received merges forwarding message to merge forwarding massage set 1 and message 2, wherein merge forwarding
Massage set 1 includes message 1 and message 3, it is possible thereby to which determining that received target merges in forwarding message is nested at least one layer
Merge forwarding message.
Module 62 is unpacked to be used to be nested at least one layer in the determining received target merging forwarding message of determining module 61
Merge after forwarding message, however, it is determined that adjacent two layers merge forwarding message and come from same session, then merge internal layer and forward message
It unpacks.
In this embodiment, in order to show from the message of same session in the same page, it can merge in display and turn
Before sending out message, judge that adjacent two layers merge whether forwarding message comes from same session.
Wherein, identification information can be carried by merging in forwarding message, for example, in the forwarding message of the merging from single chat session
Transmitting terminal mark and receiving end mark can be carried, that is, merges the transmitting terminal mark and receiving end mark of forwarding message respective session
Know, corresponding group identification can be carried in the merging forwarding message from group chat session.
Identification information can be carried due to merging in forwarding message, message sink end can be disappeared based on forwarding is merged
The identification information carried in breath merges whether forwarding message comes from same session to judge adjacent two layers.
In this embodiment, if can determine that internal layer merges transmitting terminal mark and receiving end mark entrained by forwarding message
Know transmitting terminal mark entrained by merging forwarding message with outer layer and receiving end mark correspondence is identical, then can determine that internal layer merges
Forwarding message merges forwarding message with outer layer from same session.If can determine that internal layer merges group entrained by forwarding message
Group mark merges with outer layer forwards group identification entrained by message identical, then can determine that internal layer merges forwarding message and outer layer
Merge forwarding message and comes from same session.
In this embodiment, however, it is determined that adjacent two layers merge forwarding message and come from same session, then can merge internal layer
It forwards message to unpack, disappears so that the subsequent internal layer after the same page shows that outer layer merges forwarding message and unpacks merges forwarding
Breath.
Display module 63 is used to show outer layer merging forwarding message in the same page and unpacks the internal layer after module 62 unpacks
Merge forwarding message.
By internal layer merge forwarding message unpack after, can externally it is laminated and forward message and unpack after internal layer merge
Message is forwarded to carry out duplicate removal, and the message according to message sending time after the same page shows duplicate removal.
For example, as shown in Figure 2 A, target, which merges, is nested with merging forwarding message B in forwarding message A, however, it is determined that outer layer merges
It forwards message 1,2,6 and internal layer to merge forwarding message B and comes from same session, then internal layer can be merged to forwarding message B and unpacked, obtained
To message 3,4,5, and forwarding message can be merged in the internal layer after the same page shows that outer layer merges forwarding message and unpacks, such as
Shown in Fig. 2 B, message 1,2,3,4,5 and 6 can be shown in the same page by the sequencing of message sending time.
It should be noted that if target, which merges, forwards nested multilayer merging forwarding message in message, two layers wherein
After carrying out unpacking merging in such a way that the embodiment provides, it regard the page unpacked after merging as individual one layer again, still
So unpacking merging treatment is done with other adjacent layers in such a way that the embodiment provides.
Above-described embodiment, however, it is determined that when adjacent two layers merge forwarding message from same session, then internal layer is merged and forwarded
Message unpacks, and the internal layer after the same page shows that outer layer merges forwarding message and unpacks merges forwarding message, is looked into realizing
When seeing nested merging forwarding message, operating procedure is reduced, path is checked in shortening, and can completely show nesting in a page
Merging forwarding message information flow, promotion check efficiency.
Fig. 7 is the block diagram of another message display device shown in one exemplary embodiment of the application, as shown in fig. 7,
On the basis of embodiment illustrated in fig. 6, which can also include: the first determining display module 64, calling module 65
Or second determine display module 66.
First, which determines that display module 64 is used to determine that received target merges in forwarding message in determining module 61, is nested with
At least one layer merges after forwarding message, however, it is determined that adjacent two layers merge forwarding message from different sessions, and outer layer merges
Forwarding message is not the outermost layer that target merges forwarding message, then shows that internal layer merges the corresponding number of forwarding message in the same page
Merge forwarding message according to packet and outer layer.
Wherein, show that internal layer merges the corresponding data packet of forwarding message and outer layer merges forwarding message in the same page, it can
Think and shows that internal layer merges the corresponding data packet of forwarding message and outer layer merges forwarding message in the same page with different patterns.Example
Such as, it can show that internal layer merges the corresponding data packet of forwarding message in the same page with folded style, it is aobvious pattern to be unfolded one by one
Show that outer layer merges forwarding message.
Wherein, which is the corresponding entrance for merging another page where forwarding message, i.e. user is somebody's turn to do in click
When data packet, the corresponding merging forwarding message of the data packet can be shown on another page.
Calling module 65 is used for outer layer merging forwarding message and thereon one is laminated and message is forwarded to close as adjacent two layers
And message is forwarded, it calls and unpacks the execution of module 62 if it is determined that adjacent two layers, which merge forwarding message, comes from same session, then by internal layer
Merge the operation that forwarding message unpacks.Or
Second, which determines that display module 66 is used to determine that received target merges in forwarding message in determining module 61, is nested with
At least one layer merges after forwarding message, however, it is determined that adjacent two layers merge forwarding message from different sessions, and outer layer merges
Forwarding message is the outermost layer that target merges forwarding message, then shows that internal layer merges where forwarding message in the page in the same page
Hold corresponding data packet and outer layer merges forwarding message.
Wherein, data packet is the corresponding entrance for merging another page where forwarding message or corresponding page content.
Wherein, the corresponding data packet of content of pages and outer layer merge where showing that internal layer merges forwarding message in the same page
Message is forwarded, can be to show the corresponding data of content of pages where internal layer merging forwarding message with different patterns in the same page
Packet and outer layer merge forwarding message.For example, showing that internal layer merges where forwarding message in the page in the same page with folded style
Hold corresponding data packet, shows that outer layer merges forwarding message so that pattern to be unfolded one by one.
Wherein, which is the entrance of another page where corresponding page content, i.e., user is clicking the data
Bao Shi can show that internal layer merges content of pages where forwarding message on another page.And internal layer merges forwarding message institute
It is exactly that the internal layer shown in step S304 in the same page merges the corresponding data packet of forwarding message and outer laminated in content of pages
And forward message.
In order to better describe the program, it is described below with reference to specific example:
As shown in Figure 4 A, merge and be nested with merging forwarding message N in forwarding message M, merge and be nested with again in forwarding message N
Merge forwarding message O, wherein merging forwarding message M includes merging forwarding message N, 1,2,6 and 7, merges forwarding message N and includes
Merge forwarding message O, 4 and 5, merging forwarding message O includes message 31 and 32.
In this embodiment, first determine whether to merge forwarding message O and message 4,5 whether from same session, if merged
It forwards message O and message 4,5 to come from same session, then will merge forwarding message O and unpack, obtain message 31 and 32, and same
The page shows message 31,32,4,5.Then judge whether message 31,32,4,5 and message 1,2,6,7 come from same session, if
They come from same session, then show that message 31,32,4,5,1,2,6,7 as shown in Figure 4 B can be by message in the same page
The sequencing of sending time shows message 1,2,31,32,4,5,6 and 7 in the same page.
In this embodiment, if merging forwarding message O from message 4,5 from different sessions, judge to merge forwarding
Upper one layer of the current innermost layer of message is whether the layer where the layer message 4,5 where merging forwarding message N is that target merges
The outermost layer of message is forwarded, if it is not, then showing that merging the corresponding data packet of forwarding message O and outer layer merging turns in the same page
Message, that is, message 4,5 is sent out, merges forwarding message for the page where message 4,5 as internal layer, merges the layer where forwarding message N
As current innermost layer, and judge that internal layer merges forwarding message 4,5 and whether merges forwarding message 1,2,6,7 with outer layer from same
Internal layer is merged forwarding message N and unpacked by session if they come from same session, obtains merging the corresponding number of forwarding message O
According to packet, message 4, message 5, and the corresponding data packet of merging forwarding message O, message 4, message 5 are shown in the same page and is disappeared
Breath 1,2,6,7.As shown in Figure 4 C, can the same page according to message receipt times sequencing show message 1, message 2,
The corresponding data packet of message O, message 4, message 5, message 6 and message 7, wherein merge forwarding message O and is shown with folded style,
Message 1,2,4,5,6 and 7 is shown so that pattern is unfolded one by one.In this embodiment, the corresponding data packet of message O is that corresponding merging turns
The entrance of another page where message is sent out, i.e. for user when clicking the data packet, can show on another page should
The corresponding merging forwarding message, that is, message 31 of data packet and message 32.
Above-described embodiment describes under different situations to the treatment process of nested merging forwarding message, passes through above-mentioned place
Reason process when may be implemented to check the merging forwarding message of multilayer nest, reduces operating procedure, and path is checked in shortening, and can be with
The information flow of the merging forwarding message of the multilayer nest from same session is completely shown in a page, efficiency is checked in promotion,
At the same time it can also reduce the shown nested number of plies to the greatest extent, fluency is checked in promotion.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, which is stored with calculating
Machine program, the computer program is for executing message display method, wherein the message display method includes:
It determines that received target merges and is nested at least one layer of merging forwarding message in forwarding message;
If it is determined that adjacent two layers, which merge forwarding message, comes from same session, then internal layer is merged into forwarding message and unpacked;
Internal layer after the same page shows that outer layer merges forwarding message and unpacks merges forwarding message.
Above-mentioned computer readable storage medium can be read-only memory (ROM), random access memory (RAM), CD
Read-only memory (CD-ROM), tape, floppy disk and optical data storage devices etc..
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein being used as separate part description
Unit may or may not be physically separated, component shown as a unit may or may not be
Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs
Some or all of the modules therein is selected to realize the purpose of application scheme.Those of ordinary skill in the art are not paying wound
In the case that the property made is worked, it can understand and implement.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are wanted by right
It asks and points out.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
The above is only the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
Claims (10)
1. a kind of message display method, which is characterized in that the described method includes:
It determines that received target merges and is nested at least one layer of merging forwarding message in forwarding message;
If it is determined that adjacent two layers, which merge forwarding message, comes from same session, then internal layer is merged into forwarding message and unpacked;
Internal layer after the same page shows that outer layer merges forwarding message and unpacks merges forwarding message.
2. the method according to claim 1, wherein the method also includes:
If it is determined that adjacent two layers merge forwarding message from different sessions, and it is not the mesh that the outer layer, which merges forwarding message,
Mark merges the outermost layer of forwarding message, then show that the internal layer merges in the same page and forward the corresponding data packet of message and described
Outer layer merges forwarding message;
Using the outer layer merge forwarding message and thereon one it is laminated and forward message as adjacent two layers merge forwarding message, execution
It is described to forward message to come from same session if it is determined that adjacent two layers merge, then internal layer is merged into the operation that forwarding message unpacks;Or
Person
If it is determined that adjacent two layers merge forwarding message from different sessions, and it is that the target merges that outer layer, which merges forwarding message,
The outermost layer of message is forwarded, then the corresponding data packet of content of pages where showing that the internal layer merges forwarding message in the same page
Merge forwarding message with the outer layer;
Wherein, the data packet is the corresponding entrance for merging another page where forwarding message or corresponding page content.
3. according to the method described in claim 2, it is characterized in that, described show that internal layer merges forwarding message pair in the same page
The data packet and outer layer answered merge forwarding message, comprising:
Show that the internal layer merges the forwarding corresponding data packet of message and outer layer merging turns in the same page with different patterns
Send out message;Or
The corresponding data packet of content of pages and the outer layer where same page display internal layer merging forwarding message merge forwarding
Message, comprising:
The corresponding data packet of content of pages and institute where showing that the internal layer merges forwarding message in the same page with different patterns
It states outer layer and merges forwarding message.
4. according to the method described in claim 3, it is characterized in that, described show the internal layer in the same page with different patterns
Merge the forwarding corresponding data packet of message and the outer layer merge forwarding message, comprising:
Show that the internal layer merges the corresponding data packet of forwarding message in the same page with folded style, it is aobvious pattern to be unfolded one by one
Show that the outer layer merges forwarding message;Or
It is described to show that the internal layer merges the corresponding data packet of content of pages where forwarding message with different patterns in the same page
Merge forwarding message with the outer layer, comprising:
The corresponding data packet of content of pages where showing that with folded style, the internal layer merges forwarding message in the same page, with by
Item expansion pattern shows that the outer layer merges forwarding message.
5. the method according to claim 1, wherein the determining adjacent two layers merge forwarding message from same
Session, comprising:
Determine that the internal layer merges transmitting terminal mark and receiving end mark entrained by forwarding message and merges forwarding with the outer layer
The mark of transmitting terminal entrained by message is corresponding identical with receiving end mark;Or
Determine that the internal layer merges group identification entrained by forwarding message and merges group entrained by forwarding message with the outer layer
Group mark is identical.
6. the method according to claim 1, wherein it is described the same page show outer layer merge forwarding message and
Internal layer after unpacking merges forwarding message, comprising:
Internal layer after the outer layer is merged forwarding message and unpacked merges forwarding message and carries out duplicate removal;
According to message of the message sending time after the same page shows duplicate removal.
7. a kind of message display device, which is characterized in that described device includes:
Determining module is nested at least one layer of merging forwarding message for determining that received target merges in forwarding message;
Module is unpacked, is nested at least one layer of merging for determining that received target merges in forwarding message in the determining module
After forwarding message, however, it is determined that adjacent two layers merge forwarding message and come from same session, then merge internal layer and message is forwarded to unpack;
Display module merges for the internal layer after the same page shows that outer layer merges forwarding message and the unpacking module unpacking
Forward message.
8. device according to claim 7, which is characterized in that described device further include:
First determines display module, is nested at least for determining that received target merges in forwarding message in the determining module
One is laminated and after forwarding message, however, it is determined that adjacent two layers merge forwarding message from different sessions, and the outer layer merges
Forwarding message is not the outermost layer that the target merges forwarding message, then shows that the internal layer merges forwarding message in the same page
Corresponding data packet and the outer layer merge forwarding message;
Calling module, for using the outer layer merge forwarding message and thereon one it is laminated and forward message as adjacent two layers merging
Message is forwarded, the calling unpacking module executes described if it is determined that adjacent two layers merging forwarding message then will from same session
Internal layer merges the operation that forwarding message unpacks;Or
Second determines display module, is nested at least for determining that received target merges in forwarding message in the determining module
One is laminated and after forwarding message, however, it is determined that adjacent two layers merge forwarding message from different sessions, and outer layer merges forwarding
Message is the outermost layer that the target merges forwarding message, then page where showing that the internal layer merges forwarding message in the same page
The corresponding data packet of face content and the outer layer merge forwarding message;
Wherein, the data packet is the corresponding entrance for merging another page where forwarding message or corresponding page content.
9. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the calculating
Machine program is for executing the described in any item message display methods of the claims 1-6.
10. a kind of electronic equipment, which is characterized in that including processor, memory and be stored on the memory and can locate
The computer program run on reason device, the processor realize that the claims 1-6 is any when executing the computer program
Message display method described in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811046012.2A CN109120794B (en) | 2018-09-07 | 2018-09-07 | message display method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811046012.2A CN109120794B (en) | 2018-09-07 | 2018-09-07 | message display method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109120794A true CN109120794A (en) | 2019-01-01 |
CN109120794B CN109120794B (en) | 2019-12-06 |
Family
ID=64858267
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811046012.2A Active CN109120794B (en) | 2018-09-07 | 2018-09-07 | message display method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109120794B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110380955A (en) * | 2019-07-23 | 2019-10-25 | 北京字节跳动网络技术有限公司 | Message treatment method, device and electronic equipment |
CN112434328A (en) * | 2019-08-26 | 2021-03-02 | 钉钉控股(开曼)有限公司 | Message forwarding method, mail forwarding method and electronic equipment |
CN113285866A (en) * | 2021-04-26 | 2021-08-20 | 维沃移动通信(杭州)有限公司 | Information sending method and device and electronic equipment |
CN115190096A (en) * | 2021-03-19 | 2022-10-14 | 北京字跳网络技术有限公司 | Information processing method, device, electronic equipment and storage medium |
WO2023124906A1 (en) * | 2021-12-30 | 2023-07-06 | 北京字跳网络技术有限公司 | Message processing method and apparatus, device and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011113392A3 (en) * | 2011-04-27 | 2012-04-05 | 华为技术有限公司 | Method for processing short messages, related device and system |
CN104572263A (en) * | 2014-12-30 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Page data interaction method, related device and system |
CN105049317A (en) * | 2015-05-21 | 2015-11-11 | 腾讯科技(深圳)有限公司 | Message forwarding method and apparatus |
CN105391562A (en) * | 2015-11-27 | 2016-03-09 | 努比亚技术有限公司 | Group chat device, method and mobile terminal |
-
2018
- 2018-09-07 CN CN201811046012.2A patent/CN109120794B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011113392A3 (en) * | 2011-04-27 | 2012-04-05 | 华为技术有限公司 | Method for processing short messages, related device and system |
CN104572263A (en) * | 2014-12-30 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Page data interaction method, related device and system |
CN105049317A (en) * | 2015-05-21 | 2015-11-11 | 腾讯科技(深圳)有限公司 | Message forwarding method and apparatus |
CN105391562A (en) * | 2015-11-27 | 2016-03-09 | 努比亚技术有限公司 | Group chat device, method and mobile terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110380955A (en) * | 2019-07-23 | 2019-10-25 | 北京字节跳动网络技术有限公司 | Message treatment method, device and electronic equipment |
WO2021012952A1 (en) * | 2019-07-23 | 2021-01-28 | 北京字节跳动网络技术有限公司 | Message processing method, device and electronic equipment |
CN110380955B (en) * | 2019-07-23 | 2022-01-28 | 北京字节跳动网络技术有限公司 | Message processing method and device and electronic equipment |
CN112434328A (en) * | 2019-08-26 | 2021-03-02 | 钉钉控股(开曼)有限公司 | Message forwarding method, mail forwarding method and electronic equipment |
CN112434328B (en) * | 2019-08-26 | 2024-04-05 | 钉钉控股(开曼)有限公司 | Message forwarding (transferring) mail forwarding method and electronic equipment |
CN115190096A (en) * | 2021-03-19 | 2022-10-14 | 北京字跳网络技术有限公司 | Information processing method, device, electronic equipment and storage medium |
CN115190096B (en) * | 2021-03-19 | 2023-11-21 | 北京字跳网络技术有限公司 | Information processing method, apparatus, electronic device and storage medium |
CN113285866A (en) * | 2021-04-26 | 2021-08-20 | 维沃移动通信(杭州)有限公司 | Information sending method and device and electronic equipment |
CN113285866B (en) * | 2021-04-26 | 2022-05-24 | 维沃移动通信(杭州)有限公司 | Information sending method and device and electronic equipment |
WO2023124906A1 (en) * | 2021-12-30 | 2023-07-06 | 北京字跳网络技术有限公司 | Message processing method and apparatus, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN109120794B (en) | 2019-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109120794A (en) | A kind of message display method and device and electronic equipment | |
KR101298062B1 (en) | System and methods for improving interaction routing performance | |
CN108762911A (en) | Timing task management method, apparatus, computer equipment and storage medium | |
CN107798108A (en) | A kind of asynchronous task querying method and equipment | |
CN108243044A (en) | The method and apparatus of service deployment | |
CN110262933B (en) | Test method, test device, and storage medium | |
CN109995877A (en) | Information-pushing method and device | |
CN111857733B (en) | Construction method, device and system of service environment and readable storage medium | |
CN111858083B (en) | Remote service calling method and device, electronic equipment and storage medium | |
CN109582452A (en) | A kind of container dispatching method, dispatching device and electronic equipment | |
CN109274522A (en) | A kind of processing method of OAM Information, device, equipment and storage medium | |
CN109697165A (en) | A kind of software automation safety detecting method, device and storage medium | |
CN110430590A (en) | Network is sliced matching process and device | |
CN108540947A (en) | Red envelope sharing method, first terminal, second terminal and server | |
CN110247818A (en) | A kind of data monitoring method, device, storage medium and server | |
CN110225102A (en) | Method, equipment and the system of pushed information | |
CN107493312A (en) | A kind of service calling method and device | |
CN109587351A (en) | A kind of call test method, device, equipment and storage medium | |
CN108520481A (en) | House type is quoted and the method, apparatus and computer storage media of house type partition | |
US20110091020A1 (en) | Correlating call log files using voice prints | |
CN108696455A (en) | Method and device for processing service flow | |
CN113452575B (en) | Service test method, system, device and storage medium | |
CN110245027A (en) | A kind of method and apparatus of interprocess communication | |
CN109698774A (en) | Method and device for monitoring device working condition | |
CN110147294A (en) | Acquisition methods, device, terminal and the computer readable storage medium of Debugging message |
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 |