CN101656683A - Self-adaptive instant messaging system and method for implementing same - Google Patents

Self-adaptive instant messaging system and method for implementing same Download PDF

Info

Publication number
CN101656683A
CN101656683A CN200810118627A CN200810118627A CN101656683A CN 101656683 A CN101656683 A CN 101656683A CN 200810118627 A CN200810118627 A CN 200810118627A CN 200810118627 A CN200810118627 A CN 200810118627A CN 101656683 A CN101656683 A CN 101656683A
Authority
CN
China
Prior art keywords
instant message
lan
area network
local area
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.)
Granted
Application number
CN200810118627A
Other languages
Chinese (zh)
Other versions
CN101656683B (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.)
CIENET TECHNOLOGIES (BEIJING) Co Ltd
Original Assignee
CIENET TECHNOLOGIES (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 CIENET TECHNOLOGIES (BEIJING) Co Ltd filed Critical CIENET TECHNOLOGIES (BEIJING) Co Ltd
Priority to CN2008101186271A priority Critical patent/CN101656683B/en
Publication of CN101656683A publication Critical patent/CN101656683A/en
Application granted granted Critical
Publication of CN101656683B publication Critical patent/CN101656683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a self-adaptive instant messaging system and a method for implementing the same. The instant messaging system can enable instant messaging users in a local area network to continue to communicate in a client/server mode or a peer-to-peer mode when a gateway responsible for the communication between the local area network and an external instant messaging server is off, andalso can enable the instant messaging users in the local area network to automatically restore the communication with the external instant messaging server and to communicate with the instant messaging users beyond the local area network when the off gateway regains normal communication capacity so as to ensure that the instant messaging service in the local area network is always smooth. The self-adaptive instant messaging system and the method for implementing the same effectively enhance the functions of the prior instant messaging system, and can further improve the dependence of the userson specific instant messaging client software and enlarge the user base of the specific instant messaging system.

Description

A kind of self-adaptive instant messaging system and its implementation
Technical field
The present invention relates to a kind of can be according to the variation of external web environment, between client/server (C/S) pattern and point-to-point (P2P) pattern, select instant message (the Instant Messaging of self mode of operation adaptively, be abbreviated as IM) system, simultaneously also relate to the method that realizes this immediate news systems, belong to the instant messaging field.
Background technology
Instant message claims instant messaging again, is meant by the instant communication service that sends and receive message of means of communication such as the Internet.It has become one of main communication mode of people's daily life, work gradually since the eighties of last century birth nineties.From setting up new interpersonal relationships to increasing work efficiency, the instant message service all has huge help to people.
At present, provide the IM system of instant message service,, all be based upon on client/server (C/S) the pattern basis as MSN, QQ etc.The service process of these IM systems is normally such: at first, the user imports the username and password login IM server of oneself, and the IM server comes identifying user identity by reading customer data base; If user name, password are all correct, just registered user's IP address, the version number of IM client software and the TCP/UDP port numbers of use are returned the user then and are logined successful sign; At this moment, the state of user in the IM system is online; Secondly, according to the buddy list of user storage on the IM server, the server relevant information that the user is online sends in simultaneously online good friend's the IM client software, and these information comprise the tcp port number that presence, IP address, IM client are used etc.; Good friend's IM client software receives that will eject a wicket after this information is pointed out; Then, the IM server is buddy list and the relevant information IM client software that be transmitted back to he of user storage on server, and these information comprise the tcp port number that presence, IP address, IM client are used etc.After receiving, user's IM client software will show these buddy lists and presence thereof; Next, if the user wants the online good friend user's chat with him, he will utilize information such as good friend's user's IP address that server sends, tcp port number, directly send information to good friend user's IM client software, be presented on the screen after good friend user's IM client software is received, good friend user directly is returned to user's IM client software more then.Like this, after both sides set up contact, instant message did not to each other just pass through the IM transit server, but directly carried out the peer-to-peer communications of point-to-point (P2P) by network.
In the service process of IM system, the IM server plays an important role.At first, the user need verify the legal identity of oneself by the IM server; Secondly, the user must and confirm online good friend by the searching of IM server, thereby sets up point-to-point peer-to-peer communications with online good friend.Therefore, between user and the IM server communicate by letter unimpeded very important.In a single day when for example being used to realize that the gateway of communicating by letter between user place local area network (LAN) and the exterior I M server disconnects, all can not use the instant messaging service in the local area network (LAN) and between the IM user outside the local area network (LAN) and between the IM user of local area network (LAN) inside.
The U.S. is green speeds (Green Packet), and communication scientific ﹠ technical corporation developed a kind of name is called SONbuddy TMIntelligent radio networking software platform (specifically can referring to U.S. Patent application No.60/481,849).It can form a self-organizing network (SON) with any WIFI (802.11a/b/g) equipment, need not central server, dynamically forms point-to-point wireless network whenever and wherever possible.Utilize this software platform, can connect outside Internet, under the situation that does not have the IM server, realize the instant message function.Because the instant message service of using in the local area network (LAN) that this software platform provides can be avoided the infringement of virus, purifies Internet environment, and avoids the harassing and wrecking of flame.
But, for many-sided reasons such as use cost, network robustness, the instant message function that above-mentioned software platform is realized can't with the existing IM system that the instant message service is provided, be at war with as MSN, QQ etc.On the other hand, existing IM system can not connect Internet, provides the instant message service for the user in the absence of IM server.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of self-adaptive instant messaging system.This immediate news systems can be selected self working mode adaptively according to the variation of external web environment between customer end/server mode and ad hoc mode.
The another one technical problem that the present invention will solve is to provide the concrete grammar of realizing this self-adaptive instant messaging system.
For realizing above-mentioned goal of the invention, the present invention adopts following technical scheme:
A kind of self-adaptive instant messaging system is characterized in that comprising:
Mode selecting unit is used to select described self-adaptive instant messaging system that the mode of operation of instant message service is provided: customer end/server mode and ad hoc mode;
The LAN broadcast unit is used for when LAN gateway and the disconnection of exterior I M server, and every other movable IM user sends this place, unit IM user's information in local area network (LAN), accepts the information by LAN broadcast's cell broadcast of other IM users simultaneously;
User data cell is used for the information of all current active users in selected mode of operation information in recording mode selection unit and the local area network (LAN);
Inner IM user's detecting unit, when IM user as local area network (LAN) in during the IM server, this inside IM user's detecting unit periodically detects the information of all active users in the current local area network (LAN), the data in the updating user data unit are upgraded good friend's state information; When IM user not as local area network (LAN) in during the IM server, this inside IM user's detecting unit periodically detects the IM server in the local area network (LAN);
Exterior I M server detecting unit is used for periodically detecting the connection status of exterior I M server;
The LAN broadcast unit connects described inner IM user's detecting unit, inner IM server selected cell and exterior I M server detecting unit respectively, described inner IM user's detecting unit, inner IM server selected cell and exterior I M server detecting unit are connected user data cell, user data cell connection mode selected cell simultaneously.
Wherein, when described mode selecting unit is selected customer end/server mode, for disconnecting the initiate IM user in back at LAN gateway and exterior I M server, new IM user profile is broadcasted in the LAN broadcast unit in local area network (LAN) after, the IM user who has only appointment in the current local area network (LAN) is as this information of IM server process.
When described mode selecting unit is selected ad hoc mode, for disconnecting the initiate IM user in back at LAN gateway and exterior I M server, new IM user profile is broadcasted in the LAN broadcast unit in local area network (LAN) after, all IM of current local area network (LAN) is with receiving and handle this information as the IM server per family.
Add fashionablely as new IM user, server can't be communicated with if user data cell is found exterior I M, then obtains the information of all movable IM users in the current local area network (LAN) by the inner broadcast request of local area network (LAN), broadcasts the information of self simultaneously.
When the IM server in the local area network (LAN) disconnected, inner IM user's detecting unit required LAN broadcast unit broadcasting user information in local area network (LAN) again, reselects an IM user subsequently as IM server in the local area network (LAN).
When described mode selecting unit is selected customer end/server mode, when IM user as local area network (LAN) in the IM server, exterior I M server detecting unit periodically detects exterior I M server, when recovering to communicate by letter with exterior I M server, other user in the notice local area network (LAN) sets up with exterior I M server and communicates by letter, and this IM user is not re-used as IM server in the local area network (LAN) subsequently; IM server in IM user does not have as local area network (LAN), exterior I M server detecting unit does not detect the communications status with exterior I M server.
When described mode selecting unit was selected ad hoc mode, exterior I M server detecting unit periodically detected exterior I M server, when recovering to communicate by letter with exterior I M server, rebulid and being connected of exterior I M server.
When described mode selecting unit is selected customer end/server mode, described self-adaptive instant messaging system also comprises inner IM server selected cell, current I M user profile in the local area network (LAN) that described inner IM server selected cell is used for receiving according to the LAN broadcast unit selects an IM user as IM server in the local area network (LAN).
A kind of method that realizes self-adaptive instant messaging system, described self-adaptive instant messaging system is operated in customer end/server mode, it is characterized in that:
(1) when LAN gateway and the disconnection of exterior I M server, all movable IM users broadcasting user information in local area network (LAN) in the local area network (LAN);
(2) inner all the movable IM users of current local area network (LAN) consult to select an IM user as IM server in the local area network (LAN);
(3) all movable IM users are connected communication with the interior IM server of this local area network (LAN) in the local area network (LAN), upgrade its user profile;
(4) after all movable IM users insert this IM server in the local area network (LAN), just can realize instant messaging between these IM users;
(5) if withdraw from as the IM user of IM server in the current local area network (LAN), then the process of repeating step (1)~(4) is to select IM server in the new local area network (LAN);
(6) the IM server periodically detects exterior I M server in the local area network (LAN), when recovering to communicate by letter with exterior I M server, every other movable IM user in the notice local area network (LAN) sets up with exterior I M server and communicates by letter, and this IM user is not re-used as IM server in the local area network (LAN) subsequently.
Add as new IM user fashionable, to the IM of LAN broadcast user profile; The interior IM server of current local area network (LAN) receives after the new IM user profile and this IM user connects; After new IM user inserts this IM server, can and local area network (LAN) in set up instant messaging between other IM users.
A kind of method that realizes self-adaptive instant messaging system, described self-adaptive instant messaging system is operated in ad hoc mode, it is characterized in that:
(1) when LAN gateway and the disconnection of exterior I M server, all movable IM users broadcasting user information in local area network (LAN) in the local area network (LAN);
(2) interior all the movable IM users of current local area network (LAN) obtain the information of all movable IM users in other local area network (LAN)s;
(3) all movable IM users periodically detect all movable IM state of user in other local area network (LAN)s in the local area network (LAN);
(4) just can realize instant messaging between the movable IM user in the local area network (LAN);
(5) if when having IM user to withdraw from the local area network (LAN), after other movable IM users detect, upgrade its corresponding state;
(6) all IM users periodically detect exterior I M server in the local area network (LAN), and when recovering to communicate by letter with exterior I M server, all movable IM users set up with exterior I M server and communicate by letter.
Add as new IM user fashionable, broadcasting IM user profile in local area network (LAN); After all movable IM users receive new IM user profile in the current local area network (LAN), upgrade the information of this user's correspondence; New IM user can and local area network (LAN) in set up instant messaging between other movable IM users.
Utilize self-adaptive instant messaging system provided by the present invention and its implementation, when the gateway of being responsible for local area network (LAN) (including but not limited to the in-house network that company or school set up) and exterior I M server communication disconnects, can make and proceed communication between the IM user in the local area network (LAN); When the gateway that disconnects recovered the proper communication ability again, the IM user in the local area network (LAN) can recover and the communicating by letter of exterior I M server automatically, and communicated mutually with the outer IM user of local area network (LAN), thereby ensured that the instant message service in the local area network (LAN) is unimpeded all the time.This technical scheme is to effective enhancing of existing IM systemic-function, can further improve the viscosity of user to specific IM client software, enlarges the customer group of specific IM system.
Description of drawings
The present invention is further illustrated below in conjunction with the drawings and specific embodiments.
Fig. 1 is the structural representation of the self-adaptive instant messaging system of employing hubbed mode;
Fig. 2 is the structural representation of the self-adaptive instant messaging system of employing distribution pattern;
Fig. 3 is self-adaptive instant messaging system IM client software inner function module figure;
Fig. 4 is under the hubbed mode, IM user's workflow diagram;
Fig. 5 is under the hubbed mode, the schematic diagram of new IM user's adition process;
Fig. 6 is under the distribution pattern, IM user's workflow diagram;
Fig. 7 is under the distribution pattern, the schematic diagram of new IM user's adition process.
Embodiment
Fig. 1 and Fig. 2 have shown the overall operation framework of immediate news systems provided by the present invention.In this immediate news systems, a plurality of IM users are connected respectively on same the hub (Hub), form the local area network (LAN) of a wired mode.IM user is under the situation of wireless network user, uses wireless HUB and wireless access node (AP), also can form a WLAN (wireless local area network).This local area network (LAN) connects outside the Internet by LAN gateway, thereby realizes being connected with the IM server of outside.
In practice, above-mentioned local area network (LAN) can be the in-house network that company or school set up, and IM user can be the employee of company or the teachers and students of school.These IM users install the IM client software on the computer of oneself, under the situation of LAN gateway operate as normal, by the IM server acquisition instant message service of outside.But under the situation of LAN gateway cisco unity malfunction, each IM user can't connect outside IM server, therefore can not realize the instant message service in a conventional manner.
In order under the situation of LAN gateway cisco unity malfunction, also to realize the instant message service, as shown in Figure 3, self-adaptive instant messaging system provided by the present invention comprises mode selecting unit, user data cell, inner IM user's detecting unit, inner IM server selected cell, exterior I M server detecting unit and local area network (LAN) radio unit.Wherein, the LAN broadcast unit connects inner IM user's detecting unit, inner IM server selected cell and exterior I M server detecting unit respectively.Inner IM user's detecting unit, inner IM server selected cell also are connected user data cell simultaneously with exterior I M server detecting unit.This user data cell connection mode selected cell.
Below, respectively the operation principle of above-mentioned each functional unit is launched detailed explanation.
1. mode selecting unit
This mode selecting unit is controlled by the keeper of LAN system, is used to select this self-adaptive instant messaging system that two kinds of mode of operations of instant message service are provided: hubbed mode (being customer end/server mode) and distribution pattern (being ad hoc mode).Fig. 1 has shown the basic structure of selecting the self-adaptive instant messaging system of hubbed mode.Wherein, under the situation of LAN gateway and the disconnection of exterior I M server, temporarily serve as the IM server by an IM user.Fig. 2 has shown the basic structure of selecting the self-adaptive instant messaging system of distribution pattern, and wherein each IM user also serves as the IM server simultaneously.At synchronization, all the IM users in the local area network (LAN) can only adopt with a kind of mode of operation.
2. LAN broadcast unit
When LAN gateway and the disconnection of exterior I M server, this unit every other movable IM user in local area network (LAN) sends this place, unit IM user's IP address, the TCP/UDP port numbers, friend information and current state information, the information by LAN broadcast's cell broadcast of other IM users is accepted in this unit simultaneously.
For disconnecting the initiate IM user in back at LAN gateway and exterior I M server, new IM user profile is broadcasted in this unit in local area network (LAN) after, can handle in two kinds of situation: (1) is adopting hubbed mode to realize that under the situation of instant message service, the IM user who has only appointment in the current local area network (LAN) is as this information of IM server process; (2) under the situation that adopts distribution pattern, all IM users of current local area network (LAN) also are the IM servers simultaneously, and they all receive and handle this information.
3. user data cell
This unit users is used for the selected mode of operation information in recording mode selection unit, and all current active users' information in the local area network (LAN) is as IP address, TCP/UDP port numbers, friend information and current state information etc.If IM user is not as the IM server in the local area network (LAN), then the current IP address of this IM user, TCP/UDP port numbers, friend information and current state information etc. are only stored in this unit.
Add fashionablely as new IM user, server can't be communicated with if its finds exterior I M, and it will obtain interior all the movable IM users' of current local area network (LAN) information by the inner broadcast request of local area network (LAN), broadcast the information of self simultaneously.
4. inner IM user's detecting unit
When IM user as local area network (LAN) in during the IM server, this unit periodically detects the information of all active users in the current local area network (LAN), the data in the updating user data unit are upgraded good friend's state information; When IM user not as local area network (LAN) in during the IM server, this unit periodically detects IM server in the local area network (LAN).
When the IM server in this local area network (LAN) disconnected, this unit required LAN broadcast unit broadcasting user information in local area network (LAN) again, reselects an IM user subsequently as IM server in the local area network (LAN).
5. exterior I M server detecting unit
Under hubbed mode, when IM user as local area network (LAN) in during the IM server, this unit periodically detects exterior I M server, when recovering to communicate by letter with exterior I M server, other user in the notice local area network (LAN) sets up with exterior I M server and communicates by letter, and this IM user is not re-used as IM server in the local area network (LAN) subsequently; When IM user not as local area network (LAN) in during the IM server, this unit does not detect the communications status with exterior I M server.
Under distribution pattern, this unit periodically detects exterior I M server, when recovering communicate by letter with exterior I M server, then rebulids and being connected of exterior I M server, and each IM user independently finishes this detection and recovery connection procedure.
6. inner IM server selected cell
This unit plays a role when mode selecting unit is selected hubbed mode.Current I M user profile in the local area network (LAN) that it receives according to the LAN broadcast unit, select an IM user as IM server in the local area network (LAN), can be when selecting according to the IP address digit size, information such as user account alphanumeric ordering, between the IM server selected cell of each IM user's inside, hold consultation, to determine IM server in the final local area network (LAN).If the IM user as IM server in the local area network (LAN) withdraws from subsequently, then, reselect an IM user as IM server in the local area network (LAN) by each IM user's LAN broadcast unit broadcasting user information in local area network (LAN) again.
Below, provide the implementation process of instant message service to be described in detail to this self-adaptive instant messaging system.
When the gateway that is connected with exterior I M server disconnects, by mode selecting unit the mode of operation of this self-adaptive instant messaging system is selected by the keeper of LAN system.When selecting hubbed mode, IM client software by current active in the local area network (LAN) sends broadcast in local area network (LAN), consult mutually, select an IM user as IM server in the local area network (LAN), should " server " not necessarily need complete IM server capability, only need possess to concentrate and preserve in the local area network (LAN) user's online state information and these user's IP address etc. and be used for link information and guarantee that the user can talk mutually in these nets getting final product, simultaneously should " server " also be an IM user, by IM server in this local area network (LAN) coordinate with handle local area network (LAN) in all IM users' intercommunication mutually; Periodically detect exterior I M server by IM server in this local area network (LAN), when recovering communication by this local area network (LAN) in other user in the IM server notification local area network (LAN) set up with exterior I M server and communicate by letter.When selecting distribution pattern, in local area network (LAN), send broadcast by the IM client software of current active in the local area network (LAN).Each IM client all will be an IM server in the local area network (LAN), also be IM user simultaneously, can realize the point to point link of instant message easily in local area network (LAN); The IM server periodically detects exterior I M server in these local area network (LAN)s, and the IM client is set up with exterior I M server again and communicated by letter in each local area network (LAN) when recovering communication.
Referring to shown in Figure 4, when mode selecting unit was selected hubbed mode, IM user's workflow was as follows under this pattern:
(1) when LAN gateway and the disconnection of exterior I M server, all movable IM users broadcasting user information in local area network (LAN) in the local area network (LAN);
(2) inner all the movable IM users of current local area network (LAN) consult to select an IM user as IM server in the local area network (LAN);
(3) all movable IM users are connected communication with the interior IM server of this local area network (LAN) in the local area network (LAN), upgrade its user profile;
(4) after all movable IM users insert this IM server in the local area network (LAN), just can realize instant messaging between these IM users;
(5) if withdraw from, then repeat aforesaid process to select IM server in the new local area network (LAN) as the IM user of IM server in the current local area network (LAN);
(6) the IM server periodically detects exterior I M server in the local area network (LAN), when recovering to communicate by letter with exterior I M server, every other movable IM user in the notice local area network (LAN) sets up with exterior I M server and communicates by letter, and this IM user is not re-used as IM server in the local area network (LAN) subsequently.
As shown in Figure 5, when IM user job during at hubbed mode, if there is new IM user to add, the workflow of adding is as follows:
(1) after new IM user detects exterior I M server and can't connect, to the IM of LAN broadcast user profile;
(2) the IM server receives after the new IM user profile and this IM user connects in the current local area network (LAN);
(3) after new IM user inserts this IM server, can and local area network (LAN) in set up instant messaging between other IM users.
Referring to shown in Figure 6, when mode selecting unit was selected distribution pattern, IM user's workflow was as follows under this pattern:
(1) when LAN gateway and the disconnection of exterior I M server, all movable IM users broadcasting user information in local area network (LAN) in the local area network (LAN);
(2) interior all the movable IM users of current local area network (LAN) obtain the information of all movable IM users in other local area network (LAN)s;
(3) all movable IM users periodically detect all movable IM state of user in other local area network (LAN)s in the local area network (LAN);
(4) just can realize instant messaging between the movable IM user in the local area network (LAN);
(5) if when having IM user to withdraw from the local area network (LAN), after other movable IM users detect, upgrade its corresponding state;
(6) all IM users periodically detect exterior I M server in the local area network (LAN), and when recovering to communicate by letter with exterior I M server, all movable IM users set up with exterior I M server and communicate by letter.
As shown in Figure 7, when IM user job during in distribution pattern, if there is new IM user to add, the workflow of adding is as follows:
(1) after new IM user detects exterior I M server and can't connect, to the IM of LAN broadcast user profile;
(2) after all movable IM users receive new IM user profile in the current local area network (LAN), upgrade the information of this user's correspondence;
(3) new IM user can and local area network (LAN) in set up instant messaging between other movable IM users.
In the present invention, if the IM user of acquiescence in local area network (LAN) is trusted users, under above-mentioned two kinds of patterns, when LAN gateway and the disconnection of exterior I M server, if there is new local area network (LAN) IM user to add the fashionable Authentication Authorization process that will not use the user name password.Therefrom can see, immediate news systems under distribution pattern is comparatively healthy and strong, because any local area network (LAN) IM user withdraws from the communication that can not influence between other user, and under hubbed mode, if the IM user as IM server in the local area network (LAN) withdraws from, will reselect IM server in the new local area network (LAN).In addition on the one hand, communication efficiency is higher under hubbed mode because all IM users only need and local area network (LAN) in the IM server keep information synchronization, and under distribution pattern, each IM user needs and interior all the IM servers maintenance information synchronization of current local area network (LAN).Based on above-mentioned reason, specifically adopt which kind of mode of operation to make a choice based on the choice and the balance of aspects such as system robustness and efficient by the keeper of LAN system.
In implementing process of the present invention, can realize above-mentioned function by the mode that relevant plug-in unit is provided to user's IM client software, do not need existing IM server is carried out big modification, thereby can effectively reduce implementation cost of the present invention.
Above self-adaptive instant messaging system provided by the present invention and its implementation are had been described in detail, but obvious specific implementation form of the present invention is not limited thereto.For the those skilled in the art in present technique field, the various conspicuous change of under the situation of spirit that does not deviate from the method for the invention and claim scope it being carried out is all within protection scope of the present invention.

Claims (10)

1. self-adaptive instant messaging system is characterized in that comprising:
Mode selecting unit is used to select provide the mode of operation of instant message service: customer end/server mode and ad hoc mode;
The LAN broadcast unit, be used for when LAN gateway and the disconnection of outside server of instant message, every other movable instant message user sends the information of this place, unit instant message user in local area network (LAN), accepts the information by LAN broadcast's cell broadcast of other instant message users simultaneously;
User data cell is used for the information of all current active users in selected mode of operation information in recording mode selection unit and the local area network (LAN);
Inner instant message user detecting unit, when instant message user as local area network (LAN) in during server of instant message, this inside instant message user detecting unit periodically detects the information of all active users in the current local area network (LAN), and the data in the updating user data unit are upgraded good friend's state information; When instant message user not as local area network (LAN) in during server of instant message, this inside instant message user detecting unit periodically detects the server of instant message in the local area network (LAN);
Outside server of instant message detecting unit is used for periodically detecting the connection status of outside server of instant message;
Described LAN broadcast unit connects described inner instant message user detecting unit, inner server of instant message selected cell and outside server of instant message detecting unit respectively, described inner instant message user detecting unit, inner server of instant message selected cell and outside server of instant message detecting unit are connected described user data cell simultaneously, and described user data cell connects described mode selecting unit.
2. self-adaptive instant messaging system as claimed in claim 1 is characterized in that:
When described mode selecting unit is selected customer end/server mode, for disconnecting the initiate instant message user in back at LAN gateway and outside server of instant message, new instant message user information is broadcasted in the LAN broadcast unit in local area network (LAN) after, have only the instant message user of appointment in the current local area network (LAN) to handle this information as server of instant message.
3. self-adaptive instant messaging system as claimed in claim 1 is characterized in that:
When described mode selecting unit is selected ad hoc mode, for disconnecting the initiate instant message user in back at LAN gateway and outside server of instant message, new instant message user information is broadcasted in the LAN broadcast unit in local area network (LAN) after, all instant message users of current local area network (LAN) all receive and handle this information as server of instant message.
4. self-adaptive instant messaging system as claimed in claim 1 is characterized in that:
When described mode selecting unit is selected customer end/server mode, if instant message user is as server of instant message in the local area network (LAN), described outside server of instant message detecting unit periodically detects outside server of instant message, when recovering to communicate by letter with outside server of instant message, other user in the notice local area network (LAN) sets up with outside server of instant message and communicates by letter, and this instant message user is not re-used as server of instant message in the local area network (LAN) subsequently; If instant message user is not as server of instant message in the local area network (LAN), described outside server of instant message detecting unit does not detect the communications status with outside server of instant message;
When described mode selecting unit is selected ad hoc mode, described outside server of instant message detecting unit periodically detects outside server of instant message, when recovering to communicate by letter, rebulid and being connected of outside server of instant message with outside server of instant message.
5. self-adaptive instant messaging system as claimed in claim 1 is characterized in that:
When described mode selecting unit is selected customer end/server mode, described self-adaptive instant messaging system also comprises inner server of instant message selected cell, current instant message user information in the local area network (LAN) that described inner server of instant message selected cell is used for receiving according to the LAN broadcast unit selects an instant message user as server of instant message in the local area network (LAN).
6. self-adaptive instant messaging system as claimed in claim 1 is characterized in that:
Add fashionable as new instant message user, if user data cell is found outside server of instant message and can't be communicated with, then obtain the information of all movable instant message users in the current local area network (LAN), broadcast the information of self simultaneously by the inner broadcast request of local area network (LAN).
7. method that realizes self-adaptive instant messaging system, described self-adaptive instant messaging system is operated in customer end/server mode, it is characterized in that:
(1) when LAN gateway and the disconnection of outside server of instant message, all movable instant message users broadcasting user information in local area network (LAN) in the local area network (LAN);
(2) inner all the movable instant message users of current local area network (LAN) consult to select an instant message user as server of instant message in the local area network (LAN);
(3) all movable instant message users are connected communication with the interior server of instant message of this local area network (LAN) in the local area network (LAN), upgrade its user profile;
(4) after all movable instant message users insert this server of instant message in the local area network (LAN), realize instant messaging between these instant message users;
(5) if withdraw from as the instant message user of server of instant message in the current local area network (LAN), then the process of repeating step (1)~(4) is to select server of instant message in the new local area network (LAN);
(6) server of instant message periodically detects outside server of instant message in the local area network (LAN), when recovering to communicate by letter with outside server of instant message, every other movable instant message user in the notice local area network (LAN) is set up with outside server of instant message and is communicated by letter, and this instant message user is not re-used as server of instant message in the local area network (LAN) subsequently.
8. the method for realization self-adaptive instant messaging system as claimed in claim 7 is characterized in that:
Add as new instant message user fashionable, to LAN broadcast's instant message user information; The interior server of instant message of current local area network (LAN) receives after the new instant message user information and this instant message user connects; After new instant message user inserts this server of instant message, promptly and in the local area network (LAN) set up instant messaging between other instant message users.
9. method that realizes self-adaptive instant messaging system, described self-adaptive instant messaging system is operated in ad hoc mode, it is characterized in that:
(1) when LAN gateway and the disconnection of outside server of instant message, all movable instant message users broadcasting user information in local area network (LAN) in the local area network (LAN);
(2) interior all the movable instant message users of current local area network (LAN) obtain the information of all movable instant message users in other local area network (LAN)s;
(3) interior all the movable instant message users of local area network (LAN) periodically detect the state of all movable instant message users in other local area network (LAN)s;
(4) realize instant messaging between the movable instant message user in the local area network (LAN);
(5) if when having instant message user to withdraw from the local area network (LAN), after other movable instant message users detect, upgrade its corresponding state;
(6) all instant message users periodically detect outside server of instant message in the local area network (LAN), and when recovering to communicate by letter with outside server of instant message, all movable instant message users are set up with outside server of instant message and communicated by letter.
10. the method for realization self-adaptive instant messaging system as claimed in claim 9 is characterized in that:
Add as new instant message user fashionable, announcing instant message user profile in local area network (LAN); After all movable instant message users receive new instant message user information in the current local area network (LAN), upgrade the information of this user's correspondence; New instant message user promptly and in the local area network (LAN) is set up instant messaging between other movable instant message users.
CN2008101186271A 2008-08-20 2008-08-20 Self-adaptive instant messaging system and method for implementing same Active CN101656683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101186271A CN101656683B (en) 2008-08-20 2008-08-20 Self-adaptive instant messaging system and method for implementing same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101186271A CN101656683B (en) 2008-08-20 2008-08-20 Self-adaptive instant messaging system and method for implementing same

Publications (2)

Publication Number Publication Date
CN101656683A true CN101656683A (en) 2010-02-24
CN101656683B CN101656683B (en) 2012-06-27

Family

ID=41710780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101186271A Active CN101656683B (en) 2008-08-20 2008-08-20 Self-adaptive instant messaging system and method for implementing same

Country Status (1)

Country Link
CN (1) CN101656683B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103326933A (en) * 2013-07-12 2013-09-25 候万春 System and method for realizing safe instant messaging of group
CN103428070A (en) * 2012-05-17 2013-12-04 阿里巴巴集团控股有限公司 Instant group messaging method, session management server and client side
CN104683349A (en) * 2015-03-12 2015-06-03 西安酷派软件科技有限公司 Converged communication method, terminal, server and converged communication system
CN110489272A (en) * 2019-07-03 2019-11-22 浙江大华技术股份有限公司 The operating system recovery method, apparatus and web camera of web camera

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126213A1 (en) * 2002-01-02 2003-07-03 International Business Machines Corporation Establishing direct instant messaging communication between wireless devices
CN101123548B (en) * 2006-08-08 2011-08-24 阿里巴巴集团控股有限公司 An information service method and system in instant communication
CN1976325A (en) * 2006-12-13 2007-06-06 Ut斯达康通讯有限公司 Network system capable of realizing immediate message communication and communicating method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428070A (en) * 2012-05-17 2013-12-04 阿里巴巴集团控股有限公司 Instant group messaging method, session management server and client side
CN103428070B (en) * 2012-05-17 2016-08-03 阿里巴巴集团控股有限公司 instant group communication method, session management server and client
CN103326933A (en) * 2013-07-12 2013-09-25 候万春 System and method for realizing safe instant messaging of group
CN103326933B (en) * 2013-07-12 2016-10-05 候万春 A kind of system and method realizing group security instant messaging
CN104683349A (en) * 2015-03-12 2015-06-03 西安酷派软件科技有限公司 Converged communication method, terminal, server and converged communication system
CN110489272A (en) * 2019-07-03 2019-11-22 浙江大华技术股份有限公司 The operating system recovery method, apparatus and web camera of web camera

Also Published As

Publication number Publication date
CN101656683B (en) 2012-06-27

Similar Documents

Publication Publication Date Title
Ali et al. Disaster management using D2D communication with power transfer and clustering techniques
US9220054B2 (en) Enhanced service discovery mechanism in wireless communication system
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN101841815B (en) Cluster controlling method based on wireless router and network system
CN107925950A (en) The method, apparatus and computer program product that service discovery for wireless communication is acted on behalf of
US9119020B2 (en) Method and apparatus for discovering wireless devices
CN104301141B (en) A kind of method, apparatus and system for preserving configuration information
CN101557616A (en) Method for accessing AP (access point) to controller by switching backup and AP (access point) and AC (access controller)
CN102652450A (en) Apparatus and method for network- initiated attachment and registration- less paging in a wireless network
CN102144420B (en) For the agency mechanism of grid type network
CN104541569A (en) Method and apparatus for generating P2P group for Wi-Fi direct service
CN106131919B (en) A kind of synchronous method of non-stop layer self-organized network topology
CN103124422A (en) Device associating method, device and system
CN108370515A (en) Wireless mesh network management method, apparatus for the method and record are useful for executing the recording medium of the computer program of this method
CN107615710A (en) Direct reply action in SDN switch
CN102104893A (en) Method, device and wireless access point equipment for realizing hot backup of wireless controller
CN101656683B (en) Self-adaptive instant messaging system and method for implementing same
CN102857377A (en) Automatic generation method for train communication network online topology
CN103841621A (en) Redundancy routing method based on 6LoWPAN tree type network
CN100391185C (en) Wireless network device and method for reassociation bwteen wireless networks using the wireless network device
CN101610560B (en) Discovery method of equipment in wireless self-organization network
CN104869621B (en) A kind of Network Recognition method and apparatus
EP2852189B1 (en) Method and system for releasing and obtaining information
CN102711097B (en) Method and device for remotely configuring terminal
CN102611783A (en) Mobile terminal and method for processing mobile internet communication service with the same

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