[go: up one dir, main page]

CN110290161A - A topology hiding method, node, functional entity and computer storage medium - Google Patents

A topology hiding method, node, functional entity and computer storage medium Download PDF

Info

Publication number
CN110290161A
CN110290161A CN201810226767.4A CN201810226767A CN110290161A CN 110290161 A CN110290161 A CN 110290161A CN 201810226767 A CN201810226767 A CN 201810226767A CN 110290161 A CN110290161 A CN 110290161A
Authority
CN
China
Prior art keywords
service
service provider
provider network
network function
identifier
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.)
Pending
Application number
CN201810226767.4A
Other languages
Chinese (zh)
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
China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
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, China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810226767.4A priority Critical patent/CN110290161A/en
Priority to PCT/CN2019/076085 priority patent/WO2019179282A1/en
Publication of CN110290161A publication Critical patent/CN110290161A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种拓扑隐藏方法、节点、功能实体和计算机存储介质。所述方法包括:边缘节点接收到入口服务发现请求,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识;所述边缘节点转发所述入口服务发现请求所对应的携带所述拓扑隐藏后的服务提供者网络功能标识的服务发现响应。

The embodiment of the invention discloses a topology hiding method, a node, a functional entity and a computer storage medium. The method includes: an edge node receives an ingress service discovery request, and replaces a service provider network function identifier in a service discovery response corresponding to the ingress service discovery request with a service provider network function identifier after topology hiding; the edge node Forwarding the service discovery response corresponding to the ingress service discovery request carrying the service provider network function identifier after the topology hiding.

Description

一种拓扑隐藏方法、节点、功能实体和计算机存储介质A topology hiding method, node, functional entity and computer storage medium

技术领域technical field

本发明涉及无线通信技术,具体涉及一种拓扑隐藏方法、节点、功能实体和计算机存储介质。The invention relates to wireless communication technology, in particular to a topology hiding method, a node, a functional entity and a computer storage medium.

背景技术Background technique

漫游信令互通的拓扑隐藏,是在不违背协议标准的情况下实现本网拓扑隐藏,替换真实网元标识、隐藏网内信令路由。本网发送的请求消息和响应消息中的源主机名需要隐藏。拓扑隐藏后的信令寻址,是对后续接收的消息中被替换的网元标识进行翻译还原,实现本网内的寻址。外网发送的请求消息中目的主机名(本网网元的标识)是被隐藏的标识,需要进行翻译还原。The topology hiding of roaming signaling intercommunication is to hide the topology of the local network without violating the protocol standard, replace the real network element identification, and hide the signaling route in the network. The source host name in the request message and response message sent by this network needs to be hidden. The signaling addressing after topology hiding is to translate and restore the replaced network element identifier in the subsequent received message, so as to realize the addressing in the local network. The destination host name (identification of the network element of the local network) in the request message sent by the external network is a hidden identification, which needs to be translated and restored.

在第四代移动通信技术(4G,the 4th Generation mobile communicationtechnology)网络中,国际漫游Diameter信令逐跳寻址,通过Diameter信令网的国际路由代理(I-DRA)节点实现拓扑隐藏,由I-DRA维护拓扑隐藏映射表,并进行路由。解决的问题是对服务请求消息和响应消息中的源网络网元的标识进行隐藏,即隐藏源节点所在运营商网络拓扑。In the 4th generation mobile communication technology (4G, the 4th Generation mobile communication technology) network, Diameter signaling hop-by-hop addressing for international roaming, topology hiding is realized through the International Routing Agent (I-DRA) node of the Diameter signaling network, and I -DRA maintains the topology hidden mapping table and performs routing. The problem to be solved is to hide the identity of the source network element in the service request message and the response message, that is, to hide the network topology of the operator where the source node is located.

在第五代移动通信技术(5G,the 5th Generation mobile communicationtechnology)网络引入服务发现过程,由服务发现节点(NRF)实现,在服务访问之前需要先发现目的NF。漫游场景下NF通过本网NRF访问它网NRF获取它网NF标识或地址。返回的NF ID如果不进行拓扑隐藏就会暴露目的节点所在运营商网络拓扑。显然,现有技术仅能够隐藏源节点所在运营商网络拓扑,无法满足5G网络跨运营商服务发现场景中目的节点的拓扑隐藏需求。The service discovery process is introduced into the fifth generation mobile communication technology (5G, the 5th Generation mobile communication technology) network, which is implemented by a service discovery node (NRF), and the destination NF needs to be discovered before service access. In the roaming scenario, the NF accesses the other network's NRF through the local network's NRF to obtain the other network's NF ID or address. If the returned NF ID is not topologically hidden, it will expose the network topology of the operator where the destination node is located. Obviously, the existing technology can only hide the network topology of the operator where the source node is located, and cannot meet the topology hiding requirements of the destination node in the 5G network cross-operator service discovery scenario.

发明内容Contents of the invention

为解决现有存在的技术问题,本发明实施例提供一种拓扑隐藏方法、节点、功能实体和计算机存储介质。In order to solve the existing technical problems, the embodiment of the present invention provides a topology hiding method, a node, a functional entity and a computer storage medium.

为达到上述目的,本发明实施例的技术方案是这样实现的:In order to achieve the above object, the technical solution of the embodiment of the present invention is achieved in this way:

本发明实施例提供了一种拓扑隐藏方法,所述方法包括:An embodiment of the present invention provides a topology hiding method, the method comprising:

边缘节点接收到入口服务发现请求,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识;The edge node receives the ingress service discovery request, and replaces the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the service provider network function identifier after topology hiding;

所述边缘节点转发所述入口服务发现请求所对应的携带所述拓扑隐藏后的服务提供者网络功能标识的服务发现响应。The edge node forwards a service discovery response corresponding to the ingress service discovery request that carries the topology-hidden service provider network function identifier.

上述方案中,所述将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识,包括:所述边缘节点查询预置的映射表获得所述服务提供者网络功能标识对应的拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为所述拓扑隐藏后的服务提供者网络功能标识。In the above solution, the replacement of the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the service provider network function identifier after topology hiding includes: the edge node queries the preset mapping table Obtain the service provider network function identifier corresponding to the service provider network function identifier after topology hiding, and replace the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the service provider after topology hiding Provider network capability ID.

上述方案中,所述将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识,包括:所述边缘节点将所述服务提供者网络功能标识变换成拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换所述拓扑隐藏后的服务提供者网络功能标识。In the above solution, the replacement of the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the service provider network function identifier after topology hiding includes: the edge node replaces the service provider network function identifier with the service provider The network function identifier is transformed into a service provider network function identifier after topology hiding, and the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request is replaced with the service provider network function identifier after topology hiding.

上述方案中,所述方法还包括:所述边缘节点存储所述服务提供者网络功能标识和所述拓扑隐藏后的服务提供者网络功能标识的映射关系。In the above solution, the method further includes: the edge node storing the mapping relationship between the service provider network function identifier and the service provider network function identifier after the topology hiding.

上述方案中,所述方法还包括:所述边缘节点基于接收到的消息中携带的统一资源标识符判断所述消息为服务发现请求,基于所述服务发现请求是由外网服务发现网络功能实体发送给本网服务发现网络功能实体确定所述服务发现请求为入口服务发现请求。In the above scheme, the method further includes: the edge node judges that the message is a service discovery request based on the uniform resource identifier carried in the received message, and based on the service discovery request, the network function entity is discovered by an external network service The service discovery network function entity sent to the local network determines that the service discovery request is an ingress service discovery request.

上述方案中,所述方法还包括:所述边缘节点接收到入口服务请求;所述入口服务请求携带所述拓扑隐藏后的服务提供者网络功能标识;In the above solution, the method further includes: the edge node receives an ingress service request; the ingress service request carries the network function identifier of the service provider after topology hiding;

所述边缘节点将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识;The edge node replaces the service provider network function identifier after the topology hiding in the ingress service request with the service provider network function identifier;

所述边缘节点向本网服务提供者网络功能实体发送携带所述服务提供者网络功能标识的服务请求。The edge node sends a service request carrying the network function identifier of the service provider to the network function entity of the service provider of the local network.

上述方案中,所述边缘节点将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识,包括:所述边缘节点查询预置的映射表或存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识;In the above solution, the edge node replaces the service provider network function identifier after the topology hiding in the ingress service request with the service provider network function identifier, including: the edge node queries the preset mapping Table or stored mapping relationship, to obtain the service provider network function identifier corresponding to the service provider network function identifier after the topology hiding;

所述边缘节点将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识。The edge node replaces the service provider network function identifier after the topology hiding in the ingress service request with the service provider network function identifier.

上述方案中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求。In the above solution, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

上述方案中,所述入口服务请求为外网服务使用者网络功能实体向本网服务提供者网络功能实体发送的服务请求。In the above solution, the ingress service request is a service request sent by the network function entity of the service user of the external network to the network function entity of the service provider of the local network.

本发明实施例还提供了一种拓扑隐藏方法,所述方法包括:The embodiment of the present invention also provides a topology hiding method, the method comprising:

服务发现网络功能实体接收到入口服务发现请求;The service discovery network functional entity receives the ingress service discovery request;

所述服务发现网络功能实体确定所述入口服务发现请求对应的服务提供者网络功能实体,对服务提供者网络功能实体标识进行拓扑隐藏;The service discovery network function entity determines the service provider network function entity corresponding to the ingress service discovery request, and performs topology hiding on the service provider network function entity identifier;

所述服务发现网络功能实体返回所述入口服务发现请求所对应的携带拓扑隐藏后的服务提供者网络功能实体标识的服务发现响应。The service discovery network function entity returns a service discovery response corresponding to the ingress service discovery request that carries the topology-hidden service provider network function entity identifier.

上述方案中,所述对服务提供者网络功能实体标识进行拓扑隐藏,包括:In the above solution, the topology hiding of the network function entity identifier of the service provider includes:

所述服务发现网络功能实体判断是否存储了包含所述服务提供者网络功能实体标识和所述拓扑隐藏后的服务提供者网络功能实体标识的映射关系;The service discovery network function entity determines whether a mapping relationship including the service provider network function entity identifier and the service provider network function entity identifier after the topology hiding is stored;

当存储有包含所述服务提供者网络功能实体标识和所述拓扑隐藏后的服务提供者网络功能实体标识的映射关系时,基于所述映射关系获得所述服务提供者网络功能实体标识对应的拓扑隐藏后的服务提供者网络功能实体标识;When a mapping relationship including the service provider network function entity identifier and the service provider network function entity identifier after the topology is hidden is stored, the topology corresponding to the service provider network function entity identifier is obtained based on the mapping relationship The hidden service provider network function entity identifier;

当未存储有包含所述服务提供者网络功能实体标识的映射关系时,为所述服务提供者网络功能实体标识生成拓扑隐藏后的服务提供者网络功能实体标识,存储所述服务提供者网络功能实体标识和所述拓扑隐藏后的服务提供者网络功能实体标识的映射关系。When the mapping relationship including the service provider network function entity identifier is not stored, generate a topology-hidden service provider network function entity identifier for the service provider network function entity identifier, and store the service provider network function entity identifier The mapping relationship between the entity identifier and the service provider network function entity identifier after the topology is hidden.

上述方案中,所述方法还包括:所述服务发现网络功能实体接收到本网节点的服务发现请求;所述服务发现请求携带拓扑隐藏后的服务提供者网络功能实体标识;In the above solution, the method further includes: the service discovery network function entity receives a service discovery request from a node of the local network; the service discovery request carries a service provider network function entity identifier after topology hiding;

所述服务发现网络功能实体确定所述拓扑隐藏后的服务提供者网络功能实体标识对应的所述服务提供者网络功能实体标识;The service discovery network function entity determines the service provider network function entity identifier corresponding to the service provider network function entity identifier after the topology hiding;

所述服务发现网络功能实体向所述本网节点返回携带有所述服务提供者网络功能实体标识的服务发现响应。The service discovery network function entity returns a service discovery response carrying the service provider network function entity identifier to the local network node.

上述方案中,所述服务发现网络功能实体确定所述拓扑隐藏后的服务提供者网络功能实体标识对应的所述服务提供者网络功能实体标识,包括:In the above solution, the service discovery network function entity determines the service provider network function entity identity corresponding to the service provider network function entity identity after the topology hiding, including:

所述服务发现网络功能实体查询存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识。The service discovery network function entity queries the stored mapping relationship, and obtains the service provider network function identifier corresponding to the service provider network function identifier after the topology hiding.

上述方案中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求。In the above solution, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

本发明实施例还提供了一种拓扑隐藏方法,所述方法包括:The embodiment of the present invention also provides a topology hiding method, the method comprising:

节点接收到入口服务请求,从所述入口服务请求中提取拓扑隐藏过的服务提供者网络功能标识;The node receives the ingress service request, and extracts the topology-hidden service provider network function identifier from the ingress service request;

所述节点向本网服务发现网络功能实体发送携带有所述拓扑隐藏后的服务提供者网络功能标识的服务发现请求;The node sends a service discovery request carrying the network function identifier of the service provider after the topology hiding to the service discovery network function entity of the local network;

所述节点接收到所述服务发现网络功能实体返回的携带有与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识的服务发现响应;The node receives the service discovery response returned by the service discovery network function entity and carries the service provider network function entity identifier corresponding to the service provider network function identifier after the topology hiding;

所述节点将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务发现响应中携带的与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识。The node replaces the topology-hidden service provider network function identifier in the ingress service request with the service provider corresponding to the topology-hidden service provider network function identifier carried in the service discovery response. or network function entity identifier.

本发明实施例还提供了一种边缘节点,所述边缘节点包括:第一接收单元、第一替换单元和第一发送单元,其中,An embodiment of the present invention also provides an edge node, where the edge node includes: a first receiving unit, a first replacement unit, and a first sending unit, wherein,

所述第一接收单元,用于接收到入口服务发现请求;The first receiving unit is configured to receive an ingress service discovery request;

所述第一替换单元,用于将所述第一接收单元接收到的所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识;The first replacement unit is configured to replace the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request received by the first receiving unit with the service provider network function identifier after topology hiding;

所述第一发送单元,用于转发所述入口服务发现请求所对应的携带所述拓扑隐藏后的服务提供者网络功能标识的服务发现响应。The first sending unit is configured to forward a service discovery response corresponding to the ingress service discovery request and carrying the network function identifier of the service provider after topology hiding.

上述方案中,所述第一替换单元,用于查询预置的映射表获得所述服务提供者网络功能标识对应的拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为所述拓扑隐藏后的服务提供者网络功能标识。In the above solution, the first replacement unit is configured to query the preset mapping table to obtain the topology-hidden service provider network function identifier corresponding to the service provider network function identifier, and to search the entry service discovery request for the corresponding service The service provider network function identifier in the discovery response is replaced by the service provider network function identifier after the topology is hidden.

上述方案中,所述第一替换单元,用于将所述服务提供者网络功能标识变换成拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换所述拓扑隐藏后的服务提供者网络功能标识。In the above solution, the first replacement unit is configured to transform the service provider network function identifier into a service provider network function identifier after topology hiding, and match the ingress service discovery request to the service provider in the service discovery response. The provider network function identifier replaces the service provider network function identifier after the topology hiding.

上述方案中,所述边缘节点还包括第一存储单元,用于存储所述服务提供者网络功能标识和所述拓扑隐藏后的服务提供者网络功能标识的映射关系。In the above solution, the edge node further includes a first storage unit configured to store the mapping relationship between the service provider network function identifier and the service provider network function identifier after the topology hiding.

上述方案中,所述边缘节点还包括第一判断单元,用于基于所述第一接收单元接收到的消息中携带的统一资源标识符判断所述消息为服务发现请求,基于所述服务发现请求是由外网服务发现网络功能实体发送给本网服务发现网络功能实体确定所述服务发现请求为入口服务发现请求。In the above solution, the edge node further includes a first judging unit, configured to judge that the message is a service discovery request based on the uniform resource identifier carried in the message received by the first receiving unit, and based on the service discovery request It is determined that the service discovery request is an ingress service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

上述方案中,所述第一接收单元,还用于接收到入口服务请求;所述入口服务请求携带所述拓扑隐藏后的服务提供者网络功能标识;In the above solution, the first receiving unit is further configured to receive an ingress service request; the ingress service request carries the network function identifier of the service provider after the topology hiding;

所述第一替换单元,还用于将所述第一接收单元接收到的所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识;The first replacement unit is further configured to replace the topology-hidden service provider network function identifier in the ingress service request received by the first receiving unit with the service provider network function identifier;

所述第一发送单元,还用于向本网服务提供者网络功能实体发送携带所述服务提供者网络功能标识的服务请求。The first sending unit is further configured to send a service request carrying the service provider network function identifier to the local network service provider network function entity.

上述方案中,所述第一替换单元,用于查询预置的映射表或存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识;将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识。In the above solution, the first replacement unit is configured to query a preset mapping table or a stored mapping relationship, and obtain the service provider network function identifier corresponding to the service provider network function identifier after the topology hiding; The service provider network function identifier after the topology hiding in the ingress service request is replaced by the service provider network function identifier.

上述方案中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求。In the above solution, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

上述方案中,所述入口服务请求为外网服务使用者网络功能实体向本网服务提供者网络功能实体发送的服务请求。In the above solution, the ingress service request is a service request sent by the network function entity of the service user of the external network to the network function entity of the service provider of the local network.

本发明实施例还提供了一种服务发现网络功能实体,所述服务发现网络功能实体包括第二接收单元、拓扑隐藏单元和第二发送单元;其中,The embodiment of the present invention also provides a service discovery network function entity, the service discovery network function entity includes a second receiving unit, a topology hiding unit and a second sending unit; wherein,

所述第二接收单元,用于接收到入口服务发现请求;The second receiving unit is configured to receive an ingress service discovery request;

所述拓扑隐藏单元,用于确定所述第二接收单元接收到的所述入口服务发现请求对应的服务提供者网络功能实体,对服务提供者网络功能实体标识进行拓扑隐藏;The topology hiding unit is configured to determine the service provider network function entity corresponding to the ingress service discovery request received by the second receiving unit, and perform topology hiding on the service provider network function entity identifier;

所述第二发送单元,用于返回所述入口服务发现请求所对应的携带拓扑隐藏后的服务提供者网络功能实体标识的服务发现响应。The second sending unit is configured to return a service discovery response corresponding to the ingress service discovery request that carries the topology-hidden service provider network function entity identifier.

上述方案中,所述服务发现网络功能实体还包括第二存储单元,用于存储包含所述服务提供者网络功能实体标识的映射关系;In the above solution, the service discovery network function entity further includes a second storage unit, configured to store a mapping relationship including the identifier of the service provider network function entity;

所述拓扑隐藏单元,用于判断所述第二存储单元是否存储包含所述服务提供者网络功能实体标识的映射关系;当所述第二存储单元存储有包含所述服务提供者网络功能实体标识的映射关系时,基于所述映射关系获得所述服务提供者网络功能实体标识对应的拓扑隐藏后的服务提供者网络功能实体标识;当所述第二存储单元未存储有包含所述服务提供者网络功能实体标识的映射关系时,为所述服务提供者网络功能实体标识生成拓扑隐藏后的服务提供者网络功能实体标识。The topology hiding unit is configured to determine whether the second storage unit stores a mapping relationship containing the service provider network function entity identifier; when the second storage unit stores a mapping relationship containing the service provider network function entity identifier When the mapping relationship is based on the mapping relationship, the topology-hidden service provider network function entity identifier corresponding to the service provider network function entity identifier is obtained based on the mapping relationship; when the second storage unit does not store the For the mapping relationship of the network function entity identifier, generate a topology-hidden service provider network function entity identifier for the service provider network function entity identifier.

上述方案中,所述第二接收单元,还用于接收到本网节点的服务发现请求;所述服务发现请求携带拓扑隐藏后的服务提供者网络功能实体标识;In the above solution, the second receiving unit is further configured to receive a service discovery request from a node of the local network; the service discovery request carries a service provider network function entity identifier after topology hiding;

所述拓扑隐藏单元,还用于确定所述拓扑隐藏后的服务提供者网络功能实体标识对应的所述服务提供者网络功能实体标识;The topology hiding unit is further configured to determine the service provider network function entity identifier corresponding to the service provider network function entity identifier after the topology hiding;

所述第二发送单元,还用于向所述本网节点返回携带有所述服务提供者网络功能实体标识的服务发现响应。The second sending unit is further configured to return a service discovery response carrying the service provider network function entity identifier to the local network node.

上述方案中,所述拓扑隐藏单元,用于查询存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识。In the above solution, the topology hiding unit is configured to query the stored mapping relationship, and obtain the service provider network function identifier corresponding to the service provider network function identifier after the topology hiding.

上述方案中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求。In the above solution, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

本发明实施例还提供了一种节点,所述节点包括:第三接收单元、提取单元、第三发送单元和第二替换单元;其中,The embodiment of the present invention also provides a node, and the node includes: a third receiving unit, an extracting unit, a third sending unit, and a second replacing unit; wherein,

所述第三接收单元,用于接收到入口服务请求;The third receiving unit is configured to receive an ingress service request;

所述提取单元,用于从所述第三接收单元接收到的所述入口服务请求中提取拓扑隐藏过的服务提供者网络功能标识;The extracting unit is configured to extract the topology-hidden service provider network function identifier from the ingress service request received by the third receiving unit;

所述第三发送单元,用于向本网服务发现网络功能实体发送携带有所述拓扑隐藏后的服务提供者网络功能标识的服务发现请求;The third sending unit is configured to send a service discovery request carrying the service provider network function identifier after topology hiding to the service discovery network function entity of the local network;

所述第三接收单元,还用于接收到所述服务发现网络功能实体返回的携带有与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识的服务发现响应;The third receiving unit is further configured to receive a service discovery response returned by the service discovery network function entity and carrying the service provider network function entity identifier corresponding to the service provider network function identifier after the topology hiding;

所述第二替换单元,用于将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务发现响应中携带的与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识。The second replacement unit is configured to replace the topology-hidden service provider network function identifier in the ingress service request with the topology-hidden service provider network carried in the service discovery response The service provider network function entity identifier corresponding to the function identifier.

本发明实施例还提供了一种计算机存储介质,其上存储有计算机指令,其特征在于,该指令被处理器执行时实现本发明实施例所述的应用于边缘节点的拓扑隐藏方法的步骤;或者,The embodiment of the present invention also provides a computer storage medium on which computer instructions are stored, wherein when the instructions are executed by a processor, the steps of the topology hiding method applied to edge nodes described in the embodiment of the present invention are implemented; or,

该指令被处理器执行时实现本发明实施例所述的应用于服务发现网络功能实体的拓扑隐藏方法的步骤;或者,When the instruction is executed by the processor, implement the steps of the topology hiding method applied to the service discovery network functional entity described in the embodiment of the present invention; or,

该指令被处理器执行时实现本发明实施例所述的应用于节点的拓扑隐藏方法的步骤。When the instruction is executed by the processor, the steps of the topology hiding method applied to the node described in the embodiment of the present invention are implemented.

本发明实施例还提供了一种边缘节点,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本发明实施例所述的应用于边缘节点的拓扑隐藏方法的步骤。An embodiment of the present invention also provides an edge node, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, it implements the Steps of the topology hiding method applied to edge nodes.

本发明实施例还提供了一种服务发现网络功能实体,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本发明实施例所述的应用于边缘节点的拓扑隐藏方法的步骤。The embodiment of the present invention also provides a service discovery network functional entity, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the embodiment of the present invention when executing the program The steps of the topology hiding method applied to edge nodes.

本发明实施例还提供了一种节点,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本发明实施例所述的应用于节点的拓扑隐藏方法的步骤。The embodiment of the present invention also provides a node, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the application described in the embodiment of the present invention is realized. The steps of the node-based topology hiding method.

本发明实施例提供的拓扑隐藏方法、节点、功能实体和计算机存储介质,一种方法包括:边缘节点接收到入口服务发现请求,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识;所述边缘节点转发所述入口服务发现请求所对应的携带所述拓扑隐藏后的服务提供者网络功能标识的服务发现响应。采用本发明实施例的技术方案,实现了服务发现场景下通过边缘节点对入口服务发现请求对应的服务发现响应的服务提供者网络功能标识的隐藏。The topology hiding method, node, functional entity, and computer storage medium provided by the embodiments of the present invention, one method includes: the edge node receives an ingress service discovery request, and corresponds the ingress service discovery request to the service provider network in the service discovery response The function identifier is replaced with the network function identifier of the service provider after topology hiding; the edge node forwards the service discovery response corresponding to the ingress service discovery request carrying the network function identifier of the service provider after topology hiding. Adopting the technical solution of the embodiment of the present invention realizes the hiding of the service provider network function identifier of the service discovery response corresponding to the ingress service discovery request through the edge node in the service discovery scenario.

另一种方法包括:服务发现网络功能实体接收到入口服务发现请求;所述服务发现网络功能实体确定所述入口服务发现请求对应的服务提供者网络功能实体,对服务提供者网络功能实体标识进行拓扑隐藏;所述服务发现网络功能实体返回所述入口服务发现请求所对应的携带拓扑隐藏后的服务提供者网络功能实体标识的服务发现响应。采用本发明实施例的技术方案,实现了服务发现场景下通过服务发现网络功能实体对入口服务发现请求对应的服务发现响应的服务提供者网络功能标识的隐藏。Another method includes: the service discovery network function entity receives the ingress service discovery request; the service discovery network function entity determines the service provider network function entity corresponding to the ingress service discovery request, and performs the identification of the service provider network function entity Topology hiding: the service discovery network function entity returns a service discovery response corresponding to the ingress service discovery request carrying the service provider network function entity identifier after topology hiding. Adopting the technical solution of the embodiment of the present invention realizes the hiding of the service provider network function identifier of the service discovery response corresponding to the ingress service discovery request through the service discovery network function entity in the service discovery scenario.

附图说明Description of drawings

图1为本发明实施例的拓扑隐藏方法的应用架构示意图;FIG. 1 is a schematic diagram of an application architecture of a topology hiding method according to an embodiment of the present invention;

图2为本发明实施例一的拓扑隐藏方法的流程示意图;FIG. 2 is a schematic flowchart of a topology hiding method according to Embodiment 1 of the present invention;

图3为本发明实施例二的拓扑隐藏方法的流程示意图;FIG. 3 is a schematic flowchart of a topology hiding method according to Embodiment 2 of the present invention;

图4为本发明实施例三的拓扑隐藏方法的流程示意图;FIG. 4 is a schematic flowchart of a topology hiding method according to Embodiment 3 of the present invention;

图5为本发明实施例的拓扑隐藏方法的一种具体交互流程示意图;FIG. 5 is a schematic diagram of a specific interaction flow of the topology hiding method according to the embodiment of the present invention;

图6为本发明实施例的拓扑隐藏方法的另一种具体交互流程示意图;FIG. 6 is a schematic diagram of another specific interaction flow of the topology hiding method according to the embodiment of the present invention;

图7为本发明实施例的边缘节点的一种组成结构示意图;FIG. 7 is a schematic diagram of a composition structure of an edge node according to an embodiment of the present invention;

图8为本发明实施例的边缘节点的另一种组成结构示意图;FIG. 8 is a schematic diagram of another composition structure of an edge node according to an embodiment of the present invention;

图9为本发明实施例的边缘节点的又一种组成结构示意图;FIG. 9 is a schematic diagram of another composition structure of an edge node according to an embodiment of the present invention;

图10为本发明实施例的服务发现网络功能实体的一种组成结构示意图;FIG. 10 is a schematic diagram of a composition structure of a service discovery network functional entity according to an embodiment of the present invention;

图11为本发明实施例的服务发现网络功能实体的另一种组成结构示意图;FIG. 11 is a schematic diagram of another composition structure of a service discovery network functional entity according to an embodiment of the present invention;

图12为本发明实施例的节点的组成结构示意图。FIG. 12 is a schematic diagram of the composition and structure of a node in an embodiment of the present invention.

具体实施方式Detailed ways

在对本发明实施例的拓扑隐藏方法进行详细说明之前,首先对本发明实施例的拓扑隐藏方法应用的系统架构进行说明。图1为本发明实施例的拓扑隐藏方法的应用架构示意图;如图1所示,包括服务发现网络功能实体(NRF)和服务提供者网络功能实体(NF)。系统架构中还包括边缘节点,用于转发NRF之间的数据。其中,边缘节点的一种示例可以是安全边缘保护代理(SEPP,Security Edge Protection Proxy)节点,该节点用于负责网络之间的交互安全。SEPP、NRF和NF任两个节点之间可通过网络建立连接。Before the topology hiding method of the embodiment of the present invention is described in detail, the system architecture of the topology hiding method of the embodiment of the present invention is first described. FIG. 1 is a schematic diagram of an application architecture of a topology hiding method according to an embodiment of the present invention; as shown in FIG. 1 , it includes a service discovery network function entity (NRF) and a service provider network function entity (NF). The system architecture also includes edge nodes for forwarding data between NRFs. Wherein, an example of an edge node may be a Security Edge Protection Proxy (SEPP, Security Edge Protection Proxy) node, and the node is used to be responsible for interaction security between networks. A connection can be established between any two nodes of SEPP, NRF and NF through the network.

本发明各实施例中,服务发现场景中拓扑隐藏的目的节点为NF,也即本发明以下各实施例中,服务提供者网络功能实体标识具体可以为NF标识(NF ID)。In each embodiment of the present invention, the destination node of topology hiding in the service discovery scenario is NF, that is, in the following embodiments of the present invention, the service provider network function entity identifier may specifically be an NF ID (NF ID).

下面结合附图及具体实施例对本发明作进一步详细的说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

实施例一Embodiment one

本发明实施例提供了一种拓扑隐藏方法。图2为本发明实施例一的拓扑隐藏方法的流程示意图;如图2所示,所述方法包括:An embodiment of the present invention provides a topology hiding method. Fig. 2 is a schematic flow chart of a topology hiding method according to Embodiment 1 of the present invention; as shown in Fig. 2 , the method includes:

步骤101:边缘节点接收到入口服务发现请求,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识。Step 101: The edge node receives the ingress service discovery request, and replaces the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the service provider network function identifier after topology hiding.

步骤102:所述边缘节点转发所述入口服务发现请求所对应的携带所述拓扑隐藏后的服务提供者网络功能标识的服务发现响应。Step 102: The edge node forwards a service discovery response corresponding to the ingress service discovery request and carrying the network function identifier of the service provider after topology hiding.

本实施例中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求,参考图1的示例,若边缘节点为网络2的SEPP,则所述入口服务发现请求为网络1的NRF向网络2的NRF发送的服务发现请求。In this embodiment, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity. Referring to the example in FIG. 1, if the edge node is the SEPP of network 2, then the The ingress service discovery request is a service discovery request sent by the NRF of network 1 to the NRF of network 2.

本实施例中,所述方法还包括:所述边缘节点基于接收到的消息中携带的统一资源标识符判断所述消息为服务发现请求,基于所述服务发现请求是由外网服务发现网络功能实体发送给本网服务发现网络功能实体确定所述服务发现请求为入口服务发现请求。In this embodiment, the method further includes: the edge node judges that the message is a service discovery request based on the uniform resource identifier carried in the received message, and based on that the service discovery request is a network function discovered by an external network service The entity sends the service discovery network function entity of the local network to determine that the service discovery request is an ingress service discovery request.

具体的,边缘节点判断接收到的消息是入口服务发现请求的判断方式在于,通过消息中携带的统一资源标识符(URI,Uniform Resource Identifier)的API name判断该消息是服务发现请求;进一步根据消息的局向,也即该消息是由网服务发现网络功能实体发送给本网服务发现网络功能实体的确定服务发现请求为入口服务发现请求。Specifically, the edge node judges that the received message is an ingress service discovery request by judging that the message is a service discovery request through the API name of the uniform resource identifier (URI, Uniform Resource Identifier) carried in the message; further according to the message In other words, the message is sent by the network service discovery network functional entity to the local network service discovery network functional entity to determine that the service discovery request is an ingress service discovery request.

本实施例中,作为一种实施方式,所述将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识,包括:所述边缘节点查询预置的映射表获得所述服务提供者网络功能标识对应的拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为所述拓扑隐藏后的服务提供者网络功能标识。In this embodiment, as an implementation manner, the replacement of the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the service provider network function identifier after topology hiding includes: the edge The node queries the preset mapping table to obtain the topology-hidden service provider network function identifier corresponding to the service provider network function identifier, and replaces the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with The network function identifier of the service provider after the topology is hidden.

具体的,边缘节点中预先配置并存储映射表,该映射表中记录有归属于本网的服务提供者网络功能标识(即NF ID)以及拓扑隐藏后的服务提供者网络功能标识(记为拓扑隐藏后的NF ID)的映射关系。如此,在NF作为目的节点或源节点进行拓扑隐藏的场景下可使用相同的拓扑隐藏后的NF ID进行替换,从而减少映射表空间。Specifically, a mapping table is pre-configured and stored in the edge node, and the mapping table records the service provider network function identifier (ie, NF ID) belonging to the local network and the service provider network function identifier (denoted as topology ID) after topology hiding. hidden NF ID) mapping relationship. In this way, in the scenario where the NF is used as the destination node or the source node to perform topology hiding, the same topology-hiding NF ID can be used for replacement, thereby reducing the mapping table space.

则边缘节点通过入口服务发现请求或者入口服务发现请求对应的服务发现响应中携带的信息(例如NF ID)查找存储的映射表,获得该NF ID对应的拓扑隐藏后的服务提供者网络功能标识(拓扑隐藏后的NF ID),将入口服务发现请求对应的服务发现响应中的NFID替换为拓扑隐藏后的NF ID,边缘节点转发携带有拓扑隐藏后的NF ID的、所述入口服务发现请求对应的服务发现响应。Then the edge node looks up the stored mapping table through the information carried in the ingress service discovery request or the service discovery response corresponding to the ingress service discovery request (for example, NF ID), and obtains the service provider network function identifier after topology hiding corresponding to the NF ID ( NF ID after topology hiding), replace the NFID in the service discovery response corresponding to the ingress service discovery request with the NF ID after topology hiding, and the edge node forwards the NF ID carrying the NF ID after topology hiding, corresponding to the ingress service discovery request service discovery response.

作为另一种实施方式,所述将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识,包括:所述边缘节点将所述服务提供者网络功能标识变换成拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换所述拓扑隐藏后的服务提供者网络功能标识。以及,还可以包括:所述边缘节点存储所述服务提供者网络功能标识和所述拓扑隐藏后的服务提供者网络功能标识的映射关系。As another implementation manner, the replacing the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the service provider network function identifier after topology hiding includes: the edge node converting the The service provider network function identifier is transformed into the service provider network function identifier after topology hiding, and the service provider network function identifier in the corresponding service discovery response of the ingress service discovery request is replaced by the service provider network function after topology hiding logo. And, the method may further include: the edge node storing the mapping relationship between the service provider network function identifier and the service provider network function identifier after the topology hiding.

具体的,本实施方式中,边缘节点采用动态变换生成服务提供者网络功能标识(NFID)对应的拓扑隐藏后的服务提供者网络功能标识(拓扑隐藏后的NF ID),在每次变换生成拓扑隐藏后的NF ID后,记录NF ID与拓扑隐藏后的NF ID的映射关系。Specifically, in this embodiment, the edge node adopts dynamic transformation to generate the service provider network function identifier (NF ID after topology hiding) corresponding to the service provider network function identifier (NFID) corresponding to the service provider network function identifier (NF ID after topology hiding). After hiding the NF ID, record the mapping relationship between the NF ID and the NF ID after topology hiding.

在一实施例中,所述方法还包括:所述边缘节点接收到入口服务请求;所述入口服务请求携带所述拓扑隐藏后的服务提供者网络功能标识;所述边缘节点将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识;所述边缘节点向本网服务提供者网络功能实体发送携带所述服务提供者网络功能标识的服务请求。In an embodiment, the method further includes: the edge node receives an ingress service request; the ingress service request carries the network function identifier of the service provider after topology hiding; the edge node sends the ingress service The service provider network function identifier after the topology hiding in the request is replaced by the service provider network function identifier; the edge node sends a message carrying the service provider network function identifier to the service provider network function entity of the local network Request for service.

本实施例中,所述入口服务请求为外网服务使用者网络功能实体向本网服务提供者网络功能实体发送的服务请求,参考图1的示例,若边缘节点为网络2的SEPP,则所述入口服务请求为作为服务使用者的网络1的NF向作为服务提供者的网络2的NF发送的服务请求。In this embodiment, the ingress service request is a service request sent by the network function entity of the service user of the external network to the network function entity of the service provider of the local network. Referring to the example in FIG. 1, if the edge node is the SEPP of network 2, then the The ingress service request is a service request sent from the NF of network 1 as a service user to the NF of network 2 as a service provider.

本实施例中,所述边缘节点将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识,包括:所述边缘节点查询预置的映射表或存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识;所述边缘节点将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识。In this embodiment, the edge node replaces the service provider network function identifier after the topology hiding in the ingress service request with the service provider network function identifier, including: the edge node queries the preset A mapping table or a stored mapping relationship to obtain the service provider network function identifier corresponding to the service provider network function identifier after the topology hiding; the edge node hides the topology in the ingress service request The service provider network function identifier is replaced by the service provider network function identifier.

可以理解为,边缘节点接收到入口服务请求,该入口服务请求携带有拓扑隐藏后的NF ID,通过查询映射表或映射关系获得该拓扑隐藏后的NF ID对应的表征真实NF标识的NF ID;边缘节点将该入口服务器请求中的拓扑隐藏后的服务提供者网络功能标识(即拓扑隐藏后的NF ID)替换为真实的服务提供者网络功能标识(NF ID)。It can be understood that the edge node receives an ingress service request, the ingress service request carries a topology-hidden NF ID, and obtains the NF ID corresponding to the topology-hidden NF ID representing the real NF identity by querying the mapping table or mapping relationship; The edge node replaces the network function ID of the service provider after topology hiding (ie, the NF ID after topology hiding) in the request of the ingress server with the real network function ID (NF ID) of the service provider.

采用本发明实施例的技术方案,实现了服务发现场景下通过边缘节点对入口服务发现请求对应的服务发现响应的服务提供者网络功能标识的隐藏。Adopting the technical solution of the embodiment of the present invention realizes the hiding of the service provider network function identifier of the service discovery response corresponding to the ingress service discovery request through the edge node in the service discovery scenario.

实施例二Embodiment two

本发明实施例还提供了一种拓扑隐藏方法。图3为本发明实施例二的拓扑隐藏方法的流程示意图;如图3所示,所述方法包括:The embodiment of the present invention also provides a topology hiding method. FIG. 3 is a schematic flow diagram of a topology hiding method according to Embodiment 2 of the present invention; as shown in FIG. 3 , the method includes:

步骤201:服务发现网络功能实体接收到入口服务发现请求。Step 201: The service discovery network function entity receives an ingress service discovery request.

步骤202:所述服务发现网络功能实体确定所述入口服务发现请求对应的服务提供者网络功能实体,对服务提供者网络功能实体标识进行拓扑隐藏。Step 202: The service discovery network function entity determines the service provider network function entity corresponding to the ingress service discovery request, and performs topology hiding on the service provider network function entity identifier.

步骤203:所述服务发现网络功能实体返回所述入口服务发现请求所对应的携带拓扑隐藏后的服务提供者网络功能实体标识的服务发现响应。Step 203: The service discovery network function entity returns a service discovery response corresponding to the ingress service discovery request, carrying the topology-hidden service provider network function entity identifier.

本实施例中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求,参考图1的示例,若服务发现网络功能实体为网络2的NRF,则所述入口服务发现请求为网络1的NRF向网络2的NRF发送的服务发现请求。In this embodiment, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity. Referring to the example in FIG. 1, if the service discovery network functional entity is the NRF of network 2 , the ingress service discovery request is a service discovery request sent from the NRF of network 1 to the NRF of network 2.

本实施例中,服务发现网络功能实体接收到入口服务发现请求,确定所述入口服务发现请求对应的服务提供者网络功能实体(NF)。In this embodiment, the service discovery network function entity receives the ingress service discovery request, and determines the service provider network function entity (NF) corresponding to the ingress service discovery request.

本发明实施例中,所述对服务提供者网络功能实体标识进行拓扑隐藏,包括:所述服务发现网络功能实体判断是否存储包含所述服务提供者网络功能实体标识的映射关系;当存储有包含所述服务提供者网络功能实体标识的映射关系时,基于所述映射关系获得所述服务提供者网络功能实体标识对应的拓扑隐藏后的服务提供者网络功能实体标识;当未存储有包含所述服务提供者网络功能实体标识的映射关系时,为所述服务提供者网络功能实体标识生成拓扑隐藏后的服务提供者网络功能实体标识,存储所述服务提供者网络功能实体标识和所述拓扑隐藏后的服务提供者网络功能实体标识的映射关系。In the embodiment of the present invention, the topology hiding of the service provider network function entity identifier includes: the service discovery network function entity determines whether to store the mapping relationship containing the service provider network function entity identifier; For the mapping relationship of the service provider network function entity identifier, obtain the topology-hidden service provider network function entity identifier corresponding to the service provider network function entity identifier based on the mapping relationship; When mapping the service provider network function entity identifier, generate a service provider network function entity identifier after topology hiding for the service provider network function entity identifier, and store the service provider network function entity identifier and the topology hidden The mapping relationship of the subsequent service provider network function entity identifier.

具体的,服务发现网络功能实体中存储有至少一组服务提供者网络功能实体标识与拓扑隐藏后的服务提供者网络功能实体标识的映射关系,则找到入口服务发现请求对应的服务提供者网络功能实体后,通过存储的映射关系判断是否存储有包含该服务提供者网络功能实体标识的映射关系;若存储有包含该服务提供者网络功能实体标识的映射关系,则获得该服务提供者网络功能实体标识对应的拓扑隐藏后的服务提供者网络功能实体标识(即拓扑隐藏后的NF ID);若未存储有包含该服务提供者网络功能实体标识的映射关系,则为所述服务提供者网络功能实体标识生成拓扑隐藏后的服务提供者网络功能实体标识(即生成拓扑隐藏后的NF ID),并记录服务提供者网络功能实体标识(即NF ID)与拓扑隐藏后的NF ID的映射关系。Specifically, the service discovery network function entity stores at least one set of mapping relationship between the service provider network function entity identifier and the service provider network function entity identifier after topology hiding, then find the service provider network function corresponding to the ingress service discovery request After the entity, judge whether there is a mapping relationship containing the service provider network function entity identifier through the stored mapping relationship; if the mapping relationship containing the service provider network function entity identifier is stored, obtain the service provider network function entity Identifies the corresponding service provider network function entity identifier after topology hiding (that is, the NF ID after topology hiding); if no mapping relationship including the service provider network function entity identifier is stored, then the service provider network function The entity identification generates the service provider network function entity identification after topology hiding (that is, the NF ID after topology hiding), and records the mapping relationship between the service provider network function entity identification (ie, NF ID) and the topology hiding NF ID.

进一步地,服务发现网络功能实体返回所述入口服务发现请求所对应的携带拓扑隐藏后的服务提供者网络功能实体标识的服务发现响应,参照图1的示例,可以理解为,若服务发现网络功能实体为网络2的NRF,则网络2的NRF接收到网络1的NRF发送的入口服务发现请求;网络2的NRF确定NF,对NF ID进行拓扑隐藏;网络2的NRF向网络1的NRF反馈携带有拓扑隐藏后的NF ID的、与该入口服务发现请求对应的服务发现响应。Further, the service discovery network function entity returns the service discovery response corresponding to the ingress service discovery request carrying the identity of the service provider network function entity after topology hiding. Referring to the example in FIG. 1 , it can be understood that if the service discovery network function The entity is the NRF of network 2, and the NRF of network 2 receives the ingress service discovery request sent by the NRF of network 1; the NRF of network 2 determines the NF, and performs topology hiding for the NF ID; the NRF of network 2 sends the NRF back to the NRF of network 1 There is a service discovery response corresponding to the ingress service discovery request with the NF ID after topology hiding.

在一实施例中,所述方法还包括:所述服务发现网络功能实体接收到本网节点的服务发现请求;所述服务发现请求携带拓扑隐藏后的服务提供者网络功能实体标识;所述服务发现网络功能实体确定所述拓扑隐藏后的服务提供者网络功能实体标识对应的所述服务提供者网络功能实体标识;所述服务发现网络功能实体向所述本网节点返回携带有所述服务提供者网络功能实体标识的服务发现响应。In an embodiment, the method further includes: the service discovery network function entity receives a service discovery request from a node on the local network; the service discovery request carries a service provider network function entity identifier after topology hiding; the service The discovery network function entity determines the service provider network function entity identity corresponding to the service provider network function entity identity after the topology hiding; the service discovery network function entity returns to the local network node carrying the service provider Service Discovery Response identified by the network function entity.

具体的,服务发现网络功能实体接收到本网节点的服务发现请求,本网节点可以是本网的边缘节点(如SEPP),也可以是本网的其他节点,本实施例中对此不进行限定;其中,所述服务发现请求携带拓扑隐藏后的服务提供者网络功能实体标识。其中,本网节点接收到入口服务请求,所述入口服务请求中携带有服务提供者网络功能标识。则本网节点从入口服务请求中提取出拓扑隐藏过的服务提供者网络功能标识;向本网服务发现网络功能实体发送携带有所述拓扑隐藏后的服务提供者网络功能标识的服务发现请求。所述入口服务请求为外网服务使用者网络功能实体向本网服务提供者网络功能实体发送的服务请求;参照图1所示的示例,所述入口服务请求为作为服务使用者的网络1的NF向作为服务提供者的网络2的NF发送的服务请求。Specifically, the service discovery network functional entity receives a service discovery request from a node of the local network, and the node of the local network may be an edge node (such as SEPP) of the local network, or other nodes of the local network, which is not performed in this embodiment. Definition; wherein, the service discovery request carries the service provider network function entity identifier after topology hiding. Wherein, the node of the local network receives the ingress service request, and the ingress service request carries the network function identifier of the service provider. Then the local network node extracts the topology-hidden service provider network function identifier from the ingress service request; sends a service discovery request carrying the topology-hidden service provider network function identifier to the local network service discovery network function entity. The entry service request is a service request sent by the network function entity of the service user of the external network to the network function entity of the service provider of the home network; referring to the example shown in Figure 1, the entry service request is the service request of the network 1 as the service user. A service request sent by the NF to the NF of the network 2 as the service provider.

其中,所述服务发现网络功能实体确定所述拓扑隐藏后的服务提供者网络功能实体标识对应的所述服务提供者网络功能实体标识,包括:所述服务发现网络功能实体查询存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识。Wherein, the service discovery network function entity determines the service provider network function entity identifier corresponding to the service provider network function entity identifier after the topology hiding, including: the service discovery network function entity queries the stored mapping relationship, The service provider network function identifier corresponding to the service provider network function identifier after the topology hiding is obtained.

具体的,服务发现网络功能实体中存储有至少一组服务提供者网络功能实体标识与拓扑隐藏后的服务提供者网络功能实体标识的映射关系;则服务发现网络功能实体通过查询存储的映射关系,获得服务发现请求中携带的拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识,即获得拓扑隐藏后的NF ID对应的NF ID。进一步地,服务发现网络功能实体在向所述本网节点返回的服务发现响应中,将拓扑隐藏后的NF ID替换为NF ID,即返回携带有所述服务提供者网络功能实体标识的服务发现响应。Specifically, the service discovery network function entity stores at least one set of mapping relationships between service provider network function entity identifiers and service provider network function entity identifiers after topology hiding; then the service discovery network function entity queries the stored mapping relationship, Obtaining the service provider network function identifier corresponding to the service provider network function identifier carried in the service discovery request after topology hiding is to obtain the NF ID corresponding to the topology hidden NF ID. Further, the service discovery network function entity replaces the NF ID after topology hiding with the NF ID in the service discovery response returned to the local network node, that is, returns the service discovery network function entity identifier carrying the service provider network function entity response.

采用本发明实施例的技术方案,实现了服务发现场景下通过服务发现网络功能实体对入口服务发现请求对应的服务发现响应的服务提供者网络功能标识的隐藏。Adopting the technical solution of the embodiment of the present invention realizes the hiding of the service provider network function identifier of the service discovery response corresponding to the ingress service discovery request through the service discovery network function entity in the service discovery scenario.

实施例三Embodiment three

本发明实施例还提供了一种拓扑隐藏方法。图4为本发明实施例三的拓扑隐藏方法的流程示意图;如图4所示,所述方法包括:The embodiment of the present invention also provides a topology hiding method. FIG. 4 is a schematic flowchart of a topology hiding method according to Embodiment 3 of the present invention; as shown in FIG. 4 , the method includes:

步骤301:节点接收到入口服务请求,从所述入口服务请求中提取拓扑隐藏过的服务提供者网络功能标识。Step 301: The node receives an ingress service request, and extracts a topology-hidden service provider network function identifier from the ingress service request.

步骤302:所述节点向本网服务发现网络功能实体发送携带有所述拓扑隐藏后的服务提供者网络功能标识的服务发现请求。Step 302: The node sends a service discovery request carrying the topology-hidden service provider network function identifier to the service discovery network function entity of the local network.

步骤303:所述节点接收到所述服务发现网络功能实体返回的携带有与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识的服务发现响应。Step 303: The node receives the service discovery response carrying the service provider network function entity identifier corresponding to the service provider network function identifier after the topology hiding returned by the service discovery network function entity.

步骤304:所述节点将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务发现响应中携带的与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识。Step 304: The node replaces the topology-hidden service provider network function identifier in the ingress service request with the service provider network function identifier carried in the service discovery response corresponding to the topology-hidden service provider network function identifier The service provider network function entity identifier of the service provider.

本实施例中,所述节点可以是本网的边缘节点(如SEPP),也可以是本网的其他节点,本实施例中对此不进行限定。其中,所述入口服务请求为外网服务使用者网络功能实体向本网服务提供者网络功能实体发送的服务请求。参考图1的示例,若节点为网络2的节点,则所述入口服务请求为作为服务使用者的网络1的NF向作为服务提供者的网络2的NF发送的服务请求。In this embodiment, the node may be an edge node (such as SEPP) of the local network, or other nodes of the local network, which is not limited in this embodiment. Wherein, the entry service request is a service request sent by the network function entity of the service user of the external network to the network function entity of the service provider of the local network. Referring to the example in FIG. 1 , if the node is a node of network 2, the ingress service request is a service request sent from the NF of network 1 as a service user to the NF of network 2 as a service provider.

结合实施例二中的服务发现过程,服务发现网络功能实体返回入口服务发现请求所对应的携带拓扑隐藏后的服务提供者网络功能实体标识的服务发现响应,则节点接收到的入口服务请求中携带的是拓扑隐藏过的服务提供者网络功能标识(即拓扑隐藏后的NFID),进而从所述入口服务请求中提取拓扑隐藏过的服务提供者网络功能标识(拓扑隐藏后的NF ID)。进一步地,节点向本网服务发现网络功能实体发送携带有所述拓扑隐藏后的服务提供者网络功能标识(拓扑隐藏后的NF ID)的服务发现请求。In combination with the service discovery process in Embodiment 2, the service discovery network function entity returns the service discovery response corresponding to the ingress service discovery request carrying the service provider network function entity identifier after topology hiding, and the ingress service request received by the node carries The service provider network function identifier (ie, the NFID after topology hiding) that has been hidden in the topology is obtained, and then the service provider network function identifier (the NF ID after topology hiding) that has been hidden in the topology is extracted from the ingress service request. Further, the node sends a service discovery request carrying the topology-hidden service provider network function identifier (topology-hidden NF ID) to the local network service discovery network function entity.

本发明实施例中,所述节点接收到所述服务发现网络功能实体返回的携带有与所述拓扑隐藏后的服务提供者网络功能标识(拓扑隐藏后的NF ID)对应的服务提供者网络功能实体标识(NF ID)的服务发现响应,可以理解,服务发现网络功能实体通过查询存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识(拓扑隐藏后的NF ID)对应的所述服务提供者网络功能标识(NF ID),向本网节点返回携带有所述服务提供者网络功能实体标识(NF ID)的服务发现响应。In this embodiment of the present invention, the node receives the service provider network function returned by the service discovery network function entity and carries the service provider network function identifier (NF ID after topology hiding) corresponding to the service provider network function identifier after topology hiding The service discovery response of the entity identifier (NF ID), it can be understood that the service discovery network function entity obtains the service provider network function identifier (NF ID after topology hiding) corresponding to the service provider network function identifier after topology hiding by querying the stored mapping relationship. The service provider network function identifier (NF ID), and returns a service discovery response carrying the service provider network function entity identifier (NF ID) to the local network node.

下面结合具体的实施例对本发明实施例的拓扑隐藏方法进行进一步说明。The topology hiding method of the embodiment of the present invention will be further described below in combination with specific embodiments.

以图1所示的应用架构为例,假设网络1作为源网络,网络2作为目的网络,边缘节点和服务发现网络功能实体分别为图1中所示的SEPP和NRF,则网络1中的节点包括SEP1和NRF1,网络2中的节点包括SEP2和NRF2;服务使用者网络功能实体为网络1中的NF1,服务提供者网络功能实体为网络2中的NF2。Taking the application architecture shown in Figure 1 as an example, assuming that network 1 is the source network, network 2 is the destination network, and the edge nodes and service discovery network functional entities are SEPP and NRF shown in Figure 1 respectively, then the nodes in network 1 Including SEP1 and NRF1, the nodes in network 2 include SEP2 and NRF2; the service user network function entity is NF1 in network 1, and the service provider network function entity is NF2 in network 2.

具体实施例一Specific embodiment one

图5为本发明实施例的拓扑隐藏方法的一种具体交互流程示意图;如图5所示,所述拓扑隐藏方法包括:Fig. 5 is a schematic diagram of a specific interaction flow of the topology hiding method of the embodiment of the present invention; as shown in Fig. 5, the topology hiding method includes:

步骤401:当网络1的NF1需要调用网络2中的NF2提供的服务时,NF1向NRF1发起服务发现请求;NRF1基于该服务发现请求确定对应的服务提供者功能实体在网络2中,则通过SEPP1和SEPP2向网络2的NRF2发起服务发现请求。Step 401: When NF1 in network 1 needs to invoke the service provided by NF2 in network 2, NF1 initiates a service discovery request to NRF1; based on the service discovery request, NRF1 determines that the corresponding service provider functional entity is in network 2, then through SEPP1 and SEPP2 initiate a service discovery request to NRF2 of network 2.

步骤402:NRF2向SEPP2返回服务发现请求对应的服务发现响应,所述服务发现响应中携带有NF2ID。Step 402: NRF2 returns a service discovery response corresponding to the service discovery request to SEPP2, and the service discovery response carries the NF2 ID.

步骤403:SEPP2接收到该服务发现响应,对服务发现响应中的NF2ID进行拓扑隐藏,替换NF2ID为拓扑隐藏后的NF2ID,并且,SEPP2中保存NF2ID与拓扑隐藏后的NF2ID的映射关系。Step 403: SEPP2 receives the service discovery response, performs topology hiding on the NF2ID in the service discovery response, replaces the NF2ID with the topology-hiding NF2ID, and stores the mapping relationship between the NF2ID and the topology-hiding NF2ID in SEPP2.

其中,SEPP2可通过查询预设的映射表的方式获得NF2ID对应的拓扑隐藏后的NF2ID;或者,也可以通过动态变换的方式生成NF2ID对应的拓扑隐藏后的NF2ID,并存储NF2ID与拓扑隐藏后的NF2ID的映射关系。Among them, SEPP2 can obtain the topology-hidden NF2ID corresponding to NF2ID by querying the preset mapping table; or, it can also generate the topology-hidden NF2ID corresponding to NF2ID through dynamic transformation, and store the NF2ID and the topology-hidden NF2ID Mapping relationship of NF2ID.

步骤404:SEPP2将携带有拓扑隐藏后的NF2ID的服务发现响应通过SEPP1返回至NRF1,由NRF1将该服务发现响应发送至NF1。Step 404: SEPP2 returns the service discovery response carrying the topology-hidden NF2 ID to NRF1 through SEPP1, and NRF1 sends the service discovery response to NF1.

步骤405:NF1向NF2发起服务请求,该服务请求中携带有拓扑隐藏后的NF2ID;该服务请求通过SEPP1发送至SEPP2。Step 405: NF1 initiates a service request to NF2, and the service request carries the NF2 ID after topology hiding; the service request is sent to SEPP2 through SEPP1.

步骤406:SEPP2接收到该服务请求,通过查询存储的映射关系,获得该服务请求中的拓扑隐藏后的NF2ID对应的NF2ID,将服务请求中的拓扑隐藏后的NF2ID替换为NF2ID。Step 406: SEPP2 receives the service request, obtains the NF2ID corresponding to the topology-hidden NF2ID in the service request by querying the stored mapping relationship, and replaces the topology-hidden NF2ID in the service request with the NF2ID.

步骤407:SEPP2向NF2发送服务请求,该服务请求中携带有NF2ID。Step 407: SEPP2 sends a service request to NF2, and the service request carries NF2 ID.

步骤408:NF2向NF1返回该服务请求对应的服务响应。Step 408: NF2 returns a service response corresponding to the service request to NF1.

本具体实施方式通过目的网络的SEPP2对服务发现响应中返回的NF2ID进行拓扑隐藏,并保存映射关系;后续针对访问该NF2的服务请求中的拓扑隐藏后的NF2ID进行还原,从而实现通过边缘节点对入口服务发现请求对应的服务发现响应的服务提供者网络功能标识的隐藏。In this specific embodiment, the SEPP2 of the destination network performs topology hiding on the NF2ID returned in the service discovery response, and saves the mapping relationship; subsequently restores the NF2ID after topology hiding in the service request for accessing the NF2, so as to realize the NF2ID through the edge node. The hiding of the service provider network function identifier of the service discovery response corresponding to the ingress service discovery request.

具体实施例二Specific embodiment two

图6为本发明实施例的拓扑隐藏方法的另一种具体交互流程示意图;如图6所示,所述拓扑隐藏方法包括:FIG. 6 is a schematic diagram of another specific interaction flow of the topology hiding method according to an embodiment of the present invention; as shown in FIG. 6, the topology hiding method includes:

步骤501:当网络1的NF1需要调用网络2中的NF2提供的服务时,NF1向NRF1发起服务发现请求;NRF1基于该服务发现请求确定对应的服务提供者功能实体在网络2中,则通过SEPP1和SEPP2向网络2的NRF2发起服务发现请求。Step 501: When NF1 in network 1 needs to invoke the service provided by NF2 in network 2, NF1 initiates a service discovery request to NRF1; based on the service discovery request, NRF1 determines that the corresponding service provider functional entity is in network 2, then through SEPP1 and SEPP2 initiate a service discovery request to NRF2 of network 2.

步骤502:NRF2接收到服务发现请求后,确定对应的服务提供者NF2,判断是否存储了包含NF2ID和拓扑隐藏后的NF2ID的映射关系,当存储有包含NF2ID和拓扑隐藏后的NF2ID的映射关系时,获得NF2ID对应的拓扑隐藏后的NF2ID;当未存储有包含NF2ID和拓扑隐藏后的NF2ID的映射关系时,为NF2ID生成拓扑隐藏后的NF2ID,存储NF2ID和拓扑隐藏后的NF2ID的映射关系。Step 502: After receiving the service discovery request, NRF2 determines the corresponding service provider NF2, and judges whether the mapping relationship between NF2ID and NF2ID after topology hiding is stored. When the mapping relationship between NF2ID and NF2ID after topology hiding is stored , to obtain the NF2ID after the topology hiding corresponding to the NF2ID; when the mapping relationship between the NF2ID and the NF2ID after the topology hiding is not stored, generate the NF2ID after the topology hiding for the NF2ID, and store the mapping relationship between the NF2ID and the NF2ID after the topology hiding.

步骤503:NRF2返回服务发现请求对应的携带有拓扑隐藏后的NF2ID的服务发现响应,该服务发现响应通过SEPP2、SEPP1发送至NF1,由NRF1将该服务发现响应发送至NF1。Step 503: NRF2 returns a service discovery response corresponding to the service discovery request carrying the topology-hidden NF2 ID, the service discovery response is sent to NF1 through SEPP2 and SEPP1, and NRF1 sends the service discovery response to NF1.

步骤504:NF1向NF2发起服务请求,该服务请求中携带有拓扑隐藏后的NF2ID;该服务请求通过SEPP1发送至SEPP2。Step 504: NF1 initiates a service request to NF2, and the service request carries the NF2 ID after topology hiding; the service request is sent to SEPP2 through SEPP1.

步骤505-步骤506:SEPP2从服务请求中提取出拓扑隐藏后的NF2ID,向NRF2发起服务发现请求,该服务发现请求中携带有拓扑隐藏后的NF2ID。Step 505-Step 506: SEPP2 extracts the NF2ID after topology hiding from the service request, and initiates a service discovery request to NRF2, and the service discovery request carries the NF2ID after topology hiding.

步骤507:NRF2确定拓扑隐藏后的NF2ID对应的NF2ID,向SEPP2返回与所述服务发现请求对应的携带有NF2ID的服务发现响应。Step 507: NRF2 determines the NF2ID corresponding to the NF2ID after topology hiding, and returns a service discovery response corresponding to the service discovery request carrying the NF2ID to SEPP2.

步骤508至步骤509:SEPP2对来自NF1的服务请求中的拓扑隐藏后的NF2ID替换为NF2ID,发送携带有NF2ID的服务请求至NF2。Step 508 to Step 509: SEPP2 replaces the topology-hidden NF2ID in the service request from NF1 with NF2ID, and sends the service request carrying the NF2ID to NF2.

步骤510:NF2向NF1返回服务请求对应的服务响应,该服务响应通过SEPP2和SEPP1发送。Step 510: NF2 returns a service response corresponding to the service request to NF1, and the service response is sent through SEPP2 and SEPP1.

本具体实施方式通过目的网络的NRF接收到来自异网的服务发现请求,确定对应的NF,通过查找映射关系获得该NF对应的拓扑隐藏后的NF ID,或者,生成NF ID对应的拓扑隐藏后的NF ID,对服务发现响应中返回的NF2ID进行拓扑隐藏;后续目的网络节点(如SEPP)接收到来自异网的服务请求时,发起本网的NRF的服务发现,携带拓扑隐藏后的NFID;通过本网的NFR获得拓扑隐藏后的NF ID对应的NF ID;目的网络节点根据本网的服务发现响应结果转发服务请求至NF,从而实现通过服务发现网络功能实体对入口服务发现请求对应的服务发现响应的服务提供者网络功能标识的隐藏。In this specific embodiment, the NRF of the destination network receives a service discovery request from a different network, determines the corresponding NF, and obtains the topology-hidden NF ID corresponding to the NF by looking up the mapping relationship, or generates the topology-hidden NF ID corresponding to the NF ID The NF ID of the service discovery response is used to hide the topology of the NF2ID returned in the service discovery response; when the subsequent destination network node (such as SEPP) receives a service request from another network, it initiates the service discovery of the NRF of the local network, carrying the NFID after topology hiding; Obtain the NF ID corresponding to the NF ID after topology hiding through the NFR of the local network; the destination network node forwards the service request to the NF according to the service discovery response result of the local network, so as to realize the service corresponding to the ingress service discovery request through the service discovery network functional entity The hiding of the service provider network function identity of the discovery response.

实施例四Embodiment four

本发明实施例还提供了一种边缘节点。图7为本发明实施例的边缘节点的一种组成结构示意图;如图7所示,所述边缘节点包括:第一接收单元61、第一替换单元62和第一发送单元63,其中,The embodiment of the present invention also provides an edge node. FIG. 7 is a schematic diagram of a composition structure of an edge node according to an embodiment of the present invention; as shown in FIG. 7 , the edge node includes: a first receiving unit 61, a first replacement unit 62, and a first sending unit 63, wherein,

所述第一接收单元61,用于接收到入口服务发现请求;The first receiving unit 61 is configured to receive an ingress service discovery request;

所述第一替换单元62,用于将所述第一接收单元61接收到的所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识;The first replacement unit 62 is configured to replace the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request received by the first receiving unit 61 with the service provider network function after topology hiding logo;

所述第一发送单元63,用于转发所述入口服务发现请求所对应的携带所述拓扑隐藏后的服务提供者网络功能标识的服务发现响应。The first sending unit 63 is configured to forward a service discovery response corresponding to the ingress service discovery request and carrying the network function identifier of the service provider after topology hiding.

作为第一种实施方式,所述第一替换单元62,用于查询预置的映射表获得所述服务提供者网络功能标识对应的拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为所述拓扑隐藏后的服务提供者网络功能标识。As a first implementation manner, the first replacement unit 62 is configured to query the preset mapping table to obtain the topology-hidden service provider network function identifier corresponding to the service provider network function identifier, and convert the entry service In the discovery request, the service provider network function identifier in the corresponding service discovery response is replaced with the service provider network function identifier after the topology is hidden.

作为第二种实施方式,所述第一替换单元62,用于将所述服务提供者网络功能标识变换成拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换所述拓扑隐藏后的服务提供者网络功能标识。As a second implementation manner, the first replacement unit 62 is configured to transform the service provider network function identifier into a topology-hidden service provider network function identifier, and map the ingress service discovery request to a service discovery response The service provider network function identifier in replaces the service provider network function identifier after the topology hiding.

在一实施例中,如图8所示,所述边缘节点还包括第一存储单元64,用于存储所述服务提供者网络功能标识和所述拓扑隐藏后的服务提供者网络功能标识的映射关系。In an embodiment, as shown in FIG. 8 , the edge node further includes a first storage unit 64 configured to store the mapping between the service provider network function identifier and the service provider network function identifier after topology hiding relation.

在一实施例中,如图9所示,所述边缘节点还包括第一判断单元65,用于基于所述第一接收单元61接收到的消息中携带的统一资源标识符判断所述消息为服务发现请求,基于所述服务发现请求是由外网服务发现网络功能实体发送给本网服务发现网络功能实体确定所述服务发现请求为入口服务发现请求。In an embodiment, as shown in FIG. 9 , the edge node further includes a first judging unit 65, configured to judge that the message is based on the uniform resource identifier carried in the message received by the first receiving unit 61 The service discovery request is determined to be an ingress service discovery request based on that the service discovery request is sent from the external network service discovery network functional entity to the home network service discovery network functional entity.

在一实施例中,所述第一接收单元61,还用于接收到入口服务请求;所述入口服务请求携带所述拓扑隐藏后的服务提供者网络功能标识;In an embodiment, the first receiving unit 61 is further configured to receive an ingress service request; the ingress service request carries the network function identifier of the service provider after the topology hiding;

所述第一替换单元62,还用于将所述第一接收单元61接收到的所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识;The first replacement unit 62 is further configured to replace the topology-hidden service provider network function identifier in the ingress service request received by the first receiving unit 61 with the service provider network function logo;

所述第一发送单元63,还用于向本网服务提供者网络功能实体发送携带所述服务提供者网络功能标识的服务请求。The first sending unit 63 is further configured to send a service request carrying the service provider network function identifier to the local service provider network function entity.

其中,所述第一替换单元62,用于查询预置的映射表或存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识;将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识。Wherein, the first replacement unit 62 is configured to query a preset mapping table or a stored mapping relationship to obtain the service provider network function identifier corresponding to the service provider network function identifier after the topology hiding; The service provider network function identifier after the topology hiding in the ingress service request is replaced by the service provider network function identifier.

本实施例中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求。In this embodiment, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

所述入口服务请求为外网服务使用者网络功能实体向本网服务提供者网络功能实体发送的服务请求。The entry service request is a service request sent by the network function entity of the service user of the external network to the network function entity of the service provider of the local network.

本发明实施例中,所述边缘节点在实际应用中可通过服务器实现;所述边缘节点中的第一替换单元62和第一判断单元65,在实际应用中均可由中央处理器(CPU,CentralProcessing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现;所述边缘节点中的第一存储单元64,在实际应用中可通过存储器实现;所述边缘节点中的第一接收单元61和第一发送单元63,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In the embodiment of the present invention, the edge node can be implemented by a server in practical applications; the first replacement unit 62 and the first judging unit 65 in the edge node can be implemented by a central processing unit (CPU, Central Processing Unit) in practical applications. Unit), digital signal processor (DSP, Digital Signal Processor), micro control unit (MCU, Microcontroller Unit) or programmable gate array (FPGA, Field-Programmable Gate Array); the first storage unit in the edge node 64, which can be implemented by memory in practical applications; the first receiving unit 61 and the first sending unit 63 in the edge node can be implemented by communication modules (including: basic communication suite, operating system, communication module) in practical applications , standardized interfaces and protocols, etc.) and the implementation of transceiver antennas.

需要说明的是:上述实施例提供的边缘节点在进行拓扑隐藏时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将节点的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的边缘节点与拓扑隐藏方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the edge node provided in the above embodiment performs topology hiding, it only uses the division of the above-mentioned program modules as an example. In practical applications, the above-mentioned processing allocation can be completed by different program modules according to needs. The internal structure of the node is divided into different program modules to complete all or part of the processing described above. In addition, the edge node and the topology hiding method embodiment provided by the above embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

实施例五Embodiment five

本发明实施例还提供了一种边缘节点,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现:接收到入口服务发现请求,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识;转发所述入口服务发现请求所对应的携带所述拓扑隐藏后的服务提供者网络功能标识的服务发现响应。其中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求。An embodiment of the present invention also provides an edge node, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, it realizes: receiving an entry service discovery request , replacing the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the service provider network function identifier after topology hiding; forwarding the service provider network function identifier corresponding to the ingress service discovery request carrying the topology hidden Service Discovery Response for Service Provider Network Function Identifier. Wherein, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

在一实施例中,所述处理器执行所述程序时实现:查询预置的映射表获得所述服务提供者网络功能标识对应的拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为所述拓扑隐藏后的服务提供者网络功能标识。In an embodiment, when the processor executes the program, it implements: querying a preset mapping table to obtain a topology-hidden service provider network function identifier corresponding to the service provider network function identifier; In the discovery request, the service provider network function identifier in the corresponding service discovery response is replaced with the service provider network function identifier after the topology is hidden.

在一实施例中,所述处理器执行所述程序时实现:将所述服务提供者网络功能标识变换成拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换所述拓扑隐藏后的服务提供者网络功能标识。In an embodiment, when the processor executes the program, it implements: transforming the service provider network function identifier into a topology-hidden service provider network function identifier, and mapping the ingress service discovery request to a service discovery response The service provider network function identifier in replaces the service provider network function identifier after the topology hiding.

在一实施例中,所述处理器执行所述程序时实现:存储所述服务提供者网络功能标识和所述拓扑隐藏后的服务提供者网络功能标识的映射关系。In an embodiment, when the processor executes the program, it implements: storing the mapping relationship between the service provider network function identifier and the service provider network function identifier after the topology hiding.

在一实施例中,所述处理器执行所述程序时实现:基于接收到的消息中携带的统一资源标识符判断所述消息为服务发现请求,基于所述服务发现请求是由外网服务发现网络功能实体发送给本网服务发现网络功能实体确定所述服务发现请求为入口服务发现请求。In an embodiment, when the processor executes the program, it realizes: judging that the message is a service discovery request based on the uniform resource identifier carried in the received message, and based on that the service discovery request is discovered by an external network service The network function entity sends to the local network service discovery network function entity to determine that the service discovery request is an ingress service discovery request.

在一实施例中,所述处理器执行所述程序时实现:接收到入口服务请求;所述入口服务请求携带所述拓扑隐藏后的服务提供者网络功能标识;将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识;向本网服务提供者网络功能实体发送携带所述服务提供者网络功能标识的服务请求。其中,所述入口服务请求为外网服务使用者网络功能实体向本网服务提供者网络功能实体发送的服务请求。In an embodiment, when the processor executes the program, it realizes: receiving an ingress service request; the ingress service request carries the network function identifier of the service provider after the topology hiding; The service provider network function identifier after the topology hiding is replaced by the service provider network function identifier; and a service request carrying the service provider network function identifier is sent to the service provider network function entity of the local network. Wherein, the entry service request is a service request sent by the network function entity of the service user of the external network to the network function entity of the service provider of the local network.

在一实施例中,所述处理器执行所述程序时实现:查询预置的映射表或存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识;将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识。In an embodiment, when the processor executes the program, it implements: querying a preset mapping table or a stored mapping relationship, and obtaining the service provider network corresponding to the service provider network function identifier after the topology hiding A function identifier: replacing the service provider network function identifier after the topology hiding in the ingress service request with the service provider network function identifier.

可以理解,存储器可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random AccessMemory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory may be a volatile memory or a nonvolatile memory, and may also include both volatile and nonvolatile memory. Wherein, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory), Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD, or CD-ROM (CD-ROM, Compact Disc Read-Only Memory); the magnetic surface storage can be disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) . The memory described by embodiments of the present invention is intended to include, but not be limited to, these and any other suitable types of memory.

上述本发明实施例揭示的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to, or implemented by, a processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The aforementioned processor may be a general-purpose processor, DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor may implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in a memory, and the processor reads the information in the memory, and combines with its hardware to complete the steps of the aforementioned method.

实施例六Embodiment six

本发明实施例还提供了一种计算机存储介质,其上存储有计算机指令,该指令被处理器执行时实现:接收到入口服务发现请求,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为拓扑隐藏后的服务提供者网络功能标识;转发所述入口服务发现请求所对应的携带所述拓扑隐藏后的服务提供者网络功能标识的服务发现响应。其中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求。The embodiment of the present invention also provides a computer storage medium, on which computer instructions are stored. When the instructions are executed by a processor, it is realized that: receiving an entry service discovery request, matching the entry service discovery request to the service in the service discovery response The provider network function identifier is replaced with the service provider network function identifier after topology hiding; and the service discovery response corresponding to the ingress service discovery request carrying the service provider network function identifier after topology hiding is forwarded. Wherein, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

在一实施例中,该指令被处理器执行时实现:查询预置的映射表获得所述服务提供者网络功能标识对应的拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换为所述拓扑隐藏后的服务提供者网络功能标识。In an embodiment, when the instruction is executed by the processor, it realizes: querying the preset mapping table to obtain the topology-hidden service provider network function identifier corresponding to the service provider network function identifier, and sending the ingress service discovery request to The service provider network function identifier in the corresponding service discovery response is replaced with the service provider network function identifier after the topology is hidden.

在一实施例中,该指令被处理器执行时实现:将所述服务提供者网络功能标识变换成拓扑隐藏后的服务提供者网络功能标识,将所述入口服务发现请求对应服务发现响应中的服务提供者网络功能标识替换所述拓扑隐藏后的服务提供者网络功能标识。In an embodiment, when the instruction is executed by the processor, it is implemented: transforming the service provider network function identifier into a topology-hidden service provider network function identifier, and matching the ingress service discovery request to the service discovery response The service provider network function identifier replaces the service provider network function identifier after the topology is hidden.

在一实施例中,该指令被处理器执行时实现:存储所述服务提供者网络功能标识和所述拓扑隐藏后的服务提供者网络功能标识的映射关系。In an embodiment, when the instruction is executed by the processor, it implements: storing the mapping relationship between the service provider network function identifier and the service provider network function identifier after the topology hiding.

在一实施例中,该指令被处理器执行时实现:基于接收到的消息中携带的统一资源标识符判断所述消息为服务发现请求,基于所述服务发现请求是由外网服务发现网络功能实体发送给本网服务发现网络功能实体确定所述服务发现请求为入口服务发现请求。In an embodiment, when the instructions are executed by the processor, it is realized that: based on the uniform resource identifier carried in the received message, it is determined that the message is a service discovery request, and based on that the service discovery request is a network function discovered by an external network service The entity sends the service discovery network function entity of the local network to determine that the service discovery request is an ingress service discovery request.

在一实施例中,该指令被处理器执行时实现:接收到入口服务请求;所述入口服务请求携带所述拓扑隐藏后的服务提供者网络功能标识;将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识;向本网服务提供者网络功能实体发送携带所述服务提供者网络功能标识的服务请求。其中,所述入口服务请求为外网服务使用者网络功能实体向本网服务提供者网络功能实体发送的服务请求。In an embodiment, when the instruction is executed by the processor, it is realized that: an ingress service request is received; the ingress service request carries the network function identifier of the service provider after the topology hiding; the ingress service request includes the The service provider network function identifier after topology hiding is replaced by the service provider network function identifier; and the service request carrying the service provider network function identifier is sent to the service provider network function entity of the local network. Wherein, the entry service request is a service request sent by the network function entity of the service user of the external network to the network function entity of the service provider of the local network.

在一实施例中,该指令被处理器执行时实现:查询预置的映射表或存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识;将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务提供者网络功能标识。In an embodiment, when the instruction is executed by the processor, it implements: querying a preset mapping table or a stored mapping relationship, and obtaining the service provider network function identifier corresponding to the service provider network function identifier after the topology hiding ; Replace the topology-hidden service provider network function identifier in the ingress service request with the service provider network function identifier.

实施例七Embodiment seven

本发明实施例还提供了一种服务发现网络功能实体;图10为本发明实施例的服务发现网络功能实体的一种组成结构示意图;如图10所示,所述服务发现网络功能实体包括第二接收单元71、拓扑隐藏单元72和第二发送单元73;其中,The embodiment of the present invention also provides a service discovery network functional entity; FIG. 10 is a schematic diagram of a composition structure of the service discovery network functional entity according to the embodiment of the present invention; as shown in FIG. 10 , the service discovery network functional entity includes the first Two receiving units 71, a topology hiding unit 72 and a second sending unit 73; wherein,

所述第二接收单元71,用于接收到入口服务发现请求;The second receiving unit 71 is configured to receive an ingress service discovery request;

所述拓扑隐藏单元72,用于确定所述第二接收单元71接收到的所述入口服务发现请求对应的服务提供者网络功能实体,对服务提供者网络功能实体标识进行拓扑隐藏;The topology hiding unit 72 is configured to determine the service provider network function entity corresponding to the ingress service discovery request received by the second receiving unit 71, and perform topology hiding on the service provider network function entity identifier;

所述第二发送单元73,用于返回所述入口服务发现请求所对应的携带拓扑隐藏后的服务提供者网络功能实体标识的服务发现响应。The second sending unit 73 is configured to return a service discovery response corresponding to the ingress service discovery request that carries the topology-hidden service provider network function entity identifier.

在一实施例中,如图11所示,所述服务发现网络功能实体还包括第二存储单元74,用于存储包含所述服务提供者网络功能实体标识的映射关系;In an embodiment, as shown in FIG. 11 , the service discovery network function entity further includes a second storage unit 74, configured to store a mapping relationship including the identifier of the service provider network function entity;

所述拓扑隐藏单元72,用于判断所述第二存储单元74是否存储包含所述服务提供者网络功能实体标识的映射关系;当所述第二存储单元74存储有包含所述服务提供者网络功能实体标识的映射关系时,基于所述映射关系获得所述服务提供者网络功能实体标识对应的拓扑隐藏后的服务提供者网络功能实体标识;当所述第二存储单元74未存储有包含所述服务提供者网络功能实体标识的映射关系时,为所述服务提供者网络功能实体标识生成拓扑隐藏后的服务提供者网络功能实体标识。The topology hiding unit 72 is configured to determine whether the second storage unit 74 stores a mapping relationship containing the service provider network function entity identifier; when the second storage unit 74 stores a mapping relationship containing the service provider network In the mapping relationship of the functional entity identifier, the topology-hidden service provider network functional entity identifier corresponding to the service provider network functional entity identifier is obtained based on the mapping relationship; when the second storage unit 74 does not store any When the mapping relationship of the service provider network function entity identifier is described above, a topology-hidden service provider network function entity identifier is generated for the service provider network function entity identifier.

在一实施例中,所述第二接收单元71,还用于接收到本网节点的服务发现请求;所述服务发现请求携带拓扑隐藏后的服务提供者网络功能实体标识;In an embodiment, the second receiving unit 71 is further configured to receive a service discovery request from a node of the local network; the service discovery request carries a service provider network function entity identifier after topology hiding;

所述拓扑隐藏单元72,还用于确定所述拓扑隐藏后的服务提供者网络功能实体标识对应的所述服务提供者网络功能实体标识;The topology hiding unit 72 is further configured to determine the service provider network function entity identifier corresponding to the service provider network function entity identifier after the topology hiding;

所述第二发送单元73,还用于向所述本网节点返回携带有所述服务提供者网络功能实体标识的服务发现响应。The second sending unit 73 is further configured to return a service discovery response carrying the service provider network function entity identifier to the local network node.

其中,所述拓扑隐藏单元72,用于查询存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识。Wherein, the topology hiding unit 72 is configured to query the stored mapping relationship, and obtain the service provider network function identifier corresponding to the service provider network function identifier after the topology hiding.

本发明实施例中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求。In the embodiment of the present invention, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

本发明实施例中,所述服务发现网络功能实体在实际应用中可通过服务器实现;所述服务发现网络功能实体中的拓扑隐藏单元72,在实际应用中均可由CPU、DSP、MCU或FPGA实现;所述服务发现网络功能实体中的第二存储单元74,在实际应用中可通过存储器实现;所述服务发现网络功能实体中的第二接收单元71和第二发送单元73,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In the embodiment of the present invention, the service discovery network functional entity can be realized by a server in practical applications; the topology hiding unit 72 in the service discovery network functional entity can be realized by CPU, DSP, MCU or FPGA in practical applications ; The second storage unit 74 in the service discovery network functional entity can be implemented by a memory in practical applications; the second receiving unit 71 and the second sending unit 73 in the service discovery network functional entity can be implemented in practical applications It can be realized through communication modules (including: basic communication suite, operating system, communication modules, standardized interfaces and protocols, etc.) and transceiver antennas.

需要说明的是:上述实施例提供的服务发现网络功能实体在进行拓扑隐藏时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将服务发现网络功能实体的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的服务发现网络功能实体与拓扑隐藏方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the service discovery network functional entity provided by the above-mentioned embodiment performs topology hiding, it only uses the division of the above-mentioned program modules for illustration. In practical applications, the above-mentioned processing can be assigned to different program modules according to needs. Completion means that the internal structure of the service discovery network functional entity is divided into different program modules, so as to complete all or part of the processing described above. In addition, the service discovery network functional entity provided by the above embodiment and the topology hiding method embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

实施例八Embodiment eight

本发明实施例还提供了一种服务发现网络功能实体,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现:接收到入口服务发现请求;确定所述入口服务发现请求对应的服务提供者网络功能实体,对服务提供者网络功能实体标识进行拓扑隐藏;返回所述入口服务发现请求所对应的携带拓扑隐藏后的服务提供者网络功能实体标识的服务发现响应。其中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求。An embodiment of the present invention also provides a service discovery network functional entity, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, it realizes: receiving the entry Service discovery request; determine the service provider network function entity corresponding to the ingress service discovery request, perform topology hiding on the service provider network function entity identifier; return the service provider carrying the topology hiding corresponding to the ingress service discovery request Service Discovery Response for Network Function Entity Identification. Wherein, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

在一实施例中,所述处理器执行所述程序时实现:判断是否存储包含所述服务提供者网络功能实体标识的映射关系;当存储有包含所述服务提供者网络功能实体标识的映射关系时,基于所述映射关系获得所述服务提供者网络功能实体标识对应的拓扑隐藏后的服务提供者网络功能实体标识;当未存储有包含所述服务提供者网络功能实体标识的映射关系时,为所述服务提供者网络功能实体标识生成拓扑隐藏后的服务提供者网络功能实体标识,存储所述服务提供者网络功能实体标识和所述拓扑隐藏后的服务提供者网络功能实体标识的映射关系。In an embodiment, when the processor executes the program, it realizes: judging whether to store the mapping relationship including the service provider network function entity identifier; when the mapping relationship including the service provider network function entity identifier is stored When, based on the mapping relationship, obtain the service provider network function entity identifier corresponding to the service provider network function entity identifier after topology hiding; when the mapping relationship containing the service provider network function entity identifier is not stored, generating a topology-hidden service provider network function entity identity for the service provider network function entity identity, and storing a mapping relationship between the service provider network function entity identity and the service provider network function entity identity after topology hiding .

在一实施例中,所述处理器执行所述程序时实现:接收到本网节点的服务发现请求;所述服务发现请求携带拓扑隐藏后的服务提供者网络功能实体标识;确定所述拓扑隐藏后的服务提供者网络功能实体标识对应的所述服务提供者网络功能实体标识;向所述本网节点返回携带有所述服务提供者网络功能实体标识的服务发现响应。In an embodiment, when the processor executes the program, it realizes: receiving a service discovery request from a local network node; the service discovery request carries a service provider network function entity identifier after topology hiding; and determining the topology hiding The service provider network function entity identification corresponding to the subsequent service provider network function entity identification; return a service discovery response carrying the service provider network function entity identification to the local network node.

在一实施例中,所述处理器执行所述程序时实现:查询存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识。In an embodiment, when the processor executes the program, it implements: querying the stored mapping relationship, and obtaining the service provider network function identifier corresponding to the service provider network function identifier after the topology hiding.

实施例九Embodiment nine

本发明实施例还提供了一种计算机存储介质,其上存储有计算机指令,该指令被处理器执行时实现:接收到入口服务发现请求;确定所述入口服务发现请求对应的服务提供者网络功能实体,对服务提供者网络功能实体标识进行拓扑隐藏;返回所述入口服务发现请求所对应的携带拓扑隐藏后的服务提供者网络功能实体标识的服务发现响应。其中,所述入口服务发现请求为外网服务发现网络功能实体向本网服务发现网络功能实体发送的服务发现请求。The embodiment of the present invention also provides a computer storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, it is possible to: receive an entry service discovery request; determine the service provider network function corresponding to the entry service discovery request An entity that performs topology hiding on the service provider network function entity identifier; and returns a service discovery response corresponding to the ingress service discovery request that carries the topology hidden service provider network function entity identifier. Wherein, the ingress service discovery request is a service discovery request sent by the external network service discovery network functional entity to the local network service discovery network functional entity.

在一实施例中,该指令被处理器执行时实现:判断是否存储包含所述服务提供者网络功能实体标识的映射关系;当存储有包含所述服务提供者网络功能实体标识的映射关系时,基于所述映射关系获得所述服务提供者网络功能实体标识对应的拓扑隐藏后的服务提供者网络功能实体标识;当未存储有包含所述服务提供者网络功能实体标识的映射关系时,为所述服务提供者网络功能实体标识生成拓扑隐藏后的服务提供者网络功能实体标识,存储所述服务提供者网络功能实体标识和所述拓扑隐藏后的服务提供者网络功能实体标识的映射关系。In an embodiment, when the instruction is executed by the processor, it is implemented: judging whether to store the mapping relationship including the service provider network function entity identifier; when the mapping relationship including the service provider network function entity identifier is stored, Obtain the service provider network function entity identifier corresponding to the service provider network function entity identifier after topology hiding based on the mapping relationship; when the mapping relationship including the service provider network function entity identifier is not stored, for the The service provider network function entity identifier generates a topology-hidden service provider network function entity identifier, and stores a mapping relationship between the service provider network function entity identifier and the topology-hidden service provider network function entity identifier.

在一实施例中,该指令被处理器执行时实现:接收到本网节点的服务发现请求;所述服务发现请求携带拓扑隐藏后的服务提供者网络功能实体标识;确定所述拓扑隐藏后的服务提供者网络功能实体标识对应的所述服务提供者网络功能实体标识;向所述本网节点返回携带有所述服务提供者网络功能实体标识的服务发现响应。In an embodiment, when the instruction is executed by the processor, it is implemented: receiving a service discovery request from a node on the local network; the service discovery request carries a service provider network function entity identifier after topology hiding; and determining the service provider network function entity identity after topology hiding The service provider network function entity identifier corresponding to the service provider network function entity identifier; returning a service discovery response carrying the service provider network function entity identifier to the local network node.

在一实施例中,该指令被处理器执行时实现:查询存储的映射关系,获得所述拓扑隐藏后的服务提供者网络功能标识对应的所述服务提供者网络功能标识。In an embodiment, when the instruction is executed by the processor, it implements: querying the stored mapping relationship, and obtaining the service provider network function identifier corresponding to the service provider network function identifier after the topology hiding.

实施例十Embodiment ten

本发明实施例还提供了一种节点。图12为本发明实施例的节点的组成结构示意图;如图12所示,所述节点包括:第三接收单元81、提取单元82、第三发送单元83和第二替换单元84;其中,The embodiment of the present invention also provides a node. FIG. 12 is a schematic diagram of the composition and structure of a node in an embodiment of the present invention; as shown in FIG. 12 , the node includes: a third receiving unit 81, an extraction unit 82, a third sending unit 83, and a second replacement unit 84; wherein,

所述第三接收单元81,用于接收到入口服务请求;The third receiving unit 81 is configured to receive an entry service request;

所述提取单元82,用于从所述第三接收单元81接收到的所述入口服务请求中提取拓扑隐藏过的服务提供者网络功能标识;The extracting unit 82 is configured to extract the topology-hidden service provider network function identifier from the ingress service request received by the third receiving unit 81;

所述第三发送单元83,用于向本网服务发现网络功能实体发送携带有所述拓扑隐藏后的服务提供者网络功能标识的服务发现请求;The third sending unit 83 is configured to send a service discovery request carrying the topology-hidden service provider network function identifier to the local network service discovery network function entity;

所述第三接收单元81,还用于接收到所述服务发现网络功能实体返回的携带有与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识的服务发现响应;The third receiving unit 81 is further configured to receive the service discovery response returned by the service discovery network function entity and carrying the service provider network function entity identifier corresponding to the service provider network function identifier after the topology hiding ;

所述第二替换单元84,用于将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务发现响应中携带的与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识。The second replacement unit 84 is configured to replace the network function identifier of the service provider after topology hiding in the ingress service request with the service provider after topology hiding carried in the service discovery response The network function entity identifier of the service provider corresponding to the network function identifier.

本发明实施例中,所述节点在实际应用中可通过服务器实现;所述节点中的提取单元82和第二替换单元84,在实际应用中均可由CPU、DSP、MCU或FPGA实现;所述节点中的第三接收单元81和第三发送单元83,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In the embodiment of the present invention, the node can be realized by a server in practical application; the extraction unit 82 and the second replacement unit 84 in the node can be realized by CPU, DSP, MCU or FPGA in practical application; The third receiving unit 81 and the third sending unit 83 in the node can be implemented by communication modules (including: basic communication suite, operating system, communication modules, standardized interfaces and protocols, etc.) and transceiver antennas in practical applications.

需要说明的是:上述实施例提供的节点在进行拓扑隐藏时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将节点的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的节点与拓扑隐藏方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the nodes provided in the above embodiments perform topology hiding, they only use the division of the above-mentioned program modules as an example. The internal structure of the program is divided into different program modules to complete all or part of the processing described above. In addition, the node provided in the above embodiment and the embodiment of the topology hiding method belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

实施例十一Embodiment Eleven

本发明实施例还提供了一种节点,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现:接收到入口服务请求,从所述入口服务请求中提取拓扑隐藏过的服务提供者网络功能标识;向本网服务发现网络功能实体发送携带有所述拓扑隐藏后的服务提供者网络功能标识的服务发现请求;接收到所述服务发现网络功能实体返回的携带有与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识的服务发现响应;将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务发现响应中携带的与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识。An embodiment of the present invention also provides a node, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, it realizes: receiving an entry service request, from Extracting the network function identifier of the service provider whose topology has been hidden from the ingress service request; sending a service discovery request carrying the network function identifier of the service provider after the topology hiding to the service discovery network function entity of this network; receiving the The service discovery response returned by the service discovery network function entity carries the service provider network function entity identifier corresponding to the service provider network function identifier after the topology hiding; the topology hidden in the ingress service request The service provider network function identifier is replaced with the service provider network function entity identifier corresponding to the service provider network function identifier after the topology hiding carried in the service discovery response.

实施例十二Embodiment 12

本发明实施例还提供了一种计算机存储介质,其上存储有计算机指令,该指令被处理器执行时实现:接收到入口服务请求,从所述入口服务请求中提取拓扑隐藏过的服务提供者网络功能标识;向本网服务发现网络功能实体发送携带有所述拓扑隐藏后的服务提供者网络功能标识的服务发现请求;接收到所述服务发现网络功能实体返回的携带有与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识的服务发现响应;将所述入口服务请求中的所述拓扑隐藏后的服务提供者网络功能标识替换为所述服务发现响应中携带的与所述拓扑隐藏后的服务提供者网络功能标识对应的服务提供者网络功能实体标识。The embodiment of the present invention also provides a computer storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the implementation: receiving an entry service request, extracting a topology-hidden service provider from the entry service request Network function identifier; sending a service discovery request carrying the network function identifier of the service provider after the topology hiding to the network service discovery network function entity of this network; receiving the service discovery network function entity returning the service discovery request carrying the topology hidden The service discovery response of the service provider network function entity identifier corresponding to the service provider network function identifier; replace the service provider network function identifier after the topology hiding in the ingress service request with the service provider network function identifier in the service discovery response The carried service provider network function entity identifier corresponding to the service provider network function identifier after the topology hiding.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention can be integrated into one processing unit, or each unit can be used as a single unit, or two or more units can be integrated into one unit; the above-mentioned integration The unit can be realized in the form of hardware or in the form of hardware plus software functional unit.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: various media that can store program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.

或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present invention are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for Make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (34)

1. A topology hiding method, the method comprising:
the edge node receives an entrance service discovery request, and replaces a service provider network function identifier in a service discovery response corresponding to the entrance service discovery request with a service provider network function identifier after topology hiding;
and the edge node forwards a service discovery response which corresponds to the entry service discovery request and carries the service provider network function identifier after the topology is hidden.
2. The method of claim 1, wherein replacing the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the topology-hidden service provider network function identifier comprises:
and the edge node inquires a preset mapping table to obtain a service provider network function identifier after topology hiding corresponding to the service provider network function identifier, and replaces the service provider network function identifier in the service discovery response corresponding to the entry service discovery request with the service provider network function identifier after topology hiding.
3. The method of claim 1, wherein replacing the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the topology-hidden service provider network function identifier comprises:
and the edge node converts the service provider network function identifier into a service provider network function identifier after topology hiding, and replaces the service provider network function identifier after topology hiding with the service provider network function identifier in the service discovery response corresponding to the entry service discovery request.
4. The method of claim 3, further comprising:
and the edge node stores the mapping relation between the service provider network function identifier and the service provider network function identifier after the topology hiding.
5. The method of claim 1, further comprising:
the edge node judges that the message is a service discovery request based on the uniform resource identifier carried in the received message, and determines that the service discovery request is an entry service discovery request based on that the service discovery request is sent to a home network service discovery network functional entity by an external network service discovery network functional entity.
6. The method according to any one of claims 1 to 5, further comprising:
the edge node receives an entry service request; the entrance service request carries the service provider network function identification after the topology is hidden;
replacing, by the edge node, the service provider network function identifier after the topology hiding in the ingress service request with the service provider network function identifier;
and the edge node sends a service request carrying the service provider network function identifier to a home network service provider network function entity.
7. The method of claim 6, wherein the edge node replacing the topology hidden service provider network function identifier in the ingress service request with the service provider network function identifier comprises:
the edge node inquires a preset mapping table or a stored mapping relation to obtain the service provider network function identifier corresponding to the service provider network function identifier after the topology is hidden;
and the edge node replaces the service provider network function identifier after the topology is hidden in the entry service request with the service provider network function identifier.
8. The method according to any of claims 1 to 5, wherein the ingress service discovery request is a service discovery request sent by an extranet service discovery network function entity to a home network service discovery network function entity.
9. The method of claim 6, wherein the portal service request is a service request sent from an extranet service user network function entity to a home network service provider network function entity.
10. A topology hiding method, the method comprising:
a service discovery network functional entity receives an entrance service discovery request;
the service discovery network functional entity determines a service provider network functional entity corresponding to the entry service discovery request, and topology hiding is carried out on the service provider network functional entity identification;
and the service discovery network functional entity returns a service discovery response which is corresponding to the entry service discovery request and carries the service provider network functional entity identifier after the topology is hidden.
11. The method of claim 10, wherein topology hiding service provider network function entity identities comprises:
the service discovery network functional entity judges whether a mapping relation containing the service provider network functional entity identification and the service provider network functional entity identification after topology hiding is stored;
when a mapping relation containing the service provider network functional entity identification and the service provider network functional entity identification after topology hiding is stored, acquiring the service provider network functional entity identification after topology hiding corresponding to the service provider network functional entity identification based on the mapping relation;
and when the mapping relation containing the service provider network functional entity identification is not stored, generating a service provider network functional entity identification with hidden topology for the service provider network functional entity identification, and storing the mapping relation between the service provider network functional entity identification and the service provider network functional entity identification with hidden topology.
12. The method according to claim 10 or 11, characterized in that the method further comprises:
the service discovery network functional entity receives a service discovery request of a local network node; the service discovery request carries a service provider network functional entity identifier after topology hiding;
the service discovery network functional entity determines the service provider network functional entity identifier corresponding to the service provider network functional entity identifier after the topology is hidden;
and the service discovery network functional entity returns a service discovery response carrying the service provider network functional entity identifier to the local network node.
13. The method according to claim 12, wherein the service discovery network function entity determining the service provider network function entity identifier corresponding to the service provider network function entity identifier after the topology hiding comprises:
and the service discovery network functional entity inquires the stored mapping relation and obtains the service provider network functional identifier corresponding to the service provider network functional identifier after the topology is hidden.
14. The method of claim 10, wherein the ingress service discovery request is a service discovery request sent by an extranet service discovery network function entity to a home network service discovery network function entity.
15. A topology hiding method, the method comprising:
the method comprises the steps that a node receives an entrance service request, and extracts a service provider network function identifier with hidden topology from the entrance service request;
the node sends a service discovery request carrying the service provider network function identifier after the topology is hidden to a home network service discovery network function entity;
the node receives a service discovery response which is returned by the service discovery network functional entity and carries a service provider network functional entity identifier corresponding to the service provider network functional identifier after the topology is hidden;
and the node replaces the service provider network function identifier after the topology hiding in the entrance service request with a service provider network function entity identifier which is carried in the service discovery response and corresponds to the service provider network function identifier after the topology hiding.
16. An edge node, wherein the edge node comprises: a first receiving unit, a first replacing unit and a first transmitting unit, wherein,
the first receiving unit is used for receiving an entrance service discovery request;
the first replacing unit is configured to replace the service provider network function identifier in the service discovery response corresponding to the entry service discovery request received by the first receiving unit with the service provider network function identifier after topology hiding;
the first sending unit is configured to forward a service discovery response carrying the service provider network function identifier after the topology is hidden, where the service discovery response corresponds to the portal service discovery request.
17. The edge node of claim 16, wherein the first replacing unit is configured to query a preset mapping table to obtain a service provider network function identifier after topology hiding corresponding to the service provider network function identifier, and replace the service provider network function identifier in the service discovery response corresponding to the ingress service discovery request with the service provider network function identifier after topology hiding.
18. The edge node of claim 16, wherein the first replacing unit is configured to transform the service provider network function identifier into a topology hidden service provider network function identifier, and replace the topology hidden service provider network function identifier with the service provider network function identifier in the corresponding service discovery request response.
19. The edge node of claim 18, wherein the edge node further comprises a first storage unit configured to store a mapping relationship between the service provider network function identifier and the topology hidden service provider network function identifier.
20. The edge node according to claim 16, wherein the edge node further comprises a first determining unit, configured to determine that the message is a service discovery request based on a uniform resource identifier carried in the message received by the first receiving unit, and determine that the service discovery request is an ingress service discovery request based on that the service discovery request is sent to a home network service discovery network function entity by an external network service discovery network function entity.
21. The edge node according to any of claims 16 to 20, wherein the first receiving unit is further configured to receive an ingress service request; the entrance service request carries the service provider network function identification after the topology is hidden;
the first replacing unit is further configured to replace the service provider network function identifier after the topology is hidden in the entry service request received by the first receiving unit with the service provider network function identifier;
the first sending unit is further configured to send a service request carrying the service provider network function identifier to a home network service provider network function entity.
22. The edge node of claim 21, wherein the first replacing unit is configured to query a preset mapping table or a stored mapping relationship, and obtain the service provider network function identifier corresponding to the service provider network function identifier after the topology is hidden; replacing the service provider network function identifier after the topology is hidden in the portal service request with the service provider network function identifier.
23. The edge node according to any of claims 16 to 20, wherein the ingress service discovery request is a service discovery request sent by an extranet service discovery network function entity to a home network service discovery network function entity.
24. The edge node of claim 21, wherein the ingress service request is a service request sent by an extranet service consumer network function entity to a home network service provider network function entity.
25. A service discovery network function entity, wherein the service discovery network function entity comprises a second receiving unit, a topology hiding unit and a second sending unit; wherein,
the second receiving unit is used for receiving an entrance service discovery request;
the topology hiding unit is configured to determine a service provider network functional entity corresponding to the entry service discovery request received by the second receiving unit, and perform topology hiding on a service provider network functional entity identifier;
and the second sending unit is configured to return a service discovery response carrying the service provider network functional entity identifier after the topology is hidden, to which the portal service discovery request corresponds.
26. The service discovery network function entity of claim 25, further comprising a second storage unit for storing a mapping relation containing said service provider network function entity identity;
the topology hiding unit is configured to determine whether the second storage unit stores a mapping relationship including an identifier of the service provider network functional entity; when the second storage unit stores a mapping relation containing the service provider network functional entity identifier, acquiring the service provider network functional entity identifier after topology hiding corresponding to the service provider network functional entity identifier based on the mapping relation; and when the second storage unit does not store the mapping relation containing the service provider network functional entity identifier, generating the service provider network functional entity identifier with hidden topology for the service provider network functional entity identifier.
27. The service discovery network function entity of claim 25 or 26, wherein the second receiving unit is further configured to receive a service discovery request of a home network node; the service discovery request carries a service provider network functional entity identifier after topology hiding;
the topology hiding unit is further configured to determine a service provider network functional entity identifier corresponding to the service provider network functional entity identifier after the topology hiding;
the second sending unit is further configured to return a service discovery response carrying the service provider network function entity identifier to the home network node.
28. The entity according to claim 27, wherein the topology hiding unit is configured to query a stored mapping relationship to obtain the service provider network function identifier corresponding to the service provider network function identifier after topology hiding.
29. The entity according to claim 25, wherein the ingress service discovery request is a service discovery request sent by an extranet service discovery network function entity to a home network service discovery network function entity.
30. A node, characterized in that the node comprises: a third receiving unit, an extracting unit, a third sending unit and a second replacing unit; wherein,
the third receiving unit is used for receiving an entrance service request;
the extracting unit is configured to extract a service provider network function identifier with hidden topology from the portal service request received by the third receiving unit;
the third sending unit is configured to send a service discovery request carrying the service provider network function identifier after the topology is hidden to a home network service discovery network function entity;
the third receiving unit is further configured to receive a service discovery response returned by the service discovery network functional entity and carrying a service provider network functional entity identifier corresponding to the service provider network functional identifier after the topology is hidden;
the second replacing unit is configured to replace the service provider network function identifier after the topology hiding in the entry service request with a service provider network function entity identifier corresponding to the service provider network function identifier after the topology hiding, which is carried in the service discovery response.
31. A computer storage medium having computer instructions stored thereon, wherein the instructions, when executed by a processor, perform the steps of the topology hiding method of any of claims 1 to 9; or,
the instructions when executed by a processor implement the steps of the topology hiding method of any of claims 10 to 14; or,
which when executed by a processor implement the steps of the topology hiding method of claim 15.
32. An edge node comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the topology hiding method according to any of claims 1 to 9 when executing the program.
33. A service discovery network function comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the steps of the topology hiding method of any one of claims 10 to 14.
34. A node comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the topology hiding method of claim 15 are implemented when the processor executes the program.
CN201810226767.4A 2018-03-19 2018-03-19 A topology hiding method, node, functional entity and computer storage medium Pending CN110290161A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810226767.4A CN110290161A (en) 2018-03-19 2018-03-19 A topology hiding method, node, functional entity and computer storage medium
PCT/CN2019/076085 WO2019179282A1 (en) 2018-03-19 2019-02-25 Topology hiding method, node, network function, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810226767.4A CN110290161A (en) 2018-03-19 2018-03-19 A topology hiding method, node, functional entity and computer storage medium

Publications (1)

Publication Number Publication Date
CN110290161A true CN110290161A (en) 2019-09-27

Family

ID=67988159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810226767.4A Pending CN110290161A (en) 2018-03-19 2018-03-19 A topology hiding method, node, functional entity and computer storage medium

Country Status (2)

Country Link
CN (1) CN110290161A (en)
WO (1) WO2019179282A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468483A (en) * 2020-11-24 2021-03-09 中国电子科技集团公司第三十研究所 Service dynamic allocation and signaling protection method based on 5G edge protection agent
CN114945173A (en) * 2022-03-29 2022-08-26 广州爱浦路网络技术有限公司 PLMN signaling forwarding method, electronic equipment and storage medium
CN116686313A (en) * 2021-01-08 2023-09-01 甲骨文国际公司 Method, system and computer readable medium for preventing subscriber identifier disclosure
WO2024032245A1 (en) * 2022-08-08 2024-02-15 华为技术有限公司 Communication method and communication apparatus
US12341765B2 (en) 2022-11-15 2025-06-24 Oracle International Corporation Methods, systems, and computer readable media for detecting stolen access tokens

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12111776B2 (en) * 2021-11-01 2024-10-08 Samsung Electronics Co., Ltd. Multi-dimensional memory cluster

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272534A (en) * 2008-05-08 2008-09-24 中兴通讯股份有限公司 Policy charging control method for concealing visited place network topological structure
US20120082158A1 (en) * 2010-10-04 2012-04-05 Cisco Technology, Inc. Ip address version interworking in communication networks
CN103023865A (en) * 2011-09-28 2013-04-03 中兴通讯股份有限公司 Method and device for recovering and hiding path parameters in topological hidden network
CN105338511A (en) * 2014-06-25 2016-02-17 华为技术有限公司 Network topology hiding method and equipment
US20160227394A1 (en) * 2015-02-03 2016-08-04 Alcatel-Lucent Canada Inc. Hiding Diameter Network Topology
US20170012824A1 (en) * 2015-07-09 2017-01-12 Oracle International Corporation Methods, systems, and computer readable media for selective diameter topology hiding

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596118B (en) * 2012-08-13 2017-06-20 华为终端有限公司 It was found that the method for machine-to-machine service, equipment and system
US10701040B2 (en) * 2016-05-23 2020-06-30 Amazon Technologies, Inc. Protecting content-stream portions from modification or removal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272534A (en) * 2008-05-08 2008-09-24 中兴通讯股份有限公司 Policy charging control method for concealing visited place network topological structure
US20120082158A1 (en) * 2010-10-04 2012-04-05 Cisco Technology, Inc. Ip address version interworking in communication networks
CN103023865A (en) * 2011-09-28 2013-04-03 中兴通讯股份有限公司 Method and device for recovering and hiding path parameters in topological hidden network
CN105338511A (en) * 2014-06-25 2016-02-17 华为技术有限公司 Network topology hiding method and equipment
US20160227394A1 (en) * 2015-02-03 2016-08-04 Alcatel-Lucent Canada Inc. Hiding Diameter Network Topology
US20170012824A1 (en) * 2015-07-09 2017-01-12 Oracle International Corporation Methods, systems, and computer readable media for selective diameter topology hiding

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3GPP: "《3GPP TS 33.501 V1.0.0》", 15 March 2018 *
CHINA MOBILE: "23.501: Clarification of NF discovery and selection", 《3GPP SA WG2 MEETING #121 S2-173631》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468483A (en) * 2020-11-24 2021-03-09 中国电子科技集团公司第三十研究所 Service dynamic allocation and signaling protection method based on 5G edge protection agent
CN112468483B (en) * 2020-11-24 2022-02-08 中国电子科技集团公司第三十研究所 Service dynamic allocation and signaling protection method based on 5G edge protection agent
CN116686313A (en) * 2021-01-08 2023-09-01 甲骨文国际公司 Method, system and computer readable medium for preventing subscriber identifier disclosure
CN116686313B (en) * 2021-01-08 2024-04-30 甲骨文国际公司 Method, system and computer readable medium for preventing subscriber identifier disclosure
CN114945173A (en) * 2022-03-29 2022-08-26 广州爱浦路网络技术有限公司 PLMN signaling forwarding method, electronic equipment and storage medium
WO2024032245A1 (en) * 2022-08-08 2024-02-15 华为技术有限公司 Communication method and communication apparatus
US12341765B2 (en) 2022-11-15 2025-06-24 Oracle International Corporation Methods, systems, and computer readable media for detecting stolen access tokens

Also Published As

Publication number Publication date
WO2019179282A1 (en) 2019-09-26

Similar Documents

Publication Publication Date Title
CN110290161A (en) A topology hiding method, node, functional entity and computer storage medium
CN107508795B (en) Cross-container cluster access processing device and method
US10798222B2 (en) Apparatus for managing SDN-based in-vehicle network and control method thereof
CN113268308B (en) Information processing method, device and storage medium
US11003719B2 (en) Method and apparatus for accessing a storage disk
CN111460458B (en) Data processing method, related device and computer storage medium
JP2019531563A (en) Data processing method, storage system, and switching device
CN111064804B (en) Network access method and device
CN113381920B (en) A data transmission method, node and storage medium
CN111600833B (en) Network operating system and message forwarding method
CN113992658A (en) Data transmission method and related device, equipment, system and storage medium
US20230089609A1 (en) Method and apparatus for processing information, and device and computer storage medium
CN114071448A (en) A data transmission method, related network node and storage medium
CN113163024A (en) Message processing method, server and storage medium
EP4099634B1 (en) Information processing method and related network device
CN117749762A (en) DNS access request processing method, device, equipment and storage medium
WO2024001549A9 (en) Address configuration method and electronic device
CN114363331A (en) Communication method, system, computer device and storage medium
CN113422921B (en) Audio/video communication system, method, medium and computing equipment based on K8s cluster
CN111614425B (en) Time synchronization method and access network equipment
CN115915135A (en) Information processing method, network element, computer storage medium and electronic device
CN115348641A (en) An information acquisition method, device, communication device, and storage medium
CN120475356A (en) Service discovery method, network element, computer program product and storage medium
CN118827617A (en) A method for domain name resolution
HK40076428B (en) Information processing method and related network device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190927