CN1968117A - Method for adding LAN subscriber into group communication in instant communication - Google Patents
Method for adding LAN subscriber into group communication in instant communication Download PDFInfo
- Publication number
- CN1968117A CN1968117A CN 200510101691 CN200510101691A CN1968117A CN 1968117 A CN1968117 A CN 1968117A CN 200510101691 CN200510101691 CN 200510101691 CN 200510101691 A CN200510101691 A CN 200510101691A CN 1968117 A CN1968117 A CN 1968117A
- Authority
- CN
- China
- Prior art keywords
- group
- client
- management
- lan
- user
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention relates to a method for accessing local user into group communication in instant communication, wherein said method comprises that: 1.1 group manager client sends access request data pack to the local network user client, while said pack has user mark and group mark of said manager; 1.2 local network user client based on said pack decides to access or not, when it decides to access into said group, it will send group access protocol command to the group manage server, while the protocol command contains group mark and user mark of local network user; 1.3 group manage server sends access request system message to the group manager client relative to the group mark, and the client based on system message identifies the user, and accesses passed user into group. The invention can improve safety.
Description
Technical field
The invention belongs to the instant messaging field, relate in particular to the method that instant communication users adds group communication.
Background technology
Along with the fast development of computer network, instant messaging (IM, Instant Messenger) system has become the means of communication that the user generally uses, and is used widely not only in amusement and recreation at ordinary times, and in user's work.At user's diversified demand, instant communication software provides group service, promptly the crowd with same feature or same classification is communicated in a Virtual space.As the canonical form of group service development, the online enterprise that instantaneous communication system has been released at medium-sized and small enterprises uses.The effect of online enterprise is to set up the intercourse platform of medium-sized and small enterprises inside, and by this platform, the user can carry out the exchanges and communication in the work, has greatly improved the information-based process of medium-sized and small enterprises.
The user by instantaneous communication system can set up with real enterprise in consistent group's structure, group member for example group member can carry out exchanges and communication easily by instantaneous communication system.Because in the practical work environment, group member is to be in the local area network basically, so instantaneous communication system need be implemented in interchange between the group member in conjunction with local area network (LAN).
At present, when the local network users adds group, by the request message of server to LAN subscriber client initiation adding group, after the message of its adding group of group identification LAN subscriber client-requested, LAN subscriber can be selected to add or refusal by management and group person's client.This mode is that supposition one side has confirmed that the checking based on a side concerns after the other side's the identity, because group identification management and group person has the function of adding the member in batches, particularly the user for local area network (LAN) asks to add in batches, the keeper may send group's message that joins request to the personnel of unreality LAN subscriber, when adding group, these personnel selections, are difficult to guarantee the fail safe of group communication owing to lack effective authentication mechanism.
Summary of the invention
The objective of the invention is to solve the LAN subscriber that exists in the prior art and add in group's process, owing to lack effective authentication mechanism, be difficult to guarantee the problem of the fail safe of group communication.
In order to realize goal of the invention, the invention provides the method for LAN subscriber adding group communication in a kind of instant messaging, described method comprises the steps:
1.1 management and group person's client sends the request data package that adds group communication to the LAN subscriber client, comprises described management and group person's the user ID and the group identification of described management and group person place group in the described request packet;
1.2 the LAN subscriber client selects whether to add described group according to the described request packet, when selecting to add described group, send group to the management and group server and add protocol command, comprise the user ID of described group identification and described LAN subscriber in the described protocol command;
1.3 the management and group server sends the system message that request adds group to management and group person's client of described group identification correspondence, described management and group person's client is according to described system message authenticated user identity, and the LAN subscriber of authentication success is joined described group.
Described step 1.1 further comprises the steps:
2.1 management and group person's client and LAN subscriber client are carried out interactive communication, obtain the LAN subscriber identification list;
2.2 the LAN subscriber client of management and group person's client in described user ID tabulation sends the request data package that adds group communication.
Described step 2.1 further comprises the steps:
3.1 management and group person's client sends broadcast data packet in local area network (LAN), comprise the IP address of management and group person's client in the described broadcast data packet;
3.2 the LAN subscriber client receives described broadcast data packet at the broadcast reception port, resolves the IP address that obtains described management and group person's client;
3.3 the LAN subscriber client utilizes the IP address of described management and group person's client to send response data packet to management and group person's client, comprises the IP address of the user ID and the described LAN subscriber client of described LAN subscriber in the described response data packet;
3.4 management and group person's client is resolved described response data packet, obtains the IP address of the user ID and the described LAN subscriber client of described LAN subscriber, described user ID is added in the described LAN subscriber identification list store.
Described local area network (LAN) client is created described broadcast reception port by following step:
4.1 LAN subscriber client access of instant communicating system obtains the tabulation of local area network (LAN) client ip address;
4.2 the LAN subscriber client compares the IP address that local area network client ip address tabulation and logon server return, and judges whether to be in the local area network (LAN), is execution in step 4.3 then, otherwise finishes;
4.3 the local area network (LAN) client is created the broadcast reception port, receives the broadcast data packet in the local area network (LAN).
Described management and group person's user ID is management and group person's the instant messaging identification code or the communication pet name;
Described group identification is the instant messaging identification code or the group name of group.
The present invention can avoid the non-local network users to add group by two authentication security mechanism, guarantees the safety and the privacy of local area network (LAN) group communication, can make things convenient for management and group person's automatic batch to add group user simultaneously.
Description of drawings
Fig. 1 is suitable for network architecture figure of the present invention;
Fig. 2 is the realization flow figure that LAN subscriber provided by the invention adds group;
Fig. 3 is the realization flow figure that the LAN subscriber client is created the broadcast reception port;
Fig. 4 is the realization flow figure that management and group person's client is obtained the LAN subscriber identification list.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The invention provides a kind of scheme that adds group based on the two authentication mechanisms of local area network (LAN); when the interpolation group user of management and group person's automatic batch; send the notification message that request adds group to the LAN subscriber client; after LAN subscriber is adhereed to; send group's message that joins request to management and group person's client; management and group person checks that request adds the user profile of group; reaffirm whether agree that the user adds group; can avoid the non-local network users to join in the group; thereby effectively guaranteed the fail safe of group communication, and helped protecting the communication privacy of group.
Fig. 1 shows and is suitable for network architecture of the present invention, LAN subscriber client and management and group person's client are by UDP (User Datagram Protocol, user datagram protocol) agreement and logon server and management and group server communication, operation has the instantaneous communication system application software on LAN subscriber client and the management and group person's client.In fact, the LAN subscriber client is identical client with management and group person's client, and difference is that it has different bookkeeping authorities for group.Logon server is the inlet on instantaneous communication system management backstage, is responsible for the distribution of protocol command, and the management and group server is responsible for storing and manage information such as the institutional framework of group and member's tabulation.
LAN subscriber client and management and group person's client can be personal computer (PersonalComputer, abbreviation PC), PDA (Personal Digital Assistant, personal digital assistant) and mobile phone etc., the present invention is that example describes with PC.Typically, the operating system of PC is the Windows system.Logon server and management and group server can be various large, medium and small type servers.
Fig. 2 shows the realization flow that LAN subscriber provided by the invention adds group, and details are as follows:
In step S201, the LAN subscriber client is created the broadcast reception port in this locality, receive the broadcast data packet in the local area network (LAN);
In step S202, management and group person's client and LAN subscriber client are carried out interactive communication, obtain the LAN subscriber identification list;
In step S203, management and group person's client traversal LAN subscriber identification list, utilize the IP address of each LAN subscriber client to generate transmission socket port with the agreement port, management and group person's the user ID and the group identification of management and group person place group are combined as packet, send to each the LAN subscriber client in the LAN subscriber identification list after packet is encrypted.
In step S204, after the instantaneous communication system of LAN subscriber client receives packet, packet is decrypted and dissection process, parse information such as the user ID of management and group person in the packet and group identification, be converted into management and group person and invite LAN subscriber to add the system message of group, LAN subscriber judges whether to add group, if select to add group, execution in step S205 then, otherwise finish;
In step S205, the LAN subscriber client is combined as packet with the user ID of group identification and LAN subscriber, packet is encrypted the back send to the management and group server with the protocol command form that adds group;
In step S206, the management and group server is decrypted and resolves the packet that receives, the group identification that obtains according to parsing, inquiry is to management and group person's that should group identification user ID, user ID according to management and group person is inquired about the IP address that obtains the current login of management and group person's client to logon server, issues the system message that the LAN subscriber request adds group to management and group person's client;
In step S207, management and group person's client receives after LAN subscriber request that the management and group server sends adds the system message of group, reaffirm the identity information of LAN subscriber, judge whether to allow it to add group, and will allow the LAN subscriber of adding group to join group, thereby realized the bi-directional verification that group adds effectively.
Fig. 3 shows the realization flow that the LAN subscriber client is created the broadcast reception port, is that Windows is an example with client operating system:
In step S301, behind the LAN subscriber client success access of instant communicating system, utilize windows socket API (the Application Programming Interface that is correlated with, application programming interfaces) obtain the local ip address of active client, utilize windows socket API conversion IP address to get access to local host device name simultaneously, the client ip address that utilizes local host device name to obtain in the local area network (LAN) is simultaneously tabulated;
In step S302, the LAN subscriber client compares tabulation of the client ip address in the local area network (LAN) and the IP address that logon server returns, judge whether to have identical IP address, if identical then illustrate that this LAN subscriber client place network does not belong to local area network (LAN), flow process finishes; Otherwise represent that this LAN subscriber client is in the local area network (LAN) execution in step S303;
In step S303, the local area network (LAN) client utilizes Windows UDP (User Datagram Protocol, User Datagram Protoco (UDP)) socket api function to create the broadcast reception port of agreement, is used to receive the broadcast data packet in the local area network (LAN).
Fig. 4 shows management and group person's client and the LAN subscriber client is carried out interactive communication, obtains the realization flow of LAN subscriber identification list, and details are as follows:
In step S401, the instantaneous communication system of management and group person's client utilizes the windows messaging parameter to judge the current group member adding operation that whether needs to carry out, be then to send the udp broadcast packet that obtains all user profile in the local area network (LAN), the IP address that comprises management and group person's client in the packet, management and group person's client to the data packet encryption after broadcast transmission go out;
In step S402, the LAN subscriber client is behind successful access of instant communicating system, receive the udp broadcast packet that management and group person's client sends at agreement broadcast reception port, the instantaneous communication system of LAN subscriber client carries out dissection process to the UDP message bag that receives, and obtains the IP address that sends management and group person's client of this packet in the packet;
In step S403, LAN subscriber client protocol format according to a preconcerted arrangement, utilize the IP address of management and group person's client and the port of agreement to generate new transmission UDP socket, send response data packet to management and group person's client, comprise the user ID of this LAN subscriber and the IP address of local subscription client in the response data packet;
In step S404, after management and group person's client receives the response data packet of LAN subscriber client, packet is resolved, obtain the IP address of the user ID and the LAN subscriber client of this LAN subscriber, the user ID in all response data packet that receive is joined in the LAN subscriber identification list store.
In the present invention, management and group person's the user ID or the user ID of LAN subscriber comprise that instant messaging identification number or user's communications claim that group identification comprises the instant messaging identification number or the group name of group.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1, the method for LAN subscriber adding group communication in a kind of instant messaging is characterized in that described method comprises the steps:
1.1 management and group person's client sends the request data package that adds group communication to the LAN subscriber client, comprises described management and group person's the user ID and the group identification of described management and group person place group in the described request packet;
1.2 the LAN subscriber client selects whether to add described group according to the described request packet, when selecting to add described group, send group to the management and group server and add protocol command, comprise the user ID of described group identification and described LAN subscriber in the described protocol command;
1.3 the management and group server sends the system message that request adds group to management and group person's client of described group identification correspondence, described management and group person's client is according to described system message authenticated user identity, and the LAN subscriber of authentication success is joined described group.
2, the method for claim 1 is characterized in that, described step 1.1 further comprises the steps:
2.1 management and group person's client and LAN subscriber client are carried out interactive communication, obtain the LAN subscriber identification list;
2.2 the LAN subscriber client of management and group person's client in described user ID tabulation sends the request data package that adds group communication.
3, method as claimed in claim 2 is characterized in that, described step 2.1 further comprises the steps:
3.1 management and group person's client sends broadcast data packet in local area network (LAN), comprise the IP address of management and group person's client in the described broadcast data packet;
3.2 the LAN subscriber client receives described broadcast data packet at the broadcast reception port, resolves the IP address that obtains described management and group person's client;
3.3 the LAN subscriber client utilizes the IP address of described management and group person's client to send response data packet to management and group person's client, comprises the IP address of the user ID and the described LAN subscriber client of described LAN subscriber in the described response data packet;
3.4 management and group person's client is resolved described response data packet, obtains the IP address of the user ID and the described LAN subscriber client of described LAN subscriber, described user ID is added in the described LAN subscriber identification list store.
4, method as claimed in claim 3 is characterized in that, described local area network (LAN) client is created described broadcast reception port by following step:
4.1 LAN subscriber client access of instant communicating system obtains the tabulation of local area network (LAN) client ip address;
4.2 the LAN subscriber client compares the IP address that local area network client ip address tabulation and logon server return, and judges whether to be in the local area network (LAN), is execution in step 4.3 then, otherwise finishes;
4.3 the local area network (LAN) client is created the broadcast reception port, receives the broadcast data packet in the local area network (LAN).
As the described method of the arbitrary claim of claim 1 to 4, it is characterized in that 5, described management and group person's user ID is management and group person's the instant messaging identification code or the communication pet name;
Described group identification is the instant messaging identification code or the group name of group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2005101016915A CN1968117B (en) | 2005-11-19 | 2005-11-19 | Method for adding LAN subscriber into group communication in instant communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2005101016915A CN1968117B (en) | 2005-11-19 | 2005-11-19 | Method for adding LAN subscriber into group communication in instant communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1968117A true CN1968117A (en) | 2007-05-23 |
CN1968117B CN1968117B (en) | 2010-07-14 |
Family
ID=38076686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2005101016915A Active CN1968117B (en) | 2005-11-19 | 2005-11-19 | Method for adding LAN subscriber into group communication in instant communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1968117B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008151529A1 (en) * | 2007-06-13 | 2008-12-18 | Tencent Technology (Shenzhen) Company Limited | Method and system for transmitting customized instant communication message |
WO2009021413A1 (en) * | 2007-08-15 | 2009-02-19 | Huawei Technologies Co., Ltd. | Method and system for joining a group |
CN102075456A (en) * | 2011-02-25 | 2011-05-25 | 中国科学院计算技术研究所 | Group creating and member adding method in distributed domain management system |
CN101355525B (en) * | 2007-07-26 | 2011-09-21 | 阿里巴巴集团控股有限公司 | Method and system for implementing instant communication based on team |
CN103856389A (en) * | 2012-12-03 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Method for creating instant messaging discussion group, system, clients and server |
CN103888325A (en) * | 2014-03-19 | 2014-06-25 | 宇龙计算机通信科技(深圳)有限公司 | Device and method for achieving automatic grouping through access to local area network |
CN103905287A (en) * | 2012-12-26 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Communication program correlation method based on local area network and device |
CN104168106A (en) * | 2013-05-20 | 2014-11-26 | 鸿富锦精密工业(深圳)有限公司 | Data transmission system, data sending terminal and data receiving terminal |
CN104202173A (en) * | 2014-08-11 | 2014-12-10 | 鸿富锦精密工业(深圳)有限公司 | Terminal device and group joining control method, server and group invitation method |
CN104639341A (en) * | 2013-11-11 | 2015-05-20 | 成都鼎桥通信技术有限公司 | Method for implementing terminal personalized group communication |
CN105007207A (en) * | 2015-08-14 | 2015-10-28 | 北京北信源软件股份有限公司 | Intelligent household robot system based on real-time communication |
CN106506379A (en) * | 2016-09-22 | 2017-03-15 | 福建天泉教育科技有限公司 | A kind of based on the data transmission method of LAN, system and transmitting terminal |
CN110896374A (en) * | 2018-09-12 | 2020-03-20 | 上海掌门科技有限公司 | Method and equipment for generating user information and sending request information |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE19914794A1 (en) * | 1999-03-31 | 2000-10-05 | Siemens Ag | Data transmission method for telecommunication network |
US6947992B1 (en) * | 2000-05-01 | 2005-09-20 | International Business Machines Corporation | Maintaining HTTP session affinity in a cluster environment |
US9124447B2 (en) * | 2002-07-26 | 2015-09-01 | International Business Machines Corporation | Interactive client computer communication |
US20050186970A1 (en) * | 2004-02-20 | 2005-08-25 | Yates Charles R. | Method of PoC instant temporary group chat based on presence and location |
-
2005
- 2005-11-19 CN CN2005101016915A patent/CN1968117B/en active Active
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008151529A1 (en) * | 2007-06-13 | 2008-12-18 | Tencent Technology (Shenzhen) Company Limited | Method and system for transmitting customized instant communication message |
CN101355525B (en) * | 2007-07-26 | 2011-09-21 | 阿里巴巴集团控股有限公司 | Method and system for implementing instant communication based on team |
WO2009021413A1 (en) * | 2007-08-15 | 2009-02-19 | Huawei Technologies Co., Ltd. | Method and system for joining a group |
CN102075456A (en) * | 2011-02-25 | 2011-05-25 | 中国科学院计算技术研究所 | Group creating and member adding method in distributed domain management system |
CN102075456B (en) * | 2011-02-25 | 2013-06-19 | 中国科学院计算技术研究所 | Group creating and member adding method in distributed domain management system |
WO2014086207A1 (en) * | 2012-12-03 | 2014-06-12 | 腾讯科技(深圳)有限公司 | Method, system, client, and server for establishing instant messaging discussion group |
CN103856389B (en) * | 2012-12-03 | 2017-04-12 | 腾讯科技(深圳)有限公司 | Method for creating instant messaging discussion group, system, clients and server |
US10616154B2 (en) | 2012-12-03 | 2020-04-07 | Tencent Technology (Shenzhen) Company Limited | Method, system, storage medium for creating instant messaging discussion group |
CN103856389A (en) * | 2012-12-03 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Method for creating instant messaging discussion group, system, clients and server |
CN103905287A (en) * | 2012-12-26 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Communication program correlation method based on local area network and device |
CN103905287B (en) * | 2012-12-26 | 2018-04-27 | 腾讯科技(深圳)有限公司 | Signal procedure correlating method and device based on local area network |
US9935989B2 (en) | 2012-12-26 | 2018-04-03 | Tencent Technology (Shenzhen) Company Limited | System and apparatus for user communications |
CN104168106A (en) * | 2013-05-20 | 2014-11-26 | 鸿富锦精密工业(深圳)有限公司 | Data transmission system, data sending terminal and data receiving terminal |
CN104639341B (en) * | 2013-11-11 | 2018-02-27 | 成都鼎桥通信技术有限公司 | A kind of implementation method of terminal personalization group communication |
CN104639341A (en) * | 2013-11-11 | 2015-05-20 | 成都鼎桥通信技术有限公司 | Method for implementing terminal personalized group communication |
CN103888325A (en) * | 2014-03-19 | 2014-06-25 | 宇龙计算机通信科技(深圳)有限公司 | Device and method for achieving automatic grouping through access to local area network |
CN104202173A (en) * | 2014-08-11 | 2014-12-10 | 鸿富锦精密工业(深圳)有限公司 | Terminal device and group joining control method, server and group invitation method |
CN105007207A (en) * | 2015-08-14 | 2015-10-28 | 北京北信源软件股份有限公司 | Intelligent household robot system based on real-time communication |
CN106506379A (en) * | 2016-09-22 | 2017-03-15 | 福建天泉教育科技有限公司 | A kind of based on the data transmission method of LAN, system and transmitting terminal |
CN110896374A (en) * | 2018-09-12 | 2020-03-20 | 上海掌门科技有限公司 | Method and equipment for generating user information and sending request information |
Also Published As
Publication number | Publication date |
---|---|
CN1968117B (en) | 2010-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1968117A (en) | Method for adding LAN subscriber into group communication in instant communication | |
CN1124759C (en) | Safe access method of mobile terminal to radio local area network | |
CN1266891C (en) | Method for user cut-in authorization in wireless local net | |
CN100341305C (en) | Protocol 802.1X based multicast control method | |
CN100437550C (en) | Ethernet confirming access method | |
CN1682516A (en) | Method and apparatus for preventing spoofing of network addresses | |
CN1941718A (en) | Method for managing instant-telecommunication group | |
CN101068245A (en) | Shared file issuing and downloading method and file sharing control system | |
CN1937499A (en) | Domainname-based unified identification mark and authentication method | |
WO2003100638A1 (en) | Network resource management system | |
CN1878072A (en) | Communication method and system based on group | |
CN1787513A (en) | System and method for safety remote access | |
CN1445963A (en) | Method for controlling network access in radio environment and its recording medium | |
CN1870551A (en) | Distribution type group communication management system and method for setting group | |
CN1968110A (en) | Method for establishing online enterprise and joining online enterprise quickly | |
CN1747436A (en) | Access method and system for client end of virtual private network | |
CN101667918A (en) | Method and system for realizing cooperative work | |
CN1921682A (en) | Method for enhancing key negotiation in universal identifying framework | |
CN100352220C (en) | Safety access method based on dynamic host configuration arrangment and network gate verification | |
CN101051967A (en) | Communication system and its method for user's device in user's network | |
CN1889427A (en) | Safety star-shape local network computer system | |
CN106533894A (en) | Brand new secure instant messaging system | |
CN100574205C (en) | A kind of method of setting up instant communication network neighbor | |
CN103475491A (en) | Remote maintenance system which is logged in to safely without code and achieving method | |
CN1447256A (en) | Method for realizing peer-to-peer network system architecture |
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 |