CN104811379A - Router addressing method for instant communication server interoperability - Google Patents

Router addressing method for instant communication server interoperability Download PDF

Info

Publication number
CN104811379A
CN104811379A CN201510211364.9A CN201510211364A CN104811379A CN 104811379 A CN104811379 A CN 104811379A CN 201510211364 A CN201510211364 A CN 201510211364A CN 104811379 A CN104811379 A CN 104811379A
Authority
CN
China
Prior art keywords
server
instant communication
router
network
instant
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
Application number
CN201510211364.9A
Other languages
Chinese (zh)
Other versions
CN104811379B (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.)
Beijing VRV Software Corp Ltd
Original Assignee
Beijing VRV Software Corp 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 Beijing VRV Software Corp Ltd filed Critical Beijing VRV Software Corp Ltd
Priority to CN201510211364.9A priority Critical patent/CN104811379B/en
Publication of CN104811379A publication Critical patent/CN104811379A/en
Application granted granted Critical
Publication of CN104811379B publication Critical patent/CN104811379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a router addressing method for instant communication server interoperability. The method includes 1, marking, namely establishing an identifier RID, HID and UID unique in the whole network for each instant communication router, server and user; 2, addressing, namely when the instant communication user logs through different servers, allowing the server, allowing the user to log, to query the network address of servers the user logged to establish network connection among the servers; 3, routing, namely when a source server transmits a target server addressing request to a managing router, allowing the router to route the addressing request in a routing service network and return the target server network address to the source server after the network address is queried. The method has the advantages that a creative instant communication network frame is provided, and the reliable interoperability of private and public instant communication servers can be realized.

Description

For the router addressing method that instant communication server interconnects
Technical field
The invention belongs to areas of information technology, relate to the network architecture of instant messaging, Method and Technology, be particularly related to the method that interconnects that user provides a set of leap corporations, enterprise or tissue, area and national privately owned and public instant communication server.
Background technology
Instant messaging (Instant Messaging, be abbreviated as IM) be mobile phone, between panel computer and computer user, utilize network to carry out transmission and the receiving course of instant message, can transmit the information such as word, picture, sound and video, be one of very general and welcome network application in the Internet.
, all also there is not the concept of the routing addressing interconnected between instant communication server, ideasand methods and technology in instant messaging application all at present.Lead to as micro-letter, QQ, MSN, Skype and Tengxun, their service network is a Flat Architecture, the data of what Servers-all called is same database.And the logical this instant messaging service platforms for medium-sized and small enterprises of picture hundred million enterprise, although introduce primary, backup two controllers, server is managed, its objective is in order to load balancing, improve instant messaging service performance.
Summary of the invention
Object of the present invention, be for different corporations, enterprise or organize even individual, there is provided a kind of under the complex network environments such as the Internet, corporate intranet and cloud computing platform, the privately owned or public instant communication server that they use can carry out the method that safety interconnects.The method, by instant communications service layer, builds a route service layer, for the instant communication server of different owner carries out routing addressing, enables them couple together, thus sets up telescopic instant messaging system flexibly.
A kind of router addressing method interconnected for instant communication server of the present invention, comprises these key components:
(1) instant communication users, after instant communication server succeeds in registration, the user of the instant messaging service using server to provide;
(2) instant communication server, comprise accessing points, instant messaging application and database, for instant communication users provides instant messaging service, database also can dispose independent database server;
(3) instant messaging router, the interconnection and interflow for instant communication server provides routing addressing service, every platform router one to multiple station server good at managing.
For router addressing method, its concrete steps are as follows:
(1) identify: the instant messaging router entering instant messaging network for every platform creates the unique identify label RID of a whole network, the instant communication server entering instant messaging network for every platform creates the unique identify label HID of a whole network, for each instant communication users creates the unique identify label UID of a whole network, and UID comprises the mark HID information of the instant communication server of this user registration;
(2) addressing: when the instant communication users carrying out point-to-point or group communication does not log at same instant communication server, the server that session setup side user logs in, the network address of searching the server that other users log in will be gone to, connect with the network set up between server, form instant messaging service network;
(3) route: when source instant communication server sends the addressing request to target instant communication server to its instant messaging router of management, router is by OSPF or prestissimo priority protocol, route addressing request in the route service network that each router builds, after finding the network address, just return to the network address of destination server to source server.
Accompanying drawing explanation
Fig. 1 is the flow chart of the router addressing method interconnected for instant communication server of the present invention.
Fig. 2 is the example schematic of router addressing method of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Fig. 1 is the flow chart of the router addressing method interconnected for instant communication server of the present invention.Here, three key components of this route addressing method are related to:
(1) instant communication users, after instant communication server succeeds in registration, the user of the instant messaging service using server to provide; This both can be the user using public instant communication server, also can be the user using enterprise or organize privately owned instant communication server.
(2) instant communication server, comprise accessing points, instant messaging application and database, for instant communication users provides instant messaging service, database also can dispose independent database server; Public server towards the public can either be built, also can build privately owned server for enterprise or tissue.
(3) instant messaging router, the interconnection and interflow for instant communication server provides routing addressing service, every platform router one to multiple station server good at managing; This builds unified route service network by equipment supplier usually, but enterprise or organize the route Autonomous Domain that router also can be utilized to build oneself.
For router addressing method, its concrete steps are as follows:
(1) identify: the instant messaging router entering instant messaging network for every platform creates the unique identify label RID of a whole network, the instant communication server entering instant messaging network for every platform creates the unique identify label HID of a whole network, for each instant communication users creates the unique identify label UID of a whole network, and UID comprises the mark HID information of the instant communication server of this user registration.
User ID UID is made up of two parts, can be expressed as:
UID = ABCHID;
Here, the instant messaging account that user can be oneself according to the hobby of oneself is named, such as ABC; During registration, server obtains the UID of user after the HID of oneself is attached to account title.
HID is the cryptographic Hash of instant communication server title and association attributes (such as MAC Address of Network Card) thereof, if hash algorithm adopts MD5, then can be expressed as:
HID = MD5(LMN***);
RID is the cryptographic Hash of instant messaging router rs name and association attributes (such as MAC Address of Network Card) thereof, if hash algorithm adopts MD5, then can be expressed as:
RID = MD5(RST***)。
(2) addressing: when the instant communication users carrying out point-to-point or group communication does not log at same instant communication server, the server (i.e. source server) that session setup side user logs in, the network address of searching the server (i.e. destination server) that other users log in will be gone to, connect with the network set up between server, form instant messaging service network.
Here, first source server can resolve the mark UID participating in instant communication users, the server identification HID obtaining this user registration and log in, and then goes to the network address of searching this server according to this server identification HID.Each server can safeguard a connection relational table, the title of the server having network to be connected with it, identifies HID and the network address can exist here, and when carrying out address search, first it can inquire about oneself connection relational table.
(3) route: when source instant communication server sends the addressing request to destination server to its instant messaging router of management, router is by OSPF or prestissimo priority protocol, according to the mark HID of server, route addressing request in the route service network that each router builds, after finding the network address, just return to the network address of destination server to source server.
Here, we are come by a typical router address procedures, and the present invention is described in detail, as shown in Figure 2.Suppose have instant communication users U1, U2, U3, U4, U5 and U6, instant communication server S1, S2, S3, S4 and S5, and instant messaging router R1, R2 and R3.Wherein, user U1 and U2 registers in server S 1 and logs in, and user U3 and U4 registers in server S 2 and log in, and user U5 and U6 registers in server S 5 and log in; Router R1 management server S1 and S2, router R2 management server S3, router R3 management server S4 and S5, and suppose that router R1 with R2 is connected, router R2 with R3 is connected, and router R1 and R3 is not directly connected.
(1) mark is created
During networking, be assumed to be the title that instant communication server gets and be respectively:
S1 = IMServer1;
S2 = IMServer2;
S3 = IMServer3;
S4 = IMServer4;
S5 = IMServer5;
So their HID, through Hash operation is:
S1_HID = 0FD21DF81114CAB3;
S2_HID = D47B58D80E235F41;
S3_HID = 610D016DEE3747EF;
S4_HID = 574A8A53AB11001D;
S5_HID = 00B4AAD642E83CB8。
Suppose that the name that instant communication users is got is:
U1 = zhaoyun;
U2 = zhangfei;
U3 = guanyu;
U4 = liubei;
U5 = zhugeliang;
U6 = machao;
So, according to the server that they register, the UID of these users is exactly:
U1_UID = zhaoyun0FD21DF81114CAB3;
U2_UID = zhangfei0FD21DF81114CAB3;
U3_UID = guanyuD47B58D80E235F41;
U4_UID = liubeiD47B58D80E235F41;
U5_UID = zhugeliang00B4AAD642E83CB8;
U6_UID = machao00B4AAD642E83CB8。
Be assumed to be the title that instant messaging router gets to be respectively:
R1 = IMRouter1;
R2 = IMRouter2;
R3 = IMRouter3;
So their RID, through Hash operation is:
R1_RID = 1E2888BF488BC7FA;
R2_RID = A1D56DB25C036985;
R3_RID = 0B54B5215D784EBD。
(2) addressing
User U1 creates a group communication, invites user U2, U3, U4, U5 and U6 to participate in.The server S 1 that U1 logs in is according to the UID of user U2, U3, U4, U5 and U6, be aware of the user that U2 is exactly oneself, user U3 and U4 is the server log of " 47B58D80E235F41 " at mark HID, and user U5 and U6 is the server log of " 00B4AAD642E83CB8 " at mark HID.Server S 1 queried oneself connection relational table, finds do not have server " 47B58D80E235F41 " and " 00B4AAD642E83CB8 ", so it proposes addressing request to the router R1 managing oneself.
(3) route
R1 receives S1 to after the addressing request of server " 47B58D80E235F41 " and " 00B4AAD642E83CB8 ", first finds that mark HID be the server of " 47B58D80E235F41 " is exactly self-administered S2, so return to the network address of S2 to S1.Then, R1 is to the network address of the neighbor router R2 requesting query " 00B4AAD642E83CB8 " of oneself.R2 finds do not have " 00B4AAD642E83CB8 " in self-administered server, so addressing request is forwarded to router R3 by it.R3 receives addressing request, finds that " 00B4AAD642E83CB8 " is self-administered server S 5, so the network address of S5 is returned to R1, and R1 returns to S1 the network address of S5 again.So far, routing addressing terminates.
S1 is according to the network address of server S 2 and S5, set up direct network with S2 and S5 to be connected, form instant messaging service network, the group communication information of user U1, U2, U3, U4, U5 and U6 composition, directly circulate on server S 1, S2 and S5, without the need to through any router.

Claims (2)

1., for the router addressing method that instant communication server interconnects, it is characterized in that,
Instant communication users, after instant communication server succeeds in registration, the user of the instant messaging service using server to provide;
Instant communication server, comprise accessing points, instant messaging application and database, for instant communication users provides instant messaging service, database also can dispose independent database server;
Instant messaging router, the interconnection and interflow for instant communication server provides routing addressing service, every platform router one to multiple station server good at managing.
2. router addressing method according to claim 1, it is characterized in that, concrete steps are as follows:
(1) identify: the instant messaging router entering instant messaging network for every platform creates the unique identify label RID of a whole network, the instant communication server entering instant messaging network for every platform creates the unique identify label HID of a whole network, for each instant communication users creates the unique identify label UID of a whole network, and UID comprises the mark HID information of the instant communication server of this user registration;
(2) addressing: when the instant communication users carrying out point-to-point or group communication does not log at same instant communication server, the server that session setup side user logs in, the network address of searching the server that other users log in will be gone to, connect with the network set up between server, form instant messaging service network;
(3) route: when source instant communication server sends the addressing request to target instant communication server to its instant messaging router of management, router is by OSPF or prestissimo priority protocol, route addressing request in the route service network that each router builds, after finding the network address, just return to the network address of destination server to source server.
CN201510211364.9A 2015-04-29 2015-04-29 The router addressing method to be interconnected for instant communication server Active CN104811379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510211364.9A CN104811379B (en) 2015-04-29 2015-04-29 The router addressing method to be interconnected for instant communication server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510211364.9A CN104811379B (en) 2015-04-29 2015-04-29 The router addressing method to be interconnected for instant communication server

Publications (2)

Publication Number Publication Date
CN104811379A true CN104811379A (en) 2015-07-29
CN104811379B CN104811379B (en) 2017-12-08

Family

ID=53695888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510211364.9A Active CN104811379B (en) 2015-04-29 2015-04-29 The router addressing method to be interconnected for instant communication server

Country Status (1)

