CN100425041C - Realtime communicating method and system for enterprise - Google Patents

Realtime communicating method and system for enterprise Download PDF

Info

Publication number
CN100425041C
CN100425041C CNB2004100278297A CN200410027829A CN100425041C CN 100425041 C CN100425041 C CN 100425041C CN B2004100278297 A CNB2004100278297 A CN B2004100278297A CN 200410027829 A CN200410027829 A CN 200410027829A CN 100425041 C CN100425041 C CN 100425041C
Authority
CN
China
Prior art keywords
server
instant communication
cluster
enterprise
cluster server
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
CNB2004100278297A
Other languages
Chinese (zh)
Other versions
CN1713621A (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 Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2004100278297A priority Critical patent/CN100425041C/en
Publication of CN1713621A publication Critical patent/CN1713621A/en
Application granted granted Critical
Publication of CN100425041C publication Critical patent/CN100425041C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses an enterprise instant messaging method and an enterprise instant messaging system. The enterprise instant messaging system comprises a cluster server, at least two instant messaging servers and client ends, wherein the cluster server is used for configuring cluster environment, establishing a data transmission channel and storing the state of each of the client ends; the two instant messaging servers are connected with the cluster server so as to form a cluster network taking the cluster server as a center. The method which is applied to the enterprise instant messaging system comprises the steps: the instant messaging servers are connected with the cluster server so as to form the cluster network taking the cluster server as a center; the data transmission between the instant messaging servers is carried out.

Description

A kind of enterprise immediate communication method and system
Technical field
The present invention relates to electrical communication technology, particularly relate to a kind of method of enterprise immediate communication and the system of enterprise immediate communication.
Background technology
Along with society and development of science and technology, people more and more pay attention to the promptness of information interchange and communication, therefore, can so that people each other contact and link up day by day easily instantaneous communication system gradually by the recognition and acceptance of user institute.As a kind of mode of and other people contact instant by the Internet, instantaneous communication system have interactive by force, characteristics such as low price.Adopt the instantaneous communication system of instruments such as QQ, MSN, Yahoo Expert therefore can be popularized in the not long time.
Instantaneous communication system also demonstrates the premium properties of business communication, has opened up the frontier of network application for enterprise.Think that according to Gartner delay in management and the enforcement can be eliminated by using up-to-date information by enterprise in the business procedure of key, thereby enhances competitiveness.Simultaneously, owing to use instantaneous communication system can know the state of other clients,, can also avoid enterprise staff to expend a large amount of time on the people calling on the phone as whether online.
So, instant communicating method has become the inside and outside a kind of exchange way commonly used of enterprise, therefore the enterprise instant communication systems of much using at enterprise have also been arranged, for example adopted the enterprise instant communication system of instruments such as LCS of SameTime, the Microsoft of RTX, the IBM of Tengxun.
In the present enterprise instant communication system, generally adopt C/S or B/S structure, need set up a station server in enterprises, this server is responsible for the information flow between each client.
Wherein, the enterprise instant communication system of the C/S structure client/server configuration pattern that is otherwise known as comprises client and database server.After server is activated, the just wait-for-response client request of sending at any time; In the time need carrying out any operation to the data in the server, client is just automatically sought server, and sends request to it, and server is made according to predetermined rule and being replied, and sends the result back to.
The be otherwise known as tactic pattern of " browser+Web server " of the enterprise instant communication system of B/S structure, be that client (being used for mutual I) is a standard browser, server end is the standard web server, the operation to database is finished in the request of synergistic application server response browser.
No matter the enterprise instant communication system of prior art is C/S or B/S structure, all comprises a plurality of clients and a station server, and each client all has the internal indicator of a correspondence, and described server is responsible for the information flow between each client.
In addition, enterprise instant communication system is in application, and the User Status of each client is an important characteristic, and the change of the state of each client all needs to know to other clients.The mode that prior art adopts server to carry out state broadcasting realizes this function.
The enterprise immediate communication method of prior art and system have the some shortcomings part: at first, owing to the information flow of being responsible for by a station server between each client, and the load capacity of separate unit server is always limited, so the enterprise instant communication system of prior art has capacity limit, generally can only support several thousand clients simultaneously online.
Secondly, along with the increase of client terminal quantity, state broadcasting can be more and more, thereby increase system burden, influence the performance of enterprise instant communication system.
Summary of the invention
The technical problem that the present invention solves is to provide a kind of enterprise immediate communication method and system, can realize the cluster between the server, overcomes the restriction of separate unit server handling ability.
On this basis, another technical problem that the present invention solves provides a kind of enterprise immediate communication method and system, can reduce because the system burden that frequent client state notice is brought.
For this reason, the technical scheme of technical solution problem of the present invention is: a kind of enterprise immediate communication method is provided, be applied to comprise the enterprise instant communication system of cluster server, at least two instant communication servers and client, the method comprising the steps of: provide a correspondence table to be stored in the cluster server, be used to store the account number of instant communication server and the corresponding relation between the IP address; Cluster server is that instant communication server distributes account number; Instant communication server connects cluster server, and forming with the cluster server is the cluster network at center; Corresponding relation by account number in the correspondence table and IP address between the instant communication server carries out transfer of data; Described instant communication server is sent to described cluster server with client state, and described cluster server upgrades the client state table according to client state.
Described client is obtained the state of other clients from the client state table of cluster server by instant communication server.
Wherein, described instant communication server connects cluster server, and formation is that the step of the cluster network at center specifically comprises with the cluster server:
Instant communication server is logined to cluster server by communication interface;
Cluster server is preserved the account number and the IP address correspondence table of instant communication server;
Instant communication server obtains the IP address of other instant communication servers from cluster server;
Instant communication server connects based on aforementioned IP address.
Wherein, described instant communication server connects cluster server, and formation is that the step of the cluster network at center specifically comprises with the cluster server:
The packet that instant communication server will comprise account number is sent to communication interface;
Communication interface is resolved the aforementioned data bag, searches the IP address of corresponding account number;
Communication interface is transmitted to corresponding instant communication server according to aforementioned IP address with packet.
Wherein, the corresponding relation by account number in the correspondence table and IP address carries out transfer of data and specifically comprises between the described instant communication server:
The packet that instant communication server will comprise account number is sent to communication interface;
Communication interface is sent to cluster server with packet;
Cluster server is transmitted to corresponding instant communication server according to account number and IP address correspondence table with packet.
Wherein, described enterprise immediate communication method also comprises step: it is that communication interface by described instant communication server regularly is sent to cluster server with state variation that described instant communication server is sent to described cluster server with client state.
The present invention also provides a kind of enterprise instant communication system, comprises cluster server, at least two instant communication servers and client.Cluster server is used for the allocation cluster environment, sets up data transmission channel and storage client state.Described at least two instant communication servers connect cluster server, and forming with the cluster server is the cluster network at center.Cluster server also comprises Account Administration unit and client state table, described Account Administration unit is used to instant communication server to distribute account number, and be responsible for preserving account number and IP address correspondence table, and carry out transfer of data by the corresponding relation between account number and the IP address between the instant communication server; Described client state table is upgraded according to the client state that instant communication server sends by cluster server, realizes the state notifying of client.
Wherein, also comprise communication interface, described communication interface is used to realize the data interaction with instant communication server, and data are sent to cluster server.Described communication interface comprises trunking communication unit, data transmission unit and server interface.Described communication interface is integrated in the instant communication server.
With respect to prior art, the invention has the beneficial effects as follows:, form cluster network because the present invention connects cluster server by at least two enterprise servers; Cluster server allocation cluster environment, and realize the transmission of data between the enterprise servers by cluster network, thus can solve the limited problem of separate unit server handling ability in the prior art, make number of users to expand in a large number.
In addition, because the present invention is by cluster server maintain customer end state table, when the client in the enterprise instant communication system need be known the state of other clients, can from described client state table, obtain by instant communication server, thereby avoided state broadcasting frequent in the prior art, alleviated system burden.
Description of drawings
Fig. 1 is the cluster network figure of enterprise instant communication system of the present invention;
Fig. 2 is the Organization Chart of the embodiment of enterprise instant communication system of the present invention;
Fig. 3 is the schematic diagram of account number and IP address correspondence table among the present invention;
Fig. 4 is the schematic diagram of client state table among the present invention;
Fig. 5 is the flow chart of enterprise immediate communication method of the present invention;
Fig. 6 is the flow chart of state notifying in the enterprise immediate communication method of the present invention;
Embodiment
Seeing also Fig. 1, is the cluster network figure of enterprise instant communication system of the present invention.Described enterprise instant communication system comprises cluster server, a plurality of instant communication server and belongs to a plurality of clients of corresponding instant communication server.Described cluster server is an instant communication server allocation cluster environment; Described a plurality of instant communication server connects cluster server, and forming with the cluster server is the cluster network at center; Carry out transfer of data by aforementioned cluster network between the described instant communication server.
Seeing also Fig. 2, is an embodiment of described enterprise instant communication system.
Be integrated with communication interface in the described instant communication server, described communication interface is responsible for instant communication server mutual, and sends information to cluster server.In the present embodiment, described communication interface comprise be used for instant communication server carry out data interaction server interface, be used for carrying out trunking communication unit that data transmit and the data transmission unit that is used for carrying out each other transfer of data with cluster server.Described communication interface also has IP address database, is used to preserve local IP address list.
Certainly, described communication interface also can be independent of instant communication server.
Described cluster server comprises that Account Administration unit and state keep the unit.Described Account Administration unit is used to instant communication server to distribute account number, and is responsible for preserving account number and IP address correspondence table; Described state is kept the unit and is used for maintain customer end state table.
Correspondingly, described cluster server has account database and state information database.
Described cluster server also comprises data transmission unit, is used to transmit the data of transmitting between the instant communication server.
Seeing also Fig. 3, is an example of aforementioned account number and IP address correspondence table.
Described account number and IP address correspondence table comprise account number and IP address at least.Described account number is used for identifying instant communication server at cluster network; Described IP address is used for the data route between the instant communication server.
Described account number and IP address correspondence table can also comprise data such as instant communication server title and extend information.
Described account number and IP address correspondence table can so generate and upgrade: cluster server when the allocation cluster environment for each instant communication server distributes account number and password, so that instant communication server can sign in in the cluster server and report the IP address.Instant communication server connects cluster server by communication interface, signs in on the cluster server respectively.Obtain the IP address in the integrating server and preserve account number and the correspondence table of IP address.
Seeing also Fig. 4, is an example of aforementioned client state table.
Described client state table comprises client identification and state value at least.
Described client identification is made up of account number and internal indicator, and during enterprise instant communication system was used, each client all had the internal indicator of a correspondence.
Described state value is used to show the client state of this moment, as online, off-line, various states such as busy.Client state is an important characteristic, and the state of each client changes all to be needed to know to other clients.
Frequently carry out the defective that state broadcasting brings in the prior art in order to overcome, the special data in using for this instant messaging of state notifying is preserved and maintain customer end state table in the cluster server.When client need be obtained the state of other clients, can know by the client state table of instant communication server from cluster server.
Certainly, described account and state information also can adopt other forms that are different from tables of data to preserve, and this does not give unnecessary details.
Seeing also Fig. 5, is the flow chart of instant communicating method of the present invention.
Described enterprise immediate communication method is applied to comprise the enterprise instant communication system of cluster server, a plurality of instant communication server and client; Comprise step:
Described cluster server is that instant communication server distributes account number;
Described instant communication server connects cluster server, and forming with the cluster server is the cluster network at center;
Carry out transfer of data according to aforementioned account number between the described instant communication server.
For the ease of understanding the present invention, enterprise immediate communication method of the present invention is described below in conjunction with embodiment.
At first, need be enterprise instant communication system allocation cluster environment.
The allocation cluster environment is exactly for each instant communication server distributes account number and password, and each instant communication server can be signed in in the cluster server, reports the IP address.Step is as follows:
1) cluster server provides configuration interface, for each instant communication server distributes account number;
2) each instant communication server connects cluster server by communication interface by TCP, signs in to respectively on the cluster server, and forming with the cluster server is the cluster network at center;
3) correspondence table of account number of preservation and IP address in cluster server, during the instant communication server login, the IP address that need fetch other instant communication servers is kept at this locality; When correspondence table changed, cluster server was responsible for notifying each instant communication server, and each instant communication server obtains and upgrade the IP information of this locality again;
4) after each communication interface is all obtained the other side IP address mutually, set up TCP or UDP mutually and connect.
Secondly, carry out the transfer of data between the instant communication server.
Enterprise instant communication system need transmit miscellaneous service data, for example organizational structure, IM, file, voice and video or the like in using between instant communication server.
Instant communication server must comprise destination server sign (account number just) with above-mentioned packing data during data packet transmission; Instant communication server is passed to communication interface with packet, and communication interface is searched local IP information, and service data information is transmitted in the corresponding instant communication server.
Be appreciated that described packet can also transmit by cluster server.The steps include: that the packet that described instant communication server will comprise account number is sent to communication interface; Described communication interface is sent to cluster server with packet; Described cluster server is transmitted to corresponding instant communication server according to account number and IP address correspondence table with packet.
In addition, instant communicating method of the present invention is also realized the state notifying of client, sees also Fig. 6.
When client state changes, instant communication server is passed to communication interface in real time with state notifying, communication interface regularly (the described time can be set as required) is passed to cluster server with the unification of state variation situation, and cluster server upgrades the client state table.Client need be known User Status, just by instant communication server, gets in the state table of cluster server.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (12)

1. enterprise immediate communication method is applied to comprise it is characterized in that the enterprise instant communication system of cluster server, at least two instant communication servers and client, comprises step:
Provide a correspondence table to be stored in the described cluster server, be used to store the account number of described instant communication server and the corresponding relation between the IP address;
Described cluster server is that described instant communication server distributes account number;
Described instant communication server connects described cluster server, and forming with described cluster server is the cluster network at center;
Corresponding relation by account number in the described correspondence table and IP address between the described instant communication server carries out transfer of data;
Described instant communication server is sent to described cluster server with client state, and described cluster server upgrades the client state table according to client state.
2. enterprise immediate communication method according to claim 1 is characterized in that, also comprises step:
Described client is obtained the state of other clients from the client state table of cluster server by instant communication server.
3. enterprise immediate communication method according to claim 1 and 2 is characterized in that described instant communication server connects described cluster server, and forming with described cluster server is that the step of the cluster network at center comprises:
Described instant communication server is logined to described cluster server by communication interface;
Described cluster server is preserved the account number and the IP address correspondence table of described instant communication server;
Described instant communication server obtains the IP address of other instant communication servers from described cluster server;
Described instant communication server connects based on described IP address.
4. enterprise immediate communication method according to claim 3 is characterized in that, the step that the corresponding relation by account number in the described correspondence table and IP address between the described instant communication server carries out transfer of data comprises:
The packet that described instant communication server will comprise account number is sent to communication interface;
Described communication interface is resolved the aforementioned data bag, searches the IP address of corresponding account number;
Described communication interface is transmitted to corresponding instant communication server according to aforementioned IP address with packet.
5. enterprise immediate communication method according to claim 3 is characterized in that, the step that the corresponding relation by account number in the described correspondence table and IP address between the described instant communication server carries out transfer of data comprises:
The packet that described instant communication server will comprise account number is sent to communication interface;
Described communication interface is sent to cluster server with packet;
Described cluster server is transmitted to corresponding instant communication server according to account number and IP address correspondence table with packet.
6. enterprise immediate communication method according to claim 1 and 2, it is characterized in that it is that communication interface by described instant communication server regularly is sent to cluster server with state variation that described instant communication server is sent to described cluster server with client state.
7. enterprise instant communication system is characterized in that: comprise cluster server, at least two instant communication servers and client; Described cluster server is used for the allocation cluster environment, sets up data transmission channel and storage client state; Described at least two instant communication servers connect cluster server, and forming with the cluster server is the cluster network at center; Wherein, described cluster server comprises Account Administration unit and client state table, described Account Administration unit is used to described instant communication server to distribute account number, and be responsible for preserving account number and IP address correspondence table, and carry out transfer of data by the corresponding relation between described account number and the IP address between the described instant communication server; Described client state table is upgraded according to the client state that instant communication server sends by cluster server, realizes the state notifying of client.
8. enterprise instant communication system according to claim 7 is characterized in that: also comprise communication interface, described communication interface is used to realize the data interaction with instant communication server, and data are sent to cluster server.
9. enterprise instant communication system according to claim 8 is characterized in that: described communication interface comprises trunking communication unit, data transmission unit and server interface.
10. enterprise instant communication system according to claim 9 is characterized in that: described communication interface is integrated in the instant communication server.
11. according to each described enterprise instant communication system of claim 7 to 10, it is characterized in that: described cluster server comprises that also state keeps the unit, is used for maintain customer end state table.
12. enterprise instant communication system according to claim 11 is characterized in that: described cluster server also comprises data transmission unit.
CNB2004100278297A 2004-06-25 2004-06-25 Realtime communicating method and system for enterprise Active CN100425041C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100278297A CN100425041C (en) 2004-06-25 2004-06-25 Realtime communicating method and system for enterprise

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100278297A CN100425041C (en) 2004-06-25 2004-06-25 Realtime communicating method and system for enterprise

