CN101656683B - 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
CN101656683B
CN101656683B CN2008101186271A CN200810118627A CN101656683B CN 101656683 B CN101656683 B CN 101656683B CN 2008101186271 A CN2008101186271 A CN 2008101186271A CN 200810118627 A CN200810118627 A CN 200810118627A CN 101656683 B CN101656683 B CN 101656683B
Authority
CN
China
Prior art keywords
instant message
lan
server
area network
local area
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
CN2008101186271A
Other languages
Chinese (zh)
Other versions
CN101656683A (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

Landscapes

  • Mobile Radio Communication Systems (AREA)

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, and also 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 users on 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 is claimed instant messaging again, is meant through the instant communication service of sending and receiving 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, the IM system of instant message service is provided,, all is based upon on client/server (C/S) the pattern basis like 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 through 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 points out; Then, the IM client software that the IM server is transmitted back to him to buddy list and the relevant information of user storage on server, 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) through 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 through the IM server; Secondly, the user must and confirm online good friend through the searching of IM server, thereby sets up point-to-point peer-to-peer communications with online good friend.Therefore, the user is important with the unimpeded ten minutes of communicating by letter between the IM server.In a single day when for example being used to realize that the user belongs to the gateway disconnection of communicating by letter between local area network (LAN) and the exterior I M server, 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, from many-sided reasons such as use costs, 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 like MSN, QQ etc.On the other hand, existing IM system can not connect Internet, for the user instant message service is provided 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 according to the variation of external web environment adaptively 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 said 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 all current active users' in selected mode of operation information in recording mode selection unit and the local area network (LAN) information;
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 said inner IM user's detecting unit, inner IM server selected cell and exterior I M server detecting unit respectively; Said 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 said mode selecting unit is selected customer end/server mode; For breaking off 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 I M user who has only appointment in the current local area network (LAN) is as this information of IM server process.
When said mode selecting unit is selected ad hoc mode; For breaking off the initiate I M 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 all movable IM users' in the current local area network (LAN) information through 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) broke off, 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 said 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 with exterior I M server restoring communication, 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 no longer 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 said mode selecting unit was selected ad hoc mode, exterior I M server detecting unit periodically detected exterior I M server, when with exterior I M server restoring communication, rebulid and being connected of exterior I M server.
When said mode selecting unit is selected customer end/server mode; Said self-adaptive instant messaging system also comprises inner IM server selected cell; Current I M user profile in the local area network (LAN) that said 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, said 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 with exterior I M server restoring communication; 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 no longer 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, said 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 all movable IM users' in other local area network (LAN)s information;
(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 with exterior I M server restoring communication, 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 corresponding information of this user; 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 breaks off, can make and proceed communication between the IM user in the local area network (LAN); When the gateway that breaks off 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 communicates each other with the outer IM user of local area network (LAN), thereby ensures 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
Below in conjunction with accompanying drawing and embodiment the present invention is further described.
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 sketch map 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 sketch map 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.This local area network (LAN) connects outside the Internet through LAN gateway, thereby realizes being connected with the I M 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, through 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 movable IM users is accepted in this unit simultaneously.
For breaking off 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 divide two kinds of situation to handle: (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) adopt under the situation of 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 IM users' information in the local area network (LAN) is like 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 through 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 all movable IM users' in the current local area network (LAN) information, 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) broke off, 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 with exterior I M server restoring communication, 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 no longer 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 with exterior I M server restoring communication, then rebulids and being connected of exterior I M server, and each IM user independently accomplishes and should detect and recover 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 are held consultation between the IM server selected cell of each IM user's inside, to confirm 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 carry out detailed explanation to this self-adaptive instant messaging system.
When the gateway that is connected with exterior I M server breaks off, through 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 each other; 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 each other 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 restoring communication, set up and communicate by letter by other user in the IM server notification local area network (LAN) in this local area network (LAN) and exterior I M server.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 in local area network (LAN), realize the point to point link of instant message easily; 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 restoring communication.
Referring to shown in Figure 4, when mode selecting unit was selected hubbed mode, IM user's workflow was following 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 with exterior I M server restoring communication; 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 no longer 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 following:
(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 following 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 all movable IM users' in other local area network (LAN)s information;
(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 with exterior I M server restoring communication, 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 following:
(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 corresponding information of this user;
(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,, will reselect IM server in the new local area network (LAN) if withdraw from as the IM user of IM server in the local area network (LAN).In addition on the one hand, communication efficiency is higher under hubbed mode because all IM users only need with a 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 the process of embodiment of the present invention, can realize above-mentioned function through the mode that relevant plug-in unit is provided to user's IM client software, need not carry out big modification, thereby can effectively reduce implementation cost of the present invention existing IM server.
Above self-adaptive instant messaging system provided by the present invention and its implementation have been carried out detailed explanation, but obviously concrete way of realization 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. a self-adaptive instant messaging system is applicable under the condition of local area network (LAN) and exterior I M server communication disconnection, it 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, LAN broadcast unit instant message user in local area network (LAN), accepts the information by LAN broadcast's cell broadcast of other movable instant message users simultaneously;
User data cell is used for the information of all current active instant message 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 movable instant message users in the current local area network (LAN); 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); When the server of instant message in the local area network (LAN) broke off, this inside instant message user detecting unit required said LAN broadcast unit broadcasting user information in local area network (LAN) again;
Outside server of instant message detecting unit; When selecting said customer end/server mode through said mode selecting unit; If instant message user is as server of instant message in the local area network (LAN), this outside server of instant message detecting unit is used for periodically detecting the connection status of outside server of instant message; When selecting said ad hoc mode through said mode selecting unit, this outside server of instant message detecting unit is used for periodically detecting the connection status of outside server of instant message;
Said LAN broadcast unit connects said inner instant message user detecting unit, inner server of instant message selected cell and outside server of instant message detecting unit respectively; Said inner instant message user detecting unit, inner server of instant message selected cell and outside server of instant message detecting unit are connected said user data cell simultaneously, and said user data cell connects said mode selecting unit.
2. self-adaptive instant messaging system as claimed in claim 1 is characterized in that:
When said mode selecting unit is selected customer end/server mode; For breaking off 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 said mode selecting unit is selected ad hoc mode; For breaking off 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 said 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); Said outside server of instant message detecting unit periodically detects outside server of instant message; When with outside server of instant message restoring communication, 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 no longer 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), said outside server of instant message detecting unit does not detect the communications status with outside server of instant message;
When said mode selecting unit is selected ad hoc mode; Said outside server of instant message detecting unit periodically detects outside server of instant message; When with outside server of instant message restoring communication, rebulid and being connected of outside server of instant message.
5. self-adaptive instant messaging system as claimed in claim 1; It is characterized in that: when said mode selecting unit is selected customer end/server mode; Current instant message user information in the local area network (LAN) that said 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 through the inner broadcast request of local area network (LAN).
7. method that realizes self-adaptive instant messaging system, said 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 with outside server of instant message restoring communication, the 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 no longer 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; New instant message user promptly and in the local area network (LAN) is set up instant messaging between other instant message users after inserting this server of instant message.
9. method that realizes self-adaptive instant messaging system, said 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) information of interior all the movable instant message users of all movable other local area network (LAN)s of instant message users acquisition in the current local area network (LAN);
(3) interior all the movable instant message users of local area network (LAN) periodically detect the shape love 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 with outside server of instant message restoring communication, 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 corresponding information of this user; 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 CN101656683A (en) 2010-02-24
CN101656683B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428070B (en) * 2012-05-17 2016-08-03 阿里巴巴集团控股有限公司 instant group communication method, session management server and client
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

Citations (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
CN1976325A (en) * 2006-12-13 2007-06-06 Ut斯达康通讯有限公司 Network system capable of realizing immediate message communication and communicating method
CN101123548A (en) * 2006-08-08 2008-02-13 阿里巴巴公司 An information service method and system in instant communication

Patent Citations (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
CN101123548A (en) * 2006-08-08 2008-02-13 阿里巴巴公司 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

Also Published As

Publication number Publication date
CN101656683A (en) 2010-02-24

Similar Documents

Publication Publication Date Title
Ali et al. Disaster management using D2D communication with power transfer and clustering techniques
CN106454996B (en) Method and apparatus for low power consumption data transfer
CN1254064C (en) Method and device for distributing notice between cooperative equipment and equipment channels
CN110383899A (en) Method and system for the wake-up trigger by out-of-band communication
US20110151840A1 (en) Enhanced service discovery mechanism in wireless communication system
US9119020B2 (en) Method and apparatus for discovering wireless devices
CN107925950A (en) The method, apparatus and computer program product that service discovery for wireless communication is acted on behalf of
CN102939782A (en) Application-proxy support over wireless link
CN104541569A (en) Method and apparatus for generating P2P group for Wi-Fi direct service
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)
CN107852589A (en) The instruction on the scene of neighborhood aware network data link
CN101801002A (en) Control and service separated WLAN framework and configuration method thereof
CN107615710A (en) Direct reply action in SDN switch
CN101656683B (en) Self-adaptive instant messaging system and method for implementing same
CN106922215A (en) Wi Fi signaling networks see clearly delivering
CN100391185C (en) Wireless network device and method for reassociation bwteen wireless networks using the wireless network device
Mao et al. Mobile message board: Location-based message dissemination in wireless ad-hoc networks
CN104661282B (en) A kind of access of ad hoc network, data transmission and construction method
EP2852189B1 (en) Method and system for releasing and obtaining information
CN110830295B (en) Equipment management method and system
CN105050197B (en) A kind of wireless communications method, relevant device and system
CN107689986A (en) The data communications method of communication equipment, communication equipment and storage device in wireless self-organization network
CN102711097A (en) Method and device for remotely configuring terminal
CN102752883A (en) Communication system and communication method based on point-to-point network

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