CN103095549B - The method and system of message transmission between a kind of JICQ - Google Patents

The method and system of message transmission between a kind of JICQ Download PDF

Info

Publication number
CN103095549B
CN103095549B CN201110336544.1A CN201110336544A CN103095549B CN 103095549 B CN103095549 B CN 103095549B CN 201110336544 A CN201110336544 A CN 201110336544A CN 103095549 B CN103095549 B CN 103095549B
Authority
CN
China
Prior art keywords
message
clients
special identifier
servers
jicq
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110336544.1A
Other languages
Chinese (zh)
Other versions
CN103095549A (en
Inventor
库宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201110336544.1A priority Critical patent/CN103095549B/en
Publication of CN103095549A publication Critical patent/CN103095549A/en
Application granted granted Critical
Publication of CN103095549B publication Critical patent/CN103095549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method and system of message transmission between JICQ, including:First instant messaging (IM) server receives the message that the first IM clients are uploaded;Message is passed through the 2nd IM servers by special identifier of the first IM servers in message;Message is passed through the 2nd IM clients according to special identifier and shown by the 2nd IM servers.By the invention it is possible to solve the problem of big message transmission cost between different JICQs, flow and obvious wasting of resources.

Description

The method and system of message transmission between a kind of JICQ
Technical field
The present invention relates to communication technical field, particularly relate between a kind of JICQ the method for message transmission and be System.
Background technology
Network instant communication (IM, Instant Messenger) instrument develops into today by most netizen institute Receive, as the means of communication that user is essential, not only in amusement and recreation usually, and obtained in the work of user Widely use.Therefore, user in terms of the ease for use, stability, security of IM instruments to proposing higher requirement.
At present, IM instruments mainly provide man-to-man messaging chat pattern and one-to-many group or discussion group Messaging chat pattern.With continuing to develop for the Internet, applications, another messaging chat pattern, the i.e. miniature blog of IM instruments The application of (MicroBlog, abbreviation microblogging) also continues to develop growth, and the user of this kind of miniature blog can pass through 140 word left sides Right short message form is to the latest tendency and idea of website pocket transmission oneself, and this mode can very be rapidly performed by information biography Broadcast and transmit, realize user message Chat mode from a kind of one-to-one, a pair more to a pair infinite leaps.This pair infinite Messaging chat pattern mean that a user can carry out transmission of news to infinite multiple users, while a user also may be used With the message for the user for listening to more than ten thousand grades, therefore, the information transfer efficiency of miniature blog is very high.
In the application of the microblogging client of current main-stream, user extremely wishes to valuable Twitter message to be shared with The good friend of oneself, so as to trigger the further communication with good friend.Good friend referred herein refers to the user using except micro- Win good friend during other outer IM instruments.
At present, by Twitter message pass to other IM clients process as shown in figure 1, including:
1st, microblogging client uploads Twitter message to micro blog server, and the message mainly includes following content:
Transmission types, for indicating that the message is destined to good friend of the user in other IM clients, and it is reserved to group's Support;
The number information of Twitter message recipient, according to the instruction of transmission types, the number information can be number of good friend Code information can also be the number information of group;
The message id of Twitter message;
The plain text information of Twitter message;
Indicate the field in microblogging client source.
2nd, the Twitter message that micro blog server parsing microblogging client is uploaded, and generate corresponding two data of Twitter message Bag is sent to other IM servers.
Why to generate two packets is because other IM clients that Twitter message recipient uses are because version Difference, it is different to the analysis mode of Twitter message packet.According to actual needs, corresponding two packets point of Twitter message It is not:
A, the packet of the plain text information comprising Twitter message;
B, the packet of the message id comprising Twitter message.
3rd, other IM servers issue the packet of Twitter message using general system message to other IM clients.
The version of other IM clients used according to recipient, other IM clients are passed through by corresponding packet.
Other IM clients of the packet of the plain text information comprising Twitter message are received, Twitter message is directly shown Plain text information;Other IM clients of the packet of the message id comprising Twitter message are received, Twitter message is parsed Message id, then pass through message id obtain in addition to plain text information the Twitter message of more horn of plenty information (such as pictorial information) It is shown.
There is following defect in above-mentioned Twitter message transmittance process:
1st, the process is related to the interaction between microblogging client, micro blog server, other IM server threes, not Message sendaisle ripe between microblogging client and other IM servers is made full use of, cost of implementation is relatively large.
2nd, the compatibility of other the various versions of IM clients used for recipient, same Twitter message needs assembling 2 The message of plain text comprising Twitter message, message of another packet containing Twitter message in individual packet, a packet ID;Then need respectively to the different packet of other IM client push of different editions.It can be seen that, this mode causes stream The waste of amount and resource.
The content of the invention
In view of this, it is a primary object of the present invention to provide between a kind of JICQ the method for message transmission and be System, to solve the problem of big message transmission cost between different JICQs, flow and obvious wasting of resources.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
The invention provides a kind of method of message transmission between JICQ, this method includes:
First instant messaging (IM) server receives the message that the first IM clients are uploaded;
The message is passed through the 2nd IM servers by special identifier of the first IM servers in the message;
The message is passed through the 2nd IM clients according to the special identifier and shown by the 2nd IM servers.
The special identifier is Flag marks, the Flag is designated one section of buffer byte, and bearing said message disappears Cease ID.
The 2nd IM clients are received after the message, and this method also includes:
Described in the 2nd IM client None- identifieds during special identifier, second client directly shows the message The plain text information of middle carrying.
The 2nd IM clients are received after the message, and this method also includes:
When the 2nd IM clients identify the special identifier, the message is parsed from the special identifier ID, and the corresponding other information in addition to plain text information of message is obtained according to the message id, and be shown.
Present invention also offers a kind of system of message transmission between JICQ, including:First IM clients, first IM servers, the 2nd IM servers and the 2nd IM clients, wherein:
The first IM clients, for upload message;
The first IM servers, for receiving the message that the first IM clients are uploaded;It is additionally operable to disappear according to The message is passed through the 2nd IM servers by the special identifier in breath;
The 2nd IM servers, for the message to be passed through into the 2nd IM client according to the special identifier End;
The 2nd IM clients, for showing the message.
The first IM clients, are additionally operable to set the special identifier to identify for Flag in the message, described Flag is designated one section of buffer byte, the message id of bearing said message.
The 2nd IM clients, are additionally operable to, in special identifier described in None- identified, directly show in the message and take The plain text information of band.
The 2nd IM clients, are additionally operable to, when identifying the special identifier, parse from the special identifier The message id, and the corresponding other information in addition to plain text information of message is obtained according to the message id, and carry out Displaying.
The method and system of message transmission between the JICQ that the present invention is provided, is provided with spy in the message of transmission Different mark, according to the special identifier, server carries out transparent transmission to message without making any logical process, so greatly reduces into This;In addition, the message id of message is encapsulated in special identifier by the present invention, in this way, client is due to the old None- identified of version During special identifier, just by the message as common message processing;When client can recognize the special identifier, it is possible to this Pull more information to be shown, so just without because a piece of news is encapsulated as two by IM client releases the problem of compatible Plant packet to be transmitted, so not only reduce cost, also save resource and flow.
Brief description of the drawings
Fig. 1 is the schematic diagram that Twitter message is passed to other IM clients in the prior art;
Fig. 2 is the method flow schematic diagram of message transmission between JICQ of the present invention;
Fig. 3 is the system structure diagram of message transmission between JICQ of the present invention.
Embodiment
The method of message transmission includes as shown in Figure 2 between JICQ of the present invention:
Step 201, the first IM servers receive the message that the first IM clients are uploaded.
The special identifier identifies for Flag, and Flag marks can be for one section of buffer byte, the message for bearer messages ID。
Step 202, message is passed through the 2nd IM servers by special identifier of the first IM servers in message.
Step 203, message is passed through the 2nd IM clients according to special identifier and shown by the 2nd IM servers.
First IM servers and the 2nd IM servers only carry out transparent transmission according to special identifier to message, do not make the Logic of Tasks Processing.To the parsing of message by the 2nd IM client executings:
During the 2nd IM client None- identified special identifiers, the plain text information directly carried in displaying message.
When 2nd IM clients identify special identifier, message id is parsed from special identifier, and obtain according to message id The other information for taking message corresponding in addition to plain text information, and be shown.
It is preferred that above-mentioned first IM servers can be micro blog server, the 2nd IM servers can remove microblogging service Other IM servers outside device.
Illustrate the present invention so that the first IM servers are micro blog server, the 2nd IM servers are QQ servers as an example below Technical scheme.The process that Twitter message is sent into QQ clients is as follows:
1st, microblogging client uploads the Twitter message for needing to transmit to micro blog server.
The Twitter message is extended in the present invention, characteristic is supported to the extension of message based on microblogging client, can To set a special identifier, i.e. Flag marks in the Twitter message, Flag marks can be one section of buffer byte (8 Individual byte), the message id for carrying Twitter message;
Except the message id of Twitter message, the Twitter message also includes following content:
Transmission types, for indicating that the Twitter message is destined to the QQ good friends of user, and the reserved support to QQ groups;
The number information of Twitter message recipient, according to the instruction of transmission types, the number information can be user QQ good The QQ number code of friend can also be the number of QQ groups;
The plain text information of Twitter message;
Indicate the field in microblogging client source.
2nd, micro blog server is received after the Twitter message of microblogging client upload, the Flag marks in message, directly Connect and the Twitter message is passed through into QQ servers, do not make any logical process.
3rd, QQ servers are received after Twitter message, the Flag marks in message, directly by the Twitter message transparent transmission QQ clients are given, do not make any logical process.
4th, QQ clients parsing Twitter message.
If QQ clients can not recognize the Flag marks in Twitter message due to version problem, then QQ clients are this Twitter message directly displays the plain text information in Twitter message as common message processing.
If QQ clients can recognize the Flag marks in Twitter message, then QQ clients parse Flag marks and held The message id of the Twitter message of load, and obtain the information of the corresponding more horn of plenty of the Twitter message to show with this, specifically:
When QQ clients are opened, there is an opportunity to do some specially treateds to message body to be shown, now can be right The Twitter message of reception is parsed, and whether judgement wherein has Flag marks;
If it is not, QQ clients only show the plain text information in Twitter message;
If so, the message id of the Twitter message of Flag mark carryings is then parsed, and the addition one in Twitter message The corresponding display interface control of message id;
When QQ clients will show Twitter message, the corresponding display interface control of message id is created, at this time, it may be necessary to judge this Whether ground has the exhibition information (such as picture, video information) of other more horn of plenties of message id association;
If do not had locally, then QQ clients need to start an asynchronous download information, the process of information assembled, under coming The exhibition information of other above-mentioned more horn of plenties is carried, while showing Twitter message, the exhibition information of wherein other more horn of plenties uses one Individual empty control is replaced, and after completion to be downloaded, assembling, updates Twitter message.
If local existing, then to directly display Twitter message.
In order to realize the above method, present invention also offers a kind of system of message transmission between JICQ, such as Fig. 3 It is shown, including:First IM clients, the first IM servers, the 2nd IM servers and the 2nd IM clients, wherein:
First IM clients, for upload message;
First IM servers, for receiving the message that the first IM clients are uploaded;It is additionally operable to the special mark in message Message is passed through the 2nd IM servers by knowledge;
2nd IM servers, for message to be passed through into the 2nd IM clients according to special identifier;
2nd IM clients, for showing message.
First IM clients, are additionally operable to set special identifier to identify for Flag in the message, Flag is designated one section Buffer bytes, the message id of bearer messages.
2nd IM clients, are additionally operable in None- identified special identifier, the plain text letter directly carried in displaying message Breath.
2nd IM clients, are additionally operable to when identifying special identifier, parse message id from special identifier, and according to Message id obtains the corresponding other information in addition to plain text information of message, and is shown.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (6)

1. a kind of method of message transmission between JICQ, it is characterised in that this method includes:
First instant messaging (IM) server receives the message that the first IM clients are uploaded;
The message is passed through the 2nd IM servers by special identifier of the first IM servers in the message;
The message is passed through the 2nd IM clients according to the special identifier and shown by the 2nd IM servers;
The special identifier identifies for Flag, and the Flag is designated one section of buffer byte, the message id of bearing said message.
2. according to claim 1 between JICQ message transmission method, it is characterised in that the 2nd IM client End is received after the message, and this method also includes:
Described in the 2nd IM client None- identifieds during special identifier, the 2nd IM clients are directly shown in the message The plain text information of carrying.
3. the method for message transmission between JICQ according to claim 1 or claim 2, it is characterised in that the 2nd IM Client is received after the message, and this method also includes:
When the 2nd IM clients identify the special identifier, the message id is parsed from the special identifier, and The corresponding other information in addition to plain text information of message is obtained according to the message id, and is shown.
4. the system of message transmission between a kind of JICQ, it is characterised in that including:First IM clients, the first IM clothes Business device, the 2nd IM servers and the 2nd IM clients, wherein:
The first IM clients, for upload message;
The first IM servers, for receiving the message that the first IM clients are uploaded;It is additionally operable to according in the message Special identifier the message is passed through into the 2nd IM servers;
The 2nd IM servers, for the message to be passed through into the 2nd IM clients according to the special identifier;
The 2nd IM clients, for showing the message;
The first IM clients, are additionally operable to set the special identifier to identify for Flag in the message, the Flag marks Know for one section of buffer byte, the message id of bearing said message.
5. according to claim 4 between JICQ message transmission system, it is characterised in that
The 2nd IM clients, are additionally operable to, in special identifier described in None- identified, directly show what is carried in the message Plain text information.
6. according to claim 5 between JICQ message transmission system, it is characterised in that
The 2nd IM clients, are additionally operable to when identifying the special identifier, are parsed from the special identifier described Message id, and the corresponding other information in addition to plain text information of message is obtained according to the message id, and be shown.
CN201110336544.1A 2011-10-31 2011-10-31 The method and system of message transmission between a kind of JICQ Active CN103095549B (en)

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 CN103095549A (en) 2013-05-08
CN103095549B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243523B (en) * 2013-06-19 2018-09-04 腾讯科技(深圳)有限公司 Build the method and microblogging Front End Server of Twitter message
CN103647696B (en) * 2013-11-13 2017-01-11 天脉聚源(北京)传媒科技有限公司 Message reply method and system under micro message development mode
CN103916311B (en) * 2014-04-21 2016-01-20 腾讯科技(深圳)有限公司 A kind of information transmission and control method, Apparatus and system
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
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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8601060B2 (en) * 2006-06-09 2013-12-03 Microsoft Corporation Real-time blogging system and procedures

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN103095549A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103095549B (en) The method and system of message transmission between a kind of JICQ
CN101099144B (en) Implementing method of communication by messaging protocol
US8849322B2 (en) Systems and methods for sharing threaded conversations on mobile communications devices
KR101544518B1 (en) Method, device and system for sharing microblog message
CN101355529B (en) Method, system and client terminal for transmitting e-mail to instant communication contact
JP2014531094A (en) Method and apparatus for sending a message to a group user via a microblog
US8935337B2 (en) Proactive notification of availability status in email communication systems
CN103532828B (en) A kind of rich text format of the XMPP based on extension realizes system and method
CN102497328A (en) Instant messaging (IM) message sending method and IM system
CN102347916A (en) Gateway, cross-community group information processing system and method
CN103457828A (en) Method and system for cross-website instant messaging
CN103095748A (en) Method, server and system capable of sending updated microblog information of friend
WO2014187397A1 (en) Multimedia message publishing method and device
CN100461776C (en) System, method and device for realizing Email notification
US20040122964A1 (en) Record transport protocol for data communication in wireless delivery systems
CN105847131B (en) E-mail sending method and system, outgoing mail server, mail reception server
US20090150495A1 (en) Chain-Scoped Dynamic Electronic Mail System and Method
CN101237428B (en) Method, system and server for establishing multi-party session based on instant messaging group
CN105634925B (en) Expansible communication means and system between a kind of user
US20080192757A1 (en) System and method for enabling transfer of data and communication between individuals
JP2007048186A (en) Server of community system
EP2272263B1 (en) Apparatus for enhanced messaging and a method for enhanced messaging
US9338616B1 (en) Message routing using a multi-entity destination identifier
WO2008091156A1 (en) A method and device for transferring a message
CN104144112A (en) Message compatibility processing method

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