Nothing Special   »   [go: up one dir, main page]

CN109995572B - Topology hiding method and device - Google Patents

Topology hiding method and device Download PDF

Info

Publication number
CN109995572B
CN109995572B CN201810001249.2A CN201810001249A CN109995572B CN 109995572 B CN109995572 B CN 109995572B CN 201810001249 A CN201810001249 A CN 201810001249A CN 109995572 B CN109995572 B CN 109995572B
Authority
CN
China
Prior art keywords
network element
local network
address
hidden
topology hiding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810001249.2A
Other languages
Chinese (zh)
Other versions
CN109995572A (en
Inventor
陈旭
陈炜
张剑寅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810001249.2A priority Critical patent/CN109995572B/en
Publication of CN109995572A publication Critical patent/CN109995572A/en
Application granted granted Critical
Publication of CN109995572B publication Critical patent/CN109995572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0407Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden
    • H04L63/0421Anonymous communication, i.e. the party's identifiers are hidden from the other party or parties, e.g. using an anonymizer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种拓扑隐藏的方法和设备,用以解决现有技术中4G网络的拓扑隐藏方案不适用于5G网络的问题。本发明实施例设置拓扑隐藏单元,用于确定本网网元的隐藏ID,采用隐藏ID与外网网元建立连接。还新增地址隐藏单元,确定本网网元的隐藏地址,把真实地址替换成隐藏地址后发送给所述外网网元,或把隐藏地址替换真实地址发送给本网网元。由于本发明实施例中新增拓扑隐藏单元分配隐藏ID,以及新增地址隐藏单元确定本网网元的隐藏地址和替换真实地址,不再采用路由节点实现拓扑隐藏,因此,可以解决5G网络中因采用没有引入路由节点,无法实现网元标识拓扑隐藏和地址隐藏,在寻址过程中无法对地址和标识翻译恢复的问题。

Figure 201810001249

The invention discloses a topology hiding method and device, which are used to solve the problem that the topology hiding scheme of the 4G network in the prior art is not suitable for the 5G network. In the embodiment of the present invention, a topology hiding unit is set to determine the hidden ID of the network element of the local network, and the hidden ID is used to establish a connection with the network element of the external network. An address hiding unit is also added to determine the hidden address of the network element on the local network, replace the real address with the hidden address and send it to the external network element, or replace the hidden address with the real address and send it to the network element on the local network. In the embodiment of the present invention, the new topology hiding unit assigns the hidden ID, and the newly added address hiding unit determines the hidden address and replaces the real address of the network element of the local network, and the routing node is no longer used to realize topology hiding. Therefore, it can solve the problem in the 5G network. Because no routing node is introduced, topology hiding and address hiding of network element identifiers cannot be implemented, and addresses and identifiers cannot be translated and recovered during the addressing process.

Figure 201810001249

Description

一种拓扑隐藏的方法和设备A method and device for topology hiding

技术领域technical field

本发明涉及核心网技术领域,特别涉及一种拓扑隐藏的方法和设备。The present invention relates to the technical field of core networks, in particular to a method and device for topology hiding.

背景技术Background technique

不同的运营商之间会进行媒体通信,核心网中的各个节点会将自己的信息加入到信令中以使信令能够正常交互,如果不加控制这些节点信息,就会被传送到本运营商网络之外。如果加入控制这些节点信息,会使一个运营商内部的拓扑结构将会被暴露,将会成为核心网的安全隐患。因此,在不违背协议标准的情况下需要将本网拓扑隐藏,将真实网元标识替换、隐藏网内信令路由。There will be media communication between different operators. Each node in the core network will add its own information to the signaling so that the signaling can interact normally. If the information of these nodes is not controlled, it will be transmitted to the operator. outside the business network. If the information of these nodes is added and controlled, the internal topology structure of an operator will be exposed, which will become a security risk of the core network. Therefore, it is necessary to hide the topology of the local network, replace the real network element identifier, and hide the signaling route in the network without violating the protocol standard.

在4G网络中,本网的源网元通过信令网的I-DRA(international-DiameterRouting Agent,国际Diameter路由代理节点)节点替换真实网元标识、隐藏本网内信令路由和本网发送的请求消息、响应消息中的源主机名,产生拓扑隐藏映射表,I-DRA节点维护拓扑隐藏映射表,并将信令进行路由。目的网元通过信令网的I-DRA节点接收消息,将消息中被替换的网元标识进行翻译还原,实现本网内的寻址。In the 4G network, the source network element of the local network replaces the real network element identifier through the I-DRA (international-Diameter Routing Agent, international Diameter Routing Agent node) node of the signaling network, and hides the signaling routes in the local network and the transmission of the local network. The source host name in the request message and the response message generates a topology hiding mapping table, and the I-DRA node maintains the topology hiding mapping table and routes the signaling. The destination network element receives the message through the I-DRA node of the signaling network, and translates and restores the replaced network element identifier in the message to realize addressing within the network.

然而在5G网络中,NF(Network Function,网络功能)之间的信令路由采用直接连接,并没有引入路由节点,无法通过路由节点对源节点、目的节点的地址隐藏,并且在信令寻址过程中不支持目的地址和标识的翻译恢复。However, in the 5G network, the signaling route between NF (Network Function, network function) adopts direct connection, and does not introduce routing nodes, so the addresses of source nodes and destination nodes cannot be hidden through routing nodes, and the signaling addresses Translation recovery of destination addresses and identifiers is not supported in the process.

综上所述,目前4G网络的拓扑隐藏方案不适用于5G网络。To sum up, the current topology hiding scheme of 4G network is not suitable for 5G network.

发明内容SUMMARY OF THE INVENTION

本发明提供一种拓扑隐藏的方法和设备,用以解决现有技术中4G网络的拓扑隐藏方案不适用于5G网络的问题。The present invention provides a method and device for topology hiding, which are used to solve the problem that the topology hiding scheme of 4G network in the prior art is not suitable for 5G network.

本发明实施例提供一种拓扑隐藏的方法,该方法包括:An embodiment of the present invention provides a method for topology hiding, and the method includes:

拓扑隐藏单元在本网网元和外网网元需要采用直达方式访问后,根据本网网元的真实ID确定本网网元的隐藏ID;After the network element of the local network and the network element of the external network need to be accessed directly, the topology hiding unit determines the hidden ID of the network element of the local network according to the real ID of the network element of the local network;

所述拓扑隐藏单元按照真实地址将确定的本网网元的隐藏ID发送给本网网元,以使所述本网网元采用所述隐藏ID与外网网元进行信令互通。The topology hiding unit sends the determined hidden ID of the network element of the local network to the network element of the local network according to the real address, so that the network element of the local network uses the hidden ID to perform signaling intercommunication with the network element of the external network.

可选的,所述拓扑隐藏单元按照真实地址将确定的本网网元的隐藏ID发送给本网网元,包括:Optionally, the topology hiding unit sends the determined hidden ID of the network element of the local network to the network element of the local network according to the real address, including:

所述拓扑隐藏单元通过拓扑隐藏响应或拓扑隐藏通知,将确定的本网网元的隐藏ID发送给本网网元。The topology hiding unit sends the determined hiding ID of the network element of the own network to the network element of the own network through a topology hiding response or a topology hiding notification.

可选的,若所述拓扑隐藏单元通过拓扑隐藏通知将确定的本网网元的隐藏ID发送给本网网元,在所述拓扑隐藏单元确定本网网元的隐藏ID之前,还包括:Optionally, if the topology hiding unit sends the determined hidden ID of the network element of the local network to the network element of the local network through the topology hiding notification, before the topology hiding unit determines the hidden ID of the network element of the local network, it also includes:

所述拓扑隐藏单元在收到外网网元发送的包含外网网元标识的应用层访问请求后,向本网网络存储功能NRF发送包含所述外网网元ID的服务发现请求;The topology hiding unit sends a service discovery request including the ID of the external network element to the network storage function NRF of the local network after receiving the application layer access request containing the identifier of the external network element sent by the external network element;

所述拓扑隐藏单元接收来自所述本网NRF的包含至少一个本网网元的真实ID和真实地址的服务发现响应请求;The topology hiding unit receives a service discovery response request including the real ID and real address of at least one local network element from the local network NRF;

所述拓扑隐藏单元通过发送拓扑隐藏通知将确定的本网网元的隐藏ID发送给本网网元,包括:The topology hiding unit sends the determined hidden ID of the local network element to the local network element by sending a topology hiding notification, including:

所述拓扑隐藏单元将包含所述本网网元的隐藏ID的拓扑隐藏通知发送给本网网元。The topology hiding unit sends a topology hiding notification including the hiding ID of the network element of the own network to the network element of the own network.

可选的,所述拓扑隐藏单元接收来自所述本网NRF的包含至少一个本网网元的真实ID和真实地址的服务发现响应请求之后,还包括:Optionally, after the topology hiding unit receives a service discovery response request from the local network NRF that includes the real ID and real address of at least one local network element, it further includes:

若所述本网NRF发送的服务发现响应请求包含多个本网网元的真实ID和真实地址,则所述拓扑隐藏单元根据本网网元与IP地址的归属关系,向本网网元相对应的地址隐藏单元发送地址隐藏请求。If the service discovery response request sent by the local network NRF contains the real IDs and real addresses of multiple local network elements, the topology hiding unit will send the local network element to the local network element according to the attribution relationship between the local network element and the IP address. The corresponding address hiding unit sends an address hiding request.

可选的,所述拓扑隐藏单元将包含所述本网网元的隐藏ID的拓扑隐藏通知发送给本网网元之后,还包括:Optionally, after the topology hiding unit sends the topology hiding notification including the hidden ID of the network element of the local network to the network element of the local network, the method further includes:

所述拓扑隐藏单元在收到地址隐藏单元发送的地址隐藏响应后,向外网网元发送包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应。After receiving the address hiding response sent by the address hiding unit, the topology hiding unit sends an application layer service access response including the hidden ID and hidden address of the network element of the local network to the external network element.

可选的,若所述拓扑隐藏单元通过发送拓扑隐藏响应将确定的本网网元的隐藏ID发送给本网网元,在所述拓扑隐藏单元确定本网网元的隐藏ID之前,还包括:Optionally, if the topology hiding unit sends the determined hidden ID of the network element of the local network to the network element of the local network by sending a topology hiding response, before the topology hiding unit determines the hidden ID of the network element of the local network, it also includes: :

所述拓扑隐藏单元接收来自本网网元的携带本网网元真实ID的拓扑隐藏请求;The topology hiding unit receives a topology hiding request carrying the real ID of the network element of the own network from the network element of the own network;

所述拓扑隐藏单元通过拓扑隐藏响应将确定的本网网元的隐藏ID发送给本网网元,包括:The topology hiding unit sends the determined hidden ID of the network element of the local network to the network element of the local network through a topology hiding response, including:

所述拓扑隐藏单元将包含所述本网网元的隐藏ID的拓扑隐藏响应发送给本网网元。The topology hiding unit sends a topology hiding response including the hiding ID of the network element of the own network to the network element of the own network.

本发明实施例提供一种拓扑隐藏的方法,该方法包括:An embodiment of the present invention provides a method for topology hiding, and the method includes:

地址隐藏单元确定本网网元的隐藏地址;The address hiding unit determines the hidden address of the network element of this network;

所述地址隐藏单元在收到本网网元发送给外网网元的消息后将所述消息中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元,以及在收到外网网元发送给本网网元的消息后将本网网元的隐藏地址替换为本网网元的真实地址发送给本网网元。After receiving the message sent by the network element of the local network to the network element of the external network, the address hiding unit replaces the address in the message with the hidden address of the network element of the local network and sends it to the network element of the external network, and After receiving the message sent by the external network element to the local network element, replace the hidden address of the local network element with the real address of the local network element and send it to the local network element.

可选的,所述地址隐藏单元确定本网网元的隐藏地址之前,还包括:Optionally, before the address hiding unit determines the hidden address of the network element of the local network, it further includes:

所述地址隐藏单元接收来自所述拓扑隐藏单元的包含本网网元的真实地址的地址隐藏请求;The address hiding unit receives an address hiding request including the real address of the network element of the local network from the topology hiding unit;

所述地址隐藏单元将确定的本网网元的隐藏地址发送给所述拓扑隐藏单元,包括:The address hiding unit sends the determined hidden address of the network element of the local network to the topology hiding unit, including:

所述地址隐藏单元将包含所述本网网元的隐藏地址的地址隐藏响应发送给所述拓扑隐藏单元。The address hiding unit sends an address hiding response including the hiding address of the network element of the local network to the topology hiding unit.

本发明实施例提供一种拓扑隐藏的方法,该方法包括:An embodiment of the present invention provides a method for topology hiding, and the method includes:

本网网元接收拓扑隐藏单元发送的所述本网网元的隐藏ID;所述本网网元通过所述地址隐藏单元与所述外网网元建立连接;The network element of the local network receives the hidden ID of the network element of the local network sent by the topology hiding unit; the network element of the local network establishes a connection with the network element of the external network through the address hiding unit;

所述本网网元在向外网网元发送消息时,将所述消息中的ID替换成隐藏ID,发送给地址隐藏单元,以使所述地址隐藏单元将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元。When the local network element sends a message to an external network element, it replaces the ID in the message with a hidden ID, and sends it to the address hiding unit, so that the address hiding unit replaces the real address in the message. The hidden address of the network element of the local network is sent to the network element of the external network.

可选的,所述本网网元接收拓扑隐藏单元发送的所述本网网元的隐藏ID之前,还包括:Optionally, before the local network element receives the hidden ID of the local network element sent by the topology hiding unit, the method further includes:

本网网元在需要采用直达方式访问外网网元时,向拓扑隐藏单元发送拓扑隐藏请求。When the network element of the local network needs to access the network element of the external network in a direct way, it sends a topology hiding request to the topology hiding unit.

可选的,,所述本网网元接收拓扑隐藏单元发送的所述本网网元的隐藏ID之后,还包括:Optionally, after the local network element receives the hidden ID of the local network element sent by the topology hiding unit, the method further includes:

所述本网网元存储本网网元的隐藏ID用于后续信令互通使用。The local network element stores the hidden ID of the local network element for use in subsequent signaling interworking.

可选的,所述本网网元向外网网元发送的消息为应用层服务访问请求消息或应用层服务访问响应消息。Optionally, the message sent by the local network element to the external network element is an application layer service access request message or an application layer service access response message.

本发明实施例提供一种拓扑隐藏的方法,该方法包括:An embodiment of the present invention provides a method for topology hiding, and the method includes:

外网网元在需要采用直达方式访问本网网元时,根据外网NRF返回的拓扑隐藏单元的地址向拓扑隐藏单元发送应用层服务访问请求;When the external network element needs to access the local network element in a direct way, it sends an application layer service access request to the topology hidden unit according to the address of the topology hidden unit returned by the external network NRF;

所述外网网元接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应;The external network element receives the application layer service access response that includes the hidden ID and the hidden address of the network element of the local network and is sent by the topology hiding unit;

所述外网网元根据所述本网网元的隐藏ID和隐藏地址,通过所述地址隐藏单元与所述本网网元进行信令互通。The external network element performs signaling intercommunication with the local network element through the address hiding unit according to the hidden ID and hidden address of the local network element.

可选的,所述外网网元向拓扑隐藏单元请求本网网元的ID和地址之前,还包括:Optionally, before the external network element requests the ID and address of the local network element from the topology hiding unit, the method further includes:

所述外网网元向外网NRF发送服务发现请求。The external network element sends a service discovery request to the external network NRF.

可选的,所述外网网元接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应后,还包括:Optionally, after the external network element receives the application layer service access response including the hidden ID and the hidden address of the local network element and sent by the topology hiding unit, the method further includes:

所述外网网元存储本网网元的隐藏ID用于后续信令互通使用。The external network element stores the hidden ID of the local network element for use in subsequent signaling interworking.

本发明实施例提供一种拓扑隐藏的设备,包括:处理器以及收发机:An embodiment of the present invention provides a topology hiding device, including: a processor and a transceiver:

所述处理器,用于在本网网元和外网网元需要采用直达方式访问后,根据本网网元的真实ID确定本网网元的隐藏ID;按照真实地址将确定的本网网元的隐藏ID通过收发机发送给本网网元,以使所述本网网元采用所述隐藏ID与外网网元进行信令互通。The processor is used to determine the hidden ID of the network element of the local network according to the real ID of the network element of the local network after the network element of the local network and the network element of the external network need to be accessed in a direct way; The hidden ID of the element is sent to the network element of the local network through the transceiver, so that the network element of the local network uses the hidden ID to perform signaling intercommunication with the network element of the external network.

可选的,所述处理器还具体用于:Optionally, the processor is also specifically used for:

通过拓扑隐藏响应或拓扑隐藏通知,将确定的本网网元的隐藏ID发送给本网网元。The determined hidden ID of the local network element is sent to the local network element through the topology hiding response or the topology hiding notification.

可选的,所述处理器还具体用于:Optionally, the processor is also specifically used for:

在通过拓扑隐藏通知将确定的本网网元的隐藏ID送给本网网元和确定本网网元的隐藏ID之前,收到外网网元发送的包含外网网元标识的应用层访问请求后,向本网网络存储功能NRF送包含所述外网网元ID的服务发现请求;接收来自所述本网NRF的包含至少一个本网网元的真实ID和真实地址的服务发现响应请求;将包含所述本网网元的隐藏ID的拓扑隐藏通知送给本网网元。Before sending the determined hidden ID of the local network element to the local network element through the topology hidden notification and determining the hidden ID of the local network element, receive the application layer access sent by the external network element including the external network element identifier After the request, send a service discovery request containing the ID of the external network element to the local network storage function NRF; receive a service discovery response request containing the real ID and real address of at least one local network element from the local network NRF ; Send the topology hidden notification including the hidden ID of the network element of the local network to the network element of the local network.

可选的,所述处理器还具体用于:Optionally, the processor is also specifically used for:

在通过所述收发机接收来自所述本网NRF的包含至少一个本网网元的真实ID和真实地址的服务发现响应请求之后,若所述本网NRF发送的服务发现响应请求包含多个本网网元的真实ID和真实地址,则根据本网网元与IP地址的归属关系,向本网网元相对应的地址隐藏单元发送地址隐藏请求。After receiving a service discovery response request including the real ID and real address of at least one local network element from the local network NRF through the transceiver, if the service discovery response request sent by the local network NRF contains multiple local network elements If the real ID and real address of the network element of the network are used, the address hiding request is sent to the address hiding unit corresponding to the network element of the network according to the attribution relationship between the network element of the network element and the IP address of the network element.

可选的,所述处理器还具体用于:Optionally, the processor is also specifically used for:

在收到地址隐藏单元发送的地址隐藏响应后,向外网网元发送包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应。After receiving the address hiding response sent by the address hiding unit, send the application layer service access response including the hidden ID and the hidden address of the network element of the local network to the external network element.

可选的,所述处理器还具体用于:Optionally, the processor is also specifically used for:

若通过发送拓扑隐藏响应将确定的本网网元的隐藏ID发送给本网网元,在单元确定本网网元的隐藏ID之前,通过收发机接收来自本网网元的携带本网网元真实ID的拓扑隐藏请求;将包含所述本网网元的隐藏ID的拓扑隐藏响应通过收发机发送给本网网元。If the determined hidden ID of the local network element is sent to the local network element by sending the topology hidden response, before the unit determines the hidden ID of the local network element, the transceiver receives the information from the local network element carrying the local network element through the transceiver. The topology hiding request of the real ID; the topology hiding response including the hidden ID of the network element of the local network is sent to the network element of the local network through the transceiver.

本发明实施例提供一种拓扑隐藏的设备,包括:处理器以及收发机:An embodiment of the present invention provides a topology hiding device, including: a processor and a transceiver:

所述处理器,用于确定本网网元的隐藏地址;在通过收发机收到本网网元发送给外网网元的消息后将所述消息中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元,以及在通过收发机收到外网网元发送给本网网元的消息后将本网网元的隐藏地址替换为本网网元的真实地址发送给本网网元。The processor is used to determine the hidden address of the network element of the local network; after receiving the message sent by the network element of the local network to the network element of the external network through the transceiver, replace the address in the message with the network element of the local network After receiving the message sent by the external network element to the local network element through the transceiver, replace the hidden address of the local network element with the real address of the local network element It is sent to the network element of this network.

可选的,所述处理器还具体用于:Optionally, the processor is also specifically used for:

在单元确定本网网元的隐藏地址之前,通过收发机接收来自所述拓扑隐藏单元的包含本网网元的真实地址的地址隐藏请求;将包含所述本网网元的隐藏地址的地址隐藏响应发送给所述拓扑隐藏单元。Before the unit determines the hidden address of the network element of the own network, the transceiver receives an address hiding request containing the real address of the network element of the own network from the topology hiding unit; hides the address containing the hidden address of the network element of the own network The response is sent to the topological hidden unit.

本发明实施例提供一种拓扑隐藏的设备,包括:处理器以及收发机:An embodiment of the present invention provides a topology hiding device, including: a processor and a transceiver:

所述处理器,用于通过收发机接收拓扑隐藏单元发送的所述本网网元的隐藏ID;通过所述地址隐藏单元与所述外网网元建立连接;在向外网网元发送消息时,将所述消息中的ID替换成隐藏ID,发送给地址隐藏单元,以使所述地址隐藏单元将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元。The processor is configured to receive, through the transceiver, the hidden ID of the network element of the local network sent by the topology hiding unit; establish a connection with the network element of the external network through the address hiding unit; send a message to the network element of the external network When replacing the ID in the message with a hidden ID, send it to the address hiding unit, so that the address hiding unit replaces the real address in the message with the hidden address of the network element of the local network and sends it to the address hiding unit. the external network element.

可选的,所述处理器还具体用于:Optionally, the processor is also specifically used for:

在接收拓扑隐藏单元发送的所述本网网元的隐藏ID之前,需要采用直达方式访问外网网元时,向拓扑隐藏单元通过收发机发送拓扑隐藏请求。Before receiving the hidden ID of the network element of the local network sent by the topology hiding unit, when it is necessary to access the network element of the external network in a direct way, a topology hiding request is sent to the topology hiding unit through the transceiver.

可选的,所述处理器还具体用于:Optionally, the processor is also specifically used for:

在通过收发机接收拓扑隐藏单元发送的所述本网网元的隐藏ID之后,存储本网网元的隐藏ID用于后续信令互通使用。After receiving the hidden ID of the network element of the local network sent by the topology hiding unit through the transceiver, the hidden ID of the network element of the local network is stored for use in subsequent signaling interworking.

可选的,所述向外网网元发送的消息为应用层服务访问请求消息或应用层服务访问响应消息。Optionally, the message sent to the external network element is an application layer service access request message or an application layer service access response message.

本发明实施例提供一种拓扑隐藏的设备,包括:处理器以及收发机:An embodiment of the present invention provides a topology hiding device, including: a processor and a transceiver:

所述处理器,用于在需要采用直达方式访问本网网元时,根据外网NRF返回的拓扑隐藏单元的地址向拓扑隐藏单元发送应用层服务访问请求;通过收发机接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应;根据所述本网网元的隐藏ID和隐藏地址,通过所述地址隐藏单元与所述本网网元进行信令互通。The processor is configured to send an application layer service access request to the topology hidden unit according to the address of the topology hidden unit returned by the external network NRF when it is necessary to access the network element of the local network in a direct manner; receive the topology hidden unit through a transceiver The sent application layer service access response including the hidden ID and hidden address of the network element of the local network; according to the hidden ID and hidden address of the network element of the local network, signaling is performed with the network element of the local network through the address hiding unit Intercommunication.

可选的,所述处理器还具体用于:Optionally, the processor is also specifically used for:

在向拓扑隐藏单元请求本网网元的ID和地址之前,向外网NRF发送服务发现请求。Before requesting the ID and address of the network element of the local network from the topology hiding unit, a service discovery request is sent to the external network NRF.

可选的,所述处理器还具体用于:Optionally, the processor is also specifically used for:

在通过收发机接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应后,存储本网网元的隐藏ID用于后续信令互通使用。After receiving the application layer service access response including the hidden ID and hidden address of the network element of the local network sent by the topology hiding unit through the transceiver, the hidden ID of the network element of the local network is stored for subsequent signaling interworking use.

本发明实施例还提供一种拓扑隐藏的设备,包括:The embodiment of the present invention also provides a topology hiding device, including:

第一确定模块,用于在本网网元和外网网元需要采用直达方式访问后,根据本网网元的真实ID确定本网网元的隐藏ID;The first determination module is used to determine the hidden ID of the network element of the local network according to the real ID of the network element of the local network after the network element of the local network and the network element of the external network need to be accessed in a direct way;

第一发送模块,用于单元按照真实地址将确定的本网网元的隐藏ID发送给本网网元,以使所述本网网元采用所述隐藏ID与外网网元进行信令互通。The first sending module is used for the unit to send the determined hidden ID of the network element of the local network to the network element of the local network according to the real address, so that the network element of the local network uses the hidden ID to perform signaling intercommunication with the network element of the external network .

本发明实施例还提供一种拓扑隐藏的设备,包括:The embodiment of the present invention also provides a topology hiding device, including:

第二确定模块,用于确定本网网元的隐藏地址;The second determination module is used to determine the hidden address of the network element of this network;

第二发送模块,用于在收到本网网元发送给外网网元的消息后将所述消息中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元,以及在收到外网网元发送给本网网元的消息后将本网网元的隐藏地址替换为本网网元的真实地址发送给本网网元。The second sending module is configured to, after receiving the message sent by the network element of the local network to the network element of the external network, replace the address in the message with the hidden address of the network element of the local network and send it to the network element of the external network , and after receiving the message sent by the external network element to the local network element, replace the hidden address of the local network element with the real address of the local network element and send it to the local network element.

本发明实施例还提供一种拓扑隐藏的设备,包括:The embodiment of the present invention also provides a topology hiding device, including:

第三确定模块,用于接收拓扑隐藏单元发送的所述本网网元的隐藏ID;所述本网网元通过所述地址隐藏单元与所述外网网元建立连接;a third determining module, configured to receive the hidden ID of the network element of the local network sent by the topology hiding unit; the network element of the local network establishes a connection with the network element of the external network through the address hiding unit;

第三发送模块,用于在向外网网元发送消息时,将所述消息中的ID替换成隐藏ID,发送给地址隐藏单元,以使所述地址隐藏单元将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元。The third sending module is configured to replace the ID in the message with a hidden ID when sending a message to an external network element, and send it to the address hiding unit, so that the address hiding unit can convert the real address in the message to the address hiding unit. After being replaced with the hidden address of the network element of the local network, it is sent to the network element of the external network.

本发明实施例还提供一种拓扑隐藏的设备,包括:The embodiment of the present invention also provides a topology hiding device, including:

第四发送模块,用于在需要采用直达方式访问本网网元时,根据外网NRF返回的拓扑隐藏单元的地址向拓扑隐藏单元发送应用层服务访问请求;The fourth sending module is used to send an application layer service access request to the topology hiding unit according to the address of the topology hiding unit returned by the external network NRF when it is necessary to access the network element of the local network in a direct way;

第四确定模块,用于接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应;根据所述本网网元的隐藏ID和隐藏地址,通过所述地址隐藏单元与所述本网网元进行信令互通。The fourth determination module is configured to receive the application layer service access response including the hidden ID and hidden address of the network element of the local network sent by the topology hiding unit; according to the hidden ID and hidden address of the network element of the local network, through the The address hiding unit performs signaling intercommunication with the local network element.

本发明实施例还提供一种拓扑隐藏的设备,该设备包括:至少一个处理单元、以及至少一个存储单元,其中,所述存储单元存储有程序代码,当所述程序代码被所述处理单元执行时,使得所述处理单元执行:An embodiment of the present invention further provides a topology hiding device, the device includes: at least one processing unit and at least one storage unit, wherein the storage unit stores program codes, and when the program codes are executed by the processing unit , causing the processing unit to execute:

所述拓扑隐藏单元进行拓扑隐藏的步骤;或the step of topology hiding by the topology hiding unit; or

所述地址隐藏单元进行拓扑隐藏的步骤;或The address hiding unit performs a step of topology hiding; or

所述本网网元进行拓扑隐藏的步骤;或The step of performing topology hiding by the network element of the local network; or

所述外网网元进行拓扑隐藏的步骤。The step of performing topology hiding by the external network element.

本发明实施例设置拓扑隐藏单元,在本网网元和外网网元需要采用直达方式访问后,确定本网网元的隐藏ID,所述本网网元采用所述隐藏ID与外网网元建立连接。还新增地址隐藏单元,确定本网网元的隐藏地址,在本网网元在向外网网元发送消息时将所述消息中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元,以及在收到外网网元发送给本网网元的消息时将本网网元的隐藏地址替换为本网网元的地址发送给本网网元。由于本发明实施例中新增拓扑隐藏单元为本网网元分配隐藏ID,以及新增地址隐藏单元确定本网网元的隐藏地址和在本网网元与外网网元建立连接时替换地址,不再采用路由节点进行实现拓扑隐藏,因此可以解决5G网络中因采用直连没有引入路由节点,而无法实现网元标识拓扑隐藏和地址隐藏,在寻址过程中无法对地址和标识的翻译恢复的问题。In this embodiment of the present invention, a topology hiding unit is set, and after the network element of the local network and the network element of the external network need to be accessed in a direct way, the hidden ID of the network element of the local network is determined, and the network element of the local network adopts the hidden ID and the network element of the external network. Meta establishes a connection. An address hiding unit is also added to determine the hidden address of the network element of the local network, and the network element of the local network replaces the address in the message with the hidden address of the network element of the local network when the network element of the local network sends a message to the network element of the external network. To the external network element, and when receiving the message sent by the external network element to the local network element, replace the hidden address of the local network element with the address of the local network element and send the message to the local network element. In the embodiment of the present invention, a new topology hiding unit assigns a hidden ID to the network element of the own network, and the newly added address hiding unit determines the hidden address of the network element of the own network and replaces the address when the network element of the own network is connected with the network element of the external network. , the routing node is no longer used to achieve topology hiding, so it can solve the problem that the network element identification topology hiding and address hiding cannot be realized because the direct connection is not introduced in the 5G network, and the address and identification cannot be translated during the addressing process. recovery problem.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.

图1为本发明实施例一种拓扑隐藏的方法的系统结构示意图;1 is a schematic diagram of a system structure of a method for topology hiding according to an embodiment of the present invention;

图2为本发明实施例第一种拓扑隐藏的拓扑隐藏单元的设备结构示意图;2 is a schematic diagram of a device structure of a topology hiding unit of a first topology hiding according to an embodiment of the present invention;

图3为本发明实施例第一种拓扑隐藏的地址隐藏单元的设备结构示意图;3 is a schematic diagram of a device structure of a first topology-hiding address hiding unit according to an embodiment of the present invention;

图4为本发明实施例第一种拓扑隐藏设备的本网网元的结构示意图;4 is a schematic structural diagram of a local network element of a first topology hiding device according to an embodiment of the present invention;

图5为本发明实施例第一种拓扑隐藏设备的外网网元的结构示意图;5 is a schematic structural diagram of an external network element of a first topology hiding device according to an embodiment of the present invention;

图6为本发明实施例另一种拓扑隐藏的设备结构示意图;6 is a schematic structural diagram of another topology hiding device according to an embodiment of the present invention;

图7为本发明实施例第一种拓扑隐藏的拓扑隐藏单元的设备结构示意图;7 is a schematic diagram of a device structure of a topology hiding unit of the first topology hiding according to an embodiment of the present invention;

图8为本发明实施例第一种拓扑隐藏的地址隐藏单元的设备结构示意图;8 is a schematic diagram of a device structure of a first topology-hiding address hiding unit according to an embodiment of the present invention;

图9为本发明实施例第一种拓扑隐藏设备的本网网元的结构示意图;9 is a schematic structural diagram of a local network element of a first topology hiding device according to an embodiment of the present invention;

图10为本发明实施例第一种拓扑隐藏设备的外网网元的结构示意图;10 is a schematic structural diagram of an external network element of a first topology hiding device according to an embodiment of the present invention;

图11为本发明实施例一种拓扑隐藏方法的拓扑隐藏单元的流程示意图;11 is a schematic flowchart of a topology hiding unit of a topology hiding method according to an embodiment of the present invention;

图12为本发明实施例一种拓扑隐藏方法的地址隐藏单元的流程示意图;12 is a schematic flowchart of an address hiding unit of a topology hiding method according to an embodiment of the present invention;

图13为本发明实施例一种拓扑隐藏方法的本网网元的流程示意图;13 is a schematic flowchart of a network element of a local network of a topology hiding method according to an embodiment of the present invention;

图14为本发明实施例一种拓扑隐藏方法的外网网元的流程示意图;14 is a schematic flowchart of an external network element of a topology hiding method according to an embodiment of the present invention;

图15为本发明实施例第一种拓扑隐藏方法的完整方法流程示意图;15 is a schematic flowchart of a complete method of a first topology hiding method according to an embodiment of the present invention;

图16为本发明实施例第二种拓扑隐藏方法的完整方法流程示意图;16 is a schematic flowchart of a complete method of a second topology hiding method according to an embodiment of the present invention;

图17为本发明实施例第三种拓扑隐藏方法的完整方法流程示意图;17 is a schematic flowchart of a complete method of a third topology hiding method according to an embodiment of the present invention;

图18为本发明实施例第四种拓扑隐藏方法的完整方法流程示意图。FIG. 18 is a schematic flowchart of a complete method of a fourth topology hiding method according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. . Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

针对5G网络漫游架构,一个运营商不论部署任何拓扑隐藏机制,在业务流程层面对其他运营商都是透明的,因此本发明实施例方案不限定外网的拓扑隐藏机制,外网可能部署和本网相同的拓扑隐藏机制,也可能是其他机制。For the 5G network roaming architecture, no matter what topology hiding mechanism is deployed by an operator, it is transparent to other operators at the business process level. Therefore, the solution of the embodiment of the present invention does not limit the topology hiding mechanism of the external network, and the external network may deploy the same network The same topology hiding mechanism, possibly other mechanisms as well.

如图1所述,本发明实施例进行拓扑隐藏的系统包括:拓扑隐藏单元10、地址隐藏单元11、本网网元12和外网网元13。As shown in FIG. 1 , the system for performing topology hiding according to the embodiment of the present invention includes: a topology hiding unit 10 , an address hiding unit 11 , a network element 12 of the local network, and a network element 13 of an external network.

拓扑隐藏单元10,用于在本网网元和外网网元需要采用直达方式访问后,根据本网网元的真实ID确定本网网元的隐藏ID;按照真实地址将确定的本网网元的隐藏ID发送给本网网元,以使所述本网网元采用所述隐藏ID与外网网元进行信令互通。The topology hiding unit 10 is used to determine the hidden ID of the network element of the local network according to the real ID of the network element of the local network after the network element of the local network and the network element of the external network need to be accessed in a direct way; The hidden ID of the element is sent to the network element of the local network, so that the network element of the local network uses the hidden ID to perform signaling intercommunication with the network element of the external network.

地址隐藏单元11,用于确定本网网元的隐藏地址;在收到本网网元在向外网网元发送消息后将所述消息中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元,以及在收到外网网元发送给本网网元的消息后将本网网元的隐藏地址替换为本网网元的地址发送给本网网元。The address hiding unit 11 is configured to determine the hidden address of the network element of the local network; after receiving the message sent by the network element of the local network to the network element of the external network, replace the address in the message with the hidden address of the network element of the local network After receiving the message sent by the external network element to the local network element, replace the hidden address of the local network element with the address of the local network element and send it to the local network element.

本网网元12,用于在接收拓扑隐藏单元发送的所述本网网元的隐藏ID;通过所述地址隐藏单元与所述外网网元建立连接;在向外网网元发送消息时,将所述消息中的ID替换成隐藏ID,发送给地址隐藏单元,以使所述地址隐藏单元将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元。The network element 12 of the local network is used for receiving the hidden ID of the network element of the local network sent by the topology hiding unit; establishing a connection with the network element of the external network through the address hiding unit; when sending a message to the network element of the external network , replace the ID in the message with a hidden ID, and send it to the address hiding unit, so that the address hiding unit replaces the real address in the message with the hidden address of the network element of the local network and sends it to the address hiding unit. External network element.

外网网元13,用于在需要采用直达方式访问本网网元时,根据外网NRF返回的拓扑隐藏单元的地址向拓扑隐藏单元发送应用层服务访问请求;接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应;根据所述本网网元的隐藏ID和隐藏地址,通过所述地址隐藏单元与所述本网网元进行信令互通。The external network element 13 is used to send an application layer service access request to the topology hiding unit according to the address of the topology hiding unit returned by the external network NRF when it is necessary to access the network element of the local network in a direct manner; The application layer service access response including the hidden ID and hidden address of the local network element; according to the hidden ID and hidden address of the local network element, the address hiding unit performs signaling intercommunication with the local network element.

其中,所述本网指的是的网元所归属的运营商网络,外网指的是网元所归属的其他运营商网络。例如,当本网是中国移动时,外网就是其它的运营商网络;所述地址为网元与其外网元建立连接使用的信令连接地址。The local network refers to the operator network to which the network element belongs, and the external network refers to other operator networks to which the network element belongs. For example, when the local network is China Mobile, the external network is another operator's network; the address is the signaling connection address used by the network element to establish a connection with its external network element.

本发明实施例设置拓扑隐藏单元,在本网网元和外网网元需要采用直达方式访问后,确定本网网元的隐藏ID,所述本网网元采用所述隐藏ID与外网网元建立连接。还新增地址隐藏单元,确定本网网元的隐藏地址,在本网网元在向外网网元发送消息时将所述消息中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元,以及在收到外网网元发送给本网网元的消息时将本网网元的隐藏地址替换为本网网元的地址发送给本网网元。由于本发明实施例中新增拓扑隐藏单元为本网网元分配隐藏ID,以及新增地址隐藏单元确定本网网元的隐藏地址和在本网网元与外网网元建立连接时替换地址,不再采用路由节点进行实现拓扑隐藏,因此可以解决5G网络中因采用直连没有引入路由节点,而无法实现网元标识拓扑隐藏和地址隐藏,在寻址过程中无法对地址和标识的翻译恢复的问题。In this embodiment of the present invention, a topology hiding unit is set, and after the network element of the local network and the network element of the external network need to be accessed in a direct way, the hidden ID of the network element of the local network is determined, and the network element of the local network adopts the hidden ID and the network element of the external network. Meta establishes a connection. An address hiding unit is also added to determine the hidden address of the network element of the local network, and the network element of the local network replaces the address in the message with the hidden address of the network element of the local network when the network element of the local network sends a message to the network element of the external network. To the external network element, and when receiving the message sent by the external network element to the local network element, replace the hidden address of the local network element with the address of the local network element and send the message to the local network element. In the embodiment of the present invention, a new topology hiding unit assigns a hidden ID to the network element of the own network, and the newly added address hiding unit determines the hidden address of the network element of the own network and replaces the address when the network element of the own network is connected with the network element of the external network. , the routing node is no longer used to achieve topology hiding, so it can solve the problem that the network element identification topology hiding and address hiding cannot be realized because the direct connection is not introduced in the 5G network, and the address and identification cannot be translated during the addressing process. recovery problem.

在漫游场景下,本网网元与外网网元的业务流程根据发起方的不同分为两种方案:本网向外网发起请求消息以及相应的寻址方案,和外网向本网发起请求消息以及相应的寻址方案。In the roaming scenario, the business process between the local network element and the external network element is divided into two schemes according to the different initiators: the local network initiates a request message to the external network and the corresponding addressing scheme, and the external network initiates a request message to the local network. Request message and corresponding addressing scheme.

本发明实施例针对两种方案提供两种拓扑隐藏方案,下面分别进行说明。The embodiments of the present invention provide two topology hiding schemes for the two schemes, which will be described separately below.

方案一,本网向外网发起请求消息以及相应的寻址方案。Scheme 1, the local network initiates a request message and a corresponding addressing scheme to the external network.

具体的,在本网向外网发起请求消息时,可以根据本网网元是否储存本网网元的隐藏ID又可以分为两种情况:本网网元未存储本网网元的隐藏ID向外网发送请求消息,以及本网网元存储本网网元的隐藏ID向外网发送请求消息,Specifically, when the local network initiates a request message to the external network, it can be divided into two cases according to whether the local network element stores the hidden ID of the local network element: the local network element does not store the hidden ID of the local network element. Send a request message to the external network, and the network element of the local network stores the hidden ID of the network element of the local network to send the request message to the external network,

本发明实施例针对上述两种情况分别给出相应的拓扑隐藏方案。The embodiments of the present invention respectively provide corresponding topology hiding schemes for the above two situations.

1、本网网元未存储本网网元的隐藏ID向外网发送请求消息。1. The network element of the local network does not store the hidden ID of the network element of the local network and sends a request message to the external network.

本网网元向其外网网元发送消息时需要向本网的NRF查询目的网元是否为外网网元,具体的。When the local network element sends a message to its external network element, it needs to query the NRF of the local network whether the destination network element is an external network element, specifically.

本网网元向本网NRF(Network Repository Function,网络存储功能)发送服务发现请求,所述服务发现请求中包含服务ID,本网网元的类型和目的网元的标识等信令。其中,所述本网网元的类型和目的网元的标识可以为移动网络识别码、移动国家码等。The local network element sends a service discovery request to the local network NRF (Network Repository Function, network storage function), and the service discovery request includes signaling such as the service ID, the type of the local network element and the identifier of the destination network element. Wherein, the type of the network element of the local network and the identifier of the destination network element may be a mobile network identification code, a mobile country code, and the like.

所述本网NRF根据服务发现请求中目的网元的标识判断否为本网内的网元,若不是,本网NRF向外网NRF发送所述服务发现请求。The local network NRF determines whether it is a network element in the local network according to the identifier of the destination network element in the service discovery request, and if not, the local network NRF sends the service discovery request to the external network NRF.

外网NRF在接收到服务发现请求后,根据请求消息内的信令查询目的网元,并向本网NRF发送包含外网网元的ID和地址的服务发现响应消息。After receiving the service discovery request, the external network NRF queries the destination network element according to the signaling in the request message, and sends a service discovery response message including the ID and address of the external network element to the local network NRF.

本网NRF将所述服务发现响应消息发送给本网网元,本网网元接收到所述服务发现响应后,保存所述消息中的目的网元的ID和地址并向与拓扑隐藏单元发送包含自身ID的拓扑隐藏请求消息。The local network NRF sends the service discovery response message to the local network element. After receiving the service discovery response, the local network element saves the ID and address of the destination network element in the message and sends it to the topology hiding unit. Topology hiding request message containing its own ID.

相应的,所述拓扑隐藏单元在接收到本网网元的拓扑隐藏请求后,为本网网元动态分配一个隐藏ID。Correspondingly, after receiving the topology hiding request from the network element of the own network, the topology hiding unit dynamically assigns a hiding ID to the network element of the own network.

例如,根据本网网元的类型分类编号如UDM1234.3GPP,预先设置一个分配规则,比如在本网网元的真实ID上删除拓扑信息如地市名之后,则构成所需要的隐藏ID。当所述拓扑隐藏单元在接收到本网网元的拓扑隐藏请求后,根据预先设置好的分配规则,在所述本网网元上删除地市名,将删除地市名ID作为所述本网网元的隐藏ID,并分配给所述本网网元。For example, according to the type classification number of the network element on the local network, such as UDM1234.3GPP, an allocation rule is preset. For example, after deleting the topology information such as the city name from the real ID of the network element on the local network, the required hidden ID is formed. When the topology hiding unit receives the topology hiding request from the network element of the local network, it deletes the name of the city on the network element of the local network according to the preset allocation rule, and uses the ID of the name of the city to be deleted as the local city name ID. The hidden ID of the network element of the network is allocated to the network element of the local network.

所述拓扑隐藏单将所述隐藏ID置于拓扑隐藏响应消息中发送给本网网元。In the topology hiding list, the hiding ID is placed in a topology hiding response message and sent to the network element of the local network.

相应的,所述本网网元保存在用户上下文中存储真实ID与隐藏ID的映射关系之后,在传送层向地址隐藏单元发送信令连接请求,其中,所述信令连接请求中包括本网网元的真实地址和外网网元的地址。Correspondingly, after storing the mapping relationship between the real ID and the hidden ID in the user context, the local network element sends a signaling connection request to the address hiding unit at the transport layer, wherein the signaling connection request includes the local network. The real address of the network element and the address of the external network element.

所述地址隐藏单元在收到信令连接请求后将所述消息中的真实地址替换成所述本网网元的隐藏地址。The address hiding unit replaces the real address in the message with the hidden address of the network element of the local network after receiving the signaling connection request.

所述地址隐藏单元将所述隐藏地址置于信令连接请求消息中发送给所述外网网元。The address hiding unit places the hidden address in a signaling connection request message and sends it to the external network element.

相应的,所述外网网元收到信令连接请求后,根据消息中的所述本网网元的隐藏地址,通过所述地址隐藏单元向所述本网网元发送信令连接响应,其中,所述信令连接响应中包括本网网元的隐藏地址和外网网元的地址。Correspondingly, after receiving the signaling connection request, the external network element sends a signaling connection response to the local network element through the address hiding unit according to the hidden address of the local network element in the message, Wherein, the signaling connection response includes the hidden address of the network element of the local network and the address of the network element of the external network.

所述地址隐藏单元在收到外网网元发送给本网网元的信令连接响应后,将置于消息中的本网网元的隐藏地址替换为本网网元的真实地址发送给本网网元。After receiving the signaling connection response sent by the external network element to the local network element, the address hiding unit replaces the hidden address of the local network element in the message with the real address of the local network element and sends it to the local network element. network element.

相应的,本网网元收到信令连接响应后,将自身的ID替换成隐藏ID置于应用层服务访问请求中,通过所述地址隐藏单元向所述外网网元发送。Correspondingly, after the local network element receives the signaling connection response, it replaces its own ID with a hidden ID in the application layer service access request, and sends it to the external network element through the address hiding unit.

所述地址隐藏单元收到信令连接响应后,将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元。After receiving the signaling connection response, the address hiding unit replaces the real address in the message with the hidden address of the network element of the local network and sends it to the network element of the external network.

所述外网网元收到应用层服务访问请求后,根据消息中的所述本网网元的隐藏地址和隐藏ID,通过所述地址隐藏单元向所述本网网元发送应用层服务访问响应,并存储所述本网网元的隐藏ID。After the external network element receives the application layer service access request, according to the hidden address and hidden ID of the local network element in the message, send the application layer service access to the local network element through the address hiding unit. response, and store the hidden ID of the network element of the local network.

其中,所述信令连接响应中包括本网网元的隐藏地址和和隐藏ID以及外网网元的地址和ID。Wherein, the signaling connection response includes the hidden address and hidden ID of the network element of the local network and the address and ID of the network element of the external network.

所述地址隐藏单元收到应用层服务访问响应后,将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元,所述本网网元与所述外网网元建立服务访问。After receiving the application layer service access response, the address hiding unit replaces the real address in the message with the hidden address of the network element of the local network and sends it to the network element of the external network, and the network element of the local network and the network element of the local network are sent to the external network element. The external network element establishes service access.

2、本网网元存储本网网元的隐藏ID向外网发送请求消息。2. The network element of the local network stores the hidden ID of the network element of the local network and sends a request message to the external network.

本网网元通过之前与外网网元建立连接后已经存储自身的隐藏ID,在向外网网元发送请求消息时,判断本网网元与所述外网网元之间是否建有信令连接:若所述本网网元与外网网元之间已经建立连接,则所述本网网元在已有的信令连接上发送请求消息,以使所述外网网元在接收到消息后与所述本网网元建立服务访问;The network element of the local network has stored its own hidden ID after establishing a connection with the network element of the external network. When sending a request message to the network element of the external network, it is judged whether there is a trust relationship between the network element of the local network and the network element of the external network. Make connection: If a connection has been established between the network element of the local network and the network element of the external network, the network element of the local network sends a request message on the existing signaling connection, so that the network element of the external network can receive After receiving the message, establish service access with the network element of the local network;

若所述本网网元与外网网元没有建立连接,则本网网元从自身存储的数据中查询所述外网网元的地址,并将所述外网网元的地址置于信令连接请求中,通过所述地址隐藏单元向所述外网网元发送。If there is no connection between the network element of the local network and the network element of the external network, the network element of the local network queries the address of the network element of the external network from the data stored by itself, and puts the address of the network element of the external network in the information In the connection request, it is sent to the external network element through the address hiding unit.

所述地址隐藏单元在收到信令连接请求后将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元。After receiving the signaling connection request, the address hiding unit replaces the real address in the message with the hidden address of the network element of the local network and sends it to the network element of the external network.

所述外网网元收到信令连接请求后,根据消息中的所述本网网元的隐藏地址,通过所述地址隐藏单元向所述本网网元发送信令连接响应,其中,所述信令连接响应中包括本网网元的隐藏地址和外网网元的地址。After receiving the signaling connection request, the external network element sends a signaling connection response to the local network element through the address hiding unit according to the hidden address of the local network element in the message, wherein the The signaling connection response includes the hidden address of the network element of the local network and the address of the network element of the external network.

所述地址隐藏单元在收到外网网元发送给本网网元的信令连接响应后,将置于消息中的本网网元的隐藏地址替换为本网网元的真实地址发送给本网网元。After receiving the signaling connection response sent by the external network element to the local network element, the address hiding unit replaces the hidden address of the local network element in the message with the real address of the local network element and sends it to the local network element. network element.

相应的,本网网元收到信令连接响应后,将自身的ID替换成隐藏ID置于应用层服务访问请求中,通过所述地址隐藏单元向所述外网网元发送。Correspondingly, after the local network element receives the signaling connection response, it replaces its own ID with a hidden ID in the application layer service access request, and sends it to the external network element through the address hiding unit.

所述地址隐藏单元收到信令连接响应后,将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元。After receiving the signaling connection response, the address hiding unit replaces the real address in the message with the hidden address of the network element of the local network and sends it to the network element of the external network.

所述外网网元收到应用层服务访问请求后,根据消息中的所述本网网元的隐藏地址和隐藏ID,通过所述地址隐藏单元向所述本网网元发送应用层服务访问响应,并存储所述本网网元的隐藏ID。After the external network element receives the application layer service access request, according to the hidden address and hidden ID of the local network element in the message, send the application layer service access to the local network element through the address hiding unit. response, and store the hidden ID of the network element of the local network.

其中,所述信令连接响应中包括本网网元的隐藏地址和和隐藏ID以及外网网元的地址和ID。Wherein, the signaling connection response includes the hidden address and hidden ID of the network element of the local network and the address and ID of the network element of the external network.

所述地址隐藏单元收到应用层服务访问响应后,将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元,所述本网网元与所述外网网元建立服务访问。After receiving the application layer service access response, the address hiding unit replaces the real address in the message with the hidden address of the network element of the local network and sends it to the network element of the external network, and the network element of the local network and the network element of the local network are sent to the external network element. The external network element establishes service access.

方案二,外网向本网发起请求消息以及相应的寻址方案。Scheme 2, the external network initiates a request message and a corresponding addressing scheme to the local network.

具体的,在外网向本网发起请求消息时,可以根据外网网元是否储存本网网元的隐藏ID和隐藏地址又可以分为两种情况:外网网元未存储本网网元的隐藏ID和隐藏地址向本网发送请求消息,以及外网网元存储本网网元的隐藏ID和隐藏地址向本网发送请求消息。Specifically, when the external network initiates a request message to the local network, it can be divided into two cases according to whether the external network element stores the hidden ID and hidden address of the local network element: the external network element does not store the local network element's hidden ID and hidden address. The hidden ID and hidden address send a request message to the local network, and the external network element stores the hidden ID and hidden address of the local network element to send the request message to the local network.

本发明实施例针对上述两种情况分别给出相应的拓扑隐藏方案。The embodiments of the present invention respectively provide corresponding topology hiding schemes for the above two situations.

1、外网网元未存储本网网元的隐藏ID和隐藏地址向本网发送请求消息。1. The external network element does not store the hidden ID and hidden address of the local network element to send a request message to the local network.

外网网元向外网元发送消息时需要向外网的NRF查询目的网元是否为本网网元,具体的。When an external network element sends a message to an external network element, it needs to query the NRF of the external network whether the destination network element is a local network element, specifically.

外网网元向外网NRF发送服务发现请求,所述服务发现请求中包含服务ID,外网网元的类型和目的网元的标识等信令。其中,所述外网网元的类型和目的网元的标识可以为移动网络识别码、移动国家码等。The external network element sends a service discovery request to the external network NRF, and the service discovery request includes signaling such as the service ID, the type of the external network element and the identifier of the destination network element. Wherein, the type of the external network element and the identifier of the destination network element may be a mobile network identification code, a mobile country code, and the like.

所述外网NRF根据服务发现请求中目的网元的标识判断否为外网内的网元,若不是,外网NRF根据目的网元的标识向本网NRF发送所述服务发现请求。The external network NRF determines whether it is a network element in the external network according to the identifier of the destination network element in the service discovery request, and if not, the external network NRF sends the service discovery request to the local network NRF according to the identifier of the destination network element.

本网NRF在接收到服务发现请求后,查询本网的拓扑隐藏单元的ID和地址,并向外网NRF发送包含本网的拓扑隐藏单元的ID和地址的服务发现响应消息。After receiving the service discovery request, the local network NRF queries the ID and address of the topology hiding unit of the local network, and sends a service discovery response message containing the ID and address of the topology hiding unit of the local network to the external network NRF.

外网NRF将所述服务发现响应消息发送给外网网元,外网网元接收到所述服务发现响应后,保存所述消息中拓扑隐藏单元的ID和地址,并根据所述拓扑隐藏单元的ID和地址向所述拓扑隐藏单元发送包含外网网元ID和地址的应用层服务访问请求。The external network NRF sends the service discovery response message to the external network element. After receiving the service discovery response, the external network element saves the ID and address of the topology hiding unit in the message, and stores the ID and address of the topology hiding unit according to the topology hiding unit. The ID and address of the application layer service access request including the ID and address of the external network element are sent to the topology hiding unit.

相应的,所述拓扑隐藏单元接收应用层服务访问请求后,向本网NRF发送包含外网网元标识的服务发现请求。所述本网NRF根据外网网元标识查询本网内可以为所述外网网元支持服务的网元的地址,并返回给所述拓扑隐藏单元。Correspondingly, after receiving the application layer service access request, the topology hiding unit sends a service discovery request including the identifier of the network element of the external network to the NRF of the local network. The local network NRF queries the addresses of network elements in the local network that can support services for the external network elements according to the external network element identifiers, and returns the addresses to the topology hiding unit.

需要说明的是,若本网NRF查询本网内存在多个可以为所述外网网元支持服务的网元,则将所述多个本网网元的地址以列表的形式返回给所述拓扑隐藏单元。其中,任何一种能将多个本网网元的地址返回给所述拓扑隐藏单元,实现本网与外网建立连接的功能的的形式均在本发明的保护范围内。It should be noted that, if the local network NRF queries the local network that there are multiple network elements that can support and serve the external network element, the addresses of the multiple local network elements are returned to the said network element in the form of a list. Topological hidden units. Wherein, any form that can return the addresses of multiple local network elements to the topology hiding unit to realize the function of establishing a connection between the local network and the external network is within the protection scope of the present invention.

相应的,所述拓扑隐藏单元为收到的每一个本网网元分配隐藏ID,并将所述隐藏ID置于拓扑隐藏通知消息中,告知每一个本网网元拓扑隐藏后的ID。Correspondingly, the topology hiding unit assigns a hidden ID to each received network element of the local network, and places the hidden ID in the topology hiding notification message to inform each network element of the local network of the ID after topology hiding.

所述每一个本网网元在收到拓扑隐藏通知消息后,在用户上下文中存储真实ID与隐藏ID的映射关系。After receiving the topology hiding notification message, each local network element stores the mapping relationship between the real ID and the hidden ID in the user context.

相应的,所述拓扑隐藏单元还向地址隐藏单元发送地址隐藏请求,所述地址隐藏请求消息中包含本网网元的地址。Correspondingly, the topology hiding unit further sends an address hiding request to the address hiding unit, and the address hiding request message includes the address of the network element of the local network.

其中,若存在多个本网网元的地址就会存在多个地址隐藏单元,所述拓扑隐藏单元则将地址隐藏请求发送给地址隐藏单元接口模块,所述地址隐藏单元接口模块根据IP地址归属关系将转隐藏请求转发给对应的地址隐藏单元。Wherein, if there are multiple addresses of local network elements, there will be multiple address hiding units, and the topology hiding unit sends the address hiding request to the address hiding unit interface module, and the address hiding unit interface module belongs to the address hiding unit according to the IP address. The relationship forwards the transfer-hiding request to the corresponding address-hiding unit.

相应的,所述地址隐藏单元收到地址隐藏请求后,为收到的每一个本网网元分配隐藏后的连接地址,并在本地映射表中记录真实连接地址和隐藏后的连接地址的映射关系,并向所述拓扑隐藏单元返回隐藏地址(或隐藏地址列表)。Correspondingly, after receiving the address hiding request, the address hiding unit allocates a hidden connection address for each received network element of the local network, and records the mapping between the real connection address and the hidden connection address in the local mapping table. relationship, and return a hidden address (or a hidden address list) to the topological hidden unit.

所述拓扑隐藏单元采用重定向方式将包含本网隐藏ID和隐藏地址(或隐藏地址列表)的应用层服务访问请求响应返回到外网网元。The topology hiding unit returns the application layer service access request response including the hidden ID and the hidden address (or the hidden address list) of the local network to the network element of the external network in a redirection manner.

需要说明的是,上述过程中所述拓扑隐藏单元为本网网元分配隐藏ID,以及所述地址隐藏单元为本网网元分配隐藏后的连接地址的过程,本发明不对执行的前后顺序做限定,既可以先执行拓扑隐藏单元为本网网元分配隐藏ID,后执行地址隐藏单元为本网网元分配隐藏后的连接地址,也可以先执行地址隐藏单元为本网网元分配隐藏后的连接地址,后执行拓扑隐藏单元为本网网元分配隐藏ID。It should be noted that, in the above process, the topology hiding unit assigns a hidden ID to the network element of the network, and the address hiding unit assigns the hidden connection address to the network element of the network. The present invention does not perform the sequence of execution. Restriction, either the topology hiding unit can be executed first to assign a hidden ID to this network element, and then the address hiding unit can be executed to assign a hidden connection address to this network element, or the address hiding unit can be executed first to assign a hidden ID to this network element. After the topological hiding unit is executed, the hidden ID is assigned to the network element of the network.

相应的,所述外网网元接收请求响应消息之后,在传送层向地址隐藏单元发送信令连接请求,其中,所述信令连接请求中包括本网网元的隐藏地址和外网网元的地址。Correspondingly, after receiving the request response message, the external network element sends a signaling connection request to the address hiding unit at the transport layer, wherein the signaling connection request includes the hidden address of the local network element and the external network element. the address of.

所述地址隐藏单元在收到信令连接请求后将所述消息中的隐藏地址替换成所述本网网元的真实地址后发送给所述本网网元。After receiving the signaling connection request, the address hiding unit replaces the hidden address in the message with the real address of the network element of the own network and sends it to the network element of the own network.

所述本网网元在收到信令连接请求后,根据消息中的所述外网网元的地址,通过所述地址隐藏单元向所述外网网元发送信令连接响应,其中,所述信令连接响应中包括本网网元的隐藏地址和外网网元的地址。After receiving the signaling connection request, the local network element sends a signaling connection response to the external network element through the address hiding unit according to the address of the external network element in the message, wherein the The signaling connection response includes the hidden address of the network element of the local network and the address of the network element of the external network.

相应的,外网网元收到信令连接响应后,根据所述本网网元的隐藏ID通过所述地址隐藏单元向所述本网网元发送应用层服务访问请求。Correspondingly, after receiving the signaling connection response, the external network element sends an application layer service access request to the local network element through the address hiding unit according to the hidden ID of the local network element.

所述地址隐藏单元收到应用层服务访问请求后,将所述消息中的本网网元的隐藏地址替换成本网网元的真实地址后发送给所述本网网元。After receiving the application layer service access request, the address hiding unit replaces the hidden address of the network element of the local network in the message with the real address of the network element of the cost network and sends it to the network element of the local network.

所述本网网元在收到应用层服务访问请求后,根据消息中的所述外网网元的地址和ID,通过所述地址隐藏单元向所述外网网元发送应用层服务访问响应,After receiving the application layer service access request, the local network element sends an application layer service access response to the external network element through the address hiding unit according to the address and ID of the external network element in the message. ,

所述地址隐藏单元收到应用层服务访问响应后,将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元,所述外网网元与所述本网网元建立服务访问,并存储所述本网网元的隐藏ID和隐藏地址。After receiving the application layer service access response, the address hiding unit replaces the real address in the message with the hidden address of the network element of the local network and sends it to the network element of the external network, and the network element of the external network is connected to the network element of the external network. The local network element establishes service access, and stores the hidden ID and hidden address of the local network element.

2、外网网元存储本网网元的隐藏ID和隐藏地址向本网发送请求消息。2. The external network element stores the hidden ID and hidden address of the local network element and sends a request message to the local network.

若外网网元之前与本网网元已经建立连接,并已经存储本网网元的隐藏ID和隐藏地址,在向本网网元发送请求消息时,可直接在传送层向地址隐藏单元发送信令连接请求,其中,所述信令连接请求中包括本网网元的隐藏地址和外网网元的地址。If the external network element has established a connection with the local network element before, and has stored the hidden ID and hidden address of the local network element, when sending the request message to the local network element, it can directly send the message to the address hiding unit at the transport layer. A signaling connection request, wherein the signaling connection request includes the hidden address of the network element of the local network and the address of the network element of the external network.

所述地址隐藏单元在收到信令连接请求后将所述消息中的隐藏地址替换成所述本网网元的真实地址后发送给所述本网网元。After receiving the signaling connection request, the address hiding unit replaces the hidden address in the message with the real address of the network element of the own network and sends it to the network element of the own network.

所述本网网元在收到信令连接请求后,根据消息中的所述外网网元的地址,通过所述地址隐藏单元向所述外网网元发送信令连接响应,其中,所述信令连接响应中包括本网网元的真实地址和外网网元的地址。After receiving the signaling connection request, the local network element sends a signaling connection response to the external network element through the address hiding unit according to the address of the external network element in the message, wherein the The signaling connection response includes the real address of the network element of the local network and the address of the network element of the external network.

相应的,外网网元在收到信令连接响应后,根据所述本网网元的隐藏ID通过所述地址隐藏单元向所述本网网元发送应用层服务访问请求。Correspondingly, after receiving the signaling connection response, the external network element sends an application layer service access request to the local network element through the address hiding unit according to the hidden ID of the local network element.

所述地址隐藏单元收到应用层服务访问请求后,将所述消息中的本网网元的隐藏地址替换成本网网元的真实地址后发送给所述本网网元。After receiving the application layer service access request, the address hiding unit replaces the hidden address of the network element of the local network in the message with the real address of the network element of the cost network and sends it to the network element of the local network.

所述本网网元在收到应用层服务访问请求后,根据消息中的所述外网网元的地址和ID,通过所述地址隐藏单元向所述外网网元发送应用层服务访问响应,After receiving the application layer service access request, the local network element sends an application layer service access response to the external network element through the address hiding unit according to the address and ID of the external network element in the message. ,

所述地址隐藏单元收到应用层服务访问响应后,将所述消息中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元。After receiving the application layer service access response, the address hiding unit replaces the address in the message with the hidden address of the network element of the local network and sends it to the network element of the external network.

所述外网网元与所述本网网元建立服务访问。The external network element establishes service access with the local network element.

如图2所示,本发明实施例提供一种拓扑隐藏的设备,包括:处理器200以及收发机201。As shown in FIG. 2 , an embodiment of the present invention provides a topology hiding device, including: a processor 200 and a transceiver 201 .

所述处理器200,用于在本网网元和外网网元需要采用直达方式访问后,根据本网网元的真实ID确定本网网元的隐藏ID;按照真实地址将确定的本网网元的隐藏ID通过收发机发送给本网网元,以使所述本网网元采用所述隐藏ID与外网网元进行信令互通。The processor 200 is configured to determine the hidden ID of the network element of the local network according to the real ID of the network element of the local network after the network element of the local network and the network element of the external network need to be accessed in a direct way; The hidden ID of the network element is sent to the network element of the local network through the transceiver, so that the network element of the local network uses the hidden ID to perform signaling intercommunication with the network element of the external network.

可选的,所述处理器200还具体用于:Optionally, the processor 200 is further specifically used for:

通过拓扑隐藏响应或拓扑隐藏通知,将确定的本网网元的隐藏ID发送给本网网元。The determined hidden ID of the local network element is sent to the local network element through the topology hiding response or the topology hiding notification.

可选的,所述处理器200还具体用于:Optionally, the processor 200 is further specifically configured to:

在通过拓扑隐藏通知将确定的本网网元的隐藏ID送给本网网元和确定本网网元的隐藏ID之前,收到外网网元发送的包含外网网元标识的应用层访问请求后,向本网网络存储功能NRF送包含所述外网网元ID的服务发现请求;接收来自所述本网NRF的包含至少一个本网网元的真实ID和真实地址的服务发现响应请求;将包含所述本网网元的隐藏ID的拓扑隐藏通知送给本网网元。Before sending the determined hidden ID of the local network element to the local network element through the topology hidden notification and determining the hidden ID of the local network element, receive the application layer access sent by the external network element including the external network element identifier After the request, send a service discovery request containing the ID of the external network element to the local network storage function NRF; receive a service discovery response request containing the real ID and real address of at least one local network element from the local network NRF ; Send the topology hidden notification including the hidden ID of the network element of the local network to the network element of the local network.

可选的,所述处理器200还具体用于:Optionally, the processor 200 is further specifically used for:

在通过所述收发机201接收来自所述本网NRF的包含至少一个本网网元的真实ID和真实地址的服务发现响应请求之后,若所述本网NRF发送的服务发现响应请求包含多个本网网元的真实ID和真实地址,则根据本网网元与IP地址的归属关系,向本网网元相对应的地址隐藏单元发送地址隐藏请求。After receiving through the transceiver 201 a service discovery response request from the local network NRF containing the real ID and real address of at least one local network element, if the service discovery response request sent by the local network NRF contains multiple The real ID and real address of the network element on the local network, according to the attribution relationship between the network element on the local network and the IP address, send an address hiding request to the address hiding unit corresponding to the network element on the local network.

可选的,所述处理器200还具体用于:Optionally, the processor 200 is further specifically configured to:

在收到地址隐藏单元发送的地址隐藏响应后,向外网网元发送包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应。After receiving the address hiding response sent by the address hiding unit, send the application layer service access response including the hidden ID and the hidden address of the network element of the local network to the external network element.

可选的,所述处理器200还具体用于:Optionally, the processor 200 is further specifically configured to:

若通过发送拓扑隐藏响应将确定的本网网元的隐藏ID发送给本网网元,在单元确定本网网元的隐藏ID之前,通过收发机接收来自本网网元的携带本网网元真实ID的拓扑隐藏请求;将包含所述本网网元的隐藏ID的拓扑隐藏响应通过收发机发送给本网网元。If the determined hidden ID of the local network element is sent to the local network element by sending the topology hidden response, before the unit determines the hidden ID of the local network element, the transceiver receives the information from the local network element carrying the local network element through the transceiver. The topology hiding request of the real ID; the topology hiding response including the hidden ID of the network element of the local network is sent to the network element of the local network through the transceiver.

如图3所示,本发明实施例提供一种拓扑隐藏的设备包括:处理器300以及收发机301:As shown in FIG. 3, an embodiment of the present invention provides a topology hiding device including: a processor 300 and a transceiver 301:

所述处理器300,用于确定本网网元的隐藏地址;在通过收发机301收到本网网元发送给外网网元的消息后将所述消息中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元,以及在通过收发机301收到外网网元发送给本网网元的消息后将本网网元的隐藏地址替换为本网网元的真实地址发送给本网网元。The processor 300 is configured to determine the hidden address of the network element of the local network; after receiving the message sent by the network element of the local network to the network element of the external network through the transceiver 301, replace the address in the message with the network element of the local network The hidden address of the network element is sent to the external network element, and after receiving the message sent by the external network element to the local network element through the transceiver 301, the hidden address of the local network element is replaced by the local network element. The real address is sent to the network element of this network.

可选的,所述处理器300还具体用于:Optionally, the processor 300 is further specifically used for:

在单元确定本网网元的隐藏地址之前,通过收发机301接收来自所述拓扑隐藏单元的包含本网网元的真实地址的地址隐藏请求;将包含所述本网网元的隐藏地址的地址隐藏响应发送给所述拓扑隐藏单元。Before the unit determines the hidden address of the network element of the own network, the transceiver 301 receives an address hiding request including the real address of the network element of the own network from the topology hiding unit; A concealment response is sent to the topological concealment unit.

如图4所示,本发明实施例提供一种拓扑隐藏的设备包括:处理器400以及收发机。As shown in FIG. 4 , an embodiment of the present invention provides a topology hiding device including: a processor 400 and a transceiver.

所述处理器400,用于通过收发机401接收拓扑隐藏单元发送的所述本网网元的隐藏ID;通过所述地址隐藏单元与所述外网网元建立连接;在向外网网元发送消息时,将所述消息中的ID替换成隐藏ID,发送给地址隐藏单元,以使所述地址隐藏单元将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元。The processor 400 is configured to receive, through the transceiver 401, the hidden ID of the network element of the local network sent by the topology hiding unit; establish a connection with the network element of the external network through the address hiding unit; When sending a message, replace the ID in the message with a hidden ID and send it to the address hiding unit, so that the address hiding unit replaces the real address in the message with the hidden address of the network element of the local network and sends it to the external network element.

可选的,所述处理器400还具体用于:Optionally, the processor 400 is further specifically configured to:

在接收拓扑隐藏单元发送的所述本网网元的隐藏ID之前,需要采用直达方式访问外网网元时,向拓扑隐藏单元通过收发机401发送拓扑隐藏请求。Before receiving the hidden ID of the network element of the local network sent by the topology hiding unit, when it is necessary to directly access the network element of the external network, a topology hiding request is sent to the topology hiding unit through the transceiver 401 .

可选的,所述向外网网元发送的消息为应用层服务访问请求消息或应用层服务访问响应消息。Optionally, the message sent to the external network element is an application layer service access request message or an application layer service access response message.

如图5所示,本发明实施例提供一种拓扑隐藏的设备,包括:处理器500以及收发机501。As shown in FIG. 5 , an embodiment of the present invention provides a topology hiding device, including: a processor 500 and a transceiver 501 .

所述处理器500,用于在需要采用直达方式访问本网网元时,根据外网NRF返回的拓扑隐藏单元的地址向拓扑隐藏单元发送应用层服务访问请求;通过收发机501接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应;根据所述本网网元的隐藏ID和隐藏地址,通过所述地址隐藏单元与所述本网网元进行信令互通。The processor 500 is configured to send an application layer service access request to the topology hiding unit according to the address of the topology hiding unit returned by the external network NRF when it is necessary to access the network element of the local network in a direct manner; receive the topology hiding unit through the transceiver 501 The application layer service access response including the hidden ID and hidden address of the network element of the local network sent by the hidden unit; Signaling interworking.

可选的,所述处理500器还具体用于:Optionally, the processor 500 is also specifically used for:

在向拓扑隐藏单元请求本网网元的ID和地址之前,向外网NRF发送服务发现请求。Before requesting the ID and address of the network element of the local network from the topology hiding unit, a service discovery request is sent to the external network NRF.

可选的,所述处理500器还具体用于:Optionally, the processor 500 is also specifically used for:

在通过收发机501接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应后,存储本网网元的隐藏ID用于后续信令互通使用。After receiving the application layer service access response including the hidden ID and hidden address of the network element of the local network sent by the topology hiding unit through the transceiver 501, the hidden ID of the network element of the local network is stored for subsequent signaling interworking use.

如图6所示,本发明实施例提供一种拓扑隐藏的设备,该设备包括:至少一个处理单元600、以及至少一个存储单元601,其中,所述存储单元601存储有程序代码,当所述程序代码被所述处理单元600执行时,使得所述处理单元600执行:As shown in FIG. 6, an embodiment of the present invention provides a topology hiding device, the device includes: at least one processing unit 600 and at least one storage unit 601, wherein the storage unit 601 stores program codes, and when the When the program code is executed by the processing unit 600, the processing unit 600 is caused to execute:

所述拓扑隐藏单元进行拓扑隐藏的步骤;或the step of topology hiding by the topology hiding unit; or

所述地址隐藏单元进行拓扑隐藏的步骤;或The address hiding unit performs a step of topology hiding; or

所述本网网元进行拓扑隐藏的步骤;或The step of performing topology hiding by the network element of the local network; or

所述外网网元进行拓扑隐藏的步骤。The step of performing topology hiding by the external network element.

如图7所示,本发明实施例提供一种拓扑的设备,包括:As shown in FIG. 7 , an embodiment of the present invention provides a topology device, including:

第一确定模块700,用于在本网网元和外网网元需要采用直达方式访问后,根据本网网元的真实ID确定本网网元的隐藏ID;The first determining module 700 is configured to determine the hidden ID of the network element of the local network according to the real ID of the network element of the local network after the network element of the local network and the network element of the external network need to be accessed in a direct manner;

第一发送模块701,用于单元按照真实地址将确定的本网网元的隐藏ID发送给本网网元,以使所述本网网元采用所述隐藏ID与外网网元进行信令互通。The first sending module 701 is used for the unit to send the determined hidden ID of the network element of the local network to the network element of the local network according to the real address, so that the network element of the local network uses the hidden ID to perform signaling with the network element of the external network. Intercommunication.

可选的,所述第一确定模块700还具体用于:Optionally, the first determining module 700 is further specifically configured to:

通过拓扑隐藏响应或拓扑隐藏通知,将确定的本网网元的隐藏ID发送给本网网元。The determined hidden ID of the local network element is sent to the local network element through the topology hiding response or the topology hiding notification.

可选的,所述第一发送模块701还具体用于:Optionally, the first sending module 701 is further specifically configured to:

在通过拓扑隐藏通知将确定的本网网元的隐藏ID送给本网网元和确定本网网元的隐藏ID之前,收到外网网元发送的包含外网网元标识的应用层访问请求后,向本网网络存储功能NRF送包含所述外网网元ID的服务发现请求;接收来自所述本网NRF的包含至少一个本网网元的真实ID和真实地址的服务发现响应请求;将包含所述本网网元的隐藏ID的拓扑隐藏通知送给本网网元。Before sending the determined hidden ID of the local network element to the local network element through the topology hidden notification and determining the hidden ID of the local network element, receive the application layer access sent by the external network element including the external network element identifier After the request, send a service discovery request containing the ID of the external network element to the local network storage function NRF; receive a service discovery response request containing the real ID and real address of at least one local network element from the local network NRF ; Send the topology hidden notification including the hidden ID of the network element of the local network to the network element of the local network.

可选的,所述第一确定模块700还具体用于:Optionally, the first determining module 700 is further specifically configured to:

在通过所述收发机接收来自所述本网NRF的包含至少一个本网网元的真实ID和真实地址的服务发现响应请求之后,若所述本网NRF发送的服务发现响应请求包含多个本网网元的真实ID和真实地址,则根据本网网元与IP地址的归属关系,向本网网元相对应的地址隐藏单元发送地址隐藏请求。After receiving a service discovery response request including the real ID and real address of at least one local network element from the local network NRF through the transceiver, if the service discovery response request sent by the local network NRF contains multiple local network elements If the real ID and real address of the network element of the network are used, the address hiding request is sent to the address hiding unit corresponding to the network element of the network according to the attribution relationship between the network element of the network element and the IP address of the network element.

可选的,所述第一发送模块701还具体用于:Optionally, the first sending module 701 is further specifically configured to:

在收到地址隐藏单元发送的地址隐藏响应后,向外网网元发送包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应。After receiving the address hiding response sent by the address hiding unit, send the application layer service access response including the hidden ID and the hidden address of the network element of the local network to the external network element.

可选的,所述第一发送模块701还具体用于:Optionally, the first sending module 701 is further specifically configured to:

若通过发送拓扑隐藏响应将确定的本网网元的隐藏ID发送给本网网元,在单元确定本网网元的隐藏ID之前,通过收发机接收来自本网网元的携带本网网元真实ID的拓扑隐藏请求;将包含所述本网网元的隐藏ID的拓扑隐藏响应通过收发机发送给本网网元。If the determined hidden ID of the local network element is sent to the local network element by sending the topology hidden response, before the unit determines the hidden ID of the local network element, the transceiver receives the information from the local network element carrying the local network element through the transceiver. The topology hiding request of the real ID; the topology hiding response including the hidden ID of the network element of the local network is sent to the network element of the local network through the transceiver.

如图8所示,本发明实施例提供一种拓扑的设备,包括:As shown in FIG. 8 , an embodiment of the present invention provides a topology device, including:

第二确定模块800,用于确定本网网元的隐藏地址;A second determining module 800, configured to determine the hidden address of the network element of the local network;

第二发送模块801,用于在收到本网网元发送给外网网元的消息后将所述消息中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元,以及在收到外网网元发送给本网网元的消息后将本网网元的隐藏地址替换为本网网元的真实地址发送给本网网元。The second sending module 801 is configured to, after receiving the message sent by the network element of the local network to the network element of the external network, replace the address in the message with the hidden address of the network element of the local network and send it to the external network After receiving the message sent by the external network element to the local network element, replace the hidden address of the local network element with the real address of the local network element and send it to the local network element.

可选的,所述第二发送模块801还具体用于:Optionally, the second sending module 801 is further specifically configured to:

在单元确定本网网元的隐藏地址之前,通过收发机接收来自所述拓扑隐藏单元的包含本网网元的真实地址的地址隐藏请求;将包含所述本网网元的隐藏地址的地址隐藏响应发送给所述拓扑隐藏单元。Before the unit determines the hidden address of the network element of the own network, the transceiver receives an address hiding request containing the real address of the network element of the own network from the topology hiding unit; hides the address containing the hidden address of the network element of the own network A response is sent to the topological hidden unit.

如图9所示,本发明实施例提供一种拓扑隐藏的设备,包括:As shown in FIG. 9, an embodiment of the present invention provides a topology hiding device, including:

第三确定模块900,用于接收拓扑隐藏单元发送的所述本网网元的隐藏ID;所述本网网元通过所述地址隐藏单元与所述外网网元建立连接;A third determining module 900, configured to receive the hidden ID of the network element of the local network sent by the topology hiding unit; the network element of the local network establishes a connection with the network element of the external network through the address hiding unit;

第三发送模块901,用于在向外网网元发送消息时,将所述消息中的ID替换成隐藏ID,发送给地址隐藏单元,以使所述地址隐藏单元将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元。The third sending module 901 is configured to, when sending a message to an external network element, replace the ID in the message with a hidden ID, and send it to the address hiding unit, so that the address hiding unit will The address is replaced with the hidden address of the network element of the local network and then sent to the network element of the external network.

可选的,所述第三发送模块901还具体用于:Optionally, the third sending module 901 is further specifically configured to:

在接收拓扑隐藏单元发送的所述本网网元的隐藏ID之前,需要采用直达方式访问外网网元时,向拓扑隐藏单元通过收发机发送拓扑隐藏请求。Before receiving the hidden ID of the network element of the local network sent by the topology hiding unit, when it is necessary to access the network element of the external network in a direct way, a topology hiding request is sent to the topology hiding unit through the transceiver.

可选的,所述第三确定模块900还具体用于:Optionally, the third determining module 900 is further specifically configured to:

在通过收发机接收拓扑隐藏单元发送的所述本网网元的隐藏ID之后,存储本网网元的隐藏ID用于后续信令互通使用。After receiving the hidden ID of the network element of the local network sent by the topology hiding unit through the transceiver, the hidden ID of the network element of the local network is stored for use in subsequent signaling interworking.

可选的于,所述向外网网元发送的消息为应用层服务访问请求消息或应用层服务访问响应消息。Optionally, the message sent to the external network element is an application layer service access request message or an application layer service access response message.

如图10所示,本发明实施例提供一种拓扑隐藏的设备,包括:As shown in FIG. 10 , an embodiment of the present invention provides a topology hiding device, including:

第四发送模块1000,用于在需要采用直达方式访问本网网元时,根据外网NRF返回的拓扑隐藏单元的地址向拓扑隐藏单元发送应用层服务访问请求;The fourth sending module 1000 is configured to send an application layer service access request to the topology hiding unit according to the address of the topology hiding unit returned by the external network NRF when it is necessary to access the network element of the local network in a direct manner;

第四确定模块1001,用于接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应;根据所述本网网元的隐藏ID和隐藏地址,通过所述地址隐藏单元与所述本网网元进行信令互通。The fourth determination module 1001 is configured to receive the application layer service access response including the hidden ID and hidden address of the network element of the local network sent by the topology hidden unit; The address hiding unit performs signaling intercommunication with the network element of the local network.

可选的,所述第四发送模块1000还具体用于:Optionally, the fourth sending module 1000 is further specifically configured to:

在向拓扑隐藏单元请求本网网元的ID和地址之前,向外网NRF发送服务发现请求。Before requesting the ID and address of the network element of the local network from the topology hiding unit, a service discovery request is sent to the external network NRF.

可选的,所述第四确定模块1001还具体用于:Optionally, the fourth determining module 1001 is also specifically used for:

在通过收发机接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应后,存储本网网元的隐藏ID用于后续信令互通使用。After receiving the application layer service access response including the hidden ID and hidden address of the network element of the local network sent by the topology hiding unit through the transceiver, the hidden ID of the network element of the local network is stored for subsequent signaling interworking use.

基于同一发明构思,本发明实施例中还提供了一种拓扑隐藏的方法,由于该方法对应的设备是本发明实施例进行拓扑隐藏的系统中的拓扑隐藏单元,并且该方法解决问题的原理与该设备相似,因此该方法的实施可以参见系统拓扑隐藏单元的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present invention also provides a method for topology hiding, because the device corresponding to the method is a topology hiding unit in the system for performing topology hiding in the embodiment of the present invention, and the principle of solving the problem is the same as that of the method. The equipment is similar, so the implementation of the method can refer to the implementation of the system topology hidden unit, and the repeated places will not be repeated.

如图11所示,本发明实施例提供一种拓扑隐藏的方法,该方法包括:As shown in FIG. 11 , an embodiment of the present invention provides a method for topology hiding, which includes:

步骤1100、拓扑隐藏单元在本网网元和外网网元需要采用直达方式访问后,根据本网网元的真实ID确定本网网元的隐藏ID;Step 1100: After the network element of the local network and the network element of the external network need to be accessed in a direct way, the topology hiding unit determines the hidden ID of the network element of the local network according to the real ID of the network element of the local network;

步骤1101、所述拓扑隐藏单元按照真实地址将确定的本网网元的隐藏ID发送给本网网元,以使所述本网网元采用所述隐藏ID与外网网元进行信令互通。Step 1101: The topology hiding unit sends the determined hidden ID of the network element of the local network to the network element of the local network according to the real address, so that the network element of the local network uses the hidden ID to perform signaling intercommunication with the network element of the external network. .

可选的,所述拓扑隐藏单元通过拓扑隐藏响应或拓扑隐藏通知,将确定的本网网元的隐藏ID发送给本网网元。Optionally, the topology hiding unit sends the determined hiding ID of the network element of the own network to the network element of the own network through a topology hiding response or a topology hiding notification.

可选的,若所述拓扑隐藏单元通过拓扑隐藏通知将确定的本网网元的隐藏ID发送给本网网元,在所述拓扑隐藏单元确定本网网元的隐藏ID之前,所述拓扑隐藏单元在收到外网网元发送的包含外网网元标识的应用层访问请求后,向本网网络存储功能NRF发送包含所述外网网元ID的服务发现请求;所述拓扑隐藏单元接收来自所述本网NRF的包含至少一个本网网元的真实ID和真实地址的服务发现响应请求;所述拓扑隐藏单元将包含所述本网网元的隐藏ID的拓扑隐藏通知发送给本网网元。Optionally, if the topology hiding unit sends the determined hidden ID of the network element of the local network to the network element of the local network through the topology hiding notification, before the topology hiding unit determines the hidden ID of the network element of the local network, the topology hiding unit After receiving the application layer access request containing the identity of the external network element sent by the external network element, the hiding unit sends a service discovery request containing the ID of the external network element to the network storage function NRF of the local network; the topology hiding unit Receive a service discovery response request containing the real ID and real address of at least one local network element from the local network NRF; the topology hiding unit sends a topology hiding notification containing the hidden ID of the local network element to the local network. network element.

可选的,在所述拓扑隐藏单元接收来自所述本网NRF的包含至少一个本网网元的真实ID和真实地址的服务发现响应请求之后,若所述本网NRF发送的服务发现响应请求包含多个本网网元的真实ID和真实地址,则所述拓扑隐藏单元根据本网网元与IP地址的归属关系,向本网网元相对应的地址隐藏单元发送地址隐藏请求。Optionally, after the topology hiding unit receives a service discovery response request from the local network NRF that includes the real ID and real address of at least one local network element, if the service discovery response request sent by the local network NRF is If the real IDs and real addresses of multiple local network elements are included, the topology hiding unit sends an address hiding request to the address hiding unit corresponding to the local network element according to the attribution relationship between the local network element and the IP address.

可选的,所述拓扑隐藏单元在收到地址隐藏单元发送的地址隐藏响应后,向外网网元发送包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应。Optionally, after receiving the address hiding response sent by the address hiding unit, the topology hiding unit sends an application layer service access response including the hidden ID and hidden address of the network element of the local network to the external network element.

可选的,若所述拓扑隐藏单元通过发送拓扑隐藏响应将确定的本网网元的隐藏ID发送给本网网元,在所述拓扑隐藏单元确定本网网元的隐藏ID之前,所述拓扑隐藏单元接收来自本网网元的携带本网网元真实ID的拓扑隐藏请求。所述拓扑隐藏单元将包含所述本网网元的隐藏ID的拓扑隐藏响应发送给本网网元。Optionally, if the topology hiding unit sends the determined hidden ID of the local network element to the local network element by sending a topology hiding response, before the topology hiding unit determines the hidden ID of the local network element, the The topology hiding unit receives a topology hiding request from the network element of the local network that carries the real ID of the network element of the local network. The topology hiding unit sends a topology hiding response including the hiding ID of the network element of the own network to the network element of the own network.

基于同一发明构思,本发明实施例中还提供了一种拓扑隐藏的方法,由于该方法对应的设备是本发明实施例进行拓扑隐藏的系统中的地址隐藏单元,并且该方法解决问题的原理与该设备相似,因此该方法的实施可以参见系统地址隐藏单元的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present invention also provides a method for topology hiding, because the device corresponding to the method is an address hiding unit in the system for performing topology hiding in the embodiment of the present invention, and the principle of solving the problem is the same as that of the method. The devices are similar, so the implementation of the method can refer to the implementation of the system address hiding unit, and the repeated places will not be repeated.

如图12所示,本发明实施例还提供一种拓扑隐藏的方法,该方法包括:As shown in FIG. 12 , an embodiment of the present invention further provides a method for topology hiding, which includes:

步骤1200、地址隐藏单元确定本网网元的隐藏地址;Step 1200, the address hiding unit determines the hidden address of the network element of this network;

步骤1201、所述地址隐藏单元在收到本网网元发送给外网网元的消息后将所述消息中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元,以及在收到外网网元发送给本网网元的消息后将本网网元的隐藏地址替换为本网网元的地址发送给本网网元。Step 1201: After receiving the message sent by the network element of the local network to the network element of the external network, the address hiding unit replaces the address in the message with the hidden address of the network element of the local network and sends it to the external network. After receiving the message sent by the external network element to the local network element, replace the hidden address of the local network element with the address of the local network element and send it to the local network element.

可选的,所述地址隐藏单元确定本网网元的隐藏地址之前,还包括:Optionally, before the address hiding unit determines the hidden address of the network element of the local network, it further includes:

所述地址隐藏单元接收来自所述拓扑隐藏单元的包含本网网元的真实地址的地址隐藏请求;所述地址隐藏单元将确定的本网网元的隐藏地址发送给所述拓扑隐藏单元,包括:所述地址隐藏单元将包含所述本网网元的隐藏地址的地址隐藏响应发送给所述拓扑隐藏单元。The address hiding unit receives an address hiding request including the real address of the network element of the local network from the topology hiding unit; the address hiding unit sends the determined hidden address of the network element of the local network to the topology hiding unit, including : The address hiding unit sends an address hiding response including the hiding address of the network element of the local network to the topology hiding unit.

基于同一发明构思,本发明实施例中还提供了一种拓扑隐藏的方法,由于该方法对应的设备是本发明实施例进行拓扑隐藏的系统中的本网网元,并且该方法解决问题的原理与该设备相似,因此该方法的实施可以参见系统本网网元的实施,重复之处不再赘述。Based on the same inventive concept, an embodiment of the present invention also provides a method for topology hiding, since the device corresponding to the method is a local network element in the system for performing topology hiding in the embodiment of the present invention, and the principle of the method for solving the problem Similar to the device, the implementation of the method may refer to the implementation of the network element of the system in the local network, and the repetition will not be repeated.

如图13所示,本发明实施例提供还一种拓扑隐藏的方法,该方法包括:As shown in FIG. 13 , an embodiment of the present invention provides a method for topology hiding, which includes:

步骤1300、本网网元接收拓扑隐藏单元发送的所述本网网元的隐藏ID;Step 1300, the network element of the local network receives the hidden ID of the network element of the local network sent by the topology hiding unit;

步骤1301、所述本网网元网元通过所述地址隐藏单元与所述外网网元建立连接;Step 1301, the network element of the local network establishes a connection with the network element of the external network through the address hiding unit;

步骤1302所述本网网元在向外网网元发送消息时,将所述消息中的ID替换成隐藏ID,发送给地址隐藏单元,以使所述地址隐藏单元将所述消息中的真实地址替换成所述本网网元的隐藏地址后发送给所述外网网元。In step 1302, when the local network element sends a message to an external network element, it replaces the ID in the message with a hidden ID, and sends it to the address hiding unit, so that the address hiding unit hides the real information in the message. The address is replaced with the hidden address of the network element of the local network and then sent to the network element of the external network.

可选的,所述本网网元接收拓扑隐藏单元发送的所述本网网元的隐藏ID之前,还包括:Optionally, before the local network element receives the hidden ID of the local network element sent by the topology hiding unit, the method further includes:

本网网元在需要采用直达方式访问外网网元时,向拓扑隐藏单元发送拓扑隐藏请求。When the network element of the local network needs to access the network element of the external network in a direct way, it sends a topology hiding request to the topology hiding unit.

可选的,在所述本网网元接收拓扑隐藏单元发送的所述本网网元的隐藏ID之后,还包括:Optionally, after the local network element receives the hidden ID of the local network element sent by the topology hiding unit, the method further includes:

所述本网网元存储本网网元的隐藏ID用于后续信令互通使用。The local network element stores the hidden ID of the local network element for use in subsequent signaling interworking.

可选的,所述本网网元网元向外网网元发送的消息为应用层服务访问请求消息或应用层服务访问响应消息。Optionally, the message sent by the network element of the local network element to the network element of the external network is an application layer service access request message or an application layer service access response message.

基于同一发明构思,本发明实施例中还提供了一种拓扑隐藏的方法,由于该方法对应的设备是本发明实施例进行拓扑隐藏的系统中的外网网元,并且该方法解决问题的原理与该设备相似,因此该方法的实施可以参见系统拓外网网元的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present invention also provides a method for topology hiding, because the device corresponding to the method is an external network element in the system for performing topology hiding in the embodiment of the present invention, and the principle of the method for solving the problem Similar to the device, the implementation of the method can refer to the implementation of the network element of the external network of the system, and the repetition will not be repeated.

如图14所示,本发明实施例还提供一种拓扑隐藏的方法,该方法包括:As shown in FIG. 14 , an embodiment of the present invention further provides a method for topology hiding, which includes:

步骤1400、外网网元在需要采用直达方式访问本网网元时,根据外网NRF返回的拓扑隐藏单元的地址向拓扑隐藏单元发送应用层服务访问请求;Step 1400: When the network element of the external network needs to access the network element of the local network in a direct way, send an application layer service access request to the topology hiding unit according to the address of the topology hiding unit returned by the NRF of the external network;

步骤1401、所述外网网元接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应;Step 1401, the external network element receives the application layer service access response including the hidden ID and the hidden address of the local network element and sent by the topology hiding unit;

步骤1402、所述外网网元根据所述本网网元的隐藏ID和隐藏地址,通过所述地址隐藏单元与所述本网网元进行信令互通。Step 1402: The external network element performs signaling intercommunication with the local network element through the address hiding unit according to the hidden ID and hidden address of the local network element.

可选的,在所述外网网元向拓扑隐藏单元请求本网网元的ID和地址之前,还包括:Optionally, before the external network element requests the ID and address of the local network element from the topology hiding unit, the method further includes:

所述外网网元向外网NRF发送服务发现请求。The external network element sends a service discovery request to the external network NRF.

可选的,所述外网网元接收所述拓扑隐藏单元发送的包含本网网元的隐藏ID和隐藏地址的应用层服务访问响应后,还包括:Optionally, after the external network element receives the application layer service access response including the hidden ID and the hidden address of the local network element and sent by the topology hiding unit, the method further includes:

所述外网网元存储本网网元的隐藏ID用于后续信令互通使用。The external network element stores the hidden ID of the local network element for use in subsequent signaling interworking.

本发明实施例提供4种进行拓扑隐藏的完整方法。The embodiment of the present invention provides four complete methods for topology hiding.

(1)、本网网元未储存自身的隐藏ID时,向外网发起请求消息以及相应的寻址方案。(1) When the network element of the local network does not store its own hidden ID, a request message and a corresponding addressing scheme are sent to the external network.

如图15所示,本发明实施例第一种拓扑隐藏的方法,包括:As shown in FIG. 15 , the first topology hiding method according to the embodiment of the present invention includes:

步骤1500、本网网元通过本网NRF向外网NRF发送服务发现请求;Step 1500, the local network element sends a service discovery request to the external network NRF through the local network NRF;

步骤1501、外网NRF通过本网NR F向本网网元发送服务发现响应;Step 1501, the external network NRF sends a service discovery response to the local network element through the local network NRF;

步骤1502、本网网元向所述拓扑隐藏单元发送拓扑隐藏请求;Step 1502, the network element of the local network sends a topology hiding request to the topology hiding unit;

步骤1503、所述拓扑隐藏单元确定本网网元的隐藏ID,并置于拓扑隐藏响应中发送给本网网元;Step 1503, the topology hiding unit determines the hidden ID of the network element of the local network, and places it in the topology hiding response and sends it to the network element of the local network;

步骤1504、所述本网网元存储拓扑隐藏映射关系,并向地址隐藏单元发送信令连接请求;Step 1504, the local network element stores the topology hiding mapping relationship, and sends a signaling connection request to the address hiding unit;

步骤1505、所述地址隐藏单元将信令连接请求中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元;Step 1505, the address hiding unit replaces the address in the signaling connection request with the hidden address of the network element of the local network and sends it to the network element of the external network;

步骤1506、所述外网网元向所述地址隐藏单元发送信令连接响应;Step 1506, the external network element sends a signaling connection response to the address hiding unit;

步骤1507、所述地址隐藏单元将信令连接响应中的地址替换成所述本网网元的真实地址后发送给所述本网网元;Step 1507, the address hiding unit replaces the address in the signaling connection response with the real address of the local network element and sends it to the local network element;

步骤1508、所述本网网元向所述地址隐藏单元发送应用层服务访问请求;Step 1508, the local network element sends an application layer service access request to the address hiding unit;

步骤1509、所述地址隐藏单元将应用层服务访问请求中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元;Step 1509, the address hiding unit replaces the address in the application layer service access request with the hidden address of the network element of the local network and sends it to the network element of the external network;

步骤1510、所述外网网元向所述地址隐藏单元发送应用层服务访问响应;Step 1510, the external network element sends an application layer service access response to the address hiding unit;

步骤1511、所述地址隐藏单元将应用层服务访问响应中的地址替换成所述本网网元的隐藏地址后发送给所述本网网元。Step 1511: The address hiding unit replaces the address in the application layer service access response with the hidden address of the network element of the own network and sends it to the network element of the own network.

(2)、本网网元储存自身的隐藏ID时,向外网发起请求消息以及相应的寻址方案。(2) When the network element of the local network stores its own hidden ID, it initiates a request message and a corresponding addressing scheme to the external network.

如图16所示,本发明实施例第二种拓扑隐藏的方法,包括:As shown in FIG. 16 , the second topology hiding method according to the embodiment of the present invention includes:

步骤1600、所述本网网元从本端存储数据中查询外网网元的地址;Step 1600, the network element of the local network queries the address of the network element of the external network from the data stored at the local end;

步骤1601、所述本网网元地址向隐藏单元发送信令连接请求;Step 1601, the local network element address sends a signaling connection request to the hidden unit;

步骤1602、所述地址隐藏单元将信令连接请求中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元;Step 1602, the address hiding unit replaces the address in the signaling connection request with the hidden address of the network element of the local network and sends it to the network element of the external network;

步骤1603、所述外网网元向所述地址隐藏单元发送信令连接响应;Step 1603, the external network element sends a signaling connection response to the address hiding unit;

步骤1604、所述地址隐藏单元将信令连接响应中的地址替换成所述本网网元的隐藏地址后发送给所述本网网元;Step 1604, the address hiding unit replaces the address in the signaling connection response with the hidden address of the network element of the own network and sends it to the network element of the own network;

步骤1605、所述本网网元向所述地址隐藏单元发送应用层服务访问请求;Step 1605, the local network element sends an application layer service access request to the address hiding unit;

步骤1606、所述地址隐藏单元将应用层服务访问请求中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元;Step 1606, the address hiding unit replaces the address in the application layer service access request with the hidden address of the network element of the local network and sends it to the network element of the external network;

步骤1607、所述外网网元向所述地址隐藏单元发送应用层服务访问响应;Step 1607, the external network element sends an application layer service access response to the address hiding unit;

步骤1608、所述地址隐藏单元将应用层服务访问响应中的地址替换成所述本网网元的隐藏地址后发送给所述本网网元;Step 1608, the address hiding unit replaces the address in the application layer service access response with the hidden address of the network element of the local network and sends it to the network element of the local network;

(3)、外网网元未储存本网网元的隐藏ID时,向本网网元发起请求消息以及相应的寻址方案。(3) When the external network element does not store the hidden ID of the local network element, a request message and a corresponding addressing scheme are sent to the local network element.

如图17所示,本发明实施例第三种拓扑隐藏的方法,包括:As shown in FIG. 17 , the third topology hiding method according to the embodiment of the present invention includes:

步骤1700、外网网元通过外网NRF向本网NRF发送服务发现请求;Step 1700, the external network element sends a service discovery request to the local network NRF through the external network NRF;

步骤1701、本网NRF通过外网NRF向外网网元发送服务发现响应;Step 1701, the local network NRF sends a service discovery response to the external network element through the external network NRF;

步骤1702、外网网元向所述拓扑隐藏单元发送信令连接请求和应用层服务访问请求;Step 1702, the external network element sends a signaling connection request and an application layer service access request to the topology hiding unit;

步骤1703、所述拓扑隐藏单元向本网NRF发送服务发现请求;Step 1703, the topology hiding unit sends a service discovery request to the local network NRF;

步骤1704、本网NR F向所述拓扑单元返回包含本网网元地址的服务发现响应;Step 1704, the local network NRF returns a service discovery response including the local network element address to the topology unit;

步骤1705、所述拓扑隐藏单元确定本网网元的隐藏ID,并置于拓扑隐藏通知中发送给本网网元;Step 1705, the topology hiding unit determines the hidden ID of the network element of the local network, and places it in the topology hiding notification and sends it to the network element of the local network;

步骤1706、本网网元向所述拓扑隐藏单元发送拓扑隐藏响应;Step 1706, the network element of the local network sends a topology hiding response to the topology hiding unit;

步骤1707、所述拓扑隐藏单元向所述地址隐藏单元发送地址隐藏请求;Step 1707, the topology hiding unit sends an address hiding request to the address hiding unit;

步骤1708、所述地址隐藏单元确定本网网元的隐藏地址,并置于地址隐藏响应中发送给所述拓扑隐藏单元;Step 1708, the address hiding unit determines the hidden address of the network element of this network, and places it in the address hiding response and sends it to the topology hiding unit;

步骤1709、所述地址隐藏单元以重定向的方式向所述外网网元发送应用层服务访问响应;Step 1709, the address hiding unit sends an application layer service access response to the external network element in a redirection manner;

步骤1710、所述外网网元向地址隐藏单元发送信令连接请求;Step 1710, the external network element sends a signaling connection request to the address hiding unit;

步骤1711、所述地址隐藏单元将信令连接请求中的地址替换成所述本网网元的隐藏地址后发送给所述本网网元;Step 1711, the address hiding unit replaces the address in the signaling connection request with the hidden address of the network element of the own network and sends it to the network element of the own network;

步骤1712、所述本网网元向所述地址隐藏单元发送信令连接响应;Step 1712, the local network element sends a signaling connection response to the address hiding unit;

步骤1713、所述地址隐藏单元将信令连接响应中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元;Step 1713, the address hiding unit replaces the address in the signaling connection response with the hidden address of the network element of the local network and sends it to the network element of the external network;

步骤1714、所述外网网元向所述地址隐藏单元发送应用层服务访问请求;Step 1714, the external network element sends an application layer service access request to the address hiding unit;

步骤1715、所述地址隐藏单元将应用层服务访问请求中的地址替换成所述本网网元的隐藏地址后发送给所述本网网元;Step 1715, the address hiding unit replaces the address in the application layer service access request with the hidden address of the network element of the own network and sends it to the network element of the own network;

步骤1716、所述本网网元向所述地址隐藏单元发送应用层服务访问响应;Step 1716, the local network element sends an application layer service access response to the address hiding unit;

步骤1717、所述地址隐藏单元将应用层服务访问响应中的地址替换成所述本网网元的隐藏地址后发送给所述本网网元。Step 1717: The address hiding unit replaces the address in the application layer service access response with the hidden address of the network element of the own network and sends it to the network element of the own network.

(4)、外网网元储存本网网元的隐藏ID时,向本网网元发起请求消息以及相应的寻址方案。(4) When the external network element stores the hidden ID of the local network element, it initiates a request message and a corresponding addressing scheme to the local network element.

如图18所示,本发明实施例第四种拓扑隐藏的方法,包括:As shown in FIG. 18 , a fourth topology hiding method according to an embodiment of the present invention includes:

步骤1800、所述外网网元根据存储的本网网元的隐藏ID和隐藏地址向地址隐藏单元发送信令连接请求;Step 1800, the external network element sends a signaling connection request to the address hiding unit according to the stored hidden ID and hidden address of the local network element;

步骤1801、所述地址隐藏单元将信令连接请求中的地址替换成所述本网网元的隐藏地址后发送给所述本网网元;Step 1801, the address hiding unit replaces the address in the signaling connection request with the hidden address of the network element of the own network and sends it to the network element of the own network;

步骤1802、所述本网网元向所述地址隐藏单元发送信令连接响应;Step 1802, the local network element sends a signaling connection response to the address hiding unit;

步骤1803、所述地址隐藏单元将信令连接响应中的地址替换成所述本网网元的隐藏地址后发送给所述外网网元;Step 1803, the address hiding unit replaces the address in the signaling connection response with the hidden address of the network element of the local network and sends it to the network element of the external network;

步骤1804、所述外网网元向所述地址隐藏单元发送应用层服务访问请求;Step 1804, the external network element sends an application layer service access request to the address hiding unit;

步骤1805、所述地址隐藏单元将应用层服务访问请求中的地址替换成所述本网网元的隐藏地址后发送给所述本网网元;Step 1805, the address hiding unit replaces the address in the application layer service access request with the hidden address of the network element of the own network and sends it to the network element of the own network;

步骤1806、所述本网网元向所述地址隐藏单元发送应用层服务访问响应;Step 1806, the local network element sends an application layer service access response to the address hiding unit;

步骤1807、所述地址隐藏单元将应用层服务访问响应中的地址替换成所述本网网元的隐藏地址后发送给所述本网网元。Step 1807: The address hiding unit replaces the address in the application layer service access response with the hidden address of the network element of the own network and sends it to the network element of the own network.

本发明实施例针对拓扑隐藏单元进行拓扑隐藏的方法还提供一种计算设备可读存储介质,即断电后内容不丢失。该存储介质中存储软件程序,包括程序代码,当所述程序代码在计算设备上运行时,该软件程序在被一个或多个处理器读取并执行时可实现本发明实施例上面任何一种拓扑隐藏单元进行拓扑隐藏的方法的方案。The embodiments of the present invention further provide a computing device-readable storage medium for the method for topology hiding of the topology hiding unit, that is, the content will not be lost after the power is turned off. The storage medium stores software programs, including program codes. When the program codes are run on a computing device, the software programs can implement any of the above embodiments of the present invention when read and executed by one or more processors. Scheme of a method for topological hiding by topological hiding units.

本发明实施例针对地址隐藏单元进行拓扑隐藏的方法还提供一种计算设备可读存储介质,即断电后内容不丢失。该存储介质中存储软件程序,包括程序代码,当所述程序代码在计算设备上运行时,该软件程序在被一个或多个处理器读取并执行时可实现本发明实施例上面任何一种拓扑隐藏单元进行拓扑隐藏的方案。The embodiments of the present invention further provide a computing device-readable storage medium for the method for performing topology hiding of the address hiding unit, that is, the content is not lost after the power is turned off. The storage medium stores software programs, including program codes. When the program codes are run on a computing device, the software programs can implement any of the above embodiments of the present invention when read and executed by one or more processors. Topological hiding unit is a scheme for topological hiding.

本发明实施例针对本网网元进行拓扑隐藏的方法还提供一种计算设备可读存储介质,即断电后内容不丢失。该存储介质中存储软件程序,包括程序代码,当所述程序代码在计算设备上运行时,该软件程序在被一个或多个处理器读取并执行时可实现本发明实施例上面任何一种本网网元进行拓扑隐藏的方法的方案。The embodiments of the present invention further provide a storage medium readable by a computing device for the method for topology hiding of the network element of the local network, that is, the content is not lost after the power is turned off. The storage medium stores software programs, including program codes. When the program codes are run on a computing device, the software programs can implement any of the above embodiments of the present invention when read and executed by one or more processors. A scheme of a method for topology hiding by network elements of this network.

本发明实施例针对外网网元单元进行拓扑隐藏的方法还提供一种计算设备可读存储介质,即断电后内容不丢失。该存储介质中存储软件程序,包括程序代码,当所述程序代码在计算设备上运行时,该软件程序在被一个或多个处理器读取并执行时可实现本发明实施例上面任何一种外网网元进行拓扑隐藏的方法的方案。Embodiments of the present invention further provide a storage medium readable by a computing device for the method for performing topology hiding on an external network element unit, that is, the content is not lost after a power failure. The storage medium stores software programs, including program codes. When the program codes are run on a computing device, the software programs can implement any of the above embodiments of the present invention when read and executed by one or more processors. A scheme of a method for topology hiding of external network elements.

以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。The present application is described above with reference to block diagrams and/or flowchart illustrations illustrating methods, apparatus (systems) and/or computer program products according to embodiments of the present application. It will be understood that a block of the block diagrams and/or flowchart illustrations, and combinations of blocks of the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, a processor of a special purpose computer and/or other programmable data processing apparatus to produce a machine such that the instructions executed via the computer processor and/or other programmable data processing apparatus create a Methods of implementing the functions/acts specified in the block diagrams and/or flowchart blocks.

相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使用,或结合指令执行系统、装置或设备使用。Accordingly, the present application may also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by an instruction execution system or Used in conjunction with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium can be any medium that can contain, store, communicate, transmit, or transmit a program for use by, or in connection with, an instruction execution system, apparatus, or device. device or equipment use.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (35)

1. A method of topology hiding, the method comprising:
the topology hiding unit determines the hidden ID of the local network element according to the real ID of the local network element after the local network element and the external network element need to be accessed in a direct mode;
and the topology hiding unit sends the determined hidden ID of the local network element to the local network element according to the real address, so that the local network element adopts the hidden ID to perform signaling intercommunication with the external network element.
2. The method as claimed in claim 1, wherein the topology hiding unit sends the determined hidden ID of the home network element to the home network element according to the real address, comprising:
and the topology hiding unit sends the determined hidden ID of the local network element to the local network element through a topology hiding response or a topology hiding notification.
3. The method of claim 2, wherein if the topology hiding unit sends the determined hidden ID of the local network element to the local network element through a topology hiding notification, before the topology hiding unit determines the hidden ID of the local network element, the method further comprises:
the topology hiding unit sends a service discovery request containing an external network element ID to a local network storage function NRF after receiving an application layer access request containing the external network element ID sent by an external network element;
the topology hiding unit receives a service discovery response request containing a real ID and a real address of at least one local network element from the local network NRF;
the topology hiding unit sends the determined hidden ID of the local network element to the local network element by sending a topology hiding notification, and the topology hiding unit comprises:
and the topology hiding unit sends a topology hiding notification containing the hiding ID of the local network element to the local network element.
4. A method as claimed in claim 3, wherein, after said topology hiding unit receives a service discovery response request from said home NRF containing a real ID and a real address of at least one home network element, further comprising:
and if the service discovery response request sent by the NRF of the local network comprises the real IDs and the real addresses of a plurality of network elements of the local network, the topology hiding unit sends an address hiding request to an address hiding unit corresponding to the network element of the local network according to the attribution relationship between the network element of the local network and the IP address.
5. The method as claimed in claim 3, wherein after the topology hiding unit sends the topology hiding notification including the hidden ID of the local network element to the local network element, the method further comprises:
and after receiving the address hiding response sent by the address hiding unit, the topology hiding unit sends an application layer service access response containing the hidden ID and the hidden address of the local network element to the external network element.
6. The method as claimed in claim 2, wherein if the topology hiding unit sends the determined hidden ID of the local network element to the local network element by sending a topology hiding response, before the topology hiding unit determines the hidden ID of the local network element, the method further comprises:
the topology hiding unit receives a topology hiding request carrying a real ID of a local network element from the local network element;
the topology hiding unit sends the determined hidden ID of the local network element to the local network element through the topology hiding response, and the topology hiding unit comprises:
and the topology hiding unit sends a topology hiding response containing the hidden ID of the network element of the local network to the network element of the local network.
7. A method of topology hiding, the method comprising:
the address hiding unit determines a hidden address of a network element of the local network;
after receiving a message sent to an external network element when a local network element needs to access the external network element in a direct mode, the address hiding unit replaces an address in the message with a hidden address of the local network element and sends the hidden address to the external network element, and
after receiving a message sent to a local network element when an external network element needs to access the local network element in a direct mode, replacing a hidden address of the local network element with a real address of the local network element and sending the hidden address to the local network element;
and the message sent by the network element of the local network to the network element of the external network comprises the hidden ID of the network element of the local network.
8. The method of claim 7, wherein before said address hiding unit determines the hidden address of the home network element, further comprising:
the address hiding unit receives an address hiding request containing a real address of a local network element from the topology hiding unit;
the address hiding unit sends the determined hidden address of the network element of the local network to the topology hiding unit, and the method includes:
and the address hiding unit sends an address hiding response containing the hidden address of the network element of the local network to the topology hiding unit.
9. A method of topology hiding, the method comprising:
the local network element receives the hidden ID of the local network element sent by the topology hiding unit; the local network element establishes connection with the external network element through an address hiding unit;
when the local network element needs to access the external network element in a direct mode and sends a message to the external network element, the real ID in the message is replaced by the hidden ID and sent to the address hiding unit, so that the address hiding unit replaces the real address in the message by the hidden address of the local network element and then sends the hidden address of the local network element to the external network element.
10. The method as claimed in claim 9, wherein before said home network element receives the hidden ID of said home network element sent by the topology hiding unit, further comprising:
and when the local network element needs to access the external network element in a direct mode, the local network element sends a topology hiding request to the topology hiding unit.
11. The method as claimed in claim 9, wherein after said home network element receives said hidden ID of said home network element sent by said topology hiding unit, further comprising:
and the local network element stores the hidden ID of the local network element for subsequent signaling intercommunication.
12. The method of claim 9, wherein the message sent by the home network element to the foreign network element is an application layer service access request message or an application layer service access response message.
13. A method of topology hiding, the method comprising:
when the external network element needs to access the local network element in a direct mode, sending an application layer service access request to a topology hiding unit according to the address of the topology hiding unit returned by the external network NRF;
the external network element receives an application layer service access response which is sent by the topology hiding unit and contains the hidden ID and the hidden address of the local network element;
and the external network element performs signaling intercommunication with the local network element through an address hiding unit according to the hidden ID and the hidden address of the local network element.
14. The method of claim 13, wherein before the external network element requests the topology hiding unit for the ID and address of the local network element, the method further comprises:
and the external network element sends a service discovery request to the external network NRF.
15. The method as claimed in claim 14, wherein after the external network element receives the application layer service access response containing the hidden ID and the hidden address of the local network element sent by the topology hiding unit, the method further comprises:
and the external network element stores the hidden ID of the local network element for subsequent signaling intercommunication.
16. A topology hiding device, comprising: a processor and a transceiver:
the processor is used for determining the hidden ID of the local network element according to the real ID of the local network element after the local network element and the external network element need to be accessed in a direct mode; and sending the determined hidden ID of the local network element to the local network element through a transceiver according to the real address so that the local network element adopts the hidden ID to carry out signaling intercommunication with the external network element.
17. The device as in claim 16, wherein the processor is further specifically configured to:
and sending the determined hidden ID of the local network element to the local network element through a topology hiding response or a topology hiding notification.
18. The device as in claim 17, wherein the processor is further specifically configured to:
before sending the determined hidden ID of the local network element to the local network element and determining the hidden ID of the local network element through the topology hiding notification, after receiving an application layer access request containing an external network element ID sent by an external network element, sending a service discovery request containing the external network element ID to a local network storage function NRF; receiving a service discovery response request containing a real ID and a real address of at least one local network element from the local network NRF; and sending the topology hiding notification containing the hidden ID of the local network element to the local network element.
19. The device as in claim 18, wherein the processor is further specifically configured to:
after receiving a service discovery response request containing a real ID and a real address of at least one home network element from the home NRF through the transceiver, if the service discovery response request sent by the home NRF contains real IDs and real addresses of a plurality of home network elements, sending an address hiding request to an address hiding unit corresponding to the home network element according to an affiliation between the home network element and an IP address.
20. The device as in claim 18, wherein the processor is further specifically configured to:
and after receiving the address hiding response sent by the address hiding unit, sending an application layer service access response containing the hidden ID and the hidden address of the local network element to the external network element.
21. The device as in claim 17, wherein the processor is further specifically configured to:
if the determined hidden ID of the local network element is sent to the local network element by sending a topology hiding response, before the unit determines the hidden ID of the local network element, a topology hiding request carrying the real ID of the local network element from the local network element is received by a transceiver; and sending the topology hiding response containing the hiding ID of the local network element to the local network element through a transceiver.
22. A topology hiding device, comprising: a processor and a transceiver:
the processor is used for determining the hidden address of the network element of the local network; after receiving a message sent to an external network element when a local network element needs to access the external network element in a direct mode through a transceiver, replacing an address in the message with a hidden address of the local network element and sending the hidden address to the external network element; after receiving the message sent to the local network element when the external network element needs to access the local network element in a direct mode through the transceiver, replacing the hidden address of the local network element with the real address of the local network element and sending the hidden address of the local network element to the local network element;
and the message sent by the network element of the local network to the network element of the external network comprises the hidden ID of the network element of the local network.
23. The device as in claim 22, wherein the processor is further specifically configured to:
before the unit determines the hidden address of the local network element, an address hiding request containing the real address of the local network element from the topology hiding unit is received through a transceiver; and sending an address hiding response containing the hidden address of the local network element to the topology hiding unit.
24. A topology hiding device, comprising: a processor and a transceiver:
the processor is used for receiving the hidden ID of the network element of the local network sent by the topology hiding unit through the transceiver; establishing connection with an external network element through an address hiding unit; and when the local network element needs to access the external network element in a direct mode and sends a message to the external network element, replacing the real ID in the message with a hidden ID, and sending the hidden ID to an address hiding unit, so that the address hiding unit replaces the real address in the message with the hidden address of the local network element and then sends the hidden address to the external network element.
25. The device as in claim 24, wherein the processor is further specifically configured to:
and before receiving the hidden ID of the local network element sent by the topology hiding unit, sending a topology hiding request to the topology hiding unit through a transceiver when the external network element needs to be accessed in a direct mode.
26. The device as in claim 24, wherein the processor is further specifically configured to:
and after receiving the hidden ID of the local network element sent by the topology hiding unit through the transceiver, storing the hidden ID of the local network element for subsequent signaling intercommunication.
27. The apparatus in claim 24, wherein the message sent to the extranet network element is an application layer service access request message or an application layer service access response message.
28. A topology hiding device, comprising: a processor and a transceiver:
the processor is used for sending an application layer service access request to the topology hiding unit according to the address of the topology hiding unit returned by the external network NRF when the local network element needs to be accessed in a direct mode; receiving an application layer service access response which is sent by the topology hiding unit and contains the hidden ID and the hidden address of the network element of the local network through a transceiver; and according to the hidden ID and the hidden address of the local network element, carrying out signaling intercommunication with the local network element through an address hiding unit.
29. The device as in claim 28, wherein the processor is further specifically configured to:
before requesting the topology hiding unit for the ID and address of the network element of the home network, a service discovery request is sent to the foreign network NRF.
30. The device as in claim 29, wherein the processor is further specifically configured to:
and after receiving an application layer service access response containing the hidden ID and the hidden address of the local network element sent by the topology hiding unit through the transceiver, storing the hidden ID of the local network element for subsequent signaling intercommunication.
31. A topology hiding device, comprising:
the first determining module is used for determining the hidden ID of the local network element according to the real ID of the local network element after the local network element and the external network element need to be accessed in a direct mode;
and the first sending module is used for sending the determined hidden ID of the local network element to the local network element according to the real address so that the local network element adopts the hidden ID to carry out signaling intercommunication with the external network element.
32. A topology hiding device, comprising:
the second determining module is used for determining the hidden address of the network element of the local network;
the second sending module is used for replacing an address in a message with a hidden address of the local network element and sending the message to the external network element after the message sent to the external network element when the local network element needs to access the external network element in a direct mode is received; after receiving the message sent to the local network element when the external network element needs to access the local network element in a direct mode, replacing the hidden address of the local network element with the real address of the local network element and sending the hidden address of the local network element to the local network element;
and the message sent by the network element of the local network to the network element of the external network comprises the hidden ID of the network element of the local network.
33. A topology hiding device, comprising:
a third determining module, configured to receive a hidden ID of a local network element sent by the topology hiding unit; the local network element is connected with the external network element through an address hiding unit;
and a third sending module, configured to, when the local network element needs to access an external network element in a direct manner, and send a message to the external network element, replace the ID in the message with a hidden ID, and send the hidden ID to an address hiding unit, so that the address hiding unit replaces the real address in the message with the hidden address of the local network element and sends the hidden address to the external network element.
34. A topology hiding device, comprising:
a fourth sending module, configured to send an application layer service access request to the topology hiding unit according to the address of the topology hiding unit returned by the external NRF when a direct manner is required to access a network element of the home network;
a fourth determining module, configured to receive an application layer service access response that is sent by the topology hiding unit and includes a hidden ID and a hidden address of a home network element; and according to the hidden ID and the hidden address of the local network element, carrying out signaling intercommunication with the local network element through an address hiding unit.
35. A topology hiding device, comprising: at least one processing unit, and at least one storage unit, wherein the storage unit stores program code that, when executed by the processing unit, causes the processing unit to perform:
the steps of the process of any one of claims 1 to 6; or
The steps of the method of claim 7 or 8; or
The steps of the process of any one of claims 9 to 12; or the steps of the process of any one of claims 13 to 15.
CN201810001249.2A 2018-01-02 2018-01-02 Topology hiding method and device Active CN109995572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810001249.2A CN109995572B (en) 2018-01-02 2018-01-02 Topology hiding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810001249.2A CN109995572B (en) 2018-01-02 2018-01-02 Topology hiding method and device

Publications (2)

Publication Number Publication Date
CN109995572A CN109995572A (en) 2019-07-09
CN109995572B true CN109995572B (en) 2022-06-07

Family

ID=67128261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810001249.2A Active CN109995572B (en) 2018-01-02 2018-01-02 Topology hiding method and device

Country Status (1)

Country Link
CN (1) CN109995572B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262416A (en) * 2007-03-06 2008-09-10 华为技术有限公司 Method, system and device for hiding user location in communication system
CN105338511A (en) * 2014-06-25 2016-02-17 华为技术有限公司 Network topology hiding method and equipment
US9584377B2 (en) * 2014-11-21 2017-02-28 Oracle International Corporation Transparent orchestration and management of composite network functions

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106664252B (en) * 2015-06-10 2019-11-29 华为技术有限公司 Realize method, equipment and the system of service chaining

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262416A (en) * 2007-03-06 2008-09-10 华为技术有限公司 Method, system and device for hiding user location in communication system
CN105338511A (en) * 2014-06-25 2016-02-17 华为技术有限公司 Network topology hiding method and equipment
US9584377B2 (en) * 2014-11-21 2017-02-28 Oracle International Corporation Transparent orchestration and management of composite network functions

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
.《3GPP TS 23.501 V2.0.1》.2017,第23、154-155页. *
23.501: Clarification of NF discovery and selection;China Mobile;《SA WG2 Meeting #121 S2-173631》;20170519;第1-2页 *
3GPP.3rd Generation Partnership Project *
China Mobile.23.501: Clarification of NF discovery and selection.《SA WG2 Meeting #121 S2-173631》.2017,第1-2页. *

Also Published As

Publication number Publication date
CN109995572A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN110677405B (en) Data processing method and device, electronic equipment and storage medium
KR102392120B1 (en) Processing method, device and system for nf component abnormality
CN103888358B (en) Routing method, device, system and gateway equipment
WO2014190791A1 (en) Method for setting identity of gateway device and management gateway device
CN104040964B (en) Method, device and data center network across service area communication
US8149840B2 (en) Method, system and processor for processing network address translation service
CN110012118B (en) Method and controller for providing Network Address Translation (NAT) service
CN104995902A (en) Methods and systems for seamless network communication between IPV4 and IPV6 devices
WO2016206171A1 (en) Secure networking method based on network isolation, and terminal
US8605736B2 (en) Method, system and apparatus for heterogeneous addressing mapping
CN112583655B (en) Data transmission method, device, electronic device and readable storage medium
CN114448937A (en) Method and device for responding to access request, and storage medium
CN103037360A (en) Mapping request response, information acquiring method and relevant devices based on locator identifier split protocol (LISP)
JP5828952B2 (en) Communication system, node, flow control network, and communication control method
RU2716748C1 (en) Load balancing method and associated device thereof
CN102984697B (en) IP communication method, equipment and system based on mobile terminals
CN106330492B (en) A kind of method, apparatus and system configuring user equipment forwarding table
CN109995572B (en) Topology hiding method and device
CN110868762B (en) Data stream processing method, device and system
CN112787932A (en) Method, device and system for generating forwarding information
WO2011072549A1 (en) Method, apparatus and system for communication between non-lisp sites and lisp sites
CN114553771B (en) Method for virtual router loading and related equipment
CN113873502B (en) IP address management method, NEF entity and communication system
CN111865751B (en) Centralized gateway deployment method and device, centralized gateway and electronic equipment
CN104756465B (en) A kind of method for routing, equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant