CN107181668A - A kind of message display method and device - Google Patents
A kind of message display method and device Download PDFInfo
- Publication number
- CN107181668A CN107181668A CN201710240680.8A CN201710240680A CN107181668A CN 107181668 A CN107181668 A CN 107181668A CN 201710240680 A CN201710240680 A CN 201710240680A CN 107181668 A CN107181668 A CN 107181668A
- Authority
- CN
- China
- Prior art keywords
- chat
- message data
- theme
- message
- window
- 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.)
- Withdrawn
Links
Classifications
-
- 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/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- 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/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
Abstract
The invention discloses a kind of message display method and device, applied to terminal, methods described includes:The first message data that destination server is sent are received, wherein, the first message data are to combine what is obtained by the chat subject field and the second message data that carry;The first message data are split, obtains and parses the chat subject field, the chat theme for destination object is obtained;According to the chat theme, the corresponding chat theme window of the destination object is created, and the second message data that fractionation is obtained is shown in the chat window.
Description
Technical field
The present invention relates to instant messaging technical field, more particularly to a kind of message display method and device.
Background technology
Current instant communicating system, either the wechat of Tengxun, QQ or the nail of Alibaba nail, can not all be supported many
Theme is chatted.
But when routine office work, we especially need the chat window for a certain item again, to meet with chatting
Data communication needs between its object on some theme, so no matter from management or communication from the perspective of, message it is past
Come all can more orderliness it is clear.But, existing instant communicating method, which is mainly, sets up the corresponding chat window of chatting object
Mouth is mutually sent out to carry out message, it is impossible to carries out message communication by setting up on the corresponding chat window of a certain chat theme, leads
Multiple subject matters between a user and another user are caused, chat window progress message is all colluded and mutually sends out, linked up between user
Get up more inconvenient, Consumer's Experience is not also high.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of message display method and device, to lift Consumer's Experience.
To reach above-mentioned purpose, the embodiment of the invention discloses a kind of message display method, applied to terminal, methods described
Including:
The first message data that destination server is sent are received, wherein, the first message data are the chat by carrying
What subject field and the combination of the second message data were obtained;
The first message data are split, obtains and parses the chat subject field, obtain being directed to target pair
The chat theme of elephant;
According to the chat theme, the corresponding chat theme window of the destination object is created, and will split the obtained
Two message datas are shown in the chat window.
Optionally, the destination server is:
Instant messaging IM servers.
Optionally, the chat subject field is:Carry out adding what computing was obtained by chatting object ID and 3 self-propagation numbers.
To reach above-mentioned purpose, the embodiment of the invention discloses a kind of message display device, applied to terminal, described device
Including:
Receiving module, the first message data for receiving destination server transmission, wherein, the first message data are
Combine what is obtained by the chat subject field and the second message data that carry;
Parsing module, for being split to the first message data, obtains and parses the chat subject field, obtain
To the chat theme for destination object;
Display module, for according to the chat theme, creating the corresponding chat theme window of the destination object, and will
The second obtained message data is split to be shown in the chat window.
Optionally, the destination server is:
Instant messaging IM servers.
Optionally, the chat subject field is:Carry out adding what computing was obtained by chatting object ID and 3 self-propagation numbers.
As seen from the above technical solutions, the embodiments of the invention provide a kind of message display method and device, it is applied to
Terminal, receives the first message data that destination server is sent, wherein, the first message data are the chat theme by carrying
What field and the combination of the second message data were obtained;The first message data are split, obtains and parses the chat master
Autograph section, obtains the chat theme for destination object;According to the chat theme, the corresponding chat of the destination object is created
Theme window, and be shown to obtained the second message data is split in the chat window.
It can be seen that, using the embodiment of the present invention, one or more chat subject informations with destination object can be obtained, are passed through
The corresponding chat theme window of one or more chat theme difference is created, so that multi-threaded chat is realized, with user on certain
One chat theme, which links up, more to be facilitated, while lifting Consumer's Experience.
Certainly, any product or method for implementing the present invention it is not absolutely required to while reaching all the above excellent
Point.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of message display method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation of message display device provided in an embodiment of the present invention.
Embodiment
Embodiments of the invention are elaborated below, the present embodiment is carried out lower premised on technical solution of the present invention
Implement, give detailed embodiment and specific operating process, but protection scope of the present invention is not limited to following implementations
Example.
A kind of message display method provided in an embodiment of the present invention is described in detail first below.
It should be noted that a kind of message display method provided in an embodiment of the present invention and device are preferably applied to terminal,
Such as APP application terminals, PC terminals.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of message display method provided in an embodiment of the present invention, can be included
Following steps:
S101, receives the first message data that destination server is sent, wherein, the first message data are by carrying
What chat subject field and the combination of the second message data were obtained;
The first message data are split by S102, are obtained and are parsed the chat subject field, obtain being directed to mesh
Mark the chat theme of object;
S103, according to the chat theme, creates the corresponding chat theme window of the destination object, and fractionation is obtained
The second message data be shown in the chat window.
Specifically, the destination server can be:Instant messaging IM servers.
Specifically, the chat subject field can be:Carried out by chatting object ID with 3 self-propagation numbers plus computing is obtained
's.
In a kind of specific implementation provided in an embodiment of the present invention, a kind of branch based on mobile Internet can be set up
The instant communicating system of multi-threaded chat is held, chat window can support multiple chat themes.
The system can use Ejabberd servers (instant communication server based on Jabber/XMPP agreements) conduct
Chat backstage, increases the topic expansion field of chat.APP ends increase parsing to subject field when receiving message, and by its
It is shown under corresponding theme.Server end message storage increase subject information.
Message is stored in server, increases " Subjectid " field, so that by subject attribute on message band.Subjectid
Carry out adding what computing was obtained by chatting object ID and 3 self-propagation numbers.
APP creates chat theme, and Subjectid (theme ID), Subjecttitle (subject description) storage are arrived into IM
In memory block under the corresponding chatting object of server.
The APP ends of user take Subjectid (chat theme ID) and are sent to IM servers, IM services when sending out message
The message for carrying theme ID is sent to chatting object, and storage tape Subjectid chat messages by device.
APP ends are received after message used in target chatting object, parse Subectid fields, and message is shown to pair
The chat theme window answered.
In addition, APP desktop unread Messages:Desktop unread Messages are the unread message sum of all themes.
If supporting PC ends, after having read the new information of some theme at APP ends, by the unread Messages of the theme clear 0,
IM servers are informed, server calculates new unread Messages and is pushed to PC ends.
If supporting PC ends, after having read the new information of some theme at PC ends, the corresponding message count of theme clear 0 is accused
Know server, server push gives APP ends.
It can be seen that, using the embodiment of the present invention, one or more chat subject informations with destination object can be obtained, are passed through
The corresponding chat theme window of one or more chat theme difference is created, so that multi-threaded chat is realized, with user on certain
One chat theme, which links up, more to be facilitated, while lifting Consumer's Experience.
Referring to Fig. 2, Fig. 2 is a kind of structural representation of message display device provided in an embodiment of the present invention, and shown in Fig. 1
Flow it is corresponding, described device can include:Receiving module 201, parsing module 202, display module 203.
Receiving module 201, the first message data for receiving destination server transmission, wherein, the first message number
According to combine what is obtained by the chat subject field and the second message data that carry;
Parsing module 202, for being split to the first message data, obtains and parses the chat theme word
Section, obtains the chat theme for destination object;
Display module 203, for according to the chat theme, creating the corresponding chat theme window of the destination object,
And the second message data for obtaining fractionation is shown in the chat window.
Specifically, the destination server is:Instant messaging IM servers.
Specifically, the chat subject field is:Carry out adding what computing was obtained by chatting object ID and 3 self-propagation numbers.
It can be seen that, using the embodiment of the present invention, one or more chat subject informations with destination object can be obtained, are passed through
The corresponding chat theme window of one or more chat theme difference is created, so that multi-threaded chat is realized, with user on certain
One chat theme, which links up, more to be facilitated, while lifting Consumer's Experience.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those
Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for device
Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is
To instruct the hardware of correlation to complete by program, described program can be stored in computer read/write memory medium,
The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.
Claims (6)
1. a kind of message display method, applied to terminal, it is characterised in that methods described includes:
The first message data that destination server is sent are received, wherein, the first message data are the chat theme by carrying
What field and the combination of the second message data were obtained;
The first message data are split, obtains and parses the chat subject field, are obtained for destination object
Chat theme;
According to the chat theme, the corresponding chat theme window of the destination object is created, and will split second disappearing of obtaining
Data display is ceased into the chat window.
2. according to the method described in claim 1, it is characterised in that the destination server is:
Instant messaging IM servers.
3. according to the method described in claim 1, it is characterised in that the chat subject field is:By chatting object ID and 3
Self-propagation number carries out adding what computing was obtained.
4. a kind of message display device, applied to terminal, it is characterised in that described device includes:
Receiving module, the first message data for receiving destination server transmission, wherein, the first message data are by taking
What the chat subject field of band and the combination of the second message data were obtained;
Parsing module, for being split to the first message data, obtains and parses the chat subject field, obtain pin
To the chat theme of destination object;
Display module, for according to the chat theme, creating the corresponding chat theme window of the destination object, and will split
The second obtained message data is shown in the chat window.
5. device according to claim 4, it is characterised in that the destination server is:
Instant messaging IM servers.
6. device according to claim 4, it is characterised in that the chat subject field is:By chatting object ID and 3
Self-propagation number carries out adding what computing was obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710240680.8A CN107181668A (en) | 2017-04-13 | 2017-04-13 | A kind of message display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710240680.8A CN107181668A (en) | 2017-04-13 | 2017-04-13 | A kind of message display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107181668A true CN107181668A (en) | 2017-09-19 |
Family
ID=59830953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710240680.8A Withdrawn CN107181668A (en) | 2017-04-13 | 2017-04-13 | A kind of message display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107181668A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108495074A (en) * | 2018-03-28 | 2018-09-04 | 武汉斗鱼网络科技有限公司 | A kind of Video chat method and device |
CN112769683A (en) * | 2021-01-29 | 2021-05-07 | 联仁健康医疗大数据科技股份有限公司 | Unread message processing method and device, electronic equipment and storage medium |
CN112787910A (en) * | 2021-01-29 | 2021-05-11 | 联仁健康医疗大数据科技股份有限公司 | Message processing method and device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215178A (en) * | 2011-05-31 | 2011-10-12 | 广州华多网络科技有限公司 | Method and device for presenting communication information |
CN107070771A (en) * | 2017-02-14 | 2017-08-18 | 合肥市群智科技有限公司 | A kind of instant communicating system of the multi-threaded chat of support based on mobile Internet |
-
2017
- 2017-04-13 CN CN201710240680.8A patent/CN107181668A/en not_active Withdrawn
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215178A (en) * | 2011-05-31 | 2011-10-12 | 广州华多网络科技有限公司 | Method and device for presenting communication information |
CN107070771A (en) * | 2017-02-14 | 2017-08-18 | 合肥市群智科技有限公司 | A kind of instant communicating system of the multi-threaded chat of support based on mobile Internet |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108495074A (en) * | 2018-03-28 | 2018-09-04 | 武汉斗鱼网络科技有限公司 | A kind of Video chat method and device |
CN112769683A (en) * | 2021-01-29 | 2021-05-07 | 联仁健康医疗大数据科技股份有限公司 | Unread message processing method and device, electronic equipment and storage medium |
CN112787910A (en) * | 2021-01-29 | 2021-05-11 | 联仁健康医疗大数据科技股份有限公司 | Message processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104246802B (en) | cross-platform message transmission | |
CN102769579B (en) | The display packing of a kind of Twitter message, microblog terminal and micro-blog server | |
US7428702B1 (en) | Method and system for dynamic message correction | |
US10169740B2 (en) | Tag cloud buddy list for messaging contacts | |
CN100469006C (en) | A network information push method and system | |
CN104980289B (en) | Information push method, device and system | |
EP2723024B1 (en) | Method, device and system for sharing microblog message | |
CN103269303A (en) | Group exchange message distribution method and system | |
CN102664832A (en) | Method and device for commenting and additionally modifying message | |
ATE413652T1 (en) | CONFIGURATIVE GRAPHIC USER INTERFACE USEFUL IN MANAGEMENT DEVICES CONNECTED TO A NETWORK | |
CN102769640B (en) | The update method of user profile, server and system | |
WO2005120155A3 (en) | Method, system and computer program to enable semantic mediation for sip events through support of dynamically binding to and changing of application semantics of sip events | |
CN108243086A (en) | A kind of message treatment method and system | |
CN100442787C (en) | Quick positioning method for contacting person in immediate communication | |
CN103269310A (en) | Method and system for releasing group exchange messages | |
US20170034084A1 (en) | Intelligent messaging reply system and method | |
CN107181668A (en) | A kind of message display method and device | |
CN103269305A (en) | Method and system for issuing group exchange of information | |
CN102209044B (en) | Method for displaying picture message, apparatus and system thereof | |
CN101977209A (en) | Method for realizing page-turning synchronization on web page | |
CN102385605A (en) | Method and system for searching microblog messages and microblog server | |
CN103532824B (en) | The method of instant communication information notice, browser and server | |
CN109151056B (en) | Method and system for pushing messages based on Canal | |
US20040039776A1 (en) | System and method for efficient data refresh | |
CN103269308A (en) | Method and system for releasing interaction information of communication groups |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170919 |
|
WW01 | Invention patent application withdrawn after publication |