CN101237442A - Method, system and device for terminal identification analysis and service transmission in integrated network - Google Patents
Method, system and device for terminal identification analysis and service transmission in integrated network Download PDFInfo
- Publication number
- CN101237442A CN101237442A CN 200710002483 CN200710002483A CN101237442A CN 101237442 A CN101237442 A CN 101237442A CN 200710002483 CN200710002483 CN 200710002483 CN 200710002483 A CN200710002483 A CN 200710002483A CN 101237442 A CN101237442 A CN 101237442A
- Authority
- CN
- China
- Prior art keywords
- terminal
- source terminal
- identification
- service
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种一体化网络中终端标识解析方法,该方法包括:A.接收源终端发送的请求报文,所述请求报文中包括该源终端请求的服务标识;B.从预先保存的终端标识与终端所支持的服务标识的对应关系中查找出所述源终端请求的服务标识所对应的目的终端标识;C.向所述源终端返回回复报文,所述回复报文包括所述目的终端标识。通过本发明方法,实现了终端标识解析的过程,并且为外网的源终端接入一体化网络提供了良好的支持;另外实现了对标识的有效鉴权保证了标识的合法性和权威性,使网络数据传输的安全性得到保证。本发明还公开了一种一体化网络中终端标识解析系统、装置和一种一体化网络中业务传输的方法、系统及装置。
The invention discloses a method for analyzing terminal identifiers in an integrated network. The method includes: A. receiving a request message sent by a source terminal, the request message including the service identifier requested by the source terminal; B. Find out the target terminal identifier corresponding to the service identifier requested by the source terminal from the corresponding relationship between the terminal identifier and the service identifier supported by the terminal; C. return a reply message to the source terminal, and the reply message includes the Describe the destination terminal ID. Through the method of the present invention, the terminal identification analysis process is realized, and good support is provided for the source terminal of the external network to access the integrated network; in addition, the effective authentication of the identification is realized to ensure the legality and authority of the identification, The security of network data transmission is guaranteed. The invention also discloses a terminal identification analysis system and device in the integrated network, and a service transmission method, system and device in the integrated network.
Description
技术领域 technical field
本发明涉及网络传输技术,尤其涉及一种一体化网络中终端标识解析和业务传输的方法、系统及装置。The present invention relates to network transmission technology, in particular to a method, system and device for terminal identification analysis and service transmission in an integrated network.
背景技术 Background technique
一体化网络是下一代网络(NGN)中的典型代表,它能够融合现有各种网络的优点,良好支持多种不同业务的传输。一体化网络中包括各种由运营商或第三方增值服务商提供的网络服务业务,各种服务业务采用唯一的服务标识进行识别,同时一体化网络中的终端也采用唯一的终端标识进行识别。The integrated network is a typical representative of the next generation network (NGN), which can integrate the advantages of various existing networks and well support the transmission of many different services. The integrated network includes various network service services provided by operators or third-party value-added service providers. Various service services are identified by unique service identifiers, and terminals in the integrated network are also identified by unique terminal identifiers.
在传统网络中,主要是通过域名系统(DNS)、动态主机配置协议(DHCP)或动态域名解析系统(DDNS)实现IP地址与域名的对应,即实现基于IP地址的解析。In traditional networks, the correspondence between IP addresses and domain names is mainly realized through Domain Name System (DNS), Dynamic Host Configuration Protocol (DHCP) or Dynamic Domain Name Resolution System (DDNS), that is, resolution based on IP addresses.
DNS技术是一个分布式数据库,它允许对整个数据库的各个部分进行本地控制。同时,整个网络也能通过客户-服务器方式访问每个部分的数据。DNS technology is a distributed database that allows local control over various parts of the entire database. At the same time, the entire network can also access the data of each part through the client-server method.
DHCP是由因特网工程任务组(IETF)设计的,目的就是为了减轻传输层控制协议/网络互连协议(TCP/IP)网络的规划、管理和维护的负担,解决IP地址空间缺乏问题。目前DHCP技术的运行机理大致如下:使用DHCP的服务器将TCP/IP的网络设置集中后向请求接入的终端动态进行IP地址的分配,基本上不需要网络管理人员的人为干预。而且,DHCP为自举协议(BOOTP)的扩展,可以支持需要网络配置报文的无盘工作站,和需要固定IP的系统。DHCP was designed by the Internet Engineering Task Force (IETF) to reduce the burden of planning, management and maintenance of the Transport Layer Control Protocol/Internet Interconnection Protocol (TCP/IP) network, and to solve the problem of lack of IP address space. The operating mechanism of the current DHCP technology is roughly as follows: use the DHCP server to centralize the TCP/IP network settings and then dynamically assign IP addresses to terminals requesting access, basically without human intervention by network managers. Moreover, DHCP is an extension of the Bootstrap Protocol (BOOTP), which can support diskless workstations that require network configuration messages, and systems that require fixed IPs.
DDNS一般由两部分构成,第一部分是位于DNS服务器,另一部分是DHCP服务器。在每次用户连接网络的时候,DHCP服务器就会通过报文传递将动态IP地址分配给运行DHCP源终端程序的主机,即终端A,同时DHCP服务器通过报文交互获取终端A的域名,然后DHCP服务器将为终端A分配的动态IP地址传送给DNS服务器,DNS服务器立即更新数据,将新的IP地址和终端A域名绑定,这样就完成了动态域名解析的服务,其他主机可以通过域名访问终端A了。DDNS generally consists of two parts, the first part is located in the DNS server, and the other part is the DHCP server. Every time a user connects to the network, the DHCP server will assign a dynamic IP address to the host running the DHCP source terminal program, that is, terminal A, through message delivery. At the same time, the DHCP server obtains the domain name of terminal A through message interaction, and then DHCP The server will transmit the dynamic IP address assigned by terminal A to the DNS server, and the DNS server will immediately update the data and bind the new IP address to the domain name of terminal A, thus completing the service of dynamic domain name resolution, and other hosts can access the terminal through the domain name A's.
由于在一体化网络中并不是使用IP地址作为终端标识,所以无法通过上述方法实现一体化网络中的终端标识解析。同时,传统的DNS等技术无法指示网络服务、网络资源与主机身份标识之间的对应关系,因此利用这些现有的技术也无法实现一体化网络中终端标识与服务标识的对应。Since the IP address is not used as the terminal identifier in the integrated network, the resolution of the terminal identifier in the integrated network cannot be realized through the above method. At the same time, traditional technologies such as DNS cannot indicate the correspondence between network services, network resources, and host identifiers. Therefore, using these existing technologies cannot realize the correspondence between terminal identifiers and service identifiers in an integrated network.
现有的关于域名解析和资源查找的方法除了上述的如DNS方法的中心服务器方法以外,还有各个主机间对等方式的无中心基础设施查找方法,如点对点(P2P)方法。In addition to the above-mentioned central server method such as the DNS method, the existing methods for domain name resolution and resource search also have a non-central infrastructure search method in a peer-to-peer manner between hosts, such as the peer-to-peer (P2P) method.
P2P方式是没有中央控制和分级结构的分布式网络系统,它由若干个互联协作的节点构成,每个节点都同时扮演服务器和源终端的角色,它们之间运行相同的资源查找算法,通过一定的查找规则找到相应的具有特定资源的节点。如图1所示,以相容散列算法为例,说明域名解析和资源查找的过程。该算法提出了一种散列函数的快速分布式计算方法,给定一些关键字,将关键字映射到系统中可靠的节点上,通过使用相容散列函数的方法确保所有的节点都能够接收到数量基本相同的关键字。网络中的每个节点只需要知道其他少量节点的资源信息,在进行查找时,节点将依次查询其后继节点,直到找到关键字或遍历完整个网络为止。例如当节点N8需要查询关键字为k54的资源记录时,它首先根据自己储存的资源记录表,发现节点N42具有其资源记录中最接近关键字k54的关键字,则询问节点N42,看N42是否知道哪个节点更接近关键字k54,通过重复这个过程,节点N8最终能够知道关键字为k54的资源记录的存储位置。查找过程如图2所示。The P2P method is a distributed network system without central control and hierarchical structure. It is composed of several interconnected and cooperative nodes. Each node plays the role of server and source terminal at the same time. They run the same resource search algorithm. The lookup rule for finds the corresponding node with a specific resource. As shown in Figure 1, the compatible hash algorithm is taken as an example to illustrate the process of domain name resolution and resource search. This algorithm proposes a fast distributed computing method for hash functions. Given some keywords, map the keywords to reliable nodes in the system, and ensure that all nodes can receive to roughly the same number of keywords. Each node in the network only needs to know the resource information of a small number of other nodes. When searching, the node will query its successor nodes in turn until the keyword is found or the entire network is traversed. For example, when node N8 needs to inquire about a resource record whose keyword is k54, it first finds that node N42 has the keyword closest to keyword k54 in its resource record according to its own stored resource record table, and then asks node N42 to see if N42 Knowing which node is closer to the key k54, by repeating this process, the node N8 can finally know the storage location of the resource record whose key is k54. The search process is shown in Figure 2.
P2P方法可以应用在传统网络中也可以应用在一体化网络中,不需要中心基础设施服务器的支持,但是,由于P2P方式没有中心服务器负责这些资源记录的统一管理和鉴权,使得资源记录的权威性无法得到保障,如果有节点恶意向网络声称自己存储或支持某种关键字的服务则其他节点无法对其进行验证;同时网络的安全性无法得到保证,如果网络中某节点被恶意攻击则无法提供该节点的解析和查找服务;这种对等分布式的资源存储格式不利于管理,当有新节点进入或有节点退出时,其余节点很难在短时间内获得报文来进行资源记录表的修改;另外P2P方法无法实现在一体化网络中的基于终端标识的解析和资源查找。The P2P method can be applied in the traditional network or in the integrated network without the support of the central infrastructure server. However, since the P2P method does not have a central server responsible for the unified management and authentication of these resource records, the authority of the resource records The security of the network cannot be guaranteed. If a node maliciously claims to the network that it stores or supports a certain keyword service, other nodes cannot verify it; at the same time, the security of the network cannot be guaranteed. If a node in the network is maliciously attacked, it cannot Provide analysis and search services for this node; this peer-to-peer distributed resource storage format is not conducive to management. When a new node enters or a node exits, it is difficult for other nodes to obtain messages in a short time to perform resource records. modification; in addition, the P2P method cannot realize the analysis and resource search based on the terminal identification in the integrated network.
发明内容 Contents of the invention
本发明实施例提供一种一体化网络中终端标识解析和业务传输的方法及系统,以解决现有技术中存在的无法在一体化网络中实现基于终端标识的解析问题。Embodiments of the present invention provide a method and system for terminal identification analysis and service transmission in an integrated network, so as to solve the problem in the prior art that terminal identification-based analysis cannot be implemented in an integrated network.
本发明实施例提供一种一体化网络中终端标识解析方法,该方法包括以下步骤:An embodiment of the present invention provides a terminal identification analysis method in an integrated network, the method includes the following steps:
A.接收源终端发送的请求报文,所述请求报文中包括该源终端请求的服务标识;A. receiving the request message sent by the source terminal, the request message including the service identifier requested by the source terminal;
B.从预先保存的终端标识与终端所支持的服务标识的对应关系中查找出所述源终端请求的服务标识所对应的目的终端标识;B. Find out the target terminal identifier corresponding to the service identifier requested by the source terminal from the correspondence between the pre-saved terminal identifier and the service identifier supported by the terminal;
C.向所述源终端返回回复报文,所述回复报文包括所述目的终端标识。C. Returning a reply message to the source terminal, where the reply message includes the destination terminal identifier.
本发明实施例还提供一种一体化网络中终端标识解析系统,该系统包含标识服务器、源终端和一个以上目的终端,其中,The embodiment of the present invention also provides a terminal identification analysis system in an integrated network, the system includes an identification server, a source terminal and more than one destination terminal, wherein,
所述源终端,the source terminal,
包括第一发送单元,用于将请求报文发送给所述标识服务器,该请求报文中包括该源终端请求的服务标识;以及including a first sending unit, configured to send a request message to the identification server, where the request message includes the service identification requested by the source terminal; and
接收单元,用于接收所述标识服务器针对该请求报文返回的包括目的终端标识的回复报文;a receiving unit, configured to receive a reply message including the destination terminal identifier returned by the identification server to the request message;
所述标识服务器,用于在接收到所述源终端发送的请求报文后,从预先保存的终端标识与终端所支持的服务标识的对应关系中查找出所述源终端请求的服务标识所对应的目的终端标识,并向所述源终端返回回复报文,所述回复报文包括所述目的终端标识。The identification server is configured to, after receiving the request message sent by the source terminal, find out the corresponding relationship between the service identification requested by the source terminal from the pre-stored correspondence between the terminal identification and the service identification supported by the terminal. and return a reply packet to the source terminal, where the reply packet includes the destination terminal identifier.
本发明实施例还提供一种一体化网络中业务传输方法,应用于包含标识服务器和至少两个终端的系统中,该方法包括以下步骤:The embodiment of the present invention also provides a service transmission method in an integrated network, which is applied to a system including an identification server and at least two terminals, and the method includes the following steps:
A.源终端将请求报文发送给所述标识服务器,该请求报文中包括该源终端请求的服务标识;A. The source terminal sends a request message to the identification server, and the request message includes the service identification requested by the source terminal;
B.所述标识服务器从预先保存的终端标识与该终端所支持的服务标识的对应关系中查找出所述源终端请求的服务标识所对应的目的终端标识;B. The identity server finds out the destination terminal identity corresponding to the service identity requested by the source terminal from the correspondence between the pre-saved terminal identity and the service identity supported by the terminal;
C.所述标识服务器向所述源终端返回回复报文,所述回复报文包括所述目的终端标识;C. The identification server returns a reply message to the source terminal, and the reply message includes the target terminal identification;
D.所述源终端建立与所述目的终端标识对应的目的终端之间的连接,并进行业务传输。D. The source terminal establishes a connection between destination terminals corresponding to the destination terminal identifier, and performs service transmission.
本发明实施例还提供一种一体化网络中业务传输系统,该系统包含标识服务器、源终端和一个以上目的终端,其中The embodiment of the present invention also provides a service transmission system in an integrated network, the system includes an identification server, a source terminal and more than one destination terminal, wherein
所述源终端,包括:The source terminal includes:
第一发送单元,用于将请求报文发送给所述标识服务器,该请求报文中包括该源终端请求的服务标识;以及a first sending unit, configured to send a request message to the identification server, where the request message includes the service identification requested by the source terminal; and
接收单元,用于接收所述标识服务器针对该请求报文返回的包括目的终端标识的回复报文;a receiving unit, configured to receive a reply message including the destination terminal identifier returned by the identification server to the request message;
业务请求单元,用于建立与所述目的终端标识对应的目的终端之间的连接,并进行业务传输,该请求报文中包括该源终端请求的服务标识;A service request unit, configured to establish a connection between destination terminals corresponding to the destination terminal identifier, and perform service transmission, and the request message includes the service identifier requested by the source terminal;
所述标识服务器,用于从预先保存的终端标识与该终端所支持的服务标识的对应关系中查找出所述源终端请求的服务标识所对应的目的终端标识,并向所述源终端返回回复报文,所述回复报文包括所述目的终端标识;The identification server is configured to find out the target terminal identification corresponding to the service identification requested by the source terminal from the pre-saved correspondence between the terminal identification and the service identification supported by the terminal, and return a reply to the source terminal message, the reply message includes the target terminal identifier;
所述目的终端,用于与所述源终端之间建立连接,并进行业务传输。The destination terminal is configured to establish a connection with the source terminal and perform service transmission.
本发明实施例还提供一种终端,应用于包含标识服务器的一体化网络中,所述终端包括:The embodiment of the present invention also provides a terminal, which is applied to an integrated network including an identification server, and the terminal includes:
第一发送单元,用于向所述标识服务器发送请求报文,所述请求报文中包括该终端请求的服务标识;a first sending unit, configured to send a request message to the identification server, where the request message includes the service identification requested by the terminal;
接收单元,用于接收所述标识服务器针对该请求报文返回的回复报文,所述回复报文包括所述终端请求的服务标识所对应的目的终端标识。The receiving unit is configured to receive a reply message returned by the identification server to the request message, where the reply message includes the target terminal identification corresponding to the service identification requested by the terminal.
本发明实施例还提供一种标识服务器,应用于包含至少两个终端的一体化网络中,所述标识服务器包括:An embodiment of the present invention also provides an identification server, which is applied to an integrated network including at least two terminals, and the identification server includes:
第一接收单元,用于接收所述终端发送的请求报文,该请求报文中包括该终端请求的服务标识;a first receiving unit, configured to receive a request message sent by the terminal, where the request message includes a service identifier requested by the terminal;
所述查找单元,用于根据该请求报文从预先保存的终端的标识与终端所支持的服务标识的对应关系中查找出所述终端请求的服务标识所对应的终端标识,并向该终端返回回复报文,所述回复报文包括所述请求的服务标识所对应的终端标识。The search unit is configured to find out the terminal identifier corresponding to the service identifier requested by the terminal from the pre-saved correspondence between the terminal identifier and the service identifier supported by the terminal according to the request message, and return to the terminal A reply message, where the reply message includes the terminal identifier corresponding to the requested service identifier.
本发明实施例通过源终端将请求报文发送给所述标识服务器后,该请求报文中包括该源终端请求的服务标识,由标识服务器从预先保存的终端标识与该终端所支持的服务标识的对应关系中查找出所述源终端请求的服务标识所对应的目的终端标识,并将包括该目的终端标识的回复报文返回给源终端的方法,实现了一体化网络中终端标识的解析过程,在此基础上,源终端根据目的终端的标识与该目的终端建立连接进行业务传输,则实现了一体化网络中业务传输的过程。通过以上方法,为外网的源终端接入一体化网络提供了良好的支持,有利于实现一体化网络与现有各种网络的兼容和互通;另外实现了对标识的有效鉴权保证了标识的合法性和权威性,使网络数据传输的安全性得到保证。In the embodiment of the present invention, after the source terminal sends the request message to the identification server, the request message includes the service identification requested by the source terminal, and the identification server uses the pre-saved terminal identification and the service identification supported by the terminal The method of finding out the destination terminal identifier corresponding to the service identifier requested by the source terminal in the corresponding relationship, and returning the reply message including the destination terminal identifier to the source terminal realizes the analysis process of the terminal identifier in the integrated network On this basis, the source terminal establishes a connection with the destination terminal according to the identifier of the destination terminal to perform service transmission, thus realizing the process of service transmission in the integrated network. Through the above method, it provides good support for the source terminal of the external network to access the integrated network, which is conducive to realizing the compatibility and intercommunication between the integrated network and various existing networks; The legitimacy and authority of the network guarantee the security of network data transmission.
附图说明 Description of drawings
图1为现有技术中P2P方式的相容散列方法的资源查找过程示意图;FIG. 1 is a schematic diagram of a resource search process of a P2P compatible hash method in the prior art;
图2为现有技术中P2P方式的相容散列方法的资源查找过程示意图;FIG. 2 is a schematic diagram of the resource search process of the compatible hash method in the P2P mode in the prior art;
图3为本发明实施例中一体化网络中终端标识解析系统结构示意图;3 is a schematic structural diagram of a terminal identification analysis system in an integrated network in an embodiment of the present invention;
图4为本发明实施例1中终端标识解析方法步骤流程示意图;FIG. 4 is a schematic flow chart of the steps of the terminal identification analysis method in
图5为本发明实施例1中扩展的DHCP协议的Request报文格式示意图;Fig. 5 is a schematic diagram of the Request message format of the extended DHCP protocol in
图6为本发明实施例1中扩展的DHCP协议的Reply报文格式示意图;Fig. 6 is a schematic diagram of the Reply message format of the extended DHCP protocol in
图7为本发明实施例1中的扩展的DHCP协议的ID UPDATE报文格式示意图;Fig. 7 is the schematic diagram of the ID UPDATE message format of the extended DHCP agreement among the embodiment of the
图8为本发明实施例2中实体结构示意图;Fig. 8 is a schematic diagram of the entity structure in
图9为本发明实施例2中终端标识解析方法步骤流程示意图;FIG. 9 is a schematic flow chart of the steps of the terminal identification analysis method in
图10为本发明实施例2中扩展的DHCP协议的Reply报文格式示意图;FIG. 10 is a schematic diagram of the Reply message format of the extended DHCP protocol in
图11为本发明实施例2中扩展的DHCP协议的ID UPDATE报文结构示意图;Fig. 11 is the ID UPDATE message structural representation of the extended DHCP agreement in the embodiment of the
图12为本发明实施例中一种一体化网络中的业务传输系统结构示意图;FIG. 12 is a schematic structural diagram of a service transmission system in an integrated network in an embodiment of the present invention;
图13为本发明实施例中一种终端结构示意图;FIG. 13 is a schematic structural diagram of a terminal in an embodiment of the present invention;
图14为本发明实施例中一种标识服务器结构示意图。Fig. 14 is a schematic structural diagram of an identification server in an embodiment of the present invention.
具体实施方式 Detailed ways
当源终端将请求报文发送给标识服务器后,由该标识服务器从预先保存的终端标识与该终端所支持的服务标识的对应关系中查找出源终端请求的服务标识所对应的目的终端标识,并向源终端返回回复报文,该请求报文中包括该源终端请求的服务标识,回复报文包括所述目的终端标识,这样就实现了一体化网络中终端标识解析的过程;在此基础上,源终端根据目的终端标识建立与目的终端之间的连接,并进行业务传输,即实现了一体化网络中业务传输的过程。After the source terminal sends the request message to the identification server, the identification server finds out the destination terminal identification corresponding to the service identification requested by the source terminal from the correspondence between the pre-saved terminal identification and the service identification supported by the terminal, And return a reply message to the source terminal, the request message includes the service identifier requested by the source terminal, and the reply message includes the target terminal identifier, so that the process of terminal identifier resolution in the integrated network is realized; on this basis Above, the source terminal establishes a connection with the destination terminal according to the destination terminal identifier, and performs service transmission, which realizes the process of service transmission in the integrated network.
下面结合说明书附图对本发明实施例作进一步详细描述。The embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.
如图3所示,为本发明实施例一体化网络中终端标识解析系统结构示意图,该系统包含标识服务器11、源终端12和一个以上目的终端。其中,源终端12包括第一发送单元和接收单元,第一发送单元用于将请求报文发送给标识服务器11,该请求报文中包括该源终端请求的服务标识;接收单元用于接收标识服务器11针对该请求报文返回的包括目的终端标识的回复报文;标识服务器11用于在接收到所述源终端发送的请求报文后,从预先保存的终端标识与该终端所支持的服务标识的对应关系中查找出源终端12请求的服务标识所对应的目的终端标识,并向所述源终端12返回回复报文,所述回复报文包括所述目的终端标识。As shown in FIG. 3 , it is a schematic structural diagram of a terminal identification analysis system in an integrated network according to an embodiment of the present invention. The system includes an identification server 11 , a source terminal 12 and more than one destination terminal. Wherein, the source terminal 12 includes a first sending unit and a receiving unit, the first sending unit is used to send a request message to the identification server 11, the request message includes the service identification requested by the source terminal; the receiving unit is used to receive the identification The server 11 returns a reply message including the destination terminal identifier for the request message; after receiving the request message sent by the source terminal, the identification server 11 is used to select the terminal identifier from the pre-saved terminal identifier and the service supported by the terminal. Find out the destination terminal identifier corresponding to the service identifier requested by the source terminal 12 from the corresponding relationship of the identifiers, and return a reply message to the source terminal 12, the reply message including the destination terminal identifier.
源终端12还包括第二发送单元,还用于当所述回复报文中还包括请求的服务标识,且该请求的服务标识与自身请求的服务标识相同时,确认所述回复报文中的信息,并将标识更新报文发送给所述标识服务器11,其中所述标识更新报文包括所述源终端标识和该源终端所支持的服务标识的对应关系;标识服务器11还用于接收所述源终端发送的标识更新报文,并当没有保存所述源终端标识和该源终端所支持的服务标识的对应关系时,将该对应关系保存。The source terminal 12 also includes a second sending unit, which is further configured to confirm the service identifier in the reply message when the request service identifier is also included in the reply message, and the service identifier of the request is the same as the service identifier requested by itself. information, and send an identity update message to the identity server 11, wherein the identity update message includes the corresponding relationship between the source terminal identity and the service identity supported by the source terminal; the identity server 11 is also used to receive the The identification update message sent by the source terminal, and if the corresponding relationship between the source terminal identification and the service identification supported by the source terminal is not saved, the corresponding relationship is saved.
当所述系统还包含标识鉴别服务器13时,所述标识服务器11还用于向标识鉴别服务器13发送所述标识更新报文;标识鉴别服务器13用于接收所述标识服务器转发的标识更新报文,并当没有保存所述源终端标识和该源终端所支持的服务标识的对应关系时,将该对应关系保存,以及设定该对应关系的生存时间,当生存时间到达后将该保存的对应关系删除。When the system further includes an
当源终端12不为一体化网络中的终端时,所述标识鉴别服务器13还用于将未分配的终端标识发送给标识服务器11;所述标识服务器11还用于从所述未分配的终端标识中选取一个分配给源终端12作为一体化网络中的终端标识。When the source terminal 12 is not a terminal in the integrated network, the
在本发明实施例中,将发起请求报文的终端称为源终端,将能够提供所述源终端请求的服务的终端称为目的终端。In the embodiment of the present invention, the terminal that initiates the request message is called the source terminal, and the terminal that can provide the service requested by the source terminal is called the destination terminal.
本发明实施例中的一体化网络中终端标识解析方法应用于包含标识服务器和至少两个终端的系统中,首先接收源终端发送的请求报文,该请求报文中包括所述源终端请求的服务标识,然后从预先保存的终端的标识与该终端所支持的服务标识的对应关系中查找出所述源终端请求的服务标识所对应的目的终端标识,并向所述源终端返回回复报文,所述回复报文包括所述目的终端标识。下面对本发明实施例中方法作进一步详细描述。The terminal identification analysis method in the integrated network in the embodiment of the present invention is applied to a system including an identification server and at least two terminals, and first receives the request message sent by the source terminal, and the request message includes the requested information of the source terminal. service identifier, and then find out the destination terminal identifier corresponding to the service identifier requested by the source terminal from the correspondence between the pre-saved terminal identifier and the service identifier supported by the terminal, and return a reply message to the source terminal , the reply packet includes the destination terminal identifier. The method in the embodiment of the present invention will be further described in detail below.
实施例1为一体化网络内部源终端发起服务请求时终端标识的解析过程,如图4所示,为本发明实施例1中步骤流程示意图,该方法包括以下步骤:
步骤401:目的终端标识分配过程,该过程包括以下步骤:Step 401: the process of assigning the target terminal identifier, which includes the following steps:
步骤A1:安装有扩展DHCP协议的所述内部源终端向同样安装有扩展DHCP协议的标识服务器发送请求(Request)报文,该Request报文中包含了源终端标识、该源终端所支持的服务标识和请求的服务标识,由于该源终端是一体化网络内部的,事先已经分配了终端标识,所以不需要由标识服务器再分配了。Step A1: The internal source terminal installed with the extended DHCP protocol sends a request (Request) message to the identification server also installed with the extended DHCP protocol, and the Request message includes the source terminal identification, the service supported by the source terminal The ID and the requested service ID, since the source terminal is inside the integrated network, the terminal ID has been allocated in advance, so it does not need to be re-allocated by the ID server.
步骤A2:标识服务器接收到Request报文后,从预先保存的包含一个以上终端的系统中的终端标识与该终端所支持的服务标识的对应关系中查询是否保存有能够提供该Request报文中请求的服务的目的终端,即查询是否保存所述源终端请求的服务标识所对应的目的终端标识。若保存,则该标识服务器向源终端发送回复(Reply)报文,该Reply报文中包括请求的服务标识以及一个或多个请求的服务标识所对应的目的终端标识,即告知源终端能够向其提供请求的服务的目的终端标识;若未保存,则该标识服务器仍然向源终端发送Reply报文,在状态码字段中包含失败(UnspecFail)信息,告知源终端不存在能向其提供请求的服务的目的终端。Step A2: After the identification server receives the Request message, it inquires from the pre-saved correspondence between the terminal identification in the system containing more than one terminal and the service identification supported by the terminal whether there is any information that can provide the request in the Request message. The destination terminal of the service, that is, query whether to store the destination terminal identifier corresponding to the service identifier requested by the source terminal. If saved, the identification server sends a reply (Reply) message to the source terminal, which includes the requested service identification and the target terminal identification corresponding to one or more requested service identifications, that is, informs the source terminal that it can send a message to the source terminal. It provides the target terminal identification of the requested service; if it is not saved, the identification server still sends a Reply message to the source terminal, and contains failure (UnspecFail) information in the status code field, informing the source terminal that there is no other terminal that can provide it with the request. The destination terminal of the service.
如图5所示,为本发明实施例1中扩展的DHCP协议的Request报文格式示意图,其中,选项码字段定义了源终端主机的名称,选项长度值可以为128,终端标识的长度是一个唯一的128位长字符串,终端标识定义了源终端的标识,服务标识定义了源终端所支持的服务的标识,请求服务标识定义了源终端请求的服务的标识,为了方便应用,该源终端所能支持的服务标识和请求的服务标识不到128位时,多余的位数可以由0位填充。As shown in Figure 5, it is a schematic diagram of the Request message format of the extended DHCP protocol in
如图6所示,为本发明实施例1中扩展的DHCP协议的Reply报文格式示意图,其中,选项码字段定义了标识服务器的名称,选项长度为标识服务器名称的长度,状态码字段定义了现在报文的状态,例如,若标识服务器查询到已保存了请求的服务标识与目的终端标识的对应关系时,该状态码字段为成功(success)信息,若未保存请求的服务标识与目的终端标识的对应关系时,该状态码字段为UnspecFail信息,终端标识定义了标识服务器的终端标识,服务标识定义了标识服务器所保存的源终端请求的服务标识,目的终端标识定义了支持该请求的服务标识的终端。As shown in Figure 6, it is a schematic diagram of the Reply message format of the extended DHCP protocol in
步骤402:标识服务器与源终端交互协商是否进行标识更新过程,该过程包括以下步骤:Step 402: The identification server and the source terminal interact and negotiate whether to perform an identification update process, which includes the following steps:
步骤A3:当源终端接收到Reply报文后,要对该Reply报文中的信息进行确认。例如,当Reply报文中还包括请求的服务标识,且该请求的服务标识与Request报文中的请求的服务标识相同时,则源终端确认Reply报文中的信息,对Reply报文中的相关选项信息表示接受,向标识服务器发送一个标识更新(ID_UPDATE)报文,进行标识更新,该ID_UPDATE报文至少包括源终端标识和该源终端所支持的服务标识的对应关系。若源终端对收到的Reply报文中的相关选项信息不接受,如Reply报文中的请求的服务标识与Request报文中的请求的服务标识不一致的情况下,则向标识服务器发送一个Reply报文,其中选项的内容与收到的一致,但状态码字段改为UnspecFail,此时停止更新过程。Step A3: After receiving the Reply message, the source terminal needs to confirm the information in the Reply message. For example, when the Reply message also includes the requested service identifier, and the requested service identifier is the same as the requested service identifier in the Request message, the source terminal confirms the information in the Reply message, and checks the information in the Reply message. Relevant option information indicates acceptance, and sends an ID update (ID_UPDATE) message to the ID server for ID update. The ID_UPDATE message at least includes the corresponding relationship between the source terminal ID and the service ID supported by the source terminal. If the source terminal does not accept the relevant option information in the received Reply message, such as the requested service identifier in the Reply message is inconsistent with the requested service identifier in the Request message, then send a Reply to the identification server In the message, the content of the option is the same as that received, but the status code field is changed to UnspecFail, and the update process is stopped at this time.
步骤A4:当标识服务器收到源终端发送的ID_UPDATE报文后,则检查内部记录,判断是否保存有源终端标识和该源终端所支持的服务标识的对应关系,即判断是否已经有其它终端使用所述发起Request报文的源终端的终端标识进行了与服务标识对应关系的更新。若没有,则检查通过,若有,但是该服务标识与步骤A1中所述支持的服务标识不相同时,也说明检查通过,再次向源终端发送Reply报文,其内容与步骤A2中一样,此时标识服务器与源终端双方协商成功,则标识服务器将该源终端标识和该终端所支持的服务标识的对应关系保存。若发现已经有所述发起Request报文的源终端的终端标识进行了与服务标识对应关系的更新,且该服务标识与步骤A1中所述支持的服务标识相同时,则检查未通过,向源终端发送Reply和证明(Authentication)报文,其中,Reply报文的选项内容与步骤A2中一致,但是状态码字段内容改为UnspecFail,Authentication报文要求发起Request报文的源终端提供关于此终端标识的相关认证信息,此时,源终端可以选择停止进行标识的更新或者更换源终端主机的终端标识进入步骤1重新发送Request报文。Step A4: When the identification server receives the ID_UPDATE message sent by the source terminal, it checks the internal records to determine whether to save the corresponding relationship between the source terminal identification and the service identification supported by the source terminal, that is, to determine whether other terminals have already used it The corresponding relationship between the terminal identifier of the source terminal that initiated the Request message and the service identifier is updated. If not, then the check is passed, if there is, but when the service identifier is different from the supported service identifier described in step A1, it also means that the check is passed, and the Reply message is sent to the source terminal again, and its content is the same as in step A2, At this time, the negotiation between the identification server and the source terminal is successful, and the identification server saves the corresponding relationship between the source terminal identification and the service identification supported by the terminal. If it is found that the terminal identification of the source terminal that initiated the Request message has been updated with the corresponding relationship with the service identification, and the service identification is the same as the service identification supported in step A1, then the check fails, and the source terminal The terminal sends Reply and Authentication (Authentication) messages, wherein, the option content of the Reply message is consistent with that in step A2, but the content of the status code field is changed to UnspecFail, and the Authentication message requires the source terminal that initiated the Request message to provide information about the terminal identity At this point, the source terminal can choose to stop updating the ID or change the terminal ID of the source terminal host and enter
步骤403:标识服务器与标识鉴别服务器交互,进行标识更新。该过程包含以下步骤:Step 403: the identification server interacts with the identification verification server to update the identification. The process consists of the following steps:
步骤A5:标识服务器向标识鉴别服务器发送步骤A3中所述ID_UPDATE报文,要求标识鉴别服务器进行标识更新。Step A5: The ID server sends the ID_UPDATE message mentioned in step A3 to the ID authentication server, requesting the ID authentication server to update the ID.
步骤A6:标识鉴别服务器收到标识服务器发送的消息后,判断是否已经保存了源终端标识和该源终端所支持的服务标识的对应关系的记录。若不存在,或存在但是该服务标识与步骤A1中所述支持的服务标识不相同时,则将该源终端的终端标识和所支持的服务标识的对应关系保存,成为新的记录,同时,设定该记录的生存时间,当生存时间到达时,标识鉴别服务器将删除保存的该对应关系。由于源终端可以随时更改所支持的服务内容,所以,若不设定生存时间,当源终端更改所支持的服务内容后,保存的数据却没有更新,不利于维护和管理。当更新成功后,标识鉴别服务器向标识服务器发送Reply报文,此时发起Request消息的源终端与能够支持该请求的服务的目的终端实现在一体化网络中的数据传输,并且该源终端与其支持的服务对应关系保存在标识服务器和标识鉴别服务器,当有其他的源终端再发起Request报文时,该源终端也可以作为一个目的终端参与一体化网络中数据传输。Step A6: After receiving the message sent by the identity server, the identity verification server judges whether a record of the corresponding relationship between the source terminal identity and the service identity supported by the source terminal has been saved. If it does not exist, or exists but the service identifier is not the same as the supported service identifier described in step A1, then save the corresponding relationship between the terminal identifier of the source terminal and the supported service identifier as a new record, and at the same time, The survival time of the record is set, and when the survival time reaches, the identification and authentication server will delete the stored corresponding relationship. Since the source terminal can change the supported service content at any time, if the survival time is not set, when the source terminal changes the supported service content, the stored data will not be updated, which is not conducive to maintenance and management. When the update is successful, the identity authentication server sends a Reply message to the identity server. At this time, the source terminal that initiates the Request message and the destination terminal that can support the service of the request realize data transmission in the integrated network, and the source terminal and its support The corresponding service relationship of the service is stored in the identity server and the identity authentication server. When another source terminal sends a Request message, the source terminal can also participate in data transmission in the integrated network as a destination terminal.
若发现已经存在一个相同的源终端的终端标识进行了与服务标识对应关系的更新的记录,且该服务标识与步骤A1中所述支持的服务标识相同时,标识鉴别服务器则向标识服务器发送Reply和Authentication报文,该Reply报文的状态码字段为UnspecFail,标识服务器再将这两个报文转发给源终端,此时停止更新。If it is found that there is already an updated record of the corresponding relationship between the terminal identifier of the same source terminal and the service identifier, and the service identifier is the same as the supported service identifier described in step A1, the identifier authentication server sends a Reply to the identifier server. and Authentication message, the status code field of the Reply message is UnspecFail, the identification server forwards these two messages to the source terminal, and stops updating at this time.
如图7所示,为本发明实施例1中的扩展的DHCP协议的ID_UPDATE报文格式示意图,终端标识定义了源终端主机的终端标识,服务标识定义了该源终端所支持的服务标识,类型字段定义了报文的类型为UPDATE报文,类定义了报文的类为标识类报文,标识长度定义了服务标识的长度,生存时间定义了该源终端标识和该终端所支持的服务标识的对应关系在标识鉴别服务器中的生存时间,在本实施例中,可以设定当源终端向标识服务器发送ID_UPDATE报文默认的生存时间为24小时,标识鉴别服务器可以更改此默认生存时间,请求服务标识定义了该源终端请求的服务标识,目的终端标识定义了支持该请求的服务标识的终端。As shown in Figure 7, it is a schematic diagram of the ID_UPDATE message format of the extended DHCP protocol in
通过步骤401至403后完成了一体化网络中终端标识解析的过程,在此基础上,源终端可以根据获得的目的终端标识建立与该标识对应的目的终端之间的连接,并进行多种业务传输,例如可以进行数据传输、音频业务传输或视频业务传输等。下面以数据传输过程为例说明一体化网络中业务传输方法。After passing through
在包括上述步骤401至403的情况下,该一体化网络中业务传输方法还包括源终端建立与所述目的终端标识对应的目的终端之间的连接,并进行业务传输这个步骤。In the case of including the
源终端根据标识服务器返回的目的终端标识信息与该目的终端建立连接,即源终端将自身终端标识与一个或多个目的终端的连接地址标识建立对应关系。然后连接地址标识再映射到路由地址标识。另外,若源终端是通过一体化接入交换路由器连到一体化网络,需使用接入地址标识,并通过一体化接入交换路由器将其转换为路由地址标识,路由地址标识用于在一体化网络中选路。最后,根据得到的合理选路,在源终端与目的终端所在的服务器之间传输服务数据,完成一体化网络下的一次完整的业务传输。The source terminal establishes a connection with the destination terminal according to the destination terminal identifier information returned by the identifier server, that is, the source terminal establishes a corresponding relationship between its own terminal identifier and connection address identifiers of one or more destination terminals. The connection address identifier is then mapped to the routing address identifier. In addition, if the source terminal is connected to the integrated network through an integrated access switch router, the access address identifier needs to be used and converted into a routing address identifier through the integrated access switch router. The routing address identifier is used in the integrated Routing in the network. Finally, according to the obtained reasonable route selection, the service data is transmitted between the server where the source terminal and the destination terminal are located, and a complete service transmission under the integrated network is completed.
实施例2为一体化网络外部的源终端发生移动进入一体化网络时终端标识的解析过程,如图8所示,为本发明实施例2中模型结构图,主要由源终端、标识服务器、鉴别标识服务器和若干个含有一体化网络中终端标识的终端组成。如图9所示,为本发明实施例2中步骤流程示意图,该方法包括以下步骤:
步骤901:目的终端标识分配过程,该过程包括以下步骤:Step 901: the process of assigning the destination terminal ID, which includes the following steps:
步骤B1:标识鉴别服务器将标识池中的未分配的终端标识发送给标识服务器。Step B1: the identity authentication server sends the unallocated terminal identity in the identity pool to the identity server.
步骤B2:通过源终端与标识服务器的交互机制,名称为iplab.njtu.edu.cn的源终端主机向名称为ngirc.njtu.edu.cn的标识服务器发送在外网使用的网络协议的Request报文,例如,若该源终端为因特网中源终端接入一体化网络时,该Request报文格式为IP报文格式。该Request报文中不仅包含了该源终端所支持的服务标识和请求的服务标识,还包含了该源终端上分配的先前地址。Step B2: Through the interaction mechanism between the source terminal and the identification server, the source terminal host named iplab.njtu.edu.cn sends a Request message of the network protocol used on the external network to the identification server named ngirc.njtu.edu.cn For example, if the source terminal is a source terminal in the Internet accessing an integrated network, the format of the Request message is an IP message format. The Request message not only includes the service identifier supported by the source terminal and the requested service identifier, but also includes the previous address allocated on the source terminal.
步骤B3:标识服务器根据先前地址信息将源终端发送的Request报文转变为适应一体化网络中扩展DHCP协议的Request报文格式,并查询是否保存有能够提供该Request报文中包含的请求的服务的目的终端标识,若存有,则该标识服务器向该源终端发送Reply报文,该Reply报文中包含标识服务器本身的终端标识、请求的服务标识以及一个或多个目的终端标识。该Reply报文格式如图10所示,选项码字段定义的标识服务器的名称为ngirc.edu.cn,选项码长度为10,状态码字段定义为success,标识服务器终端标识为Dfhw125467990jk1237hjelhjkd,请求的服务标识为110000000000000000000000000,目的终端标识分别为bndkjk46578793783937hsdjf10、bndkjk46578793783937hsdjf11和bndkjk46578793783937hsdjf12。若未保存,则该标识服务器仍然向该源终端发送Reply报文,在状态码字段中包含失败(UnspecFail)信息,告知源终端不存在能向其提供请求的服务的目的终端。Step B3: The identification server converts the Request message sent by the source terminal into a Request message format suitable for the extended DHCP protocol in the integrated network according to the previous address information, and checks whether there is a service that can provide the request contained in the Request message If it exists, the identification server sends a Reply message to the source terminal, and the Reply message includes the terminal identification identifying the server itself, the requested service identification and one or more destination terminal identifications. The format of the Reply message is shown in Figure 10. The name of the identification server defined by the option code field is ngirc.edu.cn, the length of the option code is 10, the status code field is defined as success, the terminal identification of the identification server is Dfhw125467990jk1237hjelhjkd, and the requested service The ID is 110000000000000000000000000, and the destination terminal IDs are bndkjk46578793783937hsdjf10, bndkjk46578793783937hsdjf11, and bndkjk46578793783937hsdjf12. If it is not saved, the identification server still sends a Reply message to the source terminal, and contains failure (UnspecFail) information in the status code field, informing the source terminal that there is no destination terminal that can provide the requested service to it.
步骤B4:源终端主机iplab.edu.cn收到该Reply报文后,再次向标识服务器ngirc.njtu.edu.cn发送Request报文,要求为之分配一体化网络中的终端标识。Step B4: After receiving the Reply message, the source terminal host iplab.edu.cn sends a Request message to the identification server ngirc.njtu.edu.cn again, requesting to allocate a terminal identification in the integrated network.
步骤B5:标识服务器接收到源终端第二次发送的Request报文后,再次向源终端发送Reply报文,该报文中包含分配给该源终端的终端标识,此被分配的终端标识由步骤B1中标识鉴别服务器分配给标识服务器的未分配的终端标识中产生。Step B5: After the identification server receives the Request message sent by the source terminal for the second time, it sends a Reply message to the source terminal again, which contains the terminal identification assigned to the source terminal, and the assigned terminal identification is determined by the step In B1, it is generated from the unassigned terminal ID assigned by the ID authentication server to the ID server.
步骤902:标识服务器与源终端主机交互协商是否进行客户终端标识更新过程,该过程包括以下步骤:Step 902: The identification server interacts with the source terminal host to negotiate whether to update the client terminal identification. The process includes the following steps:
步骤B6:源终端接收到的Reply报文后,当通过对Reply报文中的信息进行确认后,向标识服务器发送一个ID_UPDATE报文,要求进行标识更新。Step B6: After receiving the Reply message, the source terminal sends an ID_UPDATE message to the ID server after confirming the information in the Reply message, requesting to update the ID.
步骤B7:若标识服务器收到该ID_UPDATE报文后,则检查内部记录,判断是否保存有源终端标识和该源终端所支持的服务标识的对应关系,即判断是否已经有其他终端使用所述发起Request报文的源终端的终端标识进行了与服务标识对应关系的更新。若没有,则检查通过,若有,但是该服务标识与步骤B2中所述支持的服务标识不相同时,也说明检查通过,标识服务器将该源终端分配的终端标识和该终端所支持的服务标识的对应关系保存下来,并返回Reply。若已经有所述发起Request报文的源终端的终端标识进行了与服务标识的更新,且该服务标识与步骤B2中所述支持的服务标识相同时,则检查未通过,向源终端发送Reply和Authentication报文,其中,Reply报文的状态码字段内容改为UnspecFail,Authentication报文要求发起Request报文的源终端提供关于此终端标识的相关认证信息。Step B7: After receiving the ID_UPDATE message, the identification server checks the internal records to determine whether to save the corresponding relationship between the active terminal identification and the service identification supported by the source terminal, that is, to determine whether other terminals have already used the initiated The corresponding relationship between the terminal identifier of the source terminal of the Request message and the service identifier is updated. If not, then the check is passed, if there is, but when the service identifier is different from the supported service identifier described in step B2, it also means that the check is passed, and the terminal identifier assigned by the identification server to the source terminal and the service supported by the terminal The corresponding relationship of the identification is saved and a Reply is returned. If the terminal identifier of the source terminal that initiated the Request message has been updated with the service identifier, and the service identifier is the same as the supported service identifier described in step B2, then the check fails, and a Reply is sent to the source terminal and the Authentication message, wherein the content of the status code field of the Reply message is changed to UnspecFail, and the Authentication message requires the source terminal that initiates the Request message to provide relevant authentication information about the terminal identifier.
步骤903:标识服务器与标识鉴别服务器交互,进行标识更新。该过程包含以下步骤:Step 903: the identification server interacts with the identification verification server to update the identification. The process consists of the following steps:
步骤B8:标识服务器向名称为Njtu.njtu.edu.cn的标识鉴别服务器发送步骤B4中所述ID_UPDATE报文,要求标识鉴别服务器进行标识更新。Step B8: The identification server sends the ID_UPDATE message mentioned in step B4 to the identification authentication server named Njtu.njtu.edu.cn, requesting the identification authentication server to update the identification.
步骤B9:标识鉴别服务器收到标识服务器发送的消息后,判断是否已经保存了源终端标识和该源终端所支持的服务标识的对应关系的记录。若不存在,或存在但是该服务标识与步骤B2中所述支持的服务标识不相同时,则将该源终端分配的终端标识和该终端所支持的服务标识的对应关系保存,成为新的记录,同时,设定该记录的生存时间,当生存时间到达时,标识鉴别服务器将删除保存的该对应关系。当更新成功后,标识鉴别服务器向标识服务器发送Reply报文,此时该源终端主机的终端与能够支持该请求的服务的目的终端实现在一体化网络中的数据传输,并且该源终端主机的终端与其支持的服务对应关系保存在标识服务器和标识鉴别服务器,当有其他的源终端再发起Request报文时,该源终端主机的终端也可以作为一个目的终端参与一体化网络中数据传输。Step B9: After receiving the message sent by the identity server, the identity verification server judges whether a record of the corresponding relationship between the source terminal identity and the service identity supported by the source terminal has been saved. If it does not exist, or exists but the service identifier is not the same as the supported service identifier described in step B2, then save the corresponding relationship between the terminal identifier assigned by the source terminal and the service identifier supported by the terminal, and become a new record , at the same time, set the survival time of the record, when the survival time reaches, the identification and authentication server will delete the stored corresponding relationship. After the update is successful, the identity authentication server sends a Reply message to the identity server. At this time, the terminal of the source end host and the destination terminal capable of supporting the requested service realize data transmission in the integrated network, and the source end host's The corresponding relationship between the terminal and the services it supports is stored in the identity server and the identity authentication server. When another source terminal sends a Request message, the terminal of the source terminal host can also participate in data transmission in the integrated network as a destination terminal.
若发现已经存在一个相同的终端标识进行了与服务标识的更新的记录,且该服务标识与步骤B2中所述支持的服务标识相同时,标识鉴别服务器则向标识服务器发送Reply和Authentication报文,该Reply报文的状态码字段为UnspeeFail,标识服务器再将这两个报文转发给源终端,此时源终端可以选择停止更新或要求标识服务器重新分配终端标识。If it is found that there is already an identical terminal ID that has been updated with the service ID, and the service ID is the same as the supported service ID described in step B2, the ID authentication server sends a Reply and Authentication message to the ID server, The status code field of the Reply message is UnspeeFail, and the identification server forwards these two messages to the source terminal. At this time, the source terminal can choose to stop updating or request the identification server to reassign the terminal identification.
如图11所示,为本发明实施例2中扩展的DHCP协议的ID_UPDATE报文结构示意图,源终端分配的终端标识为Hjksdfgert178593fhwkflnuh70,定义的类型为更新(UPDATE),定义的类为ID_UPDATE,标识长度为128位,源终端所支持的服务标识为120000000000000000000000000,生存时间为86400秒,请求的服务标识为110000000000000000000000000,目的终端标识分别为bndkjk46578793783937hsdjf10和bndkjk46578793783937hsdjf11。As shown in Figure 11, it is a schematic diagram of the ID_UPDATE message structure of the extended DHCP protocol in
通过步骤901至903后完成了一体化网络中终端标识解析的过程,在此基础上,源终端与目的终端之间可以建立连接进行多种业务传输。下面再次以数据传输过程为例说明一体化网络中业务传输方法。After
在包括上述步骤901至903的情况下,该一体化网络中业务传输方法还包括源终端建立与所述目的终端标识对应的目的终端之间的连接,并进行业务传输这一步骤。In the case of including the
源终端根据目的终端标识信息与该目的终端建立连接,即源终端将自身终端标识与一个或多个目的终端的连接地址标识建立对应关系。然后连接地址标识再映射到一个或多个路由地址标识,路由地址标识用于在一体化网络中选路。最后,根据得到的合理选路,在源终端与目的终端所在的服务器之间传输服务数据,完成一体化网络下的一次完整的业务传输。The source terminal establishes a connection with the destination terminal according to the destination terminal identifier information, that is, the source terminal establishes a corresponding relationship between its own terminal identifier and connection address identifiers of one or more destination terminals. Then the connection address identifier is mapped to one or more routing address identifiers, and the routing address identifier is used for routing in the integrated network. Finally, according to the obtained reasonable route selection, the service data is transmitted between the server where the source terminal and the destination terminal are located, and a complete service transmission under the integrated network is completed.
基于上述业务传输方法,本发明实施例还提供一种一体化网络中的业务传输系统,如图12所示,该系统包含标识服务器21、源终端22和一个以上目的终端23,其中,源终端22包括第一发送单元、接收单元和业务请求单元,第一发送单元用于将请求报文发送给所述标识服务器21,该请求报文中包括该源终端请求的服务标识;接收单元用于接收所述标识服务器21返回的包括目的终端标识的回复报文;业务请求单元用于建立与所述目的终端标识对应的目的终端23之间的连接,并进行业务传输;标识服务器21用于从预先保存的终端标识与该终端所支持的服务标识的对应关系中查找出所述源终端22请求的服务标识所对应的目的终端标识,并向所述源终端22返回回复报文,所述回复报文包括所述目的终端标识;目的终端23用于与所述源终端22之间建立连接,并进行业务传输。所述业务传输包括数据传输、音频业务传输或视频业务传输。Based on the above service transmission method, an embodiment of the present invention also provides a service transmission system in an integrated network. As shown in FIG. 12, the system includes an identification server 21, a source terminal 22 and more than one
所述源终端22还包括第二发送单元,用于当所述回复报文中还包括请求的服务标识,且该请求的服务标识与自身请求的服务标识相同时,确认所述回复报文中的信息,将标识更新报文发送给所述标识服务器21,所述标识更新报文包括所述源终端标识和该源终端所支持的服务标识的对应关系;所述标识服务器21用于当接收到所述标识更新报文后,且没有保存所述源终端标识和该源终端所支持的服务标识的对应关系时,将该对应关系保存。The source terminal 22 also includes a second sending unit, configured to confirm that the requested service identifier is the same as the requested service identifier in the reply packet when the reply packet also includes the requested service identifier. information, and send an identity update message to the identity server 21, the identity update message includes the corresponding relationship between the source terminal identity and the service identity supported by the source terminal; the identity server 21 is used to receive After the identifier update message, if the corresponding relationship between the source terminal identifier and the service identifier supported by the source terminal has not been saved, the corresponding relationship is saved.
当所述系统还包含标识鉴别服务器24时,标识服务器21用于将所述标识更新报文发送给所述标识鉴别服务器24;所述标识鉴别服务器24用于当没有保存所述源终端标识和该源终端所支持的服务标识的对应关系时,将该对应关系保存,并设定该对应关系的生存时间。When the system further includes an
当所述源终端22不为一体化网络中的终端时,所述标识鉴别服务器24用于将未分配的终端标识发送给所述标识服务器21;所述标识服务器21用于从所述未分配的终端标识中选取一个分配给所述源终端22作为一体化网络中的终端标识。When the source terminal 22 is not a terminal in the integrated network, the
如图13所示,本发明实施例还提供一种终端,应用于包含标识服务器的一体化网络中,所述终端包括第一发送单元31和接收单元32,其中,第一发送单元31用于向所述标识服务器发送请求报文,所述请求报文中包括该终端请求的服务标识;接收单元32用于接收所述标识服务器返回的回复报文,所述回复报文包括所述终端请求的服务标识所对应的终端标识。As shown in FIG. 13 , an embodiment of the present invention also provides a terminal, which is applied to an integrated network including an identification server, and the terminal includes a first sending
所述终端还包括业务请求单元33,用于根据所述回复报文信息建立与目的终端之间的连接,并进行业务传输。The terminal also includes a
所述终端包括还进一步包括第二发送单元34,用于当所述回复报文中还包括请求的服务标识,且该请求的服务标识与所述终端请求的服务标识相同时,确认所述回复报文中的信息,将标识更新报文发送给所述标识服务器,所述标识更新报文包括所述发送请求报文的终端标识和该终端所支持的服务标识的对应关系。The terminal further includes a
如图14所示,本发明实施例还提供一种标识服务器,应用于包含至少两个终端的一体化网络中,所述标识服务器包括第一接收单元41和查找单元42。其中,第一接收单元41用于接收所述终端发送的请求报文,并将该请求报文发送给查找单元42,该请求报文中包括该终端请求的服务标识;查找单元42用于从预先保存的终端的标识与该终端所支持的服务标识的对应关系中查找出所述终端请求的服务标识所对应的终端标识,并向该终端返回回复报文,所述回复报文包括所述请求的服务标识所对应的终端标识。As shown in FIG. 14 , an embodiment of the present invention also provides an identification server, which is applied in an integrated network including at least two terminals, and the identification server includes a
所述标识服务器还包括第二接收单元43和保存单元44。其中,第二接收单元43用于接收所述终端发送的标识更新报文,并发送给保存单元44,所述标识更新报文包括该发送请求报文的终端标识和该终端所支持的服务标识的对应关系;保存单元44用于当没有保存所述终端标识和该终端所支持的服务标识的对应关系时,将该对应关系保存。The identification server also includes a
通过本发明实施例,实现了终端标识与服务标识对应关系解析的对应管理,并且为外网的源终端接入一体化网络提供了良好的支持,有利于实现一体化网络与现有各种网络的兼容和互通;另外实现了对标识的有效鉴权保证了标识的合法性和权威性,使网络数据传输的安全性得到保证。Through the embodiment of the present invention, the corresponding management of the analysis of the corresponding relationship between the terminal identifier and the service identifier is realized, and good support is provided for the source terminal of the external network to access the integrated network, which is beneficial to realize the integrated network and various existing networks Compatibility and interoperability; In addition, it realizes the effective authentication of the identification to ensure the legality and authority of the identification, so that the security of network data transmission is guaranteed.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (21)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710002483 CN101237442B (en) | 2007-01-29 | 2007-01-29 | Method, system and device for terminal identification analysis and service transmission in integrated network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710002483 CN101237442B (en) | 2007-01-29 | 2007-01-29 | Method, system and device for terminal identification analysis and service transmission in integrated network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101237442A true CN101237442A (en) | 2008-08-06 |
CN101237442B CN101237442B (en) | 2013-02-27 |
Family
ID=39920803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200710002483 Expired - Fee Related CN101237442B (en) | 2007-01-29 | 2007-01-29 | Method, system and device for terminal identification analysis and service transmission in integrated network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101237442B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045374A (en) * | 2009-10-10 | 2011-05-04 | 中兴通讯股份有限公司 | Implementation method and system supporting capability of actively pushing data messages |
CN102158477A (en) * | 2011-02-25 | 2011-08-17 | 刘奇峰 | Communication system and information interaction method |
CN105208022A (en) * | 2015-09-14 | 2015-12-30 | 北京交通大学 | Alarm information generation method and device |
CN106056408A (en) * | 2016-06-01 | 2016-10-26 | 网易无尾熊(杭州)科技有限公司 | Method and device for tracking promoter |
CN109729183A (en) * | 2018-05-16 | 2019-05-07 | 平安科技(深圳)有限公司 | Request processing method, device, equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100417067C (en) * | 2005-12-19 | 2008-09-03 | 北京交通大学 | An Architecture for Realizing Integrated Network Services |
CN1809075A (en) * | 2006-01-23 | 2006-07-26 | 北京交通大学 | Method of establishing integrated network service |
-
2007
- 2007-01-29 CN CN 200710002483 patent/CN101237442B/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045374A (en) * | 2009-10-10 | 2011-05-04 | 中兴通讯股份有限公司 | Implementation method and system supporting capability of actively pushing data messages |
CN102045374B (en) * | 2009-10-10 | 2014-06-11 | 中兴通讯股份有限公司南京分公司 | Implementation method and system supporting capability of actively pushing data messages |
CN102158477A (en) * | 2011-02-25 | 2011-08-17 | 刘奇峰 | Communication system and information interaction method |
CN105208022A (en) * | 2015-09-14 | 2015-12-30 | 北京交通大学 | Alarm information generation method and device |
CN106056408A (en) * | 2016-06-01 | 2016-10-26 | 网易无尾熊(杭州)科技有限公司 | Method and device for tracking promoter |
CN109729183A (en) * | 2018-05-16 | 2019-05-07 | 平安科技(深圳)有限公司 | Request processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101237442B (en) | 2013-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114747252B (en) | Method for identifying services suitable for edge grooming and suitable for service steering in a mobile network | |
CN1985470B (en) | System, network entities for configuration management of a dynamic host configuration protocol framework | |
CN102216923B (en) | Request routing and use customer location information to update routing information | |
JP3688547B2 (en) | Location identifier management device, mobile computer, location identifier management method, and location identifier processing method | |
US8554946B2 (en) | NAT traversal method and apparatus | |
JP2003244184A (en) | Domain name managing method and apparatus suited thereto | |
KR101240552B1 (en) | System and method for managing media keys and for transmitting/receiving peer-to-peer messages using the media keys | |
CN101800760A (en) | Realization method and system for accessing data service | |
WO2017161965A1 (en) | Method, device, and system for dynamic domain name system (dns) redirection | |
US8605736B2 (en) | Method, system and apparatus for heterogeneous addressing mapping | |
CN101321128A (en) | Communication device, communication network system and communication method | |
CN101237442B (en) | Method, system and device for terminal identification analysis and service transmission in integrated network | |
US20130117308A1 (en) | Apparatus, Method and System for Node Discovering | |
US20080294785A1 (en) | Communication system, node device, node process program and a message transmitting and receiving method | |
CN103414800B (en) | A kind of NAT passes through the distribution of middle distributed relay server and system of selection and system | |
KR101899802B1 (en) | An apparatus for constructing unified identification structure in future internet environments and the method by using the same | |
US8737261B2 (en) | Node registering method | |
JP5241665B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD | |
EP2238735B1 (en) | Method and apparatus for allocation of parameter values in a communications system | |
CN102056166B (en) | Multihoming implementation method and system in IPSPLIT network | |
WO2025020436A1 (en) | Method and apparatus for accessing ipv4 server by ipv6-only user, and related device | |
CN104283861B (en) | The method, apparatus and system of routing device access network in car networking system | |
CN101557336B (en) | Method for establishing network tunnel, data processing method and related equipment | |
EP1718031A1 (en) | Method of resolving a session initiation protocol uniform resource identifier | |
KR100914036B1 (en) | Apparatus and method for dynamically allocating IP address to enable incoming service to host without IP address assigned |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130227 Termination date: 20190129 |
|
CF01 | Termination of patent right due to non-payment of annual fee |