CN103095549A - Method and system for messaging between instant messaging tools - Google Patents
Method and system for messaging between instant messaging tools Download PDFInfo
- Publication number
- CN103095549A CN103095549A CN2011103365441A CN201110336544A CN103095549A CN 103095549 A CN103095549 A CN 103095549A CN 2011103365441 A CN2011103365441 A CN 2011103365441A CN 201110336544 A CN201110336544 A CN 201110336544A CN 103095549 A CN103095549 A CN 103095549A
- Authority
- CN
- China
- Prior art keywords
- message
- client
- server
- special identifier
- transmitted
- 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
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a system for messaging between instant messaging tools. The method comprises that a first instant messaging (IM) server receives messages uploaded by a first IM client end; the first IM server sends the messages in an unvarnished transmission mode to a second IM server according to special marks in the messages; the second IM server sends the messages to a second IM client end in an unvarnished transmission mode according to the special marks in the messages and displays the messages. Through the method and the system for messaging between the instant messaging tools, the problems that messaging between different instant messaging tools is large in cost, and flow and resources waste are obvious can be solved.
Description
Technical field
The present invention relates to communication technical field, refer to especially the method and system that between a kind of JICQ, message is transmitted.
Background technology
Network instant communication (IM, Instant Messenger) instrument develops into today and is accepted by most netizen, become the requisite means of communication of user, be widely used not only in amusement and recreation at ordinary times, and in user's work.Therefore, the user has proposed higher requirement to aspects such as the ease for use of IM instrument, stability, fail safes.
At present, the IM instrument mainly provides the group of man-to-man message chat pattern and one-to-many or the message chat pattern of discussion group.Development along with internet, applications, the another kind of message chat pattern of IM instrument, be miniature blog (MicroBlog, the abbreviation microblogging) application also development is grown, the user of the miniature blog of this class can send by the note form about 140 words oneself latest tendency and idea to Web group, this mode can be carried out Information Communication and transmission very fast, realize user message chat pattern from one to one, one-to-many is to a pair of infinite a kind of leap.This a pair of infinite message chat pattern means that a user can carry out transmission of news to infinite a plurality of users, and a user also can listen to the message of the user more than ten thousand grades simultaneously, and therefore, the information transfer efficiency of miniature blog is very high.
In the application of the microblogging client of current main-stream, the user extremely wishes to be shared with valuable Twitter message the good friend of oneself, thereby can trigger the further communication with the good friend.Here the good friend of indication refers to the good friend of this user when other IM instruments that use except microblogging.
At present, the process that Twitter message is passed to other IM clients comprises as shown in Figure 1:
1, the microblogging client is to microblogging server uploading micro-blog message, and this message mainly comprises following content:
Transmission types, being used to indicate this message is to send to the user the good friend of other IM clients, and reserves the support to the group;
Twitter message recipient's number information, according to the indication of transmission types, this number information can be that good friend's number information can be also group's number information;
The message id of Twitter message;
The plain text information of Twitter message;
The field in indication microblogging client source.
2, the Twitter message of microblogging server parses microblogging client upload, and two packets corresponding to generation Twitter message send to other IM servers.
Why will generate two packets is because other IM clients that the Twitter message recipient uses are because the difference of version is different to Twitter message analysis of the data packet mode.According to actual needs, two packets that Twitter message is corresponding are respectively:
A comprises the packet of the plain text information of Twitter message;
B comprises the packet of the message id of Twitter message.
3, other IM servers adopt general system message to issue the packet of Twitter message to other IM clients.
The version of other IM clients of using according to the recipient passes through other IM clients with the packet of correspondence.
Receive other IM clients of the packet of the plain text information that comprises Twitter message, the plain text information of directly showing Twitter message; Receive other IM clients of the packet of the message id that comprises Twitter message, parse the message id of Twitter message, then obtain except plain text information more the information of the Twitter message of horn of plenty (as pictorial information etc.) by message id and show.
There is following defective in above-mentioned Twitter message transmittance process:
1, this process relates to mutual between microblogging client, microblogging server, other IM server threes, does not take full advantage of between microblogging client and other IM servers the message sendaisle of maturation, realizes that cost is relatively large.
The compatibility of other IM client various versions of 2, using for the recipient, the same Twitter message need to be assembled 2 packets, comprises the message of the plain text of Twitter message in packet, and another data comprise the message id of Twitter message; Then need respectively to the different packet of other IM client push of different editions.As seen, this mode has caused the waste of flow and resource.
Summary of the invention
In view of this, the method and system that main purpose of the present invention is to provide message between a kind of JICQ to transmit transmits to solve between different JICQs message that cost is large, flow and the obvious problem of the wasting of resources.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of method that between JICQ, message is transmitted, the method comprises:
The first instant messaging (IM) server receives the message of an IM client upload;
The one IM server passes through the 2nd IM server according to the special identifier in described message with described message;
Described the 2nd IM server passes through described message the 2nd IM client, also shows according to described special identifier.
Described special identifier is the Flag sign, and described Flag is designated one section buffer byte, the message id of bearing said message.
After described the 2nd described message of IM client, the method also comprises:
During described the 2nd described special identifier of IM client None-identified, described the second client is directly showed the plain text information of carrying in described message.
After described the 2nd described message of IM client, the method also comprises:
When described the 2nd IM client identifies described special identifier, parse described message id from described special identifier, and obtain other information except plain text information corresponding to described message according to described message id, and show.
The present invention also provides the system that between a kind of JICQ, message is transmitted, and comprising: an IM client, an IM server, the 2nd IM server and the 2nd IM client, wherein:
A described IM client is used for uploading message;
A described IM server is for the message that receives a described IM client upload; Also be used for according to the special identifier of described message, described message being passed through described the 2nd IM server;
Described the 2nd IM server is used for according to described special identifier, described message being passed through described the 2nd IM client;
Described the 2nd IM client is used for showing described message.
A described IM client, also being used in described message, described special identifier being set is the Flag sign, described Flag is designated one section buffer byte, the message id of bearing said message.
Described the 2nd IM client also is used for directly showing the plain text information of carrying in described message when the described special identifier of None-identified.
Described the 2nd IM client also is used for parsing described message id from described special identifier, and obtaining other information except plain text information corresponding to described message according to described message id, and show when identifying described special identifier.
The method and system that between JICQ provided by the invention, message is transmitted is provided with special identifier in the message of transmitting, according to this special identifier, server carries out transparent transmission and do not make any logical process message, greatly reduces like this cost; In addition, the present invention is encapsulated in the message id of message in special identifier, and so, client just is used as this message the common message processing during due to the old None-identified special identifier of version; When client can be identified this special identifier, just can pull more information with this shows, so with regard to need not because the problem of IM client release compatibility is encapsulated as two kinds of packets with a piece of news to be transmitted, so not only reduced cost, also saved resource and flow.
Description of drawings
Fig. 1 in prior art passes to Twitter message the schematic diagram of other IM clients;
Fig. 2 is the method flow schematic diagram that between JICQ of the present invention, message is transmitted;
Fig. 3 is the system configuration schematic diagram that between JICQ of the present invention, message is transmitted.
Embodiment
Between JICQ of the present invention, the method for message transmission comprises as shown in Figure 2:
Step 201, an IM server receives the message of an IM client upload.
This special identifier is the Flag sign, and the Flag sign can be one section buffer byte, is used for the message id of bearer messages.
Step 202, an IM server passes through the 2nd IM server according to the special identifier in message with message.
Step 203, the 2nd IM server passes through message the 2nd IM client, also shows according to special identifier.
The one IM server and the 2nd IM server only carry out transparent transmission to message according to special identifier, do not make the Logic of Tasks and process.To the parsing of message by the 2nd IM client executing:
During the 2nd IM client None-identified special identifier, directly show the plain text information of carrying in message.
When the 2nd IM client identifies special identifier, parse message id from special identifier, and obtain other information except plain text information corresponding to message according to message id, and show.
Preferably, an above-mentioned IM server can be the microblogging server, and the 2nd IM server can be other IM servers except the microblogging server.
The below take an IM server as the microblogging server, the 2nd IM server as the QQ server as example illustrates technical scheme of the present invention.Send to the process of QQ client as follows Twitter message:
1, the microblogging client is uploaded the Twitter message that needs transmission to the microblogging server.
In the present invention, this Twitter message is expanded, based on the microblogging client, characteristic is supported in the expansion of message, a special identifier can be set in this Twitter message, be the Flag sign, this Flag sign can be one section buffer byte (8 byte), is used for the message id of carrying Twitter message;
Except the message id of Twitter message, this Twitter message also comprises following content:
Transmission types, being used to indicate this Twitter message is the QQ good friend who sends to the user, and reserves the support to QQ group;
Twitter message recipient's number information, according to the indication of transmission types, this number information can be that user QQ good friend's QQ number can be also QQ group's number;
The plain text information of Twitter message;
The field in indication microblogging client source.
2, after the microblogging server receives the Twitter message of microblogging client upload, according to the sign of the Flag in message, directly this Twitter message is passed through the QQ server, do not make any logical process.
3, after the QQ server receives Twitter message, according to the sign of the Flag in message, directly this Twitter message is passed through the QQ client, do not make any logical process.
4, the QQ client is resolved Twitter message.
If the Flag that the QQ client can not be identified in Twitter message due to version problem identifies, the QQ client is processed this Twitter message as common message so, directly shows the plain text information in Twitter message.
If the QQ client can be identified the Flag sign in Twitter message, the QQ client parses the message id of the Twitter message of Flag sign carrying so, and shows with this information of obtaining more horn of plenty corresponding to this Twitter message, and is concrete:
When the QQ client is opened, have do some special processings to message body to be shown an opportunity, can resolve this moment to the Twitter message that receives, and whether judgement wherein has the Flag sign;
If no, the QQ client is only showed plain text information in Twitter message;
If have, parse the message id of the Twitter message of Flag sign carrying, and add a display interface control that message id is corresponding in Twitter message;
When the QQ client will show Twitter message, create display interface control corresponding to message id, at this moment, need local other exhibition information of horn of plenty (as information such as picture, videos) more whether this message id association arranged of judgement;
If this locality does not have, the QQ client need to start the process of an asynchronous Download Info, assembling information so, download above-mentioned other exhibition information of horn of plenty more, show simultaneously Twitter message, wherein other more the exhibition information of horn of plenty replace with the control of a sky, to be downloaded complete, assemble after, upgrade Twitter message.
If local existing, so directly show Twitter message.
In order to realize said method, the present invention also provides the system that between a kind of JICQ, message is transmitted, and as shown in Figure 3, comprising: an IM client, an IM server, the 2nd IM server and the 2nd IM client, wherein:
The one IM client is used for uploading message;
The one IM server is for the message that receives an IM client upload; Also be used for according to the special identifier of message, message being passed through the 2nd IM server;
The 2nd IM server is used for according to special identifier, message being passed through the 2nd IM client;
The 2nd IM client is used for showing message.
The one IM client, also being used in message, special identifier being set is the Flag sign, Flag is designated one section buffer byte, the message id of bearer messages.
The 2nd IM client also is used for directly showing the plain text information of carrying in message when the None-identified special identifier.
The 2nd IM client also is used for parsing message id from special identifier, and obtaining other information except plain text information corresponding to message according to message id, and show when identifying special identifier.
The above is only preferred embodiment of the present invention, is not for limiting protection scope of the present invention.
Claims (8)
1. the method that between a JICQ, message is transmitted is characterized in that, the method comprises:
The first instant messaging (IM) server receives the message of an IM client upload;
The one IM server passes through the 2nd IM server according to the special identifier in described message with described message;
Described the 2nd IM server passes through described message the 2nd IM client, also shows according to described special identifier.
2. the method that between JICQ, message is transmitted according to claim 1 is characterized in that, described special identifier is the Flag sign, and described Flag is designated one section buffer byte, the message id of bearing said message.
3. the method that between JICQ, message is transmitted according to claim 1 is characterized in that, after described the 2nd described message of IM client, the method also comprises:
During described the 2nd described special identifier of IM client None-identified, described the second client is directly showed the plain text information of carrying in described message.
4. the method that between according to claim 2 or 3 described JICQs, message is transmitted is characterized in that, after described the 2nd described message of IM client, the method also comprises:
When described the 2nd IM client identifies described special identifier, parse described message id from described special identifier, and obtain other information except plain text information corresponding to described message according to described message id, and show.
5. the system that between a JICQ, message is transmitted is characterized in that, comprising: an IM client, an IM server, the 2nd IM server and the 2nd IM client, wherein:
A described IM client is used for uploading message;
A described IM server is for the message that receives a described IM client upload; Also be used for according to the special identifier of described message, described message being passed through described the 2nd IM server;
Described the 2nd IM server is used for according to described special identifier, described message being passed through described the 2nd IM client;
Described the 2nd IM client is used for showing described message.
6. the system that between JICQ, message is transmitted according to claim 5 is characterized in that,
A described IM client, also being used in described message, described special identifier being set is the Flag sign, described Flag is designated one section buffer byte, the message id of bearing said message.
7. the system that between JICQ, message is transmitted according to claim 5 is characterized in that,
Described the 2nd IM client also is used for directly showing the plain text information of carrying in described message when the described special identifier of None-identified.
8. the system that between according to claim 6 or 7 described JICQs, message is transmitted is characterized in that,
Described the 2nd IM client also is used for parsing described message id from described special identifier, and obtaining other information except plain text information corresponding to described message according to described message id, and show when identifying described special identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110336544.1A CN103095549B (en) | 2011-10-31 | 2011-10-31 | The method and system of message transmission between a kind of JICQ |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110336544.1A CN103095549B (en) | 2011-10-31 | 2011-10-31 | The method and system of message transmission between a kind of JICQ |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103095549A true CN103095549A (en) | 2013-05-08 |
CN103095549B CN103095549B (en) | 2017-08-15 |
Family
ID=48207705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110336544.1A Active CN103095549B (en) | 2011-10-31 | 2011-10-31 | The method and system of message transmission between a kind of JICQ |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103095549B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103647696A (en) * | 2013-11-13 | 2014-03-19 | 天脉聚源(北京)传媒科技有限公司 | Message reply method and system under micro message development mode |
CN104243523A (en) * | 2013-06-19 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Method for building microblog messages and microblog foreground server |
WO2015161777A1 (en) * | 2014-04-21 | 2015-10-29 | Tencent Technology (Shenzhen) Company Limited | Information transmission control method, apparatus, and system |
WO2017214773A1 (en) * | 2016-06-12 | 2017-12-21 | 华为技术有限公司 | Method and apparatus for forwarding content between different applications |
CN107800606A (en) * | 2016-08-31 | 2018-03-13 | 北京北信源软件股份有限公司 | A kind of instant communicating method and device for supporting the more accounts of multiserver simultaneously online |
CN108683586A (en) * | 2018-05-10 | 2018-10-19 | 网易(杭州)网络有限公司 | Data processing method, device, medium in instant communicating system and computing device |
WO2021128152A1 (en) * | 2019-12-26 | 2021-07-01 | Mastercard Shanghai Business Consulting Ltd. | A method and system for processing a plurality of messages between different social network services |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070288601A1 (en) * | 2006-06-09 | 2007-12-13 | Microsoft Corporation | Real-time blogging system and procedures |
CN101296194A (en) * | 2007-04-26 | 2008-10-29 | 中国移动通信集团公司 | Instant information intercommunication method, instant information gateway and instant information server |
WO2010092492A1 (en) * | 2009-02-12 | 2010-08-19 | Amivox Ehf. | Instant messaging and telephony value added services |
CN101997743A (en) * | 2009-08-14 | 2011-03-30 | 宇瞻科技股份有限公司 | Method for sharing file information |
CN102088466A (en) * | 2009-12-07 | 2011-06-08 | 腾讯科技(深圳)有限公司 | Micro-blog browsing method and relevant equipment |
-
2011
- 2011-10-31 CN CN201110336544.1A patent/CN103095549B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070288601A1 (en) * | 2006-06-09 | 2007-12-13 | Microsoft Corporation | Real-time blogging system and procedures |
CN101296194A (en) * | 2007-04-26 | 2008-10-29 | 中国移动通信集团公司 | Instant information intercommunication method, instant information gateway and instant information server |
WO2010092492A1 (en) * | 2009-02-12 | 2010-08-19 | Amivox Ehf. | Instant messaging and telephony value added services |
CN101997743A (en) * | 2009-08-14 | 2011-03-30 | 宇瞻科技股份有限公司 | Method for sharing file information |
CN102088466A (en) * | 2009-12-07 | 2011-06-08 | 腾讯科技(深圳)有限公司 | Micro-blog browsing method and relevant equipment |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104243523A (en) * | 2013-06-19 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Method for building microblog messages and microblog foreground server |
CN103647696B (en) * | 2013-11-13 | 2017-01-11 | 天脉聚源(北京)传媒科技有限公司 | Message reply method and system under micro message development mode |
CN103647696A (en) * | 2013-11-13 | 2014-03-19 | 天脉聚源(北京)传媒科技有限公司 | Message reply method and system under micro message development mode |
US10880239B2 (en) | 2014-04-21 | 2020-12-29 | Tencent Technology (Shenzhen) Company Limited | Information transmission control method, apparatus, and system |
WO2015161777A1 (en) * | 2014-04-21 | 2015-10-29 | Tencent Technology (Shenzhen) Company Limited | Information transmission control method, apparatus, and system |
US11271879B2 (en) | 2014-04-21 | 2022-03-08 | Tencent Technology (Shenzhen) Company Limited | Information transmission control method, apparatus, and system |
WO2017214773A1 (en) * | 2016-06-12 | 2017-12-21 | 华为技术有限公司 | Method and apparatus for forwarding content between different applications |
US11438298B2 (en) | 2016-06-12 | 2022-09-06 | Huawei Technologies Co., Ltd. | Method and apparatus for forwarding content between different application programs |
CN107800606A (en) * | 2016-08-31 | 2018-03-13 | 北京北信源软件股份有限公司 | A kind of instant communicating method and device for supporting the more accounts of multiserver simultaneously online |
CN108683586A (en) * | 2018-05-10 | 2018-10-19 | 网易(杭州)网络有限公司 | Data processing method, device, medium in instant communicating system and computing device |
WO2019214208A1 (en) * | 2018-05-10 | 2019-11-14 | 网易(杭州)网络有限公司 | Data processing method and apparatus in instant messaging system, medium, and computing device |
CN108683586B (en) * | 2018-05-10 | 2020-02-21 | 网易(杭州)网络有限公司 | Data processing method, device, medium and computing equipment in instant communication system |
WO2021128152A1 (en) * | 2019-12-26 | 2021-07-01 | Mastercard Shanghai Business Consulting Ltd. | A method and system for processing a plurality of messages between different social network services |
Also Published As
Publication number | Publication date |
---|---|
CN103095549B (en) | 2017-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103095549A (en) | Method and system for messaging between instant messaging tools | |
CN101099144B (en) | Implementing method of communication by messaging protocol | |
KR101544518B1 (en) | Method, device and system for sharing microblog message | |
US8849322B2 (en) | Systems and methods for sharing threaded conversations on mobile communications devices | |
CN101355529B (en) | Method, system and client terminal for transmitting e-mail to instant communication contact | |
CN103326929B (en) | Method and device for transmitting messages | |
CN104243561B (en) | A kind of electronic equipment, information processing method and information transmission system | |
CN103379019B (en) | Information push method and device in microblogging, system | |
WO2008142613A1 (en) | E-mail synchronization for mobile devices | |
US8886234B2 (en) | Techniques for unified messaging | |
CN104717133A (en) | Distributed message push system and method | |
CN102387182A (en) | Method and device for managing listener list information of microblog users | |
CN103532828B (en) | A kind of rich text format of the XMPP based on extension realizes system and method | |
CN103095748A (en) | Method, server and system capable of sending updated microblog information of friend | |
US20150046531A1 (en) | Messaging system, topic management device, messaging method, and program | |
WO2012022083A1 (en) | Method for transmitting expression file and terminal equipment | |
CN101888368A (en) | Method for transmitting short-text message by using TCP protocol | |
CN102185701A (en) | Method and system for realizing group information interaction | |
WO2014187397A1 (en) | Multimedia message publishing method and device | |
EP2053808B1 (en) | The system, method and device for realizing email notification | |
US20040122964A1 (en) | Record transport protocol for data communication in wireless delivery systems | |
CN102647366A (en) | Method for realizing propagation of microblog list, terminal and system | |
US20150163181A1 (en) | Multipurpose internet mail extensions ("mime") metadata for group messaging | |
CN102387090B (en) | Device, system and method for realizing change of multi-user relationship chain | |
CN101079842B (en) | Method and system for positioning the user based on display area of chat message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |