CN102368764A - Method for carrying out communication through multiple points of presence, system and client thereof - Google Patents

Method for carrying out communication through multiple points of presence, system and client thereof Download PDF

Info

Publication number
CN102368764A
CN102368764A CN2011102682232A CN201110268223A CN102368764A CN 102368764 A CN102368764 A CN 102368764A CN 2011102682232 A CN2011102682232 A CN 2011102682232A CN 201110268223 A CN201110268223 A CN 201110268223A CN 102368764 A CN102368764 A CN 102368764A
Authority
CN
China
Prior art keywords
client
data
account
sign
multi
Prior art date
Application number
CN2011102682232A
Other languages
Chinese (zh)
Other versions
CN102368764B (en
Inventor
刘红梅
Original Assignee
上海量明科技发展有限公司
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 上海量明科技发展有限公司 filed Critical 上海量明科技发展有限公司
Priority to CN201110268223.2A priority Critical patent/CN102368764B/en
Publication of CN102368764A publication Critical patent/CN102368764A/en
Application granted granted Critical
Publication of CN102368764B publication Critical patent/CN102368764B/en

Links

Abstract

The invention, which belongs to the computer and software technology field, provides a method for carrying out communication through multiple points of presence, a system and a client thereof. The method comprises the following steps: determining whether a same IM account number has the multiple points of presence; if the IM account number has the multiple points of presence, distributing different identification numbers for the clients who login from multiple locations under the same IM account number; setting the clients with the different identification numbers which login under the same account number as a contact person relation. By using the method, the system and the clients of the invention, the contact person relation is set between a plurality of the clients which a user logins on by using the same account number. Therefore, the user can use the same IM account number to perform data information transmission between the different clients. Various requirements of the user can be satisfied.

Description

一种通过多点登录进行通信的方法、系统及客户端 For performing communication via multiple points of a method, system and client

技术领域 FIELD

[0001 ] 本发明属于计算机、软件技术领域。 [0001] The present invention belongs to the computer software art. 背景技术 Background technique

[0002] 随着互联网以及无线通信技术的不断发展,IM工具的应用也更加广泛,目前用户已经不再局限于在PC客户端上使用IM工具,而同样会在手机终端、web、甚至在电视终端上使用IM工具。 [0002] With the continuous development of the Internet and wireless communication technology, application IM tools more widely, the current user is no longer limited to using IM tools on the client PC, while the same will be in mobile terminals, web, or even on TV terminal using the IM tool.

[0003] 目前,IM软件工具的技术人员已经成功研发出了可以在手机中运行的IM客户端、 基于web的IM客户端、以及在电视平台上使用的IM客户端,更好地满足了用户日益增长的多场景多终端的IM需求。 [0003] Currently, IM software tool technicians have successfully developed a IM client that can run in mobile phones, web-based IM client, and IM client for use on the TV platform to better meet the user the growing multi-scenario multi-terminal IM needs.

[0004] 申请号为200910093227. 4的发明专利公开了一种即时通讯的方法和服务器。 [0004] Application No. 200910093227.4 patented invention discloses a method and server for instant messaging. 在该发明专利中,当用户通过IM客户端进行登录时,服务器为所登录的客户端分配一个实例号,用来唯一标识所登录的IM客户端;该专利描述的技术方案使得用户可以使用同一账号进行多点登录,例如可以同时在多个计算机终端登录同一IM账号,也可以同时在手机终端和计算机终端登录同一IM账号。 In this patent disclosure, when a user logs by the IM client, a server instance number assigned to the registered client, the IM client to uniquely identify the registered; technical solution described in this patent that the user can use the same multi-account sign, for example, can log on the same IM accounts simultaneously in multiple computer terminals, you can also log on at the same time the same IM accounts on mobile terminals and computer terminals.

[0005] 目前虽然实现了同一IM账号进行多点登录的技术方案,但是采用同一IM账号登录的不同终端之间却无法进行通信。 [0005] Although the current IM account to achieve the same technical solution for multipoint logged in, but can not communicate using different terminals of the same IM account login. 例如用户同时在A终端和B终端登录同一IM账号,现有技术中用户无法使用同一IM账号将数据从A终端传输至B终端。 For example, users to simultaneously log in the same IM account the terminal A and the terminal B, the prior art can not use the same IM user account data from the A terminal to the B terminal. 因此,为了满足用户的多方面需求,还需要对IM账号多点登录的技术进行更深入的开发。 Therefore, in order to meet the various needs of users, but also for multi-point technology IM account to log more in-depth development.

发明内容 SUMMARY

[0006] 本发明的目的在于,提供一种通过多点登录进行通信的方法,以及对应的系统及客户端,利用本发明,将用户使用同一账号登录的多个客户端之间设置为联系人关系,使得用户能够在不同的客户端之间使用同一IM账号进行数据信息的传输,满足了用户的多方面需求。 [0006] The object of the present invention is to provide a method for communicating by a multi-sign, and corresponding systems and client, with the present invention, disposed between a plurality of users use the same client account to log in to contact relations, so that the user can use the same account between different IM clients to transmit data information to meet the various needs of users.

[0007] 本发明的技术方案包括: [0007] aspect of the present invention comprises:

[0008] 一种通过多点登录进行通信的方法,该方法包括如下步骤: [0008] A method by a multi-sign communication, the method comprising the steps of:

[0009] 步骤1,判断同一IM账号是否存在多点登录,如果是,则为所述同一IM账号下多点登录的客户端分配相互区别的识别号; [0009] Step 1, it is determined whether there are a plurality of the same IM account sign, if it is, the lower was the same IM client account multiple points of distribution terminal identification number discriminated from each other;

[0010] 步骤2,将同一账号下登录的具有不同识别号的客户端之间设置为联系人关系。 [0010] Step 2, disposed between the clients with different identification number is logged in under the same account contact relationship.

[0011] 优选地,所述步骤1的具体过程为: [0011] Preferably, the specific process step is 1:

[0012] 客户端将IM账号登录请求和登录终端信息发送至服务器; [0012] IM client sends the login account login request and terminal information to the server;

[0013] 服务器对IM账号登录请求信息进行验证,验证通过后,查询该账号是否具有其它登录终端信息,若有,则确定为多点登录; [0013] IM server login request information to verify the account, after the verification, the account query whether other login information terminal, if so, it is determined that the multi-point log;

[0014] 服务器为所述IM账号下多点登录的客户端分配相互区别的识别号。 [0014] IM server under the login account of the multi-client assignment identification number discriminated from each other.

[0015] 优选地,所述的为客户端分配相互区别的识别号为数字、字符、字母中的一种或几种的组合。 [0015] Preferably, the client is assigned an identification number discriminated from each other a number, character a letter or a combination of several.

[0016] 优选地,所述登录终端信息包括IP地址、终端类型、登录时间至少其一的信息。 [0016] Preferably, the information comprises login information terminal IP address, terminal type, at least one of login time.

[0017] 优选地,所述IM账号下多点登录的各客户端之间,设置有主登录客户端和从登录客户端,所述主登录客户端具有设置所述从登录客户端的操作权限。 [0017] Preferably, between the IM clients on the multi-account sign, provided with a main login login from the client and the client, the client having the master log provided the operation authority from the registration of the client.

[0018] 优选地,一种通过多点登录进行通信的方法还包括: [0018] Preferably, one communicating through multiple points of the method further comprises:

[0019] 获取所述同一IM账号下多点登录的各客户端识别号信息; [0019] Each client acquires identification number information at the same IM account multiple sign;

[0020] 在所述多点登录的即时通信客户端的联系人列表中,将多点登录的所有客户端设置为一个群或者组。 [0020] In the instant messaging client of the plurality of end sign contact list, all clients is set to multiple points of a group or groups.

[0021] 优选地,所述同一账号下登录的具有联系人关系的客户端之间进行通信的过程为: Process communication between the [0021] Preferably, the login account of the client having the same relation to contact:

[0022] 发送方客户端获取用户选择的接收方客户端识别号和待发送的即时通信消息,封装成数据包发送至服务器; [0022] The sender client acquires the recipient client identification number and instant messaging message to be transmitted is selected by the user, encapsulated data packet to the server;

[0023] 服务器根据账号信息和接收方客户端识别号,将数据包转发至接收方客户端; [0023] The account information server and receiving client identification number, forwards the packet to the receiving client;

[0024] 接收方客户端对数据包进行接收,解析出即时通信消息后,输出显示给用户。 [0024] The receiving client receives the data packet, parses the instant messaging message, the user output display.

[0025] 优选地,所述同一账号下登录的具有联系人关系的客户端之间进行数据传输的过程为: Process for data transmission between the [0025] Preferably, the login account of the client having the same relation to contact:

[0026] 发送方客户端获取用户选择的接收方客户端识别号和数据传输请求信息,封装成数据包发送至服务器; [0026] The sender client obtains user selection of recipient client identification number and the data transmission request information, encapsulated data packet to the server;

[0027] 服务器根据接收方客户端识别号,将发送方客户端的数据传输请求信息发至接收方客户端; [0027] The receiving client server identification number, the sender transmits the data request from the client information is sent to the receiving side client;

[0028] 接收方客户端接收数据传输请求信息,并输出显示给用户; [0028] The receiving client receives the data transmission request information, and outputs to the user;

[0029] 获取接收方对数据传输请求的操作命令,如果接收方同意接收数据信息,则建立数据传输通道进行数据信息的传输;如果接收方拒绝接收数据信息,则结束进程。 [0029] The recipient acquires the operation command data transmission request, if the recipient agrees to receive the data information, establishing a data transmission path for data transmission information; If the recipient receives the reject data, the process is ended.

[0030] 优选地,所述同一账号下登录的具有不同识别号的客户端之间进行通信的过程还可采用如下步骤: Between [0030] Preferably, the login account of the client having the same identification number of different processes may be employed to communicate the steps of:

[0031] 发送方客户端获取用户针对接收方客户端数据接收权限的设置信息; [0031] The sender client acquires the user setting information for the receiving client data receiving permission;

[0032] 发送方客户端将用户设置的数据接收权限和数据信息发送至接收方客户端; Data receiving permission [0032] sending client data and user setting information to the receiving client;

[0033] 接收方客户端获取所述数据接收权限,并根据该数据接收权限,对发送方客户端所发送的数据信息进行处理。 [0033] The recipient client acquiring said data receiving permission, permission and according to the data received, the sender of the data sent by the client for processing.

[0034] 在所述的数据接收权限中设置“直接接收”模式; [0034] Set "direct reception" mode in the data receiving permission;

[0035] 在该模式下采集获得同一IM账号下其它客户端所发送的数据; [0035] In the acquisition mode, other data obtained under the same IM client account transmitted;

[0036] 通过“直接接收”模式,将前述数据直接存储于所在的客户端。 [0036] By "direct reception" mode, the data is directly stored in the client is located.

[0037] 本发明还提供一种通过多点登录进行通信的系统,该系统包括: [0037] The present invention further provides a system for communicating by a multi-sign, the system comprising:

[0038] 判断单元,用于判断同一IM账号是否存在多点登录; [0038] determination means for determining whether there is the same IM multipoint login account;

[0039] 识别号分配单元,与所述判断单元相连,用于为同一IM账号下多点登录的客户端分配相互区别的识别号; [0039] The identification number assigning unit, coupled to said judging means, the same identification number for the account multiple IM client assignment sign discriminated from each other;

[0040] 联系人设置单元,与所述识别号分配单元相连,用于将同一账号下登录的具有不同识别号的客户端之间设置为联系人关系。 [0040] Contacts setting unit, the identification number assigning unit is connected to the contact for setting the relationship between the client identification number of different log under the same account.

[0041] 优选地,联系人设置单元具体包括:[0042] 联系人对象设置模块,用于在所述多点登录的即时通信客户端的联系人列表中, 将多点登录的其它客户端设置为联系人对象。 [0041] Preferably, the contact unit provided comprises: [0042] The contact object setting means for the instant messaging client contact list of the multi-login, the other multi-client to sign contact objects.

[0043] 优选地,联系人设置单元还可以包括: [0043] Preferably, the contact setting unit may further comprise:

[0044] 群组设置模块,用于在所述多点登录的即时通信客户端的联系人列表中,将多点登录的所有客户端设置为一个群或者组。 [0044] The group setting module for the instant messaging client of multiple points of contact list ends, the multiple points of all clients is set to a cluster or group.

[0045] 本发明还提供一种通过多点登录进行通信的客户端,包括发送方客户端和接收方客户端,其中发送方客户端包括: [0045] The present invention further provides a client communications by a multi-sign, comprising a sending client and the receiving client, wherein the transmitting side client comprises:

[0046] 权限设置单元,用于获取用户针对接收方客户端数据接收权限的设置信息; [0046] The permission setting unit, configured to obtain user setting information for the receiving client data receiving permission;

[0047] 数据发送单元,与所述权限设置单元相连,用于将用户设置的数据接收权限和数据信息发送至接收方客户端; [0047] The data transmission unit is connected to the permission setting unit, for transmitting data received permission information set by the user and data to the receiving client;

[0048] 接收方客户端包括: [0048] The recipient client comprising:

[0049] 数据接收单元,用于接收来自于发送方客户端的数据接收权限和数据信息; [0049] The data receiving unit for receiving data from the data receiving permission message sender and the client;

[0050] 权限获取单元,与所述数据接收单元相连,用于获取所设置的数据接收权限; [0050] right obtaining unit, connected to the data receiving unit, configured to obtain the data receiving permission set;

[0051] 数据处理单元,与所述权限获取单元相连,用于根据获取的数据接收权限,对发送方客户端所发送的数据信息进行处理。 [0051] The data processing unit is connected to the right obtaining means for obtaining permission of the data received, the sending of data information sent by the client for processing.

[0052] 与现有技术相比,本发明具有的优点是:通过为同一IM账号下多点登录的客户端分配相互区别的识别号,并将这些多点登录的客户端之间设置为联系人关系,使得多点登录的其中任一个IM客户端的联系人列表中,显示有其它登录的客户端信息,并以联系人对象的形式显示。 [0052] Compared with the prior art, the present invention has the advantage that: each identification number assigned by the client is a difference at the same IM account multiple sign, and sets the connection between these multiple client sign relations, which allows multiple points of contact list either an IM client, a display other client login information, and displayed in the form of contact objects. 这样用户就可以通过一个IM账号在多个登录的客户端之间进行数据传输, 例如同时在手机终端和计算机终端登录IM账号,就可以通过IM账号方便的将数据从计算机传输至手机终端,或者从手机终端传输至计算机。 Data transmission between the client so that users can log in via a plurality of IM account, for example, while IM login account in the mobile terminal and computer terminal, it can easily be IM account data from a computer to a mobile phone terminal, or from your phone to a computer terminal.

附图说明 BRIEF DESCRIPTION

[0053] 图1为本发明第一实施例提供的一种通过多点登录进行通信的方法流程图; [0053] FIG 1. A method of communication provided by the login multipoint present invention, a flow chart of the first embodiment;

[0054] 图1-1为本发明第一实施例中同一账号下登录的具有不同识别号的客户端之间设置为联系人关系的示意图; [0054] Figure 1-1 is a schematic view of the contact relation between a client provided with different identification numbers according to the same account number registered in the first embodiment of the present invention;

[0055] 图2为本发明第二实施例提供的服务器为同一IM账号下多点登录的客户端分配相互区别的识别号的方法流程图; [0055] FIG. 2 is a second embodiment of the method provided in the server IM account multiple points of the same client identification number assigned to each difference flowchart invention;

[0056] 图3为本发明第三实施例提供的一种通过多点登录进行通信的方法流程图; [0056] FIG. 3 one kind provided by the multi-sign method of communicating a flow chart of a third embodiment of the present invention;

[0057] 图3-1为本发明第三实施例中将具有联系人关系的客户端设置为组的示意图; [0057] FIG. 3-1 of the present embodiment has a client will contact relationship to a third embodiment of the invention, a schematic view of the group;

[0058] 图4为本发明第四实施例提供的同一账号下登录的具有联系人关系的客户端之间进行通信的方法流程图; [0058] FIG. 4 is a method for communication between a client having a contact relationship under the same login account is a flowchart of a fourth embodiment of the present embodiment of the invention;

[0059] 图5为本发明第五实施例提供的同一账号下登录的具有联系人关系的客户端之间进行数据传输的方法流程图; [0059] FIG. 5 is a method for data transmission between the client relationship with contacts at the same login account is a flowchart of a fifth embodiment of the present embodiment of the invention;

[0060] 图6为本发明第六实施例提供的同一账号下登录的具有联系人关系的客户端之间进行通信的方法流程图; [0060] FIG. 6 is flowchart of a method for communication between a client has logged contact relationship under the same account number provided in a sixth embodiment of the present invention;

[0061] 图6-1为本发明第六实施例中所述发送方开启的针对接收方客户端的即时通信交互界面的示意图; [0061] FIG. 6-1 Begin a schematic diagram of the transmission for the recipient IM client interface to a sixth embodiment of the present invention;

[0062] 图7为本发明第七实施例提供的一种通过多点登录进行通信的系统示意图;[0063] 图8为本发明第八实施例提供的一种通过多点登录进行通信的客户端示意图。 [0062] Figure 7 provides a schematic view of one kind of system for communicating through multiple points of a seventh embodiment of the present invention; customer an eighth embodiment provided by one kind communicate using multiple points of [0063] FIG. 8 of the present invention end Fig. 具体实施方式 Detailed ways

[0064] 下面结合附图和具体实施方式对本发明的实施方案作进一步详细的说明。 [0064] Hereinafter, embodiments of the present invention will be described in further detail in conjunction with accompanying drawings and specific embodiments.

[0065] 参见图1,为本发明第一实施例提供的一种通过多点登录进行通信的方法流程图, 具体步骤如下所述。 [0065] Referring to Figure 1 A according to a first embodiment by a multi-sign method of communicating a flow chart of the present invention, the following steps.

[0066] Sll, IM服务器判断同一IM账号是否存在多点登录,如果是,则为所述同一IM账号下多点登录的客户端分配相互区别的识别号; [0066] Sll, IM server determines whether there is the same IM multipoint login account, if it is lower compared with the same multi-login account IM clients assigned identification number discriminated from each other;

[0067] 本实施例所述的多点登录,是指同一时刻在多个终端设备上登录同一个IM账号, 例如同时在手机终端和计算机终端登录同一IM账号,或者同时在两个以上的计算机终端登录同一IM账号。 Multiple points of [0067] embodiment of the present embodiment, referring to the same time a logged IM account on the same plurality of terminal devices, for example, while the same IM login account in the mobile terminal and the computer terminal, or simultaneously in two or more computer IM terminal logs onto the same account.

[0068] 需要说明的是,在本发明实施例中所描述的IM账号多点登录的方式,除了包括使用IM软件工具进行登录,还包括使用IM网页浏览器进行登录。 [0068] Incidentally, in the embodiment described embodiment of the present invention, the multi-IM account logged on, in addition to including the use of software tools log IM, IM further comprising using a web browser to log in.

[0069] 其中,IM服务器为客户端分配相互区别的识别号为数字、字符、字母等一种或几种的组合,通过所分配的识别号能够唯一确定IM账号登录的终端设备。 [0069] wherein, IM server assigned to the client identification number discriminated from each other as a combination of one or more numbers, characters, letters, etc., can be determined uniquely IM account login identification number of the terminal devices assigned. 举例说明,例如IM账号为235683的用户同时在两台计算机终端和一部手机终端上登录该IM账号,则服务器可以为所登录的两台计算机终端分别分配235683-PC-1和235683-PC-2的识别号,为所登录的手机终端分配235683-MP-1的识别号,并将所分配的识别号保存在IM账号235683对应的数据列表中。 Illustrate, e.g. IM account to 235,683 users simultaneously logged on to the IM account both a computer terminal and the mobile terminal, the server may assign 235683-PC-1 and 235683-PC- terminal two computers are logged identification number 2, 235683-MP-1 assigned identification number for the registered mobile terminals, and stores the identification number assigned in the data list corresponding to the IM account 235,683.

[0070] S12,将同一账号下登录的具有不同识别号的客户端之间设置为联系人关系。 [0070] S12, will be set between clients with different identification numbers under the same account login as a contact relationship.

[0071] 客户端向服务器获取使用该账号登录的其它客户端所对应的识别号,并将其它客户端所对应的识别号信息装载至本客户端的联系人列表中。 [0071] The client obtains from the server using the login account other client corresponding identification number, and loads other client identification number information corresponding to the present client's contact list.

[0072] 下面通过举例对本实施例进行说明,参见图1-1,展示了用户Joy分别在客户端1 和客户端2中登录IM账号235683,服务器为登录客户端分配的识别号分别为235683-PC-1 和235683-PC-2。 [0072] Next, by way of example illustrate embodiments of the present embodiment, referring to Figure 1-1, showing the IM user login account 235683 Joy respectively in the client 1 and client 2, the server login ID are assigned to the client 235683- PC-1 and 235683-PC-2. 在客户端1的联系人列表100中,客户端2以联系人对象101的形式显示在该列表中,对应着客户端2的识别号信息。 In the client 1 contacts list 100, the client 2 displayed in the form of contact object 101 in the list, identification number information corresponding to the client 2. 用户在客户端1中通过触发联系人对象101 的触发区域,即可打开针对客户端2的即时通信交互界面,并通过该交互界面与客户端2进行数据传输。 A user on the client area of ​​the trigger by the trigger of the contact object 101, to the client terminal 2 is opened for instant messaging interface, and data transmission through the interface with the client 2. 同样,在客户端2的联系人列表200中,客户端1以联系人201的形式显示在该列表中。 Also, the client terminal 2 contacts list 200, the client 1 in the list displayed in the form of the contact 201.

[0073] 本发明实施例为同一IM账号多点登录的客户端分配相互区别的识别号,并将这些具有不同识别号的客户端之间设置为联系人关系。 [0073] IM account multiple points of the same client identification number assigned to each embodiment of the present invention, the difference is, and set the contact relationship between the clients having different identification numbers. 这样能够使得用户利用同一账号进行多点登录后,在登录的多个客户端之间方便的进行数据传输,满足用户多方面的使用需求。 This can enable a user account using the same multi-point log after the log between a plurality of client convenient for data transmission, to meet the needs of various users.

[0074] 参见图2,为本发明第二实施例提供的服务器为同一IM账号下多点登录的客户端分配相互区别的识别号的方法流程图,具体步骤如下所述。 [0074] Referring to Figure 2, the server of the second embodiment provides the same multi-login account IM client identification number assigned to each other as the difference between the flowchart of a method of the present invention, the following steps.

[0075] S21,客户端将用户的登录请求信息和所在终端信息发送至服务器; [0075] S21, the client requests the login information and the user terminal location information to the server;

[0076] 本实施例中用户的登录请求信息包括有用户输入的登录账号和对应的密码信息。 [0076] In the present embodiment the user login request information includes a user input embodiment of the login account and the corresponding password information.

[0077] 所述的所在终端信息包括有终端类型、IP地址、登录时间以及客户端版本等信息。 Location information of said terminal [0077] includes a terminal type, IP address, login time and client version information. 其中,终端类型可以为手机、计算机、电视机、web浏览器等多种类型的终端形式。 The terminal type for mobile phones, terminal form of various types of computers, televisions, web browser and so on.

[0078] 客户端按照与服务器预先约定的登录协议,将用户的登录请求信息和所在终端信息编码到数据包的相应字段中,然后将封装的数据包发送至服务器。 [0078] The client and the server according to the login protocol previously agreed, the user's login request information and the terminal location information is encoded into the appropriate field of the data packet, and then transmits the encapsulated packet to the server. 另外,客户端还可以按照与服务器预先约定的密钥对用户的登录请求信息和所在终端信息进行加密操作,然后再封装至数据包进行发送。 Further, the client can login request to the server according to a pre-agreed key and location information of the user terminal operation information is encrypted and then encapsulated data packet to be transmitted.

[0079] S22,服务器对用户的登录请求信息进行验证; [0079] S22, the server requests the user login authentication information;

[0080] 如果验证通过,则执行步骤S23 ; [0080] If verified, the step S23;

[0081] 如果验证不通过,则执行步骤S26。 [0081] If the authentication fails, proceed to step S26.

[0082] 具体的验证方法为:服务器对接收到的数据包进行解密解析后,获取其中的登录账号和密码信息,首先判断其中的登录账号是否为有效账号,如果不是有效账号,则验证不通过;如果是有效账号,再将该账号和密码信息与服务器中预先存储的账号和密码进行比较,如果一致,则验证通过;如果不一致,则验证不通过。 [0082] The specific authentication method is: the server received the packet is decrypted parsed for login account and password information therein, which first determines whether the login account is a valid account, if the account is not valid, then the authentication fails ; If the account is valid, then the account and password information previously stored in the server account number and password are compared, if yes, verified; if not, the authentication fails.

[0083] S23,向登录服务器查询前述登录账号是否具有其它的登录终端信息; [0083] S23, the registration server queries whether the login account login other terminal information;

[0084] 如果有确定为多点登录,执行步骤S24 ; [0084] If there is a multi-login is determined, step S24,;

[0085] 如果没有,则执行步骤S25 ; [0085] If not, step S25;

[0086] 例如,用户发送的登录请求中的登录账号为235683,如果在请求登录该账号之前, 用户已经在其它计算机或手机等终端上登录过该账号,且仍然处于在线状态;那么向登录服务器查询时,登录服务器中会记录有该账号的在线状态,并记录有所登录的终端信息。 [0086] For example, a login request sent by the user's login account to 235,683, if before the request log in to the account, the user has logged in to the account on and other computer or mobile phone terminals, and still are online; then the registration server At query time, the login server will be recorded in the online account and login information terminal has been recorded. 当本次请求登录的终端信息和登录服务器中所记录的终端信息不同时,则确定为多点登录。 When the terminal information and the terminal information registration server log this request is not recorded in the same time, it is determined as a multi-sign.

[0087] 如果在请求登录该账号之前,用户没有在其它终端设备上登录过该账号,则登录服务器中不会有该账号对应的在线状态记录。 [0087] If, before the account login request, the user is not logged in to the account on the other terminal device, the log will not have the online record corresponding to the account server.

[0088] S24,服务器为该用户多点登录的客户端分配相互区别的识别号; [0088] S24, the multi-user login server for the client assigned identification number discriminated from each other;

[0089] 例如,用户使用登录账号235683首先在手机终端上进行登录,然后又同时在计算机终端上进行登录,服务器从登录服务器查询到该账号235683为多点登录时,即为所登录的两个终端设备分配相互区别的识别号。 When [0089] For example, a user login account 235 683 First log in on the handset, and then log on simultaneously on a computer terminal, a server query from the server to the account to log more than 235,683 for the sign, that is, the registered two terminal device assigned identification number discriminated from each other. 例如,服务器分配的识别号分别为235687-MP和235687-PCo For example, the server assigns identification numbers are 235687-MP and 235687-PCo

[0090] 服务器为多点登录的客户端分配识别号时,可以根据所登录的终端设备的类型以及区别码来确定识别号,例如手机终端类型采用MP标识,计算机终端类型采用PC标识,电视终端类型采用TV标识;如果所登录的终端设备中,同一终端类型有两个或两个以上的, 可以在终端类型后面,再加上字母或数字进行区分,例如登录账号235683所登录的终端设备为两个计算机终端,则服务器可以为其分配的识别号为235687-PC-1和235687-PC-2。 When the client is assigned an identification number [0090] Server is a multi-sign may be determined according to the type of the terminal device are logged and the difference code identification number, for example, the mobile terminal type using MP identifier, computer terminal type using PC identifier, the television terminal using TV type identifier; if the terminal device is logged in, the same terminal has two or more types may be behind terminal type, coupled to distinguish letters or numbers, such as a login account 235,683 terminal device is log two computer terminal, the server may be assigned as its identification number 235687-PC-1 and 235687-PC-2.

[0091] S25,本次登录成功,登录服务器记录该IM帐号的在线状态以及登录该账号所对应的终端信息; [0091] S25, the state of the online successful login, the login server of the IM account record and terminal information corresponding to the account login;

[0092] 例如,用户使用登录账号235687请求登录计算机终端后,服务器未查询到该账号为多点登录时,向客户端返回登录成功的信息。 [0092] For example, after the user requests a login login account 235687 computer terminal, to query the server does not account for the multi-sign, the information returned to the client a successful login. 另外,登录服务器对该账号的登录状态进行更新,记录为在线状态,并记录下所登录的终端信息(例如终端类型、IP地址、登录时间 Further, the login server the login account status update, online status is recorded, and record the termination information logged (e.g., terminal type, IP address, login time

寸JO JO-inch

[0093] S26,服务器向客户端返回登录失败的信息。 [0093] S26, the server returned to the client information logon failure.

[0094] 客户端接收到登录失败的信息,以提示框的形式向用户提醒登录失败的信息。 [0094] The client receives information logon failure, in the form of boxes to remind the user login failed.

[0095] 本实施例根据用户的登录账号以及所登录的终端信息(例如终端类型、IP地址、 登录时间等)为每一个登录客户端分配一个识别号,这样用户通过同一账号进行多点登录时,对于每个登录的客户端都有一个唯一的识别号。 When [0095] The present embodiment according to the user's login account and the terminal information logged (e.g., terminal type, IP address, login time, etc.) for each login client is assigned an identification number, so that the user multi-point log in the same account for each client log has a unique identification number.

[0096] 参见图3,为本发明第三实施例提供的一种通过多点登录进行通信的方法流程图, 具体步骤如下所述。 [0096] Referring to Figure 3 A third embodiment provides a flowchart of a method for communicating via multiple points of the present invention, the following steps.

[0097] S31,判断同一IM账号是否存在多点登录,如果是,则为所述同一IM账号下多点登录的客户端分配相互区别的识别号; [0097] S31, it determines whether or not there are a plurality of the same IM account sign, if it is, the lower was the same IM client account multiple points of distribution terminal identification number discriminated from each other;

[0098] 本步骤的具体实施过程和实施例1中的步骤Sll是相同的,此处不再赘述。 [0098] In particular embodiments of the process steps of the present embodiment and the step Sll is the same as Example 1, will not be repeated here.

[0099] S32,将同一账号下登录的具有不同识别号的客户端之间设置为联系人关系; [0099] S32, the client is provided between the different identification number is logged in under the same account contact relationship;

[0100] 本步骤的具体实施过程和实施例1中的步骤S12是相同的,此处不再赘述。 [0100] In particular embodiments of the process steps of the present embodiment in step S12 in Example 1 is the same, is not repeated here.

[0101] S33,在所述同一账号下登录的即时通信客户端的联系人列表中,将具有联系人关系的所有客户端设置为一个群或者组。 [0101] S33, the instant communication client registered in the account at the same end of the contact list, the contact relationships with all clients is set to a cluster or group.

[0102] 当用户使用同一账号登录的客户端为两个以上时,在每个客户端的即时通信联系人列表中,都会显示所有其它客户端信息,当所显示的其它客户端较多时,可能会影响用户查找其他联系人。 [0102] When users log on using the same account of the client is more than two, in each instant messaging contact list client, the client will show all of the other information, when there are many other clients displayed may affect users find other contacts. 因此,在本实施例中将具有联系人关系的所有客户端设置为一个群或者组,可以通过用户的操作命令进行设置,也可由系统自动设置。 Accordingly, all clients in the embodiments in the present embodiment has a relation to a contact group or groups, can be set by a user's operation command, the system can also be automatically set.

[0103] 作为举例而非限定,下面通过某个用户进行多点登录的例子来具体说明,将具有联系人关系的所有客户端设置为一个群或者组的过程。 [0103] Examples of example and not limitation, the following multi-point to log in a user specified, all clients having contact relationship to a group or cluster of processes. 用户Joy使用登录账号235683同时登录了两个计算机终端、一个手机终端、一个电视终端,服务器为各登录终端分配的识别号分别为235683-PC-l、2;35683-PC-2、2;35683-MP-l、2;35683-TV-l。 Joy 235,683 users simultaneously logged using the login account two computer terminals, terminal identification number of a mobile phone, a television terminal, a server assigned to the respective terminals are logged 235683-PC-l, 2; 35683-PC-2,2; 35683 -MP-l, 2; 35683-TV-l. 如图3_1 所示,在其中一个计算机终端上所登录的即时通信客户端1的联系人列表中,将具有联系人关系的所有客户端设置为一个组,该组的名称为“多点登录客户端” 310,在其对应的位置设置有列表控件320,当触发列表控件320时,会展开列表信息,具体包括有235683-PC-l、235683-PC-2、 235683-MP-l、235683-TV-l,用户通过触发除235683-PC-1外的任何一个客户端信息,均可打开对应的即时通信交互界面,并进行数据的传输操作。 All client, the IM client on a computer in which the registered terminal end in FIG. 1 3_1 contact list, the contact having a relationship to the group, the group name is "multi customer login end "310, disposed at a position corresponding to a list of its controls 320, 320 when the trigger list control, expands the list information, specifically including 235683-PC-l, 235683-PC-2, 235683-MP-l, 235683- TV-l, a user trigger any client information other outer 235683-PC-1, may open a corresponding instant messaging interface, and data transfer operations. 对于其它登录的终端如手机终端或电视终端上,具有联系人关系的客户端所显示的方式和上述方式是相同的。 For other terminal logged on, such as mobile terminals or television terminals, the contact relationship with the way the client and displayed in the same manner as described above.

[0104] 本实施例通过为同一IM账号多点登录的客户端分配相互区别的识别号,将这些具有不同识别号的客户端之间设置为联系人关系,并将这些具有联系人关系的所有客户端设置为一个群或者组,这样能够使其在联系人列表中更加清晰,方便用户的查找。 [0104] In this embodiment, the same multi-login account IM clients assigned identification number discriminated from each other, is set to contact relationships between clients with different identification numbers, and all of these contacts have a relationship client to a group or groups, this can make it more clear in the contact list, a user-friendly look.

[0105] 参见图4,为本发明第四实施例提供的同一账号下登录的具有联系人关系的客户端之间进行通信的方法流程图,具体步骤如下所述。 [0105] Referring to Figure 4, a method for communication between a client having a contact relationship under the same login account is a flowchart of a fourth embodiment of the present embodiment of the invention, the following steps.

[0106] S41,发送方客户端将自身的识别号、接收方客户端识别号、以及待发送的即时通信消息,封装成数据包发送至服务器; [0106] S41, the client itself sender identification number, recipient identification number of the client, and instant messaging message to be transmitted, encapsulated packets to the server;

[0107] 例如,用户Joy使用登录账号235683同时登录了两个计算机终端,服务器为两个登录终端分配的识别号分别为235683-PC-1和235683-PC-2,当用户需要将消息从客户端1 发送至客户端2时,则发送方客户端获取自身的识别号235683-PC-1、和接收方客户端的识别号235683-PC-2、以及待发送的即时通信消息,按照协议格式组合到数据包中,对数据包进行加密处理后,发送至服务器。 [0107] For example, a user using the login account 235683 Joy simultaneously logged two computer terminals, two login server identification number assigned to the terminal, respectively, and 235683-PC-1 235683-PC-2, when the user needs the message from the client 2 terminal 1 transmits to the client, the sender client acquires identification number 235683-PC-1, and a recipient client's own identification number 235683-PC-2, and the instant messaging message to be transmitted according to the combination protocol format after the data packet, the data packet is encrypted, transmitted to the server.

[0108] S42,服务器根据接收方客户端识别号,将数据包转发至接收方客户端; [0108] S42, the recipient server according to the client identification number, forwards the packet to the receiving client;

[0109] 服务器接收数据包,对其进行解密解析处理后,从中提取出接收方客户端识别号(例如,前述中的235683-PCD,服务器根据该识别号,通过查询登录服务器,获取接收方客户端对应的动态IP地址以及Port端口;服务器根据获取到的动态IP地址以及Port端口生成发送数据信息的套接字端口,按照协议格式组合到数据包中,将数据包发送至接收方客户端。 [0109] Server receives the packet, decrypts them after analysis processing to extract the recipient client identification number (e.g., 235683-PCD of the foregoing, a server based on the identification number, by querying the registration server, the client acquires the recipient end of the corresponding dynamic IP address and port port; server according to the acquired dynamic IP address and socket port port port generates transmission data information, a data format of a combination according to the protocol packet, sends the packet to the recipient client.

[0110] S43,接收方客户端对数据包进行接收,解析出即时通信消息后,输出显示给用户。 [0110] S43, the receiving side client receives the data packet, parses the instant messaging message, the user output display.

[0111] 接收方客户端在约定的套接字端口接收服务器发送的数据包,对数据包进行解密与解析后,获取即时通信消息,利用Windows的相关API函数将即时通信消息装载到内容接收窗口中显示。 [0111] In the recipient client socket port agreed packet sent by a server, the data packet after decryption and analysis, obtain instant messaging message, using the Windows API functions related to the instant messaging message content loaded into the receive window display.

[0112] 本实施例描述了同一账号下登录的各客户端之间进行即时通信的方法,该方法和现有的即时通信联系人之间进行通信的方法相似,不同的是本实施例中需要获取接收方客户端的识别号。 [0112] This example describes a method of performing instant communication between the client logs under the same account, a similar method for communicating between the conventional method and the instant messaging contacts, except that the embodiment of the present embodiment requires acquiring the identification number of the recipient client. 本实施例中具体讲述了通过服务器中转即时通信消息的方法;另外,当发送方客户端和接收方客户端建立连接之后,也可以不通过服务器中转,直接通过P2P方式在发送方客户端和接收方客户端之间进行信息发送和接收。 This embodiment specifically describes a method of transfer IM messages through a server; Further, when the sending client to establish a connection and a recipient client may not transit through the server directly via P2P manner sending client and receiving the information transmitted and received between the client side.

[0113] 参见图5,为本发明第五实施例提供的同一账号下登录的具有联系人关系的客户端之间进行数据传输的方法流程图,具体步骤如下所述。 Method [0113] Referring to Figure 5, the present relationship between the client has logged contacts under the same account number of the fifth embodiment provides a flowchart for data transmission to the invention, the following steps.

[0114] S51,发送方客户端将自身的识别号、接收方客户端识别号、以及数据传输请求信息,封装成数据包发送至服务器; [0114] S51, the client itself sender identification number, recipient identification number of the client, and the data transmission request information, encapsulated data packet to the server;

[0115] 发送方客户端将自身的识别号、接收方客户端识别号、以及数据传输请求信息按照协议格式组合到数据包中,对数据包进行加密处理后,发送至服务器。 [0115] The sender client's own identification number, recipient identification number of the client, and the data transmission request message to the compositions according to the protocol format packets, the packet is encrypted, transmitted to the server.

[0116] S52,服务器根据接收方客户端识别号,将发送方客户端的数据传输请求信息发至接收方客户端; [0116] S52, the recipient server according to the client identification number, the sender transmits the data request from the client information is sent to the receiving side client;

[0117] 服务器接收数据包,对其进行解密解析处理后,从中提取出接收方客户端识别号, 根据该识别号,通过查询登录服务器,获取接收方客户端对应的动态IP地址以及Port端口;服务器根据获取到的动态IP地址以及Port端口生成发送数据信息的套接字端口,按照协议格式组合到数据包中,将数据包发送至接收方客户端。 After [0117] Server receives the packet, decrypts analysis processing to extract the receiving client identification number, based on the identification number, by querying the registration server, the recipient client acquires a dynamic IP address and the corresponding port Port; the server acquires a dynamic IP address to the socket port and the port port generates transmission data information, a data format of a combination according to the protocol packet, sends the packet to the recipient client.

[0118] S53,接收方客户端获取数据传输请求信息,并输出显示给用户; [0118] S53, the recipient client to obtain data transmission request information, and outputs to the user;

[0119] 接收方客户端在约定的套接字端口接收服务器发送的数据包,对数据包进行解密与解析后,获取数据传输请求信息,利用Windows的相关API函数将数据传输请求信息显示给接收方用户。 [0119] In the recipient client socket port agreed packet sent by a server, the data packet after decryption and analysis, obtaining a data transmission request information, using the Windows API functions related to the data transmission request to the receiving information display party user.

[0120] S54,获取接收方对数据传输请求的操作命令,如果接收方同意接收数据信息,则建立数据传输通道进行数据信息的传输;如果接收方拒绝接收数据信息,则结束进程。 [0120] S54, the command acquiring operation data transmission request to the recipient, if the recipient agrees to receive data information, establishing a data transmission path for data transmission information; If the recipient receives the reject data, the process is ended.

[0121 ] 所述数据传输请求信息在显示给接收方时,包含有“接收”和“拒绝”操作入口,当接收方触发“接收”操作入口时即表示同意接收数据,当触发“拒绝”操作入口时则表示拒绝接收数据。 [0121] The data transmission request message to the recipient at the time of display, comprising the "receiving" and "reject" entry operation, when the recipient trigger "receiving" Operator agree to receive data, when the trigger "deny" operation when the received data entry is refused.

[0122] 利用Windows的钩子函数监听“接收”和“拒绝”操作入口,当采集到“接收”操作入口被触发时,则建立发送方和接收方的数据传输通道,进行数据信息的传输;当采集到“拒绝”操作入口被触发时,则结束进程,并向发送方反馈“拒绝接收”的信息。 [0122] using the Windows hook function listening "receive," and "reject" Operator, when the acquired "receiver" Operator is triggered, establishing a sender and a data transmission path receiving side, transmission data information; when collected to "reject" entry operation is triggered, the process ends, and the feedback information "reject" sender.

[0123] 本实施例描述了同一账号下登录的各客户端之间进行数据传输的方法,通过服务器中转建立发送方客户端和接收方客户端之间的连接通道,建立连接之后,即可通过P2P 方式在发送方客户端和接收方客户端之间直接进行数据传输。 After [0123] This example describes a method for transferring data between the client logs under the same account, transfer the established connection path between the sender and the recipient client through the client server to establish a connection, through to P2P mode sender client and direct data transfer between the recipient client. [0124] 参见图6,为本发明第六实施例提供的同一账号下登录的具有联系人关系的客户端之间进行通信的方法流程图,具体步骤如下所述。 [0124] Referring to Figure 6, a flowchart of a method for communication between a client has logged in a contact relationship under the same account number provided in a sixth embodiment of the present invention, the following steps.

[0125] S 61,发送方客户端获取用户针对接收方客户端数据接收权限的设置信息; [0125] S 61, the sender client obtains the user setting information for the receiving client data receiving permission;

[0126] 发送方客户端向接收方传输数据时,需要首先开启针对接收方客户端的即时通信交互界面。 [0126] When the sending client to transfer data to a recipient, the recipient need to enable the client for the IM interface. 如图6-1所示,为用户Joy在识别号为235683-PC-1的发送方客户端,所开启的针对识别号为235683-PC-2的接收方客户端的即时通信交互界面610。 Shown in Figure 6-1, in Joy of user identification numbers 235683-PC-1 sender client, the opening for receiving client identification number 235683-PC-2 IM end interface 610. 在即时通信交互界面610的功能栏中有“传送文件”的操作入口613,在“文件传送”对应的子列表中,设置“接收权限设置”功能按钮。 The "file transfer" entry 613 in operation the instant messaging interface function bar 610, in the sub-list corresponding to the "file transfer", set "receiving permission setting" button. 当用户通过鼠标触发“接收权限设置”功能按钮时,进入“接收权限设置”的窗口界面,在该界面中可以预设对传输的文件进行“直接接收”或者“拒绝接收” 等接收权限类型。 When a user triggers "receiving permission setting" the mouse button, enter the "receiving permission setting" window interface, the interface may be preset in the file transfer is "direct reception" or "reject" and receiving permission type.

[0127] S62,发送方客户端将用户设置的数据接收权限和数据信息发送至接收方客户端; [0127] S62, the data receiving permission sending client data and user setting information to the receiving client;

[0128] 发送方客户端首先与服务器建立连接,从服务器获取到接收方客户端的IP地址和Port端口,然后将用户设置的数据接收权限和数据信息组合到数据包,发送至接收方客户端。 [0128] sender client first establish connection with the server, obtaining from the server to the recipient client's IP address and Port Port, the data receiving permission and data information is then set by the user combined into packets, transmitted to the receiving client.

[0129] 发送方客户端和接收方客户端之间进行信息发送时,可以通过服务器中转,也可直接通过P2P方式进行交互信息。 When information is sent between [0129] the sending client and the receiving client, can transit through the server, the information can also interact directly P2P.

[0130] S63,接收方客户端获取所述数据接收权限,并根据该数据接收权限,对发送方客户端所发送的数据信息进行处理。 [0130] S63, the client obtains the recipient receives the rights data, and receives the rights according to the data, the sender of the data sent by the client for processing.

[0131] 接收方客户端接收数据包,解析后获取其中的数据接收权限,根据接收权限设置对发送方客户端所发送的数据信息进行处理。 [0131] the receiving side client receives the packet, wherein the acquired data receiving permission parsed, setting the data sending client information transmitted according to the received processing authority. 例如,在步骤S61中,发送方预设的接收权限为“直接接收”,则接收方客户端对发送方客户端所发送的数据信息直接接收,并保存在默认或预先设置的存储位置,这样可以免去用户的手动接收操作。 For example, in step S61, the sender receives the rights to the preset "direct reception", the receiver of the data message to the sender client sent by the client directly receives and saved in the default storage location or set in advance, so without having to manually operate the receiving user.

[0132] 本实施例通过在发送方客户端预先设置好所发送数据的接收权限,使得接收方客户端按照所设置的接收权限对来自于发送方的数据进行接收处理,从而不需要用户进行操作。 [0132] In this embodiment, the good setting receiving permission to transmit data at the sender client in advance, so that the recipient client receiving processing of data transmitted from the receiving side in accordance with the permission set, so that no user operates . 由于本实施例的发送客户端和接收方客户端对应的用户为同一用户,因此通过这种接收权限设置后,使用户在一个终端设备上即可把数据传输并保存到另一个终端设备上,满足了用户的多方面需求。 Since the user sending client and the receiving client of the present embodiment corresponding embodiment for the same user, so that by receiving the permission set, so that a user on the terminal device to transmit and save data to another terminal device, to meet the various needs of users.

[0133] 另外,在本实施例中,还可以设置主登录客户端和从登录客户端,通过主登录客户端可以设置从登录客户端的操作权限。 [0133] Further, in the present embodiment may also be provided from the main registration client and the client login, the client may log in by setting the main operating authority from the registration of the client. 例如,设置计算机终端为主登录账号客户端,设置手机终端为从登录账号客户端,当有即时通信消息到达时,即可通过计算机终端来设置手机终端对该即时通信消息的接收处理等操作权限。 For example, a computer terminal is provided based client login account, the login account is provided the mobile terminal client, IM when a message arrives, can be set by the computer terminal is a mobile phone terminal receives the operation permission processing of the instant message communication .

[0134] 参见图7,为本发明第七实施例提供的一种通过多点登录进行通信的系统示意图, 该系统包括: [0134] Referring to Figure 7 A provides a schematic diagram of the system for communicating through multiple points of a seventh embodiment of the present invention, the system comprising:

[0135] 判断单元710,用于判断同一IM账号是否存在多点登录; [0135] determination unit 710, configured to judge whether there is the same IM multipoint login account;

[0136] 识别号分配单元720,与所述判断单元710相连,用于为同一IM账号下多点登录的客户端分配相互区别的识别号; [0136] identification number assigning unit 720, an identification number assigned to each of the difference determination unit 710 is connected, for the same IM account for multiple points of the client;

[0137] 联系人设置单元730,与所述识别号分配单元720相连,用于将同一账号下登录的具有不同识别号的客户端之间设置为联系人关系。 [0137] Contacts setting unit 730, the identification number assigning unit 720 is connected to the contact for setting the relationship between the client identification number of different log under the same account. [0138] 联系人设置单元730具体包括: [0138] Contacts setting unit 730 specifically comprises:

[0139] 联系人对象设置模块731,用于在所述多点登录的即时通信客户端的联系人列表中,将多点登录的其它客户端设置为联系人对象; [0139] Contact object setting module 731, the instant messaging client for the multiple points of contact of the end of the list, the other client is set to the multiple points of contact object;

[0140] 群组设置模块732,用于在所述多点登录的即时通信客户端的联系人列表中,将多点登录的所有客户端设置为一个群或者组。 [0140] a group setting module 732, the instant messaging client for the multiple points of contact of the end of the list, all of the client is set to multiple points of a cluster or group.

[0141] 在本实施例所描述的系统中,当用户使用IM账号登录某个客户端时,判断单元710获取该登录账号,并向登录服务器查询该账号是否具有其它登录终端,如果没有则记录本次登录的终端信息,如果有,则确定为多点登录,并将多点登录的信息发送至识别号分配单元720 ;识别号分配单元720首先获取同一IM账号多点登录的各终端信息,根据终端类型为多点登录的客户端分配相互区别的识别号;联系人设置单元730根据识别号分配单元720为每个客户端分配的识别号,将这些具有不同识别号的客户端之间设置为联系人关系。 [0141] In the system described in this embodiment, when a user logs on to a client, an IM account determination unit 710 acquires the login account, the account login server to query whether other login terminal, if the record is not the the login information terminal, if there is, it is determined as a multi-sign, information and multiple points of the identification number assigned to the transmitting unit 720; identification number assigning unit 720 first acquires the terminal information of each IM account multiple points of the same, and the terminal type is multi-client assignment sign identification number discriminated from each other; contact setting unit 730 according to the identification number assigned unit identification number 720 is assigned to each client, the client is provided between the different identification number for a contact relationship.

[0142] 参见图8,为本发明第八实施例提供的一种通过多点登录进行通信的客户端示意图,该客户端包括发送方客户端810和接收方客户端820。 [0142] Referring to Figure 8, the client provided in one kind communicate using multiple points of the present invention, an end schematic view of an eighth embodiment, the client 810 comprises a sending client and the receiving client 820.

[0143] 发送方客户端810具体包括: [0143] sender client 810 comprises:

[0144] 权限设置单元811,用于获取用户针对接收方客户端数据接收权限的设置信息; [0144] permission setting unit 811, configured to obtain data of the UE received permission setting information for the receiving client;

[0145] 数据发送单元812,与所述权限设置单元811相连,用于将用户设置的数据接收权限和数据信息发送至接收方客户端; [0145] data transmission unit 812, the permission setting unit 811 is connected, for the data set by the user and receives the rights information to the data receiving client;

[0146] 接收方客户端820具体包括: [0146] recipient client 820 comprises:

[0147] 数据接收单元821,用于接收来自于发送客户端的数据接收权限和数据信息; [0147] The data receiving unit 821 for receiving data from the received data transmission permission and the client;

[0148] 权限获取单元822,与所述数据接收单元821相连,用于获取所设置的数据接收权限; [0148] right obtaining unit 822, connected to the data receiving unit 821, configured to obtain the data receiving permission set;

[0149] 数据处理单元823,与所述权限获取单元822相连,用于根据获取的数据接收权限,对发送方客户端所发送的数据信息进行处理。 [0149] The data processing unit 823, and is connected to the rights acquisition unit 822, based on received data for permission acquired, the sender of data sent by the client for processing.

[0150] 本实施例所描述的客户端,其中发送方客户端和接收方客户端为同一IM账号登录的两个终端设备上所对应的即时通信客户端,所对应的发送方和接收方为同一IM账号所对应的用户。 [0150] Client embodiments described in the present embodiment, wherein the sending client and the receiving client account to log in on the same IM two terminal devices corresponding to the instant messaging client, corresponding to the sender and the recipient is a IM account corresponding to the same user. 在发送方客户端810,当用户需要发送数据信息时,可以对接收方客户端进行数据接收的权限进行设置,权限设置单元811获取用户针对接收方客户端数据接收权限的设置信息,并发送至数据发送单元812 ;数据发送单元812将用户设置的数据接收权限和数据信息发送至接收方客户端。 The sender client 810, when the user needs to send data information, may be made to the recipient client rights data received setting permission setting unit 811 acquires the user setting information for the receiving client data receiving permission, and transmits to the a data transmission unit 812; a data transmission unit 812 receives the rights data set by the user and data information to the receiving client. 接收方客户端820中的数据接收单元821接收来自于发送方客户端的数据接收权限和数据信息;权限获取单元822获取所设置的数据接收权限;数据处理单元823根据获取的数据接收权限,对发送方客户端所发送的数据信息进行处理。 Data receiving unit 821 of the recipient client 820 receives from the data receiving permission and data sender client; right obtaining data receiving permission unit 822 acquires the set; data processing unit 823 according to the data receiving permission acquired, the transmission Party data sent by the client for processing.

[0151] 以上是对本发明的描述而非限定,基于本发明思想的其它实施方式,均在本发明的保护范围之中。 [0151] The above is the description of the invention and not limitation, other embodiments based on the embodiment of the inventive concept, it is in the scope of the present invention.

Claims (14)

1. 一种通过多点登录进行通信的方法,其特征在于该方法包括如下步骤:步骤1,判断同一IM账号是否存在多点登录,如果是,则为所述同一IM账号下多点登录的客户端分配相互区别的识别号;步骤2,将同一账号下登录的具有不同识别号的客户端之间设置为联系人关系。 CLAIMS 1. A multi-sign method of communicating, characterized in that the method comprises the following steps: Step 1, it is determined whether there are a plurality of the same IM account sign, if it does, at the same IM account multiple sign the client is assigned an identification number discriminated from each other; step 2, the contact is set to have a different relationship between the client identification number of the same login account.
2.根据权利要求1所述的一种通过多点登录进行通信的方法,其特征在于:所述步骤1 的具体过程为,客户端将IM账号登录请求和登录终端信息发送至服务器;服务器对IM账号登录请求信息进行验证,验证通过后,查询该账号是否具有其它登录终端信息,若有,则确定为多点登录;服务器为所述IM账号下多点登录的客户端分配相互区别的识别号。 2. A method according to claim 1 by a multi-sign method of communicating, comprising: Step 1 of the specific process of the client will send an IM account login login request and terminal information to the server; server IM account login request information to verify, after the verification, the account query whether other login information terminal, if so, it is determined that the multi-point log; IM server under the login account multi-client assignment identified as distinguished from each other number.
3.根据权利要求1或2所述的一种通过多点登录进行通信的方法,其特征在于:所述的为客户端分配相互区别的识别号为数字、字符、字母中的一种或几种的组合。 According to claim 1 or 2 with one or method for communicating by a multi-sign as claimed in claim, wherein: said identification number assigned to each of the difference numbers for the client, characters, letters in one or several kinds of combinations.
4.根据权利要求2所述的一种通过多点登录进行通信的方法,其特征在于:所述登录终端信息包括IP地址、终端类型、登录时间至少其一的信息。 According to claim 2, wherein one of said plurality sign by method of communicating, characterized in that: the terminal information includes login information IP address, terminal type, at least one of login time.
5.根据权利要求1所述的一种通过多点登录进行通信的方法,其特征在于:所述IM账号下多点登录的各客户端之间,设置有主登录客户端和从登录客户端,所述主登录客户端具有设置所述从登录客户端的操作权限。 1, according to one of the method for communicating by a multi-sign as claimed in claim, characterized in that: between the IM clients on the multi-account sign, provided with a main registration client and from client login the main registration client is provided with the operating authority from the registration client.
6.根据权利要求1所述的一种通过多点登录进行通信的方法,其特征在于所述方法还包括:获取所述同一IM账号下多点登录的各客户端识别号信息;在所述多点登录的即时通信客户端的联系人列表中,将多点登录的所有客户端设置为一个群或者组。 1, according to one of the method for communicating by a multi-sign as claimed in claim, wherein said method further comprises: acquiring identification number information of each client IM account under the same plurality of sign; the instant messaging clients and more sign-side contact list, all clients will sign a multi-set to a group or groups.
7.根据权利要求1所述的一种通过多点登录进行通信的方法,其特征在于:所述同一账号下登录的具有联系人关系的客户端之间进行通信的过程为,发送方客户端获取用户选择的接收方客户端识别号和待发送的即时通信消息,封装成数据包发送至服务器;服务器根据账号信息和接收方客户端识别号,将数据包转发至接收方客户端;接收方客户端对数据包进行接收,解析出即时通信消息后,输出显示给用户。 According to one claim 1 7. A method for communicating through multiple points of the preceding claims, characterized in that: a communication process between a client has logged in a contact relationship is the same account, sending client obtaining recipient client identification number and instant messaging message to be transmitted from the user selected, encapsulated data packet to the server; according to the account information and the receiving client identification number, it forwards the packet to the receiving client; recipient the client receives the data packet, parses the instant messaging message, the user output display.
8.根据权利要求1所述的一种通过多点登录进行通信的方法,其特征在于:所述同一账号下登录的具有联系人关系的客户端之间进行数据传输的过程为,发送方客户端获取用户选择的接收方客户端识别号和数据传输请求信息,封装成数据包发送至服务器;服务器根据接收方客户端识别号,将发送方客户端的数据传输请求信息发至接收方客户端;接收方客户端接收数据传输请求信息,并输出显示给用户;获取接收方对数据传输请求的操作命令,如果接收方同意接收数据信息,则建立数据传输通道进行数据信息的传输;如果接收方拒绝接收数据信息,则结束进程。 1, according to one of the method for communicating by a multi-sign as claimed in claim, wherein: the data transfer process between a client has logged in a contact relationship is the same account, the sending user side gets selected by the user of the recipient client identification number and the data transmission request information, encapsulated data packet to the server; the receiving client identification number, transmitting data sender client request information sent to the receiving client; recipient client receives the data transmission request information, and outputs to the user; acquisition operation command the recipient of the data transmission request, if the recipient agrees to receive the data information, establishing a data transmission path for data transmission information; if the recipient rejection receiving data, the end of the process.
9.根据权利要求1所述的一种通过多点登录进行通信的方法,其特征在于:所述同一账号下登录的具有不同识别号的客户端之间进行通信的过程为,发送方客户端获取用户针对接收方客户端数据接收权限的设置信息; 发送方客户端将用户设置的数据接收权限和数据信息发送至接收方客户端; 接收方客户端获取所述数据接收权限,并根据该数据接收权限,对发送方客户端所发送的数据信息进行处理。 1, according to one of the method for communicating by a multi-sign as claimed in claim, wherein: the process of communication between clients having different identification numbers under the login account is the same, sending client acquiring user data receiving permission for the recipient client setting information; data receiving permission sending client data and user setting information to the receiving client; recipient client acquires the rights data received, and based on the data receiving permission, the sender of the data sent by the client for processing.
10.根据权利要求9所述的一种通过多点登录进行通信的方法,其特征在于:在所述的数据接收权限中设置“直接接收”模式;在该模式下采集获得同一IM账号下其它客户端所发送的数据; 通过“直接接收”模式,将前述数据直接存储于所在的客户端。 10. A method according to claim 9, said method of communicating by a multi-sign, wherein: settings "direct reception" mode in the data receiving permission; IM collected under the same account number obtained in the other mode the data sent by the client; the "direct reception" mode, the data is directly stored in the client is located.
11. 一种通过多点登录进行通信的系统,其特征在于该系统包括: 判断单元,用于判断同一IM账号是否存在多点登录;识别号分配单元,与所述判断单元相连,用于为同一IM账号下多点登录的客户端分配相互区别的识别号;联系人设置单元,与所述识别号分配单元相连,用于将同一账号下登录的具有不同识别号的客户端之间设置为联系人关系。 11. A system for communicating by a multi-sign, characterized in that the system comprises: a determination unit configured to determine whether there are a plurality of the same IM account sign; ID dispensing unit coupled with the determining unit is used to under the same account multiple points of IM clients assigned identification number discriminated from each other; provided contact means connected to the identification number assigning unit configured to set different between the client identification number of the account is logged on at the same contact relationship.
12.根据权利要求11所述的一种通过多点登录进行通信的系统,其特征在于:联系人设置单元包括联系人对象设置模块,用于在所述多点登录的即时通信客户端的联系人列表中,将多点登录的其它客户端设置为联系人对象。 12. A method according to claim 11, wherein the system for communicating by a multi-sign, wherein: the contact means comprises a contact object setting setting means for instant messaging client of the plurality of terminal contacts sign list, other client is set to sign a multi-contact objects.
13.根据权利要求11所述的一种通过多点登录进行通信的系统,其特征在于:联系人设置单元包括群组设置模块,用于在所述多点登录的即时通信客户端的联系人列表中,将多点登录的所有客户端设置为一个群或者组。 13. A method according to claim 11, wherein the system for communicating by a multi-sign, wherein: the contact group comprising a setting module setting unit, for the instant messaging client of multiple points of contact list end , all the multi-client is set to sign a group or groups.
14. 一种通过多点登录进行通信的客户端,包括发送方客户端和接收方客户端,其特征在于:发送方客户端包括,权限设置单元,用于获取用户针对接收方客户端数据接收权限的设置信息; 数据发送单元,与所述权限设置单元相连,用于将用户设置的数据接收权限和数据信息发送至接收方客户端; 接收方客户端包括,数据接收单元,用于接收来自于发送方客户端的数据接收权限和数据信息; 权限获取单元,与所述数据接收单元相连,用于获取所设置的数据接收权限; 数据处理单元,与所述权限获取单元相连,用于根据获取的数据接收权限,对发送方客户端所发送的数据信息进行处理。 14. A client communications by a multi-sign, comprising a sending client and the receiving client, wherein: the client comprises a sender, authority setting unit configured to obtain user data for a receiving client terminal receiving permission setting information; data transmission unit, the authority setting unit is connected, for transmitting data and a data receiving permission information set by the user to the receiving client; receiving client includes a data receiving unit for receiving from and the data receiving permission data sender client; right obtaining unit, connected to the data receiving unit, configured to obtain the data receiving permission set; data processing means, coupled with the right obtaining unit, configured to obtain data receiving permission, the sender of data sent by the client for processing.
CN201110268223.2A 2011-09-10 2011-09-10 A kind of method, system and client communicated by multi-point login CN102368764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110268223.2A CN102368764B (en) 2011-09-10 2011-09-10 A kind of method, system and client communicated by multi-point login

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110268223.2A CN102368764B (en) 2011-09-10 2011-09-10 A kind of method, system and client communicated by multi-point login

Publications (2)

Publication Number Publication Date
CN102368764A true CN102368764A (en) 2012-03-07
CN102368764B CN102368764B (en) 2016-08-31

Family

ID=45761314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110268223.2A CN102368764B (en) 2011-09-10 2011-09-10 A kind of method, system and client communicated by multi-point login

Country Status (1)

Country Link
CN (1) CN102368764B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638416A (en) * 2012-03-27 2012-08-15 上海量明科技发展有限公司 Method for checking IM (instant messaging) information when multiple clients are logged in, client and system
CN102868819A (en) * 2012-09-13 2013-01-09 中兴通讯股份有限公司 Method and device for processing communication service of public account
CN103118032A (en) * 2013-03-01 2013-05-22 北京奇艺世纪科技有限公司 Method, terminals and server for synchronization of terminal login accounts
CN103347072A (en) * 2013-06-28 2013-10-09 深圳市掌讯通讯设备有限公司 Remote control system and method of car
WO2014048308A1 (en) * 2012-09-25 2014-04-03 Tencent Technology (Shenzhen) Company Limited Systems and methods for transmitting and receiving data
CN103825865A (en) * 2012-11-19 2014-05-28 镇江金钛软件有限公司 Multi-point login communication method, multi-point login communication device, multi-point login communication system and user terminal
CN103874228A (en) * 2012-12-11 2014-06-18 联想(北京)有限公司 Wireless data channel establishing method, electronic devices, servers and system
WO2014090088A1 (en) * 2012-12-14 2014-06-19 Tencent Technology (Shenzhen) Company Limited Method, server, and system for data sharing in social networking service
CN104468468A (en) * 2013-09-13 2015-03-25 联想(北京)有限公司 A control method, control device and server
CN104753761A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Method, server and system for processing messages
CN105162805A (en) * 2015-09-30 2015-12-16 北京奇虎科技有限公司 User account login method and apparatus
CN105515937A (en) * 2014-09-24 2016-04-20 腾讯科技(深圳)有限公司 Instant communication method, instant communication terminal, instant communication server and instant communication system
CN105550052A (en) * 2015-12-28 2016-05-04 东软集团股份有限公司 Distributed lock realization method and apparatus
CN105978947A (en) * 2016-04-27 2016-09-28 努比亚技术有限公司 Same account number login equipment number control method and mobile terminal
CN106100979A (en) * 2016-07-26 2016-11-09 邦彦技术股份有限公司 Instant communicating method and device
CN106487650A (en) * 2016-09-14 2017-03-08 广东欧珀移动通信有限公司 Message synchronization method and server
CN106534096A (en) * 2016-10-27 2017-03-22 乐视控股(北京)有限公司 Method for master device to share user identity with slave device, master device, and slave device
CN106911727A (en) * 2017-05-03 2017-06-30 广东欧珀移动通信有限公司 Application program log-in control method, device and intelligent terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871809A (en) * 2015-12-14 2016-08-17 乐视致新电子科技(天津)有限公司 Single-account multi-device communication method and device, and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960345A (en) * 2006-09-28 2007-05-09 阿里巴巴公司 Method and system for creating multi-accounting number users in instant communicating system
CN101252548A (en) * 2008-01-28 2008-08-27 北京亿企通信息技术有限公司 Method for multi-point login in instant communicating tools
CN101711387A (en) * 2007-04-04 2010-05-19 香港科技大学 Peer to peer sharing of functionality of mobile devices
CN102025648A (en) * 2009-09-16 2011-04-20 腾讯科技(深圳)有限公司 Instant messaging method and server
US7953803B2 (en) * 2006-02-08 2011-05-31 International Business Machines Corporation Multiple login instant messaging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7953803B2 (en) * 2006-02-08 2011-05-31 International Business Machines Corporation Multiple login instant messaging
CN1960345A (en) * 2006-09-28 2007-05-09 阿里巴巴公司 Method and system for creating multi-accounting number users in instant communicating system
CN101711387A (en) * 2007-04-04 2010-05-19 香港科技大学 Peer to peer sharing of functionality of mobile devices
CN101252548A (en) * 2008-01-28 2008-08-27 北京亿企通信息技术有限公司 Method for multi-point login in instant communicating tools
CN102025648A (en) * 2009-09-16 2011-04-20 腾讯科技(深圳)有限公司 Instant messaging method and server

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638416A (en) * 2012-03-27 2012-08-15 上海量明科技发展有限公司 Method for checking IM (instant messaging) information when multiple clients are logged in, client and system
CN102868819A (en) * 2012-09-13 2013-01-09 中兴通讯股份有限公司 Method and device for processing communication service of public account
WO2013170831A3 (en) * 2012-09-13 2014-01-30 中兴通讯股份有限公司 Method and apparatus for processing communication service under public account
WO2014048308A1 (en) * 2012-09-25 2014-04-03 Tencent Technology (Shenzhen) Company Limited Systems and methods for transmitting and receiving data
CN103825865A (en) * 2012-11-19 2014-05-28 镇江金钛软件有限公司 Multi-point login communication method, multi-point login communication device, multi-point login communication system and user terminal
CN103874228A (en) * 2012-12-11 2014-06-18 联想(北京)有限公司 Wireless data channel establishing method, electronic devices, servers and system
CN103874228B (en) * 2012-12-11 2019-03-29 联想(北京)有限公司 Wireless data channel method for building up, electronic equipment, server and system
WO2014090088A1 (en) * 2012-12-14 2014-06-19 Tencent Technology (Shenzhen) Company Limited Method, server, and system for data sharing in social networking service
CN103118032B (en) * 2013-03-01 2015-09-30 北京奇艺世纪科技有限公司 A terminal login account synchronization method, the terminal server
CN103118032A (en) * 2013-03-01 2013-05-22 北京奇艺世纪科技有限公司 Method, terminals and server for synchronization of terminal login accounts
CN103347072A (en) * 2013-06-28 2013-10-09 深圳市掌讯通讯设备有限公司 Remote control system and method of car
CN103347072B (en) * 2013-06-28 2017-01-25 深圳市掌讯通讯设备有限公司 Remote control system and method of car
CN104468468A (en) * 2013-09-13 2015-03-25 联想(北京)有限公司 A control method, control device and server
CN104753761A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Method, server and system for processing messages
CN105515937A (en) * 2014-09-24 2016-04-20 腾讯科技(深圳)有限公司 Instant communication method, instant communication terminal, instant communication server and instant communication system
CN105162805A (en) * 2015-09-30 2015-12-16 北京奇虎科技有限公司 User account login method and apparatus
CN105550052A (en) * 2015-12-28 2016-05-04 东软集团股份有限公司 Distributed lock realization method and apparatus
CN105978947A (en) * 2016-04-27 2016-09-28 努比亚技术有限公司 Same account number login equipment number control method and mobile terminal
WO2018018688A1 (en) * 2016-07-26 2018-02-01 邦彦技术股份有限公司 Instant messaging method and device
CN106100979A (en) * 2016-07-26 2016-11-09 邦彦技术股份有限公司 Instant communicating method and device
CN106487650A (en) * 2016-09-14 2017-03-08 广东欧珀移动通信有限公司 Message synchronization method and server
CN106534096A (en) * 2016-10-27 2017-03-22 乐视控股(北京)有限公司 Method for master device to share user identity with slave device, master device, and slave device
CN106911727A (en) * 2017-05-03 2017-06-30 广东欧珀移动通信有限公司 Application program log-in control method, device and intelligent terminal
CN106911727B (en) * 2017-05-03 2019-10-15 Oppo广东移动通信有限公司 Application program log-in control method, device and intelligent terminal

Also Published As

Publication number Publication date
CN102368764B (en) 2016-08-31

Similar Documents

Publication Publication Date Title
US7992212B2 (en) Mobile terminal and gateway for remotely controlling data transfer from secure network
CN102025648B (en) Instant messaging method and server
CN102769628B (en) Page login method and server
US20100174791A1 (en) Short distance wireless communication system and method for accessing instant messenger
US7412727B2 (en) Media streaming home network system and method for operating the same
TWI248747B (en) Instrument recognizing system
CN101350717B (en) Method and system for logging on third party server through instant communication software
US20030126213A1 (en) Establishing direct instant messaging communication between wireless devices
US20060143295A1 (en) System, method, mobile station and gateway for communicating with a universal plug and play network
JP2015508273A (en) Shared network access via peer-to-peer link
CN101237426B (en) Friend addition device and method
CN102404725B (en) Method for safely building WiFi connection by SSID in application program
CN101322108B (en) Proxy terminal, server device, proxy terminal communication path setting method, and server device communication path setting method
KR20050005764A (en) Method for implementing secure corporate communication
US8364772B1 (en) System, device and method for dynamically securing instant messages
KR100695242B1 (en) The method for connecting devices in dynamic family networking
TW201312370A (en) A method and system for use with a public cloud network
CN102077546A (en) Remote access between UPnP devices
US20100197293A1 (en) Remote computer access authentication using a mobile device
EP2356791B1 (en) Communication system and method
CN102821085A (en) Third party authorization login method, open platform and system
CN102027764A (en) Method, system, and apparatus for access of network services using subscriber identities
US7055170B1 (en) Security mechanism and architecture for collaborative software systems using tuple space
KR20130020090A (en) Apparatus and method for supporting family cloud in cloud computing system
CN102664871B (en) A method for processing intelligent terminal address book

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
COR Change of bibliographic data
COR Change of bibliographic data
C14 Grant of patent or utility model