CN1968117B - 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
- CN1968117B CN1968117B CN2005101016915A CN200510101691A CN1968117B CN 1968117 B CN1968117 B CN 1968117B CN 2005101016915 A CN2005101016915 A CN 2005101016915A CN 200510101691 A CN200510101691 A CN 200510101691A CN 1968117 B CN1968117 B CN 1968117B
- Authority
- CN
- China
- Prior art keywords
- group
- client
- management
- lan
- lan subscriber
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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.0 management and group person's client and LAN subscriber client are carried out interactive communication, obtain the LAN subscriber identification list;
1.1 management and group person's client traversal LAN subscriber identification list utilizes the IP address of each LAN subscriber client and agreement port to generate transmission socket port; Management and group person's client each LAN subscriber client in described user ID tabulation sends the request data package of the adding group communication after encrypting, and 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 request data package of receiving, 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 the system message authentication LAN subscriber identity of receiving, the LAN subscriber of authentication success is joined described group.
Described step 1.0 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 (4)
1. LAN subscriber adds the method for group communication in the instant messaging, it is characterized in that described method comprises the steps:
1.0 management and group person's client and LAN subscriber client are carried out interactive communication, obtain the LAN subscriber identification list;
1.1 management and group person's client traversal LAN subscriber identification list utilizes the IP address of each LAN subscriber client and agreement port to generate transmission socket port; Management and group person's client each LAN subscriber client in described user ID tabulation sends the request data package of the adding group communication after encrypting, and 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 request data package of receiving, 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 the system message authentication LAN subscriber identity of receiving, the LAN subscriber of authentication success is joined described group.
2. the method for claim 1 is characterized in that, described step 1.0 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.
3. method as claimed in claim 2 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).
4. as the described method of the arbitrary claim of claim 1 to 3, it is characterized in that 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 CN1968117A (en) | 2007-05-23 |
CN1968117B true 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) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075958B (en) * | 2007-06-13 | 2011-11-02 | 腾讯科技(深圳)有限公司 | Instant telecommunication system and method |
CN101355525B (en) * | 2007-07-26 | 2011-09-21 | 阿里巴巴集团控股有限公司 | Method and system for implementing instant communication based on team |
CN101369985A (en) * | 2007-08-15 | 2009-02-18 | 华为技术有限公司 | Method and system for joining into group |
CN102075456B (en) * | 2011-02-25 | 2013-06-19 | 中国科学院计算技术研究所 | Group creating and member adding method in distributed domain management system |
CN103856389B (en) | 2012-12-03 | 2017-04-12 | 腾讯科技(深圳)有限公司 | Method for creating instant messaging discussion group, system, clients and server |
CN103905287B (en) * | 2012-12-26 | 2018-04-27 | 腾讯科技(深圳)有限公司 | Signal procedure correlating method and device based on local area network |
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 |
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 |
CN110896374B (en) * | 2018-09-12 | 2022-09-06 | 上海掌门科技有限公司 | Method and equipment for generating user information and sending request information |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1321935A (en) * | 2000-05-01 | 2001-11-14 | 国际商业机器公司 | Method for controlling communication between customer computer and server group and network server apparatus |
CN1345517A (en) * | 1999-03-31 | 2002-04-17 | 西门子公司 | Method for transmitting data between member s of operator service |
CN1482558A (en) * | 2002-07-26 | 2004-03-17 | �Ҵ���˾ | Method and system for starting bidirectional electronic talk in a cooperating community of users |
WO2005086521A1 (en) * | 2004-02-20 | 2005-09-15 | Sony Ericsson Mobile Communications Ab | METHOD FOR PoC INSTANT TEMPORARY GROUP CHAT BASED ON PRESENCE AND LOCATION |
-
2005
- 2005-11-19 CN CN2005101016915A patent/CN1968117B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1345517A (en) * | 1999-03-31 | 2002-04-17 | 西门子公司 | Method for transmitting data between member s of operator service |
CN1321935A (en) * | 2000-05-01 | 2001-11-14 | 国际商业机器公司 | Method for controlling communication between customer computer and server group and network server apparatus |
CN1482558A (en) * | 2002-07-26 | 2004-03-17 | �Ҵ���˾ | Method and system for starting bidirectional electronic talk in a cooperating community of users |
WO2005086521A1 (en) * | 2004-02-20 | 2005-09-15 | Sony Ericsson Mobile Communications Ab | METHOD FOR PoC INSTANT TEMPORARY GROUP CHAT BASED ON PRESENCE AND LOCATION |
Also Published As
Publication number | Publication date |
---|---|
CN1968117A (en) | 2007-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1968117B (en) | Method for adding LAN subscriber into group communication in instant communication | |
CN105027493B (en) | Safety moving application connection bus | |
US9178915B1 (en) | Cookie preservation when switching devices | |
US10686790B2 (en) | Secure internal data network communication interfaces | |
CN101730987B (en) | Managing network components using USB keys | |
CN101146051B (en) | An enterprise-level instant communication interconnection system and method for realizing enterprise interconnection | |
CN101102188B (en) | A method and system for mobile access to VLAN | |
US20080313527A1 (en) | Region-based controlling method and system for electronic documents | |
CN102195957A (en) | Resource sharing method, device and system | |
CN102724175A (en) | Remote communication security management architecture of ubiquitous green community control network and method for constructing the same | |
CN1805441B (en) | Integrated WLAN authentication architecture and method of implementing structural layers | |
CN1937499A (en) | Domainname-based unified identification mark and authentication method | |
CN101621798A (en) | Session key management for public wireless lan supporitng multiple virtual operators | |
WO2004034645A1 (en) | Identification information protection method in wlan interconnection | |
CN101820344A (en) | AAA server, home network access method and system | |
CN101414907A (en) | Method and system for accessing network based on user identification authorization | |
Narang et al. | An efficient method for security measurement in internet of things | |
CN109088810A (en) | Communication means, device, relevant device, system and the storage medium of group message | |
CN106020997B (en) | A kind of method and system for data transmission between virtual machines | |
CN110276615A (en) | A kind of mobile cut-in method of block chain digital asset and system | |
CN101986598A (en) | Authentication method, server and system | |
CN106533894B (en) | A kind of instant messaging system of completely new safety | |
CN112738200A (en) | Convenient operation and maintenance tool and method based on closed public network system | |
Luo et al. | Formal security evaluation and improvement of wireless hart protocol in industrial wireless network | |
CN100574205C (en) | A kind of method of setting up instant communication network neighbor |
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 |