Publications (2)

Publication Number Publication Date
CN1713621A CN1713621A (en) 2005-12-28
CN100425041C true CN100425041C (en) 2008-10-08

Family

ID=35719056

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100278297A Active CN100425041C (en) 2004-06-25 2004-06-25 Realtime communicating method and system for enterprise

Country Status (1)

Country Link
CN (1) CN100425041C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI649703B (en) * 2015-03-03 2019-02-01 遠傳電信股份有限公司 Enterprise mobility messaging assistant

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076018B (en) * 2007-01-12 2011-03-16 腾讯科技(深圳)有限公司 Group instant telecommunication method and system
CN101146051B (en) * 2007-11-07 2011-08-03 腾讯科技(深圳)有限公司 An enterprise-level instant communication interconnection system and method for realizing enterprise interconnection
CN101494619B (en) * 2008-12-30 2011-10-26 腾讯科技(深圳)有限公司 Communication method and device for instant communication system
CN101488928B (en) * 2009-01-06 2011-04-20 腾讯科技(深圳)有限公司 Internet enterprise group communication device and internet enterprise group communication method
CN101631140B (en) * 2009-08-03 2012-09-26 中兴通讯股份有限公司 Cluster server of instant communication system and method of inter-clusters communication
CN103297555A (en) * 2012-02-23 2013-09-11 王正伟 Shadow code addressing method
CN103685004A (en) * 2013-12-18 2014-03-26 华南理工大学 Protocol gateway and method supporting interconnection and interworking of enterprise-class instant messaging systems
CN105897557B (en) * 2016-05-18 2019-04-09 海侣(上海)投资管理中心(有限合伙) Instant communicating method and system
CN107733787B (en) * 2017-11-06 2021-05-04 数贸科技(北京)有限公司 Method and system for cross-border instant messaging
CN110351178A (en) * 2018-04-02 2019-10-18 深圳市六度人和科技有限公司 A kind of information monitoring method and device
CN109347966B (en) * 2018-10-31 2021-08-03 许继集团有限公司 Server cluster communication method, terminal equipment and communication server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6081900A (en) * 1999-03-16 2000-06-27 Novell, Inc. Secure intranet access
CN1367439A (en) * 2002-02-10 2002-09-04 苏州市蜗牛电子有限公司 Several customer terminals interdynamic load equalizing method and its system
KR20030020036A (en) * 2001-08-29 2003-03-08 주식회사 인루츠 Mobile office system using server having application programs
CN1423461A (en) * 2001-11-23 2003-06-11 中望商业机器有限公司 Broad access network gate
CN1487706A (en) * 2003-07-17 2004-04-07 腾讯科技(深圳)有限公司 Method, system and control process for enterprise to communicate timely

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6081900A (en) * 1999-03-16 2000-06-27 Novell, Inc. Secure intranet access
KR20030020036A (en) * 2001-08-29 2003-03-08 주식회사 인루츠 Mobile office system using server having application programs
CN1423461A (en) * 2001-11-23 2003-06-11 中望商业机器有限公司 Broad access network gate
CN1367439A (en) * 2002-02-10 2002-09-04 苏州市蜗牛电子有限公司 Several customer terminals interdynamic load equalizing method and its system
CN1487706A (en) * 2003-07-17 2004-04-07 腾讯科技(深圳)有限公司 Method, system and control process for enterprise to communicate timely

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI649703B (en) * 2015-03-03 2019-02-01 遠傳電信股份有限公司 Enterprise mobility messaging assistant

Also Published As

Publication number Publication date
CN1713621A (en) 2005-12-28

Similar Documents

Publication Publication Date Title
CN101488928B (en) Internet enterprise group communication device and internet enterprise group communication method
CN101090371B (en) Method and system for user information management in at-once communication system
CN100452711C (en) Method and system for adding label for contacts
CN100425041C (en) Realtime communicating method and system for enterprise
CN102137033A (en) IM (instant messaging) system based on address book and instant messaging method
CN100539552C (en) Be used to push away the method and system of Email Information to a plurality of Wireless Telecom Equipments
US6954801B1 (en) Method and system for reducing data volume transferred over a wireless communications network
CN105184540A (en) Intelligent express delivery cabinet system control method
CN102487375B (en) Method, device and system for downloading videos online
CN111277483B (en) Multi-terminal message synchronization method, server and storage medium
CN106789566A (en) Different IM application messages sharing methods and system based on mobile phone operating system
CN110213156A (en) A kind of span centre heart group's instant communicating method and system
JP2003323582A (en) Electronic document system using mobile telephone
CN1487706B (en) Method, system and control process for enterprise to communicate timely
CN102521755A (en) Information managing system and method
CN110392119A (en) A kind of data transmission method and base station
Patel et al. A technique for multi-network access to multimedia messages
CN102970209A (en) E-mail state updating method, device and system
CN101557354A (en) Method for sending picture by client service personnel on line
CN1791102B (en) Network download tool
CN101656685A (en) Method for viewing user related information provided by on-line service
CN1996362A (en) System and method for playing advertisement data in course of instant communication
US7558257B2 (en) Information switch
US7881735B2 (en) Messaging gateway and method
CN100456674C (en) User state showing system and 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
C14 Grant of patent or utility model
GR01 Patent grant