WO2019174582A1 - Message transmission method and device - Google Patents
Message transmission method and device Download PDFInfo
- Publication number
- WO2019174582A1 WO2019174582A1 PCT/CN2019/077877 CN2019077877W WO2019174582A1 WO 2019174582 A1 WO2019174582 A1 WO 2019174582A1 CN 2019077877 W CN2019077877 W CN 2019077877W WO 2019174582 A1 WO2019174582 A1 WO 2019174582A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network
- network element
- terminal device
- request
- indication
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0894—Policy-based network configuration management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
- H04L41/0826—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network costs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0892—Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Definitions
- the present application relates to the field of mobile communications technologies, and in particular, to a message transmission method and apparatus.
- the Multefire Alliance proposes a Multefire technology, which refers to the technology of building a new wireless network by independently running long term evolution (LTE) technology on unlicensed spectrum (such as the global 5GHz unlicensed spectrum).
- LTE long term evolution
- the wireless network built using the Multefire technology is called a neutral host network (NHN).
- NTN neutral host network
- the terminal device is allowed to directly access the 3rd Generation Partnership Project (3GPP) core network or a participating service provider (PSP) network from the access network element in the NHN network.
- the terminal device is allowed to access the 3GPP core network or the PSP network from the access network element in the NHN network via the core network of the NHN network.
- the core network of the NHN network is simply referred to as the NHN core network.
- the third-party server usually configures the terminal device by using a specially configured configuration server, and the configuration process depends on the special establishment established between the terminal device and the configuration server.
- Channels when mobile networks are used in vertical industries, different configurations may be required for terminal equipment belonging to different vertical industries. If the prior art method is used, different configuration servers need to be deployed separately for different vertical industries, and different The configuration server needs to establish a dedicated channel with the corresponding terminal device, which causes high cost and complicated deployment.
- the embodiment of the present application provides a message transmission method and apparatus, which are used to implement configuration of a terminal device without adding a dedicated configuration server.
- the embodiment of the present application provides the following technical solutions:
- the first aspect provides a message transmission method, including: receiving, by a first network element, a first request from a sending end, where the first request includes a configuration parameter, where the first request is used to request to configure the terminal device according to the configuration parameter, where the first network
- the element belongs to the first network, and after receiving the first request from the sending end, the first network element sends a first request to the terminal device through a non-access stratum (NAS) message.
- NAS non-access stratum
- the configuration parameter may include at least one configuration type, where the configuration type may include configuration and configuration update, software firmware management, status and performance monitoring, and diagnosis, and each configuration type includes different configuration content.
- the configuration content included in the software firmware management may be a version of the terminal device, a software module loading, a software module update, and a software module uninstallation.
- the configuration content included in the status and performance monitoring may be monitoring the status and performance of the terminal device, and the diagnosis.
- the configuration content included may be to diagnose the connection and service problems of the terminal device and to guide the terminal device to perform the next operation.
- the first network element may also receive the first response from the terminal device for the first request.
- the first network element may send the first response to the sending end, so that the sending end performs subsequent processing according to the first response of the terminal device.
- the first network element sends a first response to the sending end by using the third network element and the fourth network element, where the third network element belongs to the first network, and the fourth network element belongs to the second network.
- the first network element sends a first response to the sending end by using the second network element, where the second network element belongs to the first network or belongs to the second network.
- the first response includes one or more of the following information: the confirmation information of the first request by the terminal device, the identification information of the terminal device, the identification information of the fourth network element, and the fourth network.
- the first network element before the first network element sends the first request to the terminal device, receiving an authorization indication from the third network element, where the authorization indication is used to indicate that the first network supports the configuration requested by the first request, by using the The method, the first network element does not send a configuration request that is not supported by the first network to the terminal device, which can save signaling overhead.
- the first request for receiving the first request from the sender is not limited.
- the first network element receives the first request from the transmitting end through the second network element, and the second network element belongs to the first network or belongs to the second network.
- the second network element first receives the first request from the sending end, and determines, according to the identification information of the terminal device included in the first request, that the terminal device is in the first In a network, the first request is sent to the first network element.
- the first request sent by the second network element to the first network element may further include a third indication, where the third indication is used to indicate the first request. From the first network.
- the second network element before the second network element sends the first request to the first network element, it may also determine that the first network supports the configuration requested by the first request.
- the configuration parameter includes at least one configuration type
- the configuration type includes configuration and configuration update, software firmware management, status and performance monitoring, and diagnosis
- each configuration type includes different configuration contents
- the second network element determines the first network. Supporting the configuration requested by the first request, specifically, the second network element determines that the first network supports at least one configuration type, and supports different configuration contents included in each configuration type.
- the terminal device before receiving the first request from the sending end, may further determine that the terminal device supports configuring the terminal device by using the NAS message.
- the second network element determines that the terminal device supports configuration of the terminal device through the NAS message.
- the first network element determines that the terminal device supports configuration of the terminal device through the NAS message.
- the first network element or the second network element sends the first request to the terminal device after determining that the terminal device supports the configuration by using the NAS message, because the terminal device does not support the NAS message through the NAS device.
- Sending the first request to the terminal device in the case of configuration may result in a transmission failure or an error, so that the terminal device may be prevented from failing or receiving an error when receiving the first request.
- the first network element may determine that the terminal device supports configuring the terminal device by using a NAS message by: receiving, by the first network element, a first indication from the terminal device, where the first indication is used to indicate the terminal device The terminal device is configured to be configured by using the NAS message, and the first network element determines, according to the first indication, that the terminal device supports configuring the terminal device by using the NAS message.
- the first network element determines that the terminal device supports the configuration of the terminal device by using the NAS message, and may send a second indication to the terminal device, where the second indication is used to indicate that the first network supports configuring the terminal by using the NAS message.
- the device is such that the terminal device preferentially accesses the first network.
- the first network element receives the first indication from the terminal device and sends a second indication to the terminal device in a process of network discovery before the terminal device accesses the first network.
- the first network element receives the first indication from the terminal device during the authentication process with the terminal device, and sends the second indication to the terminal device.
- the first network element receives the first indication from the terminal device during the registration process with the terminal device, and sends a second indication to the terminal device.
- the first network is an NHN network and the second network is a 3GPP network or a PSP network.
- a message transmission apparatus which has the function of implementing the first network element in the foregoing method embodiment.
- This function can be implemented in hardware or in hardware by executing the corresponding software.
- the hardware or software includes one or more modules corresponding to the functions described above.
- the apparatus includes: a processor, a transceiver, a memory; the memory is for storing a computer to execute instructions, the transceiver is configured to implement the device to communicate with other communication entities, and the processor and the memory pass A bus connection, the processor executing the computer-executable instructions stored by the memory to cause the message transmission device to perform the method of the first aspect described above when the device is in operation.
- a message transmission apparatus having the function of implementing the second network element in the foregoing method embodiment.
- This function can be implemented in hardware or in hardware by executing the corresponding software.
- the hardware or software includes one or more modules corresponding to the functions described above.
- the apparatus includes: a processor, a transceiver, a memory; the memory is for storing a computer to execute instructions, the transceiver is configured to implement the device to communicate with other communication entities, and the processor and the memory pass A bus connection, the processor executing the computer-executable instructions stored by the memory to cause the message transmission device to perform the method of the first aspect described above when the device is in operation.
- a message transmission apparatus having the function of implementing the terminal device in the foregoing method embodiment.
- This function can be implemented in hardware or in hardware by executing the corresponding software.
- the hardware or software includes one or more modules corresponding to the functions described above.
- the apparatus includes: a processor, a transceiver, a memory; the memory is for storing a computer to execute instructions, the transceiver is configured to implement the device to communicate with other communication entities, and the processor and the memory pass A bus connection, the processor executing the computer-executable instructions stored by the memory to cause the message transmission device to perform the method of the first aspect described above when the device is in operation.
- an embodiment of the present application provides a computer storage medium, configured to store computer software instructions for use by a first network element, where the program includes a program designed to perform the foregoing aspects for the first network element.
- an embodiment of the present application provides a computer storage medium for storing computer software instructions for use by a second network element, where the program is configured to execute the foregoing aspect for the second network element.
- the embodiment of the present application provides a computer storage medium for storing computer software instructions used by the terminal device, which includes a program designed to execute the foregoing aspects for the terminal device.
- an embodiment of the present application provides a computer program product.
- the computer program product includes computer software instructions that are loadable by a processor to implement the processes of the first aspect method described above.
- the embodiment of the present application provides a chip, including a processor, a transceiver component, and optionally, a memory, for performing the message transmission method of the foregoing aspect.
- FIG. 1 is a schematic diagram of a network architecture involved in an embodiment of the present application.
- FIG. 2 is a schematic diagram of a network architecture involved in an embodiment of the present application.
- FIG. 3 is a schematic diagram of a network architecture involved in an embodiment of the present application.
- FIG. 4 is a schematic diagram of a message transmission method according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of a method for negotiating a terminal device by using a NAS message according to an embodiment of the present disclosure
- FIG. 6 is a schematic diagram of another method for negotiating a terminal device by using a NAS message according to an embodiment of the present disclosure
- FIG. 7 is a schematic diagram of another method for negotiating a terminal device by using a NAS message according to an embodiment of the present disclosure
- FIG. 8 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application.
- FIG. 9 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application.
- FIG. 10 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application.
- FIG. 11 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application.
- FIG. 12 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application.
- FIG. 13 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application.
- FIG. 14 is a message transmission apparatus according to an embodiment of the present application.
- FIG. 15 is another message transmission apparatus according to an embodiment of the present application.
- the terminal device in the present application is a device with wireless transceiving function, which can be deployed on land, including indoor or outdoor, handheld or on-board; it can also be deployed on the water surface (such as a ship, etc.); it can also be deployed in the air ( Such as airplanes, balloons and satellites, etc.).
- the terminal device may be a user equipment (UE) or a customer premise equipment (CPE).
- UE user equipment
- CPE customer premise equipment
- it may be a mobile phone, a tablet, a computer with wireless transceiver function, and a virtual device.
- VR Virtual reality
- AR augmented reality
- wireless terminal in industrial control wireless terminal in self driving, remote medical
- a wireless terminal a wireless terminal in a smart grid, a wireless terminal in a transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, and the like.
- FIG. 1-3 is a schematic diagram of a network architecture applied to an embodiment of the present application.
- the scenario shown in FIG. 1 to FIG. 3 is a scenario in which the terminal device accesses the 3GPP core network or the PSP network from the access network element in the NHN network via the core network of the NHN network.
- the 3GPP core network involved in FIG. 1 is a 4G network
- the 3GPP core network involved in FIG. 2 to FIG. 3 is a 5G network.
- the terminal device can also access the access network from the NHN network.
- the local authentication authorization accounting proxy (Local AAA Proxy) network element is connected to the PSP network through the service provider authentication and authentication (PSP AAA) network element.
- the terminal device is used as the UE as an example.
- the network architecture diagram includes a UE, an access network element, an evolved packet data gateway (ePDG), a packet data network gateway (PDN gateway, PGW), 3rd generation partnership project authentication authorization (3GPP AAA), home subscriber server (HSS), service capability exposure function (SCEF), neutral deployment mobile Neutral host mobile management entity (NH MME), neutral host gateway (NH GW), interworking service capability exposure function (IWK-SCEF), Local AAA Proxy, PSP AAA, etc. .
- ePDG evolved packet data gateway
- PDN gateway packet data network gateway
- PGW 3rd generation partnership project authentication authorization
- 3GPP AAA 3rd generation partnership project authentication authorization
- HSS home subscriber server
- SCEF service capability exposure function
- NH MME neutral deployment mobile Neutral host mobile management entity
- NH GW neutral host gateway
- IWK-SCEF interworking service capability exposure function
- the NHN network can communicate with the 4G network through two modes.
- the NHN network is connected to the 4G network through the ePDG, and the interfaces include SWa-N, SWn, S2b, and SWm.
- the NH GW network element of the NHN network is connected to the PGW network element of the 4G network through the S2a-N interface, and the used interface includes STa-N.
- the Local AAA Proxy network element of the NHN network can also be connected to the PSP AAA network element of the PSP network through the AAA interface.
- the access network element refers to an access network element in the NHN network, and is used for the UE to access the NHN network.
- it may be a base station.
- the ePDG is used to establish an internet protocol security (IPsec) tunnel with the UE when the UE accesses through the non-3GPP (Non-3GPP or N3GPP) access network.
- IPsec internet protocol security
- the main functions of the PGW include user-based packet filtering, lawful interception, inter-network protocol (IP) address allocation between UEs, packet transmission level marking in the uplink, and uplink and downlink.
- IP inter-network protocol
- 3GPP AAA is used to provide functions such as authentication and authorization message brokers.
- the HSS is used to store user subscription information, and is responsible for storing information related to the user, such as user identification, number and routing information, security information, location information, profile information, and the like.
- the SCEF is an open capability platform in the 4G network.
- the third party can invoke an application programming interface (API) provided by the operator to subscribe to the 3GPP system through the SCEF.
- API application programming interface
- the NH MME is similar to the MME in the 4G network. Its main function is to support NAS signaling and NAS signaling encryption, PGW selection, assigning temporary identity to the UE, and providing roaming, tracking, security and other functions.
- the NH GW is similar to the PGW and the serving gateway (SGW) in the 4G network.
- the main functions include the user-based packet filtering function, the lawful interception function, the IP address allocation function between the UE's networks, and the uplink.
- the Local AAA Proxy is used to provide functions such as authentication and authorization message brokers.
- the IWK-SCEF is an open capability platform in the NHN network.
- the event report of the subscription can be directly reported to the SCEF in the 3GPP network.
- PSP AAA is used to provide functions such as authentication and authorization message brokers.
- NH MME, NH GW, IWK-SCEF, and Local AAA Proxy network elements are network elements belonging to the NHN network.
- the HSS, SCEF, ePDG, PGW, and 3GPP AAA network elements are network elements belonging to the 3GPP network.
- the PSP AAA network element is a network element that belongs to the PSP network.
- the PSP network may also include a SCEF network element (not shown in FIG. 1).
- the SCEF in the PSP network is similar to the SCEF function in the 3GPP network, and is not described here.
- the NH MME in the NHN network may be combined with the PSP AAA network element in one device, and the IWK-SCEF network element in the NHN network may be combined with the SCEF network element in the PSP network.
- the NH MME, IWK-SCEF, and Local AAA proxy network elements in the NHN network can also be combined with the PSP AAA and SCEF network elements in the PSP network in one device.
- the NHN network and A PSP network can be understood as the same network.
- the network elements related to the present application mainly include: UE, NH MME, SCEF, IWK-SCEF, and HSS.
- the network architecture diagram includes a UE, an access network element, an access and mobility management function (AMF), and a session management function (session management function, SMF), policy control function (PCF), unified data management (UDM), user plane function (UPF), authentication server function (AUSF), network open Network exposure function (NEF), neutral host access and mobility management function (NH AMF), neutral host session management function (NH SMF), neutral deployment user Neutral host user plane function (NH UPF), interworking network exposure function (IWK-NEF), data network (DN), etc.
- the difference between the network architecture shown in FIG. 2 and FIG. 3 is that the NHN network and the 5G network in FIG.
- N3IWF non-3GPP Interworking Function
- the ePDG is used to establish an IPsec tunnel with the UE when the UE accesses through the N3GPP access network.
- the name of the N3IWF may be changed. This application only exemplifies the non-3GPP network access gateway as the N3IWF.
- the access network element refers to an access network element in the NHN network, and is used for the UE to access the NHN network.
- it may be a base station.
- the AMF is responsible for access management and mobility management of the terminal equipment. In practical applications, it includes the mobility management function of the MME in the 4G network and adds the access management function.
- the SMF is responsible for session management, such as user session establishment.
- the UPF is a functional network element of the user plane. It is mainly responsible for connecting to the external network. It includes the functions of the SGW and the PGW of the 4G network, and is mainly responsible for packet data packet forwarding and accounting information statistics.
- the UDM is used to manage the user's subscription information, and implements a backend similar to the HSS in 4G.
- the NEF is an open capability platform in the 5G network.
- the NEF can directly report the event report of the subscription to the IWK-NEF in the NHN network.
- NH AMF is similar to AMF in 5G networks and is responsible for access management and mobility management of terminal devices.
- the NH SMF is similar to the SMF in a 5G network and is responsible for session management, such as user session establishment.
- the NH UPF is similar to the UPF in the 5G network, and is mainly responsible for connecting external networks, forwarding of packet data packets, and accounting information statistics.
- the IWK-NEF is an open capability platform in the NHN network.
- the event can be directly reported to the NEF in the 5G network.
- the DN is responsible for providing services for the terminal devices. For example, some DNs provide Internet access for terminal devices, and other DNs provide SMS functions for terminal devices.
- the network elements related to the present application mainly include: UE, NH AMF, AMF, UDM, PCF, IWK-NEF, NEF, and N3IWF.
- the configuration server needs to be configured according to the specially deployed configuration server, and the configuration process depends on the UE and the configuration server. Established a dedicated channel. Specifically, the sending end sends a configuration request to the configuration server through the application layer message, and then the configuration server forwards the configuration request to the UE. In the process, the configuration server transparently forwards the configuration request sent by the sending end, that is, the configuration server receives the configuration request. The configuration request does not do anything.
- the networks shown in FIG. 1 to FIG. 3 are applied to the vertical industry, UEs belonging to different vertical industries may need to be configured differently.
- the UEs belonging to different vertical industries are configured by the above method, they are different.
- the UEs in the vertical industry need to deploy different configuration servers separately, and different configuration servers need to establish dedicated channels respectively with the corresponding UEs, which may result in high deployment cost and complicated deployment.
- the method in which the sending end sends a configuration request to the UE through the application layer message also needs the UE to support the ip protocol series. That is, the method can only be used for the UE supporting the ip protocol stack. This method is not applicable to UEs that support the ip protocol stack.
- the embodiment of the present application provides a message transmission method and apparatus for the above problem, which is used to configure a terminal device through an NHN network without adding a dedicated configuration server, and can be configured by the method provided by the present application.
- Terminal devices that support the ip protocol stack can also be configured with terminal devices that do not support the ip protocol stack.
- the method is applicable to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 , and also to the interworking architecture of the NHN network and the 5G network shown in FIG. 2 to FIG. 3 .
- the NHN network is referred to as a first network.
- the present application does not limit the first network, for example, other non-3GPP networks, and the following uses the first network as the NHN network. Example description.
- the second network in this application is a network that can enable both the transmitting end and the first network to communicate with each other.
- it can be a 3GPP network.
- the sender in the present application is a device that can request configuration of the terminal device, and may be, for example, a server (such as a third-party server), where the third-party server refers to a server that does not belong to the first network.
- a server such as a third-party server
- the third-party server refers to a server that does not belong to the first network.
- a flow chart of a message transmission method includes the following steps:
- the first network element receives the first request from the sending end.
- the first request may include a configuration parameter, and when the first request includes the configuration parameter, the first request is used to request to configure the terminal device according to the configuration parameter.
- the first network element belongs to the first network.
- the first network element may be an NH MME or an NH AMF.
- the configuration parameter may include at least one configuration type, where the configuration type may include configuration and configuration update, software firmware management, status and performance monitoring, and diagnosis, and each configuration type includes different configuration content.
- the configuration content included in the software firmware management may be a version of the terminal device, a software module loading, a software module update, and a software module uninstallation.
- the configuration content included in the status and performance monitoring may be monitoring the status and performance of the terminal device, and the diagnosis.
- the configuration content included may be to diagnose the connection and service problems of the terminal device and to guide the terminal device to perform the next operation.
- the first request for receiving the first request from the sender is not limited.
- the first network element receives the first request from the sending end by using the second network element, and specifically, the second network element receives the first request from the sending end, according to the first request.
- the identifier information of the terminal device is included, determining that the terminal device is in the first network, and sending the first request to the first network element.
- the second network element receives the first request from the sending end by using the fourth network element.
- the fourth network element determines whether the sending end can If the terminal device is configured to be configured, the fourth network element sends a first request to the second network element, and if it is determined that the sending end cannot configure the terminal device, the fourth network element is configured. Send a failure message to the sender.
- the transmitting end can configure the terminal device as an example, and refer to S101a1-S101a3.
- the second network element belongs to the first network or belongs to the second network.
- the second network element may be a device composed of a local AAA proxy, a PSP AAA, an IWK-SCEF, and a SCEF network element.
- the second network element may be a network element such as an HSS, a UDM, a PCF, or an SCEF, and for example, when the second network element belongs to the PSP network, the second network element It can be a network element such as PSP AAA and SCEF.
- the third network element may carry a third indication, where the third indication is used to indicate that the first request is from the first network.
- the first request from the first network element to receive the first request from the sending end through the second network element is not limited.
- the first network element directly receives the first request from the second network element, and in another possible implementation manner, the first network element receives the first from the second network element by using another network element.
- the first network element is an NH AMF network element
- the second network element is a UDM network element.
- the other network element may be an AMF network element.
- the first network element is the NH MME and the second network element is the HSS network element.
- the other network element may be a network element such as 3GPP AAA or Local AAA Proxy.
- the identifier information of the terminal device refers to information that can uniquely identify the terminal device, for example, may be the ID of the terminal device.
- the first network element may further send a response message for the first request to the sending end, refer to S101′, S101a′, and S101b′.
- the response message may include confirmation information of the first request by the first network element, for example, may be a message confirming receipt of the first request, or a message confirming that the first request is not received.
- the case where the first network element confirms receipt of the first request is taken as an example for description. If the first network element does not receive the first request, the first request may be further requested to be resent.
- the first network element sends a response message to the first request to the sending end, and may send the same message by receiving the same request from the sending end, and details are not described herein again.
- the first network element sends the first request to the terminal device by using the NAS message.
- the first request is sent to the terminal device by using the first network element in the NHN network.
- the first network element sends the first request to the terminal device by using the NAS message, and the application does not need to add a special network to the existing network.
- the configuration server does not send the first request to the terminal device through the application layer message, but sends the first request to the terminal device through the NAS message.
- the NAS message may be a new NAS message, or may be a NAS message obtained by modifying an existing NAS message.
- the NAS message is a NAS message obtained by modifying an existing NAS message
- an indication may be added to the existing NAS message to indicate that the modified NAS message carries the first request.
- the first network element may separately send the NAS message to the terminal device, or may also send the NAS message to the terminal device at the time.
- the message carries the NAS message.
- the first network element receives the first request from the sending end by using the second network element and other network elements, the first request may be performed when the second network element and the other network element forward the first request from the sending end. Further parsing and encapsulation processing, that is, the second network element and other network elements send different messages carrying the first request, and specific parameters in the first request sent by different network elements may also be different.
- the first request is sent to the terminal device by using the first network element in the first network.
- the terminal devices belonging to different vertical industries can be configured by using the method of the present application, that is, Sending configuration-related information (for example, configuration request, configuration parameters, and the like) to the terminal device through the first network element in the first network, without deploying a dedicated configuration server and establishing a dedicated channel for terminal devices belonging to different vertical industries. Therefore, the deployment cost and deployment complexity can be reduced by the method of the present application.
- the first network element sends the first request to the terminal device by using the NAS message instead of the application layer message, so the method is applicable to both the terminal device supporting the ip protocol stack and the terminal device not supporting the ip protocol stack.
- the method provided by the present application is not limited in the types of terminal devices that can be configured.
- the terminal device sends a first response to the first request to the first network element by using the NAS message.
- the first response includes one or more of the following information: the confirmation information of the first request by the terminal device, the identifier information of the terminal device, the identifier information of the fourth network element, and the reference identifier of the fourth network element.
- Information and status information of the terminal device includes one or more of the following information: the confirmation information of the first request by the terminal device, the identifier information of the terminal device, the identifier information of the fourth network element, and the reference identifier of the fourth network element.
- the confirmation information of the first request by the terminal device refers to the message confirming receipt of the first request.
- the confirmation information may also be a message confirming that the first request is not received.
- the terminal device may further request to resend the first request or the like.
- the fourth network element belongs to the second network.
- the fourth network element may be a SCEF.
- the fourth network element may be NEF network element.
- the identifier information of the fourth network element is information that can uniquely identify the fourth network element, for example, may be the ID of the fourth network element.
- the reference identifier information of the fourth network element refers to the reference identifier information that can uniquely identify the configuration request in the fourth network element, for example, may be the reference ID of the fourth network element.
- the terminal device needs to send its own state, state change, or statistical data for a period of time to the transmitting end.
- the terminal device sends
- the first response may include identification information of the terminal device, status information of the terminal device, and the like.
- the first network element needs to forward the first response to the sending end after receiving the first response sent by the terminal device.
- the application does not limit how the first network element sends the first response to the sending end.
- the first network element sends the first response to the sending end by using the second network element, and refer to S104a-S104b.
- the first network element passes the third network element and the first network element. The four network elements send a first response to the sender, see S105a-S105c. If the third network element and the fourth network element send the first response to the sending end, the fourth network element may send the first response to the sending end according to the reference ID of the fourth network element.
- the third network element belongs to the first network
- the fourth network element belongs to the second network.
- the third network element may be IWK-SCEF
- the fourth network element may be SCEF
- the third network element may be IWK-NEF
- the fourth network element may be NEF.
- the first network element sends the first response to the sending end by using the second network element or the third network element and the fourth network element
- the first network element forwards from the second network element, the third network element, and the fourth network element.
- the first response of the terminal device may further parse and encapsulate the first response, that is, the second network element, the third network element, and the fourth network element send different messages carrying the first response, and different network elements send
- the specific parameters in the first response may also vary.
- the identifier information of the fourth network element and/or the reference identification information of the fourth network element may be included in the first response, so that the first network element can find the fourth network element.
- Network element may be included in the first response, so that the first network element can find the fourth network element.
- S104a The first network element sends a first response to the second network element.
- S104b The second network element sends a first response to the sending end.
- S105a The first network element sends a first response to the third network element.
- S105b The third network element sends a first response to the fourth network element.
- S105c The fourth network element sends a first response to the sending end.
- the first network element may select whether to use the S104a-S104b mode or the S105a-S105c to send the first response to the transmitting end according to actual requirements.
- the first network element may also determine whether the first network supports the first requesting station.
- the configuration of the request if it is determined that the first network supports the configuration requested by the first request, sending a first request to the first network element, and if it is determined that the first network does not support the configuration requested by the first request, sending the failure to the sending end Message.
- the case where the first network supports the configuration requested by the first request is taken as an example, and reference is made to S101c.
- the configuration requested by the first network to support the first request refers to the configuration type included in the first network support configuration parameter, and the different configuration content included in each configuration type is supported. For example, if the configuration type requested by the sender is a configuration and a configuration update, and the configuration content included in the configuration type is a request to configure a new service, the configuration requested by the first network to support the first request refers to whether the first network supports the The configuration of the new service.
- the first network may also determine the configuration requested by the first network to support the first request, for example, the first network support may be determined by receiving an authorization indication from the third network element.
- a request for the requested configuration is used to indicate that the first network supports the configuration requested by the first request.
- the configuration requested by the first network to support the first request refers to the configuration type included in the first network support configuration parameter, and the different configuration content included in each configuration type is supported; or the first network supports the first request.
- the requested configuration means that the first network element determines, according to the roaming agreement, that the first network supports the first request sent from the second network.
- the first network element before receiving the authorization indication sent by the third network element, the first network element sends a first notification to the third network element, where the first notification is used to indicate that the third network element sends a request according to the configuration parameter.
- the first notification may include a configuration type of the configuration parameter, and the like.
- the sending end may be determined by the first network element or the second network element before sending the first request to the terminal device by using the first network element or the first network element and the second network element. Whether the terminal device supports configuring the terminal device through a NAS message.
- the second network element determines whether the terminal device supports the configuration of the terminal device by using the NAS message, and if the second network element determines that the terminal device supports the configuration by using the NAS message, the first network element sends the first to the first network element.
- the request if the second network element determines that the terminal device does not support the configuration by using the NAS message, sends a failure message to the sending end.
- a case where the terminal device supports configuration by using a NAS message is taken as an example, and reference is made to S101d.
- the first network element determines whether the terminal device supports the configuration of the terminal device by using the NAS message, and if the first network element determines that the terminal device supports the configuration by using the NAS message, the first request is sent to the terminal device, If the first network element determines that the terminal device does not support the configuration by using the NAS message, the first network element sends a failure message to the sending end.
- a case where the terminal device supports configuration by using a NAS message is taken as an example, and reference is made to S101d'.
- the foregoing manner is performed on the first network element to determine that the terminal device supports the configuration of the terminal device by using the NAS message, and the terminal device determines that the first network element supports the configuration of the terminal device by using the NAS message.
- the terminal device it is not determined for the first network element whether the terminal device can support the configuration of the terminal device by using the NAS message, and the terminal device is not sure whether the first network element can support the configuration of the terminal device by using the NAS message, first.
- the network element can negotiate with the terminal device to configure the terminal device through the NAS message.
- the first network element determines that the terminal device supports the configuration of the terminal device by using the NAS message, and the first network element receives the first indication from the terminal device, where the first network element determines according to the first indication.
- the terminal device supports configuration of the terminal device through NAS messages, see S103a.
- the first indication is used to indicate that the terminal device supports configuring the terminal device by using the NAS message.
- the method further includes: the first network element sends a second indication to the terminal device, and refer to S103b.
- the second indication is used to indicate that the first network supports configuring the terminal device by using the NAS message.
- the terminal device may send a first indication to the first network element and receive a second indication from the first network element, and correspondingly, the first network element, in a process of network discovery before accessing the first network.
- the first network element receives the first indication from the terminal device during the authentication process with the terminal device, and The terminal device sends a second indication; or, the terminal device sends a first indication to the first network element during the registration process with the first network element, and receives a second indication from the first network element, correspondingly, the first network
- the UE receives the first indication from the terminal device during the registration process with the terminal device, and sends a second indication to the terminal device.
- FIG. 5 is a flowchart of a method for negotiating a terminal device by using a NAS message according to an embodiment of the present disclosure.
- the terminal device is a CPE
- the first network is an NHN network
- the second network is a 3GPP network.
- the NH MME network element is an implementation manner of the first network element
- the CPE accesses the NH MME network element by using the access network element, and the access network element may be a base station or the like.
- FIG. 5 is an example of applying the method for configuring a terminal device through a NAS message to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 .
- the method shown in Figure 5 includes the following steps:
- S201 The access network element broadcasts information to the CPE.
- S202 The CPE detects the NHN network and additional information needed.
- S203 The CPE establishes an RRC connection with the access network element.
- the CPE sends a first indication to the NH MME through the NAS message.
- the CPE may carry the first indication to the existing NAS message, or send the first indication to the NH MME by using a new NAS message.
- the NH MME sends a second indication to the CPE through the NAS message.
- the NH MME may carry the second indication to the existing NAS message, or send a second indication to the CPE by using a new NAS message.
- the method CPE shown in FIG. 5 is to negotiate the configuration of the CPE through the NAS message during the network discovery process before accessing the NHN network.
- the terminal device preferentially selects the NHN network that supports configuring the terminal device through the NAS message when selecting the network.
- FIG. 6 is a flowchart of a method for negotiating a terminal device by using a NAS message according to an embodiment of the present application.
- the terminal device is a CPE
- the first network is an NHN network
- the second network is a 3GPP network.
- the NH MME network element is an implementation manner of the first network element
- the HSS network element is an implementation manner of the second network element.
- the CPE accesses the NH MME network element by using the access network element, and the access network element may be Equipment such as base stations.
- FIG. 6 is an example of applying the method for configuring a terminal device through a NAS message to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 .
- the method shown in Figure 6 includes the following steps:
- S301 The CPE sends an attach request that carries the first indication to the access network element.
- the access network element sends an attach request carrying the first indication to the NH MME.
- the NH MME may determine, according to the first indication, that the CPE supports configuring the CPE by using the NAS message, and the NH MME determines that the CPE and the NHN network support the CPE by using the NAS message. This information can be stored.
- the NH MME sends the first indication configured by the NAS message to the HSS in the authentication and authorization process.
- the NH MME may carry a first indication in a Diameter or Radius message sent to the Local AAA proxy, and the Local AAA proxy sends the first indication to the Diameter or Radius message via the 3GPP AAA/PSP AAA.
- HSS The sending of the first indication by the NH MME to the HSS also indicates that the NHN network itself also supports configuration via NAS messages.
- S304 A session establishment process in the NHN network.
- the confirmation message of the NH MME for the first indication may also be carried in the attach accept message.
- the NH MME sends an attach accept message carrying the second indication to the CPE, which may be sent to the access NE and then forwarded by the access NE to the CPE.
- the NH MME may also send a first indication to the HSS in the process of establishing a user plane channel to the 3GPP EPS system by the CPE.
- the CPE may carry the first indication in the IKEv2 message and send it to the ePDG in the process of establishing an IPSec tunnel with the ePDG, and then the ePDG is in the Diameter or Radius message. It is sent to the HSS via 3GPP AAA/PSP AAA.
- the NH GW network element of the NHN network When the NH GW network element of the NHN network is connected to the PGW network element of the 4G network through the S2a-N interface, in the S304, when the session is established between the NH GW and the PGW, the first session is carried in the Create Session Request message. Instructing, in turn, the PGW to send the first indication to the HSS via the 3GPP AAA/PSP AAA in the Diameter message.
- the method CPE shown in FIG. 6 is that the terminal device negotiates the CPE through the NAS message during the authentication or registration process with the first network element.
- FIG. 7 is a flowchart of a method for negotiating a terminal device by using a NAS message according to an embodiment of the present application.
- the terminal device is a CPE
- the first network is an NHN network
- the second network is a 3GPP network.
- the NH AMF network element is an implementation manner of the first network element
- the UDM network element is an implementation manner of the second network element.
- FIG. 7 is an example of applying the method for configuring a terminal device through a NAS message to the interworking architecture of the NHN network and the 5G network shown in FIG. 2 .
- the method shown in Figure 7 includes the following steps:
- the CPE sends a registration request carrying the first indication to the NH AMF.
- the NH AMF sends a registration request carrying the first indication to the AMF.
- the first indication may be sent to the UDM in the following two manners.
- the AMF sends a first indication to the UDM during the authentication process.
- S403 The AMF sends an authentication request message to the UDM.
- the authentication request message carries the first indication and the CPE identification information (for example, the CPE ID), and indicates that the CPE corresponding to the CPE identification information is configured by using the NAS message.
- the CPE identification information for example, the CPE ID
- the UDM after receiving the authentication request message including the first indication and the CPE identification information sent by the AMF, the UDM can determine that the CPE corresponding to the CPE identification information is configured by using the NAS message.
- S404 The UDM sends an authentication response message to the AMF.
- the authentication response message carries the acknowledgement information for the first indication.
- the AMF sends a first indication to the UDM during the registration process.
- S403a The AMF sends an AMF registration request message to the UDM.
- the AMF registration request message carries the first indication and the CPE identification information (for example, the CPE ID), and indicates that the CPE corresponding to the CPE identification information is configured by using the NAS message.
- the CPE identification information for example, the CPE ID
- S404a The UDM sends an AMF registration response message to the AMF.
- the AMF registration response message carries the acknowledgement information for the first indication.
- S405 The NH AMF receives the registration response message sent by the AMF.
- the registration response message may further carry the AMF acknowledgement information for the first indication, indicating that the NHN network supports configuring the CPE by using the NAS message.
- S406 The NH AMF sends a registration response message to the CPE.
- the registration response message may further carry the AMF acknowledgement information for the first indication, indicating that the NHN network supports configuring the CPE by using the NAS message.
- the method CPE shown in FIG. 7 is that the terminal device negotiates the CPE through the NAS message during the authentication or registration process with the first network element.
- FIG. 8 is a flowchart of a message transmission method according to an embodiment of the present disclosure.
- the terminal device is a CPE
- the first network is an NHN network
- the second network is a 3GPP network
- the sending end is a service capability server. (services capability server, SCS)/application server (AS) and the case where the second network element belongs to the second network, for example, the message transmission method provided by the embodiment of the present application is described
- the NH MME network element is implemented by the application.
- An implementation manner of the first network element in the example, the HSS network element is an implementation manner of the second network element in the embodiment of the present application, and the IWK-SCEF network element is an implementation of the third network element in the embodiment of the present application.
- the SCEF network element is an implementation manner of the fourth network element in the embodiment of the present application.
- FIG. 8 is an example of applying the message transmission method provided in the embodiment of the present application to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 as an example.
- the method shown in Figure 8 includes the following steps:
- S501 The SCEF receives the first request sent by the SCS/AS.
- the SCEF may determine whether the SCS/AS can perform the configuration requested by the first request for the CPE, and if the SCEF determines that the SCS/AS cannot The CPE performs the configuration requested by the first request, and sends a request failure message to the SCS/AS, where the request failure message may be used to indicate that the SCS/AS may not perform the configuration requested by the first request on the CPE, if the SCEF determines the SCS/AS The configuration requested by the first request may be performed on the CPE, and the first request is sent to the HSS.
- This application uses the SCEF to determine the case where the SCS/AS can perform the configuration requested by the CPE for the first request, as described in S502-S503.
- the SCEF determines that the SCS/AS can perform the configuration requested by the first request for the CPE.
- S503 The SCEF sends a first request to the HSS.
- the HSS determines whether the NHN network supports the configuration requested by the first request.
- the HSS determines whether the NHN network supports the configuration requested by the first request, and if the HSS determines that the NHN network supports the configuration requested by the first request, executing S505, If the HSS determines that the NHN network does not support the configuration requested by the first request, it sends a failure message to the SCS/AS, and the case where the NHN network does not support the configuration requested by the first request is not shown in the present application.
- the SCS/AS requests to configure a new service, and the HSS determines whether the new service is already supported within the NHN network; or, the HSS determines whether the NHN network allows the third party to configure the configured policy type.
- the HSS determines, according to the identifier information of the CPE included in the first request, that the CPE is in the NHN network, and sends a first request to the 3GPP AAA.
- S506 The 3GPP AAA sends a first request to the Local AAA proxy.
- the Local AAA proxy sends the first request to the NH MME.
- S508 The NH MME sends a response message to the Local AAA proxy for the first request.
- the Local AAA proxy sends a response message to the 3GPP AAA for the first request.
- the first request is sent to the NH MME in the re-authentication process initiated by the 3GPP AAA, and the response message sent by the NH MME is received as an example.
- the NH MME may also be sent through other processes.
- the first request, and the response message sent by the NH MME, are not limited in this application.
- the response message for the first request may include the confirmation information of the NH MME for the first request, for example, the confirmation message may indicate that the first request is acknowledged.
- S510 The 3GPP AAA sends a response message to the HSS for the first request.
- S511 The HSS sends a response message to the SCEF for the first request.
- S512 The SCEF sends a response message to the SCS/AS for the first request.
- the 3GPP AAA after receiving the response message for the first request sent by the NH MME, the 3GPP AAA sends the response message to the SCS/AS through the HSS and the SCEF.
- the first notification is a notification that the SCS/AS requests to configure the CPE according to the configuration parameter.
- S514 The NH MME receives the authorization indication sent by the IWK-SCEF.
- the authorization indication is used to indicate that the NHN network supports the configuration requested by the first request.
- S513-S514 in the present application is an optional step, and the NH MME may directly forward the received first request to the CPE after receiving the first request, and may also, after performing S513-S514, to the CPE.
- the first request received is forwarded, which is not limited in this application.
- S515 The NH MME sends a first request to the CPE by using a NAS message.
- S516 The NH MME receives the first response sent by the CPE for the first request.
- the NH MME may send the first response to the SCS/AS in two ways. For an implementation manner, referring to S517a-S517e, the NH MME sends a first response to the SCS/AS through the Local AAA proxy, the 3GPP AAA, the HSS, and the SCEF. For another implementation, refer to S518a-S518c. The NH MME sends a first response to the SCS/AS through the IWK-SCEF and the SCEF.
- the first response includes one or more of the following information: the CPE confirms the first request, the CPE identification information (for example, the CPE ID), and the SCEF identification information (for example, SCEF ID), SCEF reference identification information (for example, SCEF reference ID) and status information of the CPE.
- the CPE identification information for example, the CPE ID
- SCEF identification information for example, SCEF ID
- SCEF reference identification information for example, SCEF reference ID
- the CPE needs to report its own state, status change, or statistical data for a period of time.
- the first response sent by the CPE may be The CPE ID, the SCEF ID, the SCEF reference ID, and the CPE status information may be optionally included, and may also include the CPE confirming the first request.
- FIG. 9 is a flowchart of still another method for transmitting a message according to an embodiment of the present application.
- the terminal device is a CPE
- the first network is an NHN network
- the second network is a 3GPP network
- the sending end is an SCS/
- the NH AMF network element is an implementation manner of the first network element in the embodiment of the present application
- the UDM network element is used.
- the PCF network element is an implementation manner of the second network element in the embodiment of the present application.
- the IWK-NEF network element is an implementation manner of the third network element in the embodiment of the present application, where the NEF network element is the embodiment of the present application. An implementation of the fourth network element.
- FIG. 9 is an example of applying the message transmission method provided by the embodiment of the present application to the interworking architecture of the NHN network and the 5G network shown in FIG. 2 .
- the method shown in Figure 9 includes the following steps:
- the NEF receives the first request sent by the SCS/AS.
- the NEF can determine whether the SCS/AS can perform the configuration requested by the first request on the CPE, and if the NEF determines that the SCS/AS cannot The CPE performs the configuration requested by the first request, and sends a request failure message to the SCS/AS, where the request failure message can be used to indicate that the SCS/AS cannot perform the configuration requested by the first request for the CPE, if the NEF determines the SCS/AS
- the configuration requested by the first request may be performed on the CPE, and the first request is sent to the UDM or PCF.
- the present application is described by the NEF as an example in which the SCS/AS can perform the configuration requested by the first request to the CPE, and refer to S602, S603, and S603a.
- the NEF determines that the SCS/AS can perform the configuration requested by the first request for the CPE.
- S603 The NEF sends the first request to the UDM.
- the UDM determines whether the NHN network supports the configuration requested by the first request, and if the UDM determines that the NHN network supports the configuration requested by the first request, and according to the first If the CPE is identified in the request, and the CPE is determined to be in the NHN network, S604 is performed.
- S604 The UDM sends a first request to the AMF.
- the AMF is an AMF registered with the CPE.
- S603a The NEF sends a first request to the PCF.
- the PCF determines whether the NHN network supports the configuration requested by the first request, and if the PCF determines that the NHN network supports the configuration requested by the first request, and according to the first The identification information of the CPE included in the request determines that the CPE is in the NHN network, and then executes S604a.
- S604a The PCF sends a first request to the AMF.
- S603-S604 and S603a-S604a are only selected in one mode, and the user can decide which way to deploy according to the configuration.
- the AMF sends a first request to the NH AMF.
- the AMF can query the NH AMF of the current NHN network according to the NH AMF at the time of CPE registration.
- S606 The NH AMF sends a response message to the AMF for the first request.
- the response message sent by the NH AMF to the AMF for the first request is different from the first response in the application, and the response message may include the AMF confirming the first request, for example, the confirmation message may indicate the confirmation. Received the first request.
- the AMF in FIG. 9 may respond to the NEF in two ways correspondingly, and a way of replying the response is shown in S607- S608, another way of replying to the response is referred to S607a-S608a.
- S607 The AMF sends a response message to the UDM for the first request.
- S608 The UDM sends a response message to the NEF for the first request.
- S607a The AMF sends a response message to the PCF for the first request.
- S608a The PCF sends a response message to the NEF for the first request.
- S609 The NEF sends a response message to the SCS/AS for the first request.
- S610 The NH AMF sends a first notification to the IWK-NEF.
- the first notification is a notification that the SCS/AS requests to configure the CPE according to the configuration parameter.
- the NH AMF receives the authorization indication sent by the IWK-NEF.
- the authorization indication is used to indicate that the NHN network supports the configuration requested by the first request.
- S610-S611 in the present application is an optional step, and the AMF may directly forward the received first request to the CPE after receiving the first request, and may also forward to the CPE after executing S610-S611.
- the first request received is not limited in this application.
- S612 The NH AMF sends a first request to the CPE through the NAS message.
- the NAS message may be a new NAS message, or may be a NAS message obtained by modifying an existing NAS message.
- an existing indication may be added to the existing NAS message to indicate the modified NAS.
- the message carries the first request.
- the NH MME may separately send the NAS message to the CPE, or may carry the NAS message in the NAS message that is being sent to the CPE at that time.
- the NH AMF receives the first response sent by the CPE through the NAS message for the first request.
- the first response can be sent to the SCS/AS in three ways.
- S614a-S614d The NH AMF sends a first response to the SCS/AS through the AMF, UDM, and NEF.
- S615a-S615d The NH AMF sends the SSC/AS to the SCS/AS through the AMF, PCF, and NEF.
- One response yet another implementation refers to S616a-S616c, and the NH AMF sends a first response to the SCS/AS through the IWK-NEF and the NEF.
- the first response includes one or more of the following information: the CPE confirms the first request, the CPE ID, the NEF identification information (for example, the NEF ID), and the NEF reference identifier. Information (for example, NEF reference ID) and status information of the CPE.
- the CPE needs to report its own state, status change, or statistical data for a period of time.
- the first response sent by the CPE may be The CPE ID, the NEF ID, the NEF reference ID, and the status information of the CPE are optional.
- the CPE can also include the confirmation information of the first request.
- the method shown in FIG. 9 is also applicable to the network architecture shown in FIG. 3.
- the NH AMF in FIG. 9 is replaced by N3IWF.
- the NAS message in S612-S613 is transmitted by the IKEv2 message or transmitted on the IPSec channel, and the interaction steps between the NH AMF and the AMF in FIG. 9 are forwarded by the Local AAA proxy and the N3IWF.
- the configuration of the terminal device is implemented by interworking between the NHN network and the 3GPP network.
- the transmitting end can directly configure the terminal device through the 3GPP network without resorting to the NHN network.
- the 3GPP network is used as a 5G network as an example.
- the NH AMF is a 5G network.
- the AMF in the middle is equivalent to the interaction between the NH AMF and the AMF network element.
- the IWK SCEF network element exists only in the roaming scene.
- FIG. 10 is a flowchart of still another method for transmitting a message according to an embodiment of the present application.
- the terminal device is a CPE
- the first network is an NHN network
- the second network is a PSP network
- the sending end is an SCS/
- the NH MME network element is an implementation manner of the first network element in the embodiment of the present application
- the PSP AAA network is used.
- the IWK-SCEF network element is an implementation manner of the third network element in the embodiment of the present application
- the SCEF network element is the fourth network in the embodiment of the present application.
- An implementation of meta is
- FIG. 10 is an example of applying the message transmission method provided in the embodiment of the present application to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 as an example.
- the method shown in Figure 10 includes the following steps:
- S701 The SCEF receives the first request sent by the SCS/AS.
- the SCEF may determine whether the SCS/AS can perform the configuration requested by the first request for the CPE, and if the SCEF determines that the SCS/AS cannot The CPE performs the configuration requested by the first request, and sends a request failure message to the SCS/AS, where the request failure message may be used to indicate that the SCS/AS may not perform the configuration requested by the first request on the CPE, if the SCEF determines the SCS/AS The configuration requested by the first request may be performed on the CPE, and the first request is sent to the PSP AAA.
- the present application uses the SCEF to determine, as an example, a case where the SCS/AS can perform the configuration requested by the first request to the CPE, and refer to S702-S703.
- the SCEF determines that the SCS/AS can perform the configuration requested by the first request for the CPE.
- S703 The SCEF sends the first request to the PSP AAA.
- the PSP AAA determines whether the NHN network supports the configuration requested by the first request.
- the PSP AAA determines whether the NHN network supports the configuration requested by the first request, and if the PSP AAA determines that the NHN network supports the configuration requested by the first request, and according to The identification information of the CPE included in the first request determines that the CPE is in the NHN network, and executes S705.
- the PSP AAA sends a first request to the NH MME.
- the method shown in FIG. 10 is applied to a scenario in which PSP AAA and Local AAA proxy are integrated. If the PSP AAA and the Local AAA proxy are independent network elements, the PSP AAA may send the first request to the NH MME through the Local AAA proxy, that is, the PSP AAA sends the first request to the Local AAA proxy, and then the Local AAA proxy A request is forwarded to the NH MME.
- the PSP AAA when the PSP AAA sends the first request to the NH MME, the PSP AAA may carry a third indication, where the third indication is used to indicate that the first request is from the first network.
- S706 The NH MME sends a response message to the PSP AAA for the first request.
- the response message sent by the NH MME to the PSP AAA for the first request may be different from the first response in the application, and the response message may include the AMF confirming information about the first request, for example, the acknowledgement message may be Instructs to confirm receipt of the first request.
- the method shown in FIG. 10 is applied to a scenario in which PSP AAA and Local AAA proxy are integrated. If the PSP AAA and the Local AAA proxy are independent network elements, the NH MME may send the first request to the PSP AAA through the Local AAA proxy, that is, the NH MME sends the first request to the Local AAA proxy, and then the Local AAA proxy A request is forwarded to the PSP AAA.
- the first request is carried in the message sent by the re-authentication process, and the first request is sent to the NH MME, and the response message sent by the NH MME is received as an example.
- the PSP AAA may also send a first request to the NH MME through a message in other communication processes, and receive a response message sent by the NH MME.
- the first request may be used as a new one without using the existing communication process.
- the message is sent to the NH MME, which is not limited in this application.
- S707 The PSP AAA sends a response message to the SCEF for the first request.
- S708 The SCEF sends a response message to the SCS/AS for the first request.
- the PSP AAA after receiving the response message for the first request sent by the NH MME, the PSP AAA sends the response message to the SCS/AS through the SCEF.
- S709 The NH MME sends a first notification to the IWK-SCEF.
- the first notification is a notification that the SCS/AS requests to configure the CPE according to the configuration parameter.
- the NH MME receives an authorization indication sent by the IWK-SCEF.
- the authorization indication is used to indicate that the NHN network supports the configuration requested by the first request.
- S709-S710 is an optional step, and the NH MME may directly forward the received first request to the CPE after receiving the first request, or may, after performing S709-S710, to the CPE.
- the first request received is forwarded, which is not limited in this application.
- S711 The NH MME sends a first request to the CPE by using a NAS message.
- the NH MME receives the first response sent by the CPE by using the NAS message for the first request.
- the NH MME may further send a first response to the SCS/AS.
- the first response can be sent to the SCS/AS in two ways. For an implementation manner, referring to S713a-S713c, the NH MME sends a first response to the SCS/AS through the PSP AAA and the SCEF. In another implementation manner, referring to S714a-S714c, the NH MME sends a first response to the SCS/AS through the IWK-SCEF and the SCEF.
- the method illustrated in Figure 10 applies to the integration of PSP AAA and Local AAA proxy. If the PSP AAA and the Local AAA proxy are independent network elements, the first response in S713a can be sent to the PSP AAA through the Local AAA proxy, and then sent by the PSP AAA to the SCEF and sent to the SCS/AS through the SCEF.
- the first response includes one or more of the following information: the CPE confirms the first request, the CPE ID, the SCEF ID, the SCEF reference ID, and the status information of the CPE.
- the CPE needs to report its own state, status change, or statistical data for a period of time.
- the first response sent by the CPE may be The CPE ID, the SCEF ID, the SCEF reference ID, and the CPE status information may be optionally included, and may also include the CPE confirming the first request.
- the network element IWK-SCEF, Local AAA proxy, PSP AAA, and SCEF may be combined or grouped in one or more devices, and the IWK-SCEF, Local AAA proxy, PSP AAA, and SCEF network elements are combined.
- the interaction between them can be considered as internal operation, that is, the step of being set up between the network elements of one device can be omitted.
- the IWK-SCEF, Local AAA proxy, which is set in one device The PSP AAA and the SCEF network element may be equivalent to the second network element in this application.
- the NH MME, the IWK-SCEF, the Local AAA proxy, the PSP AAA, and the SCEF network element may also be combined in one device.
- the first network element and the second network element are the same device.
- the devices are composed of NH MME, IWK-SCEF, Local AAA proxy, PSP AAA, and SCEF network elements.
- the method shown in FIG. 10 is also applicable to the network architecture shown in FIG. 2.
- the network element NH MME in FIG. instead of the NH AMF, the IWK-SCEF is replaced by the IWK-NEF, and the SCEF is replaced by the NEF.
- S801-S814c respectively perform the same operations as S701-S714c in FIG. 10, and details are not described herein again.
- FIG. 12 is a flowchart of still another method for transmitting a message according to an embodiment of the present application.
- the terminal device is a CPE
- the first network is an NHN network
- the second network is a 3GPP network or a PSP network
- the sending end is used.
- the message transmission method provided by the embodiment of the present application is described as an example in which the SCS/AS and the second network element belong to the second network.
- the NH MME network element is an implementation manner of the first network element in the embodiment of the present application
- the SCEF network element is an implementation manner of the second network element in the embodiment of the present application.
- FIG. 12 illustrates an example in which the message transmission method provided by the embodiment of the present application is applied to an interworking architecture of an NHN network and a 4G network, or an architecture in which an NHN network and a PSP network communicate with each other.
- the HSS network element shown in FIG. 12 corresponds to the PSP AAA network element shown in FIG. 12 when applied to the architecture of the interworking between the NHN network and the PSP network.
- FIG. 12 is an example of applying the message transmission method provided by the embodiment of the present application to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 as an example.
- the method shown in Figure 12 includes the following steps:
- S901 The SCEF receives the first request sent by the SCS/AS.
- the SCEF may determine whether the SCS/AS can perform the configuration requested by the first request for the CPE, and if the SCEF determines that the SCS/AS cannot The CPE performs the configuration requested by the first request, and sends a request failure message to the SCS/AS, where the request failure message may be used to indicate that the SCS/AS may not perform the configuration requested by the first request on the CPE, if the SCEF determines the SCS/AS The configuration requested by the first request may be performed on the CPE, and the first request is sent to the HSS/PSP AAA.
- the present application uses the SCEF to determine, as an example, a case where the SCS/AS can perform the configuration requested by the CPE for the first request, and refer to S902-S903.
- the SCEF determines that the SCS/AS can perform the configuration requested by the first request for the CPE.
- S903 The SCEF sends a first request to the HSS/PSP AAA.
- the SCEF may send a first request to the HSS/PSP AAA during the signing process.
- the message carrying the first request in the signing process may be sent to the HSS/PSP AAA.
- it can also be sent in other processes, and can also be sent to the HSS/PSP AAA by using a new message, which is not limited in this application.
- the HSS/PSP AAA determines whether the NHN network supports the configuration requested by the first request.
- the HSS/PSP AAA sends a response message to the SCEF for the first request.
- the HSS/PSP AAA may send the message to the SCEF if it determines that the NHN network does not support the configuration requested by the first request.
- the response message carries the request failure message.
- the response message sent to the SCEF may be carried in the response message, and may also carry the NHN network information where the CPE is currently located, for example, the CPE current
- the information of the NHN network where the CPE is located may include the identifier of the IWK-SCEF of the NHN network where the CPE is currently located, the identifier of the NH MME, or the identifier of the NHN network where the CPE is currently located.
- the SCN may determine the current NHN network where the CPE is located according to the current NHN network information of the CPE. Execute S906.
- S906 The SCEF sends a first request to the IWK-SCEF.
- the IWK-SCEF sends the first request to the NH MME.
- S908 The NH MME sends a response message to the IWK-SCEF for the first request.
- the IWK-SCEF after receiving the response message for the first request sent by the NH MME, the IWK-SCEF sends the response message to the SCS/AS through the SCEF.
- the response message sent by the NH MME to the IWK-SCEF for the first request may include the confirmation information of the NH MME for the first request, for example, the confirmation message may indicate that the first request is acknowledged.
- the IWK-SCEF sends a response message to the SCEF for the first request.
- S910 The SCEF sends a response message to the SCS/AS for the first request.
- the NH MME receives the first response sent by the CPE by using the NAS message for the first request.
- the NH MME may send the first response to the SCS/AS in the same manner as in FIG. 8-11.
- Figure 12 shows only two of these implementations, see S913a-S913c and S914a-S914c.
- the method shown in FIG. 12 is also applicable to the network architecture shown in FIG. 2.
- the network element NH MME in FIG. instead of NH AMF, IWK-SCEF is replaced by IWK-NEF, SCEF is replaced by NEF, and HSS is replaced by UDM/PSP AAA.
- S1001-S1014c are executed in the same manner as S901-S914c in FIG. 12, respectively. Operation will not be repeated here.
- each of the foregoing network elements includes a hardware structure and/or a software module corresponding to each function.
- the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
- FIG. 14 shows a possible exemplary block diagram of a device involved in the embodiment of the present invention.
- the device 1400 may exist in the form of software, or may be a terminal device or a first network.
- the element or the second network element may also be a chip in the terminal device or a chip in the first network element or a chip in the second network element.
- the device 1400 includes a processing unit 1402 and a communication unit 1403.
- the processing unit 1402 is configured to perform control management on the action of the device 1400.
- the processing unit 1402 is configured to perform a technical process of determining a first response according to the first request, when the device 1400 is the first
- the processing unit 1402 is configured to perform the process of carrying the first request in the NAS message, and is also used to perform the technical process of S101d' in FIG. 4.
- the processing unit 1402 is used by the processing unit 1402.
- the technical processes such as S101c and S101d in Fig. 4 are executed.
- Communication unit 1403 is used to support communication of device 1400 with other network entities.
- the communication unit 1403 can be used to support the device 1400 to perform technical processes such as S102, S103, S103a, and S103b in FIG. 4.
- the communication unit 1403 can be used to support the device 1400.
- the technical processes of S102, S103, S103a, S103b, S101, S101b, S101a', S102a, S102b, S104a, and S105a in FIG. 4 are performed.
- the communication unit 1403 can be used to support the device 1400 to execute.
- Technical processes such as S101a, S103a3, S101b, S101a', S101b', and S104b in FIG.
- the device 1400 can also include a storage unit 1401 for storing program codes and data of the device 1400.
- the processing unit 1402 may be a processor or a controller, for example, a general central processing unit (CPU), a general-purpose processor, a digital signal processing (DSP), and an application specific integrated Circuits, ASICs, field programmable gate arrays (FPGAs) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
- the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the communication unit 1403 may be a communication interface, a transceiver, a transceiver circuit, or the like.
- the storage unit 1401 may be a memory.
- the apparatus 1400 may be the apparatus shown in FIG.
- FIG. 15 is a schematic diagram showing a possible logical structure of an apparatus involved in the foregoing embodiment provided by an embodiment of the present application.
- the apparatus 1500 can include at least one processor 1501.
- the processor 1501 is configured to control and manage the action of the device.
- the device may further include a memory 1502, the transceiver 1503.
- the processor 1501, the transceiver 1503, and the memory 1502 may be connected to each other or to each other through a bus 1504.
- the memory 1502 is configured to store code and data of the device.
- Transceiver 1503 is used to support the device for communication.
- the processor 1501 is a control center of the device, and may be a processor or a collective name of a plurality of processing elements.
- the processor 1501 is a CPU, which may be implemented by an ASIC, or one or more integrated circuits configured to implement an embodiment of the present invention, such as one or more DSPs, or one or more FPGA.
- the processor 1501 can perform various functions of the apparatus 1500 by running or executing a software program stored in the memory 1502 and calling data stored in the memory 1502.
- the memory 1502 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
- the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this.
- the memory 1502 can exist independently and is coupled to the processor 1501 via a communication bus 1504.
- the memory 1502 can also be integrated with the processor 1501.
- the transceiver 1503 uses a device such as any transceiver for communication with other nodes, such as a first network element. It can also be used to communicate with a communication network, such as Ethernet, radio access network (RAN), Wireless Local Area Networks (WLAN), and the like.
- the transceiver 1203 may include a receiving unit to implement a receiving function, and a transmitting unit to implement a transmitting function.
- the communication bus 1504 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
- ISA Industry Standard Architecture
- PCI Peripheral Component
- EISA Extended Industry Standard Architecture
- the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 15, but it does not mean that there is only one bus or one type of bus.
- the device structure illustrated in Figure 15 does not constitute a limitation to the device, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
- the following steps can also be performed:
- the transceiver 1503 is configured to receive a first request from a first network element, where the first request is a request from a sending end, and the first request includes a configuration parameter, where a request for requesting configuration of the device according to the configuration parameter; a processor 1501, configured to determine a first response according to the first request; the transceiver 1503, further configured to pass a non-access stratum NAS message Sending the first response to the first network element, where the first network element belongs to the first network.
- the first response includes one or more of the following information: the device confirms the first request, the identifier information of the device, and the fourth network element.
- the transceiver 1503 is further configured to:
- the first network element Before receiving the first request sent by the first network element, sending a first indication to the first network element, where the first indication is used to indicate that the apparatus supports configuring the apparatus by using a NAS message.
- the transceiver 1503 is further configured to:
- the second indication After transmitting the first indication to the first network element, receiving a second indication from the first network element, the second indication is used to indicate that the first network supports configuring the device by using a NAS message.
- the transceiver 1503 is specifically configured to:
- the network element Transmitting, by the first network element, the first indication, and receiving the second indication from the first network element, in a process of network discovery before accessing the first network; or Transmitting, by the first network element, the first indication to the first network element, and receiving the second indication from the first network element, or in the first During the registration process, the network element sends the first indication to the first network element and receives the second indication from the first network element.
- the first network is an NHN network
- the second network is a 3GPP network or a PSP network.
- the embodiment of the present application further provides a computer storage medium for storing computer software instructions used by the message transmission apparatus shown in FIG. 14 and FIG. 15 above, which includes program code for executing the foregoing method embodiment.
- the transmission of the message can be achieved by executing the stored program code.
- the embodiment of the present application also provides a computer program product.
- the computer program product includes computer software instructions that are loadable by a processor to implement the methods of the above method embodiments.
- the embodiment of the present application further provides a chip, which includes a processor and a transceiver component, and optionally, a storage unit, which can be used to perform the method of the foregoing embodiment of the present application.
- the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
- software it 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.
- the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
- the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
- the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
- a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
- an optical medium eg, a DVD
- a semiconductor medium such as a Solid State Disk (SSD)
- a general purpose processor may be a microprocessor.
- the general purpose processor may be any conventional processor, controller, microcontroller, or state machine.
- the processor may also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration. achieve.
- the steps of the method or algorithm described in the embodiments of the present application may be directly embedded in hardware, a software unit executed by a processor, or a combination of the two.
- the software unit can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium in the art.
- the storage medium can be coupled to the processor such that the processor can read information from the storage medium and can write information to the storage medium.
- the storage medium can also be integrated into the processor.
- the processor and the storage medium may be disposed in the ASIC, and the ASIC may be disposed in the terminal device. Alternatively, the processor and the storage medium may also be disposed in different components in the terminal device.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本申请要求在2018年3月13日提交中国专利局、申请号为201810206475.4、发明名称为《一种消息传输方法和装置》的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201101206475.4, entitled "A Message Transmission Method and Apparatus", filed on March 13, 2018, the entire disclosure of which is incorporated herein by reference. .
本申请涉及移动通信技术领域,尤其涉及一种消息传输方法和装置。The present application relates to the field of mobile communications technologies, and in particular, to a message transmission method and apparatus.
Multefire联盟提出一种Multefire技术,Multefire技术是指通过在非授权频谱(例如全球5GHz非授权频谱)上独立运行长期演进(long term evolution,LTE)技术来构建新的无线网络的技术,相关技术中,将采用Multefire技术构建的无线网络称为中立部署网络(neutral host network,NHN)。The Multefire Alliance proposes a Multefire technology, which refers to the technology of building a new wireless network by independently running long term evolution (LTE) technology on unlicensed spectrum (such as the global 5GHz unlicensed spectrum). The wireless network built using the Multefire technology is called a neutral host network (NHN).
现有技术中,允许终端设备从NHN网络中的接入网元直接接入第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)核心网络或者服务提供商(participating service provider,PSP)网络,也允许该终端设备从NHN网络中的接入网元经由NHN网络的核心网络接入3GPP核心网络或者PSP网络,以下为便于描述,将NHN网络的核心网络简称为NHN核心网络。In the prior art, the terminal device is allowed to directly access the 3rd Generation Partnership Project (3GPP) core network or a participating service provider (PSP) network from the access network element in the NHN network. The terminal device is allowed to access the 3GPP core network or the PSP network from the access network element in the NHN network via the core network of the NHN network. For convenience of description, the core network of the NHN network is simply referred to as the NHN core network.
在终端设备经由NHN核心网络接入3GPP核心网络或者PSP网络的场景中,第三方服务器通常依赖专门部署的配置服务器对终端设备进行配置,且配置过程依赖于终端设备与配置服务器之间建立的专门通道,当移动网络应用于垂直行业时,针对属于不同垂直行业的终端设备可能需要进行不同的配置,如果沿用现有技术的方法,则针对不同垂直行业需要分别部署不同的配置服务器,并且不同的配置服务器需要与对应的终端设备分别建立专门的通道,会导致成本高、部署复杂的问题。In the scenario where the terminal device accesses the 3GPP core network or the PSP network via the NHN core network, the third-party server usually configures the terminal device by using a specially configured configuration server, and the configuration process depends on the special establishment established between the terminal device and the configuration server. Channels, when mobile networks are used in vertical industries, different configurations may be required for terminal equipment belonging to different vertical industries. If the prior art method is used, different configuration servers need to be deployed separately for different vertical industries, and different The configuration server needs to establish a dedicated channel with the corresponding terminal device, which causes high cost and complicated deployment.
发明内容Summary of the invention
本申请实施例提供一种消息传输方法和装置,用以实现在不增加专门的配置服务器的基础上对终端设备进行配置。The embodiment of the present application provides a message transmission method and apparatus, which are used to implement configuration of a terminal device without adding a dedicated configuration server.
为达到上述目的,本申请实施例提供如下技术方案:To achieve the above objective, the embodiment of the present application provides the following technical solutions:
第一方面,提供一种消息传输方法,包括:第一网元接收来自发送端的第一请求,第一请求包括配置参数,第一请求用于请求根据配置参数对终端设备进行配置,第一网元属于第一网络,第一网元接收到来自发送端的第一请求之后,通过非接入层(non access stratum,NAS)消息向终端设备发送第一请求。当移动网络应用于垂直行业时,针对属于不同垂直行业的终端设备均可通过上述方法进行配置,无需针对属于不同垂直行业的终端设备部署专门的配置服务器以及建立专门的通道,从而降低部署成本以及部署复杂度。The first aspect provides a message transmission method, including: receiving, by a first network element, a first request from a sending end, where the first request includes a configuration parameter, where the first request is used to request to configure the terminal device according to the configuration parameter, where the first network The element belongs to the first network, and after receiving the first request from the sending end, the first network element sends a first request to the terminal device through a non-access stratum (NAS) message. When the mobile network is applied to the vertical industry, the terminal devices belonging to different vertical industries can be configured by the above methods, and it is not necessary to deploy a dedicated configuration server and establish a dedicated channel for terminal devices belonging to different vertical industries, thereby reducing the deployment cost and Deployment complexity.
可选的,配置参数可包括至少一种配置类型,配置类型可包括配置和配置更新、软件固件管理、状态和性能监控以及诊断等,每种配置类型包括不同的配置内容。例如,软件固件管理包括的配置内容可以是获知终端设备的版本、软件模块加载、软件模块更新以及 软件模块卸载等,状态和性能监控包括的配置内容可以是监控终端设备的状态和性能等,诊断包括的配置内容可以是对终端设备的连接和服务问题进行诊断以及指导终端设备进行下一步操作等。Optionally, the configuration parameter may include at least one configuration type, where the configuration type may include configuration and configuration update, software firmware management, status and performance monitoring, and diagnosis, and each configuration type includes different configuration content. For example, the configuration content included in the software firmware management may be a version of the terminal device, a software module loading, a software module update, and a software module uninstallation. The configuration content included in the status and performance monitoring may be monitoring the status and performance of the terminal device, and the diagnosis. The configuration content included may be to diagnose the connection and service problems of the terminal device and to guide the terminal device to perform the next operation.
在一种可能的设计中,第一网元通过NAS消息向终端设备发送第一请求之后,还可接收来自终端设备的针对第一请求的第一响应。In a possible design, after the first network element sends the first request to the terminal device through the NAS message, the first network element may also receive the first response from the terminal device for the first request.
本申请中第一网元接收到终端设备发送的第一响应之后,可向发送端发送该第一响应,以使发送端根据终端设备的第一响应执行后续处理。在一种可能的设计中,第一网元通过第三网元和第四网元向发送端发送第一响应,其中,第三网元属于第一网络,第四网元属于第二网络。在另一种可能的设计中,第一网元通过第二网元向发送端发送第一响应,其中,第二网元属于第一网络或者属于第二网络。After receiving the first response sent by the terminal device, the first network element may send the first response to the sending end, so that the sending end performs subsequent processing according to the first response of the terminal device. In a possible design, the first network element sends a first response to the sending end by using the third network element and the fourth network element, where the third network element belongs to the first network, and the fourth network element belongs to the second network. In another possible design, the first network element sends a first response to the sending end by using the second network element, where the second network element belongs to the first network or belongs to the second network.
在一种可能的设计中,第一响应中包括以下信息中的一种或多种:终端设备对第一请求的确认信息、终端设备的标识信息、第四网元的标识信息、第四网元的参考标识信息以及终端设备的状态信息。In a possible design, the first response includes one or more of the following information: the confirmation information of the first request by the terminal device, the identification information of the terminal device, the identification information of the fourth network element, and the fourth network. The reference identification information of the element and the status information of the terminal device.
在一种可能的设计中,第一网元向终端设备发送第一请求之前,接收来自第三网元的授权指示,授权指示用于指示第一网络支持第一请求所请求的配置,通过该方法,第一网元不会向终端设备发送第一网络不支持的配置请求,可节省信令开销。In a possible design, before the first network element sends the first request to the terminal device, receiving an authorization indication from the third network element, where the authorization indication is used to indicate that the first network supports the configuration requested by the first request, by using the The method, the first network element does not send a configuration request that is not supported by the first network to the terminal device, which can save signaling overhead.
本申请中对第一网元如何接收来自发送端的第一请求不做限定。在一种可能的设计中,第一网元通过第二网元接收来自发送端的第一请求,第二网元属于第一网络或者属于第二网络。当第一网元通过第二网元接收来自发送端的第一请求时,第二网元首先接收来自发送端的第一请求,根据第一请求中包括的终端设备的标识信息,确定终端设备在第一网络中,进而向第一网元发送第一请求。In this application, the first request for receiving the first request from the sender is not limited. In a possible design, the first network element receives the first request from the transmitting end through the second network element, and the second network element belongs to the first network or belongs to the second network. When the first network element receives the first request from the sending end by using the second network element, the second network element first receives the first request from the sending end, and determines, according to the identification information of the terminal device included in the first request, that the terminal device is in the first In a network, the first request is sent to the first network element.
在一种可能的设计中,当第二网元属于第一网络时,第二网元向第一网元发送的第一请求中还可包括第三指示,第三指示用于指示第一请求来自第一网络。In a possible design, when the second network element belongs to the first network, the first request sent by the second network element to the first network element may further include a third indication, where the third indication is used to indicate the first request. From the first network.
在一种可能的设计中,第二网元向第一网元发送第一请求之前,还可确定第一网络支持第一请求所请求的配置。在配置参数包括至少一种配置类型,配置类型包括配置和配置更新、软件固件管理、状态和性能监控以及诊断,每种配置类型包括不同的配置内容的情况下,第二网元确定第一网络支持第一请求所请求的配置,具体是指第二网元确定第一网络支持至少一种配置类型,以及支持每种配置类型包括的不同的配置内容。In a possible design, before the second network element sends the first request to the first network element, it may also determine that the first network supports the configuration requested by the first request. In the case that the configuration parameter includes at least one configuration type, the configuration type includes configuration and configuration update, software firmware management, status and performance monitoring, and diagnosis, and each configuration type includes different configuration contents, the second network element determines the first network. Supporting the configuration requested by the first request, specifically, the second network element determines that the first network supports at least one configuration type, and supports different configuration contents included in each configuration type.
本申请中,终端设备在接收来自发送端的第一请求之前,还可确定终端设备支持通过NAS消息对终端设备进行配置。在一种可能的设计中,通过第二网元确定终端设备支持通过NAS消息对终端设备进行配置。In this application, before receiving the first request from the sending end, the terminal device may further determine that the terminal device supports configuring the terminal device by using the NAS message. In a possible design, the second network element determines that the terminal device supports configuration of the terminal device through the NAS message.
在另一种可能的设计中,通过第一网元确定终端设备支持通过NAS消息对终端设备进行配置。通过该方法,第一网元或者第二网元在确定终端设备支持通过NAS消息对其进行配置的情况下,才会向终端设备发送第一请求,由于在终端设备不支持通过NAS消息对其进行配置的情况下向终端设备发送第一请求,会导致发送失败或者错误,因此通过该方法可避免终端设备接收第一请求时失败或者接收错误。In another possible design, the first network element determines that the terminal device supports configuration of the terminal device through the NAS message. With the method, the first network element or the second network element sends the first request to the terminal device after determining that the terminal device supports the configuration by using the NAS message, because the terminal device does not support the NAS message through the NAS device. Sending the first request to the terminal device in the case of configuration may result in a transmission failure or an error, so that the terminal device may be prevented from failing or receiving an error when receiving the first request.
在一种可能的设计中,第一网元可通过如下方式确定终端设备支持通过NAS消息对终端设备进行配置:第一网元接收来自终端设备的第一指示,第一指示用于指示终端设备支持通过NAS消息对终端设备进行配置,第一网元根据第一指示,确定终端设备支持通过NAS消息对终端设备进行配置。In a possible design, the first network element may determine that the terminal device supports configuring the terminal device by using a NAS message by: receiving, by the first network element, a first indication from the terminal device, where the first indication is used to indicate the terminal device The terminal device is configured to be configured by using the NAS message, and the first network element determines, according to the first indication, that the terminal device supports configuring the terminal device by using the NAS message.
在一种可能的设计中,第一网元确定终端设备支持通过NAS消息对终端设备进行配置之后,可向终端设备发送第二指示,第二指示用于指示第一网络支持通过NAS消息配置终端设备,以便终端设备优先接入第一网络。In a possible design, the first network element determines that the terminal device supports the configuration of the terminal device by using the NAS message, and may send a second indication to the terminal device, where the second indication is used to indicate that the first network supports configuring the terminal by using the NAS message. The device is such that the terminal device preferentially accesses the first network.
在一种可能的设计中,第一网元在终端设备接入第一网络之前的网络发现的过程中,接收来自终端设备的所述第一指示,并向终端设备发送第二指示。在另一种可能的设计中,第一网元在与终端设备在鉴权过程中,接收来自终端设备的第一指示,并向终端设备发送第二指示。在另一种可能的设计中,第一网元在与终端设备在注册过程中,接收来自终端设备的第一指示,并向终端设备发送第二指示。In a possible design, the first network element receives the first indication from the terminal device and sends a second indication to the terminal device in a process of network discovery before the terminal device accesses the first network. In another possible design, the first network element receives the first indication from the terminal device during the authentication process with the terminal device, and sends the second indication to the terminal device. In another possible design, the first network element receives the first indication from the terminal device during the registration process with the terminal device, and sends a second indication to the terminal device.
在一种可能的设计中,第一网络为NHN网络,第二网络为3GPP网络或者PSP网络。In one possible design, the first network is an NHN network and the second network is a 3GPP network or a PSP network.
第二方面,提供一种消息传输装置,该装置具有实现上述方法实施例中第一网元的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a second aspect, a message transmission apparatus is provided, which has the function of implementing the first network element in the foregoing method embodiment. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
在一种可能的设计中,该装置包括:处理器、收发器、存储器;该存储器用于存储计算机执行指令,该收发器用于实现该装置与其他通信实体进行通信,该处理器与该存储器通过总线连接,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该消息传输装置执行上述第一方面的方法。In one possible design, the apparatus includes: a processor, a transceiver, a memory; the memory is for storing a computer to execute instructions, the transceiver is configured to implement the device to communicate with other communication entities, and the processor and the memory pass A bus connection, the processor executing the computer-executable instructions stored by the memory to cause the message transmission device to perform the method of the first aspect described above when the device is in operation.
第三方面,提供一种消息传输装置,该装置具有实现上述方法实施例中第二网元的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a third aspect, a message transmission apparatus is provided, the apparatus having the function of implementing the second network element in the foregoing method embodiment. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
在一种可能的设计中,该装置包括:处理器、收发器、存储器;该存储器用于存储计算机执行指令,该收发器用于实现该装置与其他通信实体进行通信,该处理器与该存储器通过总线连接,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该消息传输装置执行上述第一方面的方法。In one possible design, the apparatus includes: a processor, a transceiver, a memory; the memory is for storing a computer to execute instructions, the transceiver is configured to implement the device to communicate with other communication entities, and the processor and the memory pass A bus connection, the processor executing the computer-executable instructions stored by the memory to cause the message transmission device to perform the method of the first aspect described above when the device is in operation.
第四方面,提供一种消息传输装置,该装置具有实现上述方法实施例中终端设备的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fourth aspect, a message transmission apparatus is provided, the apparatus having the function of implementing the terminal device in the foregoing method embodiment. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
在一种可能的设计中,该装置包括:处理器、收发器、存储器;该存储器用于存储计算机执行指令,该收发器用于实现该装置与其他通信实体进行通信,该处理器与该存储器通过总线连接,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该消息传输装置执行上述第一方面的方法。In one possible design, the apparatus includes: a processor, a transceiver, a memory; the memory is for storing a computer to execute instructions, the transceiver is configured to implement the device to communicate with other communication entities, and the processor and the memory pass A bus connection, the processor executing the computer-executable instructions stored by the memory to cause the message transmission device to perform the method of the first aspect described above when the device is in operation.
第五方面,本申请实施例提供了一种计算机存储介质,用于储存为第一网元所用的计算机软件指令,其包含用于执行上述方面为第一网元所设计的程序。In a fifth aspect, an embodiment of the present application provides a computer storage medium, configured to store computer software instructions for use by a first network element, where the program includes a program designed to perform the foregoing aspects for the first network element.
第六方面,本申请实施例提供了一种计算机存储介质,用于储存为第二网元所用的计算机软件指令,其包含用于执行上述方面为第二网元所设计的程序。In a sixth aspect, an embodiment of the present application provides a computer storage medium for storing computer software instructions for use by a second network element, where the program is configured to execute the foregoing aspect for the second network element.
第七方面,本申请实施例提供了一种计算机存储介质,用于储存为终端设备所用的计算机软件指令,其包含用于执行上述方面为终端设备所设计的程序。In a seventh aspect, the embodiment of the present application provides a computer storage medium for storing computer software instructions used by the terminal device, which includes a program designed to execute the foregoing aspects for the terminal device.
第八方面,本申请实施例提供了一种计算机程序产品。该计算机程序产品包括计算机软件指令,该计算机软件指令可通过处理器进行加载来实现上述第一方面方法中的流程。In an eighth aspect, an embodiment of the present application provides a computer program product. The computer program product includes computer software instructions that are loadable by a processor to implement the processes of the first aspect method described above.
第九方面,本申请实施例提供了一种芯片,包括处理器、收发组件,可选的,还包括存储器,用于执行上述方面的消息传输方法。In a ninth aspect, the embodiment of the present application provides a chip, including a processor, a transceiver component, and optionally, a memory, for performing the message transmission method of the foregoing aspect.
图1为本申请实施例涉及的网络架构示意图;1 is a schematic diagram of a network architecture involved in an embodiment of the present application;
图2为本申请实施例涉及的网络架构示意图;2 is a schematic diagram of a network architecture involved in an embodiment of the present application;
图3为本申请实施例涉及的网络架构示意图;3 is a schematic diagram of a network architecture involved in an embodiment of the present application;
图4为本申请实施例提供的一种消息传输方法示意图;FIG. 4 is a schematic diagram of a message transmission method according to an embodiment of the present application;
图5为本申请实施例提供的一种协商通过NAS消息配置终端设备的方法示意图;FIG. 5 is a schematic diagram of a method for negotiating a terminal device by using a NAS message according to an embodiment of the present disclosure;
图6为本申请实施例提供的又一种协商通过NAS消息配置终端设备的方法示意图;FIG. 6 is a schematic diagram of another method for negotiating a terminal device by using a NAS message according to an embodiment of the present disclosure;
图7为本申请实施例提供的又一种协商通过NAS消息配置终端设备的方法示意图;FIG. 7 is a schematic diagram of another method for negotiating a terminal device by using a NAS message according to an embodiment of the present disclosure;
图8为本申请实施例提供的又一种消息传输方法示意图;FIG. 8 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application;
图9为本申请实施例提供的又一种消息传输方法示意图;FIG. 9 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application;
图10为本申请实施例提供的又一种消息传输方法示意图;FIG. 10 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application;
图11为本申请实施例提供的又一种消息传输方法示意图;FIG. 11 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application;
图12为本申请实施例提供的又一种消息传输方法示意图;FIG. 12 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application;
图13为本申请实施例提供的又一种消息传输方法示意图;FIG. 13 is a schematic diagram of still another method for transmitting a message according to an embodiment of the present application;
图14为本申请实施例提供的一种消息传输装置;FIG. 14 is a message transmission apparatus according to an embodiment of the present application;
图15为本申请实施例提供的另一种消息传输装置。FIG. 15 is another message transmission apparatus according to an embodiment of the present application.
下面结合说明书附图对本申请进行具体说明。The present application will be specifically described below in conjunction with the drawings.
本申请中的终端设备,是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。所述终端设备可以是用户设备(user equipment,UE)或者客户端设备(customer premise equipment,CPE),例如,可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。The terminal device in the present application is a device with wireless transceiving function, which can be deployed on land, including indoor or outdoor, handheld or on-board; it can also be deployed on the water surface (such as a ship, etc.); it can also be deployed in the air ( Such as airplanes, balloons and satellites, etc.). The terminal device may be a user equipment (UE) or a customer premise equipment (CPE). For example, it may be a mobile phone, a tablet, a computer with wireless transceiver function, and a virtual device. Virtual reality (VR) terminal, augmented reality (AR) terminal, wireless terminal in industrial control, wireless terminal in self driving, remote medical A wireless terminal, a wireless terminal in a smart grid, a wireless terminal in a transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, and the like.
参阅图1-图3所示,为本申请实施例应用的网络架构的示意图。其中,图1-图3所示的场景为终端设备从NHN网络中的接入网元经由NHN网络的核心网络接入3GPP核心网络或者PSP网络的场景。图1中涉及的3GPP核心网络为4G网络,图2-图3涉及的3GPP核心网络为5G网络,其中,在图1所示的网络架构中,终端设备还可以从NHN网络中的接入网元经由NHN网络的本地认证授权计费集群(local authentication authorization accounting proxy,Local AAA Proxy)网元,通过服务提供商认证授权计费(participating service provider authentication authorization accounting,PSP AAA)网元接入PSP网络,图1-图3中均以终端设备为UE为例说明。1-3 is a schematic diagram of a network architecture applied to an embodiment of the present application. The scenario shown in FIG. 1 to FIG. 3 is a scenario in which the terminal device accesses the 3GPP core network or the PSP network from the access network element in the NHN network via the core network of the NHN network. The 3GPP core network involved in FIG. 1 is a 4G network, and the 3GPP core network involved in FIG. 2 to FIG. 3 is a 5G network. In the network architecture shown in FIG. 1, the terminal device can also access the access network from the NHN network. The local authentication authorization accounting proxy (Local AAA Proxy) network element is connected to the PSP network through the service provider authentication and authentication (PSP AAA) network element. In Figure 1-3, the terminal device is used as the UE as an example.
针对图1所示的网络架构,该网络架构示意图包括UE、接入网元、演进分组数据网关(evolved packet data gateway,ePDG)、分组数据网络网关(packet data network gateway,PDN gateway,PGW)、第三代合作伙伴计划认证授权计费(3rd generation partnership project authentication authorization accounting,3GPP AAA)、归属签约服务器(home subscriber server,HSS)、服务能力开放功能(service capability exposure function,SCEF)、中立部署移动性管理实体(neutral host mobile management entity,NH MME)、中立部署网关(neutral host gateway,NH GW)、互通服务能力开放功能(interworking service capability exposure function,IWK-SCEF)、Local AAA Proxy、PSP AAA等。For the network architecture shown in FIG. 1 , the network architecture diagram includes a UE, an access network element, an evolved packet data gateway (ePDG), a packet data network gateway (PDN gateway, PGW), 3rd generation partnership project authentication authorization (3GPP AAA), home subscriber server (HSS), service capability exposure function (SCEF), neutral deployment mobile Neutral host mobile management entity (NH MME), neutral host gateway (NH GW), interworking service capability exposure function (IWK-SCEF), Local AAA Proxy, PSP AAA, etc. .
在图1所示的网络架构中,NHN网络可通过两种模式与4G网络互通,一种互通模式下,NHN网络通过ePDG连接到4G网络,使用接口包括SWa-N、SWn、S2b以及SWm等。在另一种互通模式下,NHN网络的NH GW网元通过S2a-N接口连接到4G网络的PGW网元,使用的接口包括STa-N。此外,NHN网络的Local AAA Proxy网元还可通过AAA接口连接到PSP网络的PSP AAA网元。In the network architecture shown in Figure 1, the NHN network can communicate with the 4G network through two modes. In an interworking mode, the NHN network is connected to the 4G network through the ePDG, and the interfaces include SWa-N, SWn, S2b, and SWm. . In another interworking mode, the NH GW network element of the NHN network is connected to the PGW network element of the 4G network through the S2a-N interface, and the used interface includes STa-N. In addition, the Local AAA Proxy network element of the NHN network can also be connected to the PSP AAA network element of the PSP network through the AAA interface.
以下对图1所示的网络架构中涉及的网元的功能进行简单介绍。The function of the network element involved in the network architecture shown in FIG. 1 is briefly introduced below.
接入网元是指NHN网络中的接入网元,用于UE接入NHN网络,例如,可以是基站。The access network element refers to an access network element in the NHN network, and is used for the UE to access the NHN network. For example, it may be a base station.
ePDG用于UE通过非3GPP(Non-3GPP或N3GPP)接入网络接入时,与UE建立互联网协议安全性(internet protocol security,IPsec)隧道等。The ePDG is used to establish an internet protocol security (IPsec) tunnel with the UE when the UE accesses through the non-3GPP (Non-3GPP or N3GPP) access network.
PGW的主要功能包括基于用户的包过滤功能、合法侦听功能、UE的网络之间互连的协议(internet protocol,IP)地址分配功能、在上行链路中进行数据包传送级标记、进行上下行服务等级计费以及服务水平门限的控制、进行基于业务的上下行速率的控制等。The main functions of the PGW include user-based packet filtering, lawful interception, inter-network protocol (IP) address allocation between UEs, packet transmission level marking in the uplink, and uplink and downlink. Service class level charging and control of service level thresholds, control of service-based uplink and downlink rates, and the like.
3GPP AAA用于提供鉴权授权消息代理等功能。3GPP AAA is used to provide functions such as authentication and authorization message brokers.
HSS用于存储用户签约信息,负责保存跟用户相关的信息,例如用户标识、编号和路由信息、安全信息、位置信息、概要(Profile)信息等。The HSS is used to store user subscription information, and is responsible for storing information related to the user, such as user identification, number and routing information, security information, location information, profile information, and the like.
SCEF是4G网络中的能力开放平台,第三方可以调用运营商提供的应用程序编程接口(application programming interface,API),通过SCEF向3GPP系统订阅事件。The SCEF is an open capability platform in the 4G network. The third party can invoke an application programming interface (API) provided by the operator to subscribe to the 3GPP system through the SCEF.
NH MME类似于4G网络中的MME,的主要功能是支持与UE之间的NAS信令及NAS信令加密、PGW的选择、为UE分配临时身份标识,以及提供漫游、跟踪、安全等功能。The NH MME is similar to the MME in the 4G network. Its main function is to support NAS signaling and NAS signaling encryption, PGW selection, assigning temporary identity to the UE, and providing roaming, tracking, security and other functions.
NH GW类似于4G网络中的PGW和服务网关(serving gateway,SGW),主要功能包括基于用户的包过滤功能、合法侦听功能、UE的网络之间IP地址分配功能、在上行链路中进行数据包传送级标记、进行上下行服务等级计费以及服务水平门限的控制、进行基于业务的上下行速率的控制等。The NH GW is similar to the PGW and the serving gateway (SGW) in the 4G network. The main functions include the user-based packet filtering function, the lawful interception function, the IP address allocation function between the UE's networks, and the uplink. The packet transmission level flag, the uplink and downlink service level charging and the service level threshold control, the service-based uplink and downlink rate control, and the like.
Local AAA Proxy用于提供鉴权授权消息代理等功能。The Local AAA Proxy is used to provide functions such as authentication and authorization message brokers.
IWK-SCEF为NHN网络中的能力开放平台,在与3GPP网络互通时,可以直接上报订阅的事件报告到3GPP网络中的SCEF。The IWK-SCEF is an open capability platform in the NHN network. When interworking with the 3GPP network, the event report of the subscription can be directly reported to the SCEF in the 3GPP network.
PSP AAA用于提供鉴权授权消息代理等功能。PSP AAA is used to provide functions such as authentication and authorization message brokers.
应理解的是,上述NH MME、NH GW、IWK-SCEF以及Local AAA Proxy网元为属于NHN网络的网元。HSS、SCEF、ePDG、PGW以及3GPP AAA网元为属于3GPP网络的网元。PSP AAA网元为属于PSP网络的网元,PSP网络中还可包括SCEF网元(图1中未示出)等,PSP网络中的SCEF与3GPP网络中SCEF功能类似,此处不再赘述。It should be understood that the foregoing NH MME, NH GW, IWK-SCEF, and Local AAA Proxy network elements are network elements belonging to the NHN network. The HSS, SCEF, ePDG, PGW, and 3GPP AAA network elements are network elements belonging to the 3GPP network. The PSP AAA network element is a network element that belongs to the PSP network. The PSP network may also include a SCEF network element (not shown in FIG. 1). The SCEF in the PSP network is similar to the SCEF function in the 3GPP network, and is not described here.
应理解的是,在一些场景中,NHN网络中的NH MME可与PSP AAA网元合设在一个设备中,NHN网络中的IWK-SCEF网元可与PSP网络中的SCEF网元合设在一个设备中,当然,NHN网络中的NH MME、IWK-SCEF以及Local AAA proxy网元也可与PSP 网络中的PSP AAA以及SCEF网元合设在一个设备中,在这些场景中,NHN网络与PSP网络可以理解为同一个网络。It should be understood that, in some scenarios, the NH MME in the NHN network may be combined with the PSP AAA network element in one device, and the IWK-SCEF network element in the NHN network may be combined with the SCEF network element in the PSP network. In one device, of course, the NH MME, IWK-SCEF, and Local AAA proxy network elements in the NHN network can also be combined with the PSP AAA and SCEF network elements in the PSP network in one device. In these scenarios, the NHN network and A PSP network can be understood as the same network.
其中,图1所示的架构中,与本申请有关的网元主要包括:UE、NH MME、SCEF、IWK-SCEF以及HSS。The network elements related to the present application mainly include: UE, NH MME, SCEF, IWK-SCEF, and HSS.
针对图2-图3所示的网络架构,该网络架构示意图均包括UE、接入网元、接入和移动性管理功能(access and mobility management function,AMF)、会话管理功能(session management function,SMF)、策略控制功能(policy control function,PCF)、统一数据管理(unified data management,UDM)、用户面功能(user plane function,UPF)、鉴权服务器功能(authentication server function,AUSF)、网络开放功能(network exposure function,NEF)、中立部署接入和移动性管理功能(neutral host access and mobility management function,NH AMF)、中立部署会话管理功能(neutral host session management function,NH SMF)、中立部署用户面功能(neutral host user plane function,NH UPF)、互通网络开放功能(interworking network exposure function,IWK-NEF)、数据网络(data network,DN)等。其中,图2与图3所示的网络架构的区别在于,图3中NHN网络与5G网络通过非3GPP互通功能(non-3GPP Interworking Function,N3IWF)网元互通,N3IWF网元类似于4G网络中的ePDG,用于UE通过N3GPP接入网络接入时,和UE建立IPsec隧道。在未来5G定义中,N3IWF的名字可能会更改,本申请仅以非3GPP网络接入网关为N3IWF进行举例说明。For the network architecture shown in FIG. 2 to FIG. 3, the network architecture diagram includes a UE, an access network element, an access and mobility management function (AMF), and a session management function (session management function, SMF), policy control function (PCF), unified data management (UDM), user plane function (UPF), authentication server function (AUSF), network open Network exposure function (NEF), neutral host access and mobility management function (NH AMF), neutral host session management function (NH SMF), neutral deployment user Neutral host user plane function (NH UPF), interworking network exposure function (IWK-NEF), data network (DN), etc. The difference between the network architecture shown in FIG. 2 and FIG. 3 is that the NHN network and the 5G network in FIG. 3 are interworking through a non-3GPP Interworking Function (N3IWF) network element, and the N3IWF network element is similar to the 4G network. The ePDG is used to establish an IPsec tunnel with the UE when the UE accesses through the N3GPP access network. In the future 5G definition, the name of the N3IWF may be changed. This application only exemplifies the non-3GPP network access gateway as the N3IWF.
应理解的是,NHN网络在不断地演进中,下一代的NHN网络架构以及NHN与5G网络的互通架构仍在研究中,在未来5G定义中,图2-图3所示的网络架构以及网络架构中涉及的网元的名字都可能会更改,本申请仅以图2-图3所示的网络架构以及网络架构中涉及的网元进行举例说明。It should be understood that the NHN network is constantly evolving, and the next-generation NHN network architecture and the interworking architecture of NHN and 5G networks are still under study. In the future 5G definition, the network architecture and network shown in Figure 2-3 The names of the network elements involved in the architecture may be changed. This application is only illustrated by the network architecture shown in Figure 2 and Figure 3 and the network elements involved in the network architecture.
以下对图2-图3所示的网络架构中涉及的网元的功能进行简单介绍。The functions of the network elements involved in the network architecture shown in FIG. 2 to FIG. 3 are briefly introduced below.
接入网元是指NHN网络中的接入网元,用于UE接入NHN网络,例如,可以是基站。The access network element refers to an access network element in the NHN network, and is used for the UE to access the NHN network. For example, it may be a base station.
AMF负责终端设备的接入管理和移动性管理,在实际应用中,其包括了4G网络中MME的移动性管理功能,并加入了接入管理功能。The AMF is responsible for access management and mobility management of the terminal equipment. In practical applications, it includes the mobility management function of the MME in the 4G network and adds the access management function.
SMF负责会话管理,如用户的会话建立等。The SMF is responsible for session management, such as user session establishment.
UPF是用户面的功能网元,主要负责连接外部网络,其包括了4G网络的SGW和PGW的相关功能,主要负责分组数据包的转发、计费信息统计等。The UPF is a functional network element of the user plane. It is mainly responsible for connecting to the external network. It includes the functions of the SGW and the PGW of the 4G network, and is mainly responsible for packet data packet forwarding and accounting information statistics.
UDM用于管理用户的签约信息,实现类似于4G中的HSS的后端。The UDM is used to manage the user's subscription information, and implements a backend similar to the HSS in 4G.
NEF为5G网络中的能力开放平台,在与NHN网络互通时,可以直接上报订阅的事件报告到NHN网络中的IWK-NEF。The NEF is an open capability platform in the 5G network. When interworking with the NHN network, the NEF can directly report the event report of the subscription to the IWK-NEF in the NHN network.
NH AMF类似于5G网络中的AMF,负责终端设备的接入管理和移动性管理。NH AMF is similar to AMF in 5G networks and is responsible for access management and mobility management of terminal devices.
NH SMF类似于5G网络中的SMF,负责会话管理,如用户的会话建立等。The NH SMF is similar to the SMF in a 5G network and is responsible for session management, such as user session establishment.
NH UPF类似于5G网络中的UPF,主要负责连接外部网络、分组数据包的转发、计费信息统计等。The NH UPF is similar to the UPF in the 5G network, and is mainly responsible for connecting external networks, forwarding of packet data packets, and accounting information statistics.
IWK-NEF为NHN网络中的能力开放平台,在与5G网络互通时,可以直接上报订阅的事件报告到5G网络中的NEF。The IWK-NEF is an open capability platform in the NHN network. When interworking with the 5G network, the event can be directly reported to the NEF in the 5G network.
DN负责为终端设备提供服务的网络,如一些DN为终端设备提供上网功能,另一些DN为终端设备提供短信功能等等。The DN is responsible for providing services for the terminal devices. For example, some DNs provide Internet access for terminal devices, and other DNs provide SMS functions for terminal devices.
其中,图2-图3的架构中,与本申请有关的网元主要包括:UE、NH AMF、AMF、UDM、PCF、IWK-NEF、NEF以及N3IWF。The network elements related to the present application mainly include: UE, NH AMF, AMF, UDM, PCF, IWK-NEF, NEF, and N3IWF.
针对图1-图3所示出的网络架构,现有技术中发送端若请求对UE进行配置,则需要依赖专门部署的配置服务器对UE进行配置,且配置过程依赖于UE与配置服务器之间建立的专门通道。具体的,发送端通过应用层消息向配置服务器发送配置请求,进而通过配置服务器向UE转发该配置请求,在该过程中,配置服务器透明转发该发送端发送的配置请求,即配置服务器对接收到的配置请求不做任何处理。当将图1-图3所示出的网络应用于垂直行业时,针对属于不同垂直行业的UE可能需要进行不同的配置,如果采用上述方法对属于不同垂直行业的UE进行配置,则针对属于不同垂直行业的UE需要分别部署不同的配置服务器,并且不同的配置服务器需要与对应的UE分别建立专门的通道,这样会导致部署成本高、部署复杂的问题。此外,现有技术中发送端通过应用层消息向UE发送配置请求的方法,还需要UE支持ip协议栈(ip treaty series),即,该方法只能用于支持ip协议栈的UE,对于不支持ip协议栈的UE该方法不适用。For the network architecture shown in FIG. 1 to FIG. 3, in the prior art, if the sending end requests to configure the UE, the configuration server needs to be configured according to the specially deployed configuration server, and the configuration process depends on the UE and the configuration server. Established a dedicated channel. Specifically, the sending end sends a configuration request to the configuration server through the application layer message, and then the configuration server forwards the configuration request to the UE. In the process, the configuration server transparently forwards the configuration request sent by the sending end, that is, the configuration server receives the configuration request. The configuration request does not do anything. When the networks shown in FIG. 1 to FIG. 3 are applied to the vertical industry, UEs belonging to different vertical industries may need to be configured differently. If the UEs belonging to different vertical industries are configured by the above method, they are different. The UEs in the vertical industry need to deploy different configuration servers separately, and different configuration servers need to establish dedicated channels respectively with the corresponding UEs, which may result in high deployment cost and complicated deployment. In addition, in the prior art, the method in which the sending end sends a configuration request to the UE through the application layer message also needs the UE to support the ip protocol series. That is, the method can only be used for the UE supporting the ip protocol stack. This method is not applicable to UEs that support the ip protocol stack.
本申请实施例针对上述问题提供了一种消息传输方法及装置,用以实现在不增加专门的配置服务器的基础上通过NHN网络对终端设备进行配置,且,通过本申请提供的方法即可配置支持ip协议栈的终端设备,也可配置不支持ip协议栈的终端设备。该方法既适用于图1所示的NHN网络与4G网络的互通架构,也适用于图2-图3所示的NHN网络与5G网络的互通架构。The embodiment of the present application provides a message transmission method and apparatus for the above problem, which is used to configure a terminal device through an NHN network without adding a dedicated configuration server, and can be configured by the method provided by the present application. Terminal devices that support the ip protocol stack can also be configured with terminal devices that do not support the ip protocol stack. The method is applicable to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 , and also to the interworking architecture of the NHN network and the 5G network shown in FIG. 2 to FIG. 3 .
本申请中,为方便说明,将NHN网络称为第一网络,当然,本申请对第一网络不做限定,例如,还可以是其它的非3GPP网络,以下均以第一网络为NHN网络为例说明。In the present application, for convenience of description, the NHN network is referred to as a first network. Of course, the present application does not limit the first network, for example, other non-3GPP networks, and the following uses the first network as the NHN network. Example description.
本申请中的第二网络,是一种既可以使发送端接入,又可以与第一网络互通的网络,例如,可以是3GPP网络。The second network in this application is a network that can enable both the transmitting end and the first network to communicate with each other. For example, it can be a 3GPP network.
本申请中的发送端,是一种可以请求对终端设备进行配置的设备,例如可以为服务器(如第三方服务器),其中,第三方服务器是指不属于第一网络的服务器。The sender in the present application is a device that can request configuration of the terminal device, and may be, for example, a server (such as a third-party server), where the third-party server refers to a server that does not belong to the first network.
下面结合附图对本申请的消息传输方法进行说明。The message transmission method of the present application will be described below with reference to the accompanying drawings.
参阅图4所示,为本申请提供的一种消息传输方法流程图,包括以下步骤:Referring to FIG. 4, a flow chart of a message transmission method provided by the present application includes the following steps:
S101:第一网元接收来自发送端的第一请求。S101: The first network element receives the first request from the sending end.
本申请中,第一请求可包括配置参数,当第一请求包括配置参数时,第一请求用于请求根据该配置参数对终端设备进行配置。其中,第一网元属于第一网络,当第一网络为NHN网络时,第一网元可以是NH MME或者NH AMF。In this application, the first request may include a configuration parameter, and when the first request includes the configuration parameter, the first request is used to request to configure the terminal device according to the configuration parameter. The first network element belongs to the first network. When the first network is an NHN network, the first network element may be an NH MME or an NH AMF.
可选的,配置参数可包括至少一种配置类型,配置类型可包括配置和配置更新、软件固件管理、状态和性能监控以及诊断等,每种配置类型包括不同的配置内容。例如,软件固件管理包括的配置内容可以是获知终端设备的版本、软件模块加载、软件模块更新以及软件模块卸载等,状态和性能监控包括的配置内容可以是监控终端设备的状态和性能等,诊断包括的配置内容可以是对终端设备的连接和服务问题进行诊断以及指导终端设备进行下一步操作等。Optionally, the configuration parameter may include at least one configuration type, where the configuration type may include configuration and configuration update, software firmware management, status and performance monitoring, and diagnosis, and each configuration type includes different configuration content. For example, the configuration content included in the software firmware management may be a version of the terminal device, a software module loading, a software module update, and a software module uninstallation. The configuration content included in the status and performance monitoring may be monitoring the status and performance of the terminal device, and the diagnosis. The configuration content included may be to diagnose the connection and service problems of the terminal device and to guide the terminal device to perform the next operation.
本申请中,对第一网元如何接收来自发送端的第一请求不做限定。一种可能的实现方式中,参阅S101a-S101b,第一网元通过第二网元接收来自发送端的第一请求,具体的,第二网元接收来自发送端的第一请求,根据第一请求中包括的终端设备的标识信息,确定终端设备在第一网络中,并向第一网元发送第一请求。In this application, the first request for receiving the first request from the sender is not limited. In a possible implementation manner, referring to S101a-S101b, the first network element receives the first request from the sending end by using the second network element, and specifically, the second network element receives the first request from the sending end, according to the first request. The identifier information of the terminal device is included, determining that the terminal device is in the first network, and sending the first request to the first network element.
一种可能的实现方式中,第二网元通过第四网元接收来自发送端的第一请求,在该种实现方式中,第四网元接收来自发送端的第一请求之后,判断发送端是否能够对终端设备进行配置,若确定发送端能够对终端设备进行配置,则第四网元向第二网元发送第一请求,若确定发送端不能够对该终端设备进行配置,则第四网元向发送端发送失败消息。本申请中以发送端能够对该终端设备进行配置为例说明,参阅S101a1-S101a3。In a possible implementation manner, the second network element receives the first request from the sending end by using the fourth network element. In the implementation manner, after receiving the first request from the sending end, the fourth network element determines whether the sending end can If the terminal device is configured to be configured, the fourth network element sends a first request to the second network element, and if it is determined that the sending end cannot configure the terminal device, the fourth network element is configured. Send a failure message to the sender. In the present application, the transmitting end can configure the terminal device as an example, and refer to S101a1-S101a3.
可选的,第二网元属于第一网络或者属于第二网络。当第二网元属于第一网络,即属于NHN网络时,第二网元可以是由Local AAA Proxy、PSP AAA、IWK-SCEF以及SCEF网元合设组成的设备,当第二网元属于第二网络时,例如,当第二网元属于3GPP网络时,第二网元可以是HSS、UDM、PCF以及SCEF等网元,又例如,当第二网元属于PSP网络时,第二网元可以是PSP AAA以及SCEF等网元。Optionally, the second network element belongs to the first network or belongs to the second network. When the second network element belongs to the first network, that is, belongs to the NHN network, the second network element may be a device composed of a local AAA proxy, a PSP AAA, an IWK-SCEF, and a SCEF network element. In the case of the second network element, for example, when the second network element belongs to the 3GPP network, the second network element may be a network element such as an HSS, a UDM, a PCF, or an SCEF, and for example, when the second network element belongs to the PSP network, the second network element It can be a network element such as PSP AAA and SCEF.
可选的,当第二网元属于第一网络时,第二网元向第一网元发送第一请求时,可携带第三指示,第三指示用于指示第一请求来自第一网络。Optionally, when the second network element belongs to the first network, when the second network element sends the first request to the first network element, the third network element may carry a third indication, where the third indication is used to indicate that the first request is from the first network.
应理解的是,本申请中对第一网元如何通过第二网元接收来自发送端的第一请求不做限定。一种可能的实现方式中,第一网元直接接收来自第二网元的第一请求,又一种可能的实现方式中,第一网元通过其它网元接收来自第二网元的第一请求。例如,以第一网元为NH AMF网元、第二网元为UDM网元为例,所述其它网元可以是AMF网元。又例如,以第一网元为NH MME、第二网元为HSS网元为例,所述其它网元可以是3GPP AAA、Local AAA Proxy等网元。以下会对第一网元如何通过第二网元接收来自发送端的第一请求进行详细说明,此处不再详述。It should be understood that, in the present application, the first request from the first network element to receive the first request from the sending end through the second network element is not limited. In a possible implementation manner, the first network element directly receives the first request from the second network element, and in another possible implementation manner, the first network element receives the first from the second network element by using another network element. request. For example, the first network element is an NH AMF network element, and the second network element is a UDM network element. The other network element may be an AMF network element. For example, the first network element is the NH MME and the second network element is the HSS network element. The other network element may be a network element such as 3GPP AAA or Local AAA Proxy. The following describes in detail how the first network element receives the first request from the sending end by using the second network element, and details are not described herein.
本申请中,终端设备的标识信息是指可以唯一标识终端设备的信息,例如,可以是终端设备的ID。In this application, the identifier information of the terminal device refers to information that can uniquely identify the terminal device, for example, may be the ID of the terminal device.
可选的,第一网元接收来自发送端的第一请求之后,还可向发送端发送针对第一请求的响应消息,参阅S101'、S101a'以及S101b'。该响应消息可包括第一网元对第一请求的确认信息,例如,可以是指确认收到第一请求的消息,或者是指确认未收到第一请求的消息。本申请中以第一网元确认收到第一请求的情况为例进行说明。若第一网元未接收到第一请求,则可进一步请求重新发送第一请求等。Optionally, after receiving the first request from the sending end, the first network element may further send a response message for the first request to the sending end, refer to S101′, S101a′, and S101b′. The response message may include confirmation information of the first request by the first network element, for example, may be a message confirming receipt of the first request, or a message confirming that the first request is not received. In the present application, the case where the first network element confirms receipt of the first request is taken as an example for description. If the first network element does not receive the first request, the first request may be further requested to be resent.
应理解的是,本申请中,第一网元向发送端发送针对第一请求的响应消息,可通过与接收来自发送端的第一请求的相同路径进行发送,此处不再赘述。It should be understood that, in this application, the first network element sends a response message to the first request to the sending end, and may send the same message by receiving the same request from the sending end, and details are not described herein again.
S102:第一网元通过NAS消息向终端设备发送第一请求。S102: The first network element sends the first request to the terminal device by using the NAS message.
本申请中,通过NHN网络中的第一网元向终端设备发送第一请求,具体的,第一网元通过NAS消息向终端设备发送第一请求,本申请无需在现有的网络中增设专门的配置服务器,也不再通过应用层消息向终端设备发送第一请求,而是通过NAS消息向终端设备发送第一请求。In this application, the first request is sent to the terminal device by using the first network element in the NHN network. Specifically, the first network element sends the first request to the terminal device by using the NAS message, and the application does not need to add a special network to the existing network. The configuration server does not send the first request to the terminal device through the application layer message, but sends the first request to the terminal device through the NAS message.
可选的,该NAS消息可以是一条新的NAS消息,也可以是通过对已有NAS消息进行修改得到的NAS消息。当该NAS消息为通过对已有NAS消息进行修改得到的NAS消息时,可在该已有NAS消息中新增指示来指示该修改后的NAS消息中携带第一请求。Optionally, the NAS message may be a new NAS message, or may be a NAS message obtained by modifying an existing NAS message. When the NAS message is a NAS message obtained by modifying an existing NAS message, an indication may be added to the existing NAS message to indicate that the modified NAS message carries the first request.
可选的,若该NAS消息为通过对已有NAS消息进行修改得到的NAS消息时,则第一网元可单独向终端设备发送该NAS消息,也可以在当时正要发给终端设备的NAS消息中携带该NAS消息。Optionally, if the NAS message is a NAS message obtained by modifying an existing NAS message, the first network element may separately send the NAS message to the terminal device, or may also send the NAS message to the terminal device at the time. The message carries the NAS message.
应理解的是,第一网元若通过第二网元以及其它网元接收来自发送端的第一请求,在 第二网元和其它网元转发来自发送端的第一请求时,可对第一请求进一步解析和封装处理,即,第二网元以及其它网元发送的是携带第一请求的不同消息,不同网元发送的第一请求中的具体参数也可能不尽相同。It should be understood that, if the first network element receives the first request from the sending end by using the second network element and other network elements, the first request may be performed when the second network element and the other network element forward the first request from the sending end. Further parsing and encapsulation processing, that is, the second network element and other network elements send different messages carrying the first request, and specific parameters in the first request sent by different network elements may also be different.
本申请中,通过第一网络中的第一网元向终端设备发送第一请求,当移动网络应用于垂直行业时,针对属于不同垂直行业的终端设备均可通过本申请的方法进行配置,即通过第一网络中的第一网元向终端设备发送与配置相关的信息(例如,配置请求、配置参数等),无需针对属于不同垂直行业的终端设备部署专门的配置服务器以及建立专门的通道,故,通过本申请的方法可降低部署成本以及部署复杂度。此外,本申请中第一网元通过NAS消息而非应用层消息向终端设备发送第一请求,故该方法既适用于支持ip协议栈的终端设备,也适用于不支持ip协议栈的终端设备,本申请提供的方法可配置的终端设备的类型不受限制。In this application, the first request is sent to the terminal device by using the first network element in the first network. When the mobile network is applied to the vertical industry, the terminal devices belonging to different vertical industries can be configured by using the method of the present application, that is, Sending configuration-related information (for example, configuration request, configuration parameters, and the like) to the terminal device through the first network element in the first network, without deploying a dedicated configuration server and establishing a dedicated channel for terminal devices belonging to different vertical industries. Therefore, the deployment cost and deployment complexity can be reduced by the method of the present application. In addition, in the present application, the first network element sends the first request to the terminal device by using the NAS message instead of the application layer message, so the method is applicable to both the terminal device supporting the ip protocol stack and the terminal device not supporting the ip protocol stack. The method provided by the present application is not limited in the types of terminal devices that can be configured.
S103:终端设备通过NAS消息向第一网元发送针对第一请求的第一响应。S103: The terminal device sends a first response to the first request to the first network element by using the NAS message.
可选的,第一响应中包括以下信息中的一种或多种:终端设备对第一请求的确认信息、终端设备的标识信息、第四网元的标识信息、第四网元的参考标识信息以及终端设备的状态信息。Optionally, the first response includes one or more of the following information: the confirmation information of the first request by the terminal device, the identifier information of the terminal device, the identifier information of the fourth network element, and the reference identifier of the fourth network element. Information and status information of the terminal device.
本申请中,终端设备对第一请求的确认信息,是指确认收到第一请求的消息。当然在其它的实现方式中,该确认信息也可以是指确认未收到第一请求的消息,此种情况下,终端设备可进一步请求重新发送该第一请求等。In the present application, the confirmation information of the first request by the terminal device refers to the message confirming receipt of the first request. Of course, in other implementation manners, the confirmation information may also be a message confirming that the first request is not received. In this case, the terminal device may further request to resend the first request or the like.
本申请中,第四网元属于第二网络,例如,针对图1所示的网络架构,第四网元可以是SCEF,针对图2-图3所示的网络架构,第四网元可以是NEF网元。In the present application, the fourth network element belongs to the second network. For example, for the network architecture shown in FIG. 1, the fourth network element may be a SCEF. For the network architecture shown in FIG. 2 to FIG. 3, the fourth network element may be NEF network element.
本申请中,第四网元的标识信息是指可以唯一标识第四网元的信息,例如,可以是第四网元的ID。In this application, the identifier information of the fourth network element is information that can uniquely identify the fourth network element, for example, may be the ID of the fourth network element.
本申请中,第四网元的参考标识信息是指可以在第四网元中唯一标识该配置请求的参考标识信息,例如,可以是第四网元的reference ID。In this application, the reference identifier information of the fourth network element refers to the reference identifier information that can uniquely identify the configuration request in the fourth network element, for example, may be the reference ID of the fourth network element.
在一种可能的实现方式中,针对发送端发送的第一请求,需要终端设备向发送端发送自身的状态、状态改变,或者一段时间内的统计数据等,在这种场景中,终端设备发送的第一响应中可包括终端设备的标识信息以及终端设备的状态信息等。In a possible implementation manner, for the first request sent by the sending end, the terminal device needs to send its own state, state change, or statistical data for a period of time to the transmitting end. In this scenario, the terminal device sends The first response may include identification information of the terminal device, status information of the terminal device, and the like.
本申请中,若终端设备需要向发送端发送终端设备的状态信息,则第一网元在接收到终端设备发送的第一响应之后,需要将第一响应转发至发送端。本申请对第一网元如何向发送端发送第一响应不做限定。一种可能的实现方式中,第一网元通过第二网元向发送端发送第一响应,参阅S104a-S104b,又一种可能的实现方式中,第一网元通过第三网元和第四网元向发送端发送第一响应,参阅S105a-S105c。若通过第三网元和第四网元向发送端发送第一响应,则第四网元可根据第四网元的reference ID向发送端发送第一响应。In this application, if the terminal device needs to send the status information of the terminal device to the sending end, the first network element needs to forward the first response to the sending end after receiving the first response sent by the terminal device. The application does not limit how the first network element sends the first response to the sending end. In a possible implementation manner, the first network element sends the first response to the sending end by using the second network element, and refer to S104a-S104b. In another possible implementation manner, the first network element passes the third network element and the first network element. The four network elements send a first response to the sender, see S105a-S105c. If the third network element and the fourth network element send the first response to the sending end, the fourth network element may send the first response to the sending end according to the reference ID of the fourth network element.
其中,第三网元属于第一网络,第四网元属于第二网络。例如,针对图1所示的网络架构,第三网元可以是IWK-SCEF,第四网元可以是SCEF,针对图2-图3所示的网络架构,第三网元可以是IWK-NEF,第四网元可以是NEF。The third network element belongs to the first network, and the fourth network element belongs to the second network. For example, for the network architecture shown in FIG. 1, the third network element may be IWK-SCEF, and the fourth network element may be SCEF. For the network architecture shown in FIG. 2 to FIG. 3, the third network element may be IWK-NEF. The fourth network element may be NEF.
应理解的是,第一网元若通过第二网元或者第三网元和第四网元向发送端发送第一响应,在第二网元、第三网元和第四网元转发来自终端设备的第一响应时,可对第一响应进一步解析和封装处理,即,第二网元、第三网元和第四网元发送的是携带第一响应的不同消息,不同网元发送的第一响应中的具体参数也可能不尽相同。It should be understood that, if the first network element sends the first response to the sending end by using the second network element or the third network element and the fourth network element, the first network element forwards from the second network element, the third network element, and the fourth network element. The first response of the terminal device may further parse and encapsulate the first response, that is, the second network element, the third network element, and the fourth network element send different messages carrying the first response, and different network elements send The specific parameters in the first response may also vary.
应理解的是,由于第四网元属于第二网络,故可在第一响应中包括第四网元的标识信息和/或第四网元的参考标识信息,便于第一网元查找第四网元。It should be understood that, because the fourth network element belongs to the second network, the identifier information of the fourth network element and/or the reference identification information of the fourth network element may be included in the first response, so that the first network element can find the fourth network element. Network element.
S104a:第一网元向第二网元发送第一响应。S104a: The first network element sends a first response to the second network element.
S104b:第二网元向发送端发送第一响应。S104b: The second network element sends a first response to the sending end.
S105a:第一网元向第三网元发送第一响应。S105a: The first network element sends a first response to the third network element.
S105b:第三网元向第四网元发送第一响应。S105b: The third network element sends a first response to the fourth network element.
S105c:第四网元向发送端发送第一响应。S105c: The fourth network element sends a first response to the sending end.
应理解的是,第一网元可根据实际需求选择采用S104a-S104b方式还是S105a-S105c向发送端发送第一响应。It should be understood that the first network element may select whether to use the S104a-S104b mode or the S105a-S105c to send the first response to the transmitting end according to actual requirements.
本申请中,若第一网元通过第二网元接收来自发送端的第一请求,则第二网元向第一网元发送第一请求之前,还可判断第一网络是否支持第一请求所请求的配置,若确定第一网络支持第一请求所请求的配置,则向第一网元发送第一请求,若确定第一网络不支持第一请求所请求的配置,则向发送端发送失败消息。本申请中以第一网络支持第一请求所请求的配置的情况为例说明,参阅S101c。In this application, if the first network element receives the first request from the sending end by using the second network element, before the second network element sends the first request to the first network element, it may also determine whether the first network supports the first requesting station. The configuration of the request, if it is determined that the first network supports the configuration requested by the first request, sending a first request to the first network element, and if it is determined that the first network does not support the configuration requested by the first request, sending the failure to the sending end Message. In the present application, the case where the first network supports the configuration requested by the first request is taken as an example, and reference is made to S101c.
在一种可能的实现方式中,第一网络支持第一请求所请求的配置是指,第一网络支持配置参数所包括的配置类型,以及支持每种配置类型所包括的不同的配置内容。例如,假设发送端请求的配置类型为配置和配置更新,该配置类型包括的配置内容为请求配置一个新服务,则第一网络支持第一请求所请求的配置是指,第一网络是否支持该新服务的配置。In a possible implementation manner, the configuration requested by the first network to support the first request refers to the configuration type included in the first network support configuration parameter, and the different configuration content included in each configuration type is supported. For example, if the configuration type requested by the sender is a configuration and a configuration update, and the configuration content included in the configuration type is a request to configure a new service, the configuration requested by the first network to support the first request refers to whether the first network supports the The configuration of the new service.
本申请中,第一网元向终端设备发送第一请求之前,还可确定第一网络支持第一请求所请求的配置,例如可通过接收来自第三网元的授权指示确定第一网络支持第一请求所请求的配置。其中,授权指示用于指示第一网络支持第一请求所请求的配置。例如,第一网络支持第一请求所请求的配置是指,第一网络支持配置参数所包括的配置类型,以及支持每种配置类型所包括的不同的配置内容;或者第一网络支持第一请求所请求的配置是指,第一网元根据漫游协议确定第一网络支持从第二网络发送来的该第一请求。In this application, before the first network element sends the first request to the terminal device, the first network may also determine the configuration requested by the first network to support the first request, for example, the first network support may be determined by receiving an authorization indication from the third network element. A request for the requested configuration. The authorization indication is used to indicate that the first network supports the configuration requested by the first request. For example, the configuration requested by the first network to support the first request refers to the configuration type included in the first network support configuration parameter, and the different configuration content included in each configuration type is supported; or the first network supports the first request. The requested configuration means that the first network element determines, according to the roaming agreement, that the first network supports the first request sent from the second network.
在一种可能的实现方式中,第一网元接收第三网元发送的授权指示之前,向第三网元发送第一通知,第一通知用于指示第三网元发送端请求根据配置参数对终端设备进行配置,参阅S102a-S102b。可选的,第一通知可包括配置参数的配置类型等。In a possible implementation, before receiving the authorization indication sent by the third network element, the first network element sends a first notification to the third network element, where the first notification is used to indicate that the third network element sends a request according to the configuration parameter. Configure the terminal device, see S102a-S102b. Optionally, the first notification may include a configuration type of the configuration parameter, and the like.
本申请一种可能的实现方式中,发送端在通过第一网元或者通过第一网元和第二网元向终端设备发送第一请求之前,可通过第一网元或者第二网元判断终端设备是否支持通过NAS消息对该终端设备进行配置。In a possible implementation manner of the present application, the sending end may be determined by the first network element or the second network element before sending the first request to the terminal device by using the first network element or the first network element and the second network element. Whether the terminal device supports configuring the terminal device through a NAS message.
可选的,通过第二网元判断终端设备是否支持通过NAS消息对该终端设备进行配置,第二网元若确定终端设备支持通过NAS消息对其进行配置,则向第一网元发送第一请求,第二网元若确定终端设备不支持通过NAS消息对其进行配置,则向发送端发送失败消息。本申请中以终端设备支持通过NAS消息对其进行配置的情况为例说明,参阅S101d。Optionally, the second network element determines whether the terminal device supports the configuration of the terminal device by using the NAS message, and if the second network element determines that the terminal device supports the configuration by using the NAS message, the first network element sends the first to the first network element. The request, if the second network element determines that the terminal device does not support the configuration by using the NAS message, sends a failure message to the sending end. In the present application, a case where the terminal device supports configuration by using a NAS message is taken as an example, and reference is made to S101d.
应理解的是,本申请中若同时包括S101c和S101d,则不限定执行S101c和S101d的先后顺序。It should be understood that if S101c and S101d are included in the present application, the order of executing S101c and S101d is not limited.
可选的,通过第一网元判断终端设备是否支持通过NAS消息对该终端设备进行配置,第一网元若确定终端设备支持通过NAS消息对其进行配置,则向终端设备发送第一请求,第一网元若确定终端设备不支持通过NAS消息对其进行配置,则向发送端发送失败消息。本申请中以终端设备支持通过NAS消息对其进行配置的情况为例说明,参阅S101d'。Optionally, the first network element determines whether the terminal device supports the configuration of the terminal device by using the NAS message, and if the first network element determines that the terminal device supports the configuration by using the NAS message, the first request is sent to the terminal device, If the first network element determines that the terminal device does not support the configuration by using the NAS message, the first network element sends a failure message to the sending end. In the present application, a case where the terminal device supports configuration by using a NAS message is taken as an example, and reference is made to S101d'.
本申请中,以上方式均建立在第一网元确定终端设备支持通过NAS消息对终端设备进行配置,以及终端设备确定第一网元支持通过NAS消息对终端设备进行配置的基础上进行实施。In the present application, the foregoing manner is performed on the first network element to determine that the terminal device supports the configuration of the terminal device by using the NAS message, and the terminal device determines that the first network element supports the configuration of the terminal device by using the NAS message.
本申请中,针对第一网元不确定终端设备是否可支持通过NAS消息对终端设备进行配置,以及终端设备不确定第一网元是否可支持通过NAS消息对终端设备进行配置的情况,第一网元可与终端设备协商通过NAS消息配置该终端设备。In the present application, it is not determined for the first network element whether the terminal device can support the configuration of the terminal device by using the NAS message, and the terminal device is not sure whether the first network element can support the configuration of the terminal device by using the NAS message, first. The network element can negotiate with the terminal device to configure the terminal device through the NAS message.
在一种可能的实现方式中,第一网元确定终端设备支持通过NAS消息对终端设备进行配置,包括:第一网元接收来自终端设备的第一指示,第一网元根据第一指示确定终端设备支持通过NAS消息对终端设备进行配置,参阅S103a。其中,第一指示用于指示终端设备支持通过NAS消息对终端设备进行配置。In a possible implementation, the first network element determines that the terminal device supports the configuration of the terminal device by using the NAS message, and the first network element receives the first indication from the terminal device, where the first network element determines according to the first indication. The terminal device supports configuration of the terminal device through NAS messages, see S103a. The first indication is used to indicate that the terminal device supports configuring the terminal device by using the NAS message.
在一种可能的实现方式中,第一网元确定终端设备支持通过NAS消息对终端设备进行配置之后,还包括:第一网元向终端设备发送第二指示,参阅S103b。其中,第二指示用于指示第一网络支持通过NAS消息配置终端设备。In a possible implementation manner, after the first network element determines that the terminal device supports the configuration of the terminal device by using the NAS message, the method further includes: the first network element sends a second indication to the terminal device, and refer to S103b. The second indication is used to indicate that the first network supports configuring the terminal device by using the NAS message.
可选的,终端设备可在接入第一网络之前的网络发现的过程中,向第一网元发送第一指示,并接收来自第一网元的第二指示,相应的,第一网元在终端设备接入第一网络之前的网络发现的过程中,接收来自终端设备的第一指示,并向终端设备发送第二指示;或者,终端设备在与第一网元在鉴权过程中,向第一网元发送第一指示,并接收来自第一网元的第二指示,相应的,第一网元在与终端设备在鉴权过程中,接收来自终端设备的第一指示,并向终端设备发送第二指示;或者,终端设备在与第一网元在注册过程中,向第一网元发送第一指示,并接收来自第一网元的第二指示,相应的,第一网元在与终端设备在注册过程中,接收来自终端设备的第一指示,并向终端设备发送第二指示。Optionally, the terminal device may send a first indication to the first network element and receive a second indication from the first network element, and correspondingly, the first network element, in a process of network discovery before accessing the first network. Receiving a first indication from the terminal device and sending a second indication to the terminal device in a process of network discovery before the terminal device accesses the first network; or, the terminal device is in the process of authenticating with the first network element, Sending a first indication to the first network element, and receiving a second indication from the first network element. Correspondingly, the first network element receives the first indication from the terminal device during the authentication process with the terminal device, and The terminal device sends a second indication; or, the terminal device sends a first indication to the first network element during the registration process with the first network element, and receives a second indication from the first network element, correspondingly, the first network The UE receives the first indication from the terminal device during the registration process with the terminal device, and sends a second indication to the terminal device.
下面结合图5-图7,对本申请中第一网元与终端设备协商通过NAS消息配置终端设备的过程进行举例说明。The process of configuring the terminal device through the NAS message in the first network element and the terminal device in the present application is described in the following with reference to FIG. 5 to FIG.
参阅图5所示,为本申请实施例提供的一种协商通过NAS消息配置终端设备的方法流程图,图5中以终端设备为CPE、第一网络为NHN网络以及第二网络为3GPP网络为例,对本申请实施例提供的第一网元与终端设备协商通过NAS消息配置终端设备的过程进行说明。其中,NH MME网元为第一网元的一种实现方式,CPE通过接入网元接入NH MME网元,接入网元可以是基站等设备。FIG. 5 is a flowchart of a method for negotiating a terminal device by using a NAS message according to an embodiment of the present disclosure. In FIG. 5, the terminal device is a CPE, the first network is an NHN network, and the second network is a 3GPP network. For example, the process in which the first network element provided by the embodiment of the present application negotiates with the terminal device to configure the terminal device through the NAS message is described. The NH MME network element is an implementation manner of the first network element, and the CPE accesses the NH MME network element by using the access network element, and the access network element may be a base station or the like.
应理解的是,图5以将本申请实施例提供的协商通过NAS消息配置终端设备的方法,应用于图1所示的NHN网络与4G网络的互通架构为例进行说明。It should be understood that FIG. 5 is an example of applying the method for configuring a terminal device through a NAS message to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 .
图5所示的方法包括以下步骤:The method shown in Figure 5 includes the following steps:
S201:接入网元向CPE广播信息。S201: The access network element broadcasts information to the CPE.
S202:CPE探测NHN网络,以及需要的附加信息。S202: The CPE detects the NHN network and additional information needed.
S203:CPE与接入网元建立RRC连接。S203: The CPE establishes an RRC connection with the access network element.
S204:CPE向NH MME发送第一指示。S204: The CPE sends a first indication to the NH MME.
在图5所示的方法中,CPE通过NAS消息向NH MME发送第一指示。可选的,CPE可将第一指示携带于已有的NAS消息,也可通过一条新的NAS消息向NH MME发送第一指示。In the method shown in FIG. 5, the CPE sends a first indication to the NH MME through the NAS message. Optionally, the CPE may carry the first indication to the existing NAS message, or send the first indication to the NH MME by using a new NAS message.
S205:NH MME向CPE发送第二指示。S205: The NH MME sends a second indication to the CPE.
同样的,NH MME通过NAS消息向CPE发送第二指示。可选的,NH MME可将第 二指示携带于已有的NAS消息,也可通过一条新的NAS消息向CPE发送第二指示。Similarly, the NH MME sends a second indication to the CPE through the NAS message. Optionally, the NH MME may carry the second indication to the existing NAS message, or send a second indication to the CPE by using a new NAS message.
应理解的是,图5所示的方法CPE是在接入NHN网络之前的网络发现过程中,协商通过NAS消息配置CPE。It should be understood that the method CPE shown in FIG. 5 is to negotiate the configuration of the CPE through the NAS message during the network discovery process before accessing the NHN network.
需要说明的是,如果NHN网络支持通过NAS消息配置终端设备,则终端设备在选择网络时,优先选择该支持通过NAS消息配置终端设备的NHN网络。It should be noted that, if the NHN network supports configuring the terminal device through the NAS message, the terminal device preferentially selects the NHN network that supports configuring the terminal device through the NAS message when selecting the network.
参阅图6所示,为本申请实施例提供的又一种协商通过NAS消息配置终端设备的方法流程图,图6中以终端设备为CPE、第一网络为NHN网络以及第二网络为3GPP网络为例,对本申请实施例提供的第一网元与终端设备协商通过NAS消息配置终端设备的过程进行说明。其中,NH MME网元为第一网元的一种实现方式,HSS网元为第二网元的一种实现方式,CPE通过接入网元接入NH MME网元,接入网元可以是基站等设备。FIG. 6 is a flowchart of a method for negotiating a terminal device by using a NAS message according to an embodiment of the present application. In FIG. 6, the terminal device is a CPE, the first network is an NHN network, and the second network is a 3GPP network. For example, the process in which the first network element provided by the embodiment of the present application negotiates with the terminal device to configure the terminal device through the NAS message is described. The NH MME network element is an implementation manner of the first network element, and the HSS network element is an implementation manner of the second network element. The CPE accesses the NH MME network element by using the access network element, and the access network element may be Equipment such as base stations.
应理解的是,图6以将本申请实施例提供的协商通过NAS消息配置终端设备的方法,应用于图1所示的NHN网络与4G网络的互通架构为例进行说明。It should be understood that FIG. 6 is an example of applying the method for configuring a terminal device through a NAS message to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 .
图6所示的方法包括以下步骤:The method shown in Figure 6 includes the following steps:
S301:CPE向接入网元发送携带第一指示的附着请求。S301: The CPE sends an attach request that carries the first indication to the access network element.
S302:接入网元向NH MME发送携带第一指示的附着请求。S302: The access network element sends an attach request carrying the first indication to the NH MME.
可选的,NH MME接收到CPE发送的携带第一指示的附着请求之后,可根据第一指示确定CPE支持通过NAS消息配置CPE,NH MME确定CPE和NHN网络均支持通过NAS消息配置CPE之后,可存储该信息。Optionally, after receiving the attach request that is sent by the CPE and carrying the first indication, the NH MME may determine, according to the first indication, that the CPE supports configuring the CPE by using the NAS message, and the NH MME determines that the CPE and the NHN network support the CPE by using the NAS message. This information can be stored.
S303:NH MME向HSS发送第一指示。S303: The NH MME sends a first indication to the HSS.
可选的,NH MME在鉴权授权过程中将CPE可支持通过NAS消息配置的第一指示发送给HSS。一种可能的实现方式中,NH MME可在发送给Local AAA proxy的Diameter或Radius消息中携带第一指示,Local AAA proxy将该第一指示在Diameter或Radius消息中经由3GPP AAA/PSP AAA发送给HSS。NH MME向HSS发送第一指示也表明NHN网络本身也支持通过NAS消息配置。Optionally, the NH MME sends the first indication configured by the NAS message to the HSS in the authentication and authorization process. In a possible implementation, the NH MME may carry a first indication in a Diameter or Radius message sent to the Local AAA proxy, and the Local AAA proxy sends the first indication to the Diameter or Radius message via the 3GPP AAA/PSP AAA. HSS. The sending of the first indication by the NH MME to the HSS also indicates that the NHN network itself also supports configuration via NAS messages.
S304:NHN网络中会话建立过程。S304: A session establishment process in the NHN network.
S305:NH MME向CPE发送携带第二指示的附着接受消息。S305: The NH MME sends an attach accept message carrying the second indication to the CPE.
可选的,在该附着接受消息中还可携带NH MME针对第一指示的确认信息。Optionally, the confirmation message of the NH MME for the first indication may also be carried in the attach accept message.
一种可能的实现方式中,NH MME向CPE发送携带第二指示的附着接受消息,可先向接入网元发送,进而由接入网元转发至CPE。In a possible implementation, the NH MME sends an attach accept message carrying the second indication to the CPE, which may be sent to the access NE and then forwarded by the access NE to the CPE.
应理解的是,若CPE需要建立到3GPP EPS系统的用户面通道,则NH MME还可在CPE建立到3GPP EPS系统的用户面通道的过程中,向HSS发送第一指示。例如,在NHN网络通过ePDG连接到4G网络的互通模式下,CPE可在建立与ePDG之间的IPSec隧道过程中,将第一指示携带在IKEv2消息中发送给ePDG,进而ePDG在Diameter或Radius消息中经由3GPP AAA/PSP AAA发送给HSS。在NHN网络的NH GW网元通过S2a-N接口连接到4G网络的PGW网元的互通模式下,在上述S304中,NH GW与PGW之间建立会话时,在Create Session Request消息中携带第一指示,进而PGW在Diameter消息中将第一指示经由3GPP AAA/PSP AAA发送给HSS。It should be understood that if the CPE needs to establish a user plane channel to the 3GPP EPS system, the NH MME may also send a first indication to the HSS in the process of establishing a user plane channel to the 3GPP EPS system by the CPE. For example, in the interworking mode in which the NHN network is connected to the 4G network through the ePDG, the CPE may carry the first indication in the IKEv2 message and send it to the ePDG in the process of establishing an IPSec tunnel with the ePDG, and then the ePDG is in the Diameter or Radius message. It is sent to the HSS via 3GPP AAA/PSP AAA. When the NH GW network element of the NHN network is connected to the PGW network element of the 4G network through the S2a-N interface, in the S304, when the session is established between the NH GW and the PGW, the first session is carried in the Create Session Request message. Instructing, in turn, the PGW to send the first indication to the HSS via the 3GPP AAA/PSP AAA in the Diameter message.
应理解的是,图6所示的方法CPE是在终端设备在与第一网元在鉴权或者注册过程中,协商通过NAS消息配置CPE。It should be understood that the method CPE shown in FIG. 6 is that the terminal device negotiates the CPE through the NAS message during the authentication or registration process with the first network element.
参阅图7所示,为本申请实施例提供的又一种协商通过NAS消息配置终端设备的方 法流程图,图7中以终端设备为CPE、第一网络为NHN网络以及第二网络为3GPP网络为例,对本申请实施例提供的第一网元与终端设备协商通过NAS消息配置终端设备的过程进行说明。其中,NH AMF网元为第一网元的一种实现方式,UDM网元为第二网元的一种实现方式。FIG. 7 is a flowchart of a method for negotiating a terminal device by using a NAS message according to an embodiment of the present application. In FIG. 7, the terminal device is a CPE, the first network is an NHN network, and the second network is a 3GPP network. For example, the process in which the first network element provided by the embodiment of the present application negotiates with the terminal device to configure the terminal device through the NAS message is described. The NH AMF network element is an implementation manner of the first network element, and the UDM network element is an implementation manner of the second network element.
应理解的是,图7以将本申请实施例提供的协商通过NAS消息配置终端设备的方法,应用于图2所示的NHN网络与5G网络的互通架构为例进行说明。It should be understood that FIG. 7 is an example of applying the method for configuring a terminal device through a NAS message to the interworking architecture of the NHN network and the 5G network shown in FIG. 2 .
图7所示的方法包括以下步骤:The method shown in Figure 7 includes the following steps:
S401:CPE向NH AMF发送携带第一指示的注册请求。S401: The CPE sends a registration request carrying the first indication to the NH AMF.
S402:NH AMF向AMF发送携带第一指示的注册请求。S402: The NH AMF sends a registration request carrying the first indication to the AMF.
图7所示的方法中,AMF接收到携带第一指示的注册请求之后,可通过如下两种方式向UDM发送该第一指示。In the method shown in FIG. 7, after the AMF receives the registration request carrying the first indication, the first indication may be sent to the UDM in the following two manners.
一种实现方式中,参阅S403-S404,AMF在鉴权过程中向UDM发送第一指示。In an implementation manner, referring to S403-S404, the AMF sends a first indication to the UDM during the authentication process.
S403:AMF向UDM发送鉴权请求消息。S403: The AMF sends an authentication request message to the UDM.
其中,该鉴权请求消息中携带第一指示和CPE标识信息(例如,CPE ID),表示与该CPE标识信息对应的CPE支持通过NAS消息进行配置。The authentication request message carries the first indication and the CPE identification information (for example, the CPE ID), and indicates that the CPE corresponding to the CPE identification information is configured by using the NAS message.
图7所示的方法中,UDM接收到AMF发送的包括第一指示和CPE标识信息的鉴权请求消息之后,可确定CPE标识信息对应的CPE支持通过NAS消息进行配置。In the method shown in FIG. 7, after receiving the authentication request message including the first indication and the CPE identification information sent by the AMF, the UDM can determine that the CPE corresponding to the CPE identification information is configured by using the NAS message.
S404:UDM向AMF发送鉴权响应消息。S404: The UDM sends an authentication response message to the AMF.
可选的,鉴权响应消息中携带针对第一指示的确认信息。Optionally, the authentication response message carries the acknowledgement information for the first indication.
另一种实现方式中,参阅S403a-S404a,AMF在注册过程中向UDM发送第一指示。In another implementation, referring to S403a-S404a, the AMF sends a first indication to the UDM during the registration process.
S403a:AMF向UDM发送AMF注册请求消息。S403a: The AMF sends an AMF registration request message to the UDM.
其中,该AMF注册请求消息中携带第一指示和CPE标识信息(例如,CPE ID),表示与该CPE标识信息对应的CPE支持通过NAS消息进行配置。The AMF registration request message carries the first indication and the CPE identification information (for example, the CPE ID), and indicates that the CPE corresponding to the CPE identification information is configured by using the NAS message.
S404a:UDM向AMF发送AMF注册响应消息。S404a: The UDM sends an AMF registration response message to the AMF.
可选的,AMF注册响应消息中携带针对第一指示的确认信息。Optionally, the AMF registration response message carries the acknowledgement information for the first indication.
S405:NH AMF接收AMF发送的注册响应消息。S405: The NH AMF receives the registration response message sent by the AMF.
可选的,在该注册响应消息中还可携带AMF针对第一指示的确认信息,表示NHN网络支持通过NAS消息配置CPE。Optionally, the registration response message may further carry the AMF acknowledgement information for the first indication, indicating that the NHN network supports configuring the CPE by using the NAS message.
S406:NH AMF向CPE发送注册响应消息。S406: The NH AMF sends a registration response message to the CPE.
可选的,在该注册响应消息中还可携带AMF针对第一指示的确认信息,表示NHN网络支持通过NAS消息配置CPE。Optionally, the registration response message may further carry the AMF acknowledgement information for the first indication, indicating that the NHN network supports configuring the CPE by using the NAS message.
应理解的是,图7所示的方法CPE是在终端设备在与第一网元在鉴权或者注册过程中,协商通过NAS消息配置CPE。It should be understood that the method CPE shown in FIG. 7 is that the terminal device negotiates the CPE through the NAS message during the authentication or registration process with the first network element.
下面结合图8-图13,对本申请实施例提供的消息传输方法进行举例说明。The message transmission method provided by the embodiment of the present application is exemplified in the following with reference to FIG. 8 to FIG.
参阅图8所示,为本申请实施例提供的一种消息传输方法流程图,图8中以终端设备为CPE、第一网络为NHN网络、第二网络为3GPP网络、发送端为业务能力服务器(services capability server,SCS)/应用服务器(application server,AS)以及第二网元属于第二网络的情况为例,对本申请实施例提供的消息传输方法进行说明,NH MME网元为本申请实施例的第一网元的一种实现方式,HSS网元为本申请实施例的第二网元的一种实现方式,IWK-SCEF网元为本申请实施例的第三网元的一种实现方式,SCEF网元为本申请实施例 的第四网元的一种实现方式。FIG. 8 is a flowchart of a message transmission method according to an embodiment of the present disclosure. In FIG. 8, the terminal device is a CPE, the first network is an NHN network, the second network is a 3GPP network, and the sending end is a service capability server. (services capability server, SCS)/application server (AS) and the case where the second network element belongs to the second network, for example, the message transmission method provided by the embodiment of the present application is described, and the NH MME network element is implemented by the application. An implementation manner of the first network element in the example, the HSS network element is an implementation manner of the second network element in the embodiment of the present application, and the IWK-SCEF network element is an implementation of the third network element in the embodiment of the present application. The SCEF network element is an implementation manner of the fourth network element in the embodiment of the present application.
应理解的是,图8以将本申请实施例提供的消息传输方法,应用于图1所示的NHN网络与4G网络的互通架构为例进行说明。It should be understood that FIG. 8 is an example of applying the message transmission method provided in the embodiment of the present application to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 as an example.
图8所示的方法包括以下步骤:The method shown in Figure 8 includes the following steps:
S501:SCEF接收SCS/AS发送的第一请求。S501: The SCEF receives the first request sent by the SCS/AS.
图8所示的方法中,SCEF接收到SCS/AS发送的第一请求之后,可判断SCS/AS是否可以对该CPE执行第一请求所请求的配置,若SCEF确定SCS/AS不可以对该CPE执行第一请求所请求的配置,则向SCS/AS发送请求失败消息,该请求失败消息可用于指示SCS/AS不可以对该CPE执行第一请求所请求的配置,若SCEF确定SCS/AS可以对该CPE执行第一请求所请求的配置,则向HSS发送第一请求。本申请以SCEF确定SCS/AS可以对该CPE执行第一请求所请求的配置的情况为例说明,参阅S502-S503。In the method shown in FIG. 8, after receiving the first request sent by the SCS/AS, the SCEF may determine whether the SCS/AS can perform the configuration requested by the first request for the CPE, and if the SCEF determines that the SCS/AS cannot The CPE performs the configuration requested by the first request, and sends a request failure message to the SCS/AS, where the request failure message may be used to indicate that the SCS/AS may not perform the configuration requested by the first request on the CPE, if the SCEF determines the SCS/AS The configuration requested by the first request may be performed on the CPE, and the first request is sent to the HSS. This application uses the SCEF to determine the case where the SCS/AS can perform the configuration requested by the CPE for the first request, as described in S502-S503.
S502:SCEF确定SCS/AS可以对该CPE执行第一请求所请求的配置。S502: The SCEF determines that the SCS/AS can perform the configuration requested by the first request for the CPE.
S503:SCEF向HSS发送第一请求。S503: The SCEF sends a first request to the HSS.
S504:HSS判断NHN网络是否支持第一请求所请求的配置。S504: The HSS determines whether the NHN network supports the configuration requested by the first request.
图8所示的方法中,HSS接收到SCEF发送的第一请求之后,判断NHN网络是否支持第一请求所请求的配置,HSS若确定NHN网络支持第一请求所请求的配置,则执行S505,若HSS确定NHN网络不支持第一请求所请求的配置,则向SCS/AS发送失败消息,针对NHN网络不支持第一请求所请求的配置的情况,本申请未示出。In the method shown in FIG. 8, after receiving the first request sent by the SCEF, the HSS determines whether the NHN network supports the configuration requested by the first request, and if the HSS determines that the NHN network supports the configuration requested by the first request, executing S505, If the HSS determines that the NHN network does not support the configuration requested by the first request, it sends a failure message to the SCS/AS, and the case where the NHN network does not support the configuration requested by the first request is not shown in the present application.
例如,SCS/AS请求配置一个新服务,HSS判断该新服务是否已经在NHN网络内支持;或者,HSS判断NHN网络是否允许第三方配置该配置的策略类型。For example, the SCS/AS requests to configure a new service, and the HSS determines whether the new service is already supported within the NHN network; or, the HSS determines whether the NHN network allows the third party to configure the configured policy type.
S505:HSS根据第一请求中包括的CPE的标识信息,确定CPE在NHN网络中,则向3GPP AAA发送第一请求。S505: The HSS determines, according to the identifier information of the CPE included in the first request, that the CPE is in the NHN network, and sends a first request to the 3GPP AAA.
S506:3GPP AAA向Local AAA proxy发送第一请求。S506: The 3GPP AAA sends a first request to the Local AAA proxy.
S507:Local AAA proxy向NH MME发送第一请求。S507: The Local AAA proxy sends the first request to the NH MME.
S508:NH MME向Local AAA proxy发送针对第一请求的响应消息。S508: The NH MME sends a response message to the Local AAA proxy for the first request.
S509:Local AAA proxy向3GPP AAA发送针对第一请求的响应消息。S509: The Local AAA proxy sends a response message to the 3GPP AAA for the first request.
图8所示的方法中,以在3GPP AAA发起的重认证过程中向NH MME发送第一请求,以及接收NH MME发送的响应消息为例说明,实际应用中也可通过其它过程向NH MME发送第一请求,以及接收NH MME发送的响应消息,本申请不做限定。In the method shown in FIG. 8, the first request is sent to the NH MME in the re-authentication process initiated by the 3GPP AAA, and the response message sent by the NH MME is received as an example. In actual applications, the NH MME may also be sent through other processes. The first request, and the response message sent by the NH MME, are not limited in this application.
应理解的是,针对第一请求的响应消息中可包括NH MME对该第一请求的确认信息,例如,确认消息可以指示确认收到第一请求。It should be understood that the response message for the first request may include the confirmation information of the NH MME for the first request, for example, the confirmation message may indicate that the first request is acknowledged.
S510:3GPP AAA向HSS发送针对第一请求的响应消息。S510: The 3GPP AAA sends a response message to the HSS for the first request.
S511:HSS向SCEF发送针对第一请求的响应消息。S511: The HSS sends a response message to the SCEF for the first request.
S512:SCEF向SCS/AS发送针对第一请求的响应消息。S512: The SCEF sends a response message to the SCS/AS for the first request.
图8所示的方法中,3GPP AAA接收到NH MME发送的针对第一请求的响应消息之后,通过HSS以及SCEF向SCS/AS发送该响应消息。In the method shown in FIG. 8, after receiving the response message for the first request sent by the NH MME, the 3GPP AAA sends the response message to the SCS/AS through the HSS and the SCEF.
S513:NH MME向IWK-SCEF发送第一通知。S513: The NH MME sends a first notification to the IWK-SCEF.
本申请中,第一通知为SCS/AS请求根据配置参数对CPE进行配置的通知。In the present application, the first notification is a notification that the SCS/AS requests to configure the CPE according to the configuration parameter.
S514:NH MME接收IWK-SCEF发送的授权指示。S514: The NH MME receives the authorization indication sent by the IWK-SCEF.
本申请中,授权指示用于指示NHN网络支持第一请求所请求的配置。In the present application, the authorization indication is used to indicate that the NHN network supports the configuration requested by the first request.
应理解的是,本申请中S513-S514为可选的步骤,NH MME可在接收到第一请求之后直接向CPE转发接收到的第一请求,当然也可在执行S513-S514之后,向CPE转发接收到的第一请求,本申请不做限定。It should be understood that S513-S514 in the present application is an optional step, and the NH MME may directly forward the received first request to the CPE after receiving the first request, and may also, after performing S513-S514, to the CPE. The first request received is forwarded, which is not limited in this application.
S515:NH MME通过NAS消息向CPE发送第一请求。S515: The NH MME sends a first request to the CPE by using a NAS message.
S516:NH MME接收CPE发送的针对第一请求的第一响应。S516: The NH MME receives the first response sent by the CPE for the first request.
图8所示的方法中,NH MME接收到CPE发送的第一响应之后,可通过两种方式向SCS/AS发送第一响应。一种实现方式参阅S517a-S517e,NH MME通过Local AAA proxy、3GPP AAA、HSS以及SCEF向SCS/AS发送第一响应。另一种实现方式参阅S518a-S518c,NH MME通过IWK-SCEF以及SCEF向SCS/AS发送第一响应。In the method shown in FIG. 8, after receiving the first response sent by the CPE, the NH MME may send the first response to the SCS/AS in two ways. For an implementation manner, referring to S517a-S517e, the NH MME sends a first response to the SCS/AS through the Local AAA proxy, the 3GPP AAA, the HSS, and the SCEF. For another implementation, refer to S518a-S518c. The NH MME sends a first response to the SCS/AS through the IWK-SCEF and the SCEF.
图8所示的方法中,第一响应中包括以下信息中的一种或多种:CPE对第一请求的确认信息、CPE的标识信息(例如,CPE ID)、SCEF的标识信息(例如,SCEF ID)、SCEF的参考标识信息(例如,SCEF reference ID)以及CPE的状态信息。In the method shown in FIG. 8, the first response includes one or more of the following information: the CPE confirms the first request, the CPE identification information (for example, the CPE ID), and the SCEF identification information (for example, SCEF ID), SCEF reference identification information (for example, SCEF reference ID) and status information of the CPE.
一种可能的实现方式中,针对SCS/AS发送的第一请求,需要CPE上报自己的状态,状态改变,或者一段时间内的统计数据,在该种场景中,CPE发送的第一响应中可包括CPE ID、SCEF ID、SCEF reference ID以及CPE的状态信息,可选的,还可包括CPE对第一请求的确认信息。In a possible implementation manner, for the first request sent by the SCS/AS, the CPE needs to report its own state, status change, or statistical data for a period of time. In this scenario, the first response sent by the CPE may be The CPE ID, the SCEF ID, the SCEF reference ID, and the CPE status information may be optionally included, and may also include the CPE confirming the first request.
参阅图9所示,为本申请实施例提供的又一种消息传输方法流程图,图9中以终端设备为CPE、第一网络为NHN网络、第二网络为3GPP网络、发送端为SCS/AS以及第二网元属于第二网络的情况为例,对本申请实施例提供的消息传输方法进行说明,NH AMF网元为本申请实施例的第一网元的一种实现方式,UDM网元或者PCF网元为本申请实施例的第二网元的一种实现方式,IWK-NEF网元为本申请实施例的第三网元的一种实现方式,NEF网元为本申请实施例的第四网元的一种实现方式。FIG. 9 is a flowchart of still another method for transmitting a message according to an embodiment of the present application. In FIG. 9, the terminal device is a CPE, the first network is an NHN network, the second network is a 3GPP network, and the sending end is an SCS/ The case where the AS and the second network element belong to the second network is taken as an example, and the message transmission method provided by the embodiment of the present application is described. The NH AMF network element is an implementation manner of the first network element in the embodiment of the present application, and the UDM network element is used. Or the PCF network element is an implementation manner of the second network element in the embodiment of the present application. The IWK-NEF network element is an implementation manner of the third network element in the embodiment of the present application, where the NEF network element is the embodiment of the present application. An implementation of the fourth network element.
应理解的是,图9以将本申请实施例提供的消息传输方法,应用于图2所示的NHN网络与5G网络的互通架构为例进行说明。It should be understood that FIG. 9 is an example of applying the message transmission method provided by the embodiment of the present application to the interworking architecture of the NHN network and the 5G network shown in FIG. 2 .
图9所示的方法包括以下步骤:The method shown in Figure 9 includes the following steps:
S601:NEF接收SCS/AS发送的第一请求。S601: The NEF receives the first request sent by the SCS/AS.
图9所示的方法中,NEF接收到SCS/AS发送的第一请求之后,可判断SCS/AS是否可以对该CPE执行第一请求所请求的配置,若NEF确定SCS/AS不可以对该CPE执行第一请求所请求的配置,则向SCS/AS发送请求失败消息,该请求失败消息可用于指示SCS/AS不可以对该CPE执行第一请求所请求的配置,若NEF确定SCS/AS可以对该CPE执行第一请求所请求的配置,则向UDM或者PCF发送第一请求。本申请以NEF确定SCS/AS可以对该CPE执行第一请求所请求的配置的情况为例说明,参阅S602、S603以及S603a。In the method shown in FIG. 9, after receiving the first request sent by the SCS/AS, the NEF can determine whether the SCS/AS can perform the configuration requested by the first request on the CPE, and if the NEF determines that the SCS/AS cannot The CPE performs the configuration requested by the first request, and sends a request failure message to the SCS/AS, where the request failure message can be used to indicate that the SCS/AS cannot perform the configuration requested by the first request for the CPE, if the NEF determines the SCS/AS The configuration requested by the first request may be performed on the CPE, and the first request is sent to the UDM or PCF. The present application is described by the NEF as an example in which the SCS/AS can perform the configuration requested by the first request to the CPE, and refer to S602, S603, and S603a.
S602:NEF确定SCS/AS可以对该CPE执行第一请求所请求的配置。S602: The NEF determines that the SCS/AS can perform the configuration requested by the first request for the CPE.
S603:NEF向UDM发送第一请求。S603: The NEF sends the first request to the UDM.
图9所示的方法中,UDM接收到NEF发送的第一请求之后,判断NHN网络是否支持第一请求所请求的配置,UDM若确定NHN网络支持第一请求所请求的配置,且根据第一请求中包括的CPE的标识信息,确定CPE在NHN网络中,则执行S604。In the method shown in FIG. 9, after receiving the first request sent by the NEF, the UDM determines whether the NHN network supports the configuration requested by the first request, and if the UDM determines that the NHN network supports the configuration requested by the first request, and according to the first If the CPE is identified in the request, and the CPE is determined to be in the NHN network, S604 is performed.
S604:UDM向AMF发送第一请求。S604: The UDM sends a first request to the AMF.
应理解的是,图9所示的方法中AMF为CPE注册的AMF。It should be understood that in the method shown in FIG. 9, the AMF is an AMF registered with the CPE.
S603a:NEF向PCF发送第一请求。S603a: The NEF sends a first request to the PCF.
图9所示的方法中,PCF接收到NEF发送的第一请求之后,判断NHN网络是否支持第一请求所请求的配置,PCF若确定NHN网络支持第一请求所请求的配置,且根据第一请求中包括的CPE的标识信息,确定CPE在NHN网络中,则执行S604a。In the method shown in FIG. 9, after receiving the first request sent by the NEF, the PCF determines whether the NHN network supports the configuration requested by the first request, and if the PCF determines that the NHN network supports the configuration requested by the first request, and according to the first The identification information of the CPE included in the request determines that the CPE is in the NHN network, and then executes S604a.
S604a:PCF向AMF发送第一请求。S604a: The PCF sends a first request to the AMF.
应理解的是,S603-S604和S603a-S604a在一个网络中只会选择一种方式进行,用户可根据配置来决定部署哪种方式。It should be understood that S603-S604 and S603a-S604a are only selected in one mode, and the user can decide which way to deploy according to the configuration.
S605:AMF向NH AMF发送第一请求。S605: The AMF sends a first request to the NH AMF.
图9所示的方法中,AMF可根据CPE注册时候的NH AMF查询当前所在NHN网络的NH AMF。In the method shown in FIG. 9, the AMF can query the NH AMF of the current NHN network according to the NH AMF at the time of CPE registration.
S606:NH AMF向AMF发送针对第一请求的响应消息。S606: The NH AMF sends a response message to the AMF for the first request.
应理解的是,NH AMF向AMF发送的针对第一请求的响应消息,不同于本申请中第一响应,该响应消息中可包括AMF对第一请求的确认信息,例如,确认消息可以指示确认收到第一请求。It should be understood that the response message sent by the NH AMF to the AMF for the first request is different from the first response in the application, and the response message may include the AMF confirming the first request, for example, the confirmation message may indicate the confirmation. Received the first request.
应理解的是,对应于S603-S604和S603a-S604a两种向AMF发送第一请求的方法,图9中AMF可对应的采用两种方式向NEF回复响应,一种回复响应的方式参见S607-S608,另一种回复响应的方式参见S607a-S608a。It should be understood that, corresponding to S603-S604 and S603a-S604a, two methods for sending a first request to the AMF, the AMF in FIG. 9 may respond to the NEF in two ways correspondingly, and a way of replying the response is shown in S607- S608, another way of replying to the response is referred to S607a-S608a.
S607:AMF向UDM发送针对第一请求的响应消息。S607: The AMF sends a response message to the UDM for the first request.
S608:UDM向NEF发送针对第一请求的响应消息。S608: The UDM sends a response message to the NEF for the first request.
应理解的是,S607-S608中回复响应的方式对应于S603-S604发送第一请求的方式。It should be understood that the manner in which the response is replied in S607-S608 corresponds to the manner in which S603-S604 sends the first request.
S607a:AMF向PCF发送针对第一请求的响应消息。S607a: The AMF sends a response message to the PCF for the first request.
S608a:PCF向NEF发送针对第一请求的响应消息。S608a: The PCF sends a response message to the NEF for the first request.
应理解的是,S607a-S608a中回复响应的方式对应于S603a-S604a发送第一请求的方式。It should be understood that the manner in which the responses are replied in S607a-S608a corresponds to the manner in which S603a-S604a sends the first request.
S609:NEF向SCS/AS发送针对第一请求的响应消息。S609: The NEF sends a response message to the SCS/AS for the first request.
S610:NH AMF向IWK-NEF发送第一通知。S610: The NH AMF sends a first notification to the IWK-NEF.
本申请中,第一通知为SCS/AS请求根据配置参数对CPE进行配置的通知。In the present application, the first notification is a notification that the SCS/AS requests to configure the CPE according to the configuration parameter.
S611:NH AMF接收IWK-NEF发送的授权指示。S611: The NH AMF receives the authorization indication sent by the IWK-NEF.
本申请中,授权指示用于指示NHN网络支持第一请求所请求的配置。In the present application, the authorization indication is used to indicate that the NHN network supports the configuration requested by the first request.
应理解的是,本申请中S610-S611为可选的步骤,AMF可在接收到第一请求之后直接向CPE转发接收到的第一请求,当然也可在执行S610-S611之后,向CPE转发接收到的第一请求,本申请不做限定。It should be understood that S610-S611 in the present application is an optional step, and the AMF may directly forward the received first request to the CPE after receiving the first request, and may also forward to the CPE after executing S610-S611. The first request received is not limited in this application.
S612:NH AMF通过NAS消息向CPE发送第一请求。S612: The NH AMF sends a first request to the CPE through the NAS message.
可选的,该NAS消息可以是一条新的NAS消息,也可以是通过对已有NAS消息进行修改得到的NAS消息,例如,可在已有NAS消息中新增指示来指示该修改后的NAS消息中携带第一请求。Optionally, the NAS message may be a new NAS message, or may be a NAS message obtained by modifying an existing NAS message. For example, an existing indication may be added to the existing NAS message to indicate the modified NAS. The message carries the first request.
可选的,若该NAS消息是一条新的NAS消息,则NH MME可单独向CPE发送该NAS消息,也可以在当时正要发给CPE的NAS消息中携带该NAS消息。Optionally, if the NAS message is a new NAS message, the NH MME may separately send the NAS message to the CPE, or may carry the NAS message in the NAS message that is being sent to the CPE at that time.
S613:NH AMF接收CPE通过NAS消息发送的针对第一请求的第一响应。S613: The NH AMF receives the first response sent by the CPE through the NAS message for the first request.
图9所示的方法中,NH AMF接收到CPE发送的第一响应之后,可通过三种方式向SCS/AS发送第一响应。一种实现方式参阅S614a-S614d,NH AMF通过AMF、UDM以及 NEF向SCS/AS发送第一响应,另一种实现方式参阅S615a-S615d,NH AMF通过AMF、PCF以及NEF向SCS/AS发送第一响应,又一种实现方式参阅S616a-S616c,NH AMF通过IWK-NEF以及NEF向SCS/AS发送第一响应。In the method shown in FIG. 9, after the NH AMF receives the first response sent by the CPE, the first response can be sent to the SCS/AS in three ways. For an implementation, refer to S614a-S614d. The NH AMF sends a first response to the SCS/AS through the AMF, UDM, and NEF. For another implementation, refer to S615a-S615d. The NH AMF sends the SSC/AS to the SCS/AS through the AMF, PCF, and NEF. One response, yet another implementation refers to S616a-S616c, and the NH AMF sends a first response to the SCS/AS through the IWK-NEF and the NEF.
图9所示的方法中,第一响应中包括以下信息中的一种或多种:CPE对第一请求的确认信息、CPE ID、NEF的标识信息(例如,NEF ID)、NEF的参考标识信息(例如,NEF reference ID)以及CPE的状态信息。In the method shown in FIG. 9, the first response includes one or more of the following information: the CPE confirms the first request, the CPE ID, the NEF identification information (for example, the NEF ID), and the NEF reference identifier. Information (for example, NEF reference ID) and status information of the CPE.
一种可能的实现方式中,针对SCS/AS发送的第一请求,需要CPE上报自己的状态,状态改变,或者一段时间内的统计数据,在该种场景中,CPE发送的第一响应中可包括CPE ID、NEF ID、NEF reference ID以及CPE的状态信息,可选的,还可包括CPE对第一请求的确认信息。In a possible implementation manner, for the first request sent by the SCS/AS, the CPE needs to report its own state, status change, or statistical data for a period of time. In this scenario, the first response sent by the CPE may be The CPE ID, the NEF ID, the NEF reference ID, and the status information of the CPE are optional. Optionally, the CPE can also include the confirmation information of the first request.
本申请实施例中,图9所示的方法也可应用于图3所示的网络架构,当图9所示的方法应用于图3所示的网络架构时,图9中NH AMF由N3IWF代替,S612-S613中NAS消息由IKEv2消息封装传输或者在IPSec通道上传输,且,图9中NH AMF和AMF之间的交互步骤,S605、S606、S614a以及S615a经过Local AAA proxy和N3IWF转发。In the embodiment of the present application, the method shown in FIG. 9 is also applicable to the network architecture shown in FIG. 3. When the method shown in FIG. 9 is applied to the network architecture shown in FIG. 3, the NH AMF in FIG. 9 is replaced by N3IWF. The NAS message in S612-S613 is transmitted by the IKEv2 message or transmitted on the IPSec channel, and the interaction steps between the NH AMF and the AMF in FIG. 9 are forwarded by the Local AAA proxy and the N3IWF.
本申请各个实施例中,以上描述的是通过NHN网络与3GPP网络的互通来实现对终端设备的配置。在一种可能的实现方式中,发送端可直接通过3GPP网络对终端设备进行配置,而无需借助于NHN网络。例如,在图9所示的方法中,以3GPP网络为5G网络为例说明,若发送端直接通过5G网络对终端设备进行配置,则在图9所示的方法中,NH AMF即为5G网络中的AMF,相当于NH AMF和AMF网元之间的交互不存在,可选的,IWK SCEF网元只在漫游场景存在。In various embodiments of the present application, the foregoing describes that the configuration of the terminal device is implemented by interworking between the NHN network and the 3GPP network. In a possible implementation manner, the transmitting end can directly configure the terminal device through the 3GPP network without resorting to the NHN network. For example, in the method shown in FIG. 9, the 3GPP network is used as a 5G network as an example. If the transmitting end directly configures the terminal device through the 5G network, in the method shown in FIG. 9, the NH AMF is a 5G network. The AMF in the middle is equivalent to the interaction between the NH AMF and the AMF network element. Optionally, the IWK SCEF network element exists only in the roaming scene.
参阅图10所示,为本申请实施例提供的又一种消息传输方法流程图,图10中以终端设备为CPE、第一网络为NHN网络、第二网络为PSP网络、发送端为SCS/AS以及第二网元属于第二网络的情况为例,对本申请实施例提供的消息传输方法进行说明,NH MME网元为本申请实施例的第一网元的一种实现方式,PSP AAA网元为本申请实施例的第二网元的一种实现方式,IWK-SCEF网元为本申请实施例的第三网元的一种实现方式,SCEF网元为本申请实施例的第四网元的一种实现方式。FIG. 10 is a flowchart of still another method for transmitting a message according to an embodiment of the present application. In FIG. 10, the terminal device is a CPE, the first network is an NHN network, the second network is a PSP network, and the sending end is an SCS/ The case where the AS and the second network element belong to the second network is taken as an example, and the message transmission method provided by the embodiment of the present application is described. The NH MME network element is an implementation manner of the first network element in the embodiment of the present application, and the PSP AAA network is used. An embodiment of the second network element in the embodiment of the present application, the IWK-SCEF network element is an implementation manner of the third network element in the embodiment of the present application, and the SCEF network element is the fourth network in the embodiment of the present application. An implementation of meta.
应理解的是,图10以将本申请实施例提供的消息传输方法,应用于图1所示的NHN网络与4G网络的互通架构为例进行说明。It should be understood that FIG. 10 is an example of applying the message transmission method provided in the embodiment of the present application to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 as an example.
图10所示的方法包括以下步骤:The method shown in Figure 10 includes the following steps:
S701:SCEF接收SCS/AS发送的第一请求。S701: The SCEF receives the first request sent by the SCS/AS.
图10所示的方法中,SCEF接收到SCS/AS发送的第一请求之后,可判断SCS/AS是否可以对该CPE执行第一请求所请求的配置,若SCEF确定SCS/AS不可以对该CPE执行第一请求所请求的配置,则向SCS/AS发送请求失败消息,该请求失败消息可用于指示SCS/AS不可以对该CPE执行第一请求所请求的配置,若SCEF确定SCS/AS可以对该CPE执行第一请求所请求的配置,则向PSP AAA发送第一请求。本申请以SCEF确定SCS/AS可以对该CPE执行第一请求所请求的配置的情况为例说明,参阅S702-S703。In the method shown in FIG. 10, after receiving the first request sent by the SCS/AS, the SCEF may determine whether the SCS/AS can perform the configuration requested by the first request for the CPE, and if the SCEF determines that the SCS/AS cannot The CPE performs the configuration requested by the first request, and sends a request failure message to the SCS/AS, where the request failure message may be used to indicate that the SCS/AS may not perform the configuration requested by the first request on the CPE, if the SCEF determines the SCS/AS The configuration requested by the first request may be performed on the CPE, and the first request is sent to the PSP AAA. The present application uses the SCEF to determine, as an example, a case where the SCS/AS can perform the configuration requested by the first request to the CPE, and refer to S702-S703.
S702:SCEF确定SCS/AS可以对该CPE执行第一请求所请求的配置。S702: The SCEF determines that the SCS/AS can perform the configuration requested by the first request for the CPE.
S703:SCEF向PSP AAA发送第一请求。S703: The SCEF sends the first request to the PSP AAA.
S704:PSP AAA判断NHN网络是否支持第一请求所请求的配置。S704: The PSP AAA determines whether the NHN network supports the configuration requested by the first request.
图10所示的方法中,PSP AAA接收到SCEF发送的第一请求之后,判断NHN网络是 否支持第一请求所请求的配置,PSP AAA若确定NHN网络支持第一请求所请求的配置,且根据第一请求中包括的CPE的标识信息,确定CPE在NHN网络中,执行S705。In the method shown in FIG. 10, after receiving the first request sent by the SCEF, the PSP AAA determines whether the NHN network supports the configuration requested by the first request, and if the PSP AAA determines that the NHN network supports the configuration requested by the first request, and according to The identification information of the CPE included in the first request determines that the CPE is in the NHN network, and executes S705.
S705:PSP AAA向NH MME发送第一请求。S705: The PSP AAA sends a first request to the NH MME.
应理解的是,图10所示的方法应用于PSP AAA和Local AAA proxy集成于一体的场景。若PSP AAA和Local AAA proxy为独立的网元,则PSP AAA可通过Local AAA proxy向NH MME发送第一请求,即,PSP AAA将第一请求发送至Local AAA proxy,进而由Local AAA proxy将第一请求转发至NH MME。It should be understood that the method shown in FIG. 10 is applied to a scenario in which PSP AAA and Local AAA proxy are integrated. If the PSP AAA and the Local AAA proxy are independent network elements, the PSP AAA may send the first request to the NH MME through the Local AAA proxy, that is, the PSP AAA sends the first request to the Local AAA proxy, and then the Local AAA proxy A request is forwarded to the NH MME.
可选的,PSP AAA向NH MME发送第一请求时,可携带第三指示,该第三指示用于指示第一请求来自于第一网络。Optionally, when the PSP AAA sends the first request to the NH MME, the PSP AAA may carry a third indication, where the third indication is used to indicate that the first request is from the first network.
S706:NH MME向PSP AAA发送针对第一请求的响应消息。S706: The NH MME sends a response message to the PSP AAA for the first request.
应理解的是,NH MME向PSP AAA发送的针对第一请求的响应消息,可不同于本申请中第一响应,该响应消息中可包括AMF对第一请求的确认信息,例如,确认消息可以指示确认收到第一请求。It should be understood that the response message sent by the NH MME to the PSP AAA for the first request may be different from the first response in the application, and the response message may include the AMF confirming information about the first request, for example, the acknowledgement message may be Instructs to confirm receipt of the first request.
应理解的是,图10所示的方法应用于PSP AAA和Local AAA proxy集成于一体的场景。若PSP AAA和Local AAA proxy为独立的网元,则NH MME可通过Local AAA proxy向PSP AAA发送第一请求,即,NH MME将第一请求发送至Local AAA proxy,进而由Local AAA proxy将第一请求转发至PSP AAA。It should be understood that the method shown in FIG. 10 is applied to a scenario in which PSP AAA and Local AAA proxy are integrated. If the PSP AAA and the Local AAA proxy are independent network elements, the NH MME may send the first request to the PSP AAA through the Local AAA proxy, that is, the NH MME sends the first request to the Local AAA proxy, and then the Local AAA proxy A request is forwarded to the PSP AAA.
图10所示的方法中以在PSP AAA发起的重认证过程中,将第一请求携带在重认证过程发送的消息中向NH MME发送第一请求,以及接收NH MME发送的响应消息为例说明,实际应用中PSP AAA也可通过其它通信过程中的消息向NH MME发送第一请求,以及接收NH MME发送的响应消息,当然,也可不利用现有的通信流程,而将第一请求作为新的消息向NH MME发送,本申请不做限定。In the method shown in FIG. 10, in the re-authentication process initiated by the PSP AAA, the first request is carried in the message sent by the re-authentication process, and the first request is sent to the NH MME, and the response message sent by the NH MME is received as an example. In actual application, the PSP AAA may also send a first request to the NH MME through a message in other communication processes, and receive a response message sent by the NH MME. Of course, the first request may be used as a new one without using the existing communication process. The message is sent to the NH MME, which is not limited in this application.
S707:PSP AAA向SCEF发送针对第一请求的响应消息。S707: The PSP AAA sends a response message to the SCEF for the first request.
S708:SCEF向SCS/AS发送针对第一请求的响应消息。S708: The SCEF sends a response message to the SCS/AS for the first request.
图10所示的方法中,PSP AAA接收到NH MME发送的针对第一请求的响应消息之后,通过SCEF向SCS/AS发送该响应消息。In the method shown in FIG. 10, after receiving the response message for the first request sent by the NH MME, the PSP AAA sends the response message to the SCS/AS through the SCEF.
S709:NH MME向IWK-SCEF发送第一通知。S709: The NH MME sends a first notification to the IWK-SCEF.
本申请中,第一通知为SCS/AS请求根据配置参数对CPE进行配置的通知。In the present application, the first notification is a notification that the SCS/AS requests to configure the CPE according to the configuration parameter.
S710:NH MME接收IWK-SCEF发送的授权指示。S710: The NH MME receives an authorization indication sent by the IWK-SCEF.
本申请中,授权指示用于指示NHN网络支持第一请求所请求的配置。In the present application, the authorization indication is used to indicate that the NHN network supports the configuration requested by the first request.
应理解的是,本申请中S709-S710为可选的步骤,NH MME可在接收到第一请求之后直接向CPE转发接收到的第一请求,当然也可在执行S709-S710之后,向CPE转发接收到的第一请求,本申请不做限定。It should be understood that, in this application, S709-S710 is an optional step, and the NH MME may directly forward the received first request to the CPE after receiving the first request, or may, after performing S709-S710, to the CPE. The first request received is forwarded, which is not limited in this application.
S711:NH MME通过NAS消息向CPE发送第一请求。S711: The NH MME sends a first request to the CPE by using a NAS message.
S712:NH MME接收CPE通过NAS消息发送的针对第一请求的第一响应。S712: The NH MME receives the first response sent by the CPE by using the NAS message for the first request.
图10所示的方法中,NH MME接收到CPE发送的第一响应之后,可进一步向SCS/AS发送第一响应。可选的,可通过两种方式向SCS/AS发送第一响应。一种实现方式参阅S713a-S713c,NH MME通过PSP AAA以及SCEF向SCS/AS发送第一响应。另一种实现方式参阅S714a-S714c,NH MME通过IWK-SCEF以及SCEF向SCS/AS发送第一响应。In the method shown in FIG. 10, after receiving the first response sent by the CPE, the NH MME may further send a first response to the SCS/AS. Optionally, the first response can be sent to the SCS/AS in two ways. For an implementation manner, referring to S713a-S713c, the NH MME sends a first response to the SCS/AS through the PSP AAA and the SCEF. In another implementation manner, referring to S714a-S714c, the NH MME sends a first response to the SCS/AS through the IWK-SCEF and the SCEF.
应理解的是,图10所示的方法应用于PSP AAA和Local AAA proxy集成于一体的场 景。若PSP AAA和Local AAA proxy为独立的网元,则S713a中的第一响应可通过Local AAA proxy发送至PSP AAA,进而由PSP AAA发送至SCEF,并通过SCEF发送至SCS/AS。It should be understood that the method illustrated in Figure 10 applies to the integration of PSP AAA and Local AAA proxy. If the PSP AAA and the Local AAA proxy are independent network elements, the first response in S713a can be sent to the PSP AAA through the Local AAA proxy, and then sent by the PSP AAA to the SCEF and sent to the SCS/AS through the SCEF.
图10所示的方法中,第一响应中包括以下信息中的一种或多种:CPE对第一请求的确认信息、CPE ID、SCEF ID、SCEF reference ID以及CPE的状态信息。In the method shown in FIG. 10, the first response includes one or more of the following information: the CPE confirms the first request, the CPE ID, the SCEF ID, the SCEF reference ID, and the status information of the CPE.
一种可能的实现方式中,针对SCS/AS发送的第一请求,需要CPE上报自己的状态,状态改变,或者一段时间内的统计数据,在该种场景中,CPE发送的第一响应中可包括CPE ID、SCEF ID、SCEF reference ID以及CPE的状态信息,可选的,还可包括CPE对第一请求的确认信息。In a possible implementation manner, for the first request sent by the SCS/AS, the CPE needs to report its own state, status change, or statistical data for a period of time. In this scenario, the first response sent by the CPE may be The CPE ID, the SCEF ID, the SCEF reference ID, and the CPE status information may be optionally included, and may also include the CPE confirming the first request.
应理解的是,网元IWK-SCEF,Local AAA proxy,PSP AAA以及SCEF可以合设或者分设在一个或多个设备中,当IWK-SCEF,Local AAA proxy,PSP AAA以及SCEF网元合设在一个设备时,它们之间的交互可认为是内部操作,即合设在一个设备的网元之间的步骤可以省略,此时,该合设在一个设备中的IWK-SCEF,Local AAA proxy,PSP AAA以及SCEF网元可相当于本申请中的第二网元。当然,在一些应用场景中,NH MME、IWK-SCEF,Local AAA proxy,PSP AAA以及SCEF网元也可合设在一个设备中,此时,第一网元和第二网元为同一设备,均为NH MME、IWK-SCEF,Local AAA proxy,PSP AAA以及SCEF网元合设组成的设备。It should be understood that the network element IWK-SCEF, Local AAA proxy, PSP AAA, and SCEF may be combined or grouped in one or more devices, and the IWK-SCEF, Local AAA proxy, PSP AAA, and SCEF network elements are combined. When a device is used, the interaction between them can be considered as internal operation, that is, the step of being set up between the network elements of one device can be omitted. In this case, the IWK-SCEF, Local AAA proxy, which is set in one device, The PSP AAA and the SCEF network element may be equivalent to the second network element in this application. Of course, in some application scenarios, the NH MME, the IWK-SCEF, the Local AAA proxy, the PSP AAA, and the SCEF network element may also be combined in one device. In this case, the first network element and the second network element are the same device. The devices are composed of NH MME, IWK-SCEF, Local AAA proxy, PSP AAA, and SCEF network elements.
本申请实施例中,图10所示的方法也可应用于图2所示的网络架构,当图10所示的方法应用于图2所示的网络架构时,图10中网元NH MME由NH AMF代替,IWK-SCEF由IWK-NEF代替,SCEF由NEF代替,参阅图11所示,在图11中,S801-S814c分别与图10中S701-S714c执行相同操作,在此不再赘述。In the embodiment of the present application, the method shown in FIG. 10 is also applicable to the network architecture shown in FIG. 2. When the method shown in FIG. 10 is applied to the network architecture shown in FIG. 2, the network element NH MME in FIG. Instead of the NH AMF, the IWK-SCEF is replaced by the IWK-NEF, and the SCEF is replaced by the NEF. Referring to FIG. 11, in FIG. 11, S801-S814c respectively perform the same operations as S701-S714c in FIG. 10, and details are not described herein again.
参阅图12所示,为本申请实施例提供的又一种消息传输方法流程图,图12中以终端设备为CPE、第一网络为NHN网络、第二网络为3GPP网络或者PSP网络、发送端为SCS/AS以及第二网元属于第二网络为例,对本申请实施例提供的消息传输方法进行说明。NH MME网元为本申请实施例的第一网元的一种实现方式,SCEF网元为本申请实施例的第二网元的一种实现方式。FIG. 12 is a flowchart of still another method for transmitting a message according to an embodiment of the present application. In FIG. 12, the terminal device is a CPE, the first network is an NHN network, and the second network is a 3GPP network or a PSP network, and the sending end is used. The message transmission method provided by the embodiment of the present application is described as an example in which the SCS/AS and the second network element belong to the second network. The NH MME network element is an implementation manner of the first network element in the embodiment of the present application, and the SCEF network element is an implementation manner of the second network element in the embodiment of the present application.
应理解的是,图12以将本申请实施例提供的消息传输方法,应用于NHN网络与4G网络的互通架构,或者NHN网络与PSP网络互通的架构为例进行说明。当应用于NHN网络与4G网络的互通架构时,对应图12所示的HSS网元,当应用于NHN网络与PSP网络互通的架构时,对应图12所示的PSP AAA网元。It should be understood that FIG. 12 illustrates an example in which the message transmission method provided by the embodiment of the present application is applied to an interworking architecture of an NHN network and a 4G network, or an architecture in which an NHN network and a PSP network communicate with each other. When applied to the interworking architecture of the NHN network and the 4G network, the HSS network element shown in FIG. 12 corresponds to the PSP AAA network element shown in FIG. 12 when applied to the architecture of the interworking between the NHN network and the PSP network.
应理解的是,图12以将本申请实施例提供的消息传输方法,应用于图1所示的NHN网络与4G网络的互通架构为例进行说明。It should be understood that FIG. 12 is an example of applying the message transmission method provided by the embodiment of the present application to the interworking architecture of the NHN network and the 4G network shown in FIG. 1 as an example.
图12所示的方法包括以下步骤:The method shown in Figure 12 includes the following steps:
S901:SCEF接收SCS/AS发送的第一请求。S901: The SCEF receives the first request sent by the SCS/AS.
图12所示的方法中,SCEF接收到SCS/AS发送的第一请求之后,可判断SCS/AS是否可以对该CPE执行第一请求所请求的配置,若SCEF确定SCS/AS不可以对该CPE执行第一请求所请求的配置,则向SCS/AS发送请求失败消息,该请求失败消息可用于指示SCS/AS不可以对该CPE执行第一请求所请求的配置,若SCEF确定SCS/AS可以对该CPE执行第一请求所请求的配置,则向HSS/PSP AAA发送第一请求。本申请以SCEF确定SCS/AS可以对该CPE执行第一请求所请求的配置的情况为例说明,参阅S902-S903。In the method shown in FIG. 12, after receiving the first request sent by the SCS/AS, the SCEF may determine whether the SCS/AS can perform the configuration requested by the first request for the CPE, and if the SCEF determines that the SCS/AS cannot The CPE performs the configuration requested by the first request, and sends a request failure message to the SCS/AS, where the request failure message may be used to indicate that the SCS/AS may not perform the configuration requested by the first request on the CPE, if the SCEF determines the SCS/AS The configuration requested by the first request may be performed on the CPE, and the first request is sent to the HSS/PSP AAA. The present application uses the SCEF to determine, as an example, a case where the SCS/AS can perform the configuration requested by the CPE for the first request, and refer to S902-S903.
S902:SCEF确定SCS/AS可以对该CPE执行第一请求所请求的配置。S902: The SCEF determines that the SCS/AS can perform the configuration requested by the first request for the CPE.
S903:SCEF向HSS/PSP AAA发送第一请求。S903: The SCEF sends a first request to the HSS/PSP AAA.
应理解的是,图12所示的方法中,SCEF可在签约过程中向HSS/PSP AAA发送第一请求,可选的,可将第一请求携带于签约过程的消息向HSS/PSP AAA发送,当然也可以在其它过程中发送,还可以单独使用一条新的消息向HSS/PSP AAA发送,本申请不做限定。It should be understood that, in the method shown in FIG. 12, the SCEF may send a first request to the HSS/PSP AAA during the signing process. Optionally, the message carrying the first request in the signing process may be sent to the HSS/PSP AAA. Of course, it can also be sent in other processes, and can also be sent to the HSS/PSP AAA by using a new message, which is not limited in this application.
S904:HSS/PSP AAA判断NHN网络是否支持第一请求所请求的配置。S904: The HSS/PSP AAA determines whether the NHN network supports the configuration requested by the first request.
S905:HSS/PSP AAA向SCEF发送针对第一请求的响应消息。S905: The HSS/PSP AAA sends a response message to the SCEF for the first request.
图12所示的方法中,HSS/PSP AAA判断NHN网络是否支持第一请求所请求的配置之后,HSS/PSP AAA若确定NHN网络不支持第一请求所请求的配置,则可在向SCEF发送的响应消息中携带请求失败消息,若确定NHN网络支持第一请求所请求的配置,则可在向SCEF发送的响应消息中携带请求确认,还可携带CPE当前所在的NHN网络信息,例如CPE当前所在的NHN网络信息可包括CPE当前所在的NHN网络的IWK-SCEF的标识、NH MME的标识或者CPE当前所在的NHN网络的标识等。In the method shown in FIG. 12, after the HSS/PSP AAA determines whether the NHN network supports the configuration requested by the first request, the HSS/PSP AAA may send the message to the SCEF if it determines that the NHN network does not support the configuration requested by the first request. The response message carries the request failure message. If it is determined that the NHN network supports the configuration requested by the first request, the response message sent to the SCEF may be carried in the response message, and may also carry the NHN network information where the CPE is currently located, for example, the CPE current The information of the NHN network where the CPE is located may include the identifier of the IWK-SCEF of the NHN network where the CPE is currently located, the identifier of the NH MME, or the identifier of the NHN network where the CPE is currently located.
SCEF接收到HSS/PSP AAA发送的针对第一请求的响应消息之后,若确定NHN网络支持第一请求所请求的配置,则可根据CPE当前所在的NHN网络信息,确定CPE当前所在的NHN网络,执行S906。After the SCEF receives the response message for the first request sent by the HSS/PSP AAA, if it is determined that the NHN network supports the configuration requested by the first request, the SCN may determine the current NHN network where the CPE is located according to the current NHN network information of the CPE. Execute S906.
S906:SCEF向IWK-SCEF发送第一请求。S906: The SCEF sends a first request to the IWK-SCEF.
S907:IWK-SCEF向NH MME发送第一请求。S907: The IWK-SCEF sends the first request to the NH MME.
S908:NH MME向IWK-SCEF发送针对第一请求的响应消息。S908: The NH MME sends a response message to the IWK-SCEF for the first request.
图12所示的方法中,IWK-SCEF接收到NH MME发送的针对第一请求的响应消息之后,通过SCEF向SCS/AS发送该响应消息。In the method shown in FIG. 12, after receiving the response message for the first request sent by the NH MME, the IWK-SCEF sends the response message to the SCS/AS through the SCEF.
应理解的是,NH MME向IWK-SCEF发送的针对第一请求的响应消息中可包括NH MME对第一请求的确认信息,例如,确认消息可以指示确认收到第一请求。It should be understood that the response message sent by the NH MME to the IWK-SCEF for the first request may include the confirmation information of the NH MME for the first request, for example, the confirmation message may indicate that the first request is acknowledged.
S909:IWK-SCEF向SCEF发送针对第一请求的响应消息。S909: The IWK-SCEF sends a response message to the SCEF for the first request.
S910:SCEF向SCS/AS发送针对第一请求的响应消息。S910: The SCEF sends a response message to the SCS/AS for the first request.
S911:NH MME通过NAS消息向CPE发送第一请求。S911: The NH MME sends a first request to the CPE through the NAS message.
S912:NH MME接收CPE通过NAS消息发送的针对第一请求的第一响应。S912: The NH MME receives the first response sent by the CPE by using the NAS message for the first request.
图12所示的方法中,NH MME接收到CPE发送的第一响应之后,可通过与图8-11相同的方式向SCS/AS发送第一响应。图12仅示出其中两种实现方式,参阅S913a-S913c以及S914a-S914c。In the method shown in FIG. 12, after receiving the first response sent by the CPE, the NH MME may send the first response to the SCS/AS in the same manner as in FIG. 8-11. Figure 12 shows only two of these implementations, see S913a-S913c and S914a-S914c.
本申请实施例中,图12所示的方法也可应用于图2所示的网络架构,当图12所示的方法应用于图2所示的网络架构时,图12中网元NH MME由NH AMF代替,IWK-SCEF由IWK-NEF代替,SCEF由NEF代替,HSS由UDM/PSP AAA代替,参阅图13所示,在图13中,S1001-S1014c分别与图12中S901-S914c执行相同操作,在此不再赘述。In the embodiment of the present application, the method shown in FIG. 12 is also applicable to the network architecture shown in FIG. 2. When the method shown in FIG. 12 is applied to the network architecture shown in FIG. 2, the network element NH MME in FIG. Instead of NH AMF, IWK-SCEF is replaced by IWK-NEF, SCEF is replaced by NEF, and HSS is replaced by UDM/PSP AAA. Referring to FIG. 13, in FIG. 13, S1001-S1014c are executed in the same manner as S901-S914c in FIG. 12, respectively. Operation will not be repeated here.
上述主要从各个网元之间交互的角度对本申请提供的方案进行了介绍。可以理解的是,上述各网元为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应 认为超出本发明的范围。The foregoing provides a description of the solution provided by the present application from the perspective of interaction between the various network elements. It can be understood that, in order to implement the above functions, each of the foregoing network elements includes a hardware structure and/or a software module corresponding to each function. Those skilled in the art will readily appreciate that the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
在采用集成单元的情况下,图14示出了本发明实施例中所涉及的一种装置的可能的示例性框图,该装置1400可以以软件的形式存在,也可以为终端设备或者第一网元或者第二网元,还可以为终端设备中的芯片或者第一网元中的芯片或者第二网元中的芯片。装置1400包括:处理单元1402和通信单元1403。处理单元1402用于对装置1400的动作进行控制管理,例如,当装置1400为终端设备时,处理单元1402用于执行根据所述第一请求确定第一响应等技术过程,当装置1400为第一网元时,处理单元1402用于执行将所述第一请求携带于NAS消息中,还用于执行图4中S101d'等技术过程,当装置1400为第二网元时,处理单元1402用于执行图4中S101c和S101d等技术过程。通信单元1403用于支持装置1400与其他网络实体的通信。当装置1400为终端设备时,通信单元1403可用于支持装置1400执行图4中的S102、S103、S103a以及S103b等技术过程,当装置1400为第一网元时,通信单元1403可用于支持装置1400执行图4中的S102、S103、S103a、S103b、S101、S101b、S101a'、S102a、S102b、S104a以及S105a等技术过程,当装置1400为第二网元时,通信单元1403可用于支持装置1400执行图4中的S101a、S103a3、S101b、S101a'、S101b'以及S104b等技术过程。装置1400还可以包括存储单元1401,用于存储装置1400的程序代码和数据。FIG. 14 shows a possible exemplary block diagram of a device involved in the embodiment of the present invention. The
其中,处理单元1402可以是处理器或控制器,例如可以是通用中央处理器(central processing unit,CPU),通用处理器,数字信号处理(digital signal processing,DSP),专用集成电路(application specific integrated circuits,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元1403可以是通信接口、收发器或收发电路等。存储单元1401可以是存储器。The
当处理单元1402为处理器,通信单元1403为收发器,存储单元1401为存储器时,本发明实施例所涉及的装置1400可以为图15所示的装置。When the
图15所示,为本申请的实施例提供的上述实施例中所涉及的装置的一种可能的逻辑结构示意图。如图15所示,该装置1500可以包括至少一个处理器1501。在本申请的实施例中,处理器1501用于对该装置的动作进行控制管理,可选的,装置还可以包括存储器1502,收发器1503。处理器1501、收发器1503以及存储器1502可以相互连接或通过总线1504相互连接。其中,该存储器1502,用于存储装置的代码和数据。收发器1503用于支持该装置进行通信。FIG. 15 is a schematic diagram showing a possible logical structure of an apparatus involved in the foregoing embodiment provided by an embodiment of the present application. As shown in FIG. 15, the
下面对装置的各个构成部件进行具体的介绍:The following is a detailed introduction to the various components of the device:
处理器1501是装置的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器1501是一个CPU,也可以是通过ASIC的方式实现,或者是被配置成实施本发明实施例的一个或多个集成电路,例如:一个或多个DSP,或,一个或者多个FPGA。The
其中,处理器1501可以通过运行或执行存储在存储器1502内的软件程序,以及调用存储在存储器1502内的数据,执行所述装置1500的各种功能。The
存储器1502可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存 储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器1502可以是独立存在,通过通信总线1504与处理器1501相连接。存储器1502也可以和处理器1501集成在一起。The
收发器1503,使用任何收发器一类的装置,用于与其他节点间的通信,如:第一网元等。还可以用于与通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(Wireless Local Area Networks,WLAN)等。收发器1203可以包括接收单元实现接收功能,以及发送单元实现发送功能。The
通信总线1504,可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部装置互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The
图15中示出的设备结构并不构成对装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The device structure illustrated in Figure 15 does not constitute a limitation to the device, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
当图15所示的装置为终端设备,或者终端设备中的芯片时,还可执行以下步骤:When the device shown in FIG. 15 is a terminal device or a chip in the terminal device, the following steps can also be performed:
一种可能的实现方式中,收发器1503,用于接收来自第一网元的第一请求,其中,所述第一请求为来自发送端的请求,所述第一请求包括配置参数,所述第一请求用于请求根据所述配置参数对所述装置进行配置;处理器1501,用于根据所述第一请求确定第一响应;所述收发器1503,还用于通过非接入层NAS消息向所述第一网元发送所述第一响应,所述第一网元属于第一网络。In a possible implementation, the
一种可能的实现方式中,所述第一响应中包括以下信息中的一种或多种:所述装置对所述第一请求的确认信息、所述装置的标识信息、第四网元的标识信息、第四网元的参考标识信息以及所述装置的状态信息,所述第四网元属于第二网络。In a possible implementation, the first response includes one or more of the following information: the device confirms the first request, the identifier information of the device, and the fourth network element. The identification information, the reference identification information of the fourth network element, and the status information of the device, where the fourth network element belongs to the second network.
一种可能的实现方式中,所述收发器1503,还用于:In a possible implementation manner, the
在接收第一网元发送的第一请求之前,向所述第一网元发送第一指示,所述第一指示用于指示所述装置支持通过NAS消息对所述装置进行配置。Before receiving the first request sent by the first network element, sending a first indication to the first network element, where the first indication is used to indicate that the apparatus supports configuring the apparatus by using a NAS message.
一种可能的实现方式中,所述收发器1503,还用于:In a possible implementation manner, the
在向所述第一网元发送第一指示之后,接收来自所述第一网元的第二指示,所述第二指示用于指示所述第一网络支持通过NAS消息配置所述装置。After transmitting the first indication to the first network element, receiving a second indication from the first network element, the second indication is used to indicate that the first network supports configuring the device by using a NAS message.
一种可能的实现方式中,所述收发器1503,具体用于:In a possible implementation manner, the
在接入所述第一网络之前的网络发现的过程中,向所述第一网元发送所述第一指示,并接收来自所述第一网元的所述第二指示;或者,在与所述第一网元在鉴权过程中,向所述第一网元发送所述第一指示,并接收来自所述第一网元的所述第二指示;或者,在与所述第一网元在注册过程中,向所述第一网元发送所述第一指示,并接收来自所述第一网元的所述第二指示。Transmitting, by the first network element, the first indication, and receiving the second indication from the first network element, in a process of network discovery before accessing the first network; or Transmitting, by the first network element, the first indication to the first network element, and receiving the second indication from the first network element, or in the first During the registration process, the network element sends the first indication to the first network element and receives the second indication from the first network element.
一种可能的实现方式中,所述第一网络为NHN网络,所述第二网络为3GPP网络或者PSP网络。In a possible implementation manner, the first network is an NHN network, and the second network is a 3GPP network or a PSP network.
本申请实施例还提供了一种计算机存储介质,用于储存为上述图14、图15所示的消息传输装置所用的计算机软件指令,其包含用于执行上述方法实施例所设计的程序代码。通过执行存储的程序代码,可以实现消息的传输。The embodiment of the present application further provides a computer storage medium for storing computer software instructions used by the message transmission apparatus shown in FIG. 14 and FIG. 15 above, which includes program code for executing the foregoing method embodiment. The transmission of the message can be achieved by executing the stored program code.
本申请实施例还提供了计算机程序产品。该计算机程序产品包括计算机软件指令,该计算机软件指令可通过处理器进行加载来实现上述方法实施例中的方法。The embodiment of the present application also provides a computer program product. The computer program product includes computer software instructions that are loadable by a processor to implement the methods of the above method embodiments.
本申请实施例还提供一种芯片,该芯片包括处理器和收发组件,可选地,还包括存储单元,可用于执行本申请上述实施例的方法。The embodiment of the present application further provides a chip, which includes a processor and a transceiver component, and optionally, a storage unit, which can be used to perform the method of the foregoing embodiment of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it 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 the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
本申请实施例中所描述的各种说明性的逻辑单元和电路可以通过通用处理器,数字信号处理器,专用集成电路(ASIC),现场可编程门阵列(FPGA)或其它可编程逻辑装置,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算装置的组合来实现,例如数字信号处理器和微处理器,多个微处理器,一个或多个微处理器联合一个数字信号处理器核,或任何其它类似的配置来实现。The various illustrative logic units and circuits described in the embodiments of the present application may be implemented by a general purpose processor, a digital signal processor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device. Discrete gate or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the functions described. A general purpose processor may be a microprocessor. Alternatively, the general purpose processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration. achieve.
本申请实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件单元、或者这两者的结合。软件单元可以存储于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于ASIC中,ASIC可以设置于终端设备中。可选地,处理器和存储媒介也可以设置于终端设备中的不同的部件中。The steps of the method or algorithm described in the embodiments of the present application may be directly embedded in hardware, a software unit executed by a processor, or a combination of the two. The software unit can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium in the art. Illustratively, the storage medium can be coupled to the processor such that the processor can read information from the storage medium and can write information to the storage medium. Alternatively, the storage medium can also be integrated into the processor. The processor and the storage medium may be disposed in the ASIC, and the ASIC may be disposed in the terminal device. Alternatively, the processor and the storage medium may also be disposed in different components in the terminal device.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管结合具体特征及其实施例对本发明进行了描述,显而易见的,在不脱离本发明的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本发明的示例性说明,且视为已覆盖本发明范围内的任意和所有修改、 变化、组合或等同物。显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。While the invention has been described with respect to the specific embodiments and embodiments thereof, various modifications and combinations may be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are to be construed as the It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention
Claims (33)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810206475.4A CN110278095A (en) | 2018-03-13 | 2018-03-13 | A kind of method for message transmission and device |
| CN201810206475.4 | 2018-03-13 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019174582A1 true WO2019174582A1 (en) | 2019-09-19 |
Family
ID=67908582
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/077877 Ceased WO2019174582A1 (en) | 2018-03-13 | 2019-03-12 | Message transmission method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110278095A (en) |
| WO (1) | WO2019174582A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113938835A (en) * | 2020-07-13 | 2022-01-14 | 华为技术有限公司 | Method and device for determining close contact terminal equipment |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110753358B (en) * | 2019-10-09 | 2022-09-27 | 中国联合网络通信集团有限公司 | Configuration method and device |
| CN111404944B (en) * | 2020-03-19 | 2022-03-18 | 中国电子科技集团公司第三十研究所 | Safe UDM/HSS design method and system for realizing main authentication enhancement |
| CN115278541B (en) * | 2021-04-30 | 2025-10-03 | 华为技术有限公司 | Terminal information sharing method and communication device |
| CN116846522A (en) * | 2022-03-23 | 2023-10-03 | 中移(成都)信息通信科技有限公司 | Information transmission methods, devices, related equipment and storage media |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017140375A1 (en) * | 2016-02-19 | 2017-08-24 | Huawei Technologies Co., Ltd. | Function selection in mobile networks |
| CN107113709A (en) * | 2014-10-07 | 2017-08-29 | 高通股份有限公司 | Via the unloading service of neutral mainframe network |
| WO2018038936A1 (en) * | 2016-08-22 | 2018-03-01 | Alcatel-Lucent Usa Inc. | Preventing collision of mobile session identifiers in neutral host networks |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7474645B2 (en) * | 2003-04-11 | 2009-01-06 | Nokia Siemens Networks Oy | Charging method |
| CN102202270B (en) * | 2010-03-24 | 2016-03-30 | 中兴通讯股份有限公司 | Based on method for message transmission and the interworking function entity of machine type communication |
| CN102130917B (en) * | 2011-03-28 | 2015-07-22 | 华为技术有限公司 | Methods for registering session initiation protocol (SIP) terminal and processing service and related equipment |
| CN104144434B (en) * | 2013-05-09 | 2018-10-09 | 华为技术有限公司 | Realize the method and device of MTC monitoring |
| CN104349373B (en) * | 2013-08-07 | 2018-10-30 | 华为终端有限公司 | Terminal monitoring event configuration method, application server and homing position equipment |
-
2018
- 2018-03-13 CN CN201810206475.4A patent/CN110278095A/en not_active Withdrawn
-
2019
- 2019-03-12 WO PCT/CN2019/077877 patent/WO2019174582A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107113709A (en) * | 2014-10-07 | 2017-08-29 | 高通股份有限公司 | Via the unloading service of neutral mainframe network |
| WO2017140375A1 (en) * | 2016-02-19 | 2017-08-24 | Huawei Technologies Co., Ltd. | Function selection in mobile networks |
| WO2018038936A1 (en) * | 2016-08-22 | 2018-03-01 | Alcatel-Lucent Usa Inc. | Preventing collision of mobile session identifiers in neutral host networks |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113938835A (en) * | 2020-07-13 | 2022-01-14 | 华为技术有限公司 | Method and device for determining close contact terminal equipment |
| CN113938835B (en) * | 2020-07-13 | 2023-07-07 | 华为技术有限公司 | A method and device for determining close contact terminal equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110278095A (en) | 2019-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11844142B2 (en) | Communications method and apparatus | |
| US12088501B2 (en) | Systems and methods for supporting traffic steering through a service function chain | |
| JP7712341B2 (en) | Data transmission method, communication device, and communication system | |
| JP7187580B2 (en) | Method, apparatus and system for session management | |
| CN110999431B (en) | Method and device for registering terminal in wireless communication system | |
| CN108323245B (en) | Registration and session establishment method, terminal and AMF entity | |
| CN113938911B (en) | A communication method, device and system | |
| CN108684073B (en) | A registration and session establishment method, terminal and AMF entity | |
| JP7296993B2 (en) | Communication method and communication device | |
| CN113630749B (en) | Method and device for acquiring edge service | |
| KR102469973B1 (en) | Communication method and device | |
| JP7043631B2 (en) | Methods and devices for determining SSC mode | |
| CN110612742A (en) | Method and apparatus for supporting session continuity of 5G cellular network | |
| WO2019174582A1 (en) | Message transmission method and device | |
| WO2019185062A1 (en) | Communication method and device | |
| CN111385830A (en) | Communication method and device | |
| KR20180109899A (en) | How to Establish a Roaming Connection | |
| WO2019037500A1 (en) | Method and apparatus for selecting radio access network device | |
| CN113747371A (en) | Management method and device for local area network communication | |
| KR20240060670A (en) | Communication methods and devices | |
| JP2025128072A (en) | Method for configuring evolved packet system non-access stratum security algorithm, and related apparatus | |
| WO2023143212A1 (en) | Communication method and apparatus | |
| WO2021136301A1 (en) | Communication method and apparatus | |
| WO2023184462A1 (en) | Dedicated mbr configuration for network slice in communication networks | |
| CN117596584A (en) | Communication method and communication device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19767678 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19767678 Country of ref document: EP Kind code of ref document: A1 |