CN109120528B - Network communication method and related equipment - Google Patents

Network communication method and related equipment Download PDF

Info

Publication number
CN109120528B
CN109120528B CN201710486231.1A CN201710486231A CN109120528B CN 109120528 B CN109120528 B CN 109120528B CN 201710486231 A CN201710486231 A CN 201710486231A CN 109120528 B CN109120528 B CN 109120528B
Authority
CN
China
Prior art keywords
asid
information
access network
data packet
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710486231.1A
Other languages
Chinese (zh)
Other versions
CN109120528A (en
Inventor
魏鑫鹏
杨飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710486231.1A priority Critical patent/CN109120528B/en
Publication of CN109120528A publication Critical patent/CN109120528A/en
Application granted granted Critical
Publication of CN109120528B publication Critical patent/CN109120528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/31Flow control; Congestion control by tagging of packets, e.g. using discard eligibility [DE] bits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application relates to the field of communications, and in particular, to a network communication method and related device. In the method, access network equipment receives a data packet sent by UE, and an ID header of the data packet comprises a UE ID and an ASID; the access network equipment acquires service flow mode information corresponding to the ASID; the access network equipment forwards the data packet according to the routing entry matched with the ASID in the ID routing table acquired by the access network equipment; when the traffic flow mode information indicates that downlink data transmission exists, the access network equipment creates or updates a temporary context of the UE, wherein the temporary context comprises the information of the UE ID and the cell. In the embodiment of the application, the data packet format and the corresponding processing enable the UE to send the data packet without signaling interaction with a network, in addition, only temporary context needs to be stored on the access network equipment, the data packets of a plurality of UEs are forwarded by the same ID routing forwarding table, and a large amount of context does not need to be stored on the access network equipment, so that the utilization of network resources is reduced from two aspects of signaling overhead and network storage.

Description

Network communication method and related equipment
Technical Field
The present application relates to the field of communications, and in particular, to a network communication method and related device.
Background
In the current Long Term Evolution (LTE) network architecture, for a Mobile broadband (MBB), services with a large data volume, such as voice call and internet access, are mainly oriented, in the architecture, after a User Equipment (UE) attaches, the network Equipment establishes a bearer through complex signaling interaction, and maintains a context in the network Equipment to provide services for the UE, such as an Mobility Management (EMM), a Session Management (EPS Session Management, ESM) context, tunnel information, and the like, which are maintained in the network Equipment until the UE disconnects. These contexts require a large amount of resources (e.g., e.g. signaling resources, storage resources) to be consumed for maintenance, increasing the cost of capacity expansion of the network device.
Under the network architectures such as LTE, for Internet of Things (IoT for short), the problems of large system overhead and low resource utilization rate due to the large number of terminals connected and small single transmission traffic caused by the characteristics of IoT service are specifically shown as follows: the signaling is complex; about 20-30 signaling interaction processes are needed from equipment network access to data transmission; the network needs to maintain a large amount of context for the transmission; context storage of about 100 k-200 k is provided for each device in the network; the context maintenance process also requires signaling interaction.
Although the existing network architecture is optimized properly by some techniques, the data transmission mode of the existing network architecture is still basically followed, that is, signaling interaction is required, context is maintained, and the optimization degree is limited, the existing cellular network needs corresponding network signaling interaction when transmitting the IoT service for each IoT terminal and maintains a separate network context for the terminal, which causes inefficiency in transmitting the IoT service by the network due to the transmission characteristics of the IoT service, that is, the amount of network resource overhead generated with respect to the transmitted user data.
Disclosure of Invention
The embodiment of the application provides a network communication method and related equipment to solve the problem that the efficiency of network transmission of an IoT service is low when an IoT service is executed in the existing network architecture.
A first aspect of the embodiments of the present Application provides a network communication method, where the method is applied to a 5th Generation (5G) network, and in the method, an access network device receives a data packet sent by a UE, where the data packet includes a user equipment identifier (UE identification, abbreviated AS UE id) for identifying the UE and an Application Server identifier (Application Server identification, abbreviated AS ASID) for identifying an Application Server (AS), and then the access network device further obtains service flow mode information corresponding to the ASID in the data packet; in addition, the access network equipment matches the ASID according to the obtained identification (ID for short) routing table, and forwards the data packet according to the routing entry if the routing entry matching the ASID is found; finally, when the downlink data transmission is indicated in the service flow mode information, the access network device further stores or creates a temporary context of the UE, where the temporary context includes the UE id and information of a cell used when the UE sends the data packet, and the information of the cell can ensure that the downlink data received by the access network device can be forwarded to the corresponding UE.
It can be seen that by adopting the data packet format and corresponding processing, the UE does not need to perform signaling interaction with the network and establish a session before sending the data packet, and in addition, only needs to temporarily store the temporary context of the UE accessed to the access network device on the access network device, instead of maintaining a forwarding path in the network according to the context stored for each UE, either the access network device or the user plane gateway, and the data packets of multiple UEs are forwarded by using the same ID routing forwarding table, thereby reducing the utilization of network resources from both the aspects of signaling overhead and network storage.
In some embodiments, the UE ID and the ASID are both IDs that the UE corresponding to the UE ID has acquired before connecting to the network, so that the UE can use the UE ID and the ASID when transmitting the data packet. The UE ID or ASID is an ID that has been acquired before the UE connects to the 5G network, and the acquisition may be factory configuration or acquired by activating the device.
In some embodiments, the ID routing table is derived in two ways, one is a routing table pre-stored on the access network device; and the second type is an ID routing table generated by the access network equipment according to an ASID issued by a control plane network element and user plane gateway information corresponding to the issued ASID. Both modes can achieve the purpose that the access network equipment can acquire the ID routing table in time.
In some embodiments, when the traffic flow indication information corresponding to the ASID in the uplink data packet indicates that there is downlink data transmission, the access network device receives a downlink data packet, where the data packet includes the ASID. The data packet of the downlink data received by the access network equipment is issued by the AS corresponding to the ASID in the data packet, the data packet is firstly sent to the user plane gateway, and the user plane gateway sends the data packet to the access network equipment through the stored temporary context. And then the access network equipment acquires the UE ID in the ID header of the data packet, searches the information of the corresponding cell in the temporary context stored by the access network equipment according to the UE ID, and sends the data packet of the downlink data to the UE in the cell corresponding to the information of the cell, wherein the UE is the UE corresponding to the UE ID.
In some embodiments, there are two types of identification manners of adding the ASID and the UEID, one is that the UEID uniquely identifies one UE within a preset range, and the ASID also uniquely identifies one AS within the preset range, and the UE identification and the AS identification are related; the preset range may be in a private network range, and certainly, the preset range may also be in a public network range, such as a unique identifier in a global range, and a unique identifier in a mobile network, for example; the other is that the UE id identifies one UE in one AS, each UE is unique in one AS, while the ASID still uniquely identifies one AS in a preset range, and uniquely identifies one UE in the preset range in a mode of ASID + UE id.
In some embodiments, the access network device may further obtain Quality of Service (QoS) information corresponding to the ASID in addition to the Service flow indication information corresponding to the ASID, and process the data packet according to the QoS information, that is, perform corresponding processing on the data packet according to rules such as flow of QoS and congestion control.
In some embodiments, there are two storage locations for QoS information and traffic flow pattern information, one being that QoS information and traffic flow pattern information may be included within an ASID; the second is that the QoS information and the traffic flow pattern information are stored in an ID routing table of the access network device. When the ASID is stored in the ID routing table, the ASID corresponds to one piece of QoS information and one piece of traffic flow mode information, so that the access network device can acquire the corresponding QoS information and traffic flow mode information according to the ASID and execute corresponding services.
In some embodiments, the obtaining manner is different according to different storage locations, and specifically, when the QoS information corresponding to the ASID of the data packet and the traffic flow pattern information corresponding to the ASID of the data packet are stored in an ID routing table, the QoS information and the traffic flow pattern information corresponding to the ASID may be obtained in the ID routing table according to the ASID; when the QoS information is stored in the ASID, the QoS information corresponding to the ASID of the data packet and the traffic flow pattern information corresponding to the ASID of the data packet are obtained in the following manner: and the access network equipment acquires QoS information corresponding to the ASID of the data packet and service flow mode information corresponding to the ASID of the data packet from the ASID.
In some embodiments, before the access network device forwards the data packet according to the routing entry matching with the ASID in the ID routing table acquired by the access network device, it is further determined whether there is a routing entry matching with the ASID in the ID routing table, and when the access network device determines that there is no routing entry matching with the ASID in the ID routing table, a first request message is sent to the control plane network element, where the first request message is used to acquire routing information corresponding to the ASID from the control plane network element and carries the ASID, and then the access network device receives a first response message returned by the control plane network element, where the first response message carries the ASID and information of a corresponding user plane gateway; the access network device generates an ID routing table according to the ASID carried in the first response message and the information of the corresponding user plane gateway. Of course, if the ID routing table already exists, a new routing table is generated based on the existing ID routing table, ASID, and information of the corresponding user plane gateway. The implementation mode provides a process of updating or creating the ID routing table by the access network equipment, and the realizability of the network communication method of the embodiment of the application can be enhanced.
In some embodiments, the control plane network element may include an Access control and Mobility Management Function (AMF), a Session Management Function (SMF), and a Unified Data Management Function (UDM), where the Access network device sends a first request message to the control plane network element, and the first request message is specifically configured to obtain the routing information corresponding to the ASID from the AMF; the method comprises the steps that access Network equipment receives a first response message sent by an AMF (advanced metering framework) for the access Network equipment correspondingly when receiving a first response message returned by a control plane Network element, wherein the second response message carries the ASID and Information of a corresponding user plane gateway, the second response message is generated by the SMF according to a third response message returned by the UDM, the third response message is generated by the UDM according to Application Server subscription Information stored in the UDM, the third response message comprises Application Server Information (ASInfo) and a Data Network Name (Data Network Name, DNN) for indicating a Network Name of a Network where an AS is located, and the ASInfo contains associated Information of the AS, and the associated Information is used for determining the AS in the Network;
in addition, the second response message is used by the SMF to respond to a second request message sent by the AMF to the SMF, the second request message is generated by the AMF according to the first request message and used by the AMF to obtain the routing information corresponding to the ASID from the SMF, and the second request message carries the ASID; the third response message is used for responding to a third request message sent by the SMF to the UDM, the third request message is generated by the SMF according to the second request message and is used for the SMF to acquire the routing information corresponding to the ASID from the UDM, and the third request message carries the ASID. Through the first request message, the second request message, the third request message, the first response message, the second response message and the third response message, the access network device can obtain the information for generating the ID routing table, and the realizability of the network communication method of the embodiment of the application can be enhanced.
In some embodiments, when the QoS information and the traffic flow pattern information are stored in the ID routing table, the UDM further stores the QoS information and the traffic flow pattern information corresponding to the ASID, and a third response message sent by the UDM further carries the QoS information and the traffic flow pattern information, and the first response message and the second response message also carry the QoS information and the traffic flow pattern information.
In some embodiments, the access network device may further start a timer when the temporary context is saved, and when the timer exceeds a preset time threshold, the access network device may delete the temporary context, considering that the temporary context does not need to be saved.
A second aspect of the present embodiment further provides a network communication method, in which a user plane gateway receives a data packet from an access network device, where an ID header of the data packet includes a ue ID and an ASID, and then the user plane gateway acquires corresponding service flow mode information according to the ASID of the data packet; in addition, the user plane gateway also forwards the data packet according to a routing entry which is matched with the ASID in an ID routing table acquired by the user plane gateway; and after the service flow mode information is acquired, because the service flow mode information indicates that there is downlink data transmission, the user plane gateway may further create or update a temporary context of the UE corresponding to the UE id, where the temporary context includes the UE id and access network device information Info, and the access network device information (information, abbreviated as Info) is used to record information of an access network device of the access network device that sends the data packet. Therefore, when the user plane gateway receives the data packet of the downlink data corresponding to the UEID, the user plane gateway can correctly send the data packet to the corresponding access network equipment.
It can be seen that by adopting such a packet format and corresponding processing, the UE does not need to perform signaling interaction with the network and establish a session before sending the packet, and in addition, only needs to temporarily store the temporary context of the UE on the user plane gateway, instead of maintaining a forwarding path in the network according to the context stored for each UE, either the access network device or the user plane gateway, and the packets with the same ASID are forwarded by using the same ID routing forwarding table, thereby reducing the utilization of network resources from both signaling overhead and network storage.
In some embodiments, the UE ID and the ASID are both IDs that the UE corresponding to the UE ID has acquired before connecting to the network, so that the UE can use the UE ID and the ASID when transmitting the data packet. The UE ID or ASID is an ID that has been acquired before the UE connects to the 5G network, and the acquisition may be factory configuration or acquired by activating the device.
In some embodiments, the ID routing table is sourced in two ways, one is that the ID routing table is a routing table pre-stored on the user plane gateway; and the second type is an ID routing table generated by the user plane gateway according to the ASID issued by the control plane network element and the ASInfo corresponding to the issued ASID. The two modes can achieve the purpose that the user plane gateway can acquire the ID routing table in time.
In some embodiments, when the service flow indication information corresponding to the ASID in the uplink data packet indicates that there is downlink data transmission, the user plane gateway receives a downlink data packet, where the data packet includes the ASID. The data packet of the downlink data received by the user plane gateway is issued by the AS corresponding to the ASID in the data packet, the data packet is sent to the user plane gateway firstly, and the user plane gateway sends the data packet to the access network equipment through the stored temporary context.
In some embodiments, there are two types of identification manners of adding the ASID and the UEID, one is that the UEID uniquely identifies one UE within a preset range, and the ASID also uniquely identifies one AS within the preset range, and the UE identification and the AS identification are related; the preset range may be in a private network range, and certainly, the preset range may also be in a public network range, such as a unique identifier in a global range, and a unique identifier in a mobile network, for example; the other is that the UE id identifies one UE in one AS, each UE is unique in one AS, while the ASID still uniquely identifies one AS in a preset range, and uniquely identifies one UE in the preset range in a mode of ASID + UE id.
In some embodiments, the user plane gateway obtains, in addition to the service flow indication information corresponding to the ASID, QoS information corresponding to the ASID, and processes the data packet according to the QoS information, that is, processes the data packet according to the flow of QoS and the congestion control rule.
In some embodiments, there are two storage locations for QoS information and traffic flow pattern information, one being that QoS information and traffic flow pattern information may be included within an ASID; the second is that the QoS information and the traffic flow pattern information are stored in an ID routing table of the access network device. When the ASID is stored in the ID routing table, the ASID corresponds to one piece of QoS information and one piece of traffic flow pattern information, so that the user plane gateway can acquire the corresponding QoS information and traffic flow pattern information according to the ASID and execute corresponding services.
In some embodiments, the obtaining manner is different according to different storage locations, and specifically, when the QoS information corresponding to the ASID of the data packet and the traffic flow pattern information corresponding to the ASID of the data packet are stored in an ID routing table, the QoS information and the traffic flow pattern information corresponding to the ASID may be obtained in the ID routing table according to the ASID; when the QoS information is stored in the ASID, the QoS information corresponding to the ASID of the data packet and the traffic flow pattern information corresponding to the ASID of the data packet are obtained in the following manner: and acquiring QoS information corresponding to the ASID of the data packet and service flow mode information corresponding to the ASID of the data packet from the ASID.
In some embodiments, before the user plane gateway forwards the data packet according to the routing entry matching the ASID in the ID routing table acquired by the user plane gateway, the user plane gateway may further receive a fourth request message sent by a control plane network element, where the fourth request message is used by the user plane gateway to set the ID routing table on the user plane gateway, and the fourth request message includes the ASID and corresponding asifo. The fourth request message is a fourth request message, because when the access network device matches the routing entry corresponding to the ASID and acquires the routing information corresponding to the ASID from the control plane network element, the control plane network element does not send the routing information to the access network device, but also sends the routing information corresponding to the ASID to the user plane gateway.
In some embodiments, after receiving the fourth request message, the user plane gateway does not immediately update the ID routing table, but first determines whether a routing entry corresponding to the ASID in the fourth request message exists in an existing ID routing table on the user plane gateway, and only if the routing entry does not exist, the user plane gateway generates the ID routing table according to the ASID and the corresponding asifo included in the fourth request message.
In some embodiments, the control plane network element may include an AMF, an SMF, and a UDM, where a fourth request message is generated by the SMF according to a first response message sent by the UDM, where the first response message is generated by the UDM according to subscription information of an application server stored in the UDM, where the first response message includes an asifo and a DNN used to indicate a network name of a network where an AS is located, where the asifo carries association information of the AS, and the association information is used to determine the AS in the network;
wherein the first response message is used by the UDM to respond to a third request message sent by the SMF to the UDM, the third request message is generated by the SMF according to the second request message and used by the SMF to acquire the routing information corresponding to the ASID from the UDM, and the third request message carries the ASID; the second request message is generated by the AMF according to the first request message and used for the AMF to obtain the routing information corresponding to the ASID from the SMF, and the second request message carries the ASID; the first request message is sent to the AMF by the access network device, where the first request message is used for the access network device to obtain the routing information corresponding to the ASID from the AMF, and the first request message carries the ASID. Through the first request message, the second request message, the third request message, the fourth request message and the first response message, the access network device can obtain the information for generating the ID routing table, and the realizability of the network communication method of the embodiment of the application can be enhanced.
It should be noted that, the first response message, that is, the third response message in the network communication method according to the first aspect of the embodiment of the present application, are equivalent to each other.
In some embodiments, when the QoS information and the traffic flow pattern information are stored in the ID routing table, the UDM further stores the QoS information and the traffic flow pattern information corresponding to the ASID, and a third response message sent by the UDM further carries the QoS information and the traffic flow pattern information, and the first response message and the second response message also carry the QoS information and the traffic flow pattern information.
In some embodiments, before the access network device forwards the data packet according to the routing entry matching with the ASID in the ID routing table acquired by the access network device, the user plane gateway may also authenticate the legitimacy of the data packet, specifically, the user plane gateway authenticates the legitimacy of the data packet according to authentication information carried in the data packet received from the access network device; only when the authentication is passed, the access network equipment is triggered to forward the data packet according to the routing entry matched with the ASID in the ID routing table acquired by the access network equipment; when the authentication is different, the data packet is directly discarded. So as to maintain the smoothness of the network and improve the execution efficiency of the network.
In some embodiments, the specific process of the user plane gateway for authenticating the validity of the data packet may be that the user plane gateway generates public key information of the UE corresponding to the UE id according to the UE id carried in the data packet and pre-configured GPK information; then, the user plane gateway verifies the signature information carried in the data packet by adopting the public key information of the UE; the data packet itself is signed by the UE using the UE private key when transmitting, so that the data packet is the data packet transmitted by the UE according to the specification as long as the authentication is passed.
In some embodiments, the GPK may correspond to only one AS, that is, different ases correspond to different GPKs, and of course, multiple ases may also correspond to the same GPK.
In some embodiments, the GPK information corresponding to the ASID is stored in the UDM, and in order for the user plane gateway to obtain the GPK information, the GPK information corresponding to the ASID is also carried in the first response message and the fourth request message, respectively.
It should be noted that, the first response message, that is, the third response message in the network communication method according to the first aspect of the embodiment of the present application, are equivalent to each other.
In some embodiments, when the user plane gateway saves the temporary context, a timer may be started at the same time, and when the timer times out a preset time threshold, the user plane gateway determines that the temporary context does not need to be saved, and deletes the temporary context.
A third aspect of the present embodiment further provides a network communication method, in which a control plane network element receives a first request message sent by an access network device, where the first request message is used for the access network device to obtain, to the control plane network element, routing information corresponding to the ASID, and the first request message carries the ASID; then the control plane network element sends a first response message responding to the first request message to the access network equipment, wherein the first response message carries the ASID and the user plane gateway information of the user plane gateway selected by the control plane network element; and the control plane network element sends a fourth request message to a user plane gateway, where the fourth request message carries the ASID and corresponding ASInfo, and the ASInfo is determined by the control plane network element according to the ASID and application server subscription information stored in the control plane network element itself.
It can be seen that the control plane network element returns a first response message to the access network device only after receiving the first request message, so that the access network device can update the ID routing table of the access network device according to the first response message; and the control plane network element also sends the fourth request message to the user plane gateway selected by the control plane network element, so that the user plane gateway can update the ID routing table of the user plane gateway according to the fourth request message. The ID routing table of the access network equipment can be made to be thinner and the updating of the ID routing table of the user plane gateway can be synchronized, so that the user plane gateway can also process data packets which can be processed by the access network equipment, and the realizability of the scheme of the embodiment of the application is enhanced.
In some embodiments, the user plane gateway selected by the control plane network element is a user plane gateway selected by the control plane network element according to DNN, location information of the access network device, and load information of the user plane gateway connected to the control plane network element, and the DNN is a name determined by the control plane network element according to the ASID information and application server subscription information stored in the control plane network element itself.
In some embodiments, the control plane gateway includes an AMF, an SMF, and a UDM, where it may be that the AMF receives a first request message sent by an access network device when the control plane network element receives the first request message sent by the access network device;
the process of sending the first response message to the access network device by the control plane network element may include:
and the SMF receives a second request message sent by the AMF. And the second request message is generated by the AMF according to the first request message, the second request message carries an ASID, and the second request message is used for the AMF to acquire routing information corresponding to the ASID from the SMF.
The SMF sends a third request message to the UDM. And a third request message is generated by the SMF according to the second request message, the third request message carries an ASID, and the third request message is used for the SMF to acquire routing information corresponding to the ASID from the UDM.
And the UDM returns a third response message to the SMF according to the application server subscription information stored by the UDM. The third response message carries a DNN for indicating a network name of a network where the AS is located, the ASInfo carries association information of the AS, and the association information is used for determining the AS in the network.
And the SMF selects the user plane gateway according to the DNN in the third response message, the network access position information of the UE accessing the access network equipment and the load information of the user plane gateway connected with the SMF.
The SMF returns a second response message to the AMF. And generating a second response message according to the third response message, where the second response message is used by the SMF to respond to a second request message sent by the AMF to the SMF, and the second response message carries the ASID and information of a corresponding user plane gateway.
And the AMF returns the first response message to the access network equipment. Wherein the first response message is generated for the AMF according to the second response message.
Finally, if the control plane network element sends the fourth request message to the selected user plane gateway, the SMF may send the fourth request message to the selected user plane gateway.
It can be seen that the routing information corresponding to the ASID, which is required by both the user plane gateway and the access network device, is issued by the UDM, where the routing information corresponding to the access network device is sequentially sent to the mobile network access device through the SMF and the AMF, and the routing information corresponding to the user plane gateway is sent to the user plane gateway through the SMF by the UDM.
In some embodiments, when the QoS information and the traffic flow mode information are stored in the ID routing table, the QoS information and the traffic flow mode information corresponding to the ASID may be stored in the UDM, and at this time, the QoS information and the traffic flow mode information are also carried in the third response message, the second response message, and the first response message, so that the access network device may generate the ID routing table of the access network device according to the UEID, the information of the user plane gateway, the QoS information, and the traffic flow mode information. And the fourth request message also carries QoS information and service flow mode information corresponding to the ASID, so that the user plane gateway can generate an ID routing table of the user plane gateway according to the ASID, the ASInfo, the QoS information and the service flow mode information.
In some embodiments, the user plane gateway may also authenticate the validity of the data packet, and therefore needs to obtain a corresponding GPK, in this case, GPK information corresponding to the ASID may be stored in the UDM, and the fourth request message may also carry the GPK information, and when authentication is needed, a public key of the UE may be generated through the GPK and the UE id in the data packet, so as to verify the signature of the data packet, and achieve the purpose of authentication.
A fourth aspect of the present embodiment further provides a network communication method, in which a UE sends a data packet to an access network device, and an ID header of the data packet includes a UE ID for identifying the UE and an ASID for identifying an AS.
In some embodiments, there are two identification manners for UE id and ASID, one is ASID for uniquely identifying an AS within a preset range, the UE id is used for uniquely identifying a UE within an AS, and one of the ASID plus one of the UE id is used for uniquely identifying a UE; the other is that the UE id is used for uniquely identifying one UE within a preset range, and the ASID is used for uniquely identifying one AS within the preset range.
In some embodiments, the UE ID and the ASID are both IDs that the UE corresponding to the UE ID has acquired before connecting to the network, so that the UE can use the UE ID and the ASID when transmitting the data packet. The UE ID or ASID is an ID that has been acquired before the UE connects to the 5G network, and the acquisition may be factory configuration or acquired by activating the device.
In some embodiments, the ASID further includes traffic flow mode information, and when the UE sends the data packet to the access network device, the UE also sends the traffic flow mode information corresponding to the ASID to the access network device.
In some embodiments, the traffic flow pattern information corresponding to the ASID indicates that there is downlink data transmission. That is, the logistics mode information indicates that sending the uplink data to the AS will cause the AS to send downlink data corresponding to the uplink data, and the downlink data will be sent to the UE.
In some embodiments, the ASID further includes QoS information, and when the UE sends a data packet to the access network device, the UE also sends the traffic flow mode information and the QoS information corresponding to the ASID to the access network device.
A fifth aspect of the present application provides an access network device including at least one unit configured to perform the network communication method provided in the first aspect or any implementation manner of the first aspect.
A sixth aspect of the present application provides a user plane gateway comprising at least one unit for performing the network communication method provided in the second aspect or any implementation manner of the second aspect.
A seventh aspect of the present application provides a control plane network element, which includes at least one unit configured to perform the network communication method provided in the third aspect or any implementation manner of the third aspect.
An eighth aspect of the present application provides a user equipment including at least one unit configured to perform the network communication method provided in any one of the implementation manners of the fourth aspect or the fourth aspect.
A ninth aspect of the present application further provides a network communication system, where the network communication system includes the access network device provided in the fifth aspect of the embodiment of the present application, the user plane gateway provided in the sixth aspect of the embodiment of the present application, and the control plane network element provided in the seventh aspect of the embodiment of the present application, and the system is used for the user equipment provided in the eighth aspect of the embodiment of the present application to communicate with a network.
Yet another aspect of the present application provides a computer-readable storage medium having stored therein program code, which when executed by a terminal, causes a computer to perform the method of the above-described aspects. The storage medium includes, but is not limited to, a flash memory (flash memory), a Hard Disk Drive (HDD) or a Solid State Drive (SSD).
Yet another aspect of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above-described aspects.
Drawings
Fig. 1 is a schematic diagram of an LTE network architecture;
figure 2 is a schematic diagram of signaling and context in a cellular network;
fig. 3 is a schematic diagram of an LTE network capability open architecture;
FIG. 4 is a flow chart of a third party application obtaining business data through a network capability open interface;
fig. 5 is a schematic diagram of an LTE network-based IoT transmission optimization architecture;
FIG. 6 is a schematic diagram of a 5G network architecture;
fig. 7 is a diagram of an embodiment of a network communication method according to an embodiment of the present application;
fig. 8 is a schematic diagram of IBS signature architecture;
FIG. 9 is a diagram of one embodiment of a communication method of an embodiment of the present application;
fig. 10 is a diagram of one embodiment of an access network apparatus of an embodiment of the present application;
fig. 11 is a diagram of one embodiment of a user plane gateway of an embodiment of the present application;
fig. 12 is a diagram of an embodiment of a control plane network element according to an embodiment of the present application;
FIG. 13 is a diagram of one embodiment of a user equipment of an embodiment of the present application;
fig. 14 is a diagram of one embodiment of an access network apparatus of an embodiment of the present application;
fig. 15 is a diagram of one embodiment of a user plane gateway of an embodiment of the present application;
fig. 16 is a diagram of an embodiment of a user equipment according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a network communication method and related equipment, which can reduce the utilization of network resources from two aspects of signaling overhead and network storage.
In order to make the technical field better understand the scheme of the present application, the following description will be made on the embodiments of the present application with reference to the attached drawings.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
A Mobile cellular network is a communication network deployed in a wide range around the world, and the Mobile network includes a plurality of different Access modes, such as Global System for Mobile Communications (GSM), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (Code Division Multiple Access 2000) which is a 3G Mobile communication standard, LTE, etc., and the deployment of the Mobile network provides great convenience for communication among people, so that people can conveniently Access web pages and view network videos online through the Mobile network. LTE network technology has been and is widely deployed as a representative of mobile communication networks, and the scale of deployment is further increasing.
Referring to fig. 1, fig. 1 is a schematic diagram of an LTE network architecture, in which the entities are: user Equipment (UE) such as a mobile phone.
Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access Network (E-Utran), i.e. a base station.
A Mobility Management Entity (MME) mainly performs control plane functions of a network, including Mobility Management, session Management, and the like.
A Serving Gateway (SGW) provides mobility anchor point support and other functions.
A packet data Gateway (PDN Gateway, PGW for short) provides functions such as charging and policy control. The PDN is called Packet Data Network, and Chinese is Packet Data Network.
A Policy Control entity (Policy Control and Charging Function, PCRF for short) is mainly responsible for making a network Control Policy for a traffic flow.
A subscription database (HSS) of the user is used for storing subscription information of the user.
A Data Network (DN), which is a Network where Network resources accessed by the UE are located, and the Data Network has entities such AS an AS that store the Network resources.
In the LTE network, before the UE wants to transmit data, the UE first attaches to the network through an Attach procedure (Attach), which may be understood as that the UE needs to register in the network in advance before transmitting data, and the procedure is actually to establish a signaling bearer between the UE and each entity in the LTE network, that is, signaling can be transmitted between the entities, in the procedure, interaction of multiple pieces of signaling between the entities may be needed, and then, establish a data bearer on the basis of having the signaling bearer, that is, data transmission can be performed.
When transmitting data, the network establishes corresponding air interface bearers (located between the UE and the E-Utran) and core network bearers (located between the E-Utran and the SGW and between the SGW and the PGW) for the UE, and the concept of bearers here can be understood as logical channels. The data flow finally arrives at DN for transmission from UE to E-Urran to SGW to PGW. In addition, in order to ensure that the UE can perform data transmission after attaching to the network, context information of the UE is stored in each entity in the network,
referring to fig. 2, fig. 2 is a schematic diagram of signaling and context in a cellular network, and when a UE is in an attach state, the MME, RAN, SGW and PGW all store the context of the UE for subsequent communication. At this time, the context of the UE may include information such as a terminal network capability, a Tracking Area Identifier (TAI), an application layer protocol Identifier (S1) (i.e., S1APID), an Evolved Node B (eNodeB) ID, an EMM, an ESM, authentication information, a negotiated security algorithm, a generated key, created connection information, and bearer information (such as a control plane and a user plane address). This information must be saved until the UE is not detached. Otherwise, when the user performs the actions such as TAU, ServiceRequest, Detach, etc., it cannot process the actions, because the system cannot find the context of the UE, it is unclear that the IP of the UE, the PGW connected to the UE, and the UE create those bearers.
In communication systems, the expression "context establishment" is often used, which refers to the establishment of a context session, and mainly refers to the establishment of a connection between functional entities for information transmission. For example, RRC is established between two functional entities, namely UE and eNodeB, and its communication link is context. In the second Generation mobile communication technology (2-Generation wireless telephone technology, abbreviated as 2G) and the third Generation mobile communication technology (3rd Generation, 3G), the context mainly refers to a Packet Data Protocol (PDP) context, and refers to a process of establishing a link between a PDP activated Gateway communication Packet Radio Service (GPRS) Support Node (GGSN). The context in LTE mainly refers to an Evolved Packet System (EPS) bearer context, which is a process of establishing a connection link between the UE and the PGW. The establishment of a context session comprises four parts: firstly, air interface encryption (between UE and eNodeB), then terminal capability query, then signaling Radio Bearer (SRB for short), and finally Data Radio Bearer (DRB for short). When a terminal needs to communicate with an MME, a context session request needs to be established first, which is initiated by the MME. The session procedure is a procedure for establishing a bearer, including SRB and DRB. After the signaling bearing is built, signaling interaction can be carried out, and after the data bearing is built, a data packet can be sent/received.
As society develops, IoT traffic is generated in the context of mobile cellular networks not only meeting the communication needs of people, but also addressing the needs of both and between things. For example, in a water meter reading application, in order to obtain readings of water meters in a user's home, each water meter may be configured with an IoT communication module for obtaining readings of the water meters and reporting the readings to an AS of a water supply company, in this scenario, the number of IoT communication modules is huge because the number of water meters in a city is huge, and the readings of the water meters may be read at a frequency of one month, and the amount of communication data sent each time is small, and the data is one-way communication from the water meters to the AS. It can be seen that the IoT service has the characteristics of large number of terminals and small traffic volume, when transmitting IoT service data, signaling overhead and context overhead of a network need to be considered, and in order to save network resources and improve network resource utilization, the network signaling overhead and the context overhead when transmitting the IoT service need to be reduced as much as possible.
The following describes a network openness capability in an LTE network, where the network openness refers to opening a network capability as a service to a third party, and the third party may obtain the service provided by the network by calling an API. Network capability opening functionality is also provided in LTE networks. Specifically, please refer to fig. 3, fig. 3 is a schematic diagram of an LTE network capability opening architecture, in which a Service Capacity Exposure Function (SCEF) entity is added to the LTE network architecture shown in fig. 1, and the SCEF entity is connected to an MME in the LTE network and can provide an APPlication Programming Interface (API) for an APPlication Program (APPlication). As can be seen from fig. 3, the SCEF entity provides multiple APIs to enable various applications, and the different applications have different requirements according to actual requirements, and the used APIs are different, that is, one API is used, and two or more APIs are used. Furthermore, the SCEF entity can be connected to the HSS, the PCRF, the MME and various network functional entities, which are equivalent to directly serving the application program. In the IOT scenario, the third-party application may obtain IOT service data transmitted by the network from the network through the network capability open interface. Wherein, each network function entity is respectively:
a Serving GPRS Support Node (SGSN);
a Broadcast Multicast Service Center (Broadcast Multicast Service Center, BM-SC for short);
an MTC Interworking Function entity (MTC-IWF for short);
multimedia Telephone Communication (MTC);
serving a CSCF (Serving-CSCF, S-CSCF for short);
a Call Session Control Function (Call Session Control Function, abbreviated as CSCF);
network function Entity (Network Entity);
a Service Capability Server (SCS for short).
Referring to fig. 4, an execution flow of the network capability openness architecture of fig. 3 is described below, and fig. 4 is a flow chart of a third-party application acquiring service data through a network capability openness interface. The method comprises the steps that firstly, UE sends Non-IP Data (Non-IP Data) from Mobile communication equipment (MO) to MME, namely Non-IP Data, then the MME generates a Non-IP Data Delivery (NIDD) submission request according to the Non-IP Data, sends the NIDD submission request to an SCEF entity, then the SCEF entity sends the NIDD request to AS, then the AS returns a NIDD response to the SCEF entity, the SCEF entity returns the NIDD request response to the MME according to the NIDD response, and then the MME returns the UE to the Mobile communication equipment to end (Mobile terminal, MT) the Non-IP Data. The mobile communication device is the UE in the embodiment of the present application.
It can be understood that, because the IoT service is characterized in that the number of terminal connections is large, the single transmission traffic is small, and if the IoT service is to be transmitted in the current cellular network, the current cellular network faces the problems of large system overhead, low resource utilization rate, and the like, which are specifically embodied in the following five aspects: 1) the signaling is complex; 2) about 20-30 signaling interaction processes are needed from equipment network access to data transmission; 3) the network needs to maintain a large amount of context for the transmission; 4) context storage of about 100 k-200 k is provided for each device in the network; 5) the context maintenance process also requires signaling interaction.
In view of these problems and the communication requirements and communication features in the IoT scenario, the transmission IoT service is optimized on the architecture of the conventional LTE network, and three representative IoT service optimization schemes are given below.
Firstly, a new air interface mechanism is defined for the IoT equipment so as to reduce the occupation of air interface resources.
Specifically, referring to fig. 5, fig. 5 is a schematic diagram of an IoT transmission optimization architecture based on an LTE network, where the top path in the diagram is a transmission path of a first optimization scheme, the middle path is a transmission path of a second optimization scheme, and the bottom path is a transmission path of a third optimization scheme.
It can be seen that the first optimization scheme is characterized in that data is transmitted by means of control plane signaling, and further, a dedicated user plane bearer does not need to be established at an air interface, so that signaling overhead and resource overhead of the air interface are reduced to a certain extent, and then the data is transmitted to the AS through a network capability open interface. The uplink data transmission path of the UE is from the UE to the AS through the RAN, the MME, and the SCEF, and the downlink data transmission path is the reverse direction of the path. Although the scheme saves some transmission resources in the air interface part, the existing signaling interaction process (for example, the signaling interaction between the MME and the SCEF) still needs to be used in the core network layer, and the network context is stored (the eNodeB, the MME, and the SCEF all need to maintain the context).
The second optimization scheme is characterized in that data is transmitted in a control plane signaling manner, and further, a dedicated user plane bearer does not need to be established at an air interface, so that signaling overhead and resource overhead of the air interface are reduced to a certain extent. The uplink data transmission path of the UE is that the UE passes through the RAN, the MME, the SGW, and the PGW to the AS, and the downlink data transmission path is the reverse direction of the path. Although some transmission resources are saved in the air interface part, the existing signaling interaction process (for example, signaling interaction between the MME and the SGW and between the SGW and the PGW) still needs to be used in the core network layer, and the network context is stored (eNodeB, MME, SGW, and PGW all need to maintain the context).
The third optimization scheme is characterized in that support for non-IP, i.e. support for non-IP data packets, is added on the basis of the existing LTE network, for example, when the UE does not support a Transmission Control Protocol/Internet Protocol (TCP/IP) Protocol stack, the data sent or received by the UE is non-IP data. In the scheme, an uplink transmission data transmission path of the UE is that the UE passes through the RAN, the SGW and the PGW to reach the AS.
It can be seen that, the above three schemes that are properly optimized based on the existing network architecture still basically follow the data transmission mode of the existing network architecture, i.e. signaling interaction is required, context is maintained, and the optimization degree is very limited, for example, when the existing cellular network transmits IoT service for each IoT terminal, corresponding network signaling interaction is required and an individual network context is maintained for the terminal, which causes that the efficiency of network transmission of IoT service is very low due to the characteristics of huge terminal connection quantity of IoT service and small transmission traffic of single transmission, i.e. the network resource overhead is large and the resource utilization rate is low relative to the transmitted user data.
The fourth Generation mobile communication (4G for short) network is designed mainly for large bandwidth services at the beginning of reality, mainly oriented to voice call, internet access and other services with large data volume, and does not take the communication requirements of an IoT service scenario into consideration, so that an optimization scheme for IoT communication based on an existing 4G network architecture is provided in the 4G network, but the optimization scheme still has many problems.
In order to solve the above problems, the present application provides a network communication method and related device under a 5G network architecture, so as to improve transmission efficiency of IoT services and reduce occupation of resources. In the early design of 5G network architecture, the IoT service support is considered as a basic requirement, and 5G network requires an IoT communication scheme suitable for 5G network architecture.
The network architecture adopted by the application is a 5G network architecture, and the 5G network is designed aiming at 3 large service scenes, namely a large bandwidth scene, an IoT scene and a high-reliability low-delay scene. The design of the 5G network adopts a brand-new network architecture. The IoT communication in the 5G scenario has various typical characteristics of IoT communication, for example, the number of devices is large, the amount of data in single communication is small, the communication frequency is low, only one-way communication is needed, and the like. Referring to fig. 6, fig. 6 is a schematic diagram of a 5G network architecture, where each network entity in fig. 6 is:
UE, user terminal equipment, e.g. a handset.
A Radio Access Network (RAN), typically a base station.
A User Plane network element (UPF) is similar to a gateway in an LTE network architecture, except that the gateway entity only has a data Plane Function and not a control Plane Function. I.e. the UPF is used only for transmitting user plane data.
DN, similar to that in LTE network architecture, i.e. the network where the network resources accessed by the UE are located.
The AMF, i.e. mainly used for access control, and mobility management, is similar in function to part of the MME in the LTE network.
SMF, which is mainly used for session management, is similar to part of the functionality of MME in LTE network.
An Authentication Function (AUSF) is mainly used for authenticating a device accessing to a network.
A Network capability opening Function (NEF) is mainly used for providing a Function similar to that of opening a Network capability in an LTE Network.
A gateway Function discovery Function (NF (discovery Function, NRF for short).
A Policy Control function (Policy Control function, PCF for short) is mainly used for a network Control Policy of a service flow, and is similar to a PCRF in an LTE network.
The UDM mainly manages subscription information of a user, and is equivalent to an HSS in an LTE network.
An Application Function (AF) is mainly used to acquire information of an Application layer.
The UE, the RAN, the UPF and the DN are entities of a user plane, the NEF, the NRF, the PCF, the UDM, the AF, the AUSF, the AMF and the SMF are entities of a control plane, the entities of the control plane are mutually connected, the AMF is further connected to the UE and the RAN, and the SMF is further connected to the UPF.
In the embodiments of the present application, the present application mainly relates to UE, RAN, UPF, UDM, AMF, and SMF entities, that is, the present application specifically relates to UE, RAN, UPF, and control plane entities. In the embodiment of the application, the network does not need to perform signaling interaction and network context storage at the granularity of the UE, but performs signaling interaction and network context storage at the granularity of the UE group (group). In the embodiment of the present application, formats of data packets in uplink and downlink processes of the UE are mainly defined, and context storage is performed in a UE group manner, where the data packets are mainly used in the uplink process of the UE, an ID header of each data packet includes an ASID and a UEID, and ID routing tables associated with the ASIDs are set on the RAN and the UPF, so that the RAN or the UPF forwards the data packets based on the ASIDs. In addition, the RAN and the UPF do not need to maintain a network context for each UE, but maintain the context in the form of a group, and specifically, UEs communicating with a certain AS are grouped in the same group.
Example one
Referring to fig. 7, fig. 7 is a diagram of an embodiment of a network communication method according to the embodiment of the present application, where the diagram includes a UE, an access network device (RAN), a user plane gateway (UPF), and a control plane network element, and the method may include:
701. and the access network equipment receives the data packet sent by the UE.
The data packet is a data packet of uplink data, and the data packet includes three parts, a first part is an ID head, a second part is data, and a third part is authentication information. The embodiment of the application mainly improves an ID header part, wherein the ID header of the data packet comprises a UEID for identifying UE and an ASID for identifying AS, and the ASID identifies the AS only in one mode, namely, only one AS is uniquely identified in a preset range; however, the UE id identifies the UE in two ways, one is to uniquely identify one UE within a preset range, which may be within a private network range, and certainly, the preset range may also be within a public network range, such as a global unique identifier, and a mobile network unique identifier, for example; another is to identify one UE within one AS, each UE being unique within one AS. Therefore, for the first way of identifying the UE, the identity of the UE is unrelated to the identity of the AS, that is, the UE and the AS are unique identities within a preset range; however, in the second method, the UE identity is related to the AS identity, and the UE is only a unique identity within a range of the AS, and if one UE is to be uniquely identified within a preset range, one UE needs to be uniquely identified within the preset range in a manner of ASID + UEID.
It should be noted that the UE ID and the ASID are both IDs that have been acquired before the UE connects to the 5G network, and for the AS, the ASID may also be allocated to the AS before the UE connects to the 5G network. For example, for a UE, the UE id and the corresponding ASID are set on the UE by default when the UE leaves a factory; for another example, the UE ID and ASID are IDs assigned when the UE is subscribed to a certain organization, for example, the UE is subscribed to a 5G network operator, and the 5G network operator assigns the IDs to the UE. After the UE has the UEID and the ASID, the allocation process of the IP address can be saved, so that the signaling process of the IP address allocation is not needed.
702. And the access network equipment acquires the business logistics mode information corresponding to the ASID of the data packet.
After receiving the data packet, the access network device acquires service flow mode information, and the content carried in the service flow mode information determines how the access network device processes the data packet. As shown in step 704, when the traffic flow pattern information indicates that there is downlink data transmission, the access network device needs to create or update a temporary context of the UE, so as to be able to feed back the UE sending uplink data when receiving downlink data.
It should be noted that, while the traffic flow pattern information is acquired, the QoS information corresponding to the ASID in the data packet can also be acquired, and the data packet can be processed according to the QoS information. The QoS is generally classified into two types, the first type is integrated QoS (intserv QoS), the second type is differentiated QoS (diffserv QoS), and the following description is provided separately.
In the first category, integrated QoS is implemented in hardware. The QoS is mainly used in the environment with slow technology upgrading and updating, if upgrading is carried out in the environment with fast upgrading and updating, the equipment needs to be continuously updated to adapt to the new solidified QoS, and the cost is too high and the deployment difficulty is large. The implementation of such QoS is based on the predictable processing behavior of the network to the network applications. Its main implementation relies on an important protocol: resource Reservation Protocol (RSVP). Before an application supporting RSVP sends data, it requests a specific type of service from the RSVP network using the RSVP protocol, and the application sends its own traffic profile (traffic profile) to the network, so that the network can allocate resources to the application according to the traffic requirement, and after the allocation of resources is completed, the application starts sending and receiving data on the network. In order to control such a resource allocation manner, a matched control measure is required to implement, for example, admission control is centrally completed by using a Common Open Policy Service (COPS) at a Policy Decision Point (PDP). That is, the integrated QoS in the above example is implemented by RSVP + traffic profile + COPS.
In the second category, differentiated QoS is much more flexible than integrated QoS, and in this category, the basic principle is to classify data flows and then control the data flows for different classes. This control is implemented primarily through the policy table. That is, different management modes are set in the policy table according to the characteristics of each type of data stream. In general, there are five features to differentiate QoS, namely classification, marking, traffic conditioning, congestion management, and congestion avoidance. The classification mainly includes performing different classifications on data streams in the network so as to perform differentiation processing. The main classification of QoS is based on Differentiated Services Code Point (DSCP), which generally has different expression forms in different layers of the network in the header of the packet. For layer 2 data frames, we use Class of Service (COS) to distinguish different data flows, and this 3-bit field only appears in Inter-Switch Link Protocol (ISL) or 802.1Q encapsulation frames. The Virtual Local Area Network (VLAN) tag is only 3 bits. For a layer 3 packet, we use the Type of Service (ToS) field in the IP packet header to indicate. The TOS has a length of one byte in the IP data header, but not all bits are responsible for performing the service of distinguishing different IP data flows. But only the upper 6 bits. Where the high 3 bits indicate IP priority. So we generally look at the IP priority, and the ordinary mapping relationship is the mapping between the IP priority and the internal DSCP. The specific classification modes are various, such as classification according to the trust mode of the interface; manually classifying according to interfaces; sorting by packet, for example, based on an Access Control List (ACL); classification may also be based on network based application recognition (NBAR for short). Wherein the flag is capable of primarily modifying the value of the DSCP or COS; the purpose of traffic regulation is to determine the ineligible data by measuring the rate of the data stream and to delay the transmission of the traffic of the ineligible data, so as to ensure that all the data can be transmitted, but at the cost of a delay that may be greatly increased; congestion management and congestion avoidance are mainly to ensure the network to be smooth, send data in different queues, and even discard some data to avoid congestion when congestion is imminent.
Specifically, in the embodiment of the present application, processing the data packets according to the QoS information actually puts the data packets corresponding to different QoS information into transmission queues with different priorities for transmission, that is, the priorities of the transmission of the data packets with different QoS information are different; then, the transmission rate of the data packets with different QoS information is controlled, namely, the flow regulation modes of the data packets with different QoS information are different; then, congestion management and congestion avoidance processing is performed, for example, when a certain node is congested, different packet loss strategies are executed according to different QoS information.
The storage locations of the QoS information and the traffic flow pattern information are two types, one is stored in the ID routing table, and the other is, of course, stored in the ASID; when the information is stored in the ID routing table, the access network equipment can obtain QoS information and service flow mode information when searching the ID routing table according to the ASID, and processes the data packet according to the QoS information and the service flow mode information; when the ASID is stored, the access network device may obtain the QoS information and the traffic flow mode information together when reading the ID header of the data packet, and process the data packet according to the QoS information and the traffic flow mode information.
It can be understood that the obtaining manner is different according to the different storage locations, specifically, when the QoS information and the traffic flow pattern information are stored in the ID routing table, the access network device obtains the QoS information and the traffic flow pattern information corresponding to the ASID in the ID routing table according to the ASID; and when the ASID is stored in the ASID, the QoS information corresponding to the ASID of the data packet and the traffic flow pattern information corresponding to the ASID of the data packet are acquired from the ASID for the access network device.
703. And the access network equipment forwards the data packet according to the routing entry matched with the ASID in the ID routing table acquired by the access network equipment.
The ID routing table may be manually configured in advance on the access network device, or may be an ID routing table generated by the access network device according to the ASID returned by the control plane network element and the information of the corresponding user plane gateway, where each routing entry in the ID routing table on the access network device includes the ASID and the information of the corresponding user plane gateway. The most important feature of the ID routing table is that each routing entry therein corresponds to an ASID, and the data packet also carries an ASID, so that the access network device can forward the data packet to the corresponding user plane gateway according to the information of the user plane gateway only by searching the information of the corresponding user plane gateway in the ID routing table according to the ASID in the data packet.
704. And when the service flow mode information indicates that downlink data transmission exists, the access network equipment creates or updates the temporary context of the UE.
In the embodiment of the application, other devices except the access network device and the user plane gateway do not need to store the context; even if the access network device only creates or updates the temporary context of the UE when the traffic flow mode information indicates that there is downlink data transmission, so that when downlink data corresponding to the uplink data comes, the UE receiving the downlink data can be found through the temporary context, where the temporary context includes the UE id and information of a cell used by the UE when sending the data packet.
It should be noted that there are many situations for the information of the cell, for example, the information may be a cell ID; for another example, the information may be cell ID and downlink transmission resource configuration information. The method may be determined according to a usage scenario, and is not limited herein.
It should be noted that, when the access network device saves the temporary context, it may also start a timer at the same time, and when the timer exceeds a preset time threshold, it is determined that the temporary context does not need to be saved, and the access network device may delete the temporary context.
It can be seen that, when there is downlink data transmission, a temporary network context is maintained for the UE with the UE as granularity; if the downlink data does not need to be transmitted, the temporary context does not need to be maintained. Downlink data can be transmitted only when there is uplink data transmission.
705. And the user plane gateway receives the data packet sent by the access network equipment.
It can be seen that the ID header of the data packet still contains the ue ID and ASID, and the situations of the ue ID and ASID are similar to those in step 701, and are not described herein again.
It should be noted that, a tunnel (tunnel) with network node (node) granularity may be used for data transmission between the user plane gateway and the access network device, so that signaling overhead for transmission path establishment can be reduced. That is, in the embodiment of the present application, when all the data packets defined in the description of step 701 are used as uplink data and downlink data, the same tunnel established between the access network device and the user plane gateway is used, and it is not necessary to establish a tunnel between the access network device and the user plane gateway for each UE to transmit the uplink data and the downlink data, with the UE as a granularity.
Optionally, after the user plane gateway receives the data packet sent by the access network device, the user plane gateway does not start to acquire various information therein, but may authenticate the validity of the data packet first, and the specific authentication may use an ID-Based Signature (IBS) technology to authenticate the validity of the data packet.
Specifically, referring to fig. 8, fig. 8 is a schematic view of an IBS signature architecture, in an IBS technology, a Public Key of a user can be directly obtained according to a certain algorithm by using an ID of the user without a specific Public Key distribution manner (e.g., a digital certificate manner), where a Private Key Generator (PKG) is a trusted authority responsible for generating a Private Key for the user, and a system Public Key (GPK) is a system Public Key that is not a Public Key for a specific user, and if the Private Key of the user is generated by a system Private Key corresponding to the GPK, the Public Key of the user can be generated by using the system Public Key and the user ID. As shown in fig. 8, the private key used in the signature process of the message M is a private key generated by the PKG according to the UE id in the data packet and used for the UE corresponding to the UE id, and of course, in order to increase the reliability of the key in the process, the private key of the UE may be generated by using the UE id and the random number k as input in the process of generating the private key; the private key transmission process can be transmitted to the UE through a secure channel, then, in the signature verification process, the GPK corresponding to the PKG is sent to a signature verifier, the signature verifier is the user plane gateway in the embodiment of the application, the user plane gateway can generate a public key of the UE according to the GPK and the UEID carried in the data packet, then, the public key can be used for verifying the signature of the data packet, as long as the verification is passed, the data packet is legal, subsequent processing steps are carried out, and if the verification is not passed, the data packet is regarded as illegal, and the data packet is directly discarded.
It should be noted that the GPK may correspond to only one AS, that is, different ases correspond to different GPKs, and of course, multiple ases may also correspond to the same GPK, which is determined according to an actual application scenario and is not limited herein.
It can be seen that a security authentication method based on IBS is used. The corresponding public key can be directly generated by using the ID in the IBS method without carrying the public key by additionally carrying a digital certificate. And the UE uses a private key of the UE to perform signature protection on the transmitted data packet when transmitting the uplink data, after receiving the data packet, the user plane gateway calculates a public key of the UE by using the UE ID information carried in the data packet, verifies the signature of the data packet by using the calculated public key, forwards the data packet to the next hop if the verification is passed, and otherwise discards the data packet.
706. And the user plane gateway acquires the service flow mode information corresponding to the ASID of the data packet.
It can be seen that the user plane gateway also obtains the service flow mode information corresponding to the ASID of the data packet, so as to execute a corresponding service to the data packet according to the service flow mode information.
Optionally, the user plane gateway may also obtain QoS information corresponding to the ASID, and perform corresponding processing on the data packet according to the QoS information, and a process of processing the data packet according to the QoS information may refer to the description in step 702, which is not described herein again.
707. And the user plane gateway forwards the data packet according to the routing entry matched with the ASID in the ID routing table acquired by the user plane gateway.
The ID routing table may be manually configured in advance on the user plane gateway, or may be an ID routing table generated by the user plane gateway according to the ASID returned by the control plane network element and the corresponding asifo, where each routing entry in the ID routing table on the user plane gateway includes the ASID and the corresponding asifo. The ASInfo may be address information of the AS, such AS an IP address or domain name, etc. The most important characteristic of the ID routing table is that each routing entry therein corresponds to an ASID, and the data packet also carries the ASID, so that the user plane gateway only needs to search for corresponding ASInfo in the ID routing table according to the ASID in the data packet, and can forward the data packet to the corresponding AS according to the ASInfo.
708. And when the service flow mode information indicates downlink data transmission, the user plane gateway creates or updates the temporary context of the UE corresponding to the UE ID.
The temporary context comprises the UEID and access network equipment information Info, and the access network equipment Info is used for recording information of access network equipment of the access network equipment which sends the data packet. The temporary context functions similarly to the temporary context stored by the access network device in step 704, and is all for the correct path for sending the downlink data. The temporary context as stored by the user plane gateway may enable the user plane gateway to send the received downstream data to the corresponding access network device.
It should be noted that, similar to the access network device, the user plane gateway may also start a timer when storing the temporary context, and when the timer exceeds a preset time threshold, the access network device may delete the temporary context, assuming that the temporary context does not need to be stored.
709. And the user plane gateway receives downlink data sent by the AS corresponding to the ASID in the data packet.
When the service flow indication information corresponding to the ASID in the data packet of the uplink data indicates that there is downlink data transmission, the user plane gateway receives downlink data corresponding to the uplink data, and an ID header of the data packet of the downlink data is the same as an ID header of the data packet of the uplink data and both carry the same UEID and ASID.
It is understood that after the step 709 and before the step 710, there may also be a step of authenticating the validity of the data packet, and only if the data packet of the downlink data is valid, the subsequent step will be performed on the data packet, and the specific authentication process may refer to the description of the step 705, which is not described herein again.
710. And the user plane gateway sends the downlink data to the access network equipment corresponding to the access network equipment Info according to the access network equipment Info corresponding to the UEID in the temporary context.
After receiving the downlink data, the user plane gateway obtains the ue id in the data packet of the downlink data, searches for the corresponding access network device Info on the temporary context stored in the user plane gateway according to the ue id, and sends the data packet to the access network device indicated according to the access network device Info.
711. And the access network equipment receives downlink data sent by the AS corresponding to the ASID in the data packet through the user plane gateway.
The data packet of the downlink data received by the access network equipment is issued by the AS corresponding to the ASID in the data packet, the data packet is firstly sent to the user plane gateway, and the user plane gateway sends the data packet to the access network equipment through the stored temporary context.
712. And the access network equipment sends the downlink data to the UE according to the information of the cell corresponding to the UEID in the temporary context.
Wherein, after receiving the data packet, the access network device obtains the UE ID in the ID header of the data packet, searches the information of the corresponding cell in the temporary context stored in the access network device according to the UE ID, and sends the data packet of the downlink data to the UE in the cell corresponding to the information of the cell, where the UE is the UE corresponding to the UE ID,
it should be noted that, there is no absolute order relationship among step 702, step 703 and step 704; there is no absolute order relationship between step 706, step 707, and step 708.
The above steps 701 to 712 are the complete process from the time when the UE sends a data packet of uplink data to the time when the data packet of downlink data is received. It can be seen from the above process that, based on the 5G architecture, the format and corresponding processing of the data packet enable the UE to transmit the data packet without performing signaling interaction with the network and establishing a session, and in addition, only the temporary context of the UE accessing the access network device needs to be temporarily stored on the access network device, and the data packets of the multiple UEs are forwarded by using the same ID routing forwarding table, instead of forwarding the data packet according to the network context of each UE, the access network device, or the gateway, thereby reducing the utilization of network resources from both the signaling overhead and the network storage.
Example two
In another embodiment of the present application, unlike the first embodiment in which the access network device matches a corresponding routing entry in the ID routing table of the access network device according to the ASID in step 703, in this embodiment of the present application, the access network device does not match a corresponding routing entry from the ID routing table of the access network device, in this case, the access network device sends a first request message to the control plane, where the first request message carries the ASID, and the first request message is intended to acquire routing information corresponding to the ASID from a network element of the control plane. The method also comprises the following steps:
first, when an access network device determines that no routing entry matching the ASID exists in an ID routing table, the access network device sends a first request message to the control plane network element.
The first request message carries the ASID, and the first request message is used for acquiring routing information corresponding to the ASID from a control plane network element; it can be seen that the control plane network element can find the corresponding routing information according to the ASID by carrying the ASID in the first request message.
Then, the access network equipment receives a first response message returned by the control plane network element, wherein the first response message carries the ASID and the information of the corresponding user plane gateway;
and then, the user plane network element receives a fourth request message sent by the control plane network element.
The fourth request message carries the ASID and corresponding ASInfo, where the ASInfo is determined by the control plane network element according to the ASID and application server subscription information stored in the control plane network element itself.
And then, the access network equipment generates an ID routing table according to the ASID carried in the first response message and the information of the corresponding user plane gateway. Of course, if the ID routing table already exists, a new routing table is generated based on the existing ID routing table, ASID, and information of the corresponding user plane gateway.
Then, the user plane network element may first determine whether the user plane network element itself stores an ID routing table corresponding to the ASID in the fourth request, and if the user plane network element does not store the corresponding ID routing table, the user plane network element may generate an ID routing table according to the ASID and the corresponding asifo.
It should be noted that the contents of the ID routing table on the access network device and the ID routing table on the user plane network element are different.
Optionally, the control plane network element may include an AMF, an SMF, and a UDM, please refer to fig. 9, where fig. 9 is a diagram of an embodiment of a communication method according to an embodiment of the present application, and in fig. 9, under cooperation of the AMF, the SMF, the UDM, the access network device, and the user plane gateway, configuration of an ID routing table of the access network device and an ID routing table on the user plane gateway is completed. In this method, step 901 and step 902 are similar to step 701 and step 702 in the embodiment shown in fig. 7, and step 914 to step 923 are similar to step 703 to step 712 in the embodiment shown in fig. 7, which are not described in detail, and in addition, this method may further include:
903. the AMF receives a first request message sent by the access network equipment.
The first request message carries an ASID, and the first request message is used for the AMF to acquire the routing information corresponding to the ASID from the SMF.
904. And the SMF receives a second request message sent by the AMF.
The second request message is generated by the AMF according to the first request message, the second request message carries an ASID, and the second request message is used for the AMF to obtain the routing information corresponding to the ASID from the SMF.
905. The SMF sends a third request message to the UDM.
The third request message is generated by the SMF according to the second request message, the third request message carries an ASID, and the third request message is used for the SMF to acquire the routing information corresponding to the ASID from the UDM.
906. And the UDM returns a third response message to the SMF according to the application server subscription information stored by the UDM.
The third response message carries ASInfo and DNN for indicating the network name of the network where the AS is located, and the ASInfo carries association information of the AS, where the association information is used to determine the AS in the network.
907. And the SMF selects the user plane gateway according to the DNN in the third response message, the network access position information of the UE accessing the access network equipment and the load information of the user plane gateway connected with the SMF.
After obtaining the DNN from the UDM, the SMF selects a user plane gateway according to the DNN, the network access location information of the UE accessing the access network device, and the load information of the user plane gateway connected to the SMF, and selects the user plane gateway, that is, the user plane gateway connected to the access network device, which is mainly used for the access network device to send a data packet to the gateway, or the user plane gateway sends the data packet to the access network device.
908. The SMF returns a second response message to the AMF.
And generating a second response message according to the third response message, where the second response message is used by the SMF to respond to a second request message sent by the AMF to the SMF, and the second response message carries the ASID and information of a corresponding user plane gateway. The ASID and the information of the corresponding user plane gateway are information that is needed for the access network device to generate an ID routing table on the access network device.
909. And the AMF returns the first response message to the access network equipment.
The first response message is generated by the AMF according to the second response message, and the first response message also carries the ASID and the information of the corresponding user plane gateway, so that the access network device is given the information needed to generate the ID routing table on the access network device.
910. And the access network equipment generates an ID routing table of the access network equipment according to the first response message.
After receiving the ASID and the information of the corresponding user plane gateway, the access network device may generate an ID routing table of the access network device.
911. The SMF sends the fourth request message to the selected user plane gateway.
The fourth request message is generated by the SMF according to the third response message, and the fourth request message carries an ASID and a corresponding ASInfo, and is used for enabling the user plane gateway to update an ID routing table of the user plane gateway.
912. And the user plane gateway determines that the ID routing table of the user plane gateway does not store a routing entry corresponding to the ASID.
After receiving the fourth request message, the user plane gateway does not directly update the routing table, but determines first, and only when it is determined that the ID routing table of the user plane gateway does not store the routing entry corresponding to the ASID, step 913 is executed.
913. And the user plane gateway generates an ID routing table of the user plane gateway according to the fourth request message.
And the user plane gateway generates an ID routing table of the user plane gateway according to the ASID and the ASInfo in the fourth request message.
As can be seen from steps 903 to 913, the updating of the ID routing tables on the access network device and the user plane gateway starts with the access network device sending a first request message to the AMF, the access network device receiving the first response message and updating the ID routing table on the access network device according to the first response message, and the user plane gateway receiving the fourth request message and updating the ID routing table on the user plane gateway according to the fourth request message.
Optionally, when the QoS information and the service flow mode information are stored in the ID routing table, the QoS information and the service flow mode information corresponding to the ASID may be stored in the UDM, and at this time, the third response message, the second response message, and the first response message also all carry the QoS information and the service flow mode information, so that the access network device may generate the ID routing table of the access network device according to the UEID, the information of the user plane gateway, the QoS information, and the service flow mode information. And the fourth request message also carries QoS information and service flow mode information corresponding to the ASID, so that the user plane gateway can generate an ID routing table of the user plane gateway according to the ASID, the ASInfo, the QoS information and the service flow mode information.
Optionally, the UPF may also authenticate the validity of the data packet, so that a corresponding GPK needs to be obtained, in this case, GPK information corresponding to the ASID may be stored in the UDM, and the fourth request message may also carry the GPK information, and when authentication is needed, a public key of the UE may be generated through the GPK and the UEID in the data packet, so as to verify the signature of the data packet, and achieve the purpose of authentication.
EXAMPLE III
The network communication method according to the embodiment of the present application is introduced above, and access network equipment in the network communication method according to the embodiment of the present application is introduced below. Referring to fig. 10, fig. 10 is a diagram of an embodiment of an access network device according to an embodiment of the present application, where the access network device includes:
a transceiving module 1001, configured to receive a data packet sent by a UE, where an ID header of the data packet includes a UE ID for identifying the UE and an ASID for identifying an AS;
a processing module 1002, configured to obtain service flow mode information corresponding to the ASID of the data packet;
the transceiver module is further configured to forward the data packet according to a routing entry matching the ASID in the ID routing table acquired by the access network device;
when the traffic flow mode information indicates that there is downlink data transmission, the processing module 1002 is further configured to create or update a temporary context of the UE, where the temporary context includes the UE id and information of a cell used when the UE sends the data packet.
The transceiver module 1001 can implement step 701, step 703, step 711 and step 712 in the embodiment shown in fig. 7, and the processing module 1002 can implement step 702 and step 704 in the embodiment shown in fig. 7.
Optionally, the UE ID and the ASID are both IDs that the UE corresponding to the UE ID has acquired before connecting to the network, so that the UE can use the UE ID and the ASID when sending the data packet.
The UE ID or the ASID is an ID that is already acquired before the UE connects to the 5G network, the acquisition mode may be factory configuration or acquisition by activating a device, and the specific UE ID and ASID allocation rule may refer to the description of step 701 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, the ID routing table is a routing table pre-stored on the access network device; or the like, or, alternatively,
and the ID routing table is a routing table generated by the access network equipment according to the ASID issued by the control plane network element and the user plane gateway information corresponding to the issued ASID.
For two ways of obtaining the rule of the ID routing table, reference may be made to the description of step 703 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, the transceiver module 1001 is further configured to receive downlink data sent by a user plane gateway through an AS corresponding to the ASID in the data packet, where a data packet of the downlink data carries the UEID;
the transceiving module 1001 is further configured to send the downlink data to the UE according to the information of the cell corresponding to the UE id in the temporary context.
For receiving and sending the data packet of the downlink data corresponding to the uplink data, refer to the descriptions of step 711 and step 712 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, the ASID is configured to uniquely identify an AS within a preset range, the UE id is configured to uniquely identify a UE within an AS, and one of the ASIDs plus one of the UE ids is configured to uniquely identify a UE within a preset range; or the like, or, alternatively,
the UE ID is used for uniquely identifying one UE in a preset range, and the ASID is used for uniquely identifying one AS in the preset range.
The two combination types of UEID and ASID may refer to the description of step 701 in the embodiment shown in fig. 7, and are not described herein again.
Optionally, the processing module 1002 is further configured to obtain QoS information corresponding to the ASID of the data packet;
the processing module 1002 is further configured to process the data packet according to the QoS information.
For the QoS information and the process of executing the corresponding service according to the QoS, refer to the description of step 702 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, the ASID includes QoS information and traffic flow mode information; or the like, or, alternatively,
the QoS information and the traffic flow pattern information are stored in the ID routing table, and the ASID corresponds to the QoS information and the traffic flow pattern information, respectively.
For two storage manners of the QoS information and the traffic flow mode information, reference may be made to the description of step 702 in the embodiment shown in fig. 7, and details are not described here again.
Optionally, when the ASID includes QoS information and service flow mode information, the processing module 1002 is specifically configured to:
acquiring QoS information corresponding to the ASID of the data packet and service flow mode information corresponding to the ASID of the data packet from the ASID; or the like, or, alternatively,
when the QoS information and the traffic flow mode information are stored in the ID routing table, the processing module 1002 is specifically configured to:
and acquiring QoS information and service flow mode information corresponding to the ASID in the ID routing table according to the ASID.
For two storage manners of the QoS information and the traffic flow mode information, the description of step 702 in the embodiment shown in fig. 7 may be referred to for obtaining the QoS information and the traffic flow mode information corresponding to the ASID, and details are not repeated here.
Optionally, when the access network device determines that the ID routing table does not have a routing entry matching the ASID, the transceiver module 1001 sends a first request message to the control plane network element, where the first request message carries the ASID, and the first request message is used to obtain routing information corresponding to the ASID from the control plane network element;
the transceiver module 1001 is further configured to receive a first response message returned by the control plane network element, where the first response message carries the ASID and information of a corresponding user plane gateway;
the processing module 1002 generates the ID routing table according to the ASID carried in the first response message and the information of the corresponding user plane gateway.
The process of sending, by the access network device, the first request message to the control plane network element to obtain the ASID and the information of the corresponding user plane gateway, and generating the ID routing table may refer to embodiment two, which is not described herein again.
Optionally, the control plane network element includes an access control and mobility management network element AMF, a session management network element SMF, and a unified data management network element UDM;
the transceiver module 1001 is specifically configured to send a first request message to the AMF, where the first request message is specifically configured to obtain, from the AMF, the routing information corresponding to the ASID;
the transceiver module 1001 is specifically configured to receive a first response message sent by an AMF, where the first response message is generated by the AMF according to a second response message returned by the SMF, the second response message carries the ASID and information of a corresponding user plane gateway, the second response message is generated by the SMF according to a third response message returned by the UDM, the third response message is generated by the UDM according to subscription information of an application server stored in the UDM, the third response message includes asifo and DNN used for indicating a network name of a network where the application server is located, the asifo carries association information of an AS, and the association information is used for determining the AS in the network;
wherein the second response message is used by the SMF to respond to a second request message sent by the AMF to the SMF, the second request message is generated by the AMF according to the first request message and used by the AMF to obtain the routing information corresponding to the ASID from the SMF, and the second request message carries the ASID; the third response message is used for responding to a third request message sent by the SMF to the UDM, the third request message is generated by the SMF according to the second request message and is used for the SMF to acquire the routing information corresponding to the ASID from the UDM, and the third request message carries the ASID.
In a case that the control plane network element has the AMF, the SMF, and the UDM, a process of sending, by the access network device, the first request message to the control plane network element to obtain the ASID and the information of the corresponding user plane gateway, and generating the ID routing table may be shown in the process from step 903 to step 910 in the embodiment shown in fig. 9, and is not described herein again.
Optionally, the UDM stores QoS information and service flow mode information corresponding to an ASID, and when the QoS information and the service flow mode information are stored in the ID routing table, the first response message, the second response message, and the third response message further carry the QoS information and the service flow mode information, respectively.
When the QoS information and the service flow mode information are stored in the ID routing table, the UDM stores the QoS information and the service flow mode information corresponding to the ASID, and the first response message, the second response message, and the third response message also carry the QoS information and the service flow mode information, respectively, so that the access network device can obtain the QoS information and the service flow mode information and can be used to generate the ID routing table.
Optionally, when the storage time of the temporary context exceeds a preset time threshold, the processing module is further configured to delete the temporary context.
For the timeout setting of the temporary context, refer to the description of step 704 in the embodiment shown in fig. 7, and details are not repeated here.
Example four
The above describes the access network device according to the embodiment of the present application, and the following describes the user plane gateway according to the embodiment of the present application. Referring to fig. 11, fig. 11 is a diagram of an embodiment of a user plane gateway according to an embodiment of the present application, where the user plane gateway includes:
a transceiving module 1101, configured to receive a data packet sent by an access network device, where an ID header of the data packet includes a UE ID for identifying a UE and an ASID for identifying an AS;
a processing module 1102, configured to acquire service flow mode information corresponding to the ASID of the data packet;
the transceiver module 1101 is further configured to forward the data packet according to a routing entry matching the ASID in the ID routing table acquired by the user plane gateway;
when the service flow mode information indicates downlink data transmission, the processing module 1102 is further configured to create or update a temporary context of the UE corresponding to the UE id, where the temporary context includes the UE id and access network device information Info, and the access network device Info is used to record information of an access network device of the access network device that sends the data packet.
Wherein, the transceiver module 1101 can implement step 705, step 707, step 709 and step 710 in the embodiment shown in fig. 7; the processing module 1102 can implement steps 706 and 708 in the embodiment shown in fig. 7.
Optionally, the UE ID and the ASID are both IDs that the UE corresponding to the UE ID has acquired before connecting to the network, so that the UE can use the UE ID and the ASID when sending the data packet.
The UE ID or the ASID is an ID that is already acquired before the UE connects to the 5G network, the acquisition mode may be factory configuration or acquisition by activating a device, and the specific UE ID and ASID allocation rule may refer to the description of step 701 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, the ID routing table is a routing table pre-stored on the user plane gateway; or the like, or, alternatively,
and the ID routing table is a routing table generated by the user plane gateway root according to the ASID issued by the control plane network element and the ASInfo corresponding to the issued ASID.
For two ways of obtaining the rule of the ID routing table, reference may be made to the description of step 703 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, the transceiver module 1101 is further configured to receive downlink data sent by an AS corresponding to the ASID in the data packet, where the data packet of the downlink data carries the UEID;
the transceiver module 1101 is further configured to send the downlink data to the access network device corresponding to the access network device Info according to the access network device Info corresponding to the UEID in the temporary context.
For receiving and sending the data packet of the downlink data corresponding to the uplink data, refer to the descriptions of step 709 and step 710 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, the ASID is used to uniquely identify an AS globally, the UE id is used to uniquely identify a UE within an AS, and one ASID plus one UE id is used to uniquely identify a UE within a preset range; or the like, or, alternatively,
the UEID is used to uniquely identify a UE globally and the ASID is used to uniquely identify an AS within the internet.
The two combination types of UEID and ASID may refer to the description of step 701 in the embodiment shown in fig. 7, and are not described herein again.
Optionally, the processing module 1102 is further configured to obtain QoS information corresponding to the ASID of the data packet;
the processing module 1102 is further configured to process the data packet according to the QoS information.
For the QoS information and the process of executing the corresponding service according to the QoS, refer to the description of step 702 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, the ASID includes QoS information and traffic flow pattern information; or the like, or, alternatively,
the QoS information and the traffic flow pattern information are stored in the ID routing table, and the ASID corresponds to the QoS information and the traffic flow pattern information.
For two storage manners of the QoS information and the traffic flow mode information, reference may be made to the description of step 702 in the embodiment shown in fig. 7, and details are not described here again.
Optionally, when the ASID includes QoS information and service flow mode information, the processing module 1102 is further configured to obtain, from the ASID, QoS information corresponding to the ASID of the data packet and service flow mode information corresponding to the ASID of the data packet; or the like, or, alternatively,
when the QoS information and the traffic flow mode information are stored in the ID routing table, the processing module 1102 is further configured to obtain, according to the ASID, the QoS information and the traffic flow mode information corresponding to the ASID from the ID routing table.
For two storage manners of QoS information and service flow mode information, the obtaining of the QoS information and service flow mode information corresponding to the ASID is similar to the description of step 702 in the embodiment shown in fig. 7, and is not repeated here.
Optionally, the transceiver module 1101 is further configured to receive a fourth request message sent by a control plane network element, where the fourth request message is used by the user plane gateway to set an ID routing table on the user plane gateway, and the fourth request message includes an ASID and a corresponding ASInfo.
The process of generating the ID routing table of the user plane gateway according to the fourth request message may be shown in step 912 and step 913 in the embodiment shown in fig. 9, and details are not described here.
Optionally, when no routing entry corresponding to the ASID in the received fourth request message exists on the user plane gateway, the processing module 1102 is further configured to generate an ID routing table according to the ASID and the corresponding asifo included in the fourth request message.
The process of generating the ID routing table of the user plane gateway according to the fourth request message may be shown in step 912 and step 913 in the embodiment shown in fig. 9, and details are not described here.
Optionally, the control plane network element includes an access control and mobility management network element AMF, a session management network element SMF, and a unified data management network element UDM, where the fourth request message is generated by the SMF according to a first response message sent by the UDM, the first response message is generated by the UDM according to application server subscription information stored in the UDM, the first response message includes an asifo and a DNN used to indicate a network name of a network where an AS is located, the asifo carries association information of the AS, and the association information is used to determine the AS in the network;
wherein the first response message is used by the UDM to respond to a third request message sent by the SMF to the UDM, the third request message is generated by the SMF according to the second request message and used by the SMF to acquire the routing information corresponding to the ASID from the UDM, and the third request message carries the ASID; the second request message is generated by the AMF according to the first request message and used for the AMF to obtain the routing information corresponding to the ASID from the SMF, and the second request message carries the ASID; the first request message is sent to the AMF by the access network device, where the first request message is used for the access network device to obtain the routing information corresponding to the ASID from the AMF, and the first request message carries the ASID.
When the control plane network element has the AMF, the SMF, and the UDM, the access network device sends the first request message to the control plane network element to obtain the ASID and the information of the corresponding user plane gateway, and the SMF sends the fourth request message to the user plane gateway, so that a process for the user plane gateway to generate the ID routing table of the user plane gateway may refer to steps 903 to 907 in the embodiment shown in fig. 9, and steps 911 to 913 shown in the embodiment, which are not described herein again.
Optionally, the UDM stores QoS information and service flow mode information corresponding to the ASID, and when the QoS information and the service flow mode information are stored in the ID routing table, the third response message and the fourth request message further carry the QoS information and the service flow mode information.
When the QoS information and the service flow mode information are stored in the ID routing table, the UDM stores the QoS information and the service flow mode information corresponding to the ASID, and the third response message and the fourth request message also carry the QoS information and the service flow mode information, respectively, so that the user plane gateway can obtain the QoS information and the service flow mode information and can be used to generate the ID routing table.
Optionally, the processing module 1102 is further configured to authenticate the validity of the data packet according to authentication information carried in the data packet received from the access network device;
when the authentication is passed, the transceiver module 1101 executes the step of forwarding the data packet by the access network device according to the routing entry matched with the ASID in the ID routing table acquired by the access network device;
when the authentication fails, the processing module 1102 discards the data packet.
For the authentication process of the data packet, reference may be made to the description of step 705 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, the processing module 1102 is specifically configured to:
generating public key information of the UE corresponding to the UEID according to the UEID carried in the data packet and pre-configured GPK (general purpose key) information of a system public key;
and verifying the signature information carried in the data packet by adopting the public key information of the UE.
For the authentication process of the data packet, reference may be made to the description of step 705 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, different ases correspond to different or the same GPK.
For the authentication process of the data packet, reference may be made to the description of step 705 in the embodiment shown in fig. 7, which is not described herein again.
Optionally, the UDM stores GPK information corresponding to the ASID, and the third response message and the fourth request message also carry the GPK information corresponding to the ASID, respectively.
Because the user plane gateway needs the GPK to generate the public key of the UE, and the GPK is stored in the UDM, the GPK information needs to be sent to the user plane gateway through the third response message and the fourth request message, that is, the third response message and the fourth request message also carry the GPK information corresponding to the ASID, respectively.
Optionally, when the storage time of the temporary context exceeds a preset time threshold, the processing module is further configured to delete the temporary context.
For the timeout setting of the temporary context, refer to the description of step 708 in the embodiment shown in fig. 7, and details are not repeated here.
EXAMPLE five
The above introduces the user plane gateway according to the embodiment of the present application, and the following introduces the control plane network element according to the embodiment of the present application. Referring to fig. 12, fig. 12 is a diagram of an embodiment of a control plane network element according to an embodiment of the present application, where the control plane network element includes:
the AMF1201 is configured to receive a first request message sent by an access network device, where the first request message carries an ASID, and the first request message is used for the access network device to obtain, to the AMF, routing information corresponding to the ASID;
the AMF is further configured to send a first response message to the access network device, where the first response message is used to respond to the first request message, and the first response message carries the ASID and user plane gateway information of the user plane gateway selected by the SMF;
the SMF1202 is configured to send a fourth request message to the user plane gateway selected by the control plane network element, where the fourth request message carries the ASID and corresponding ASInfo, and the ASInfo is determined by the UDM1203 according to the ASID and the application server subscription information stored in the control plane network element itself.
Optionally, the user plane gateway selected by the SMF1202 is a user plane gateway selected by the SMF1202 according to DNN, location information of an access network device, and load information of the user plane gateway connected to the SMF1202, and the DNN is a name determined by the UDM1203 according to the ASID information and application server subscription information stored in the UDM1203 itself.
Optionally, the SMF1202 is further configured to receive a second request message sent by the AMF1201, where the second request message is generated by the AMF1201 according to the first request message, the second request message carries an ASID, and the second request message is used for the AMF1201 to acquire, from the SMF1202, routing information corresponding to the ASID;
the SMF1202 is further configured to send a third request message to the UDM1203, where the third request message is generated by the SMF1202 according to the second request message, the third request message carries an ASID, and the third request message is used for the SMF1202 to acquire routing information corresponding to the ASID from the UDM 1203;
the UDM1203 is further configured to return a third response message to the SMF1202 according to the subscription information of the application server stored in the UDM1203, where the third response message carries a DNN for indicating a network name of a network where an AS is located, and the ASInfo carries association information of the AS, where the association information is used to determine the AS in the network;
the SMF1202 is further configured to select a user plane gateway according to the DNN in the third response message, the network access location information of the UE accessing the access network device, and the load information of the user plane gateway connected to the SMF 1202;
the SMF1202 is further configured to return a second response message to the AMF1201, where the second response message is generated according to the third response message, the second response message is used for the SMF1202 to respond to a second request message sent by the AMF1201 to the SMF1202, and the second response message carries the ASID and information of a corresponding user plane gateway;
the AMF1201 is further configured to return the first response message to the access network device, where the first response message is generated by the AMF1201 according to the second response message;
the SMF1202 is further configured to generate the fourth request message according to the third response message.
The AMF1201 may implement the step 903 and the step 909 in the embodiment shown in fig. 9, the SMF1202 may implement the step 904, the step 905, the step 907, and the step 908 in the embodiment shown in fig. 9, and the UDM1203 may implement the step 906 in the embodiment shown in fig. 9.
Optionally, the UDM stores QoS information and service flow mode information corresponding to the ASID, and the first response message, the fourth request message, the second response message, and the third response message further carry the QoS information and the service flow mode information, respectively.
And when the QoS information and the service flow mode information are stored in the ID routing table, the first response message is used for the ID routing table of the access network equipment, and the fourth request message is used for the ID routing table of the user plane gateway.
Optionally, the UDM stores system public key GPK information corresponding to the ASID, and the third response message and the fourth request message also carry the GPK information.
Because the user plane gateway needs the GPK to generate the public key of the UE, and the GPK is stored in the UDM, the GPK information needs to be sent to the user plane gateway through the third response message and the fourth request message, that is, the third response message and the fourth request message also carry the GPK information corresponding to the ASID, respectively.
EXAMPLE six
The above describes a user plane gateway according to an embodiment of the present application, and the following describes user equipment according to an embodiment of the present application. Referring to fig. 13, fig. 13 is a diagram of an embodiment of a ue according to an embodiment of the present application, where the ue includes:
the sending module 1301 sends a data packet to the access network device, where an ID header of the data packet includes a UE ID for identifying the UE and an ASID for identifying the AS.
The ue may further include a processing module 1303, where the processing module 1303 is configured to generate a data packet including the UEID and the ASID.
Optionally, the UE id and the ASID have two identification manners, one is that the ASID is used for uniquely identifying one AS within a preset range, the UE id is used for uniquely identifying one UE within one AS, and one of the ASIDs plus one of the UE ids is used for uniquely identifying one UE; the other is that the UE id is used for uniquely identifying one UE within a preset range, and the ASID is used for uniquely identifying one AS within the preset range.
Optionally, the UE ID and the ASID are both IDs that the UE corresponding to the UE ID has acquired before connecting to the network, so that the UE can use the UE ID and the ASID when sending the data packet. The UE ID or ASID is an ID that has been acquired before the UE connects to the 5G network, and the acquisition may be factory configuration or acquired by activating the device.
Optionally, the ASID further includes service flow mode information, and when the UE sends the data packet to the access network device, the UE also sends the service flow mode information corresponding to the ASID to the access network device.
Optionally, the service flow mode information corresponding to the ASID indicates that there is downlink data transmission. That is, the logistics mode information indicates that sending the uplink data to the AS will cause the AS to send downlink data corresponding to the uplink data, and the downlink data will be sent to the UE.
Optionally, the ASID further includes QoS information, and when the UE sends the data packet to the access network device, the UE also sends the service flow mode information and the QoS information corresponding to the ASID to the access network device.
Referring now to fig. 14, fig. 14 is a diagram of an embodiment of an access network device according to an embodiment of the present application, where the access network device 14 may include at least one processor 1402, at least one transceiver 1401, and a memory 1403 connected thereto, the access network device according to an embodiment of the present application may have more or fewer components than those shown in fig. 14, may combine two or more components, or may have different configurations or arrangements of components, and each component may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
Specifically, for the embodiment shown in fig. 10, the processor 1402 can implement the functions of the processing module 1002 of the access network device in the embodiment shown in fig. 10, the transceiver 1401 can implement the functions of the transceiver module 1001 of the access network device in the embodiment shown in fig. 5, and the memory 1403 is used for program instructions, and the network communication method in the embodiment shown in fig. 7 is implemented by executing the program instructions.
Referring to fig. 15, fig. 15 is a diagram of an embodiment of a user plane gateway according to an embodiment of the present application, where the user plane gateway 15 may include at least one processor 1502, at least one transceiver 1501 and a memory 1503 connected, the user plane gateway according to the embodiment of the present application may have more or less components than those shown in fig. 15, may combine two or more components, or may have different component configurations or arrangements, and each component may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
Specifically, for the embodiment shown in fig. 11, the processor 1502 can implement the functions of the processing module 1102 of the user plane gateway in the embodiment shown in fig. 11, the transceiver 1501 can implement the functions of the transceiver module 1101 of the user plane gateway in the embodiment shown in fig. 5, and the memory 1503 is used for program instructions, and the network communication method in the embodiment shown in fig. 7 is implemented by executing the program instructions.
Referring now to fig. 16, fig. 16 is a diagram of an embodiment of a user equipment according to an embodiment of the present application, where the user equipment 16 may include at least one processor 1602, at least one transceiver 1601, and a memory 1603 connected, and the user equipment according to an embodiment of the present application may have more or less components than those shown in fig. 16, may combine two or more components, or may have different component configurations or arrangements, and each component may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
Specifically, for the embodiment shown in fig. 12, the processor 1602 can implement the functions of the processing module 1202 of the user equipment in the embodiment shown in fig. 12, the transceiver 1601 can implement the functions of the transceiver module 1201 of the user equipment in the embodiment shown in fig. 12, and the memory 1603 is used for program instructions to implement the network communication method in the embodiment shown in fig. 7 by executing the program instructions.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may 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 loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (52)

1. A network communication method, comprising:
the method comprises the steps that access network equipment receives a data packet sent by User Equipment (UE), and an identification ID header of the data packet comprises a User Equipment Identification (UEID) for identifying the UE and an Application Server Identification (ASID) for identifying an Application Server (AS);
the access network equipment acquires the business flow mode information corresponding to the ASID of the data packet;
the access network equipment forwards the data packet according to a routing entry matched with the ASID in an ID routing table acquired by the access network equipment;
and when the service flow mode information indicates that downlink data transmission exists, the access network equipment creates or updates a temporary context of the UE, wherein the temporary context comprises the UE ID and information of a cell used by the UE for sending the data packet.
2. The network communication method according to claim 1, wherein the UE ID and the ASID are both IDs that the UE corresponding to the UE ID has acquired before connecting to the network.
3. The network communication method according to claim 1, wherein the ID routing table is a routing table stored in advance on the access network device; or the like, or, alternatively,
and the ID routing table is a routing table generated by the access network equipment according to the ASID issued by the control plane network element and the user plane gateway information corresponding to the issued ASID.
4. The network communication method of claim 1, wherein the method further comprises:
the access network equipment receives downlink data sent by an AS (application server) corresponding to the ASID in the data packet through a user plane gateway, wherein the data packet of the downlink data carries the UEID;
and the access network equipment sends the downlink data to the UE according to the information of the cell corresponding to the UEID in the temporary context.
5. The network communication method of claim 1, wherein the ASID is used to uniquely identify an AS within a predetermined range, the UEID is used to uniquely identify a UE within an AS, and one of the ASID plus one of the UEID is used to uniquely identify a UE within a predetermined range; or the like, or, alternatively,
the UE ID is used for uniquely identifying one UE in a preset range, and the ASID is used for uniquely identifying one AS in the preset range.
6. The network communication method according to any one of claims 1 to 5, wherein the method further comprises:
the access network equipment acquires the QoS information corresponding to the ASID of the data packet;
and the access network equipment processes the data packet according to the QoS information.
7. The network communication method of claim 6, wherein the ASID includes QoS information and traffic flow pattern information; or the like, or, alternatively,
the QoS information and the traffic flow pattern information are stored in the ID routing table, and the ASID corresponds to the QoS information and the traffic flow pattern information, respectively.
8. The network communication method of claim 7, wherein when the ASID includes QoS information and traffic flow pattern information, the obtaining, by the access network device, QoS information corresponding to the ASID of the packet and obtaining traffic flow pattern information corresponding to the ASID of the packet comprises:
the access network equipment acquires QoS information corresponding to the ASID of the data packet and service flow mode information corresponding to the ASID of the data packet from the ASID; or the like, or, alternatively,
when the QoS information and the traffic flow pattern information are stored in the ID routing table, the acquiring, by the access network device, the QoS information corresponding to the ASID of the data packet and the acquiring, by the access network device, the traffic flow pattern information corresponding to the ASID of the data packet include:
and the access network equipment acquires the QoS information and the service flow mode information corresponding to the ASID in the ID routing table according to the ASID.
9. The network communication method according to any one of claims 1 to 5, wherein before the access network device forwards the packet according to the routing entry matching the ASID in the ID routing table acquired by the access network device, the method further comprises:
when the access network device determines that no routing entry matched with the ASID exists in an ID routing table, the access network device sends a first request message to a control plane network element, where the first request message carries the ASID, and the first request message is used to obtain routing information corresponding to the ASID from the control plane network element;
the access network equipment receives a first response message returned by a control plane network element, wherein the first response message carries the ASID and information of a corresponding user plane gateway;
and the access network equipment generates the ID routing table according to the ASID carried in the first response message and the information of the corresponding user plane gateway.
10. The network communication method according to claim 9, wherein the control plane network element includes an access control and mobility management network element AMF, a session management network element SMF, and a unified data management network element UDM, and the sending, by the access network device, the first request message to the control plane network element includes:
the access network equipment sends a first request message to the AMF, wherein the first request message is specifically used for acquiring the routing information corresponding to the ASID from the AMF;
the receiving, by the access network device, the first response message returned by the control plane network element includes:
the access network equipment receives a first response message sent by an AMF (advanced microwave access network), wherein the first response message is generated by the AMF according to a second response message returned by the SMF, the second response message carries the ASID and the information of a corresponding user plane gateway, the second response message is generated by the SMF according to a third response message returned by the UDM, the third response message is generated by the UDM according to application server subscription information stored in the UDM, the third response message comprises application server information (ASInfo) and a Data Network Name (DNN) used for indicating a network name of a network where the AS is located, the ASInfo carries associated information of the AS, and the associated information is used for determining the AS in the network;
wherein the second response message is used by the SMF to respond to a second request message sent by the AMF to the SMF, the second request message is generated by the AMF according to the first request message and used by the AMF to obtain the routing information corresponding to the ASID from the SMF, and the second request message carries the ASID; the third response message is used for responding to a third request message sent by the SMF to the UDM, the third request message is generated by the SMF according to the second request message and is used for the SMF to acquire the routing information corresponding to the ASID from the UDM, and the third request message carries the ASID.
11. The method according to claim 10, wherein the UDM stores QoS information and traffic flow pattern information corresponding to ASID, and when the QoS information and the traffic flow pattern information are stored in the ID routing table, the first response message, the second response message, and the third response message further carry QoS information and traffic flow pattern information, respectively.
12. A network communication method, comprising:
a user plane gateway receives a data packet sent by access network equipment, wherein an ID header of the data packet comprises a UEID for identifying UE and an application server ASID for identifying an application server AS;
the user plane gateway acquires service flow mode information corresponding to the ASID of the data packet;
the user plane gateway forwards the data packet according to a routing entry which is matched with the ASID in an ID routing table acquired by the user plane gateway;
and when the service flow mode information indicates that downlink data transmission exists, the user plane gateway creates or updates a temporary context of the UE corresponding to the UE ID, wherein the temporary context comprises the UE ID and access network equipment information Info, and the access network equipment Info is used for recording information of access network equipment which sends the data packet.
13. The network communication method of claim 12, wherein the UE ID and the ASID are both IDs that the UE corresponding to the UE ID has acquired before connecting to a network.
14. The network communication method according to claim 12, wherein the ID routing table is a routing table stored in advance on the user plane gateway; or the like, or, alternatively,
and the ID routing table is a routing table generated by the user plane gateway root according to the ASID issued by the control plane network element and the application server information ASInfo corresponding to the issued ASID.
15. The network communication method of claim 12, wherein the method further comprises:
the user plane gateway receives downlink data sent by an AS corresponding to the ASID in the data packet, wherein the data packet of the downlink data carries the UEID;
and the user plane gateway sends the downlink data to the access network equipment corresponding to the access network equipment Info according to the access network equipment Info corresponding to the UEID in the temporary context.
16. The network communication method of claim 12, wherein the ASID is used to uniquely identify an AS within a predetermined range, the UEID is used to uniquely identify a UE within an AS, and one of the ASID plus one of the UEID is used to uniquely identify a UE within a predetermined range; or the like, or, alternatively,
the UE ID is used for uniquely identifying one UE in a preset range, and the ASID is used for uniquely identifying one AS in the preset range.
17. The network communication method according to any one of claims 12 to 16, wherein the method further comprises:
the user plane gateway acquires the QoS information corresponding to the ASID of the data packet;
and the user plane gateway processes the data packet according to the QoS information.
18. The network communication method of claim 17, wherein the ASID includes QoS information and traffic flow pattern information; or the like, or, alternatively,
the QoS information and the traffic flow pattern information are stored in the ID routing table, and the ASID corresponds to the QoS information and the traffic flow pattern information.
19. The network communication method of claim 18, wherein when the ASID includes QoS information and traffic flow pattern information, the obtaining, by the user plane gateway, QoS information corresponding to the ASID of the packet and obtaining traffic flow pattern information corresponding to the ASID of the packet comprises:
the user plane gateway acquires QoS information corresponding to the ASID of the data packet and service flow mode information corresponding to the ASID of the data packet from the ASID; or the like, or, alternatively,
when the QoS information and the traffic flow pattern information are stored in the ID routing table, the acquiring, by the user plane gateway, the QoS information corresponding to the ASID of the data packet and the acquiring the traffic flow pattern information corresponding to the ASID of the data packet include:
and the user plane gateway acquires QoS information and service flow mode information corresponding to the ASID in the ID routing table according to the ASID.
20. The network communication method according to any one of claims 12 to 16, wherein before the user plane gateway forwards the packet according to a routing entry matching the ASID in an ID routing table acquired by the user plane gateway, the method further comprises:
the user plane gateway receives a fourth request message sent by a control plane network element, where the fourth request message is used for the user plane gateway to set an ID routing table on the user plane gateway, and the fourth request message includes an ASID and corresponding ASInfo.
21. The network communication method of claim 20, wherein the method further comprises:
and when no routing entry corresponding to the ASID in the received fourth request message exists on the user plane gateway, the user plane gateway generates an ID routing table according to the ASID and the corresponding ASInfo included in the fourth request message.
22. The network communication method according to claim 20, wherein the control plane network element includes an access control and mobility management network element AMF, a session management network element SMF, and a unified data management network element UDM, the fourth request message is generated by the SMF according to a first response message sent by the UDM, the first response message is generated by the UDM according to application server subscription information stored in the UDM, the first response message includes the asifo and a data network name DNN indicating a network name of a network where the AS is located, the asifo carries association information of the AS, and the association information is used to determine the AS in the network;
wherein the first response message is used by the UDM to respond to a third request message sent by the SMF to the UDM, the third request message is generated by the SMF according to a second request message and used by the SMF to acquire the routing information corresponding to the ASID from the UDM, and the third request message carries the ASID; the second request message is generated by the AMF according to the first request message and used for the AMF to acquire the routing information corresponding to the ASID from the SMF, and the second request message carries the ASID; the first request message is sent to the AMF by the access network device, where the first request message is used for the access network device to obtain the routing information corresponding to the ASID from the AMF, and the first request message carries the ASID.
23. The method according to claim 22, wherein the UDM stores QoS information and traffic flow pattern information corresponding to ASID, and when the QoS information and the traffic flow pattern information are stored in the ID routing table, the first response message and the fourth request message further carry the QoS information and the traffic flow pattern information.
24. The network communication method according to claim 22 or 23, wherein before the access network device forwards the data packet according to the routing entry matching the ASID in the ID routing table acquired by the access network device, the method further comprises:
the user plane gateway authenticates the legality of the data packet according to authentication information carried in the data packet received from the access network equipment;
when the authentication is passed, triggering the user plane gateway to forward the data packet according to the routing entry matched with the ASID in the ID routing table acquired by the user plane gateway;
and when the authentication fails, discarding the data packet.
25. The network communication method of claim 24, wherein the authenticating, by the user plane gateway, the validity of the data packet according to the authentication information carried in the data packet received from the access network device comprises:
the user plane gateway generates public key information of the UE corresponding to the UEID according to the UEID carried in the data packet and pre-configured GPK (general purpose key) information of a system public key;
and the user plane gateway verifies the signature information carried in the data packet by adopting the public key information of the UE.
26. The method according to claim 25, wherein the UDM stores GPK information corresponding to an ASID, and wherein the first response message and the fourth request message each further carry GPK information corresponding to the ASID.
27. An access network device, comprising:
a transceiving module, configured to receive a data packet sent by a user equipment UE, where an identification ID header of the data packet includes a user equipment identification UEID for identifying the UE and an application server identification ASID for identifying an application server AS;
the processing module is used for acquiring the business flow mode information corresponding to the ASID of the data packet;
the transceiver module is further configured to forward the data packet according to a routing entry matching the ASID in the ID routing table acquired by the access network device;
when the traffic flow mode information indicates that there is downlink data transmission, the processing module is further configured to create or update a temporary context of the UE, where the temporary context includes the UE id and information of a cell used when the UE sends the data packet.
28. The access network device of claim 27, wherein the UEID and the ASID are IDs that the UE corresponding to the UEID has acquired before connecting to a network.
29. The access network device of claim 27, wherein the ID routing table is a routing table pre-stored on the access network device; or the like, or, alternatively,
and the ID routing table is a routing table generated by the access network equipment according to the ASID issued by the control plane network element and the user plane gateway information corresponding to the issued ASID.
30. The access network device of claim 27, wherein the transceiver module is further configured to receive downlink data sent by an AS corresponding to an ASID in the data packet through a user plane gateway, where a data packet of the downlink data carries the UEID;
the transceiver module is further configured to send the downlink data to the UE according to the information of the cell corresponding to the UE id in the temporary context.
31. The access network equipment of claim 27, wherein the ASID is configured to uniquely identify an AS within a predetermined range, the UEID is configured to uniquely identify a UE within an AS, and one of the ASID plus one of the UEID is configured to uniquely identify a UE within a predetermined range; or the like, or, alternatively,
the UE ID is used for uniquely identifying one UE in a preset range, and the ASID is used for uniquely identifying one AS in the preset range.
32. The access network device according to any one of claims 27 to 31, wherein the processing module is further configured to obtain quality of service QoS information corresponding to the ASID of the data packet;
the processing module is further configured to process the data packet according to the QoS information.
33. The access network device of claim 32, wherein the ASID includes QoS information and traffic flow pattern information; or the like, or, alternatively,
the QoS information and the traffic flow pattern information are stored in the ID routing table, and the ASID corresponds to the QoS information and the traffic flow pattern information, respectively.
34. The access network device of claim 33, wherein when the ASID includes QoS information and traffic flow mode information, the processing module is specifically configured to:
acquiring QoS information corresponding to the ASID of the data packet and service flow mode information corresponding to the ASID of the data packet from the ASID; or the like, or, alternatively,
when the QoS information and the traffic flow pattern information are stored in the ID routing table, the processing module is specifically configured to:
and acquiring QoS information and service flow mode information corresponding to the ASID in the ID routing table according to the ASID.
35. The access network device according to any one of claims 27 to 31, wherein when the access network device determines that there is no routing entry matching the ASID in an ID routing table, the transceiver module sends a first request message to a control plane network element, where the ASID is carried in the first request message, and the first request message is used to obtain routing information corresponding to the ASID from the control plane network element;
the transceiver module is further configured to receive a first response message returned by a control plane network element, where the first response message carries the ASID and information of a corresponding user plane gateway;
and the processing module generates the ID routing table according to the ASID carried in the first response message and the information of the corresponding user plane gateway.
36. The access network equipment according to claim 35, wherein the control plane network elements include an access control and mobility management network element AMF, a session management network element SMF and a unified data management network element UDM;
the transceiver module is specifically configured to send a first request message to the AMF, where the first request message is specifically configured to obtain, from the AMF, the routing information corresponding to the ASID;
the transceiver module is specifically configured to receive a first response message sent by an AMF, where the first response message is generated by the AMF according to a second response message returned by the SMF, the second response message carries the ASID and information of a corresponding user plane gateway, the second response message is generated by the SMF according to a third response message returned by the UDM, the third response message is generated by the UDM according to application server subscription information stored in the UDM, the third response message includes application server information asifo and a data network name DNN used to indicate a network name of a network where the AS is located, the asif carries association information of the AS, and the association information is used to determine the AS in the network;
wherein the second response message is used by the SMF to respond to a second request message sent by the AMF to the SMF, the second request message is generated by the AMF according to the first request message and used by the AMF to obtain the routing information corresponding to the ASID from the SMF, and the second request message carries the ASID; the third response message is used for responding to a third request message sent by the SMF to the UDM, the third request message is generated by the SMF according to the second request message and is used for the SMF to acquire the routing information corresponding to the ASID from the UDM, and the third request message carries the ASID.
37. The access network device of claim 36, wherein the UDM stores QoS information and traffic flow pattern information corresponding to an ASID, and when the QoS information and the traffic flow pattern information are stored in the ID routing table, the first response message, the second response message, and the third response message further carry the QoS information and the traffic flow pattern information, respectively.
38. A user plane gateway, comprising:
the receiving and sending module is used for receiving a data packet sent by the access network equipment, and the ID header of the data packet comprises a UEID used for identifying the UE and an application server ASID used for identifying an application server AS;
the processing module is used for acquiring the service flow mode information corresponding to the ASID of the data packet;
the receiving and sending module is further configured to forward the data packet according to a routing entry matching the ASID in an ID routing table acquired by the user plane gateway;
when the service flow mode information indicates downlink data transmission, the processing module is further configured to create or update a temporary context of the UE corresponding to the UE id, where the temporary context includes the UE id and access network device information Info, and the access network device Info is used to record information of an access network device of the access network device that sends the data packet.
39. The user plane gateway of claim 38, wherein the UEID and the ASID are both IDs that the UE corresponding to the UEID has acquired before connecting to a network.
40. The user plane gateway of claim 38, wherein the ID routing table is a routing table pre-stored on the user plane gateway; or the like, or, alternatively,
and the ID routing table is a routing table generated by the user plane gateway root according to the ASID issued by the control plane network element and the application server information ASInfo corresponding to the issued ASID.
41. The user plane gateway according to claim 38, wherein the transceiver module is further configured to receive downlink data sent by an AS corresponding to the ASID in the data packet, where a data packet of the downlink data carries the UEID;
and the transceiver module is further configured to send the downlink data to the access network device corresponding to the access network device Info according to the access network device Info corresponding to the UEID in the temporary context.
42. The user plane gateway of any of claim 38, wherein the ASID is configured to uniquely identify an AS within a predetermined range, wherein the UEID is configured to uniquely identify a UE within an AS, and wherein one of the ASID plus one of the UEID is configured to uniquely identify a UE within a predetermined range; or the like, or, alternatively,
the UE ID is used for uniquely identifying one UE in a preset range, and the ASID is used for uniquely identifying one AS in the preset range.
43. The UE gateway according to any of claims 38 to 42, wherein the processing module is further configured to obtain QoS (quality of service) information corresponding to the ASID of the packet;
the processing module is further configured to process the data packet according to the QoS information.
44. The user plane gateway of claim 43, wherein the ASID comprises QoS information and traffic flow pattern information; or the like, or, alternatively,
the QoS information and the traffic flow pattern information are stored in the ID routing table, and the ASID corresponds to the QoS information and the traffic flow pattern information.
45. The UE gateway of claim 44, wherein when the ASID includes QoS information and traffic flow pattern information, the processing module is further configured to obtain QoS information corresponding to the ASID of the packet and traffic flow pattern information corresponding to the ASID of the packet from the ASID; or the like, or, alternatively,
when the QoS information and the traffic flow pattern information are stored in the ID routing table, the processing module is further configured to obtain the QoS information and the traffic flow pattern information corresponding to the ASID in the ID routing table according to the ASID.
46. The UE of any of claims 38 to 42, wherein the transceiver module is further configured to receive a fourth request message sent by a control plane network element, where the fourth request message is used by the UE to set an ID routing table on the UE, and the fourth request message contains an ASID and corresponding ASInfo.
47. The user plane gateway of claim 46, wherein when no routing entry corresponding to the ASID in the received fourth request message exists on the user plane gateway, the processing module is further configured to generate an ID routing table according to the ASID and corresponding ASInfo included in the fourth request message.
48. The user plane gateway of claim 46, wherein the control plane network element comprises an access control and mobility management network element AMF, a session management network element SMF and a unified data management network element UDM, the fourth request message is generated by the SMF according to a first response message sent by the UDM, the first response message is generated by the UDM according to application server subscription information stored in the UDM, the first response message comprises ASInfo and a data network name DNN used for indicating a network name of a network where the AS is located, the ASInfo carries association information of the AS, and the association information is used for determining the AS in the network;
wherein the first response message is used by the UDM to respond to a third request message sent by the SMF to the UDM, the third request message is generated by the SMF according to a second request message and used by the SMF to acquire the routing information corresponding to the ASID from the UDM, and the third request message carries the ASID; the second request message is generated by the AMF according to the first request message and used for the AMF to acquire the routing information corresponding to the ASID from the SMF, and the second request message carries the ASID; the first request message is sent to the AMF by the access network device, where the first request message is used for the access network device to obtain the routing information corresponding to the ASID from the AMF, and the first request message carries the ASID.
49. The UE gateway of claim 48, wherein the UDM stores QoS information and traffic flow pattern information corresponding to ASID, and wherein the first response message and the fourth request message further carry QoS information and traffic flow pattern information when the QoS information and the traffic flow pattern information are stored in the ID routing table.
50. The user plane gateway of claim 48 or 49, wherein the processing module is further configured to authenticate the validity of the data packet according to authentication information carried in the data packet received from the access network device;
when the authentication is passed, the transceiver module executes the step that the user plane gateway forwards the data packet according to the routing entry matched with the ASID in the ID routing table acquired by the user plane gateway;
and when the authentication fails, the processing module discards the data packet.
51. The user plane gateway of claim 50, wherein the processing module is specifically configured to:
generating public key information of the UE corresponding to the UEID according to the UEID carried in the data packet and pre-configured GPK (general purpose key) information of a system public key;
and verifying the signature information carried in the data packet by adopting the public key information of the UE.
52. The UE gateway of claim 50, wherein the UDM stores GPK information corresponding to ASID, and the first response message and the fourth request message further carry the GPK information corresponding to the ASID respectively.
CN201710486231.1A 2017-06-23 2017-06-23 Network communication method and related equipment Active CN109120528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710486231.1A CN109120528B (en) 2017-06-23 2017-06-23 Network communication method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710486231.1A CN109120528B (en) 2017-06-23 2017-06-23 Network communication method and related equipment

Publications (2)

Publication Number Publication Date
CN109120528A CN109120528A (en) 2019-01-01
CN109120528B true CN109120528B (en) 2020-12-01

Family

ID=64732203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710486231.1A Active CN109120528B (en) 2017-06-23 2017-06-23 Network communication method and related equipment

Country Status (1)

Country Link
CN (1) CN109120528B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111436057B (en) 2019-01-15 2022-06-28 华为技术有限公司 Session management method and device
CN111436160B (en) * 2019-01-15 2022-04-29 华为技术有限公司 Local area network communication method, device and system
CN113228592B (en) * 2019-03-22 2022-07-22 华为技术有限公司 Method and apparatus for providing transport context and on-path metadata to support 5G-enabled networks
CN111757391B (en) 2019-03-29 2024-04-12 华为技术有限公司 Communication method and device
JP7387757B2 (en) * 2019-04-26 2023-11-28 テレフオンアクチーボラゲット エルエム エリクソン(パブル) METHODS AND APPARATUS FOR NETWORK FUNCTIONS MANAGING NIDD SESSIONS
CN111918271B (en) * 2019-05-07 2022-03-25 华为技术有限公司 Information configuration method and device
CN111935757B (en) * 2019-05-13 2022-05-13 华为技术有限公司 Communication method and device
CN110621051B (en) * 2019-10-16 2021-02-23 中国联合网络通信集团有限公司 Routing method and device
CN113727342B (en) * 2020-05-22 2022-11-11 华为技术有限公司 Network registration method and device
CN113965926A (en) * 2020-07-01 2022-01-21 中国移动通信有限公司研究院 Access network equipment, network access method and terminal
CN112565088B (en) * 2020-11-25 2022-10-18 中移(杭州)信息技术有限公司 Message processing method, system, device and network equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102056235A (en) * 2009-11-09 2011-05-11 华为技术有限公司 Data transmission method, equipment and system
CN102378394A (en) * 2010-08-12 2012-03-14 华为技术有限公司 Network connection method and system thereof
CN104272671A (en) * 2012-05-10 2015-01-07 三星电子株式会社 Method and system for connectionless transmission during uplink and downlink of data packets
WO2016078589A1 (en) * 2014-11-18 2016-05-26 Huawei Technologies Co., Ltd. Conveying device-dependent context in a network address
CN105992297A (en) * 2015-02-12 2016-10-05 电信科学技术研究院 SDN-based connection management and forwarding control method and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102056235A (en) * 2009-11-09 2011-05-11 华为技术有限公司 Data transmission method, equipment and system
CN102378394A (en) * 2010-08-12 2012-03-14 华为技术有限公司 Network connection method and system thereof
CN104272671A (en) * 2012-05-10 2015-01-07 三星电子株式会社 Method and system for connectionless transmission during uplink and downlink of data packets
WO2016078589A1 (en) * 2014-11-18 2016-05-26 Huawei Technologies Co., Ltd. Conveying device-dependent context in a network address
CN105992297A (en) * 2015-02-12 2016-10-05 电信科学技术研究院 SDN-based connection management and forwarding control method and related equipment

Also Published As

Publication number Publication date
CN109120528A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN109120528B (en) Network communication method and related equipment
US11917498B2 (en) Communication method and communications apparatus
CN112312339B (en) Charging method, charging system and communication device
EP3598784B1 (en) Method and device enabling network side to identify and control remote user equipment
US11546771B2 (en) Communication method, communications apparatus, and system
US8218436B2 (en) Dynamic aggregated maximum bit rate for evolved packet system non-guaranteed bit rate quality of service enforcement and network bandwidth utilization
KR101286386B1 (en) Method and apparatus for providing quality-of service in radio access networks
WO2019062499A1 (en) Method for policy determination and communication device
CN114698022A (en) Method, system and device for obtaining data packet delay parameter
WO2019062498A1 (en) Method and device for acquiring feature parameters
CN111200565B (en) Information transmission method, terminal and network equipment
US20230019215A1 (en) TSC-5G QoS MAPPING WITH CONSIDERATION OF ASSISTANCE TRAFFIC INFORMATION AND PCC RULES FOR TSC TRAFFIC MAPPING AND 5G QoS FLOWS BINDING
CN112449358B (en) Method and device for counting service flow
WO2017177753A1 (en) Flow-based bearer management method, and data transmission method and device
WO2014075359A1 (en) Bandwidth adjustment method, device and system
CN110138685B (en) Communication method and device
CN114938494B (en) Communication method and device
US20230247476A1 (en) Data Unit Handling in a Wireless System
CN101351053A (en) Method for processing dynamic service stream
WO2023212175A2 (en) Deterministic networks
EP3982598A1 (en) Method and apparatus for sending and receiving message, and communication system
CN118104286A (en) Congestion control method, device, equipment, medium, chip, product and program
KR100852856B1 (en) The method and apparatus for supporting guaranteed quality of service in portable internet system
WO2023123401A1 (en) Method for data traffic correlation and transmission
US20230354088A1 (en) Packet transmission method

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