CN104811379B - The router addressing method to be interconnected for instant communication server - Google Patents
The router addressing method to be interconnected for instant communication server Download PDFInfo
- Publication number
- CN104811379B CN104811379B CN201510211364.9A CN201510211364A CN104811379B CN 104811379 B CN104811379 B CN 104811379B CN 201510211364 A CN201510211364 A CN 201510211364A CN 104811379 B CN104811379 B CN 104811379B
- Authority
- CN
- China
- Prior art keywords
- communication server
- instant communication
- instant
- server
- router
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of router addressing method to be interconnected for instant communication server, comprise the following steps:(1)Mark:Respectively each instant messaging router, server and user, create a whole network unique identity RID, HID and UID;(2)Addressing:When carrying out the user of instant messaging not in same server log, server that initiator user is logged in, the network address of other users institute login service device will be searched, to establish the network connection between server;(3)Route:When source server is to when managing its router and sending the addressing request to destination server, router just route addressing request in route service network, and to the network address of source server return destination server after network address is found.The beneficial effects of the invention are as follows:Provide a kind of creative instant messaging network architecture so that privately owned, public instant communication server, which can be realized, reliably to interconnect.
Description
Technical field
The invention belongs to areas of information technology, are related to network architecture, the methods and techniques of instant messaging, particularly relate to
And provide the user the mutual of a set of private and public instant communication server across corporations, enterprise or tissue, area and country
Join interoperability methods.
Background technology
Instant messaging(Instant Messaging, are abbreviated as IM)It is sharp between mobile phone, tablet personal computer and computer user
Transmission and the receive process of instant message are carried out with network, the information such as word, picture, sound and video can be transmitted, are interconnections
One of very universal and welcome network application of net.
Instant messaging applications all at present, does not all occur the routing addressing to be interconnected between instant communication server also
Concept, ideasand methods and technology.As wechat, QQ, MSN, Skype and Tengxun lead to, their service network is a plane rack
Structure, what Servers-all called is the data of same database.And as this IMU for medium-sized and small enterprises is led in hundred million enterprises
Telecommunications services platform, although introducing primary, two controllers of backup to be managed to server, its purpose is to load
Equilibrium, improve instant messaging service performance.
The content of the invention
The purpose of the present invention, it is for different corporations, enterprise or tissue even individual, there is provided one kind is in internet, enterprise
Under the complex network environment such as Intranet and cloud computing platform, private or public instant communication server used in them can be carried out
The method to interconnect safely.This method is by above instant communications service layer, building a route service layer, for difference
The instant communication server of owner carries out routing addressing, allows them to connect, so as to establish it is flexible it is telescopic i.e.
When communication system.
A kind of router addressing method to be interconnected for instant communication server of the present invention, including these crucial group
Part:
(1)Instant communication users, after instant communication server succeeds in registration, the IMU provided using server is convinced
The user of business;
(2)Instant communication server, comprising accessing points, instant messaging application and database, provided for instant communication users
Instant messaging service, database can also dispose single database server;
(3)Instant messaging router, routing addressing service, every route are provided for the interconnection and interflow of instant communication server
Device one to multiple server good at managing.
For router addressing method, it is comprised the following steps that:
(1)Mark:A unique identity of the whole network is created for every instant messaging router for entering instant messaging network
RID is identified, the unique identity HID of a whole network is created for every instant communication server for entering instant messaging network,
The unique identity UID of a whole network is created for each instant communication users, and UID includes the instant messaging of the user's registration
The mark HID information of server;
(2)Addressing:When point-to-point or group communication the instant communication users of progress are not in same instant communication server
During login, server that session setup side user is logged in, it will go with searching the network for the server that other users are logged in
Location, to establish the network connection between server, form instant messaging service network;
(3)Route:When source instant communication server is sent to target instant messaging to its instant messaging router is managed
During the addressing request of server, router is by OSPF or prestissimo priority protocol, in each router structure
Addressing request is route in the route service network built, after finding network address, the net of destination server is just returned to source server
Network address.
Brief description of the drawings
Fig. 1 is the flow chart for being used for the router addressing method that instant communication server interconnects of the present invention.
Fig. 2 is the example schematic of the router addressing method of the present invention.
Embodiment
The present invention is further detailed explanation with reference to the accompanying drawings and detailed description.
Fig. 1 is the flow chart for being used for the router addressing method that instant communication server interconnects of the present invention.Here,
It is related to three key components of the route addressing method:
(1)Instant communication users, after instant communication server succeeds in registration, the IMU provided using server is convinced
The user of business;This both can be using the user of public instant communication server or privately owned using enterprise or tissue
The user of instant communication server.
(2)Instant communication server, comprising accessing points, instant messaging application and database, provided for instant communication users
Instant messaging service, database can also dispose single database server;Public server towards the public can either be built,
Also can be that enterprise or tissue build privately owned server.
(3)Instant messaging router, routing addressing service, every route are provided for the interconnection and interflow of instant communication server
Device one to multiple server good at managing;This is generally built unified route service network, but enterprise or tissue by equipment supplier
The route Autonomous Domain of oneself can also be built using router.
For router addressing method, it is comprised the following steps that:
(1)Mark:A unique identity of the whole network is created for every instant messaging router for entering instant messaging network
RID is identified, the unique identity HID of a whole network is created for every instant communication server for entering instant messaging network,
The unique identity UID of a whole network is created for each instant communication users, and UID includes the instant messaging of the user's registration
The mark HID information of server.
User identifies UID and is made up of two parts, is represented by:
UID = ABC@HID;
Here, user can be named according to the hobby of oneself for the instant messaging account of oneself, such as ABC;During registration, clothes
After the HID of oneself is attached to account title by business device, the UID of user is obtained.
HID is instant communication server title and its cryptographic Hash of association attributes (such as MAC Address of Network Card), if Hash
Algorithm uses MD5, then is represented by:
HID = MD5(LMN***);
RID is instant messaging router rs name and its cryptographic Hash of association attributes (such as MAC Address of Network Card), if Hash
Algorithm uses MD5, then is represented by:
RID = MD5(RST***)。
(2)Addressing:When point-to-point or group communication the instant communication users of progress are not in same instant communication server
During login, server that session setup side user is logged in(That is source server), will go to search the clothes that other users are logged in
Business device(That is destination server)Network address, to establish the network connection between server, form instant messaging service network.
Here, source server can parse to the mark UID for participating in instant communication users first, obtain the user's registration
With the server identification HID of login, then go to search the network address of the server further according to this server identification HID.Often
Individual server can safeguard a connection relational table, title, mark HID and the network address of the server for having network connection with it
Can exist here, when carrying out address search, it can inquire about the connection relational table of oneself first.
(3)Route:When source instant communication server is sent to destination server to its instant messaging router is managed
During addressing request, router is by OSPF or prestissimo priority protocol, according to the mark HID of server,
Addressing request is route in the route service network of each router structure, after finding network address, just returns to mesh to source server
Mark the network address of server.
Here, we by a typical router address procedures come the present invention is described in detail, such as Fig. 2 institutes
Show.Assuming that have instant communication users U1, U2, U3, U4, U5 and U6, instant communication server S1, S2, S3, S4 and S5, and i.e.
When communications router R1, R2 and R3.Wherein, user U1 and U2 is registered and logged in server S 1, and user U3 and U4 are in server
S2 is registered and logged in, and user U5 and U6 is registered and logged in server S 5;Router R1 management servers S1 and S2, router R2
Management server S3, router R3 management server S4 and S5, and assume that router R1 is connected with R2, router R2 and R3 phase
Even, router R1 and R3 is not joined directly together.
(1)Create mark
During networking, it is assumed that be respectively for the title that instant communication server takes:
S1 = IMServer1;
S2 = IMServer2;
S3 = IMServer3;
S4 = IMServer4;
S5 = IMServer5;
So their HID, it is through Hash operation:
S1_HID = 0FD21DF81114CAB3;
S2_HID = D47B58D80E235F41;
S3_HID = 610D016DEE3747EF;
S4_HID = 574A8A53AB11001D;
S5_HID = 00B4AAD642E83CB8。
Assuming that the name that instant communication users take is:
U1 = zhaoyun;
U2 = zhangfei;
U3 = guanyu;
U4 = liubei;
U5 = zhugeliang;
U6 = machao;
So, the server registered according to them, the UID of these users are exactly:
U1_UID = zhaoyun@0FD21DF81114CAB3;
U2_UID = zhangfei@0FD21DF81114CAB3;
U3_UID = guanyu@D47B58D80E235F41;
U4_UID = liubei@D47B58D80E235F41;
U5_UID = zhugeliang@00B4AAD642E83CB8;
U6_UID = machao@00B4AAD642E83CB8。
Being assumed to be the title that instant messaging router takes is respectively:
R1 = IMRouter1;
R2 = IMRouter2;
R3 = IMRouter3;
So their RID, it is through Hash operation:
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 is logged in
According to user U2, U3, U4, U5 and U6 UID, it is known that U2 is exactly the user of oneself, and user U3 and U4 is in mark HID
The server log of " 47B58D80E235F41 ", user U5 and U6 is in the server that mark HID is " 00B4AAD642E83CB8 "
Log in.Server S 1 queried the connection relational table of oneself, find no server " 47B58D80E235F41 " and
" 00B4AAD642E83CB8 ", then, it proposes addressing request to the router R1 of oneself is managed.
(3)Route
R1 is connected to S1 to after server " 47B58D80E235F41 " and " 00B4AAD642E83CB8 " addressing request, first
First find that the server that mark HID is " 47B58D80E235F41 " is exactly self-administered S2, S2 network is then returned to S1
Address.Then, network address of the R1 to the neighbor router R2 requesting queries " 00B4AAD642E83CB8 " of oneself.R2 has found certainly
There is no " 00B4AAD642E83CB8 " in the server of oneself management, then, addressing request is forwarded to router R3 by it.R3 is connected to
Addressing request, it is found that " 00B4AAD642E83CB8 " is self-administered server S 5, then, S5 network address is returned to
S5 network address is returned to S1 by R1, R1 again.So far, routing addressing terminates.
S1 establishes direct network connection with S2 and S5, forms instant messaging according to server S 2 and S5 network address
Service network, the group communication information of user U1, U2, U3, U4, U5 and U6 composition, directly flows on server S 1, S2 and S5
Turn, need not move through any router.
Claims (3)
- A kind of 1. router addressing method to be interconnected for instant communication server, it is characterised in that including:Mark:The unique identity RID of a whole network is created for every instant messaging router for entering instant messaging network, The unique identity HID of a whole network is created for every instant communication server for entering instant messaging network, is to be each When communication user create a whole network unique identity UID, and UID includes the instant communication server of the user's registration Identify HID information;Addressing:When point-to-point or group communication the instant communication users of progress do not log in same instant communication server, The instant communication server that session setup side user is logged in, it will go to search the IMU that other users are logged in The network address of telecommunications services device, to establish the network connection between the instant communication server, form instant messaging service network Network;Route:When source instant communication server is sent to target instant communication server to its instant messaging router is managed During addressing request, routing addressing please in the route service network that each instant messaging router is built for the instant messaging router Ask, after finding network address, the network address of target instant communication server is just returned to source instant communication server;Wherein, the instant messaging router is used to provide addressing service for the interconnection and interflow of instant communication server;It is described to be When the communication server be used to for instant communication users provide instant messaging service;The instant communication users are convinced using IMU Business.
- 2. router addressing method according to claim 1, it is characterised in that before the addressing, should be every i.e. When the communication server specify an instant messaging router for managing it, the instant messaging router is responsible for the IMU Telecommunications services device addresses;Every instant messaging router one to multiple instant communication server of settable management.
- 3. router addressing method according to claim 1, it is characterised in that the instant communication server can safeguard one Individual connection relational table, store title, mark HID and the network address of the instant communication server for having network connection with it;When When the instant communication server searches the network address of target instant communication server, the connection of oneself can be inquired about first Relation table, if target instant communication server, in the connection relational table, the instant communication server is according to institute The network address stated in connection relational table establishes network connection with target instant communication server;If target instant messaging service Device is not in the connection relational table, then the instant communication server is sent to target to its instant messaging router is managed The addressing request of instant communication server.
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 CN104811379A (en) | 2015-07-29 |
CN104811379B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN108933755B (en) * | 2017-05-19 | 2021-05-14 | 腾讯科技(深圳)有限公司 | Application server message sending, receiving and interacting method and device |
CN109639565B (en) * | 2018-12-14 | 2022-02-25 | 杭州安司源科技有限公司 | Decentralized instant messaging multi-service node interconnection and intercommunication system |
Citations (6)
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 |
-
2015
- 2015-04-29 CN CN201510211364.9A patent/CN104811379B/en active Active
Patent Citations (6)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104811379A (en) | 2015-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180041468A1 (en) | Managing dynamic ip address assignments | |
US8764567B2 (en) | System and method for implementing turn-based online games | |
EP2993853B1 (en) | Method for routing and forwarding, and network controller | |
CN104811370B (en) | A kind of security instant communication system framework based on mark | |
CN104811379B (en) | The router addressing method to be interconnected for instant communication server | |
US20120311036A1 (en) | Friend recommendation system and method | |
CN104811371B (en) | A kind of brand-new instantaneous communication system | |
US20120215841A1 (en) | Method and system for synchronizing operations of multiple groups | |
US9792311B2 (en) | System and method for managing a partitioned database of user relationship data | |
TWI584194B (en) | Finding services in a service-oriented architecture (soa) network | |
WO2009074037A1 (en) | An instant communication method, device and system | |
CN107547242B (en) | The acquisition methods and device of VM configuration information | |
US20120310956A1 (en) | System and method for processing graphs of user relationships in an online service | |
US9525848B2 (en) | Domain trusted video network | |
WO2013086800A1 (en) | Social network interoperation method and system | |
JP6213755B2 (en) | Content sharing method and social synchronization apparatus | |
WO2013071890A1 (en) | Resource access system and method based on identity and session | |
WO2012030259A1 (en) | Method and arrangement in a peer-to-peer network | |
CN104821908B (en) | Support the special instant communicating method and system for enjoying service | |
CN104836734B (en) | A kind of brand-new instant messaging method for routing and router | |
WO2009009967A1 (en) | Instant messenger system, component and method for supplementary services | |
JP5190922B2 (en) | Community communication network and communication control method | |
Borch | Social peer-to-peer for social people | |
WO2015096686A1 (en) | Method and system for establishing voice communication | |
US20190007307A1 (en) | Receiver Directed Anonymization of Identifier Flows in Identity Enabled Networks |
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 |