WO2011038639A1 - 端到端即时通讯的实现方法、端到端即时通讯终端及系统 - Google Patents
端到端即时通讯的实现方法、端到端即时通讯终端及系统 Download PDFInfo
- Publication number
- WO2011038639A1 WO2011038639A1 PCT/CN2010/076959 CN2010076959W WO2011038639A1 WO 2011038639 A1 WO2011038639 A1 WO 2011038639A1 CN 2010076959 W CN2010076959 W CN 2010076959W WO 2011038639 A1 WO2011038639 A1 WO 2011038639A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- instant messaging
- message
- module
- terminal
- instant
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Definitions
- End-to-end instant messaging implementation method end-to-end instant messaging terminal and system
- the present invention relates to the field of communications and the Internet, and in particular, to an end-to-end instant messaging implementation method, an end-to-end instant messaging terminal, and a system.
- the Internet was invented in the 1970s. It is difficult to predict that there will be a large number of mobile terminals and multiple township terminals in the world today. Therefore, the Internet protocol stack at that time was mainly designed for terminals connected in a "fixed" manner.
- the transmitted address is the received address, and the path is reversible, so the IP address with dual attributes of identity and location can work very well. There is no conflict between the identity attribute of the IP address and the location attribute.
- the IP address also represents the identity and location that exactly met the network needs of the time. From the perspective of the network environment at the time, this design scheme is simple and effective, simplifying the hierarchy of the protocol stack.
- the identity attribute of an IP address requires that any two IP addresses be equal.
- the location attribute of the IP address requires that the IP address be assigned based on the network topology (not the organization), and the IP addresses in the same subnet should be in a continuous In the IP address block, the IP address prefix in the network topology can be aggregated, thereby reducing the routing table entries of the router device and ensuring the scalability of the routing system.
- the inherent contradiction between the dual attributes of IP addresses will lead to the following main problems:
- Routing scalability issues There is a basic assumption about the scalability of the Internet routing system: "Addresses are allocated according to the topology, or the topology is deployed according to the address, and the two must be selected.”
- the identity attribute of an IP address requires that the IP address be assigned based on the organization to which the terminal belongs (rather than the network topology), and this allocation must be stable and cannot be changed frequently; the location attribute of the IP address requires the IP address to be based on the network.
- the topology is allocated to ensure the scalability of the routing system. In this way, the two attributes of the IP address create conflicts, which eventually leads to the scalability problem of the Internet routing system.
- the identity attribute of the IP address requires that the IP address should not change as the location of the terminal changes. This ensures that the communication bound to the identity is not interrupted, and that the terminal can still use its identity after the terminal is moved.
- the communication link is established; the location attribute of the IP address requires the IP address to change as the terminal location changes, so that the IP address can be aggregated in the new network topology, otherwise the network must reserve a separate route for the mobile terminal.
- Information which causes a sharp increase in routing table entries.
- a number of township issues A plurality of townships usually refer to terminals or networks that access the Internet through a network of multiple ISPs (Internet Service Providers).
- ISPs Internet Service Providers
- the advantages of multiple township technologies include increased network reliability, support for traffic load balancing across multiple ISPs, and increased overall available bandwidth.
- the identity attribute of an IP address requires that a plurality of home terminals always display the same identity to other terminals, regardless of whether the multiple township terminals access the Internet through several ISPs; and the location attribute of the IP address requires that multiple township terminals are different.
- the ISP network uses different IP addresses to communicate, so that the IP address of the terminal can be aggregated in the topology of the ISP network.
- IP address includes both the identity information and the location information of the terminal
- the communication peer and the malicious eavesdropper can simultaneously obtain the identity information and the topology location information of the terminal according to the IP address of the terminal.
- the dual attribute problem of IP address is one of the fundamental reasons that plague the Internet to continue to develop. Separating the identity attribute and location attribute of an IP address is a good way to solve the problems faced by the Internet.
- the new network will be designed based on this idea, and propose a network structure of separate mapping of identity information and location information to solve some serious drawbacks of the existing Internet.
- HIP Home Identity Protocol
- IP Internet Protocol
- Some schemes classify IP addresses, some IPs.
- the identity identifier part of the IP is used as the location identifier, such as LISP (Locator/ID Separation Protocol), as shown in Figure 1.
- LISP Licator/ID Separation Protocol
- the patent CN200610001825 of Zhang Hongke of Northern Jiaotong University also proposes a solution, using IP address as the host.
- Location identifier the introduction host identity as the body The identification identifies issues with identity and location separation.
- Instant Messaging is the Chinese translation of Instant Messaging, referred to as IM. It is a technology that enables people to identify online users online and exchange messages with them in real time. It is a rapidly emerging online communication method since the invention of email. Since the invention of the first IM product ICQ in 1996, the technology and functions of IM have begun to take shape. Advanced information exchange functions such as voice, video, file sharing, and SMS transmission can be implemented on IM tools, so powerful IM software is available. It is enough to build a complete Communication platform. At present, the most representative IM communication software includes MSN, Google Talk, Yahoo, Messenger, Tencent QQ and so on.
- IM communication server Log in to the IM communication center (IM communication server), get a self-established historical communication object list (buddy list), and then mark itself as online, when someone in the buddy list logs in at any time.
- IM communication server When you go online and try to contact you through your computer, the IM system will send you a message to remind you, then you can establish a chat session with him for various messages such as typing text, communicating via voice, etc. in the existing Internet.
- IM is an application layer technology.
- the user name and password entered when the user logs in cannot be directly used for addressing. Therefore, one or more IM servers are needed in the network to manage the user, especially the user name and password are mapped with the IP address.
- the IM server has five functions: including account management function, customer status processing function, message processing function, action processing function, and data equalization processing function.
- Account Management Function The IM server handles the functions of creating users, deleting users, maintaining user personal information, maintaining friend lists, logging in, logging out, creating joins and exiting groups.
- Customer status processing function The IM server maintains the online status of the customer's login, logout, and stealth.
- Message processing function The IM server needs to query the customer's online information when sending a message, if the client sends the message online.
- Action processing function The IM server implements actions such as inviting, kicking out groups, and the like.
- Data Balance Function Because the IM server is responsible for the communication of customers up to 10 million levels, the load is heavy and requires multiple servers for load balancing. There are also some problems with the way existing IM technologies work:
- the IM network architecture is a centralized architecture.
- the IM server is at the core of the IM network system and is responsible for managing user accounts, client status, protocol resolution, message action processing and load balancing for all users, sometimes even between many users. Traffic also needs to be relayed through the IM server. Therefore, the IM server is prone to a single point of failure, and even if load balancing is performed between multiple servers, the data synchronization traffic is quite large.
- Tencent QQ was online at the same time. The number of people is more than 50 million, which is 2.3 times the total population of Australia. Such a large user base and data volume pose a serious challenge to the reliability of the system.
- the IM server can fully monitor real-time data of all users, causing user data to be leaked at any time.
- an undefended security hole has been formed.
- many companies are concerned that employees using MSN interactions will be recorded by Microsoft and disclose company secrets.
- IM users log in with a user name and password, which is easily hacked by some virus Trojans.
- QQ has a serious problem of hacking.
- the various identity location separation architectures that have been disclosed have not presented specific application solutions for instant messaging technologies, and certainly do not solve the above shortcomings of existing instant messaging.
- the technical problem to be solved by the present invention is to provide an end-to-end instant messaging implementation method, an end-to-end instant messaging terminal and a system, to implement end-to-end instant communication in a network of identity location separation architecture, and to ensure instant Communication reliability and security.
- the present invention provides an implementation method of end-to-end instant communication, which is based on a network implementation of an identity location separation architecture, which does not require an instant messaging server to participate, and the instant messaging terminal has an identity identifier (AID) indicating identity.
- AID identity identifier
- RID routing location identifier
- the process of the instant messaging between the first instant messaging terminal and the second instant messaging terminal includes: A.
- the first instant messaging terminal sends the first access service node (ASN)
- the instant messaging message, the source address and the destination address of the instant messaging message are the AID of the first instant messaging terminal and the AID of the second instant messaging terminal, respectively;
- the first ASN forwards the instant messaging message to a second ASN corresponding to the RID of the second instant messaging terminal;
- C. The second ASN forwards the instant messaging message to the first Two instant messaging terminals.
- the instant messaging message is an instant message generated according to the input instant information, or a request message generated according to the input command is added as a friend or a request message to invite to join the group.
- the instant messaging message is a state maintenance message generated by the first instant messaging terminal according to the state maintenance policy indicating the end-to-end call state of the local end, and the second instant messaging terminal receives the state maintenance in step C. After the message, the state of the first instant messaging terminal saved locally is maintained according to the status maintenance message.
- the first instant messaging terminal queries the status of the second instant messaging terminal before step A, and if it is in an active state, performs step A, otherwise, prompts or monitors the state of the second instant messaging terminal to be active. send.
- the present invention further provides an end-to-end instant messaging terminal, the terminal comprising: an interface module, a package sending module, a receiving parsing module, and an identity management module, wherein: the interface module is configured to: receive user input The message or the command, and notifying the package sending module, is further configured to: notify the user of the received instant message; the package sending module is connected to the interface module, and is configured to: obtain the local end from the identity management module And generating, by the AID and the peer AID, the instant messaging message, where the source address and the destination address of the instant messaging message are the AID of the local end and the AID of the opposite end respectively; and sending the generated instant messaging message; receiving the parsing module, Connected with the interface module, and configured to: receive and par
- the instant messaging message includes an instant message generated according to the input instant information and a request message generated according to the input command, which is added as a friend or invites to join the group.
- the instant messaging message further includes And the state maintenance module that is connected to the encapsulated sending module and the receiving and analyzing module; the receiving and analyzing module is further configured to: if the parsed instant The communication message is status maintenance information, and the status maintenance information is sent to the status maintenance module.
- the status maintenance module is configured to: save the current instant communication user and the status of the communication object, and generate a status indicating the current instant communication status according to the status maintenance policy. Maintain information and notify the package sending module; Setting: receiving state maintenance information sent by the receiving parsing module for state maintenance; the peer end of the state sending maintenance information by the encapsulating transmitting module is all active friends and group components.
- the encapsulating and sending module is further configured to: query the state of the peer end before sending the instant messaging message, and notify the interface module to prompt or monitor the peer state to be active when the peer end is inactive Send again.
- the present invention also provides an end-to-end instant messaging system, the system being implemented in an identity location separation network, including an instant messaging terminal and an access service node (ASN) connected by an identity location separation network,
- the instant messaging terminal has an instant messaging function, and is configured to: generate an instant messaging message, where the source address and the destination address of the instant messaging message are the AID of the current instant messaging terminal and the AID of the instant messaging peer, respectively.
- the method is further configured to: send an instant messaging message to the ASN, and receive an instant messaging message sent by the ASN; the ASN is configured to: receive an instant messaging message sent by the instant messaging terminal, and forward and forward the instant messaging message And the ASN corresponding to the routing location identifier of the instant messaging peer; further configured to: receive an instant messaging message and forward the message to the instant messaging terminal.
- the instant messaging terminal includes: an interface module, a package sending module, a receiving parsing module, and an identity management module, wherein: the interface module is configured to: receive a message or a command input by the user, and notify the package sending module, and further set The user is notified of the received instant message; the package sending module is connected to the interface module, and is configured to: obtain the AID of the local end and the AID of the opposite end from the identity management module, and generate an instant messaging message, the instant The source address and the destination address of the communication message are respectively the local AID and the opposite AID; and, the generated instant messaging message is sent; the receiving parsing module is connected with the interface module, and is set to: receive and parse the received The instant messaging message, and the received instant messaging message is sent to the interface module; the identity management module is connected to the package sending module, and is configured to: manage the local terminal and The AID of its peer.
- the interface module is configured to: receive a message or a command input by the user, and notify the package sending module
- the instant messaging message includes an instant message generated according to the input instant message, a request message generated according to the input command, added as a friend or a request to join the group.
- the instant messaging message further includes And the status maintenance module is configured to be connected to the encapsulated sending module and the receiving and analyzing module; the receiving and analyzing module is further configured to: if parsed The instant messaging message is status maintenance information, and the status maintenance information is sent to the status maintenance module.
- the status maintenance module is configured to: save the current instant messaging user and its communication object status, and generate a current instant messaging status according to the status maintenance policy. Status maintenance information, and notifying the package sending module; further configured to: receive status maintenance information sent by the receiving parsing module for status maintenance.
- the encapsulating and sending module is further configured to: query the state of the peer end before sending the instant messaging message, and notify the interface module to prompt or monitor the peer state to be live if the peer end is inactive Send again when dynamic.
- the implementation method of the end-to-end instant communication of the invention, the end-to-end instant messaging terminal and the system do not involve the IM server, and the end-to-end communication is used between the user and the user, thereby avoiding the reliability of the single point failure of the server of the existing IM system.
- sexual risk Data interaction does not pass through the server and will not be disclosed by the operator. Therefore, the IM hacking is effectively prevented, and the reliability and security are high.
- the terminal logs in to the identity location separation network. After the instant messaging function is enabled, the instant messaging can be directly used, and it is more convenient to log in to the IM system without inputting a username and password.
- FIG. 1 is a schematic diagram of the architecture of an existing identity location separation network.
- 2 is a schematic diagram of an implementation method of end-to-end instant messaging according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram of terminal A sending an instant message to terminal B according to an embodiment of the present invention.
- 4 is a block diagram showing the structure of an instant messaging terminal according to an embodiment of the present invention.
- the invention realizes the end-to-end instant communication implementation method, the end-to-end instant communication terminal and the system based on the identity location separation architecture (hereinafter referred to as the identity location separation network), and does not require a special instant messaging server (IM server) to participate,
- IM server instant messaging server
- the account management function, the client state processing function, the message processing function, and the action processing function implemented by the IM server are all implemented by the identity location separation network terminal with instant messaging function, and the data equalization processing is no longer needed, which simplifies the end-to-end Instant messaging implementation process and system, while overcoming the security and reliability issues caused by IM servers.
- the identity location separation network of the present invention includes, but is not limited to, a specific implementation of various identity location separation architectures that have been proposed at present, and has the following features: 1.
- the terminal in the identity location separation network has an identity identifier (AID) indicating identity and A routing location identifier (RID) indicating a location, wherein the AID is unique and inherent.
- the routing location identifier is an identifier used to route data to the terminal, and has a certain relativeity. When the terminal moves, the routing location identifier may be change.
- the terminal must send or receive an ASN through an Access Service Node (ASN).
- ASN Access Service Node
- the end-to-end instant messaging system of the present invention is addressed according to the user AID, and the user AID is a network layer identifier, which is similar to the user's mobile phone number, and is universally used and follows the user's mobile, so the IM server is no longer needed in the network. .
- the end-to-end instant messaging system of the embodiment of the present invention comprises an instant messaging terminal and an access service node (ASN) connected by an identity location separation network, wherein the instant messaging terminal has an instant messaging function and is configured to: receive user input The message or command, and the instant messaging message, the source and destination addresses are respectively the AID of the instant messaging terminal and the AID of the instant messaging peer, and are further configured to: send an instant messaging message to the ASN and receive the ASN sending Instant messaging message;
- ASN access service node
- the ASN is configured to: receive an instant messaging message sent by the instant messaging terminal, and forward the instant messaging message to an ASN corresponding to the routing location identifier of the instant messaging peer; further configured to: receive the instant messaging message and forward To the instant messaging terminal. As shown in FIG.
- the method for instant messaging between the first instant messaging terminal and the second instant messaging terminal in the embodiment of the present invention includes: Step 201: The first instant messaging terminal sends the first instant messaging terminal to the first access service node (ASN) The instant messaging message includes an instant message generated by the input instant message, and the source and destination addresses are the AID of the first instant messaging terminal and the AID of the second instant messaging terminal respectively; Step 202: The first ASN forwards the instant messaging message to a second ASN corresponding to the routing location identifier of the second instant messaging terminal; Step 203: The second ASN forwards the instant messaging message to the The second instant messaging terminal; the instant messaging message according to the present invention includes, in addition to the commonly used instant messaging in the instant messaging function, a request message generated according to the input command, added as a friend or invited to join the group, the instant messaging terminal After receiving the response from the other party, manage and maintain the friends or group members.
- ASN access service node
- the instant messaging message may further include a state maintenance message generated according to the state maintenance information, where the state maintenance information is information that the first and second instant messaging terminals generate a current instant messaging status according to the state maintenance policy.
- A is sent by default to all active friends or group members.
- the first and second instant messaging terminals receive the status maintenance information, the state of the second instant messaging terminal or the first instant messaging terminal saved locally is maintained.
- the instant messaging message is a state maintenance message that is generated by the first instant messaging terminal according to the state maintenance policy and indicates the end-to-end call state of the local end
- the second instant messaging terminal receives the location in step 203. After the status maintenance message is described, the state of the first instant messaging terminal saved locally is maintained according to the status maintenance message.
- the first instant messaging terminal queries the status of the second instant messaging terminal before step 201, and if it is active, step 201 is performed. Otherwise, it will be prompted or monitored when the second instant messaging terminal status is active.
- the instant messaging message mentioned in the present invention is in addition to the instant message, request message and message mentioned above.
- any other message that needs to be notified to the instant messaging peer belongs to the instant messaging message. For example, the response to the request being added as a friend and the notification of kicking a member out of the group are applicable to the above communication process.
- the process of the instant messaging between the IM terminals is as shown in FIG. 3, and includes: Step 301: The terminal A sends an instant message, the local AID is the source address, and the AID of the peer end (the terminal B) is the destination address; Step 302: The first edge router (ie, the first ASN) receives the instant message, and queries the AID-RID mapping table to add a RID header to the datagram, where the local RID is the source address, and the peer RID is the destination address.
- Step 303 The peer edge router (the second edge router, that is, the second ASN) receives the datagram, queries the AID-RID mapping table, parses the instant message, and sends the packet to the destination terminal (terminal B). .
- This communication process does not require the participation of an IM server, and the functionality of the traditional Internet IM server will be implemented by the user terminal.
- the instant messaging terminal includes an interface module 401, a package sending module 402, a receiving parsing module 403, an identity management module 404, and a state maintenance module 405, where: the interface module 401 is configured to receive user input. The message or the command is sent to the package sending module 402, and is configured to notify the user of the received instant message by using various methods such as voice, text, and video.
- the package sending module 402 is connected to the interface module 401 and configured to be
- the identity management module 404 obtains the AID of the local end and the AID of the opposite end, and generates the instant messaging message, where the instant messaging message includes an instant message generated according to the input instant information, and the request generated according to the input command is added as a friend or invitation.
- the request message of the group is added, wherein the source and destination addresses are respectively the AID of the local end and the AID of the opposite end; and are also configured to send the instant messaging message; in order to prevent the instant messaging function of the peer end from being inactive, the instant message cannot be received.
- Communication The encapsulation sending module 402 is further configured to query the status of the peer end before sending the instant messaging message, and if the peer end is inactive, notify the interface module 401 to prompt or monitor the peer state as an active state. Then send again.
- the receiving parsing module 403 is connected to the interface module 401, and configured to receive and parse the received instant messaging message, and send the instant messaging message to the interface module 401; if the parsed instant messaging message is status maintenance information,
- the status maintenance module 405 is configured to send the status maintenance information to the status maintenance module 405, and the identity management module 404 is connected to the package sending module 402, and configured to manage the AID of the local end and its peer end; the state maintenance module 405, and the package
- the sending module 402 is connected to the receiving parsing module 403, and is configured to save the state of the current instant messaging user and its communication object, and is further configured to generate state maintenance information indicating the current instant messaging status according to the state maintenance policy, and notify the package sending module; And configured to receive status maintenance information sent by the receiving parsing module for status maintenance; the instant messaging message further includes a status maintenance message generated according to the status maintenance information.
- the peers that encapsulate the default state maintenance information of the sending module are all active friends and group members.
- the status maintenance policy can be set to periodically send status maintenance messages (such as online heartbeat commands) when the instant messaging feature is turned on, off, and when the instant messaging feature is turned on.
- status maintenance messages such as online heartbeat commands
- the present invention proposes to construct an IM system in an end-to-end manner in an identity location separation network, to solve its reliability problem and security problem, and to have one login, which can use various services.
- the four functions of the IM server in the Internet including the account management function, the client state processing function, the message processing function, and the action processing function, can be implemented in the terminal of the identity location separation network.
- the implementation method of the end-to-end instant communication of the present invention the end-to-end instant messaging terminal and the system are not involved
- the IM server uses end-to-end communication between the user and the user, so that the reliability risk of the single point of failure of the existing IM system server can be circumvented. Data interaction does not pass through the server and will not be disclosed by the operator. Therefore, the IM hacking is effectively prevented, and the reliability and security are high.
- the terminal logs in to the identity location separation network. After the instant messaging function is enabled, the instant messaging can be directly used, and it is more convenient to log in to the IM system without inputting a username and password.
- the network operator can bind the identity with the port number or SIM card. Others cannot communicate even if the user's identity is intercepted.
- the present invention provides an end-to-end instant messaging implementation method, an end-to-end instant messaging terminal and system, does not involve an IM server, and uses end-to-end communication between a user and a user, thereby circumventing an existing IM system
- the reliability risk of a single point of failure of the server The interaction of data does not pass through the server, and the business secrets are not leaked by the operator, effectively preventing IM hacking, and having high reliability and security.
- the terminal logs in to the identity location separation network. After the instant messaging function is enabled, the instant messaging can be directly used, and the user name and password are not required to be logged into the IM system, which is more convenient to use.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Description
端到端即时通讯的实现方法、 端到端即时通讯终端及系统
技术领域 本发明涉及通信、 互联网领域, 尤其涉及一种端到端即时通讯的实现方 法、 端到端即时通讯终端及系统。
背景技术 身份和位置分离技术 关于下一代信息网络架构的研究是当前最热门的课题之一。 目前大多数 研究接受的观点是: 未来网络将以互联网为统一承载网络。 互联网从其诞生 以来一直保持高速发展, 已成为当前最成功、 最具生命力的通信网络, 其灵 活可扩展性、 高效的分组交换、 终端强大的功能等特点非常符合新一代网络 的设计需要, 互联网将是新一代网络设计的主要参考蓝本。 然而, 互联网的结构还远远没有达到最优, 存在很多重大的设计问题, 其中比较典型的是 IP地址的双重属性的问题, 即 IP地址既代表用户身份, 又代表用户所处的网络拓朴, 即 IP地址的双重属性。 互联网发明于二十世纪 七十年代, 人们难以预计今天世界上将存在大量的移动终端和多家乡终端, 因此当时的互联网协议栈主要是针对以 "固定"方式连接的终端而设计。 在当 时的网络环境下, 由于终端基本上不会从一个位置移动到其它位置, 发送的 地址就是接收的地址,路径是可逆的, 所以具有身份和位置双重属性的 IP地 址能够非常好的工作, IP 地址的身份属性与位置属性之间没有产生任何冲 突。 IP地址同时代表身份和位置恰恰满足了当时的网络需求。 从当时的网络 环境来看, 这种设计方案简单有效, 简化了协议栈的层次结构。 但毋庸置疑 的是, IP地址的身份属性与位置属性之间存在着内部矛盾。 IP地址的身份 属性要求任意两个 IP地址都是平等的, 虽然 IP地址可以按照组织机构进行 分配, 但是连续编码的 IP地址之间没有必然的关系, 或者至少在拓朴位置 上没有必然的关系; IP地址的位置属性则要求 IP地址基于网络拓朴(而不 是组织机构)进行分配, 处于同一个子网内的 IP地址都应该处于一个连续
的 IP地址块中, 这样才可以使网络拓朴中的 IP地址前缀聚合, 从而减少路 由器设备的路由表的条目, 保证路由系统的可扩展性。 总的来说, IP地址双重属性的内在矛盾将导致如下主要问题:
1. 路由可扩展问题。 关于互联网路由系统的可扩展性存在一个基本的假定: "地址按照拓朴进 行分配, 或者拓朴按照地址进行部署, 二者必选其一"。 IP地址的身份属性 要求 IP地址基于终端所属的组织机构 (而不是网络拓朴)进行分配, 而且 这种分配要保持一定的稳定性, 不能经常改变; 而 IP地址的位置属性要求 IP地址基于网络拓朴进行分配, 以便保证路由系统的可扩展性。这样, IP地 址的两种属性就产生了冲突, 最终引发了互联网路由系统的可扩展问题。
2. 移动性问题。
IP地址的身份属性要求 IP地址不应该随着终端位置的改变而变化, 这 样才能够保证绑定在身份上的通信不中断, 也能够保证终端在移动后, 其它 终端仍能够使用它的身份与之建立通信联系; 而 IP地址的位置属性则要求 IP地址随着终端位置的改变而改变, 以便 IP地址能够在新的网络拓朴中聚 合, 否则网络就必须为移动后的终端保留单独的路由信息, 从而造成路由表 条目的急剧增长。
3. 多家乡问题。 多家乡通常指终端或网络同时通过多个 ISP ( Internet Service Provider, 因特网服务提供商) 的网络接入到互联网。多家乡技术的优点包括增加网络 的可靠性、支持多个 ISP之间的流量负载均衡和提高总体可用带宽等。但是, IP地址双重属性的内在矛盾使得多家乡技术难以实现。 IP地址的身份属性 要求一个多家乡终端始终对其它终端展现不变的身份, 无论该多家乡终端是 通过几个 ISP接入到互联网; 而 IP地址的位置属性则要求一个多家乡终端 在不同的 ISP 网络中使用不同的 IP地址通信 ,这样才能保证终端的 IP地址 能够在 ISP 网络的拓朴中聚合。
4. 安全和位置隐私问题。
由于 IP地址同时包含终端的身份信息和位置信息, 所以通信对端和恶 意窃听者都可以根据一个终端的 IP地址同时获得该终端的身份信息和拓朴 位置信息。 总的来说, 自从传统互联网的体系结构建立以来, 互联网的技术 环境和用户群体都已经发生了翻天覆地的变化, 互联网需要随之进行革新。 IP地址的双重属性问题是困扰互联网继续发展的根本原因之一, 将 IP地址 的身份属性和位置属性进行分离, 是解决互联网所面临问题的一个很好的思 路。 新网络将基于这种思路进行设计, 提出一种身份信息与位置信息分离映 射的网络结构, 以解决现有互联网存在的一些严重弊端。 为了解决身份和位置的问题, 业界进行了大量的研究和探索, 所有身份 与位置分离方案的基本思想都是将原本绑定在 IP地址上的身份与位置双重 属性分离。 其中, 有些方案釆用应用层的 URL ( Uniform Resource Locator, 统一资源定位符, URL是用于完整地描述 Internet上网页和其他资源的地址 的一种标识方法) 或 FQDN ( Fully Qualified Domain Name, 合格域名 ) 作 为终端的身份标识, 如 IPNL ( IP Next Layer, IP下一层, 属于 NAT扩展架 构的方式)、 TRIAD ( A Scalable Deployable NAT-based Internet Architecture , 一种可扩展易部署的基于 NAT的网络架构) 等; 有些方案引入了新的名字 空间作为身份标识, 如 HIP ( Host Identity Protocol , 主机标识协议)在以 IP 地址为标识网络层上增加主机标识; 有些方案将 IP地址进行分类, 部分 IP 作为身份标识, 部分 IP 作为位置标识, 如 LISP ( Locator/ID Separation Protocol, 位置身份分离协议) , 如图 1 所示; 北方交通大学张宏科的专利 CN200610001825也提出一种解决方案, 使用 IP地址作为主机的位置标识, 引入端主机标识作为身份标识解决身份和位置分离的问题。
即时通讯技术 ( Instant Messaging ) 即时通讯是 Instant Messaging的中文翻译, 简称 IM。 它是一种使人们能 在网上识别在线用户并与他们实时交换消息的技术, 是电子邮件发明以来迅 速崛起的在线通讯方式。 自 1996年第一个 IM产品 ICQ发明后, IM的技术 和功能也开始基本成型, 语音、 视频、 文件共享、 短信发送等高级信息交换 功能都可以在 IM工具上实现,于是功能强大的 IM软件便足以搭建一个完整
的通信交流平台。 目前最具代表性的几款的 IM通讯软件有 MSN、 Google Talk、 Yahoo、 Messenger、 腾讯 QQ等。
IM典型的工作方式如下: 登陆 IM通讯中心 (IM通讯服务器) , 获取 一个自建立的历史的交流对象列表(好友列表), 然后自身标志为在线状态, 当好友列表中的某人在任何时候登录上线并试图通过你的计算机联系你时, IM系统会发一个消息提醒你,然后你能与他建立一个聊天会话通道进行各种 消息如键入文字、 通过语音等的交流, 在现有的互联网中, IM是应用层技术,用户登录时输入的用户名和口令 不能直接用于寻址, 所以网络中需要一个或多个 IM服务器, 对用户进行管 理, 特别是将用户名和口令跟 IP地址进行映射。 此外, IM服务器有五大功 能: 包括帐号管理功能, 客户状态处理功能, 消息处理功能, 动作处理功能, 数据均衡处理功能。 帐号管理功能: IM服务器处理创建用户、删除用户、维护用户个人信息、 维护好友列表、 登陆、 退出、 创建加入和退出群组等功能。 客户状态处理功能: IM服务器维护客户的登录、退出、隐身等在线状态。 消息处理功能: IM服务器的发送消息时需要查询客户的在线信息,如果 客户在线再将消息发送出去。 动作处理功能: IM服务器实现邀请、 踢出群组等动作。 数据均衡功能: IM服务器因为要担负多达千万级别的客户的通讯, 负载 很重, 需要多台服务器进行负载均衡。 现有 IM技术的工作方式也存在一些问题:
1、 系统可靠性问题
IM网络架构是一种集中式的架构, IM服务器在 IM网络系统中处于核 心位置, 负责管理所有用户的用户帐号、 客户状态、 协议解析、 消息动作处 理和负载均衡, 有时甚至很多用户之间的流量也需要通过 IM服务器中转。 由此 IM服务器容易产生单点故障, 即便是多个服务器之间釆取负载均衡, 其数据同步的流量也相当大。 据报道, 2009年 2月 9日, 腾讯 QQ同时在线
的人数超过 5000万之巨, 是澳大利亚的总人口的 2.3倍。 这样大的用户群和 数据量, 给系统的可靠性带来了严重挑战。
2、 安全性问题
IM服务器可以完全监控所有用户的实时数据,造成用户数据随时有可能 泄露, 尤其对企业网络而言, 已经形成一个不设防的安全漏洞。 例如很多企 业都担心员工使用 MSN交互会被微软记录, 泄露公司机密。 另外 IM用户登 录都釆用用户名和密码, 很容易被一些病毒木马等盗号。 如 QQ就存在严重 的盗号问题。 目前已经揭示的各种身份位置分离架构都没有对即时通讯技术提出具体 的应用方案, 当然更没有解决以上现有即时通讯的缺陷。
发明内容 本发明要解决的技术问题是提供一种端到端即时通讯的实现方法、 端到 端即时通讯终端及系统, 以在身份位置分离架构的网络中实现端到端即时通 讯, 同时保证即时通讯的可靠性和安全性。 为解决以上技术问题, 本发明提供了一种端到端即时通讯的实现方法, 该方法基于身份位置分离架构的网络实现, 不需要即时通讯服务器参与, 即 时通讯终端具有表示身份的身份标识 (AID)和表示位置的路由位置标识 (RID) , 第一即时通讯终端与第二即时通讯终端进行即时通讯的过程包括: A、 所述第一即时通讯终端向第一接入业务节点 (ASN)发送即时通讯消 息, 所述即时通讯消息的源地址和目的地址分别是所述第一即时通讯终端的 AID和所述第二即时通讯终端的 AID;
B、 所述第一 ASN将所述即时通讯消息路由转发到与所述第二即时通讯 终端的 RID对应的第二 ASN; C、 所述第二 ASN将所述即时通讯消息转发给所述第二即时通讯终端。 优选地, 所述即时通讯消息是才艮据输入的即时信息生成的即时消息, 或 者, 根据输入的命令生成的请求加为好友或邀请加入群组的请求消息。
优选地, 所述即时通讯消息是第一即时通讯终端根据状态维护策略生成 的表明所述本端的端到端呼叫状态的状态维护消息, 步骤 C中所述第二即时 通讯终端接收所述状态维护消息后, 根据所述状态维护消息对本地保存的第 一即时通讯终端的状态进行维护。 优选地, 所述第一即时通讯终端在步骤 A之前, 查询第二即时通讯终端 的状态, 如果是活动态, 则执行步骤 A, 否则进行提示或监控第二即时通讯 终端状态为活动态时再发送。 为解决上述技术问题, 本发明还提供一种端到端即时通讯终端, 所述终 端包括: 界面模块、 封装发送模块、 接收解析模块和身份标识管理模块, 其 中: 界面模块设置成: 接收用户输入的消息或命令, 并通知封装发送模块, 还设置成: 将收到的即时通讯消息通知用户; 封装发送模块, 与所述界面模块连接, 并设置成: 从所述身份标识管理 模块获取本端的 AID及对端的 AID, 生成所述即时通讯消息, 所述即时通讯 消息的源地址和目的地址分别是所述本端的 AID及对端的 AID; 以及, 发送 所生成的即时通讯消息; 接收解析模块, 与所述界面模块连接, 并设置成: 接收并解析收到的即 时通讯消息, 并将该收到的即时通讯消息发送给界面模块; 身份标识管理模块, 与所述封装发送模块连接, 并设置成: 管理本端及 其对端的 AID。 优选地, 所述即时通讯消息包括才艮据输入的即时信息生成的即时消息以 及根据输入的命令生成的请求加为好友或邀请加入群组的请求消息, 优选地, 所述即时通讯消息还包括所述封装发送模块根据状态维护信息 生成的状态维护消息, 所述终端还包括与所述封装发送模块和接收解析模块 连接的状态维护模块; 所述接收解析模块还设置成: 若解析后的即时通讯消 息是状态维护信息, 将该状态维护信息发送给状态维护模块; 所述状态维护 模块设置成: 保存当前即时通讯用户及其通信对象的状态, 根据状态维护策 略生成表明当前即时通讯状态的状态维护信息, 并通知封装发送模块; 还设
置成: 接收所述接收解析模块发送的状态维护信息进行状态维护; 所述封装 发送模块默认所述状态维护信息的对端是所有处于活动态的好友及群组成 贝。
优选地, 所述封装发送模块还设置成: 在发送所述即时通讯消息前, 查 询对端的状态, 如果所述对端是非活动态, 则通知界面模块进行提示或监控 对端状态为活动态时再发送。 为解决以上技术问题, 本发明还提供了一种端到端即时通讯系统, 所述 系统在身份位置分离网络实现, 包括通过身份位置分离网络连接的即时通讯 终端和接入业务节点 (ASN), 其中, 所述即时通讯终端, 具有即时通讯功能, 并设置成: 生成即时通讯消息, 所述即时通讯消息的源地址和目的地址分别是所述当前即时通讯终端的 AID 和即时通讯对端的 AID, 还设置成: 向所述 ASN发送即时通讯消息以及接 收所述 ASN发送的即时通讯消息; 所述 ASN设置成:接收所述即时通讯终端发送的即时通讯消息, 以及将 所述即时通讯消息路由转发到与所述即时通讯对端的路由位置标识对应的 ASN; 还设置成: 接收即时通讯消息并转发到所述即时通讯终端。 优选地, 所述即时通讯终端包括: 界面模块、 封装发送模块、 接收解析 模块和身份标识管理模块, 其中: 界面模块设置成: 接收用户输入的消息或命令, 并通知封装发送模块, 还设置成: 将收到的即时通讯消息通知用户; 封装发送模块, 与所述界面模块连接, 并设置成: 从所述身份标识管理 模块获取本端的 AID及对端的 AID, 生成即时通讯消息, 所述即时通讯消息 的源地址和目的地址分别是所述本端 AID及对端 AID; 以及, 发送所生成的 即时通讯消息; 接收解析模块, 与所述界面模块连接, 并设置成: 接收并解析收到的即 时通讯消息, 并将该收到的即时通讯消息发送给界面模块; 身份标识管理模块, 与所述封装发送模块连接, 并设置成: 管理本端及
其对端的 AID。 优选地, 所述即时通讯消息包括才艮据输入的即时信息生成的即时消息、 根据输入的命令生成的请求加为好友或邀请加入群组的请求消息, 优选地, 所述即时通讯消息还包括所述封装发送模块根据状态维护信息 生成的状态维护消息; 所述即时通讯终端还包括与所述封装发送模块和接收 解析模块连接的状态维护模块; 所述接收解析模块还设置成: 若解析后的即 时通讯消息是状态维护信息, 将该状态维护信息发送给状态维护模块; 所述 状态维护模块设置成: 保存当前即时通讯用户及其通信对象的状态, 根据状 态维护策略生成表明当前即时通讯状态的状态维护信息, 并通知封装发送模 块; 还设置成: 接收所述接收解析模块发送的状态维护信息进行状态维护。 优选地, 所述封装发送模块还设置成: 在发送所述即时通讯消息前, 查 询所述对端的状态, 如果所述对端是非活动态, 则通知界面模块进行提示或 监控对端状态为活动态时再发送。 本发明端到端即时通讯的实现方法、 端到端即时通讯终端及系统不涉及 IM服务器, 用户与用户之间釆用端到端通信, 因而可以规避现有 IM系统的 服务器单点故障的可靠性风险。 数据的交互不通过服务器, 不会被运营方泄 露商业机密。 因而有效地防止了 IM盗号, 具有较高的可靠性和安全性。 另 夕卜, 终端登录了身份位置分离网络, 开启即时通讯功能后, 即可直接使用即 时通讯, 无需再输入用户名和口令登录 IM系统, 使用更为方便。
附图概述 图 1是现有身份位置分离网络的架构示意图。 图 2是本发明实施例的端到端即时通讯实现方法的示意图。 图 3是本发明实施例的终端 A向终端 B发送即时消息的示意图。 图 4是本发明实施例的即时通讯终端的模块结构示意图。
本发明的较佳实施方式
本发明端到端即时通讯的实现方法、 端到端即时通讯终端及系统基于身 份位置分离架构的网络(以下简称身份位置分离网络) 实现, 不需要特别的 即时通讯服务器(IM服务器)参与, 将原来由 IM服务器实现的帐号管理功 能、 客户状态处理功能、 消息处理功能、 动作处理功能均由具有即时通讯功 能的身份位置分离网络终端实现, 而且不再需要进行数据均衡处理, 简化了 端到端即时通讯的实现过程和系统, 同时克服了因 IM服务器带来的安全性 和可靠性问题。 本发明所说的身份位置分离网络包括但不限于目前已经提出的各种身份 位置分离架构的具体实现, 具有以下特点: 1、 身份位置分离网络中的终端具有表示身份的身份标识(AID )及表示 位置的路由位置标识 (RID), 其中, AID具有唯一性和固有性, 路由位置标识 是用以将数据路由到终端的标识, 具有一定的相对性, 当终端移动时, 其路 由位置标识可以改变。
2、 终端必须通过接入业务节点 (Access Service Node, ASN )发送或接 ASN。 在身份位置分离网络中, 本发明端到端即时通讯系统根据用户 AID 寻 址, 用户 AID是网络层标识, 类似于用户手机号码, 全网通用并跟随用户移 动, 因此网络中不再需要 IM服务器。 本发明实施例的端到端即时通讯系统, 包括通过身份位置分离网络连接 的即时通讯终端和接入业务节点 (ASN), 其中, 即时通讯终端, 具有即时通讯功能, 并设置成: 接收用户输入的消息或 命令, 以及生成即时通讯消息, 其源、 目的地址分别是所述即时通讯终端的 AID和即时通讯对端的 AID, 还设置成: 向所述 ASN发送即时通讯消息以 及接收所述 ASN发送的即时通讯消息;
ASN设置成: 接收所述即时通讯终端发送的即时通讯消息, 以及将所述 即时通讯消息路由转发到与所述即时通讯对端的路由位置标识对应的 ASN; 还设置成: 接收即时通讯消息并转发到所述即时通讯终端。
如图 2所示, 本发明实施例的第一即时通讯终端与第二即时通讯终端进 行即时通讯的方法包括: 步骤 201 :所述第一即时通讯终端向第一接入业务节点 (ASN)发送即时通 讯消息,所述即时通讯消息包括 居输入的即时信息生成的即时消息,其源、 目的地址分别是所述第一即时通讯终端的 AID 和所述第二即时通讯终端的 AID; 步骤 202: 所述第一 ASN将所述即时通讯消息路由转发到与所述第二即 时通讯终端的路由位置标识对应的第二 ASN; 步骤 203: 所述第二 ASN将所述即时通讯消息转发给所述第二即时通讯 终端; 本发明所说的即时通讯消息除了即时通讯功能中比较常用的即时消息 外,还包括根据输入的命令生成的请求加为好友或邀请加入群组的请求消息, 即时通讯终端收到对方的应答后, 对好友或群组成员进行管理维护。 另外, 所述即时通讯消息还可以包括根据状态维护信息生成的状态维护 消息, 所述状态维护信息是所述第一、 第二即时通讯终端根据状态维护策略 生成表明当前即时通讯状态的信息, 步骤 A中默认向所有处于活动态的好友 或群组成员发送。 当第一、 二即时通讯终端收到的所述状态维护信息时, 据 此对本地保存的所述第二即时通讯终端或第一即时通讯终端的状态进行维 护。 步骤 201中, 若所述即时通讯消息是第一即时通讯终端根据状态维护策 略生成的表明所述本端的端到端呼叫状态的状态维护消息, 则步骤 203中所 述第二即时通讯终端接收所述状态维护消息后, 根据所述状态维护消息对本 地保存的第一即时通讯终端的状态进行维护。 为了防止因对端的即时通讯功能处于非活动态而无法接收即时通讯消 息,所述第一即时通讯终端在步骤 201之前,查询第二即时通讯终端的状态, 如果是活动态, 则执行步骤 201 , 否则进行提示或监控第二即时通讯终端状 态为活动态时再发送。 本发明所说的即时通讯消息除了以上所提及的即时消息、 请求消息及状
态维护消息外 , 其他任何需要通知到即时通讯对端的消息都属于即时通讯消 息, 例如对请求加为好友的应答、 将某成员踢出群组的通知都适用于以上通 讯流程。 当然这里所说的第一即时通讯终端和第二即时通讯终端只是为了便 于说明, 二者互为即时通讯对端。 IM终端之间的即时通讯的流程如图 3所示, 包括: 步骤 301、终端 A发送即时消息 ^艮文,以本端 AID为源地址,以对端(终 端 B ) 的 AID为目的地址; 步骤 302、 第一边缘路由器(即第一 ASN )接收即时消息报文, 并查询 AID-RID映射表, 为数据报添加 RID报头, 以本端 RID为源地址, 以对端 RID为目的地址, 在网络中路由; 步骤 303、 对端边缘路由器(第二边缘路由器, 即第二 ASN )收到数据 报, 查询 AID-RID映射表, 解析出即时消息报文, 发往目的终端(终端 B ) 。 这个通讯流程无需 IM服务器参与,而传统互联网的 IM服务器的功能将 由用户终端实现。
具体地, 如图 4所示, 即时通讯终端包括界面模块 401、 封装发送模块 402、 接收解析模块 403、 身份标识管理模块 404以及状态维护模块 405 , 其 中: 界面模块 401 , 设置成接收用户输入的消息或命令, 并通知封装发送模 块 402, 还设置成将收到的即时通讯消息釆用声音、 文字及视频等多种方式 通知用户; 封装发送模块 402, 与界面模块 401连接, 设置成从所述身份标识管理 模块 404获取本端的 AID及对端的 AID, 生成所述即时通讯消息, 所述即时 通讯消息包括根据输入的即时信息生成的即时消息、 根据输入的命令生成的 请求加为好友或邀请加入群组的请求消息, 其中源、 目的地址分别是所述本 端的 AID及对端的 AID; 还设置成发送所述即时通讯消息; 为了防止因对端的即时通讯功能处于非活动态而无法接收即时通讯消
息, 封装发送模块 402, 还设置成在发送所述即时通讯消息前, 查询所述对 端的状态, 如果所述对端是非活动态, 则通知界面模块 401进行提示或监控 对端状态为活动态时再发送。 接收解析模块 403 , 与界面模块 401连接, 并设置成接收并解析收到的 即时通讯消息, 以及, 将该即时通讯消息发送给界面模块 401 ; 若解析后的 即时通讯消息是状态维护信息, 还设置成将该状态维护信息发送给状态维护 模块 405; 身份标识管理模块 404, 与所述封装发送模块 402连接, 并设置成管理 本端及其对端的 AID; 状态维护模块 405,与所述封装发送模块 402和接收解析模块 403连接, 并设置成保存当前即时通讯用户及其通信对象的状态, 还设置成根据状态维 护策略生成表明当前即时通讯状态的状态维护信息, 并通知封装发送模块; 还设置成接收所述接收解析模块发送的状态维护信息进行状态维护; 所述即 时通讯消息还包括根据状态维护信息生成的状态维护消息。 封装发送模块默认状态维护信息的对端是所有处于活动态的好友及群组 成员。
状态维护策略可以设定为在开启、 关闭即时通讯功能时以及即时通讯功 能开启期间定期发送状态维护消息 (如在线心跳命令) 。
如连续多次 (比如 3次)没收到某终端的心跳命令, 将该终端标记为非活动 状态。 本发明提出了在身份位置分离网络中,釆用端到端的方式构建 IM系统, 解决其可靠性问题和安全问题, 并有一次登录, 可使用多种业务的便利。 综上可以看出, 互联网中的 IM服务器所具有的四大功能, 包括帐号管 理功能、 客户状态处理功能、 消息处理功能、 动作处理功能均可以在身份位 置分离网络的终端实现。 本发明端到端即时通讯的实现方法、 端到端即时通讯终端及系统不涉及
IM服务器, 用户与用户之间釆用端到端通信, 因而可以规避现有 IM系统的 服务器单点故障的可靠性风险。 数据的交互不通过服务器, 不会被运营方泄 露商业机密。 因而有效地防止了 IM盗号, 具有较高的可靠性和安全性。 另 夕卜, 终端登录了身份位置分离网络, 开启即时通讯功能后, 即可直接使用即 时通讯, 无需再输入用户名和口令登录 IM系统, 使用更为方便。 用户登录网络对身份标识进行认证时, 网络运营商可以将身份标识和端 口号或 SIM卡绑定, 其他人即便截获了用户的身份标识, 也无法进行通信。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 尽管本发明结合特定实施例进行了描述, 但是对于本领域的技术人员来 说, 可以在不背离本发明的精神或范围的情况下进行修改和变化。 这样的修 改和变化被视作在本发明的范围和附加的权利要求书范围之内。
工业实用性 本发明提供一种端到端即时通讯的实现方法、 端到端即时通讯终端及系 统, 不涉及 IM服务器, 用户与用户之间釆用端到端通信, 因而可以规避现 有 IM系统的服务器单点故障的可靠性风险。 数据的交互不通过服务器, 不 会被运营方泄露商业机密, 有效地防止了 IM盗号, 具有较高的可靠性和安 全性。 另外, 终端登录了身份位置分离网络, 开启即时通讯功能后, 即可直 接使用即时通讯, 无需再输入用户名和口令登录 IM系统, 使用更为方便。
Claims
1、一种端到端即时通讯的实现方法, 其特征在于, 该方法基于身份位置 分离架构的网络实现, 不需要即时通讯服务器参与, 即时通讯终端具有表示 身份的身份标识 (AID)和表示位置的路由位置标识 (RID) , 第一即时通讯终端 与第二即时通讯终端进行即时通讯的过程包括: 所述第一即时通讯终端向第一接入业务节点 (ASN)发送即时通讯消息, 所述即时通讯消息的源地址和目的地址分别是所述第一即时通讯终端的 AID 和所述第二即时通讯终端的 AID; 所述第一 ASN将所述即时通讯消息路由转发到与所述第二即时通讯终 端的 RID对应的第二 ASN; 以及
所述第二 ASN将所述即时通讯消息转发给所述第二即时通讯终端。
2、 如权利要求 1所述的方法, 其中:
所述即时通讯消息是根据输入的即时信息生成的即时消息, 或者, 根据 输入的命令生成的请求加为好友或邀请加入群组的请求消息。
3、 如权利要求 1所述的方法, 其中:
所述即时通讯消息是第一即时通讯终端根据状态维护策略生成的表明本 端的端到端呼叫状态的状态维护消息; 所述方法还包括:
所述第二即时通讯终端接收所述状态维护消息后, 根据所述状态维护消 息对本地保存的第一即时通讯终端的状态进行维护。
4、 如权利要求 1所述的方法, 其中: 在所述第一即时通讯终端向第一 ASN发送即时通讯消息的步骤之前 ,所 述方法还包括: 查询第二即时通讯终端的状态, 如果是活动态, 则执行发送 即时通讯消息的步骤; 如果是非活动态, 则进行提示或监控第二即时通讯终 端状态为活动态时再执行发送即时通讯消息的步骤。
5、 一种端到端即时通讯终端, 包括: 界面模块、 封装发送模块、 接收解 析模块和身份标识管理模块, 其中:
界面模块设置成: 接收用户输入的消息或命令, 并通知封装发送模块, 还设置成: 将收到的即时通讯消息通知用户; 封装发送模块, 与所述界面模块连接, 并设置成: 从所述身份标识管理 模块获取本端的身份标识(AID )及对端的 AID, 生成即时通讯消息, 所述 即时通讯消息的源地址和目的地址分别是所述本端的 AID及对端的 AID; 以 及, 发送所生成的即时通讯消息; 接收解析模块, 与所述界面模块连接, 并设置成: 接收并解析收到的即 时通讯消息, 并将该收到的即时通讯消息发送给界面模块; 身份标识管理模块, 与所述封装发送模块连接, 并设置成: 管理本端及 其对端的 AID。
6、 如权利要求 5所述的终端, 其中: 所述即时通讯消息包括根据输入的即时信息生成的即时消息以及根据输 入的命令生成的请求加为好友或邀请加入群组的请求消息。
7、如权利要求 5所述的终端,所述终端还包括与所述封装发送模块和接 收解析模块连接的状态维护模块 ,
所述即时通讯消息还包括所述封装发送模块根据状态维护信息生成的状 态维护消息; 所述接收解析模块还设置成:若解析后的即时通讯消息是状态维护信息, 将该状态维护信息发送给状态维护模块; 所述状态维护模块设置成:保存当前即时通讯用户及其通信对象的状态, 根据状态维护策略生成表明当前即时通讯状态的状态维护信息, 并通知封装 发送模块; 还设置成: 接收所述接收解析模块发送的状态维护信息进行状态 维护; 所述封装发送模块默认所述状态维护信息的对端是所有处于活动态的好 友及群组成员。
8、 如权利要求 5所述的终端, 其中: 所述封装发送模块还设置成: 在发送所述即时通讯消息前, 查询对端的 状态, 如果所述对端是非活动态, 则通知界面模块进行提示或监控对端状态 为活动态时再发送。
9、一种端到端即时通讯系统, 其特征在于: 所述系统在身份位置分离网 络实现, 包括通过身份位置分离网络连接的即时通讯终端和接入业务节点 (ASN), 其中, 所述即时通讯终端, 具有即时通讯功能, 并设置成: 生成即时通讯消息, 所述即时通讯消息的源地址和目的地址分别是所述即时通讯终端的 AID 和 即时通讯对端的 AID, 还设置成: 向所述 ASN发送即时通讯消息以及接收 所述 ASN发送的即时通讯消息; 所述 ASN设置成:接收所述即时通讯终端发送的即时通讯消息, 以及将 所述即时通讯消息路由转发到与所述即时通讯对端的路由位置标识对应的 ASN; 还设置成: 接收即时通讯消息并转发到所述即时通讯终端。
10、 如权利要求 9所述的系统, 其中:
所述即时通讯终端包括: 界面模块、 封装发送模块、 接收解析模块和身 份标识管理模块, 其中: 界面模块设置成: 接收用户输入的消息或命令, 并通知封装发送模块, 还设置成: 将收到的即时通讯消息通知用户; 封装发送模块, 与所述界面模块连接, 并设置成: 从所述身份标识管理 模块获取本端的身份标识(AID )及对端的 AID, 生成即时通讯消息, 所述 即时通讯消息的源地址和目的地址分别是所述本端的 AID及对端的 AID; 以 及, 发送所生成的即时通讯消息; 接收解析模块, 与所述界面模块连接, 并设置成: 接收并解析收到的即 时通讯消息, 并将该收到的即时通讯消息发送给界面模块; 身份标识管理模块, 与所述封装发送模块连接, 并设置成: 管理本端及 其对端的 AID。
11、 如权利要求 10所述的系统, 其中: 所述即时通讯消息包括根据输入的即时信息生成的即时消息、 根据输入 的命令生成的请求加为好友或邀请加入群组的请求消息。
12、如权利要求 10所述的系统, 其中, 所述终端还包括与所述封装发送 模块和接收解析模块连接的状态维护模块 ,
所述即时通讯消息还包括所述封装发送模块根据状态维护信息生成的状 态维护消息; 所述接收解析模块还设置成:若解析后的即时通讯消息是状态维护信息, 将该状态维护信息发送给状态维护模块; 所述状态维护模块设置成:保存当前即时通讯用户及其通信对象的状态, 根据状态维护策略生成表明当前即时通讯状态的状态维护信息, 并通知封装 发送模块; 还设置成: 接收所述接收解析模块发送的状态维护信息进行状态 维护。
13、 如权利要求 10所述的系统, 其中: 所述封装发送模块还设置成: 在发送所述即时通讯消息前, 查询所述对 端的状态, 如果所述对端是非活动态, 则通知界面模块进行提示或监控对端 状态为活动态时再发送。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910204401.8 | 2009-09-30 | ||
CN2009102044018A CN102035655A (zh) | 2009-09-30 | 2009-09-30 | 端到端即时通讯的实现方法、端到端即时通讯终端及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011038639A1 true WO2011038639A1 (zh) | 2011-04-07 |
Family
ID=43825547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2010/076959 WO2011038639A1 (zh) | 2009-09-30 | 2010-09-15 | 端到端即时通讯的实现方法、端到端即时通讯终端及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102035655A (zh) |
WO (1) | WO2011038639A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104640138A (zh) * | 2013-11-13 | 2015-05-20 | 中国移动通信集团广东有限公司 | 一种定位问题终端的方法及装置 |
CN106789597A (zh) * | 2017-01-17 | 2017-05-31 | 北京三快在线科技有限公司 | 即时通讯消息转发方法及装置、显示方法及装置 |
CN111404893A (zh) * | 2020-03-06 | 2020-07-10 | 深信服科技股份有限公司 | 一种主机分类方法、装置、设备及计算机存储介质 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102325327B (zh) * | 2011-05-24 | 2014-01-01 | 北京交通大学 | 蜂窝与端到端混合网络的多小区干扰抑制方法 |
CN104821908B (zh) * | 2015-04-08 | 2017-11-28 | 北京北信源软件股份有限公司 | 支持专享服务的即时通信方法和系统 |
CN104811370B (zh) * | 2015-04-27 | 2018-05-08 | 北京北信源软件股份有限公司 | 一种基于标识的安全即时通信系统架构 |
CN109768918B (zh) * | 2019-01-16 | 2022-06-24 | 北京众纳鑫海网络技术有限公司 | 用于实现即时消息通信的方法和装置 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115233A (zh) * | 2007-09-05 | 2008-01-30 | 侯万春 | 移动通信客户端与客户端通信服务器及通信实现的方法 |
CN101296194A (zh) * | 2007-04-26 | 2008-10-29 | 中国移动通信集团公司 | 即时消息互通方法、即时消息网关及即时消息服务器 |
WO2009089772A1 (fr) * | 2008-01-11 | 2009-07-23 | Huawei Technologies Co., Ltd. | Procédé de recherche d'un dispositif de réseau et dispositif de réseau |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100550864C (zh) * | 2005-01-19 | 2009-10-14 | 华为技术有限公司 | 一种端到端信息交互的实现方法 |
CN100428719C (zh) * | 2006-01-23 | 2008-10-22 | 北京交通大学 | 一种基于身份与位置分离的互联网接入方法 |
CA2689371C (en) * | 2007-06-01 | 2014-02-11 | Research In Motion Limited | System and method for managing mobile-terminated (mt) calls in ims network environment using alternative signaling |
CN101483600B (zh) * | 2009-02-19 | 2012-05-23 | 北京交通大学 | 实现一体化网络归属域信息扩散的方法 |
-
2009
- 2009-09-30 CN CN2009102044018A patent/CN102035655A/zh active Pending
-
2010
- 2010-09-15 WO PCT/CN2010/076959 patent/WO2011038639A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101296194A (zh) * | 2007-04-26 | 2008-10-29 | 中国移动通信集团公司 | 即时消息互通方法、即时消息网关及即时消息服务器 |
CN101115233A (zh) * | 2007-09-05 | 2008-01-30 | 侯万春 | 移动通信客户端与客户端通信服务器及通信实现的方法 |
WO2009089772A1 (fr) * | 2008-01-11 | 2009-07-23 | Huawei Technologies Co., Ltd. | Procédé de recherche d'un dispositif de réseau et dispositif de réseau |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104640138A (zh) * | 2013-11-13 | 2015-05-20 | 中国移动通信集团广东有限公司 | 一种定位问题终端的方法及装置 |
CN104640138B (zh) * | 2013-11-13 | 2018-10-23 | 中国移动通信集团广东有限公司 | 一种定位问题终端的方法及装置 |
CN106789597A (zh) * | 2017-01-17 | 2017-05-31 | 北京三快在线科技有限公司 | 即时通讯消息转发方法及装置、显示方法及装置 |
CN106789597B (zh) * | 2017-01-17 | 2021-06-11 | 北京三快在线科技有限公司 | 即时通讯消息转发方法及装置、显示方法及装置 |
CN111404893A (zh) * | 2020-03-06 | 2020-07-10 | 深信服科技股份有限公司 | 一种主机分类方法、装置、设备及计算机存储介质 |
CN111404893B (zh) * | 2020-03-06 | 2021-12-21 | 深信服科技股份有限公司 | 一种主机分类方法、装置、设备及计算机存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN102035655A (zh) | 2011-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10454762B2 (en) | System and method of processing media traffic for a hub-based system federating disparate unified communications systems | |
EP1730895B1 (en) | Presence-based management in a communication network | |
US9307039B2 (en) | Method, system, push client, and user equipment for service communication | |
Jennings et al. | A study of internet instant messaging and chat protocols | |
US20140040404A1 (en) | System and method for federating chat rooms across disparate unified communications systems | |
KR101368615B1 (ko) | 단대단 콜의 구현 방법, 단대단 콜 터미널 및 시스템 | |
CN105376299B (zh) | 一种网络通信方法、设备及网络附属存储设备 | |
EP3208760B1 (en) | Hub based clearing house for interoperability of distinct unified communications systems | |
US20030131061A1 (en) | Transparent proxy server for instant messaging system and methods | |
US20070078986A1 (en) | Techniques for reducing session set-up for real-time communications over a network | |
WO2011038639A1 (zh) | 端到端即时通讯的实现方法、端到端即时通讯终端及系统 | |
US20100017500A1 (en) | Methods and systems for peer-to-peer proxy sharing | |
JP2013506358A5 (zh) | ||
CN102801742A (zh) | 一种基于xmpp协议的通讯系统及其方法 | |
WO2021169291A1 (zh) | 发布路由的方法、网元、系统及设备 | |
WO2009009967A1 (fr) | Système, composant et procédé de messagerie instantanée pour des services supplémentaires | |
EP3055953A1 (en) | Federating chat rooms across disparate unified communications systems | |
Moritz et al. | Devices profile for web services in wireless sensor networks: Adaptations and enhancements | |
Greene et al. | Instant messaging & presence management in mobile adhoc networks | |
Jeong et al. | Lisp controller: a centralized lisp management system for isp networks | |
Taniguchi et al. | Design and Evaluation of a Proxy‐Based Monitoring System for OpenFlow Networks | |
US20080141343A1 (en) | Method, system and apparatus for access control | |
KR100804901B1 (ko) | 동등계층 통신을 이용한 인스턴트 메신저 서비스 방법 | |
WO2022012355A1 (zh) | 安全通信方法、相关装置及系统 | |
WO2016179538A1 (en) | System and method of processing media traffic for a hub-based system federating disparate unified communications systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 10819868 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 10819868 Country of ref document: EP Kind code of ref document: A1 |