Country Link
CN (1) CN104811379B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104901870A (en) * 2015-05-29 2015-09-09 北京北信源软件股份有限公司 User naming method for instant messaging
CN106302118A (en) * 2016-08-15 2017-01-04 上海云睦网络科技有限公司 Method for message transmission, device and system
CN108933755A (en) * 2017-05-19 2018-12-04 腾讯科技(深圳)有限公司 The transmission of application server message, reception, exchange method and device
CN109639565A (en) * 2018-12-14 2019-04-16 杭州安司源科技有限公司 A kind of more service nodes of the instant messaging of decentralization interconnect system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6781994B1 (en) * 1997-12-25 2004-08-24 Kabushiki Kaisha Toshiba Distributing ATM cells to output ports based upon destination information using ATM switch core and IP forwarding
CN101292478A (en) * 2005-10-07 2008-10-22 雅虎公司 Instant messaging interoperability between disparate service providers
JP2009177282A (en) * 2008-01-22 2009-08-06 Keio Gijuku Network system
CN101594658A (en) * 2009-07-10 2009-12-02 浙江大学 802.11 multi-interface wideband wireless mesh network method for routing
CN102025658A (en) * 2009-09-17 2011-04-20 中兴通讯股份有限公司 Method and system for realizing intercommunication between identity network and internet
CN102571591A (en) * 2012-01-18 2012-07-11 中国人民解放军国防科学技术大学 Method, edge router and system for realizing marked network communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6781994B1 (en) * 1997-12-25 2004-08-24 Kabushiki Kaisha Toshiba Distributing ATM cells to output ports based upon destination information using ATM switch core and IP forwarding
CN101292478A (en) * 2005-10-07 2008-10-22 雅虎公司 Instant messaging interoperability between disparate service providers
JP2009177282A (en) * 2008-01-22 2009-08-06 Keio Gijuku Network system
CN101594658A (en) * 2009-07-10 2009-12-02 浙江大学 802.11 multi-interface wideband wireless mesh network method for routing
CN102025658A (en) * 2009-09-17 2011-04-20 中兴通讯股份有限公司 Method and system for realizing intercommunication between identity network and internet
CN102571591A (en) * 2012-01-18 2012-07-11 中国人民解放军国防科学技术大学 Method, edge router and system for realizing marked network communication

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104901870A (en) * 2015-05-29 2015-09-09 北京北信源软件股份有限公司 User naming method for instant messaging
CN104901870B (en) * 2015-05-29 2018-07-13 北京北信源软件股份有限公司 A kind of user's naming method for instant messaging
CN106302118A (en) * 2016-08-15 2017-01-04 上海云睦网络科技有限公司 Method for message transmission, device and system
CN108933755A (en) * 2017-05-19 2018-12-04 腾讯科技(深圳)有限公司 The transmission of application server message, reception, exchange method and device
CN108933755B (en) * 2017-05-19 2021-05-14 腾讯科技(深圳)有限公司 Application server message sending, receiving and interacting method and device
CN109639565A (en) * 2018-12-14 2019-04-16 杭州安司源科技有限公司 A kind of more service nodes of the instant messaging of decentralization interconnect system
CN109639565B (en) * 2018-12-14 2022-02-25 杭州安司源科技有限公司 Decentralized instant messaging multi-service node interconnection and intercommunication system

Also Published As

Publication number Publication date
CN104811379B (en) 2017-12-08

Similar Documents

Publication Publication Date Title
AU2016280163B2 (en) Managing dynamic IP address assignments
CN104811371B (en) A kind of brand-new instantaneous communication system
US8566474B2 (en) Methods, systems, and computer readable media for providing dynamic origination-based routing key registration in a diameter network
CN104811370B (en) A kind of security instant communication system framework based on mark
TW200803303A (en) Inter-proximity communication within a rendezvous federation
CN105072093A (en) Interconnection device and method used for IM system
CN105721306A (en) Configuration information transmission method and device
EP3447996A1 (en) Resource subscription method, resource subscription device, and resource subscription system
SG183255A1 (en) Method, system and group server for synchronizing operations of multiple groups
CN104811379A (en) Router addressing method for instant communication server interoperability
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
CN104821908A (en) Exclusive service-supporting instant messaging method and system
CN111698346A (en) Private network address conversion method and device, private network gateway and storage medium
CN104468805A (en) Message routing device and method
CN106533894B (en) A kind of instant messaging system of completely new safety
CN104836734B (en) A kind of brand-new instant messaging method for routing and router
CN104125310B (en) Message method based on semi-permanent address
JP5190922B2 (en) Community communication network and communication control method
US8606890B2 (en) Managing communication between nodes in a virtual network
CN106100978A (en) A kind of social cross-domain system that interconnects of software
CN103731454A (en) Method for responding to requests in point-to-point network and server system
Borch Social peer-to-peer for social people
US10735316B2 (en) Receiver directed anonymization of identifier flows in identity enabled networks
CN103905249A (en) Mobile Internet network monitoring management method based on JXME
CN105208138A (en) Method and system for communication between clients under different versions of Internet protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant