CN111328123B - Method and device for releasing network segment - Google Patents
Method and device for releasing network segment Download PDFInfo
- Publication number
- CN111328123B CN111328123B CN201811533487.4A CN201811533487A CN111328123B CN 111328123 B CN111328123 B CN 111328123B CN 201811533487 A CN201811533487 A CN 201811533487A CN 111328123 B CN111328123 B CN 111328123B
- Authority
- CN
- China
- Prior art keywords
- plane gateway
- network segment
- pgw
- message
- data plane
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请提供了一种释放网段的方法及装置,涉及通信技术领域,用于解决在PGW‑C和PGW‑U之间的Sxb接口链路闪断的情况下,不同的PGW‑U发布相同的网段路由的问题。该方法包括:在控制面网关确定没有会话使用第一网段中的地址时,控制面网关向占用第一网段的数据面网关发送用于指示数据面网关释放第一网段的第一消息,控制面网关从数据面网关接收用于指示数据面网关释放了第一网段的第二消息,并根据第二消息释放第一网段。控制面网关通过在数据面网关释放第一网段之后,再释放第一网段,从而使得第一网段不会被分配给两个数据面网关,避免两个数据面网关发布相同的网段路由。
The present application provides a method and device for releasing a network segment, which relate to the field of communication technologies and are used to solve the problem that different PGW-Us release the same The network segment routing problem. The method includes: when the control plane gateway determines that no session uses the address in the first network segment, the control plane gateway sends a first message for instructing the data plane gateway to release the first network segment to the data plane gateway occupying the first network segment , the control plane gateway receives a second message from the data plane gateway for indicating that the data plane gateway has released the first network segment, and releases the first network segment according to the second message. The control plane gateway releases the first network segment after the data plane gateway releases the first network segment, so that the first network segment will not be allocated to the two data plane gateways, preventing the two data plane gateways from publishing the same network segment routing.
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种释放网段的方法及装置。The present application relates to the field of communication technologies, and in particular, to a method and apparatus for releasing a network segment.
背景技术Background technique
在控制面(control plane,简称CP)和用户面(user plane,简称UP)分离的演进分组系统(evolved packet system,简称EPS)网络中,会话在激活过程中,分组数据网关控制面功能(packet data network gateway control plane function,简称PGW-C)会为会话分配一个网络互连协议(internet protocol,简称IP)地址。In an evolved packet system (EPS) network in which the control plane (CP) and the user plane (UP) are separated, during the activation process of the session, the packet data gateway control plane function (packet A data network gateway control plane function, PGW-C for short) allocates an internet protocol (IP) address to the session.
从运营商的IP服务器(Operator’s IP Servers)到用户的下行数据的路由由分组数据网关用户面功能(packet data network gateway user plane function,简称PGW-U)发布,为了避免PGW-U为每个会话都发布一条路径(即主机路由)所导致的网络中的路由的数量过多的问题,PGW-U在实际发布路由时发布的为网段路由。而当两个PGW-U发布相同的网段路由时,由于Operator’s IP Servers会通过两个PGW-U中的任意一个PGW-U发送业务数据、且两个PGW-U服务的用户为不同的用户,因此,用户可能无法接收到业务数据。为了避免该问题,需要保证使用同一个网段中的地址的会话激活在同一个PGW-U上。并且,当一个网段中的所有地址均无会话使用时,PGW-C和PGW-U均需要释放该网段。The route of downlink data from Operator's IP Servers to users is issued by the packet data network gateway user plane function (PGW-U for short), in order to avoid PGW-U for each session The problem of too many routes in the network caused by all advertising a path (that is, a host route), the PGW-U advertises the network segment route when actually advertising the route. When two PGW-Us advertise the same network segment route, because the Operator's IP Servers will send service data through any one of the two PGW-Us, and the users served by the two PGW-Us are different users , therefore, users may not receive business data. To avoid this problem, it is necessary to ensure that sessions using addresses in the same network segment are activated on the same PGW-U. Moreover, when all addresses in a network segment are not used for sessions, both the PGW-C and the PGW-U need to release the network segment.
在PGW-C和PGW-U1之间的Sxb接口链路闪断的情况下,会话1在去激活过程中,PGW-C向PGW-U1发送的、用于PGW-U1删除会话1的分组转发控制协议(packet forwardingcontrol protocol,简称PFCP)会话删除请求(PFCP session deletion request)消息可能无法到达PGW-U1。那么,PGW-C中删除了会话1,PGW-U1中仍然保留有会话1的会话资源。当PGW-C上使用网段1(会话1的IP地址所属的网段)中的地址的最后一个会话去激活后,PGW-C会释放网段1,并可能将网段1分配给PGW-U2,而PGW-U1由于认为会话1仍然在使用网段1中的地址,因此,不会释放网段1。此时,PGW-U1和PGW-U2会发布相同的网段路由,从而导致用户可能无法接收到业务数据。In the case that the Sxb interface link between PGW-C and PGW-U1 is disconnected, during the deactivation of session 1, the packet forwarding sent by PGW-C to PGW-U1 for PGW-U1 to delete session 1 A packet forwarding control protocol (PFCP for short) message may fail to reach the PGW-U1. Then, the session 1 is deleted in the PGW-C, and the session resources of the session 1 are still reserved in the PGW-U1. When the last session on the PGW-C using the address in the network segment 1 (the network segment to which the IP address of session 1 belongs) is deactivated, the PGW-C releases the network segment 1 and may assign the network segment 1 to the PGW- U2, but PGW-U1 will not release network segment 1 because it thinks that session 1 is still using the address in network segment 1. At this time, PGW-U1 and PGW-U2 will advertise the same network segment route, so that users may not be able to receive service data.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种释放网段的方法及装置,用于解决在PGW-C和PGW-U之间的Sxb接口链路闪断的情况下,不同的PGW-U发布相同的网段路由的问题。The embodiments of the present application provide a method and device for releasing a network segment, which are used to solve the problem that different PGW-Us release the same network segment when the Sxb interface link between PGW-C and PGW-U is flashed. routing problem.
为达到上述目的,本申请实施例提供如下技术方案:To achieve the above purpose, the embodiments of the present application provide the following technical solutions:
第一方面,提供了一种释放网段的方法,包括:在控制面网关确定没有会话使用第一网段中的地址时,控制面网关向占用第一网段的数据面网关发送用于指示数据面网关释放第一网段的第一消息,控制面网关从数据面网关接收用于指示数据面网关释放了第一网段的第二消息,并根据第二消息释放第一网段。第一方面提供的方法,控制面网关通过在数据面网关释放第一网段之后,再释放第一网段,从而使得第一网段不会被分配给两个数据面网关,避免两个数据面网关发布相同的网段路由。In a first aspect, a method for releasing a network segment is provided, including: when the control plane gateway determines that no session uses the address in the first network segment, the control plane gateway sends an instruction to the data plane gateway occupying the first network segment to indicate The data plane gateway releases a first message of the first network segment, and the control plane gateway receives a second message from the data plane gateway for indicating that the data plane gateway releases the first network segment, and releases the first network segment according to the second message. In the method provided by the first aspect, the control plane gateway releases the first network segment after the data plane gateway releases the first network segment, so that the first network segment is not allocated to the two data plane gateways and avoids two data planes. The gateway advertises the same network segment route.
第二方面,提供了一种释放网段的方法,包括:数据面网关从控制面网关接收第一消息,并根据第一消息释放第一网段,第一消息用于指示数据面网关释放第一网段;数据面网关向控制面网关发送第二消息,第二消息用于指示数据面网关释放了第一网段。第二方面提供的方法,控制面网关通过在数据面网关释放第一网段之后,再释放第一网段,从而使得第一网段不会被分配给两个数据面网关,避免两个数据面网关发布相同的网段路由。In a second aspect, a method for releasing a network segment is provided, comprising: a data plane gateway receiving a first message from a control plane gateway, and releasing the first network segment according to the first message, where the first message is used to instruct the data plane gateway to release the first message A network segment; the data plane gateway sends a second message to the control plane gateway, where the second message is used to instruct the data plane gateway to release the first network segment. In the method provided in the second aspect, the control plane gateway releases the first network segment after the data plane gateway releases the first network segment, so that the first network segment is not allocated to the two data plane gateways and avoids two data planes. The gateway advertises the same network segment route.
第三方面,提供了一种释放网段的方法,包括:在控制面网关确定没有会话使用第一网段中的地址时,控制面网关向占用第一网段的数据面网关发送第一消息,第一消息用于指示数据面网关释放第一网段;控制面网关未接收到第一消息的响应消息,则每隔一段时间向数据面网关发送第一消息,若在第一预设时间段内均未接收到第一消息的响应消息,则控制面网关释放分配给数据面网关的网段;其中,第一预设时间段的起始时间为控制面网关发送首个第一消息的时间,或者,第一预设时间段的起始时间为控制面网关确定与数据面网关之间的接口链路中断的时间;数据面网关确定与控制面网关之间的接口链路中断;数据面网关在第二预设时间段之后释放数据面网关中由控制面网关分配的网段,第二预设时间段小于第一预设时间段。第三方面提供的方法,由于第一预设时间段大于第二预设时间段,使得数据面网关释放数据面网关中控制面网关分配的网段之后,再释放控制面网关中的分配给该数据面网关的网段,从而使得同一个网段不会被分配给两个数据面网关,避免两个数据面网关发布相同的网段路由。A third aspect provides a method for releasing a network segment, comprising: when the control plane gateway determines that no session uses the address in the first network segment, the control plane gateway sends a first message to the data plane gateway occupying the first network segment , the first message is used to instruct the data plane gateway to release the first network segment; the control plane gateway does not receive a response message to the first message, and sends the first message to the data plane gateway at regular intervals. If the response message of the first message is not received in the segment, the control plane gateway releases the network segment allocated to the data plane gateway; wherein, the start time of the first preset time period is the time when the control plane gateway sends the first first message. time, or the start time of the first preset time period is the time when the control plane gateway determines that the interface link between the gateway and the data plane gateway is interrupted; the data plane gateway determines that the interface link between the gateway and the control plane gateway is interrupted; the data The plane gateway releases the network segment allocated by the control plane gateway in the data plane gateway after a second preset time period, and the second preset time period is smaller than the first preset time period. In the method provided by the third aspect, since the first preset time period is greater than the second preset time period, after the data plane gateway releases the network segment allocated by the control plane gateway in the data plane gateway, it releases the network segment allocated in the control plane gateway to the The network segment of the data plane gateway, so that the same network segment will not be allocated to two data plane gateways, preventing two data plane gateways from advertising the same network segment route.
第四方面,提供了一种释放网段的方法,包括:数据面网关通过与控制面网关进行网段核查确定数据面网关的无效网段,并释放数据面网关的无效网段;其中,数据面网关的无效网段是指数据面网关中由控制面网关分配的全部网段中的、除控制面网关上记录的已分配给数据面网关的全部网段之外的网段。第四方面提供的方法,通过释放数据面网关的无效网段,可以避免该数据面网关与占用该数据面网关的无效网段的数据面网关发布相同的网段路由。A fourth aspect provides a method for releasing a network segment, including: a data plane gateway determines an invalid network segment of the data plane gateway by performing network segment verification with a control plane gateway, and releases the invalid network segment of the data plane gateway; wherein, the data The invalid network segment of the plane gateway refers to the network segment among all the network segments allocated by the control plane gateway in the data plane gateway, except all the network segments recorded on the control plane gateway and allocated to the data plane gateway. In the method provided by the fourth aspect, by releasing the invalid network segment of the data plane gateway, it can be avoided that the data plane gateway and the data plane gateway occupying the invalid network segment of the data plane gateway publish the same network segment route.
第五方面,提供了一种释放网段的方法,包括:控制面网关向数据面网关发送至少一个核查请求,至少一个核查请求包括控制面网关上记录的分配给数据面网关的全部网段的信息。第五方面提供的方法,控制面网关通过向数据面网关发送核查请求,从而使得数据面网关可以进行网段核查。A fifth aspect provides a method for releasing a network segment, comprising: a control plane gateway sending at least one verification request to a data plane gateway, where the at least one verification request includes all network segments allocated to the data plane gateway recorded on the control plane gateway. information. In the method provided by the fifth aspect, the control plane gateway sends a verification request to the data plane gateway, so that the data plane gateway can perform network segment verification.
第六方面,提供了一种释放网段方法,包括:控制面网关从数据面网关接收至少一个核查请求,至少一个核查请求中包括数据面网关中由控制面网关分配的全部网段的信息;控制面网关根据至少一个核查请求判断数据面网关中由控制面网关分配的全部网段中的每个网段是否在控制面网关上记录已分配给数据面网关;控制面网关向数据面网关发送至少一个核查响应,至少一个核查响应包括数据面网关中由控制面网关分配的全部网段中的每个网段是否在控制面网关上记录已分配给数据面网关的信息。第六方面提供的方法,控制面网关根据核查请求向数据面网关发送核查响应,从而使得数据面网关可以进行网段核查。A sixth aspect provides a method for releasing a network segment, comprising: a control plane gateway receiving at least one verification request from a data plane gateway, and the at least one verification request includes information on all network segments allocated by the control plane gateway in the data plane gateway; The control plane gateway determines, according to at least one verification request, whether each network segment in all network segments allocated by the control plane gateway in the data plane gateway is recorded on the control plane gateway and has been allocated to the data plane gateway; the control plane gateway sends the data plane gateway to the data plane gateway. At least one verification response, the at least one verification response includes whether each of all network segments in the data plane gateway allocated by the control plane gateway records information allocated to the data plane gateway on the control plane gateway. In the method provided by the sixth aspect, the control plane gateway sends a verification response to the data plane gateway according to the verification request, so that the data plane gateway can perform network segment verification.
第七方面,提供了一种释放网段的方法,包括:第一数据面网关确定控制面网关复位重启;所述第一数据面网关释放所述控制面网关复位重启前为所述第一数据面网关分配的网段。第七方面提供的方法,第一数据面网关先对网段进行释放,再对会话进行删除,网段的释放不依赖于会话的删除,从而保证网段的快速回收。A seventh aspect provides a method for releasing a network segment, comprising: a first data plane gateway determines that a control plane gateway is reset and restarted; the first data plane gateway releases the first data before the control plane gateway is reset and restarted The network segment allocated by the gateway. In the method provided by the seventh aspect, the first data plane gateway first releases the network segment, and then deletes the session. The release of the network segment does not depend on the deletion of the session, thereby ensuring the rapid recovery of the network segment.
第八方面,提供了一种释放网段的方法,包括:控制面网关在复位重启时,拒绝新会话激活;所述控制面网关接收与所述控制面网关连接的全部数据面网关发送的第三消息和/或至少一个第四消息;一个数据面网关发送的第三消息用于指示该数据面网关释放完所述控制面网关复位重启前为该数据面网关分配的网段,一个数据面网关发送的至少一个第四消息包括该数据面网关中的所述控制面网关复位重启前为该数据面网关分配的网段的信息;所述控制面网关允许新会话激活。第八方面提供的方法,由于在复位重启之后,控制面网关不知道哪些网段是被哪些数据面网关占用的,因此,控制面网关可以拒绝新会话激活,如果收到会话激活请求,控制面网关可以返回激活失败的响应消息,从而防止同一网段被分配给不同的数据面网关。In an eighth aspect, a method for releasing a network segment is provided, including: when a control plane gateway is reset and restarted, refusing to activate a new session; the control plane gateway receives the first data sent by all data plane gateways connected to the control plane gateway. Three messages and/or at least one fourth message; a third message sent by a data plane gateway is used to instruct the data plane gateway to release the network segment allocated for the data plane gateway before the reset and restart of the control plane gateway, and a data plane gateway At least one fourth message sent by the gateway includes information of the network segment allocated to the data plane gateway before the control plane gateway in the data plane gateway is reset and restarted; the control plane gateway allows activation of a new session. In the method provided in the eighth aspect, since the control plane gateway does not know which network segments are occupied by which data plane gateways after reset and restart, the control plane gateway can reject the activation of the new session, and if a session activation request is received, the control plane The gateway can return an activation failure response message, thereby preventing the same network segment from being assigned to different data plane gateways.
第九方面,提供了一种通信装置,包括:通信单元和处理单元;所述处理单元,用于确定无会话使用第一网段中的地址;所述通信单元,用于向数据面网关发送第一消息,所述第一消息用于指示所述数据面网关释放所述第一网段,其中,所述数据面网关为占用所述第一网段的数据面网关;所述通信单元,还用于从所述数据面网关接收第二消息,所述第二消息用于指示所述数据面网关释放了所述第一网段;所述处理单元,还用于根据所述第二消息释放所述第一网段。第九方面提供的通信装置,通过在数据面网关释放第一网段之后,再释放第一网段,从而使得第一网段不会被分配给两个数据面网关,避免两个数据面网关发布相同的网段路由。该通信装置可以为控制面网关。In a ninth aspect, a communication device is provided, including: a communication unit and a processing unit; the processing unit is configured to determine that an address in the first network segment is used without a session; the communication unit is configured to send a data plane gateway a first message, where the first message is used to instruct the data plane gateway to release the first network segment, where the data plane gateway is a data plane gateway occupying the first network segment; the communication unit, is further configured to receive a second message from the data plane gateway, where the second message is used to instruct the data plane gateway to release the first network segment; the processing unit is further configured to, according to the second message Release the first network segment. In the communication device provided in the ninth aspect, the first network segment is released after the data plane gateway releases the first network segment, so that the first network segment is not allocated to two data plane gateways and avoids two data plane gateways Advertise the same network segment route. The communication device may be a control plane gateway.
在一种可能的实现方式中,所述处理单元,具体用于:当所述通信装置接收到第一会话的去激活请求时,确定所述第一会话是否为使用所述第一网段中的地址的最后一个会话,若是,确定无会话使用所述第一网段中的地址。该种可能的实现方式,提供了一种该通信装置确定无会话使用第一网段中的地址的方法。In a possible implementation manner, the processing unit is specifically configured to: when the communication apparatus receives the deactivation request of the first session, determine whether the first session is using the first network segment The address of the last session, if so, determine that no session uses the address in the first network segment. This possible implementation provides a method for the communication device to determine that the address in the first network segment is used without a session.
在一种可能的实现方式中,所述第一消息中包括第一时间戳,所述第一时间戳用于指示所述通信装置发送所述第一消息的时间。该种可能的实现方式,该通信装置可以根据第一时间戳,在本地会话的时间戳早于第一时间戳时才释放第一网段,否则,不释放第一网段,从而防止会话的误删以及网段的误释放。In a possible implementation manner, the first message includes a first timestamp, where the first timestamp is used to indicate the time when the communication apparatus sends the first message. In this possible implementation manner, the communication device may release the first network segment only when the timestamp of the local session is earlier than the first timestamp according to the first timestamp, otherwise, the first network segment is not released, thereby preventing the session from being invalidated. Accidental deletion and accidental release of network segments.
第十方面,提供了一种通信装置,包括:通信单元和处理单元;所述通信单元,用于从控制面网关接收第一消息,所述第一消息用于指示所述通信装置释放所述第一网段;所述处理单元,用于根据所述第一消息释放所述第一网段;所述通信单元,还用于向所述控制面网关发送第二消息,所述第二消息用于指示所述通信装置释放了所述第一网段。第十方面提供的通信装置,发送的第二消息可以用于控制面网关确定通信装置释放了第一网段,以便控制面网关在通信装置释放第一网段之后,再释放第一网段,从而使得第一网段不会被分配给两个通信装置,避免两个通信装置发布相同的网段路由。该通信装置可以为数据面网关。A tenth aspect provides a communication device, comprising: a communication unit and a processing unit; the communication unit is configured to receive a first message from a control plane gateway, where the first message is used to instruct the communication device to release the a first network segment; the processing unit is configured to release the first network segment according to the first message; the communication unit is further configured to send a second message to the control plane gateway, the second message is used to instruct the communication device to release the first network segment. In the communication device provided in the tenth aspect, the second message sent can be used by the control plane gateway to determine that the communication device has released the first network segment, so that the control plane gateway releases the first network segment after the communication device releases the first network segment, Therefore, the first network segment will not be allocated to the two communication apparatuses, so as to prevent the two communication apparatuses from publishing the same network segment route. The communication device may be a data plane gateway.
在一种可能的实现方式中,所述处理单元,还用于删除使用所述第一网段中的地址的本地会话。该种可能的实现方式,可以充分的释放通信装置的资源(例如,存储资源)。In a possible implementation manner, the processing unit is further configured to delete the local session using the address in the first network segment. In this possible implementation manner, resources (for example, storage resources) of the communication device can be fully released.
在一种可能的实现方式中,所述第一消息中包括第一时间戳,所述第一时间戳用于指示所述控制面网关发送所述第一消息的时间,所述处理单元,具体用于:根据所述第一消息判断是否有使用所述第一网段中的地址的本地会话;若是,比较创建所述本地会话的时间戳与所述第一时间戳;若创建所述本地会话的时间戳早于所述第一时间戳,释放所述第一网段。该种可能的实现方式,通信装置可以根据第一时间戳,在本地会话的时间戳早于第一时间戳时才释放第一网段,否则,不释放第一网段,从而防止会话的误删以及网段的误释放。In a possible implementation manner, the first message includes a first timestamp, where the first timestamp is used to indicate the time when the control plane gateway sends the first message, and the processing unit, specifically Used for: judging whether there is a local session using the address in the first network segment according to the first message; if so, comparing the timestamp for creating the local session with the first timestamp; if creating the local session The time stamp of the session is earlier than the first time stamp, and the first network segment is released. In this possible implementation manner, the communication device may release the first network segment according to the first timestamp when the timestamp of the local session is earlier than the first timestamp, otherwise, the first network segment will not be released, thereby preventing session errors. Deletion and mistaken release of network segments.
第十一方面,提供了一种通信装置,包括:第一模块和第二模块;所述第一模块包括第一通信单元和第一处理单元;所述第二模块包括第二处理单元;所述第一处理单元,用于确定无会话使用第一网段中的地址;所述第一通信单元,用于向第二模块发送第一消息,所述第一消息用于指示所述第二模块释放所述第一网段,其中,所述第二模块为占用所述第一网段的第二模块;所述第一通信单元,还用于在未接收到所述第一消息的响应消息的情况下,每隔一段时间向所述第二模块发送所述第一消息;所述第一处理单元,还用于在第一预设时间段内均未接收到所述第一消息的响应消息的情况下,释放分配给所述第二模块的网段;所述第一预设时间段的起始时间为所述第一模块发送首个第一消息的时间,或者,所述第一预设时间段的起始时间为所述第一模块确定与所述第二模块之间的接口链路中断的时间;所述第二处理单元,用于确定与所述第一模块之间的接口链路中断;所述第二处理单元,还用于在第二预设时间段之后释放所述第二模块中由所述第一模块分配的网段,所述第二预设时间段小于所述第一预设时间段。第十一方面提供的通信装置,由于第一预设时间段大于第二预设时间段,使得第二模块释放第二模块中第一模块分配的网段之后,再释放第一模块中的分配给该第二模块的网段,从而使得同一个网段不会被分配给两个第二模块,避免两个第二模块发布相同的网段路由。第一模块可以为控制面网关,第二模块可以为数据面网关。In an eleventh aspect, a communication device is provided, comprising: a first module and a second module; the first module includes a first communication unit and a first processing unit; the second module includes a second processing unit; The first processing unit is configured to determine that the address in the first network segment is used without a session; the first communication unit is configured to send a first message to the second module, where the first message is used to indicate the second The module releases the first network segment, wherein the second module is a second module occupying the first network segment; the first communication unit is further used for not receiving a response to the first message In the case of a message, send the first message to the second module at regular intervals; the first processing unit is further configured to not receive the first message within the first preset time period. In the case of a response message, release the network segment allocated to the second module; the start time of the first preset time period is the time when the first module sends the first first message, or the first The starting time of a preset time period is the time when the first module determines that the interface link between the first module and the second module is interrupted; the second processing unit is used to determine the time between the first module and the first module. The interface link is interrupted; the second processing unit is further configured to release the network segment allocated by the first module in the second module after a second preset time period, the second preset time period less than the first preset time period. In the communication device provided in the eleventh aspect, since the first preset time period is greater than the second preset time period, the second module releases the network segment allocated by the first module in the second module, and then releases the allocation in the first module The network segment is assigned to the second module, so that the same network segment will not be allocated to two second modules, so as to prevent the two second modules from publishing the same network segment route. The first module may be a control plane gateway, and the second module may be a data plane gateway.
在一种可能的实现方式中,所述第二处理单元,还用于删除使用所述第一模块分配的网段中的地址的本地会话。该种可能的实现方式,可以充分的释放第二模块的资源(例如,存储资源)。In a possible implementation manner, the second processing unit is further configured to delete the local session using the address in the network segment allocated by the first module. In this possible implementation manner, resources (for example, storage resources) of the second module can be fully released.
第十二方面,提供了一种通信装置,包括:通信单元和处理单元;所述处理单元,用于利用所述通信单元与控制面网关进行网段核查确定所述通信装置的无效网段;其中,所述通信装置的无效网段是指所述通信装置中由所述控制面网关分配的全部网段中的、除所述控制面网关上记录的已分配给所述通信装置的全部网段之外的网段;所述处理单元,还用于释放所述通信装置的无效网段。第十二方面提供的通信装置,通过释放通信装置的无效网段,可以避免该通信装置与占用该通信装置的无效网段的通信装置发布相同的网段路由。该通信装置可以为数据面网关。A twelfth aspect provides a communication device, comprising: a communication unit and a processing unit; the processing unit is configured to use the communication unit and a control plane gateway to perform network segment verification to determine an invalid network segment of the communication device; Wherein, the invalid network segment of the communication device refers to all network segments in the communication device allocated by the control plane gateway, except all network segments recorded on the control plane gateway that have been allocated to the communication device the network segment other than the segment; the processing unit is further configured to release the invalid network segment of the communication device. In the communication device provided in the twelfth aspect, by releasing the invalid network segment of the communication device, it can be avoided that the communication device and the communication device occupying the invalid network segment of the communication device issue the same network segment route. The communication device may be a data plane gateway.
在一种可能的实现方式中,所述处理单元,还用于删除使用所述通信装置的无效网段中的地址的本地会话。该种可能的实现方式,可以充分的释放通信装置的资源(例如,存储资源)。In a possible implementation manner, the processing unit is further configured to delete the local session using the address in the invalid network segment of the communication device. In this possible implementation manner, resources (for example, storage resources) of the communication device can be fully released.
在一种可能的实现方式中,所述处理单元,具体用于:利用所述通信单元从所述控制面网关接收至少一个核查请求,所述至少一个核查请求包括所述控制面网关上记录的分配给所述通信装置的全部网段的信息;根据所述至少一个核查请求将所述通信装置中由所述控制面网关分配的全部网段中的、且属于所述控制面网关上记录的分配给所述通信装置的全部网段中的网段作标记;将所述通信装置中由所述控制面网关分配的全部网段中的未作标记的网段确定为所述通信装置的无效网段。该种可能的实现方式,提供了一种网段核查的方法。In a possible implementation manner, the processing unit is specifically configured to: receive at least one verification request from the control plane gateway by using the communication unit, where the at least one verification request includes the information recorded on the control plane gateway Information on all network segments allocated to the communication device; according to the at least one verification request, all network segments in the communication device allocated by the control plane gateway and belonging to the records recorded on the control plane gateway Marking network segments in all network segments allocated to the communication device; determining unmarked network segments in all network segments allocated by the control plane gateway in the communication device as invalid for the communication device network segment. This possible implementation provides a method for checking a network segment.
在一种可能的实现方式中,所述处理单元,具体用于:利用所述通信单元向所述控制面网关发送至少一个核查请求,所述至少一个核查请求中包括所述通信装置中由所述控制面网关分配的全部网段的信息;利用所述通信单元从所述控制面网关接收至少一个核查响应,所述至少一个核查响应包括所述通信装置中由所述控制面网关分配的全部网段中的每个网段是否在所述控制面网关上记录已分配给所述通信装置的信息;根据所述至少一个核查响应,将所述通信装置中由所述控制面网关分配的全部网段中的、且在所述控制面网关上记录已分配给所述通信装置的网段确定为所述通信装置的无效网段。该种可能的实现方式,提供了另一种网段核查的方法。In a possible implementation manner, the processing unit is specifically configured to: use the communication unit to send at least one verification request to the control plane gateway, where the at least one verification request includes the communication device in the communication device. information of all network segments allocated by the control plane gateway; receive at least one verification response from the control plane gateway using the communication unit, the at least one verification response including all the communication devices allocated by the control plane gateway Whether each network segment in the network segment records the information allocated to the communication device on the control plane gateway; according to the at least one verification response, all the information allocated by the control plane gateway in the communication device The network segment in the network segment that is recorded on the control plane gateway and allocated to the communication device is determined to be an invalid network segment of the communication device. This possible implementation provides another method for checking network segments.
在一种可能的实现方式中,若所述至少一个核查请求为多个核查请求,所述多个核查请求中的最后一个核查请求中包括结束标记位,所述结束标记位用于指示所属的核查请求为最后一个核查请求。该种可能的实现方式,可以使得通信装置(或控制面网关)确定起始的核查请求和结束的核查请求,从而确定控制面网关(或通信装置)是否发送完需要发送的网段的信息。In a possible implementation manner, if the at least one verification request is multiple verification requests, the last verification request in the multiple verification requests includes an end marker bit, and the end marker bit is used to indicate the belonging The verification request is the last verification request. In this possible implementation manner, the communication device (or the control plane gateway) can determine the starting verification request and the ending verification request, so as to determine whether the control plane gateway (or the communication device) has sent the information of the network segment that needs to be sent.
第十三方面,提供了一种通信装置,包括:通信单元和处理单元;所述处理单元,用于通过所述通信单元向数据面网关发送至少一个核查请求,所述至少一个核查请求包括所述通信装置上记录的分配给所述数据面网关的全部网段的信息。第十三方面提供的通信装置,通信装置通过向数据面网关发送核查请求,从而使得数据面网关可以进行网段核查。该通信装置可以为控制面网关。A thirteenth aspect provides a communication device, comprising: a communication unit and a processing unit; the processing unit is configured to send at least one verification request to a data plane gateway through the communication unit, where the at least one verification request includes all information recorded on the communication device and allocated to all network segments of the data plane gateway. In the communication device provided by the thirteenth aspect, the communication device sends a verification request to the data plane gateway, so that the data plane gateway can perform network segment verification. The communication device may be a control plane gateway.
第十四方面,提供了一种通信装置,包括:通信单元和处理单元;所述通信单元,用于从数据面网关接收至少一个核查请求,所述至少一个核查请求中包括所述数据面网关中由所述通信装置分配的全部网段的信息;所述处理单元,用于根据所述至少一个核查请求判断所述数据面网关中由所述通信装置分配的全部网段中的每个网段是否在所述通信装置上记录已分配给所述数据面网关;所述通信单元,还用于向所述数据面网关发送至少一个核查响应,所述至少一个核查响应包括所述数据面网关中由所述通信装置分配的全部网段中的每个网段是否在所述通信装置上记录已分配给所述数据面网关的信息。第十四方面提供的通信装置,通信装置根据核查请求向数据面网关发送核查响应,从而使得数据面网关可以进行网段核查。该通信装置可以为控制面网关。A fourteenth aspect provides a communication device, comprising: a communication unit and a processing unit; the communication unit is configured to receive at least one verification request from a data plane gateway, where the at least one verification request includes the data plane gateway information of all network segments allocated by the communication device in Whether the segment is recorded on the communication device and has been allocated to the data plane gateway; the communication unit is further configured to send at least one verification response to the data plane gateway, the at least one verification response including the data plane gateway Whether each network segment in all network segments allocated by the communication device records the information allocated to the data plane gateway on the communication device. In the communication device provided by the fourteenth aspect, the communication device sends a verification response to the data plane gateway according to the verification request, so that the data plane gateway can perform network segment verification. The communication device may be a control plane gateway.
第十五方面,提供了一种通信装置,包括:处理单元;所述处理单元,用于确定控制面网关复位重启,并释放所述控制面网关复位重启前为所述通信装置分配的网段。第十五方面提供的通信装置,通过先对网段进行释放,再对会话进行删除,网段的释放不依赖于会话的删除,从而保证网段的快速回收。该通信装置可以为第一数据面网关。A fifteenth aspect provides a communication device, comprising: a processing unit; the processing unit is configured to determine the reset and restart of a control plane gateway, and release the network segment allocated for the communication device before the reset and restart of the control plane gateway . In the communication device provided by the fifteenth aspect, by first releasing the network segment and then deleting the session, the release of the network segment does not depend on the deletion of the session, thereby ensuring the rapid recovery of the network segment. The communication device may be a first data plane gateway.
在一种可能的实现方式中,所述通信装置还包括:通信单元;所述通信单元,用于向所述控制面网关发送第三消息,所述第三消息用于指示所述通信装置释放完所述控制面网关复位重启前为所述通信装置分配的网段。该种可能的实现方式,可以使得控制面网关确定通信装置上的、由该控制面网关复位重启前分配的网段释放完成,以便控制面网关对网段进行解锁。In a possible implementation manner, the communication device further includes: a communication unit; the communication unit is configured to send a third message to the control plane gateway, where the third message is used to instruct the communication device to release The network segment allocated to the communication device before the reset and restart of the control plane gateway is completed. In this possible implementation manner, the control plane gateway can determine that the release of the network segment allocated before the reset and restart of the control plane gateway on the communication device is completed, so that the control plane gateway can unlock the network segment.
在一种可能的实现方式中,所述处理单元,还用于删除使用所述控制面网关复位重启前为所述通信装置分配的网段中的地址的本地会话。该种可能的实现方式,可以充分的释放通信装置的资源(例如,存储资源)。In a possible implementation manner, the processing unit is further configured to delete the local session using the address in the network segment allocated to the communication device before the control plane gateway resets and restarts. In this possible implementation manner, resources (for example, storage resources) of the communication device can be fully released.
在一种可能的实现方式中,所述通信单元,还用于向所述控制面网关发送至少一个第四消息,所述至少一个第四消息包括所述通信装置的网段的信息。In a possible implementation manner, the communication unit is further configured to send at least one fourth message to the control plane gateway, where the at least one fourth message includes information of the network segment of the communication device.
在一种可能的实现方式中,所述至少一个第四消息中的最后一个第四消息中包括结束标志位,所述结束标志位用于指示所属的第四消息为最后一条第四消息。In a possible implementation manner, the last fourth message in the at least one fourth message includes an end flag bit, and the end flag bit is used to indicate that the belonging fourth message is the last fourth message.
第十六方面,提供了一种通信装置,包括:处理单元和通信单元;所述处理单元,用于在通信装置复位重启时,拒绝新会话激活;所述通信单元,用于接收与所述通信装置连接的全部数据面网关发送的第三消息和/或至少一个第四消息;一个数据面网关发送的第三消息用于指示该数据面网关释放完所述通信装置复位重启前为该数据面网关分配的网段,一个数据面网关发送的至少一个第四消息包括该数据面网关中的所述通信装置复位重启前为该数据面网关分配的网段的信息;所述处理单元,还用于允许新会话激活。第十六方面提供的通信装置,由于在复位重启之后,通信装置不知道哪些网段是被哪些数据面网关占用的,因此,通信装置可以拒绝新会话激活,如果收到会话激活请求,通信装置可以返回激活失败的响应消息,从而防止同一网段被分配给不同的数据面网关。该通信装置可以为控制面网关。A sixteenth aspect provides a communication device, comprising: a processing unit and a communication unit; the processing unit is configured to reject the activation of a new session when the communication device is reset and restarted; the communication unit is configured to receive and communicate with the The third message and/or at least one fourth message sent by all data plane gateways connected to the communication device; the third message sent by one data plane gateway is used to instruct the data plane gateway to release the data plane before the communication device is reset and restarted. The network segment allocated by the data plane gateway, the at least one fourth message sent by a data plane gateway includes the information of the network segment allocated for the data plane gateway before the communication device in the data plane gateway is reset and restarted; the processing unit, also Used to allow new sessions to activate. In the communication device provided by the sixteenth aspect, since the communication device does not know which network segments are occupied by which data plane gateways after reset and restart, the communication device can reject the activation of a new session, and if a session activation request is received, the communication device An activation failure response message can be returned to prevent the same network segment from being assigned to different data plane gateways. The communication device may be a control plane gateway.
在一种可能的实现方式中,在所述通信装置仅接收与所述通信装置连接的全部数据面网关发送的至少一个第四消息的情况下,所述处理单元,还用于为新激活的会话分配除所述全部数据面网关中的所述通信装置复位重启前分配的网段之外的网段中的地址。该种可能的实现方式,由于在通信装置接收到了与所述通信装置连接的全部数据面网关发送的至少一个第四消息之后,通信装置知道了哪些网段是被哪些数据面网关占用的,因此,通信装置可以允许新会话激活,但是,为新激活的会话分配的地址不应当为全部数据面网关中的所述通信装置复位重启前分配的网段中的地址,从而防止同一网段被分配给不同的数据面网关。In a possible implementation manner, in the case that the communication device only receives at least one fourth message sent by all data plane gateways connected to the communication device, the processing unit is further configured to provide the newly activated The session allocates addresses in network segments other than the network segment allocated before the communication device in the all data plane gateways is reset and restarted. In this possible implementation manner, after the communication device receives at least one fourth message sent by all data plane gateways connected to the communication device, the communication device knows which network segments are occupied by which data plane gateways, therefore , the communication device can allow the new session to be activated, but the address allocated for the newly activated session should not be the address in the network segment allocated before the reset and restart of the communication device in all data plane gateways, thereby preventing the same network segment from being allocated to different data plane gateways.
在一种可能的实现方式中,在所述通信装置仅接收与所述通信装置连接的全部数据面网关发送的至少一个第四消息的情况下,所述处理单元,还用于锁定所述全部数据面网关中的所述通信装置复位重启前分配的网段;所述通信单元,还用于从第一数据面网关接收第三消息;所述处理单元,还用于将获取到的所述通信装置复位重启前为所述第一数据面网关分配的网段解锁。该种可能的实现方式,通信装置通过锁定数据面网关的网段,从而可以防止在PGW-U释放网段之前,通信装置将这些网段分配给其他数据面网关,避免两个数据面网关发布相同的网段路由。In a possible implementation manner, when the communication device only receives at least one fourth message sent by all data plane gateways connected to the communication device, the processing unit is further configured to lock the all data plane gateways connected to the communication device. The communication device in the data plane gateway resets the network segment allocated before restarting; the communication unit is further configured to receive a third message from the first data plane gateway; the processing unit is further configured to store the acquired The network segment allocated to the first data plane gateway is unlocked before the communication device is reset and restarted. In this possible implementation manner, the communication device locks the network segments of the data plane gateway, thereby preventing the communication device from allocating these network segments to other data plane gateways before the PGW-U releases the network segments, thereby avoiding the release of the two data plane gateways. The same network segment route.
在一种可能的实现方式中,所述至少一个第四消息中的最后一个第四消息中包括结束标志位,所述结束标志位用于指示所属的第四消息为最后一条第四消息。In a possible implementation manner, the last fourth message in the at least one fourth message includes an end flag bit, and the end flag bit is used to indicate that the belonging fourth message is the last fourth message.
第十七方面,提供了一种通信装置,该通信装置包括:存储器、处理器、至少一个通信接口和通信总线;存储器用于存储计算机执行指令,处理器、存储器和至少一个通信接口通过通信总线连接,处理器执行存储器存储的计算机执行指令,以使通信装置实现第一方面提供的任意一种方法;或者,第三方面提供的任意一种方法中的控制面网关执行的方法;或者,第五方面提供的方法;或者,第六方面提供的方法;或者,第八方面提供的任意一种方法。该通信装置可以以芯片的产品形态存在。A seventeenth aspect provides a communication device, the communication device comprising: a memory, a processor, at least one communication interface and a communication bus; the memory is used to store computer execution instructions, and the processor, the memory and the at least one communication interface pass through the communication bus connection, the processor executes the computer-executed instructions stored in the memory, so that the communication device implements any one of the methods provided in the first aspect; or, the method performed by the control plane gateway in any one of the methods provided in the third aspect; or, the first The method provided by the fifth aspect; or, the method provided by the sixth aspect; or, any one of the methods provided by the eighth aspect. The communication device may exist in the form of a chip product.
第十八方面,提供了一种通信装置,该通信装置包括:存储器、处理器、至少一个通信接口和通信总线;存储器用于存储计算机执行指令,处理器、存储器和至少一个通信接口通过通信总线连接,处理器执行存储器存储的计算机执行指令,以使通信装置实现第二方面提供的任意一种方法;或者,第三方面提供的任意一种方法中的数据面网关执行的方法;或者,第四方面提供的任意一种方法;或者,第七方面提供的任意一种方法。该通信装置可以以芯片的产品形态存在。In an eighteenth aspect, a communication device is provided, the communication device comprising: a memory, a processor, at least one communication interface and a communication bus; the memory is used for storing computer execution instructions, and the processor, the memory and the at least one communication interface pass through the communication bus connected, the processor executes the computer-executed instructions stored in the memory, so that the communication device implements any one of the methods provided in the second aspect; or, the method performed by the data plane gateway in any one of the methods provided in the third aspect; or, the first Any one of the methods provided by the fourth aspect; or, any one of the methods provided by the seventh aspect. The communication device may exist in the form of a chip product.
第十九方面,提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行第一方面提供的任意一种方法;或者,第三方面提供的任意一种方法中的控制面网关执行的方法;或者,第五方面提供的方法;或者,第六方面提供的方法;或者,第八方面提供的任意一种方法。In a nineteenth aspect, a computer-readable storage medium is provided, comprising instructions that, when executed on a computer, cause the computer to execute any one of the methods provided in the first aspect; or, any one of the methods provided in the third aspect The method performed by the control plane gateway in ; or, the method provided by the fifth aspect; or, the method provided by the sixth aspect; or, any one of the methods provided by the eighth aspect.
第二十方面,提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行第二方面提供的任意一种方法;或者,第三方面提供的任意一种方法中的数据面网关执行的方法;或者,第四方面提供的任意一种方法;或者,第七方面提供的任意一种方法。该通信装置可以以芯片的产品形态存在。In a twentieth aspect, a computer-readable storage medium is provided, including instructions, which, when executed on a computer, cause the computer to perform any one of the methods provided by the second aspect; or, any one of the methods provided by the third aspect The method performed by the data plane gateway in the above; or, any one of the methods provided by the fourth aspect; or, any one of the methods provided by the seventh aspect. The communication device may exist in the form of a chip product.
第二十一方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行第一方面提供的任意一种方法;或者,第三方面提供的任意一种方法中的控制面网关执行的方法;或者,第五方面提供的方法;或者,第六方面提供的方法;或者,第八方面提供的任意一种方法。A twenty-first aspect provides a computer program product containing instructions that, when run on a computer, cause the computer to execute any one of the methods provided by the first aspect; or, in any one of the methods provided by the third aspect The method performed by the control plane gateway; or, the method provided by the fifth aspect; or, the method provided by the sixth aspect; or, any one of the methods provided by the eighth aspect.
第二十二方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行第二方面提供的任意一种方法;或者,第三方面提供的任意一种方法中的数据面网关执行的方法;或者,第四方面提供的任意一种方法;或者,第七方面提供的任意一种方法。该通信装置可以以芯片的产品形态存在。A twenty-second aspect provides a computer program product containing instructions that, when run on a computer, cause the computer to execute any one of the methods provided by the second aspect; or, in any one of the methods provided by the third aspect The method performed by the data plane gateway; or, any one of the methods provided by the fourth aspect; or, any one of the methods provided by the seventh aspect. The communication device may exist in the form of a chip product.
第二十三方面,提供了一种通信系统,包括:第一方面中的控制面网关和第二方面中的数据面网关;或者,第三方面中的控制面网关和数据面网关;或者,第四方面中的数据面网关和第五方面(或第六方面)中的控制面网关;第八方面中的控制面网关和第七方面中的第一数据面网关。A twenty-third aspect provides a communication system, comprising: the control plane gateway in the first aspect and the data plane gateway in the second aspect; or, the control plane gateway and the data plane gateway in the third aspect; or, The data plane gateway in the fourth aspect and the control plane gateway in the fifth aspect (or the sixth aspect); the control plane gateway in the eighth aspect and the first data plane gateway in the seventh aspect.
其中,需要说明的是,上述各个方面中的任意一个方面的各种可能的实现方式,在方案不矛盾的前提下,均可以进行组合。It should be noted that various possible implementation manners of any one of the above aspects can be combined on the premise that the solutions are not contradictory.
附图说明Description of drawings
图1为本申请实施例提供的一种EPS网络的架构示意图;FIG. 1 is a schematic structural diagram of an EPS network according to an embodiment of the present application;
图2为本申请实施例提供的一种通信装置的硬件结构示意图;FIG. 2 is a schematic diagram of a hardware structure of a communication device provided by an embodiment of the present application;
图3至图5分别为本申请实施例提供的一种释放网段的方法的流程图;3 to 5 are respectively flowcharts of a method for releasing a network segment provided by an embodiment of the present application;
图6为本申请实施例提供的一种通信装置的组成示意图。FIG. 6 is a schematic diagram of the composition of a communication device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B。本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of this application, unless otherwise specified, "/" means or means, for example, A/B can mean A or B. In this article, "and/or" is only an association relationship to describe the associated objects, which means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone these three situations. Also, in the description of the present application, unless stated otherwise, "plurality" means two or more than two. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like are not necessarily different.
本申请实施例的技术方案可以应用于各种数据处理的通信系统。例如:正交频分多址(orthogonal frequency-division multiple access,简称OFDMA)、单载波频分多址(single carrier FDMA,简称SC-FDMA)和其它系统等。术语“系统”可以和“网络”相互替换。OFDMA系统可以实现诸如演进通用无线陆地接入(evolved UTRA,简称E-UTRA)、超级移动宽带(ultra mobile broadband,简称UMB)等无线技术。E-UTRA是通用移动通信系统(universal mobile telecommunications system,简称UMTS)演进版本。第三代合作伙伴计划(3rd generation partnership project,简称3GPP)在长期演进(long termevolution,简称LTE)和基于LTE演进的各种版本是使用E-UTRA的新版本。第五代(5th-generation,简称5G)通信系统、新空口(new radio,简称NR)是正在研究当中的下一代通信系统。此外,通信系统还可以适用于面向未来的通信技术,都适用本申请实施例提供的技术方案。The technical solutions of the embodiments of the present application can be applied to various data processing communication systems. For example, orthogonal frequency-division multiple access (OFDMA for short), single carrier frequency division multiple access (SC-FDMA for short), and other systems. The term "system" is interchangeable with "network". The OFDMA system can implement wireless technologies such as evolved universal terrestrial access (evolved UTRA, E-UTRA for short), ultra mobile broadband (ultra mobile broadband, UMB for short). E-UTRA is an evolved version of a universal mobile telecommunications system (universal mobile telecommunications system, UMTS for short). The 3rd generation partnership project (3GPP for short) is a new version using E-UTRA in long term evolution (long term evolution, LTE for short) and various versions based on LTE evolution. The 5th-generation (5G for short) communication system and the new radio (NR for short) are the next-generation communication systems under study. In addition, the communication system may also be applicable to future-oriented communication technologies, and the technical solutions provided by the embodiments of the present application are all applicable.
如图1所示,EPS网络可以包括下述多个功能网元:终端、演进型通用陆地无线接入网(evolved universal terrestrial radio access network,简称E-UTRAN)(具体可以为eNodeB)、业务网关(serving gateway,简称SGW)、分组数据网关(packet data networkgateway,简称PGW)、移动性管理网元(mobility management entity,简称MME)、归属用户服务器(home subscriber server,简称HSS)、移动交换中心(mobile switching center,简称MSC)和策略和计费规则功能(policy and charging rules function,简称PCRF)网元。As shown in FIG. 1 , the EPS network may include the following multiple functional network elements: a terminal, an evolved universal terrestrial radio access network (E-UTRAN for short) (specifically, an eNodeB), a service gateway (serving gateway, referred to as SGW), packet data gateway (packet data network gateway, referred to as PGW), mobility management network element (mobility management entity, referred to as MME), home subscriber server (home subscriber server, referred to as HSS), mobile switching center ( A mobile switching center, MSC for short) and a policy and charging rules function (policy and charging rules function, PCRF for short) network elements.
第三代合作伙伴计划(3rd generation partnership project,简称3GPP)标准中定义了CP和UP分离的架构。在该架构下,PGW被拆分为PGW-C和PGW-U,SGW被拆分为SGW-C和SGW-U。PGW-U和SGW-U为用户面功能元件,负责用户数据的转发。一个PGW-C可以对应一个或多个PGW-U,一个SGW-C可以对应一个或多个SGW-U。PGW-C和PGW-U之间的接口为Sxb接口,SGW-C和SGW-U之间的接口为Sxa接口。The 3rd generation partnership project (3GPP for short) standard defines an architecture in which the CP and the UP are separated. Under this architecture, the PGW is split into PGW-C and PGW-U, and the SGW is split into SGW-C and SGW-U. PGW-U and SGW-U are user plane functional elements, responsible for forwarding user data. One PGW-C may correspond to one or more PGW-Us, and one SGW-C may correspond to one or more SGW-Us. The interface between the PGW-C and the PGW-U is an Sxb interface, and the interface between the SGW-C and the SGW-U is an Sxa interface.
一个用户可以使用多个会话访问网络,使用每个会话访问网络时,都需要一个IP地址。因此,在一个会话激活的过程中,PGW-C或外部的服务器(例如,验证、授权和记账(Authentication、Authorization、Accounting,简称AAA)服务器、动态主机配置协议(dynamic host configuration protocol,简称DHCP)服务器)可以为该会话分配一个IP地址,会话的IP地址由PGW-C发送给PGW-U,由PGW-U发布从Operator’s IP Servers到用户的下行数据的路由(即主机路由)。A user can access the network using multiple sessions, and each session requires an IP address to access the network. Therefore, in the process of a session activation, the PGW-C or an external server (for example, an Authentication, Authorization, and Accounting (AAA) server, a dynamic host configuration protocol (DHCP for short) ) server) can assign an IP address for the session, the IP address of the session is sent by PGW-C to PGW-U, and PGW-U publishes the route (i.e. host route) of downlink data from Operator's IP Servers to users.
如果PGW-U为每个会话都发布一条主机路由,那么网络中发布的路由的数量太大。因此,PGW-C在将会话的IP地址告知PGW-U的同时,还会告知会话的IP地址所属的网段(也可以叫地址段或地址子段,表示一段连续的地址)。PGW-U根据PGW-C告知的网段发布网段路由,以减少网络中发布的路由的数量。If the PGW-U advertises a host route for each session, the number of routes advertised in the network is too large. Therefore, PGW-C not only informs PGW-U of the IP address of the session, but also informs the network segment to which the IP address of the session belongs (it can also be called an address segment or an address sub-segment, which means a continuous address). The PGW-U advertises the network segment route according to the network segment notified by the PGW-C, so as to reduce the number of routes advertised in the network.
当两个PGW-U发布相同的网段路由时,用户可能无法接收到业务数据。为了避免该问题,需要保证使用同一个网段中的地址的会话激活在同一个PGW-U上。例如,使用网段1中的地址的首个会话激活的过程中,PGW-C将网段1中的首个地址分配给了该会话,若选择在PGW-U1上激活该会话,则还会标记网段1属于PGW-U1(即网段1分配给了PGW-U1)。后续再有会话激活时,网段1中的地址只能分配给激活在PGW-U1上的会话。When two PGW-Us advertise the same network segment route, users may not be able to receive service data. To avoid this problem, it is necessary to ensure that sessions using addresses in the same network segment are activated on the same PGW-U. For example, during the activation of the first session using the address in network segment 1, PGW-C assigns the first address in network segment 1 to the session. If it chooses to activate the session on PGW-U1, it will also Mark that the network segment 1 belongs to the PGW-U1 (that is, the network segment 1 is allocated to the PGW-U1). When a subsequent session is activated, the address in network segment 1 can only be assigned to the session activated on PGW-U1.
当一个网段中的所有地址均无会话使用时,PGW-C和PGW-U均需要释放该网段。对于PGW-U,如果去激活的会话是使用某个网段中的地址的最后一个会话,PGW-U会删除该网段的网段路由,从而释放该网段。对于PGW-C,如果去激活的会话是使用某个网段中的地址的最后一个会话,PGW-C在向PGW-U发送删除最后一个会话的PFCP session deletionrequest消息之后,会将之前记录的该网段分配给PGW-U的信息清空,后续再有其他会话激活时,PGW-C可以将该网段中的地址分配给该其他会话,该其他会话可以激活在任意一个PGW-U上。When all addresses in a network segment are not used for sessions, both PGW-C and PGW-U need to release the network segment. For PGW-U, if the deactivated session is the last session using an address in a certain network segment, PGW-U will delete the network segment route of this network segment, thereby releasing the network segment. For PGW-C, if the deactivated session is the last session using an address in a certain network segment, after sending the PFCP session deletionrequest message to PGW-U to delete the last session, PGW-C will The information allocated to the PGW-U on the network segment is cleared, and when another session is activated subsequently, the PGW-C can assign the address in the network segment to the other session, and the other session can be activated on any PGW-U.
上述PGW-C和PGW-U释放网段的方式在一些场景下存在弊端,以下分别进行描述。The above-mentioned ways of releasing network segments by PGW-C and PGW-U have drawbacks in some scenarios, which will be described separately below.
场景1、PGW-C和PGW-U1之间的Sxb接口链路闪断Scenario 1. The Sxb interface link between PGW-C and PGW-U1 is disconnected
该场景下,会话1在去激活过程中,PGW-C向PGW-U1发送的、用于PGW-U1删除会话1的PFCP会话删除请求(PFCP session deletion request)消息可能无法到达PGW-U1。那么,PGW-C中删除了会话1,PGW-U1中仍然保留有会话1的会话资源。当PGW-C上使用网段1(会话1的IP地址所属的网段)中的地址的最后一个会话去激活后,PGW-C会释放网段1,并可能将网段1分配给PGW-U2,而PGW-U1由于认为会话1仍然在使用网段1中的地址,因此,不会释放网段1。此时,PGW-U1和PGW-U2会发布相同的网段路由,从而导致用户可能无法接收到业务数据。In this scenario, during the deactivation of session 1, the PFCP session deletion request (PFCP session deletion request) message sent by PGW-C to PGW-U1 for PGW-U1 to delete session 1 may not reach PGW-U1. Then, the session 1 is deleted in the PGW-C, and the session resources of the session 1 are still reserved in the PGW-U1. When the last session on the PGW-C using the address in the network segment 1 (the network segment to which the IP address of session 1 belongs) is deactivated, the PGW-C releases the network segment 1 and may assign the network segment 1 to the PGW- U2, but PGW-U1 will not release network segment 1 because it thinks that session 1 is still using the address in network segment 1. At this time, PGW-U1 and PGW-U2 will advertise the same network segment route, so that users may not be able to receive service data.
场景2、PGW-C和PGW-U1之间的Sxb接口链路中断Scenario 2. The Sxb interface link between PGW-C and PGW-U1 is interrupted
该场景下,PGW-U1在感知到与PGW-C之间的Sxb接口链路故障后,会发起会话的批量删除,在批量删除会话的过程,当一个会话为使用一个网段中的地址的最后一个会话时,PGW-U1还会释放该网段。但是为避免误判,PGW-U1感知到与PGW-C之间的Sxb接口链路故障到判定发起会话的批量删除之间需要一段时间。PGW-U1完成会话的批量删除也需要一段时间。在这两段时间内,若使用某个网段中的地址的最后一个会话去激活,PGW-C会释放该网段。若在这两段时间内,PGW-C将该网段分配给了PGW-U2,则PGW-U1和PGW-U2会发布相同的网段路由,从而导致用户可能无法接收到业务数据。In this scenario, PGW-U1 will initiate batch deletion of sessions after sensing the failure of the Sxb interface link with PGW-C. During the last session, PGW-U1 will also release the network segment. However, in order to avoid misjudgment, it takes a period of time between PGW-U1 sensing the failure of the Sxb interface link with PGW-C and deciding to initiate batch deletion of sessions. It also takes some time for the PGW-U1 to complete the batch deletion of sessions. During these two periods, if the last session using an address in a certain network segment is deactivated, the PGW-C will release the network segment. If PGW-C assigns the network segment to PGW-U2 during these two periods, PGW-U1 and PGW-U2 will advertise the same network segment route, so that users may not be able to receive service data.
场景3、PGW-C复位重启Scenario 3. PGW-C resets and restarts
该场景下,PGW-C会丢失会话的IP地址的分配情况和网段的分配情况。后续有会话激活时,PGW-C无法根据之前的网段的分配情况来为会话分配IP地址,则可能将之前分配给PGW-U1的网段中的地址分配给了激活在PGW-U2上的会话,则不同的PGW-U会发布相同的网段路由,从而导致用户可能无法接收到业务数据。In this scenario, the PGW-C will lose the assignment of the IP address of the session and the assignment of the network segment. When a subsequent session is activated, the PGW-C cannot allocate an IP address for the session according to the previous network segment allocation, so the address in the network segment previously allocated to PGW-U1 may be allocated to the network segment activated on PGW-U2. session, different PGW-Us will advertise the same network segment route, so that users may not be able to receive service data.
需要说明的是,虽然PGW-U1在感知到PGW-C复位重启后会发起会话的批量删除,在批量删除会话的过程,当一个会话为使用一个网段中的地址的最后一个会话时,PGW-U1还会释放该网段。但是,PGW-U1完成会话的批量删除需要一段时间,该段时间内,用户的业务很可能受到影响。It should be noted that although the PGW-U1 will initiate batch deletion of sessions after sensing the reset and restart of the PGW-C, in the process of batch deletion of sessions, when a session is the last session using an address in a network segment, the PGW -U1 also frees the segment. However, it takes a period of time for the PGW-U1 to complete the batch deletion of sessions. During this period, the user's service is likely to be affected.
为了解决这些弊端,本申请实施例提供了一种通信装置,具体可以为下文中的控制面网关或数据面网关。通信装置的硬件结构示意图可以参见图2,图2示出了一种通信装置20的硬件结构示意图,包括至少一个处理器201,通信总线202以及至少一个通信接口204。可选的,通信装置20还包括存储器203。In order to solve these drawbacks, an embodiment of the present application provides a communication device, which may specifically be a control plane gateway or a data plane gateway hereinafter. Refer to FIG. 2 for a schematic diagram of the hardware structure of the communication apparatus. FIG. 2 shows a schematic diagram of the hardware structure of a communication apparatus 20 , including at least one processor 201 , a communication bus 202 and at least one communication interface 204 . Optionally, the communication device 20 further includes a memory 203 .
处理器201可以是一个通用中央处理器(central processing unit,简称CPU),微处理器,特定应用集成电路(application-specific integrated circuit,简称ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 201 may be a general-purpose central processing unit (CPU for short), a microprocessor, an application-specific integrated circuit (ASIC for short), or one or more programs for controlling the solution of the present application implemented integrated circuits.
通信总线202,可包括一通路,在上述组件之间传送信息。Communication bus 202, which may include a path, communicates information between the aforementioned components.
通信接口204,可以为任何收发器一类的装置,用于与其他设备或通信网络通信。The communication interface 204, which can be any transceiver-like device, is used to communicate with other devices or a communication network.
存储器203可以是只读存储器(read-only memory,简称ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,简称RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,简称EEPROM)、只读光盘(compact disc read-only memory,简称CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器连接。存储器也可以和处理器集成在一起。The memory 203 may be a read-only memory (ROM for short) or other types of static storage devices that can store static information and instructions, a random access memory (RAM for short) or a memory device that can store information and instructions. Other types of dynamic storage devices may also be electrically erasable programmable read-only memory (EEPROM for short), compact disc read-only memory (CD-ROM for short) or other optical disks storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage medium or other magnetic storage device, or capable of carrying or storing desired program code in the form of instructions or data structures and any other medium that can be accessed by a computer, but is not limited thereto. The memory can exist independently and be connected to the processor through a bus. The memory can also be integrated with the processor.
其中,存储器203用于存储执行本申请方案的应用程序代码,并由处理器201来控制执行。处理器201用于执行存储器203中存储的应用程序代码,从而实现下文中本申请实施例提供的方法。Wherein, the memory 203 is used for storing the application program code for executing the solution of the present application, and the execution is controlled by the processor 201 . The processor 201 is configured to execute the application program code stored in the memory 203, so as to implement the methods provided in the following embodiments of the present application.
在具体实现中,作为一种实施例,处理器201可以包括一个或多个CPU,例如图2中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 2 .
在具体实现中,作为一种实施例,通信装置20可以包括多个处理器,例如图2中的处理器201和处理器208。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the communication apparatus 20 may include multiple processors, such as the processor 201 and the processor 208 in FIG. 2 . Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
在具体实现中,作为一种实施例,通信装置20还可以包括输出设备205和输入设备206。In a specific implementation, as an embodiment, the communication apparatus 20 may further include an output device 205 and an input device 206 .
本申请实施例描述的系统架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定。本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。为了方便描述,以下以本申请实施例提供的方法应用于EPS网络中为例对本申请实施例提供的方法进行示例性说明。本申请实施例中的控制面网关在下文中记为PGW-C(即下文中的PGW-C均可以替换为控制面网关),数据面网关记为PGW-U(即下文中的PGW-U均可以替换为数据面网关)。The system architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems. For the convenience of description, the method provided by the embodiment of the present application is exemplarily described below by taking the method provided by the embodiment of the present application applied to an EPS network as an example. The control plane gateway in the embodiment of the present application is denoted as PGW-C in the following (that is, the PGW-C in the following can be replaced by the control plane gateway), and the data plane gateway is denoted as PGW-U (that is, the PGW-U in the following Can be replaced with a data plane gateway).
但是需要说明的是,本申请实施例提供的方法也可以应用于其他网络中,比如,可以应用在NR系统或5G网络中。相应的,当本申请实施例提供的方法应用在NR系统或5G网络中时,执行本申请实施例提供的方法的网络节点替换为NR系统或5G网络中的网络节点即可。例如,当本申请实施例提供的方法应用在EPS网络中时,本申请实施例中的控制面网关可以为PGW-C,数据面网关可以为PGW-U。当本申请实施例提供的方法应用在NR系统或5G网络中时,本申请实施例中的控制面网关可以为会话管理功能(session managementfunction,简称SMF)网元,数据面网关可以为用户面功能(user plane function,简称UPF)网元。相对应的,下文中的Sxb接口链路替换为SMF和UPF之间的接口链路即可。However, it should be noted that the methods provided in the embodiments of the present application may also be applied to other networks, for example, may be applied to an NR system or a 5G network. Correspondingly, when the methods provided by the embodiments of the present application are applied in the NR system or the 5G network, the network nodes that execute the methods provided by the embodiments of the present application may be replaced with network nodes in the NR system or the 5G network. For example, when the method provided in the embodiment of the present application is applied to an EPS network, the control plane gateway in the embodiment of the present application may be PGW-C, and the data plane gateway may be PGW-U. When the method provided in the embodiment of the present application is applied to an NR system or a 5G network, the control plane gateway in the embodiment of the present application may be a session management function (session management function, SMF for short) network element, and the data plane gateway may be a user plane function (user plane function, UPF for short) network element. Correspondingly, the Sxb interface link in the following can be replaced by the interface link between the SMF and the UPF.
需要指出的是,本申请各实施例中涉及的名词或术语可以相互参考,不予限制。在本申请实施例中,“释放网段A”也可以描述为“删除网段A的路由”,网段A可以为下文中释放的任意一个网段。It should be pointed out that the terms or terms involved in the various embodiments of the present application may refer to each other without limitation. In this embodiment of the present application, "release network segment A" may also be described as "delete the route of network segment A", and network segment A may be any network segment released hereinafter.
实施例一Example 1
该实施例提供了一种释放网段的方法,如图3所示,包括:This embodiment provides a method for releasing a network segment, as shown in Figure 3, including:
301、PGW-C确定无会话使用第一网段中的地址。301. The PGW-C determines that no session uses the address in the first network segment.
其中,第一网段可以为PGW-C分配给PGW-U的任意一个网段。The first network segment may be any network segment allocated by the PGW-C to the PGW-U.
步骤301在具体实现时,可以通过以下方式一或方式二实现:When step 301 is specifically implemented, it can be implemented in the following manners 1 or 2:
方式一、当PGW-C向PGW-U发送了指示删除使用第一网段中的地址的最后一个本地会话的消息之后,PGW-C可以确定无会话使用第一网段中的地址。Manner 1: After the PGW-C sends a message indicating deletion of the last local session using the address in the first network segment to the PGW-U, the PGW-C may determine that no session uses the address in the first network segment.
方式二、当PGW-C接收到第一会话的去激活请求时,PGW-C确定第一会话是否为使用第一网段中的地址的最后一个会话,若是,PGW-C确定无会话使用第一网段中的地址。其中,第一会话可以为任意一个会话。Mode 2: When the PGW-C receives the deactivation request for the first session, the PGW-C determines whether the first session is the last session using the address in the first network segment, and if so, the PGW-C determines that there is no session using the first session. An address in a network segment. The first session may be any session.
302、PGW-C向PGW-U发送第一消息,第一消息用于指示PGW-U释放第一网段,其中,PGW-U为占用第一网段的PGW-U。302. The PGW-C sends a first message to the PGW-U, where the first message is used to instruct the PGW-U to release the first network segment, where the PGW-U is the PGW-U occupying the first network segment.
其中,第一消息中可以包括用于指示第一网段的信息,例如,第一网段的信息可以为第一网段的IP地址和掩码,第一网段的信息也可以为第一网段的起始IP地址和结束IP地址等。下文所述的实施例二和实施例三中的网段的信息同样可以为网段的IP地址和掩码,也可以为网段的起始IP地址和结束IP地址,下文中不再赘述。The first message may include information used to indicate the first network segment. For example, the information of the first network segment may be the IP address and mask of the first network segment, and the information of the first network segment may also be the first network segment. The starting IP address and ending IP address of the network segment, etc. The information of the network segment in the second and third embodiments described below may also be the IP address and mask of the network segment, or may be the starting IP address and the ending IP address of the network segment, which will not be described in detail below.
进一步的,第一消息中还可以包括用于指示PGW-U释放网段的信息,当然,该信息也可以通过第一消息的消息类型去指示。Further, the first message may also include information for instructing the PGW-U to release the network segment, and of course, the information may also be indicated by the message type of the first message.
第一消息可以为节点级的消息(例如,PFCP会话更新请求(PFCP associationupdate request)),也可以为会话级的消息(例如,PFCP会话删除请求(PFCP sessiondeletion request))。不论第一消息是节点级的消息还是会话级的消息,均可以通过在第一消息中添加包含第一网段的信息的私有信元指示PGW-U释放第一网段。第一消息也可以不是现有的消息,而是新定义的消息,本申请实施例对此不作具体限定。The first message may be a node-level message (eg, a PFCP session update request (PFCP associationupdate request)), or a session-level message (eg, a PFCP session deletion request (PFCP sessiondeletion request)). Regardless of whether the first message is a node-level message or a session-level message, the PGW-U may be instructed to release the first network segment by adding a private information element containing the information of the first network segment to the first message. The first message may not be an existing message but a newly defined message, which is not specifically limited in this embodiment of the present application.
一种情况下(记为情况1),PGW-U顺利接收到第一消息,该情况下,在步骤302之后可以执行步骤303a-305a。In one case (referred to as case 1), the PGW-U successfully receives the first message. In this case, steps 303a-305a can be performed after step 302.
303a、PGW-U从PGW-C接收第一消息,并根据第一消息释放第一网段。303a. The PGW-U receives the first message from the PGW-C, and releases the first network segment according to the first message.
可选的,第一消息中还包括第一时间戳,第一时间戳用于指示PGW-C发送第一消息的时间。该情况下,PGW-U根据第一消息释放第一网段可以包括:PGW-U根据第一消息判断是否有使用第一网段中的地址的本地会话;若是,PGW-U比较创建本地会话的时间戳与第一时间戳;若创建本地会话的时间戳早于第一时间戳,PGW-U释放第一网段。进一步的,在步骤303a之后,该方法还可以包括:PGW-U删除使用第一网段中的地址的本地会话。Optionally, the first message further includes a first timestamp, where the first timestamp is used to indicate the time when the PGW-C sends the first message. In this case, the release of the first network segment by the PGW-U according to the first message may include: the PGW-U determines whether there is a local session using the address in the first network segment according to the first message; if so, the PGW-U compares and creates a local session The timestamp and the first timestamp; if the timestamp for creating the local session is earlier than the first timestamp, the PGW-U releases the first network segment. Further, after step 303a, the method may further include: the PGW-U deletes the local session using the address in the first network segment.
若创建本地会话的时间戳晚于第一时间戳,则PGW-U保留本地会话,不释放第一网段。需要说明的是,若创建本地会话的时间戳晚于第一时间戳,说明新激活的会话使用了第一网段中的地址,则保留本地会话。该可选的方法可以防止会话的误删以及网段的误释放。If the timestamp for creating the local session is later than the first timestamp, the PGW-U retains the local session and does not release the first network segment. It should be noted that if the time stamp of creating the local session is later than the first time stamp, it means that the newly activated session uses the address in the first network segment, and the local session is retained. This optional method can prevent accidental deletion of sessions and accidental release of network segments.
其中,第一消息中可以使用私有信元携带用于指示第一网段的信息和/或第一时间戳。Wherein, a private information element may be used in the first message to carry the information used to indicate the first network segment and/or the first timestamp.
304a、PGW-U向PGW-C发送第二消息,第二消息用于指示PGW-U释放了第一网段。304a. The PGW-U sends a second message to the PGW-C, where the second message is used to instruct the PGW-U to release the first network segment.
其中,第二消息中可以包括用于指示第一网段的信息,例如,第一网段的IP地址、第一网段的掩码、第一网段的起始IP地址和结束IP地址等。进一步的,第二消息中还可以包括用于指示PGW-U释放了网段的信息,当然,该信息也可以通过第二消息的消息类型去指示。Wherein, the second message may include information used to indicate the first network segment, for example, the IP address of the first network segment, the mask of the first network segment, the starting IP address and the ending IP address of the first network segment, etc. . Further, the second message may also include information for indicating that the PGW-U releases the network segment, and of course, the information may also be indicated by the message type of the second message.
305a、PGW-C从PGW-U接收第二消息,根据第二消息释放第一网段。305a. The PGW-C receives the second message from the PGW-U, and releases the first network segment according to the second message.
PGW-C通过在PGW-U释放第一网段之后,再释放第一网段,从而使得第一网段不会被分配给两个PGW-U,避免两个PGW-U发布相同的网段路由。The PGW-C releases the first network segment after the PGW-U releases the first network segment, so that the first network segment is not allocated to two PGW-Us and prevents the two PGW-Us from releasing the same network segment routing.
在步骤305a之后,PGW-C可以将第一网段分配给任意一个PGW-U使用。After step 305a, the PGW-C may allocate the first network segment to any PGW-U for use.
在执行步骤301-302、303a-305a期间,若有会话去激活,可能触发多条释放PGW-U中的网段的消息,PGW-C可以同时处理多条释放PGW-U中的网段的消息以及这些消息的响应消息。During the execution of steps 301-302, 303a-305a, if a session is deactivated, multiple messages for releasing the network segment in the PGW-U may be triggered, and the PGW-C can simultaneously process multiple messages for releasing the network segment in the PGW-U. messages and response messages to those messages.
另一种情况下(记为情况2),可能由于Sxb接口链路闪断或中断,PGW-U未顺利接收到第一消息,该情况下,针对PGW-C,在步骤302之后可以执行步骤303b和304b,针对PGW-U,在步骤302之后可以执行步骤303c。In another case (referred to as case 2), the PGW-U may not successfully receive the first message due to the flash or interruption of the Sxb interface link. In this case, for the PGW-C, steps can be performed after step 302 303b and 304b, for PGW-U, step 303c may be performed after step 302.
303b、PGW-C未接收到第一消息的响应消息,PGW-C每隔一段时间向PGW-U发送第一消息。303b, the PGW-C does not receive the response message of the first message, and the PGW-C sends the first message to the PGW-U at regular intervals.
需要说明的是,Sxb接口链路闪断的情况下,PGW-C在后续发送的第一消息有可能被PGW-U接收到,该情况下,可以执行上述步骤303a-305a所示的方法。It should be noted that, when the Sxb interface link is flashed, the first message sent by the PGW-C subsequently may be received by the PGW-U. In this case, the methods shown in the above steps 303a-305a may be performed.
PGW-C发送两个相邻的第一消息之间的时间间隔可以相同也可以不同,具体可以根据实际的应用场景进行设计。The time interval between the PGW-C sending two adjacent first messages may be the same or different, and may be specifically designed according to actual application scenarios.
304b、若在第一预设时间段内均未接收到第一消息的响应消息,PGW-C释放分配给PGW-U的网段。304b. If no response message to the first message is received within the first preset time period, the PGW-C releases the network segment allocated to the PGW-U.
其中,PGW-C可以设置一个第一定时器,第一定时器所定的时长为第一预设时间段,PGW-C可以在发送首个第一消息时启动第一定时器(即第一预设时间段的起始时间为发送首个第一消息的时间),在第一定时器超时时释放分配给PGW-U的网段;也可以在确定Sxb接口链路中断时启动第一定时器(即第一预设时间段的起始时间可以为PGW-C确定Sxb接口链路中断的时间),在第一定时器超时时释放分配给PGW-U的网段。示例性的,第一预设时间段可以为30分钟。The PGW-C may set a first timer, the duration set by the first timer is the first preset time period, and the PGW-C may start the first timer (that is, the first preset time period) when sending the first first message. Let the start time of the time period be the time of sending the first first message), and release the network segment allocated to the PGW-U when the first timer times out; the first timer can also be started when it is determined that the Sxb interface link is interrupted (That is, the start time of the first preset time period may be the time when the PGW-C determines the Sxb interface link interruption), and the network segment allocated to the PGW-U is released when the first timer expires. Exemplarily, the first preset time period may be 30 minutes.
在步骤304b之后,PGW-C可以将原本PGW-U占用的网段分配给任意一个PGW-U使用。After step 304b, the PGW-C may allocate the network segment originally occupied by the PGW-U to any PGW-U for use.
其中,PGW-U占用的网段包括第一网段。The network segment occupied by the PGW-U includes the first network segment.
在执行步骤301-302、303b-304b期间,若有会话去激活,可能触发多条释放PGW-U的网段的消息,PGW-C可以同时处理多条释放PGW-U中的网段的消息以及这些消息的响应消息。During the execution of steps 301-302, 303b-304b, if a session is deactivated, multiple messages for releasing the network segment of the PGW-U may be triggered, and the PGW-C can process multiple messages for releasing the network segment in the PGW-U at the same time. and response messages to these messages.
303c、PGW-U确定与PGW-C之间的Sxb接口链路中断,PGW-U在第二预设时间段之后释放PGW-U中由PGW-C分配的网段。303c, the PGW-U determines that the Sxb interface link with the PGW-C is interrupted, and the PGW-U releases the network segment allocated by the PGW-C in the PGW-U after the second preset time period.
其中,PGW-U可以设置一个第二定时器,第二定时器所定的时长为第二预设时间段,PGW-U可以在确定Sxb接口链路中断时启动第二定时器(即第二预设时间段的起始时间为PGW-U确定Sxb接口链路中断的时间),在第二定时器超时时释放PGW-U中由PGW-C分配的网段。示例性的,第二预设时间段可以为15分钟。Wherein, the PGW-U may set a second timer, the time length set by the second timer is the second preset time period, and the PGW-U may start the second timer (that is, the second preset time period) when it determines that the Sxb interface link is interrupted The starting time of the time period is set as the time when the PGW-U determines that the Sxb interface link is interrupted), and the network segment allocated by the PGW-C in the PGW-U is released when the second timer expires. Exemplarily, the second preset time period may be 15 minutes.
其中,PGW-U中的PGW-C分配的网段包括第一网段。The network segment allocated by the PGW-C in the PGW-U includes the first network segment.
需要说明的是,第一预设时间段应当大于第二预设时间段,以保证PGW-C上释放分配给PGW-U的网段时,PGW-U中PGW-C分配的网段已经被释放。It should be noted that the first preset time period should be greater than the second preset time period to ensure that when the network segment allocated to the PGW-U is released on the PGW-C, the network segment allocated by the PGW-C in the PGW-U has been freed.
可选的,在步骤303c之后,该方法还包括:PGW-U删除使用PGW-C分配的网段中的地址的本地会话。由于会话数量较大,删除时间可能较长,因此,PGW-U可以先释放网段再删除本地会话,以避免两个PGW-U发布相同的网段路由。Optionally, after step 303c, the method further includes: the PGW-U deletes the local session using the address in the network segment allocated by the PGW-C. Due to the large number of sessions, the deletion time may be longer. Therefore, the PGW-U can release the network segment first and then delete the local session, so as to avoid two PGW-Us from advertising the same network segment route.
该实施例中的PGW-U可以是与PGW-C对应的PGW-U中的任意一个PGW-U。The PGW-U in this embodiment may be any one of the PGW-Us corresponding to the PGW-C.
该实施例提供的方法,PGW-C通过在PGW-U释放PGW-U中PGW-C分配的网段之后,再释放PGW-C中的分配给该PGW-U的网段,从而使得同一个网段不会被分配给两个PGW-U,即两个PGW-U不会发布相同的网段路由。该实施例可以解决上述场景1和场景2下的问题。In the method provided in this embodiment, the PGW-C releases the network segment allocated to the PGW-U in the PGW-C after the PGW-U releases the network segment allocated by the PGW-C in the PGW-U, so that the same network segment is released. The network segment will not be allocated to two PGW-Us, that is, the two PGW-Us will not advertise the same network segment route. This embodiment can solve the problems in the above scenarios 1 and 2.
实施例二Embodiment 2
为了释放PGW-U中的无效网段,本申请实施例还提供了一种释放网段的方法,如图4所示,包括:In order to release the invalid network segment in the PGW-U, the embodiment of the present application also provides a method for releasing the network segment, as shown in FIG. 4 , including:
401、PGW-U通过与PGW-C进行网段核查确定PGW-U的无效网段;其中,PGW-U的无效网段是指PGW-U中由PGW-C分配的全部网段中的、除PGW-C上记录的已分配给PGW-U的全部网段之外的网段。401. The PGW-U determines the invalid network segment of the PGW-U by performing network segment verification with the PGW-C; wherein, the invalid network segment of the PGW-U refers to, among all the network segments allocated by the PGW-C in the PGW-U. A network segment other than all network segments recorded on PGW-C and allocated to PGW-U.
需要说明的是,一个PGW-C可以对应多个PGW-U,该PGW-C与该多个PGW-U之间的网段核查可以并发进行。也就是说,PGW-C可以支持同时与多个PGW-U通信。It should be noted that one PGW-C may correspond to multiple PGW-Us, and network segment verification between the PGW-C and the multiple PGW-Us may be performed concurrently. That is, the PGW-C can support simultaneous communication with multiple PGW-Us.
402、PGW-U释放PGW-U的无效网段。402. The PGW-U releases the invalid network segment of the PGW-U.
在步骤402之后,该方法还可以包括:PGW-U删除使用PGW-U的无效网段中的地址的本地会话。由于会话数量较大,删除时间可能较长,因此,PGW-U可以先释放无效网段再删除本地会话,以避免两个PGW-U发布相同的网段路由,同时尽早恢复无效网段的使用。After step 402, the method may further include: the PGW-U deletes the local session using the address in the invalid network segment of the PGW-U. Due to the large number of sessions, the deletion time may be longer. Therefore, the PGW-U can release the invalid network segment first and then delete the local session, so as to avoid the two PGW-Us from publishing the same network segment route and restore the use of the invalid network segment as soon as possible. .
PGW-U和PGW-C之间可以每隔一段时间(例如,周期性的)进行网段核查,也可以在某些场景下进行网段核查,这些场景可以为:PGW-C因为内部异常(例如PGW-C的进程复位),导致等待释放的网段信息丢失;或者,PGW-C感知Sxb接口链路从中断恢复为连接状态等。The PGW-U and PGW-C can perform network segment verification at regular intervals (for example, periodically), and can also perform network segment verification in some scenarios. These scenarios can be: PGW-C due to internal abnormality ( For example, the process of the PGW-C is reset), resulting in the loss of the network segment information waiting to be released; or, the PGW-C senses that the Sxb interface link is restored from the interruption to the connected state, and so on.
该实施例提供的方法,通过释放PGW-U的无效网段,可以避免该PGW-U与占用该PGW-U的无效网段的PGW-U发布相同的网段路由。In the method provided by this embodiment, by releasing the invalid network segment of the PGW-U, it can be avoided that the PGW-U and the PGW-U occupying the invalid network segment of the PGW-U issue the same network segment route.
在一种实现方式中,步骤401在具体实现时可以包括以下步骤:In an implementation manner, step 401 may include the following steps when specifically implemented:
11)PGW-C向PGW-U发送至少一个核查请求,至少一个核查请求包括PGW-C上记录的分配给PGW-U的全部网段的信息。11) The PGW-C sends at least one verification request to the PGW-U, where the at least one verification request includes the information recorded on the PGW-C of all network segments allocated to the PGW-U.
其中,若一个核查请求中仅可以包括PGW-C上记录的分配给PGW-U的部分网段的信息,则PGW-C可以向PGW-U发送多个核查请求,多个核查请求包括用于指示PGW-C上记录的分配给PGW-U的全部网段的信息。可选的,若至少一个核查请求为多个核查请求,多个核查请求中的首个核查请求中包括开始(Start)标记位,开始标记位用于指示所属的核查请求为首个核查请求,多个核查请求中的最后一个核查请求中包括结束(End)标记位,结束标记位用于指示所属的核查请求为最后一个核查请求。Wherein, if a verification request can only include the information recorded on the PGW-C for a part of the network segment allocated to the PGW-U, the PGW-C can send multiple verification requests to the PGW-U, and the multiple verification requests include information for Indicates the information recorded on the PGW-C and allocated to all network segments of the PGW-U. Optionally, if at least one verification request is multiple verification requests, the first verification request among the multiple verification requests includes a start (Start) flag bit, and the start flag bit is used to indicate that the verification request to which it belongs is the first verification request. The last verification request in each verification request includes an end (End) flag bit, and the end flag bit is used to indicate that the verification request to which it belongs is the last verification request.
核查请求中还可以携带PGW-C的IP地址,用于指示发送核查请求的PGW-C。一个核查请求中可以携带多个网段的信息,PGW-C可以以消息不分片为原则(目的是为了减少IP层和/或传输控制协议(transmission control protocol,简称TCP)层的消耗)携带尽可能多的网段的信息。The verification request may also carry the IP address of the PGW-C, which is used to indicate the PGW-C sending the verification request. A verification request can carry information of multiple network segments, and the PGW-C can carry the information on the principle of not fragmenting the message (the purpose is to reduce the consumption of the IP layer and/or the transmission control protocol (TCP) layer for short) Information on as many network segments as possible.
12)PGW-U从PGW-C接收至少一个核查请求。12) PGW-U receives at least one verification request from PGW-C.
13)PGW-U根据至少一个核查请求将PGW-U中由PGW-C分配的全部网段中的、且属于PGW-C上记录的分配给PGW-U的全部网段中的网段作标记。13) The PGW-U marks, according to at least one verification request, the network segments in all the network segments allocated by the PGW-C and belonging to all the network segments recorded on the PGW-C and allocated to the PGW-U. .
示例性的(记为示例1),若至少一个核查请求中包括网段1、网段2和网段3的信息,PGW-U中由PGW-C分配的全部网段包括网段1、网段2、网段3和网段4,则PGW-U可以将网段1、网段2和网段3作标记。Exemplarily (referred to as example 1), if at least one verification request includes information on network segment 1, network segment 2, and network segment 3, all network segments allocated by PGW-C in PGW-U include network segment 1, network segment 2, and network segment 3. segment 2, segment 3, and segment 4, the PGW-U can mark segment 1, segment 2, and segment 3.
示例性的(记为示例2),标记可以为网段的时间戳,例如,步骤13)在具体实现时,可以包括:PGW-U将PGW-U中由PGW-C分配的全部网段中的、且属于PGW-C上记录的分配给PGW-U的全部网段中的网段的时间戳刷新为第二时间戳,第二时间戳用于指示PGW-C发送首个核查请求的时间或PGW-U根据首个核查请求刷新时间戳时的时间。Exemplarily (referred to as example 2), the marking can be the timestamp of the network segment, for example, step 13) In specific implementation, it can include: PGW-U adds all network segments allocated by PGW-C to PGW-U. The timestamps of the network segments recorded on the PGW-C and assigned to all network segments of the PGW-U are refreshed to the second timestamp, and the second timestamp is used to indicate the time when the PGW-C sends the first verification request Or the time when the PGW-U refreshes the timestamp according to the first verification request.
其中,当第二时间戳用于指示PGW-C发送首个核查请求的时间时,第二时间戳可以包含在核查请求中。当第二时间戳用于指示PGW-U根据首个核查请求刷新时间戳时的时间时,第二时间戳可以由PGW-U自己生成。Wherein, when the second timestamp is used to indicate the time when the PGW-C sends the first verification request, the second timestamp may be included in the verification request. When the second time stamp is used to indicate the time when the PGW-U refreshes the time stamp according to the first verification request, the second time stamp may be generated by the PGW-U itself.
14)PGW-U将PGW-U中由PGW-C分配的全部网段中的未作标记的网段确定为PGW-U的无效网段。14) PGW-U determines unmarked network segments among all network segments allocated by PGW-C in PGW-U as invalid network segments of PGW-U.
基于示例1,PGW-U可以将网段4确定为PGW-U的无效网段。Based on Example 1, the PGW-U may determine the network segment 4 as an invalid network segment of the PGW-U.
基于示例2,当标记为时间戳时,步骤14)在具体实现时可以包括:PGW-U遍历PGW-U中由PGW-C分配的全部网段的时间戳,确定时间戳早于第二时间戳的网段为PGW-U的无效网段。Based on example 2, when the mark is a timestamp, step 14) may include: PGW-U traverses the timestamps of all network segments allocated by PGW-C in PGW-U, and determines that the timestamp is earlier than the second time The stamped network segment is the invalid network segment of the PGW-U.
需要说明的是,由于PGW-C上记录的没有分配给PGW-U的网段的时间戳在网段核查的过程不会刷新,因此,可以根据PGW-U的网段的时间戳确定PGW-U的无效网段。It should be noted that, since the timestamp recorded on the PGW-C for the network segment that is not allocated to the PGW-U will not be refreshed during the network segment verification process, the PGW-U can be determined according to the timestamp of the network segment of the PGW-U. Invalid network segment of U.
其中,PGW-U可以在接收到最后一个核查请求时,执行步骤14)。PGW-U可以根据核查请求中是否包含结束标记位确定一个核查请求是否为最后一个核查请求。Wherein, the PGW-U may perform step 14) when receiving the last verification request. The PGW-U may determine whether a check request is the last check request according to whether the check request contains an end marker bit.
在网段核查期间,PGW-U若由于接收到用户的会话激活请求而新建了网段时,该网段也作标记(例如,将该网段的时间戳记为第二时间戳)。During the network segment verification, if the PGW-U creates a new network segment due to receiving a session activation request from the user, the network segment is also marked (for example, the time stamp of the network segment is a second time stamp).
在另一种实现方式中,步骤401在具体实现时可以包括以下步骤:In another implementation manner, step 401 may include the following steps when specifically implemented:
21)PGW-U向PGW-C发送至少一个核查请求,至少一个核查请求中包括PGW-U中由PGW-C分配的全部网段的信息。21) PGW-U sends at least one verification request to PGW-C, where at least one verification request includes information of all network segments allocated by PGW-C in PGW-U.
其中,若一个核查请求中仅可以包括PGW-U中由PGW-C分配的部分网段的信息,则PGW-U可以向PGW-C发送多个核查请求,多个核查请求包括用于指示PGW-U中由PGW-C分配的全部网段的信息。可选的,若至少一个核查请求为多个核查请求,多个核查请求中的首个核查请求中包括开始(Start)标记位,开始标记位用于指示所属的核查请求为首个核查请求,多个核查请求中的最后一个核查请求中包括结束(End)标记位,结束标记位用于指示所属的核查请求为最后一个核查请求。Wherein, if a verification request can only include the information of part of the network segment allocated by the PGW-C in the PGW-U, the PGW-U can send multiple verification requests to the PGW-C, and the multiple verification requests include the information used to indicate the PGW-C. -Information of all network segments allocated by PGW-C in U. Optionally, if at least one verification request is multiple verification requests, the first verification request among the multiple verification requests includes a start (Start) flag bit, and the start flag bit is used to indicate that the verification request to which it belongs is the first verification request. The last verification request in each verification request includes an end (End) flag bit, and the end flag bit is used to indicate that the verification request to which it belongs is the last verification request.
核查请求中还可以携带PGW-U的IP地址,用于指示发送核查请求的PGW-U。The verification request may also carry the IP address of the PGW-U, which is used to indicate the PGW-U sending the verification request.
22)PGW-C从PGW-U接收至少一个核查请求,并根据至少一个核查请求判断PGW-U中由PGW-C分配的全部网段中的每个网段是否在PGW-C上记录已分配给PGW-U。22) PGW-C receives at least one verification request from PGW-U, and judges whether each network segment in all network segments allocated by PGW-C in PGW-U is recorded on PGW-C according to the at least one verification request. to PGW-U.
23)PGW-C向PGW-U发送至少一个核查响应,至少一个核查响应包括PGW-U中由PGW-C分配的全部网段中的每个网段是否在PGW-C上记录已分配给PGW-U的信息。23) PGW-C sends at least one verification response to PGW-U, and at least one verification response includes whether each network segment in all network segments allocated by PGW-C in PGW-U is recorded on PGW-C as being allocated to PGW -U info.
示例性的(记为示例3),若至少一个核查请求中包括网段1、网段2和网段3的信息,则当PGW-C记录的网段1和网段2为分配给PGW-U的网段时,至少一个核查响应中指示网段1和网段2为yes,网段3为no,yes表示对应的网段为PGW-C记录的已分配给PGW-U的网段,no表示对应的网段为PGW-C记录的未分配给PGW-U的网段。Exemplarily (referred to as example 3), if at least one verification request includes information on network segment 1, network segment 2, and network segment 3, when the network segment 1 and network segment 2 recorded by the PGW-C are allocated to the PGW-C When the network segment is U, at least one verification response indicates that network segment 1 and network segment 2 are yes, and network segment 3 is no. Yes indicates that the corresponding network segment is the network segment recorded by PGW-C and allocated to PGW-U. no indicates that the corresponding network segment is the network segment recorded by the PGW-C that is not allocated to the PGW-U.
24)PGW-U从PGW-C接收至少一个核查响应,根据至少一个核查响应,将PGW-U中由PGW-C分配的全部网段中的、且在PGW-C上记录未分配给PGW-U的网段确定为PGW-U的无效网段。24) The PGW-U receives at least one verification response from the PGW-C, and according to the at least one verification response, records in the PGW-U all network segments allocated by the PGW-C that are not allocated to the PGW-C. The network segment of U is determined to be an invalid network segment of PGW-U.
基于示例3,PGW-U可以将网段3确定为PGW-U的无效网段。Based on Example 3, the PGW-U may determine the network segment 3 as an invalid network segment of the PGW-U.
需要说明的是,PGW-U可以在每接收到一个核查响应时,就确定一次PGW-U的部分无效网段,并释放PGW-U的部分无效网段,PGW-U也可以在接收到全部的核查响应时,确定PGW-U的全部无效网段,并释放PGW-U的全部无效网段。It should be noted that PGW-U can determine part of the invalid network segment of PGW-U once every time it receives a verification response, and release part of the invalid network segment of PGW-U. PGW-U can also receive all the invalid network segments of PGW-U. When the verification response is received, determine all invalid network segments of PGW-U, and release all invalid network segments of PGW-U.
可选的,若至少一个核查响应为多个核查响应,多个核查响应中的最后一个核查响应中包括结束(End)标记位,结束标记位用于指示所属的核查响应为最后一个核查响应。PGW-U可以根据核查响应中是否包含结束标记位确定一个核查响应是否为最后一个核查响应。另外,多个核查响应中的最后一个核查响应中也可以不包括结束(End)标记位,该情况下,PGW-U可以根据核查响应中包括的PGW-U中由PGW-C分配的全部网段中的每个网段是否在PGW-C上记录已分配给PGW-U的信息,确定PGW-C是否将PGW-U中由PGW-C分配的全部网段中的每个网段都核查完毕,进而确定一个核查响应是否为最后一个核查响应。Optionally, if at least one check response is multiple check responses, the last check response among the multiple check responses includes an end (End) flag bit, and the end flag bit is used to indicate that the belonging check response is the last check response. The PGW-U may determine whether a check response is the last check response according to whether the check response contains an end marker bit. In addition, the last verification response among the multiple verification responses may not include the end (End) flag bit. In this case, the PGW-U may, according to all the networks allocated by the PGW-C in the PGW-U included in the verification response Whether each network segment in the segment records the information allocated to PGW-U on PGW-C, and determines whether PGW-C checks each network segment in all network segments allocated by PGW-C in PGW-U After completion, it is further determined whether a verification response is the last verification response.
以上示例性的给出了步骤401的两种实现方式,可以理解的是,该方案的本质是通过PGW-C和PGW-U之间的信息交互进行的网段核查,因此,只要是通过PGW-C和PGW-U之间的信息交互确定PGW-U的无效网段的方案都应属于本申请实施例的保护范围之内。Two implementations of step 401 are exemplified above. It can be understood that the essence of this solution is network segment verification through information exchange between PGW-C and PGW-U. The information exchange between the C and the PGW-U to determine the invalid network segment of the PGW-U should all fall within the protection scope of the embodiments of the present application.
实施例三Embodiment 3
由于网段的分配情况以及网段中的地址的分配情况在PGW-C复位重启的情况下会丢失,该情况下,为了保证PGW-C和PGW-U中的信息的一致性,本申请实施例还提供了一种释放网段的方法,如图5所示,该方法包括:Since the allocation of the network segment and the allocation of addresses in the network segment will be lost when the PGW-C is reset and restarted, in this case, in order to ensure the consistency of the information in the PGW-C and the PGW-U, this application implements The example also provides a method for releasing a network segment, as shown in Figure 5, the method includes:
501、PGW-C复位重启。501. The PGW-C resets and restarts.
502、所述PGW-C拒绝新会话激活。502. The PGW-C rejects the activation of the new session.
由于在复位重启之后,PGW-C不知道哪些网段是被哪些PGW-U占用的,因此,PGW-C可以拒绝新会话激活,如果收到会话激活请求,PGW-C可以返回激活失败的响应消息,从而防止同一网段被分配给不同的PGW-U。Since the PGW-C does not know which network segments are occupied by which PGW-Us after reset and restart, the PGW-C can refuse the activation of the new session, and if it receives a session activation request, the PGW-C can return a response of activation failure message, thereby preventing the same network segment from being assigned to different PGW-Us.
503、PGW-C接收与所述PGW-C连接的全部PGW-U发送的第三消息和/或至少一个第四消息;一个PGW-U发送的第三消息用于指示该PGW-U释放完所述PGW-C复位重启前为该PGW-U分配的网段,一个PGW-U发送的至少一个第四消息包括该PGW-U中的所述PGW-C复位重启前为该PGW-U分配的网段的信息。503. The PGW-C receives the third message and/or at least one fourth message sent by all PGW-Us connected to the PGW-C; the third message sent by one PGW-U is used to indicate that the PGW-U has released the The network segment allocated for the PGW-U before the PGW-C resets and restarts, and at least one fourth message sent by a PGW-U includes the PGW-C in the PGW-U allocated for the PGW-U before the reset and restart information about the network segment.
第四消息中可以通过私有网元指示一个PGW-U的部分或全部网段的信息。当一个第四消息中无法携带该PGW-U的全部网段的信息时,该PGW-U可以向PGW-C发送多个第四消息,多个第四消息中包括该PGW-U的全部网段的信息。其中,所述至少一个第四消息中的最后一个第四消息中可以包括结束标志位,所述结束标志位用于指示所属的第四消息为最后一条第四消息,即该PGW-U上报完了该PGW-U的全部网段的信息。PGW-C可以根据第四消息中是否包含结束标志位确定PGW-U是否上报完成。In the fourth message, information of part or all of the network segments of a PGW-U may be indicated through the private network element. When one fourth message cannot carry information of all network segments of the PGW-U, the PGW-U may send multiple fourth messages to the PGW-C, and the multiple fourth messages include all network segments of the PGW-U segment information. Wherein, the last fourth message in the at least one fourth message may include an end flag bit, and the end flag bit is used to indicate that the belonging fourth message is the last fourth message, that is, the PGW-U has finished reporting Information about all network segments of the PGW-U. The PGW-C may determine whether the reporting by the PGW-U is completed according to whether the fourth message contains an end flag.
其中,首个第四消息可以为系统开工请求消息(即PFCP关联建立请求(PFCPAssociation Setup Request)消息),其余第四消息可以为PFCP关联更新请求(PFCPAssociation Update Request)消息。当然,第四消息也可以为新定义的消息。The first fourth message may be a system start-up request message (ie, a PFCP association setup request (PFCPAssociation Setup Request) message), and the other fourth messages may be PFCP association update request (PFCPAssociation Update Request) messages. Of course, the fourth message may also be a newly defined message.
504、所述PGW-C允许新会话激活。504. The PGW-C allows activation of a new session.
可选的,在步骤503中,若所述PGW-C仅接收与所述PGW-C连接的全部PGW-U发送的至少一个第四消息,该方法还包括:Optionally, in step 503, if the PGW-C only receives at least one fourth message sent by all PGW-Us connected to the PGW-C, the method further includes:
11)所述PGW-C为新激活的会话分配除所述全部PGW-U中的所述PGW-C复位重启前分配的网段之外的网段中的地址。11) The PGW-C allocates, for the newly activated session, an address in a network segment other than the network segment allocated before the reset and restart of the PGW-C in all the PGW-Us.
由于在PGW-C接收到了与所述PGW-C连接的全部PGW-U发送的至少一个第四消息之后,PGW-C知道了哪些网段是被哪些PGW-U占用的,因此,PGW-C可以允许新会话激活,但是,为新激活的会话分配的地址不应当为全部PGW-U中的所述PGW-C复位重启前分配的网段中的地址,从而防止同一网段被分配给不同的PGW-U。After the PGW-C receives at least one fourth message sent by all the PGW-Us connected to the PGW-C, the PGW-C knows which network segments are occupied by which PGW-Us, therefore, the PGW-C New sessions can be allowed to be activated, but the addresses allocated for newly activated sessions should not be addresses in the network segment allocated before the reset and restart of the PGW-C in all PGW-Us, thereby preventing the same network segment from being allocated to different PGW-U.
以与PGW-C连接的第一PGW-U为例,第一PGW-U确定PGW-C复位重启后,可以执行以下步骤:11)第一PGW-U释放所述PGW-C复位重启前为所述第一PGW-U分配的网段。Taking the first PGW-U connected to the PGW-C as an example, after the first PGW-U determines that the PGW-C is reset and restarted, the following steps can be performed: 11) The first PGW-U releases the PGW-C before reset and restart: The network segment allocated by the first PGW-U.
其中,PGW-U可以通过PFCP接口心跳消息感知PGW-C复位重启。第一PGW-U为与PGW-C连接的PGW-U中的任意一个PGW-U。The PGW-U can sense the reset and restart of the PGW-C through the heartbeat message of the PFCP interface. The first PGW-U is any one of the PGW-Us connected to the PGW-C.
如果要等会话释放完再释放网段,由于会话数量太多,会导致网段的释放有较大的时延,进而导致PGW-C不能激活新会话,影响业务。为了避免该问题,在本申请实施例中,PGW-U先对网段进行释放,再对会话进行删除,网段的释放不依赖于会话的删除,先对网段进行释放可以保证网段的快速回收。If the network segment needs to be released after the session is released, because the number of sessions is too large, there will be a large delay in releasing the network segment, which will cause the PGW-C to fail to activate a new session and affect services. In order to avoid this problem, in this embodiment of the present application, the PGW-U first releases the network segment, and then deletes the session. The release of the network segment does not depend on the deletion of the session. Fast recycling.
步骤11)在具体实现时,可以包括:第一PGW-U释放时间戳在PGW-C复位重启前的网段。需要说明的是,PGW-U中的每个网段对应一个时间戳,一个网段对应的时间戳用于指示PGW-C为PGW-U分配该网段时的时间。Step 11), in specific implementation, may include: the first PGW-U releases the network segment whose timestamp is before the reset and restart of the PGW-C. It should be noted that each network segment in the PGW-U corresponds to a time stamp, and the time stamp corresponding to one network segment is used to indicate the time when the PGW-C allocates the network segment to the PGW-U.
在步骤11)之后,可选的,该方法还包括:所述第一PGW-U向所述PGW-C发送第三消息,所述第三消息用于指示所述第一PGW-U释放完所述PGW-C复位重启前为所述第一PGW-U分配的网段。After step 11), optionally, the method further includes: the first PGW-U sends a third message to the PGW-C, where the third message is used to indicate that the release of the first PGW-U is completed The network segment allocated to the first PGW-U before the PGW-C resets and restarts.
可选的,在步骤11)之后,该方法还包括:所述第一PGW-U删除使用所述PGW-C复位重启前为所述第一PGW-U分配的网段中的地址的本地会话;或者,第一PGW-U删除PGW-C复位重启前建立的会话。Optionally, after step 11), the method further includes: the first PGW-U deletes the local session using the address in the network segment allocated for the first PGW-U before the reset and restart of the PGW-C or, the first PGW-U deletes the session established before the reset and restart of the PGW-C.
可选的,该方法还包括:所述第一PGW-U向所述PGW-C发送至少一个第四消息,所述至少一个第四消息包括所述第一PGW-U的网段的信息。Optionally, the method further includes: the first PGW-U sends at least one fourth message to the PGW-C, where the at least one fourth message includes information of the network segment of the first PGW-U.
可选的,在步骤503中,若所述PGW-C仅接收到与所述PGW-C连接的全部PGW-U发送的至少一个第四消息,该方法还包括:Optionally, in step 503, if the PGW-C only receives at least one fourth message sent by all PGW-Us connected to the PGW-C, the method further includes:
21)所述PGW-C锁定所述全部PGW-U中的所述PGW-C复位重启前分配的网段;21) The PGW-C locks the network segment allocated before the reset and restart of the PGW-C in all the PGW-Us;
22)所述PGW-C从第一PGW-U接收第三消息;22) the PGW-C receives the third message from the first PGW-U;
23)所述PGW-C将获取到的所述PGW-C复位重启前为所述第一PGW-U分配的网段解锁。23) The PGW-C unlocks the acquired network segment allocated to the first PGW-U before the PGW-C resets and restarts.
其中,锁定网段是指使得网段处于无法被分配的状态。也就是说,当一个网段被锁定之后,该网段无法进行分配。解锁网段是指使得网段处于能够被分配的状态。也就是说,一个网段解锁之后,该网段可以分配给任意一个PGW-U。The locking of the network segment means that the network segment is in a state that cannot be allocated. That is, when a network segment is locked, the network segment cannot be allocated. Unlocking a network segment means making the network segment in a state that can be allocated. That is to say, after a network segment is unlocked, the network segment can be assigned to any PGW-U.
需要说明的是,由于第一PGW-U的时间戳在所述PGW-C复位重启前的网段已经被释放,因此,这些网段可以分配给其他PGW-U,因此,PGW-C将这些网段解锁,解锁之后的网段可以分配给任意一个PGW-U。It should be noted that since the time stamp of the first PGW-U has been released before the PGW-C resets and restarts the network segments, these network segments can be allocated to other PGW-Us. Therefore, the PGW-C assigns these network segments to The network segment is unlocked, and the unlocked network segment can be assigned to any PGW-U.
PGW-C通过锁定PGW-U的网段,从而可以防止在PGW-U释放网段之前,PGW-C将这些网段分配给其他PGW-U,避免两个PGW-U发布相同的网段路由。By locking the network segment of PGW-U, PGW-C can prevent PGW-C from assigning these network segments to other PGW-Us before PGW-U releases the network segment, so as to prevent two PGW-Us from publishing the same network segment route .
上述主要从各个网元之间交互的角度对本申请实施例的方案进行了介绍。可以理解的是,各个网元,例如控制面网关或数据面网关为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of interaction between various network elements. It can be understood that each network element, such as a control plane gateway or a data plane gateway, includes hardware structures and/or software modules corresponding to performing the functions in order to implement the above functions. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对控制面网关或数据面网关进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the control plane gateway or the data plane gateway may be divided into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. middle. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and other division methods may be used in actual implementation.
在采用集成的单元的情况下,图6示出了上述实施例中所涉及的通信装置的一种可能的结构示意图,该通信装置包括处理单元601和通信单元602,还可以包括存储单元603。图6所示的结构示意图可以用于示意上述实施例中所涉及的控制面网关或数据面网关的结构。In the case of using an integrated unit, FIG. 6 shows a possible schematic structural diagram of the communication device involved in the above embodiment, the communication device includes a processing unit 601 and a communication unit 602 , and may also include a storage unit 603 . The schematic structural diagram shown in FIG. 6 may be used to illustrate the structure of the control plane gateway or the data plane gateway involved in the foregoing embodiments.
当图6所示的结构示意图用于示意上述实施例中所涉及的控制面网关(例如,图3至图5中的PGW-C)的结构时,处理单元601用于对控制面网关的动作进行控制管理,例如,处理单元601用于支持控制面网关执行图3中的步骤301、步骤302、步骤304a、步骤305a、步骤303b和步骤304b,图4中的步骤401,图5中的步骤501至步骤504,和/或本申请实施例中所描述的其他过程中的控制面网关执行的动作。通信单元602用于支持控制面网关与其他网络实体的通信,例如,与图3中示出的数据面网关之间的通信。存储单元603用于存储控制面网关的程序代码和数据。When the schematic structural diagram shown in FIG. 6 is used to illustrate the structure of the control plane gateway (for example, the PGW-C in FIG. 3 to FIG. 5 ) involved in the above embodiments, the processing unit 601 is used to perform actions on the control plane gateway For control management, for example, the processing unit 601 is used to support the control plane gateway to perform steps 301, 302, 304a, 305a, 303b and 304b in FIG. 3, step 401 in FIG. 4, and steps in FIG. 5 Steps 501 to 504, and/or actions performed by the control plane gateway in other processes described in the embodiments of this application. The communication unit 602 is used to support the communication between the control plane gateway and other network entities, for example, the communication with the data plane gateway shown in FIG. 3 . The storage unit 603 is used for storing program codes and data of the control plane gateway.
当图6所示的结构示意图用于示意上述实施例中所涉及的数据面网关(例如,图3至图5中的PGW-U)的结构时,处理单元601用于对数据面网关的动作进行控制管理,例如,处理单元601用于支持数据面网关执行图3中的步骤302、步骤303a、步骤304a、步骤303b、步骤303c,图4中的步骤401和步骤402,图5中的步骤503,和/或本申请实施例中所描述的其他过程中的数据面网关执行的动作。通信单元602用于支持数据面网关与其他网络实体的通信,例如,与图3中示出的控制面网关之间的通信。存储单元603用于存储数据面网关的程序代码和数据。When the schematic structural diagram shown in FIG. 6 is used to illustrate the structure of the data plane gateway (for example, the PGW-U in FIG. 3 to FIG. 5 ) involved in the above-mentioned embodiments, the processing unit 601 is used for the action of the data plane gateway For control management, for example, the processing unit 601 is used to support the data plane gateway to perform steps 302, 303a, 304a, 303b, 303c in FIG. 3, steps 401 and 402 in FIG. 4, and steps in FIG. 5 503, and/or actions performed by the data plane gateway in other processes described in the embodiments of this application. The communication unit 602 is used to support the communication between the data plane gateway and other network entities, for example, the communication with the control plane gateway shown in FIG. 3 . The storage unit 603 is used to store program codes and data of the data plane gateway.
其中,处理单元601可以是处理器或控制器,通信单元602可以是通信接口、收发器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口。存储单元603可以是存储器。The processing unit 601 may be a processor or a controller, and the communication unit 602 may be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a general term and may include one or more interfaces. The storage unit 603 may be a memory.
当处理单元601为处理器,通信单元602为通信接口,存储单元603为存储器时,本申请实施例所涉及的通信装置可以为图2所示的通信装置。When the processing unit 601 is a processor, the communication unit 602 is a communication interface, and the storage unit 603 is a memory, the communication device involved in the embodiment of the present application may be the communication device shown in FIG. 2 .
当图2所示的结构示意图用于示意上述实施例中所涉及的控制面网关的结构时,处理器201用于对控制面网关的动作进行控制管理,例如,处理器201用于支持控制面网关执行图3中的步骤301、步骤302、步骤304a、步骤305a、步骤303b和步骤304b,图4中的步骤401,图5中的步骤501至步骤504,和/或本申请实施例中所描述的其他过程中的控制面网关执行的动作。通信接口204用于支持控制面网关与其他网络实体的通信,例如,与图3中示出的数据面网关之间的通信。存储器203用于存储控制面网关的程序代码和数据。When the schematic structural diagram shown in FIG. 2 is used to illustrate the structure of the control plane gateway involved in the above embodiment, the processor 201 is used to control and manage the actions of the control plane gateway, for example, the processor 201 is used to support the control plane The gateway executes steps 301, 302, 304a, 305a, 303b, and 304b in FIG. 3, step 401 in FIG. 4, steps 501 to 504 in FIG. Actions performed by the control plane gateway in other processes described. The communication interface 204 is used to support communication between the control plane gateway and other network entities, eg, with the data plane gateway shown in FIG. 3 . The memory 203 is used to store program codes and data of the control plane gateway.
当图2所示的结构示意图用于示意上述实施例中所涉及的数据面网关的结构时,处理器201用于对数据面网关的动作进行控制管理,例如,处理器201用于支持数据面网关执行图3中的步骤302、步骤303a、步骤304a、步骤303b、步骤303c,图4中的步骤401和步骤402,图5中的步骤503,和/或本申请实施例中所描述的其他过程中的数据面网关执行的动作。通信接口204用于支持数据面网关与其他网络实体的通信,例如,与图3中示出的控制面网关之间的通信。存储器203用于存储数据面网关的程序代码和数据。When the schematic structural diagram shown in FIG. 2 is used to illustrate the structure of the data plane gateway involved in the above embodiments, the processor 201 is used to control and manage the actions of the data plane gateway, for example, the processor 201 is used to support the data plane The gateway executes step 302, step 303a, step 304a, step 303b, step 303c in FIG. 3, step 401 and step 402 in FIG. 4, step 503 in FIG. 5, and/or other steps described in the embodiments of the present application The action performed by the data plane gateway in the process. The communication interface 204 is used to support communication between the data plane gateway and other network entities, eg, with the control plane gateway shown in FIG. 3 . The memory 203 is used to store program codes and data of the data plane gateway.
本申请实施例还提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述任一方法。Embodiments of the present application further provide a computer-readable storage medium, including instructions, which, when executed on a computer, cause the computer to execute any of the foregoing methods.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一方法。Embodiments of the present application also provide a computer program product containing instructions, which, when run on a computer, enables the computer to execute any of the above methods.
本申请实施例还提供了一种通信系统,包括上述实施例中的数据面网关和控制面网关。An embodiment of the present application further provides a communication system, including the data plane gateway and the control plane gateway in the foregoing embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,简称DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,简称SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server, or data center over a wire (e.g. Coaxial cable, optical fiber, digital subscriber line (DSL for short)) or wireless (such as infrared, wireless, microwave, etc.) means to transmit to another website site, computer, server or data center. Computer-readable storage media can be any available media that can be accessed by a computer or data storage devices including one or more servers, data centers, etc., that can be integrated with the media. Useful media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, solid state disk (SSD) for short), and the like.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看附图、公开内容、以及所附权利要求书,可理解并实现公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the application is described herein in conjunction with various embodiments, in practicing the claimed application, those skilled in the art can understand and implement the disclosure by reviewing the drawings, the disclosure, and the appended claims Other variations of the embodiment. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that these measures cannot be combined to advantage.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Although the application has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made therein without departing from the spirit and scope of the application. Accordingly, this specification and drawings are merely exemplary illustrations of the application as defined by the appended claims, and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of this application. Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims (12)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811533487.4A CN111328123B (en) | 2018-12-14 | 2018-12-14 | Method and device for releasing network segment |
PCT/CN2019/125241 WO2020119791A1 (en) | 2018-12-14 | 2019-12-13 | Method and device for releasing network segment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811533487.4A CN111328123B (en) | 2018-12-14 | 2018-12-14 | Method and device for releasing network segment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111328123A CN111328123A (en) | 2020-06-23 |
CN111328123B true CN111328123B (en) | 2022-06-24 |
Family
ID=71076802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811533487.4A Active CN111328123B (en) | 2018-12-14 | 2018-12-14 | Method and device for releasing network segment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111328123B (en) |
WO (1) | WO2020119791A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107484224A (en) * | 2016-06-08 | 2017-12-15 | 中国移动通信有限公司研究院 | A data transmission method and device |
CN107872326A (en) * | 2016-09-26 | 2018-04-03 | 华为技术有限公司 | A method, device and system for releasing session resources |
CN108377582A (en) * | 2016-11-04 | 2018-08-07 | 华为技术有限公司 | Method, network element and system for deleting user plane tunnel |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8477614B2 (en) * | 2006-06-30 | 2013-07-02 | Centurylink Intellectual Property Llc | System and method for routing calls if potential call paths are impaired or congested |
US8238253B2 (en) * | 2006-08-22 | 2012-08-07 | Embarq Holdings Company, Llc | System and method for monitoring interlayer devices and optimizing network performance |
WO2017078776A1 (en) * | 2015-11-06 | 2017-05-11 | Intel IP Corporation | User plane resource allocation |
CN108811000B (en) * | 2017-05-05 | 2021-02-26 | 华为技术有限公司 | Parameter determination method and communication entity |
CN108882315B (en) * | 2017-05-08 | 2020-11-10 | 电信科学技术研究院 | Path switching method and network equipment |
-
2018
- 2018-12-14 CN CN201811533487.4A patent/CN111328123B/en active Active
-
2019
- 2019-12-13 WO PCT/CN2019/125241 patent/WO2020119791A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107484224A (en) * | 2016-06-08 | 2017-12-15 | 中国移动通信有限公司研究院 | A data transmission method and device |
CN107872326A (en) * | 2016-09-26 | 2018-04-03 | 华为技术有限公司 | A method, device and system for releasing session resources |
CN108377582A (en) * | 2016-11-04 | 2018-08-07 | 华为技术有限公司 | Method, network element and system for deleting user plane tunnel |
Also Published As
Publication number | Publication date |
---|---|
WO2020119791A1 (en) | 2020-06-18 |
CN111328123A (en) | 2020-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109101341B (en) | Distribution method and equipment of distributed lock | |
BR112020016723A2 (en) | SYSTEM AND METHOD FOR EU CONTEXT AND PDU SESSION CONTEXT MANAGEMENT | |
BR112019016197A2 (en) | method and device to support access control and mobility management | |
BR112020023244A2 (en) | message and system for influence of application function on the traffic route | |
CN111278031A (en) | PDU type setting method, UE strategy setting method and related entity | |
CN110166580A (en) | Method, equipment and the system of resource management | |
CN109819530B (en) | Communication method and device | |
CN112437456A (en) | A communication method and device in a non-public network | |
WO2019134648A1 (en) | Implementation method and device for control plane resource migration, and network function entity | |
EP3470984A1 (en) | Method, device, and system for managing disk lock | |
CN110266826B (en) | Address management method, equipment and system | |
US20170237826A1 (en) | Trigger management method and apparatus for cse, cse and network element of bearer network | |
WO2019154017A1 (en) | Multipath establishing method and apparatus | |
WO2020216038A1 (en) | Data management method, lepm, and mepm | |
CN108183849B (en) | Device management method, device and system based on L2TP | |
CN112600854A (en) | Software upgrading method and system | |
EP3197207A1 (en) | Method for managing application resources and registered node in m2m | |
CN110830279B (en) | Management method and device for management service | |
CN114158038B (en) | A communication method, device and storage medium | |
CN111328123B (en) | Method and device for releasing network segment | |
CN115499941B (en) | Method, device and equipment for determining priority of F-TEID (resource-based application identifier) | |
WO2018082574A1 (en) | Information sending method, unit and system | |
CN107534678B (en) | Method, device and system for establishing connection between VNFM and VIM | |
US20090059840A1 (en) | Wireless communication system and method for managing service flow identifier in the same | |
WO2022111031A1 (en) | Address allocation method, upf entity, smf entity and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |