WO2019196814A1 - Method for accessing service network, and communication apparatus - Google Patents

Method for accessing service network, and communication apparatus Download PDF

Info

Publication number
WO2019196814A1
WO2019196814A1 PCT/CN2019/081850 CN2019081850W WO2019196814A1 WO 2019196814 A1 WO2019196814 A1 WO 2019196814A1 CN 2019081850 W CN2019081850 W CN 2019081850W WO 2019196814 A1 WO2019196814 A1 WO 2019196814A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network element
network
information
session
Prior art date
Application number
PCT/CN2019/081850
Other languages
French (fr)
Chinese (zh)
Inventor
诸华林
靳维生
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201810674225.3A external-priority patent/CN110366011B/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP19784242.0A priority Critical patent/EP3758300B1/en
Priority to BR112020017960-4A priority patent/BR112020017960A2/en
Publication of WO2019196814A1 publication Critical patent/WO2019196814A1/en
Priority to US17/013,110 priority patent/US11553339B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server

Definitions

  • the embodiments of the present application relate to communication technologies, and in particular, to a method and a communication device for accessing a service network.
  • IPTV internet protocol television
  • RG residential gateway
  • the terminal can access the IPTV network through a wired network.
  • the prior art does not relate to how terminals access the IPTV network in other networks (eg, wireless networks). Therefore, the existing terminal accessing the IPTV network cannot meet the requirements in actual use.
  • the embodiment of the present invention provides a method and a communication device for accessing a service network, which are used to solve the technical problem that a terminal cannot access an IPTV network through another network (for example, a wireless network) in the prior art.
  • an embodiment of the present application provides a method for accessing a service network, where the method includes:
  • the user plane network element obtains an access message, where the access message is used for the terminal to access the service network, and the access message includes: verification information of the terminal in the service network;
  • the user plane network element sends the access message to the serving network.
  • the user plane network element of the access network may send an access message for the terminal access service network to the service network, to assist The terminal accesses the service network, so that the terminal can access the service network through the wireless network, thereby expanding the usage scenario of the service network.
  • the method further includes:
  • the user plane network element receives the verification information sent by the session management network element and the initial access message sent by the terminal;
  • the user plane network element obtains an access message, including:
  • the user plane network element acquires the access message according to the initial access message and the verification information.
  • the user plane network element of the access network may add the verification information of the terminal in the service network in the initial access message sent by the terminal, so that the service network may be based on the
  • the authentication information is used to authenticate the terminal, so that the manner in which the access network adds the verification information to the initial access message sent by the terminal is flexible and diverse, and the usage scenario is expanded.
  • the user plane network element obtains an access message, including:
  • the user plane network element receives the access message sent by the session management network element.
  • the method for accessing the service network provided by the possible implementation manner, the operation of adding the verification information of the terminal in the service network to the initial access message sent by the terminal may be processed by the session management network element of the access network, thereby
  • the user plane network element only needs to send the access message sent by the session management network element to the service network, and does not need to process the access message, thereby reducing the power consumption of the user plane network element, and also making the access network
  • the initial access message sent by the terminal adds flexible authentication information, which expands the usage scenario.
  • the method further includes:
  • the user plane network element obtains a feedback message of the service network to the access message, where the feedback message includes identifier information of the terminal;
  • the user plane network element sends the feedback message to the terminal according to the identifier information of the terminal.
  • the user plane network element of the access network may send the feedback of the service network to the terminal according to the identifier information of the terminal included in the feedback message sent by the service network to the terminal
  • the message is sent to the terminal to assist the terminal to access the service network, so that the terminal can access the service network through the access network to be flexible and diverse, so as to meet the requirements of different application scenarios.
  • the user plane network element sends the feedback message of the access message to the terminal according to the identifier information of the terminal, including:
  • the user plane network element sends the feedback message to the terminal by using a session corresponding to the session information of the terminal.
  • the user plane network element of the access network may be identified according to the identifier information of the terminal included in the feedback message sent by the service network to the terminal, and the mapping relationship. Sending the feedback message to the session, so that the feedback message sent by the service network to the terminal is sent to the terminal through the corresponding session, so as to assist the terminal to access the service network, so that the terminal can access the service network through the access network.
  • the user plane network element of the access network may be identified according to the identifier information of the terminal included in the feedback message sent by the service network to the terminal, and the mapping relationship.
  • Sending the feedback message to the session so that the feedback message sent by the service network to the terminal is sent to the terminal through the corresponding session, so as to assist the terminal to access the service network, so that the terminal can access the service network through the access network.
  • the method further includes:
  • the user plane network element receives the identifier information of the terminal and the session information of the terminal that are sent by the session management network element;
  • the user plane network element establishes a mapping relationship between the identifier information of the terminal and the session information of the terminal;
  • the user plane network element receives a mapping relationship between the identifier information of the terminal and the session information of the terminal that are sent by the session management network element;
  • the user plane network element acquires an initial access message sent by the terminal, where the initial access message includes identifier information of the terminal;
  • the user plane network element receives session information of the terminal sent by the session management network element;
  • the user plane network element establishes a mapping relationship between the identifier information of the terminal and the session information of the terminal.
  • the method for accessing the service network provided by the possible implementation manner enables the user plane network element of the access network to obtain the mapping relationship between the identifier information of the terminal and the session information of the terminal in a flexible manner to meet the requirements of different application scenarios. Thereby, the usage scenario in which the terminal accesses the service network through the access network is expanded.
  • the method further includes:
  • the user plane network element receives a feedback message of the service network sent by the session management network element to the access message, where the feedback message includes session information of the terminal;
  • the user plane network element sends the feedback message to the terminal according to the session corresponding to the session information of the terminal.
  • the session management network element of the access network may determine the session for sending the feedback message according to the identifier information of the terminal included in the feedback message sent by the service network to the terminal.
  • the session information is carried in the feedback message and sent to the user plane network element, so that the user plane network element can directly send the feedback message to the terminal based on the session corresponding to the session identifier, without determining which session the sender message is sent.
  • the power consumption of the user plane network element is reduced, and the manner in which the terminal accesses the service network is flexible and diverse, and the usage scenario is expanded.
  • the access message obtained by the user plane network element includes: first address information allocated by the session management network element to the terminal, and a second address allocated by the service network to the terminal. information;
  • the user plane network element sends the access message to the service network, including:
  • the user plane network element deletes the first address information in the access message
  • the user plane network element sends an access message after deleting the first address information to the service network.
  • the user plane network element can connect the terminal by deleting the first address information in the access message.
  • the terminal can access the service network through the access network, thereby improving the user experience.
  • the feedback message acquired by the user plane network element includes second address information allocated by the service network to the terminal;
  • the method further includes:
  • the user plane network element acquires first address information allocated by the session management network element to the terminal;
  • the user plane network element adds the first address information to the feedback message
  • the user plane network element sends the feedback message to the terminal, where the feedback message includes: the first address information and the second address information.
  • the user plane network element can send the first address information to the terminal by adding the first address information to the feedback message.
  • the terminal Under the premise of not modifying the existing access network to establish the session flow of the terminal, the terminal can access the service network through the access network, thereby improving the user experience.
  • the embodiment of the present application provides a method for accessing a service network, where the method includes:
  • the session management network element receives a session establishment request message sent by the terminal, where the session establishment request message is used to request the session management network element to establish a session of the terminal;
  • the session management network element obtains the verification information of the terminal in the service network, and the verification message is used by the terminal to access the service network;
  • the session management network element sends the verification information to the user plane network element.
  • the session management network element of the access network may obtain the verification information of the terminal in the service network during the process of establishing a session for the terminal, and obtain the obtained verification.
  • the information is sent to the user plane network element, so that the user plane network element can transmit the verification information to the service network when the terminal accesses the service network, so that the service network can authenticate the terminal based on the verification information, so that the terminal passes the
  • the access network can access the service network.
  • the session management network element obtains the verification information of the terminal in the service network, including:
  • the session management network element obtains the verification information from a data management network element, or a policy control network element, or a local database, or an access management network element.
  • the method for accessing the service network provided by the possible implementation manner enables the session management network element of the access network to obtain the verification information of the terminal in the service network in a flexible manner to meet the requirements of different application scenarios, thereby expanding the terminal.
  • the usage scenario of accessing the service network through the access network is not limited to the access network.
  • the method further includes:
  • the session management network element acquires an access message according to the initial access message and the verification information, where the access message includes: the verification information;
  • the session management network element sends the verification information to the user plane network element, including:
  • the session management network element sends the access message to the user plane network element.
  • the method for accessing the service network provided by the possible implementation manner, the operation of adding the verification information of the terminal in the service network in the initial access message sent by the terminal may be processed by the session management network element of the access network, so that the connection is performed.
  • the session management network element that enters the network sends the authentication information of the terminal to the user plane network element in a flexible manner to meet the requirements of different application scenarios, thereby expanding the use scenario of the terminal accessing the service network through the access network. .
  • the method further includes:
  • the session management network element acquires identification information of the service network according to the session establishment request message
  • the session management network element notifies the policy control network element that the terminal will obtain a service from the service network;
  • the session management network element receives the policy of the service network sent by the policy control network element.
  • the method further includes:
  • the session management network element acquires identification information of the terminal and session information of the terminal;
  • the session management network element acquires session information of the terminal
  • the session management network element sends session information of the terminal to the user plane network element.
  • the session management network element is configured to send the identifier information of the terminal and the session information of the terminal to the user plane network element, or send the session information of the terminal to assist the user plane.
  • the network element obtains the mapping relationship between the identifier information of the terminal and the session information of the terminal, so that the user plane network element of the access network can obtain the identifier information of the terminal included in the feedback message sent by the service network to the terminal, and the mapping relationship Identifying a session for sending the feedback message, so that the feedback message sent by the service network to the terminal is sent to the terminal through the corresponding session, to assist the terminal to access the service network, so that the terminal can access the service network through the access network.
  • the methods are flexible and diverse to meet the needs of different application scenarios.
  • the method further includes:
  • the session management network element acquires identification information of the terminal
  • the session management network element establishes a mapping relationship between the identifier information of the terminal and the session information of the terminal according to the identifier information of the terminal and the session information of the terminal;
  • the session management network element sends the mapping relationship to the user plane network element.
  • the session management network element sends the mapping relationship between the identifier information of the terminal and the session information of the terminal to the user plane network element, so that the user plane network element of the access network can Determining, according to the identification information of the terminal included in the feedback message sent by the service network to the terminal, and the mapping relationship, the session for sending the feedback message, so that the feedback message sent by the service network to the terminal through the corresponding session is sent to
  • the terminal is configured to assist the terminal to access the service network, so that the terminal can access the service network through the access network to be flexible and diverse, so as to meet the requirements of different application scenarios.
  • the method further includes:
  • the session management network element receives a feedback message of the service network to the access message, where the feedback message includes: identifier information of the terminal;
  • the session management network element sends the feedback message to the user plane network element, where the feedback message includes session information of the terminal.
  • the session management network element of the access network may determine the session for sending the feedback message according to the identifier information of the terminal included in the feedback message sent by the service network to the terminal. And the session information is carried in the feedback message and sent to the user plane network element, so that the user plane network element can directly send the feedback message to the terminal according to the session corresponding to the session identifier, and the session that sends the feedback message is not determined. Which one makes the terminal access the service network flexible and diverse, and expands the use scenario.
  • the method further includes:
  • the session management network element acquires the identification information of the terminal from the data management network element, or the policy control network element, or the local database, or the access management network element; or
  • the session management network element receives an initial access message sent by the terminal, where the initial access message includes: identifier information of the terminal.
  • the method for accessing the service network provided by the possible implementation manner enables the session management network element of the access network to obtain the identification information of the terminal in a flexible manner to meet the requirements of different application scenarios, thereby expanding the terminal accessing the network. Access scenario of the access service network.
  • an embodiment of the present application provides a method for accessing a service network, where the method includes:
  • the terminal determines to establish a session
  • the terminal sends a session establishment request message to the session management network element, where the session establishment request message is used to request the session management network element to establish a session of the terminal.
  • the terminal may initiate a session establishment request to the session management network element of the access network, so that the session management network element can establish the session management network element.
  • the session is such that the terminal can access the service network by using the session, so that the terminal can access the service network through the wireless network.
  • the terminal determines to establish a session, including:
  • the terminal determines to establish the session; or,
  • the terminal determines to establish the session when completing the registration process of the mobile network.
  • the method further includes:
  • the terminal After establishing the session, the terminal sends an initial access message to the serving network, where the initial access message is used to request access to the service network.
  • the terminal may use the session to initiate a process of accessing the service network, thereby enabling the terminal to access the service network through the wireless network.
  • the terminal sends an initial access message to the serving network, including:
  • the terminal When receiving the data of the service network sent by the client, the terminal sends an initial access message to the service network.
  • the session establishment request message includes indication information, where the indication information is used to indicate that the terminal acquires a network protocol IP address from a service network.
  • the method for accessing a service network provided by the possible implementation manner, because the service network allocates an IP address in the service network to the terminal, and communicates with the terminal through the IP address. Therefore, the terminal can use the indication information in the session establishment request message to instruct the session management network element not to allocate an IP address to the terminal when the session is established, so as to prevent the session management network element from assigning the IP address in the access network to the terminal, which is reduced.
  • the cost of session management NEs because the service network allocates an IP address in the service network to the terminal, and communicates with the terminal through the IP address. Therefore, the terminal can use the indication information in the session establishment request message to instruct the session management network element not to allocate an IP address to the terminal when the session is established, so as to prevent the session management network element from assigning the IP address in the access network to the terminal, which is reduced.
  • the cost of session management NEs because the service network allocates an IP address in the service network to the terminal, and communicates with the terminal through the IP address. Therefore, the terminal can use
  • the indication information includes: indication information that the dynamic host configuration protocol performs IP address allocation, or identifier information of an Ethernet type of the session.
  • the method for accessing the service network provided by the possible implementation manner enables the terminal to indicate that the session management network element does not need to allocate an IP address to the terminal when the session is established, so as to meet the requirements of different application scenarios, thereby expanding the terminal adoption. Access scenario for accessing the network access service network.
  • the method further includes:
  • the terminal sends an uplink message to the service network, where the uplink message includes: the first address information and the second address information;
  • the terminal deletes the first address information of the downlink message.
  • the method for accessing the service network provided by the possible implementation manner, when the access network and the service network all assign addresses to the terminal, the terminal can still send a message to the service network in the manner of the embodiment. Under the premise of not modifying the existing access network to establish the session flow of the terminal, the terminal can access the service network through the access network, thereby improving the user experience.
  • an embodiment of the present application provides a method for accessing a service network, where the method includes:
  • the data management network element receives the verification information of the terminal in the service network
  • the data management network element uses the verification information of the terminal in the service network as the information of the terminal.
  • the data management network element of the access network may store the verification information of the terminal in the service network as information of the terminal, thereby causing the terminal to
  • the terminal can provide the verification information of the terminal in the service network to assist the terminal to access the service network, so that the terminal can access the service network through the wireless network, thereby expanding the usage scenario of the service network.
  • the data management network element receives the verification information of the terminal in the service network, including:
  • the data management network element receives the verification information of the terminal in the service network sent by the service network.
  • the data management network element receives the verification information of the terminal in the service network, including:
  • the data management network element receives the verification information of the terminal in the service network sent by the network element of the network management system.
  • the method further includes:
  • the data management network element sends a response message, where the response message is used to notify the data management network element to use the verification information of the terminal in the service network as the information of the terminal.
  • an embodiment of the present application provides a communications apparatus, where the communications apparatus includes:
  • a processing unit configured to acquire an access message, where the access message is used by the terminal to access the service network, where the access message includes: verification information of the terminal in the service network;
  • a sending unit configured to send the access message to the serving network.
  • the device further includes:
  • a receiving unit configured to receive the verification information sent by the session management network element and the initial access message sent by the terminal;
  • the processing unit is specifically configured to acquire the access message according to the initial access message and the verification information.
  • the processing unit is specifically configured to receive the access message sent by a session management network element.
  • the processing unit is further configured to obtain a feedback message of the service network to the access message, where the feedback message includes identifier information of the terminal, and according to the terminal Identifying information, and controlling the sending unit to send the feedback message to the terminal.
  • the processing unit is specifically configured to determine session information of the terminal according to a mapping relationship between the identifier information of the terminal and the session information of the terminal, and control the sending unit to pass the The session corresponding to the session information of the terminal sends the feedback message to the terminal.
  • the device further includes:
  • a receiving unit configured to receive identifier information of the terminal sent by the session management network element, and session information of the terminal;
  • the processing unit is further configured to establish a mapping relationship between the identifier information of the terminal and the session information of the terminal;
  • the receiving unit is configured to receive a mapping relationship between the identifier information of the terminal and the session information of the terminal that are sent by the session management network element;
  • the receiving unit is configured to receive session information of the terminal sent by the session management network element;
  • the processing unit is further configured to acquire an initial access message sent by the terminal, and establish a mapping relationship between the identifier information of the terminal and the session information of the terminal, where the initial access message includes an identifier of the terminal. information.
  • the device further includes:
  • a receiving unit configured to receive a feedback message of the service network sent by the session management network element to the access message, where the feedback message includes session information of the terminal;
  • the processing unit is further configured to control, according to the session corresponding to the session information of the terminal, the sending unit to send the feedback message to the terminal.
  • the access message obtained by the processing unit includes first address information allocated by the session management network element for the terminal, and second address information allocated by the service network to the terminal.
  • the processing unit is further configured to delete the first address information in the access message
  • the sending unit is specifically configured to send an access message after deleting the first address information to the serving network.
  • the feedback message acquired by the processing unit includes second address information that is allocated by the service network to the terminal;
  • the processing unit is further configured to acquire first address information allocated by the session management network element to the terminal, and add the first address information to the feedback message;
  • the sending unit is specifically configured to send the feedback message to the terminal, where the feedback message includes: the first address information and the second address information.
  • the beneficial effects of the communication device provided by the foregoing fifth aspect and the possible implementation manners of the fifth aspect
  • the beneficial effects of the first aspect and the possible implementation manners of the first aspect may be referred to herein. Narration.
  • an embodiment of the present application provides a communications apparatus, where the communications apparatus includes:
  • a receiving unit configured to receive a session establishment request message sent by the terminal, where the session establishment request message is used to request to establish a session of the terminal;
  • a processing unit configured to obtain verification information of the terminal in a service network, where the verification message is used by the terminal to access the service network;
  • a sending unit configured to send the verification information to the user plane network element.
  • the processing unit is specifically configured to obtain the verification information from a data management network element, or a policy control network element, or a local database, or an access management network element.
  • the receiving unit is further configured to receive an initial access message sent by the terminal;
  • the processing unit is further configured to acquire an access message according to the initial access message and the verification information, where the access message includes: the verification information;
  • the sending unit is specifically configured to send the access message to the user plane network element.
  • the processing unit is further configured to acquire, according to the session establishment request message, identifier information of the service network, and determine, according to the identifier information of the service network, the service network.
  • a policy control network element that provides a policy
  • the sending unit is further configured to notify the policy control network element that the terminal obtains a service from the service network;
  • the receiving unit is further configured to receive a policy of the service network sent by the policy control network element.
  • the processing unit is further configured to acquire identifier information of the terminal and session information of the terminal;
  • the sending unit is further configured to send the identifier information of the terminal and the session information of the terminal to the user plane network element;
  • the processing unit is further configured to acquire session information of the terminal
  • the sending unit is further configured to send session information of the terminal to the user plane network element.
  • the processing unit is further configured to acquire identifier information of the terminal, and establish, according to the identifier information of the terminal, session information of the terminal, identifier information and location of the terminal. Describe the mapping relationship of the session information of the terminal;
  • the sending unit is further configured to send the mapping relationship to the user plane network element.
  • the receiving unit is further configured to receive a feedback message of the service network to the access message, where the feedback message includes: identifier information of the terminal;
  • the processing unit is further configured to determine session information of the terminal according to the identifier information of the terminal, and the mapping relationship between the identifier information of the terminal and the session information of the terminal;
  • the sending unit is further configured to send the feedback message to the user plane network element, where the feedback message includes session information of the terminal.
  • the processing unit is specifically configured to acquire the identifier information of the terminal from a data management network element, or a policy control network element, or a local database, or an access management network element. ;or,
  • the processing unit is configured to receive, by using the receiving unit, an initial access message sent by the terminal, where the initial access message includes: identifier information of the terminal.
  • an embodiment of the present application provides a communications apparatus, where the communications apparatus includes:
  • a processing unit configured to determine to establish a session
  • a sending unit configured to send a session establishment request message to the session management network element, where the session establishment request message is used to request the session management network element to establish the session.
  • the processing unit is specifically configured to: when the data of the service network sent by the client is received, determine to establish the session; or, when completing the registration process of the mobile network, determine Establish the session.
  • the sending unit is further configured to: after the session is established, send an initial access message to the serving network, where the initial access message is used to request access to the service network. .
  • the sending unit is specifically configured to send an initial access message to the serving network when receiving data of the service network sent by the client.
  • the session establishment request message includes indication information, where the indication information is used to instruct the device to obtain a network protocol IP address from a service network.
  • the indication information includes: indication information that the dynamic host configuration protocol performs IP address allocation, or identifier information of an Ethernet type of the session.
  • the device further includes:
  • a receiving unit configured to receive a session establishment response message sent by the session management network element, where the session establishment response message includes: first address information allocated by the session management network element;
  • the processing unit is further configured to obtain a feedback message of the service network to the initial access message, where the feedback message includes second address information allocated by the service network;
  • the sending unit is further configured to send an uplink message to the serving network, where the uplink message includes: the first address information and the second address information;
  • the receiving unit is further configured to receive a downlink message sent by the serving network, where the downlink message includes: the first address information and the second address information;
  • the processing unit is further configured to delete first address information of the downlink message.
  • an embodiment of the present application provides a communications apparatus, where the communications apparatus includes:
  • a receiving unit configured to receive verification information of the terminal in the service network
  • a processing unit configured to use the verification information of the terminal in the service network as the information of the terminal.
  • the embodiment of the present application provides a communication apparatus, where the communication apparatus includes: a processor, a memory, a receiver, and a transmitter; the receiver and the transmitter are both coupled to the processor, The processor controls a receiving action of the receiver, and the processor controls a sending action of the transmitter;
  • the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform the access provided by the first aspect or the possible embodiments of the first aspect The method of serving the network.
  • the embodiment of the present application provides a communication apparatus, where the communication apparatus includes: a processor, a memory, a receiver, and a transmitter; the receiver and the transmitter are both coupled to the processor, The processor controls a receiving action of the receiver, and the processor controls a sending action of the transmitter;
  • the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform the access provided by the second aspect or the possible embodiments of the second aspect The method of serving the network.
  • an embodiment of the present application provides a communication apparatus, where the communication apparatus includes: a processor, a memory, a receiver, and a transmitter; the receiver and the transmitter are both coupled to the processor, where The processor controls a receiving action of the receiver, and the processor controls a sending action of the transmitter;
  • the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform access as provided by the third aspect or the possible embodiments of the third aspect The method of serving the network.
  • the embodiment of the present application provides a communication apparatus, where the communication apparatus includes: a processor, a memory, and a receiver; the receiver is coupled to the processor, and the processor controls the receiver Receiving action
  • the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform access as provided by the fourth aspect or the possible embodiments of the fourth aspect The method of serving the network.
  • the embodiments of the present application provide a communication apparatus, including a unit, a module, or a circuit, for performing the method provided by the foregoing first aspect or the possible implementation manners of the first aspect.
  • the communication device may be a user plane network element or a module applied to the user plane network element.
  • it may be a chip applied to the user plane network element.
  • the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit for performing the method provided by the foregoing second aspect or the possible embodiments of the second aspect.
  • the communication device may be a session management network element or a module applied to the session management network element, for example, may be a chip applied to the session management network element.
  • the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit, for performing the method provided by the foregoing third aspect or the possible implementation manner of the third aspect.
  • the communication device may be a terminal or a module applied to the terminal, for example, may be a chip applied to the terminal.
  • the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit, for performing the method provided by the foregoing fourth aspect or the possible implementation manner of the fourth aspect.
  • the communication device may be a data management network element or a module applied to the data management network element.
  • it may be a chip applied to the data management network element.
  • the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit for performing the method provided by the foregoing fourth aspect or the possible implementation manner of the fourth aspect.
  • the communication device may be a policy control network element or a module applied to the policy control network element.
  • it may be a chip applied to the policy control network element.
  • the embodiments of the present application provide a computer program product comprising instructions, which when executed on a computer, cause the computer to perform the method of the first aspect or the various possible embodiments of the first aspect.
  • the embodiments of the present application provide a computer program product comprising instructions, when executed on a computer, causing a computer to perform the method of the second aspect or the various possible embodiments of the second aspect.
  • the embodiment of the present application provides a computer program product comprising instructions, when executed on a computer, causing a computer to perform the method in the various possible embodiments of the third aspect or the third aspect.
  • an embodiment of the present application provides a computer program product comprising instructions, which when executed on a computer, cause the computer to perform the method of the fourth aspect or the various possible embodiments of the fourth aspect.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to perform the first aspect or the first aspect described above Methods in various possible implementations.
  • an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to perform the second aspect or the second aspect Methods in various possible implementations.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the third aspect or the third aspect described above Methods in various possible implementations.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the fourth aspect or the fourth aspect described above Methods in various possible implementations.
  • the embodiment of the present application provides a method for accessing a service network, where the method includes:
  • the user plane network element obtains a multicast service request message, where the multicast service request message is used by the terminal to obtain data of the first multicast service provided by the service network, where the multicast service request message includes: a first network connection identifier, And the identifier of the first multicast service, where the first network connection identifier is a network connection identifier used by the terminal when accessing the service network, where the first multicast service is provided by the service network.
  • the user plane network element controls a range of data of the first multicast service that is sent to the terminal according to the right of the terminal corresponding to the first multicast service.
  • the user plane network element accessing the network may perform the multicast service of the terminal. Control, expand the use of the service network, and improve the user experience.
  • the user plane network element determines, according to the first network connection identifier and the identifier of the first multicast service, the rights of the terminal to the first multicast service, including:
  • the multicast service authority information includes the right of the terminal corresponding to the at least one multicast service, and the second network connection identifier is a network connection identifier used by the terminal when accessing the service network.
  • the first network connection identifier is the same as the second network connection identifier, or the first network connection identifier corresponds to the second network identifier.
  • the terminal accesses the service network through the access network (for example, a wireless network)
  • the user plane network element of the access network may be connected according to the second network connection of the terminal.
  • the mapping between the identifier and the multicast service authority information controls the multicast service of the terminal, which expands the usage scenario of the service network and improves the user experience.
  • the method further includes:
  • the user plane network element acquires a correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the user plane network element acquires a correspondence between the second network connection identifier of the terminal and the multicast service authority information, including:
  • the user plane network element acquires multicast service authority information of the terminal and the second network connection identifier
  • the user plane network element establishes the corresponding relationship according to the multicast service authority information of the terminal and the second network connection identifier.
  • a user plane network element accessing the network may establish a second network of the terminal.
  • the user plane network element establishes the correspondence according to the multicast service authority information of the terminal and the second network connection identifier, including:
  • the user plane network element establishes the correspondence relationship according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the correspondence between the identifier of the terminal and the second network connection identifier. .
  • the user plane network element of the access network may correspond to the multicast service authority information of the terminal by the identifier of the terminal, and the identifier of the terminal.
  • the corresponding relationship between the second network connection identifier and the correspondence between the second network connection identifier of the terminal and the multicast service authority information so that the multicast service of the terminal can be controlled according to the correspondence, thereby expanding the use of the service network.
  • the scene improves the user experience.
  • the user plane network element obtains multicast service authority information of the terminal, including:
  • the user plane network element receives the multicast service authority information of the terminal sent by the session management network element.
  • the user plane network element accessing the network may acquire the terminal from the session management network element.
  • the multicast service authority information can be used to establish a correspondence between the second network connection identifier of the terminal and the multicast service authority information, and the multicast service of the terminal can be controlled according to the corresponding relationship, thereby expanding the usage scenario of the service network. Improve the user experience.
  • the user plane network element acquires a correspondence between the second network connection identifier of the terminal and the multicast service authority information, including:
  • the user plane network element receives the correspondence relationship sent by the session management network element.
  • the user plane network element accessing the network may acquire the terminal from the session management network element. Corresponding relationship between the second network connection identifier and the multicast service authority information, and then controlling the multicast service of the terminal according to the corresponding relationship, thereby expanding the usage scenario of the service network and improving the user experience.
  • the user plane network element when the first network connection identifier corresponds to the second network identifier, the user plane network element is configured according to the first network connection identifier, the first multicast service And the identifier, and the corresponding relationship between the second network connection identifier of the terminal and the multicast service authority information, and determining the rights of the terminal to the first multicast service, including:
  • the user plane network element is configured according to the first network connection identifier, the identifier of the first multicast service, the second network connection identifier of the terminal, and the multicast service authority information, and the Corresponding relationship between the first network connection identifier and the second network connection identifier, and determining the authority of the terminal to the first multicast service.
  • the method for accessing the service network provided by the possible implementation manner, when the first network connection identifier is different from the second network identifier, the user plane network element of the access network may be configured according to the first network connection identifier and the first The second network connection identifier corresponding to the first network connection identifier is obtained, so that the multicast service of the terminal can be controlled according to the correspondence between the second network connection identifier and the multicast service authority information of the terminal, The use of the service network has been expanded to improve the user experience.
  • the user plane network element determines, according to the first network connection identifier and the identifier of the first multicast service, the rights of the terminal to the first multicast service, including:
  • the user plane network element receives the multicast service response message sent by the session management network element, where the multicast service response message is used to indicate that the terminal corresponds to the right of the first multicast service.
  • the terminal in a scenario in which the terminal accesses the service network through the access network (for example, a wireless network), the user plane network element accessing the network may acquire the terminal from the session management network element.
  • the terminal can control the multicast service of the terminal according to the rights of the first multicast service, thereby expanding the usage scenario of the service network and improving the user experience.
  • the first network connection identifier or the second network connection identifier includes any one of the following:
  • the embodiment of the present application provides a method for accessing a service network, where the method includes:
  • the session management network element obtains the multicast service authority information of the terminal, where the multicast service authority information includes the rights of the at least one multicast service provided by the terminal corresponding to the service network.
  • the session management network element of the access network can obtain the multicast service of the terminal.
  • the privilege information enables the access network to control the multicast service of the terminal according to the multicast service privilege information of the terminal, thereby expanding the usage scenario of the service network and improving the user experience.
  • the method further includes:
  • the session management network element sends the multicast service authority information of the terminal to the user plane network element.
  • the session management network element of the access network may send the multicast service authority information of the terminal to the user plane network element, and the user plane network element according to the terminal
  • the multicast service authority information controls the multicast service of the terminal, which expands the usage scenario of the service network and improves the user experience.
  • the method further includes:
  • the session management network element obtains a second network connection identifier, where the second network connection identifier is a network connection identifier used by the terminal when accessing the service network;
  • the session management network element establishes a correspondence between the second network connection identifier of the terminal and the multicast service authority information according to the multicast service authority information of the terminal and the second network connection identifier;
  • the session management network element sends the correspondence relationship to the user plane network element.
  • the session management network element of the access network may send the corresponding relationship between the second network connection identifier of the terminal and the multicast service authority information to the user plane network element
  • the user plane network element controls the multicast service of the terminal according to the correspondence between the second network connection identifier of the terminal and the multicast service authority information, thereby expanding the usage scenario of the service network and improving the user experience.
  • the method further includes:
  • the session management network element obtains a second network connection identifier, where the second network connection identifier is a network connection identifier used by the terminal when accessing the service network;
  • the session management network element establishes a correspondence between the second network connection identifier of the terminal and the multicast service authority information according to the multicast service authority information of the terminal and the second network connection identifier;
  • the session management network element receives a multicast service request message sent by the user plane network element, where the multicast service request message is used by the terminal to obtain data of the first multicast service provided by the service network, where the group
  • the broadcast service request message includes: a first network connection identifier, and an identifier of the first multicast service, where the first multicast service is one of at least one multicast service provided by the network service network, where a network connection identifier is a network connection identifier used when the terminal accesses the service network, where the first network connection identifier is the same as the second network connection identifier, or the first network connection identifier and location Corresponding to the second network identifier;
  • the terminal corresponds to the permission of the first multicast service
  • the session management network element sends a multicast service response message to the user plane network element, where the multicast service response message is used to indicate that the terminal corresponds to the rights of the first multicast service.
  • the session management network element of the access network may be sent to the user plane network element by using the right of the terminal corresponding to the first multicast service, and the user plane network The element controls the first multicast service of the terminal according to the right of the terminal corresponding to the first multicast service, thereby expanding the usage scenario of the service network and improving the user experience.
  • the session management network element when the first network connection identifier corresponds to the second network identifier, the session management network element is configured according to the first network connection identifier, the first multicast service And the identifier, and the corresponding relationship between the second network connection identifier of the terminal and the multicast service authority information, and determining the rights of the terminal to the first multicast service, including:
  • the session management network element of the access network may be configured according to the first network connection identifier and the first Determining, by the second network connection identifier, the second network connection identifier corresponding to the first network connection identifier, so that the terminal can determine the first multicast according to the correspondence between the second network connection identifier and the multicast service authority information of the terminal.
  • the right of the service, and the right of the terminal corresponding to the first multicast service is sent to the user plane network element, and the first multicast service of the terminal is performed by the user plane network element according to the right of the terminal corresponding to the first multicast service. Controlling, expanding the use of the service network and improving the user experience.
  • the session management network element establishes a second network connection identifier of the terminal and the multicast service according to the multicast service authority information of the terminal and the second network connection identifier.
  • Correspondence of permission information including:
  • the session management network element establishes the terminal according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the correspondence between the identifier of the terminal and the second network connection identifier. Corresponding relationship between the second network connection identifier and the multicast service authority information.
  • the session management network element of the access network may correspond to the multicast service authority information of the terminal by the identifier of the terminal, and the identifier of the terminal Corresponding relationship between the second network connection identifier and the correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the first network connection identifier or the second network connection identifier includes any one of the following:
  • the session management network element acquires multicast service authority information of the terminal, including:
  • the session management network element obtains the multicast service authority information of the terminal from the data management network element, or the policy control network element, or the network open network element, or the network management network element.
  • the method for accessing the service network provided by the possible implementation manner enables the session management network element of the access network to obtain the multicast service authority information of the terminal in a flexible manner.
  • the embodiment of the present application provides a method for accessing a service network, where the method includes:
  • the data management network element receives the multicast service authority information of the terminal, where the multicast service authority information includes the right of the terminal corresponding to the at least one multicast service provided by the service network;
  • the data management network element uses the multicast service authority information of the terminal as the information of the terminal.
  • the data management network element of the access network may store the multicast service authority information of the terminal as the information of the terminal. Therefore, when the terminal accesses the service network through the access network, the terminal can provide the multicast service authority information of the terminal to other network elements of the access network, thereby controlling the multicast service of the terminal, thereby expanding the usage scenario of the service network and improving The user experience.
  • the embodiment of the present application provides a communication device, where the communication device includes:
  • a processing unit configured to obtain a multicast service request message, determine, according to the first network connection identifier and the identifier of the first multicast service, the right of the terminal corresponding to the first multicast service, and according to the terminal Corresponding to the right of the first multicast service, controlling a range of data of the first multicast service sent by the sending unit to the terminal;
  • the multicast service request message is used by the terminal to obtain data of the first multicast service that is provided by the service network, where the multicast service request message includes: a first network connection identifier, and the first multicast service And determining, by the first network connection identifier, a network connection identifier used by the terminal when accessing the service network, where the first multicast service is one of at least one multicast service provided by the service network.
  • the processing unit is specifically configured to: according to the first network connection identifier, the identifier of the first multicast service, and the second network connection identifier and the multicast service of the terminal Corresponding relationship of the rights information, determining the rights of the terminal corresponding to the first multicast service;
  • the multicast service authority information includes the right of the terminal corresponding to the at least one multicast service, and the second network connection identifier is a network connection identifier used by the terminal when accessing the service network.
  • the first network connection identifier is the same as the second network connection identifier, or the first network connection identifier corresponds to the second network identifier.
  • the processing unit is further configured to acquire a correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the processing unit is specifically configured to acquire multicast service authority information of the terminal and the second network connection identifier, and according to the multicast service authority information of the terminal, The second network connection identifier establishes the correspondence.
  • the processing unit is specifically configured to: according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the identifier of the terminal and the second network Corresponding relationships of the connection identifiers are established to establish the correspondence relationship.
  • the device further includes: a receiving unit;
  • the processing unit is configured to receive, by using the receiving unit, multicast service authority information of the terminal that is sent by the session management network element.
  • the device further includes: a receiving unit;
  • the processing unit is specifically configured to receive, by using the receiving unit, the correspondence that is sent by the session management network element.
  • the processing unit when the first network connection identifier corresponds to the second network identifier, the processing unit is specifically configured to use, according to the first network connection identifier, the first multicast Corresponding relationship between the identifier of the service, the second network connection identifier of the terminal, and the multicast service authority information, and the correspondence between the first network connection identifier and the second network connection identifier, determining the terminal The authority to the first multicast service.
  • the device further includes: a receiving unit;
  • the processing unit is configured to send, by using the sending unit, the multicast service request message to the session management network element, and receive, by the receiving unit, a multicast service response message sent by the session management network element, where The multicast service response message is used to indicate that the terminal corresponds to the rights of the first multicast service.
  • the first network connection identifier or the second network connection identifier includes any one of the following:
  • the communication device provided by each of the foregoing twenty-ninth aspects and the twenty-ninth aspects may be beneficially obtained by referring to the foregoing twenty-sixth aspect and the possible embodiments of the twenty-sixth aspect.
  • the beneficial effects are not mentioned here.
  • the embodiment of the present application provides a communication device, where the communication device includes:
  • the processing unit is configured to obtain the multicast service authority information of the terminal, where the multicast service authority information includes the right of the terminal corresponding to the at least one multicast service provided by the service network.
  • the device further includes:
  • a sending unit configured to send the multicast service authority information of the terminal to the user plane network element.
  • the device further includes: a sending unit;
  • the processing unit is further configured to obtain a second network connection identifier, and establish a second network connection identifier of the terminal and the multicast according to the multicast service authority information of the terminal and the second network connection identifier.
  • the sending unit is configured to send the correspondence to the user plane network element.
  • the device further includes: a sending unit and a receiving unit;
  • the processing unit is further configured to obtain a second network connection identifier, and establish a second network connection identifier of the terminal and the multicast according to the multicast service authority information of the terminal and the second network connection identifier.
  • the receiving unit is configured to receive a multicast service request message sent by the user plane network element, where the multicast service request message is used by the terminal to request to acquire data of the first multicast service provided by the service network, where
  • the multicast service request message includes: a first network connection identifier, and an identifier of the first multicast service, where the first multicast service is one of at least one multicast service provided by the network service network,
  • the first network connection identifier is a network connection identifier used by the terminal when accessing the service network, where the first network connection identifier is the same as the second network connection identifier, or the first network connection identifier is Corresponding to the second network identifier;
  • the processing unit is further configured to determine, according to the first network connection identifier, the identifier of the first multicast service, and the correspondence between the second network connection identifier of the terminal and the multicast service authority information, The terminal corresponds to the right of the first multicast service;
  • the sending unit is configured to send a multicast service response message to the user plane network element, where the multicast service response message is used to indicate that the terminal corresponds to the right of the first multicast service.
  • the processing unit when the first network connection identifier corresponds to the second network identifier, the processing unit is specifically configured to use, according to the first network connection identifier, the first multicast Corresponding relationship between the identifier of the service, the second network connection identifier of the terminal, and the multicast service authority information, and the correspondence between the first network connection identifier and the second network connection identifier, determining the terminal The authority to the first multicast service.
  • the processing unit is specifically configured to: according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the identifier of the terminal and the second network Corresponding relationship between the connection identifier and the correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the first network connection identifier or the second network connection identifier includes any one of the following:
  • the processing unit is specifically configured to acquire the multicast service of the terminal from a data management network element, or a policy control network element, or a network open network element, or a network management network element. Permission information.
  • the embodiment of the present application provides a communication device, where the communication device includes:
  • a receiving unit configured to receive multicast service authority information of the terminal, where the multicast service authority information includes a right of the terminal to correspond to at least one multicast service provided by the service network;
  • the processing unit is configured to use the multicast service authority information of the terminal as the information of the terminal.
  • the embodiment of the present application provides a communication device, where the communication device includes: a processor and a memory;
  • the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform various possible embodiments as in the twenty-sixth aspect or the twenty-sixth aspect A method of providing access to a service network.
  • the embodiment of the present application provides a communication device, where the communication device includes: a processor and a memory;
  • the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform various possible embodiments as in the twenty-seventh aspect or the twenty-seventh aspect A method of providing access to a service network.
  • the embodiment of the present application provides a communication device, where the communication device includes: a processor and a memory;
  • the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform various possible embodiments as in the twenty-eighth aspect or the twenty-eighth aspect A method of providing access to a service network.
  • the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit, for performing the method provided by the foregoing twenty-sixth aspect or the twenty-sixth aspect.
  • the communication device may be a user plane network element (for example, a UPF network element), or may be a module applied to the user plane network element. For example, it may be a chip applied to the user plane network element.
  • the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit, for performing the method provided by the foregoing twenty-sixth aspect or the twenty-sixth aspect.
  • the communication device may be a session management network element (for example, an SMF network element), or may be a module applied to the session management network element, for example, may be a chip applied to the session management network element.
  • the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit for performing the method provided by the foregoing twenty-seventh or twenty-seventh aspects.
  • the communication device may be a network element for storing the multicast service authority information of the receiving terminal on the access network side, or a module of the network element applied to the access network side for storing the multicast service authority information of the receiving terminal.
  • it may be a chip applied to a network element for accessing the multicast service authority information of the receiving terminal on the access network side.
  • the network element for storing the multicast service authority information of the receiving terminal on the access network side may be, for example, a data management network element (for example, a UDM network element), a policy control network element (for example, a PCF network element), or a network.
  • a data management network element for example, a UDM network element
  • a policy control network element for example, a PCF network element
  • a network for example, an open network element (for example, an NEF network element) or a network management network element (for example, an NMS network element).
  • the embodiment of the present application provides a computer program product comprising instructions, when executed on a computer, causing the computer to perform various possible implementation manners of the twenty-sixth aspect or the twenty-sixth aspect The method in .
  • the embodiment of the present application provides a computer program product comprising instructions, when executed on a computer, causing a computer to perform various possible implementation manners of the twenty-seventh aspect or the twenty-seventh aspect The method in .
  • the embodiment of the present application provides a computer program product comprising instructions, when the computer is running on a computer, causing the computer to perform the foregoing various aspects of the twenty-eighth aspect or the twenty-eighth aspect Methods.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to execute the foregoing twenty-sixth aspect or the The method of the various possible embodiments of the twenty-sixth aspect.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to execute the twenty-seventh aspect or the The method of the various possible embodiments of the twenty-seventh aspect.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to execute the foregoing twenty-eighth aspect or the The method of the various possible embodiments of the twenty-eighth aspect.
  • the method and the communication device for accessing the service network provided by the embodiment of the present application enable the terminal to access the service network through the access network (for example, a wireless network), thereby expanding the usage scenario of the service network.
  • the access network for example, a wireless network
  • FIG. 1 is a network architecture diagram of an existing terminal accessing an IPTV network
  • FIG. 2 is a flowchart of a method for an existing terminal to access an IPTV network
  • FIG. 3 is a network architecture diagram of a terminal access service network according to an embodiment of the present disclosure
  • FIG. 4 is a flowchart of a method for accessing a service network according to an embodiment of the present application
  • FIG. 5 is a flowchart of another method for accessing a service network according to an embodiment of the present disclosure
  • FIG. 6 is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 7 is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 8 is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 8B is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 9 is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 10 is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 10A is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 10B is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 10C is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 10D is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 10E is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 10F is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of another communication apparatus according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • FIG. 14B is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • 14C is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • FIG. 1 is a network architecture diagram of an existing terminal accessing an IPTV network.
  • a UE sets a set top box (STB) and a residential gateway (RG).
  • the wired network includes: an access network (AN) device and a broadband network gateway (BNG).
  • the RG can access the IPTV network through a wired network. After the RG accesses the IPTV network, the STB connected to the RG can obtain data provided by the IPTV network through the RG.
  • FIG. 2 is a flow chart of a method for an existing terminal to access an IPTV network.
  • the RG interacts with a dynamic host configuration protocol (DHCP) server in the IPTV network through a wired network to access the IPTV network.
  • DHCP dynamic host configuration protocol
  • the RG sends a DHCP discovery message to the BNG.
  • the DHCP discovery (discover) message is used to request the DHCP server to authenticate the RG.
  • the BNG sends a DHCP discovery message to the DHCP server.
  • the DHCP discovery message includes: a line identification (Line ID) of the RG.
  • the Line ID of the RG is stored in the BNG, and the Line ID is the identifier of the RG in the IPTV network. Therefore, before the BNG sends the DHCP discovery message to the DHCP server, the Option 82 sub-option is added to the DHCP discovery message.
  • the Option 82 sub-option includes the Line ID of the RG. That is to say, the DHCP discovery message sent by the BNG to the DHCP server includes: the Line ID of the RG.
  • the DHCP server interacts with an authentication server of the IPTV network to authenticate the RG.
  • the DHCP server may send an authentication request message to the authentication server, where the authentication message includes: a Line ID of the RG.
  • the authentication server may query the local database according to the Line ID of the RG carried in the authentication request message.
  • the Line ID of the RG exists in the local database, it indicates that the RG can use the service of the IPTV network, that is, the RG authentication.
  • the authentication server can send an authentication pass message to the DHCP server.
  • the authentication pass message is used to indicate that the RG authentication is passed.
  • the DHCP server may further perform the subsequent step S104.
  • the authentication server can send an authentication failure message to the DHCP server.
  • the authentication failure message is used to indicate that the RG authentication fails.
  • the DHCP server may send a DHCP message to the RG indicating that the RG authentication failed.
  • the RG can re-initiate the access procedure. That is, step S101 is re-executed. This flow is not shown in FIG.
  • the authentication server of the IPTV network may be, for example, an authentication, authorization, and accounting (AAA) server.
  • AAA authentication, authorization, and accounting
  • the DHCP server sends a DHCP offer message to the RG.
  • the DHCP offer (Offer) message includes: an internet protocol (IP) address assigned by the DHCP server to the RG, that is, an IP address of the RG in the IPTV network.
  • IP internet protocol
  • the IP address may also be referred to as an IP address assigned by the IPTV network to the RG.
  • the DHCP server may send the DHCP providing message to the RG through the BNG, and details are not described herein.
  • the RG sends a DHCP request message to the BNG.
  • the DHCP request message is used to query the DHCP server whether the allocated IP address is available. This process is used to prevent the DHCP server from assigning the same IP address to the two RGs, which prevents the RG from using the IP address to access the IPTV network.
  • the BNG sends a DHCP request message to the DHCP server.
  • the Option 82 sub-option is added to the DHCP request message.
  • the Option 82 sub-option includes the Line ID of the RG.
  • the DHCP server sends a DHCP confirmation message to the RG.
  • the DHCP acknowledgement message is used to notify the RG that the assigned IP address is available.
  • the DHCP server determines that the IP address is available.
  • the DHCP server can send a DHCP confirmation message to the RG through the BNG.
  • the DHCP acknowledgement (Ack) message includes: an IP address assigned by the DHCP server to the RG, to notify the RG that the assigned IP address is available through the IP address.
  • the DHCP server can send a DHCP message to the RG indicating that the IP address is not available.
  • the RG can re-initiate the access procedure. That is, step S101 is re-executed. This flow is not shown in FIG.
  • the process of RG accessing the IPTV network through the wired network is completed.
  • the STB connected to the RG can obtain data provided by the IPTV network through the RG and provide the data to the user.
  • the above prior art only relates to how the RG accesses the IPTV network through the wired network, and does not relate to how the RG accesses the IPTV network in other networks (for example, a wireless network). Therefore, the existing RG access to the IPTV network cannot meet the requirements in actual use.
  • the embodiment of the present application provides a method for accessing a service network, so that the RG can access the IPTV network through other networks (for example, a wireless network), where the other network mentioned herein may be a wired network.
  • Wireless network for example, a 3rd Generation Partnership Project (3GPP) wireless network or a non-3GPP wireless network.
  • 3GPP wireless network may be, for example, a long term evolution (LTE) network, a home base station network, or the like.
  • the non-3GPP wireless network may be, for example, a WIFI access wireless network, a global system for mobile communication (GSM) network, a wideband code division multiple access (WCDMA) network, and a future 5G/6G. Network, fixed wireless network, etc.
  • GSM global system for mobile communication
  • WCDMA wideband code division multiple access
  • the method provided by the embodiment of the present application includes, but is not limited to, a scenario in which the RG accesses the IPTV network, and the method provided by the embodiment of the present application may be used as long as the scenario involves the terminal accessing the service network.
  • the terminal here may be, for example, an STB, an RG, a customer premise equipment (CPE), a terminal in the Internet of Things (IoT), a computer with a wireless transceiver function, or a smart home. Wireless terminal, etc.
  • the service network referred to herein may be any network capable of providing services to users, such as an Internet (Internet) network, an IPTV network, an IP Multimedia Subsystem (IMS) network, a telephone network, and the like.
  • Internet Internet
  • IMS IP Multimedia Subsystem
  • FIG. 3 is a network architecture diagram of a terminal access service network according to an embodiment of the present disclosure.
  • the network may include: an access network device, a user plane function (UPF) network element, an access and mobility management function (AMF) network element, and session management.
  • UPF user plane function
  • AMF access and mobility management function
  • SMF session management function
  • PCF policy control function
  • UDM unified data management
  • the access network device is used to connect the terminal to the core network.
  • the access network device may be an access gateway function (AGF) network element or a BNG.
  • AMF access gateway function
  • the access network device may be a private network user plane network element.
  • the access network device can be a multfire network user plane network element.
  • the access network device may be a non-3GPP Interworking Function (N3IWF) network element.
  • N3IWF non-3GPP Interworking Function
  • the access network device may be a trusted access gateway.
  • the access network device may be a wireless access network device.
  • the radio access network device mentioned herein is an access device that the terminal accesses to the mobile communication system by using a wireless device, and may be a network side NodeB, an evolved network side eNodeB, a network side in a 5G mobile communication system, and a future mobile.
  • the specific technology and the specific device configuration adopted by the radio access network device are not limited in the embodiment of the present application.
  • the UPF network element is used to transmit user plane data.
  • the AMF network element is used to manage whether the terminal can access the network.
  • the SMF network element is used to manage the session connection established by the terminal through the network, and each session connection is used to transmit the user plane data of the terminal.
  • the PCF network element is used to provide a policy for the terminal to access the network, such as a quality of service (QoS) policy.
  • QoS quality of service
  • the UDM network element is used to store subscription data of the terminal.
  • the network shown in FIG. 3 is referred to as a network used by the terminal to access the service network, and is referred to as an access network.
  • the session may be established in the access network.
  • the terminal can then access the service network through the session. That is, the process of the terminal accessing the service network includes two parts: establishing a session part and accessing the service network part. It can be understood that the process of registering the terminal in the access network can refer to the prior art, and details are not described herein again.
  • a session management network element for example, an SMF network element
  • a user plane network element the intermediate transmission network element when the terminal transmits data through the access network and the service network, for example, : UPF network elements, access network devices, etc., policy control network elements (such as PCF network elements), data management network elements (such as UDM network elements, unified data repository (UDR) network elements), access management network Yuan (for example, AMF network element).
  • PCF network elements policy control network elements
  • data management network elements such as UDM network elements, unified data repository (UDR) network elements
  • access management network Yuan for example, AMF network element
  • FIG. 4 is a flowchart of a method for accessing a service network according to an embodiment of the present application. As shown in Figure 4, the method includes:
  • the terminal sends a session establishment request message to the session management network element.
  • the session management network element obtains verification information of the terminal in the service network, and the verification message is used by the terminal to access the service network.
  • the terminal may send a session establishment request to the session management network element to request the session management network element to establish a session.
  • the session request message may carry the first identifier information of the terminal and the identifier information of the service network.
  • the first identification information of the terminal mentioned herein may be, for example, an ID of the terminal, an international mobile subscriber identification number (IMSI) of the terminal, a generic public subscription identifier (GPSI) of the terminal, and a terminal.
  • IMSI international mobile subscriber identification number
  • GPSI generic public subscription identifier
  • MSISDN Mobile Subscriber International ISDN number
  • the identification information of the service network referred to here may be, for example, the ID of the service network and/or the name of the service network.
  • the name of the service network may also be referred to as a data network name (DNN).
  • DNN data network name
  • the terminal may determine to establish a session when completing the registration process of accessing the network.
  • the terminal may determine to establish a session when receiving data of the service network sent by the client.
  • the terminal may determine to establish a session when receiving an internet group management protocol (IGMP) message sent by the client.
  • IGMP internet group management protocol
  • the client mentioned here can be understood as a device that obtains a service provided by a service network through a terminal.
  • the session management network element may establish a session for the terminal.
  • the session management network element may establish a session for the terminal. For details on how the session management network element establishes a session for the terminal, refer to the prior art, and details are not described herein.
  • the session management network element may obtain the verification information of the terminal in the service network during the process of establishing a session for the terminal.
  • the service network can authenticate the terminal based on the verification information.
  • the verification information of the terminal in the service network may be, for example, the line ID of the terminal, the media access control (MAC) address of the terminal, the type information of the terminal, the level information of the terminal, and the time used by the terminal to access the service network. User name information, etc.
  • the Line ID may include, for example, a circuit ID or a remote ID.
  • the type information and the level information mentioned above may be specifically determined according to the setting of the communication system, which is not limited in this embodiment of the present application.
  • This embodiment does not limit the manner in which the session management network element obtains the verification information of the terminal in the service network.
  • the local database of the session management network element stores the verification information of the terminal in the service network. Therefore, the session management network element can obtain the verification information of the terminal in the service network from the local database.
  • the local identifier of the session management network element may store the first identification information of the terminal and the mapping relationship of the verification information of the terminal in the service network. Therefore, the session management network element can search for the verification information corresponding to the first identifier (that is, the verification information of the terminal in the service network) in the local database according to the first identifier information of the terminal carried in the session establishment request message.
  • the session management network element may obtain the verification information from other network elements storing the verification information of the terminal in the service network.
  • the other network elements mentioned herein may be, for example, a policy control network element, or a data management network element, or an access management network element.
  • the session management network element may send a query request to other network elements, where the query request may include: first identifier information of the terminal.
  • the other network element searches for the verification information corresponding to the first identification information of the terminal (that is, the verification information of the terminal in the service network) in the local database according to the first identification information of the terminal.
  • the other network element may return a query response message to the session management network element, where the query response message may include: verification information of the terminal in the service network.
  • the foregoing network element storing the verification information of the terminal in the service network may further receive the verification information of the terminal in the service network before performing the foregoing method embodiment, and use the verification information as the terminal. information.
  • the service network management system network element on the service network side or the access network management system network element on the access network side may generate verification information of the terminal in the service network when the user subscribes to the service of the service network, and The network element that needs to store the verification information sends a subscription request message to notify the network element terminal that the service of the service network has been subscribed.
  • the subscription request message may include: authentication information of the terminal in the service network, and first identification information of the terminal.
  • the network element that needs to store the verification information may store the verification information as information of the terminal.
  • the data management network element may search for the subscription information of the terminal stored in the local database based on the first identification information of the terminal.
  • the verification information of the terminal in the service network is added to the subscription information of the terminal.
  • the policy control network element may search for the policy information of the terminal stored in the local database based on the first identification information of the terminal, and verify the terminal in the service network. Information is added to the policy information for the terminal.
  • the service network management system network element can access the network management system network when the user subscribes to the service of the service network.
  • the element sends a subscription request message to trigger the access network management system network element to perform the operation of generating the verification information of the terminal in the service network by notifying the access network management system network element that the terminal has subscribed to the service of the service network.
  • the access network management system network element may send a subscription response message to the service network management system network element after generating the verification information of the terminal in the service network, where the message may include: the terminal is in the service network. Verification information in .
  • the subscription request message and the subscription response message mentioned above are only an indication and do not constitute a limitation on the message.
  • the subscription request message may be replaced by any other message including the verification information of the terminal in the service network and the first identification information of the terminal, where the subscription response message may be verified by any other terminal including the service network.
  • the message is replaced by information, which is not limited.
  • the network element of the service network management system mentioned above may be a business operation support system (BOSS) network element of the service network, or a business support system (BSS) network element of the service network, or media entertainment.
  • BOSS business operation support system
  • BSS business support system
  • MEM media entertainment middleware
  • SMS subscriber management system
  • the network element of the access network management system mentioned above may be a network management system (NMS) network element that accesses the network, or an operation support system (OSS) network element that accesses the network, or The BSS network element of the access network, or the unified data repository (UDR) network element of the access network, or the access management function (AMF) network element of the access network, or access A network management session (SMF) network element or a policy control function (PCF) network element that accesses the network.
  • NMS network management system
  • OSS operation support system
  • UDR unified data repository
  • AMF access management function
  • PCF policy control function
  • the service network management system network element may be after generating the verification information of the terminal in the service network, or the service network management system network element is managed by receiving the access network. After receiving the authentication information of the terminal in the service network, the system may send the verification information of the terminal in the service network to the network element of the other information in the service network for storing the terminal.
  • the service network management system network element is a BOSS network element
  • other network elements for storing information of the terminal are SMS network elements.
  • the session management network element may further obtain the identification information of the service network according to the session establishment request message in the process of establishing a session for the terminal. Further, the session management network element may determine, according to the identification information of the service network, a policy control network element that provides a policy for the service network. In this way, the session management network element can notify the policy control network element terminal to obtain the service from the service network. For example, the session management network element may send a notification message to the policy control network element, where the notification message carries the identification information of the service network and the first identification information of the terminal. After receiving the notification message, the policy control network element may determine that the terminal will obtain the service from the service network. Correspondingly, the policy control network element may send the policy of the service network corresponding to the terminal to the session management network element.
  • the policy of the service network mentioned herein may include, for example, a quality of service (QoS) of data of the service network.
  • QoS quality of service
  • the session management network element may send a session establishment response message to the terminal to notify the terminal that the session has been established. So far, the process of establishing a session part of the terminal access service network is completed.
  • the session management network element does not perform IP allocation for the terminal in the process of establishing a session for the terminal.
  • the operation of the address the session establishment response message sent by the session management network element to the terminal does not include the address information allocated by the session management network element.
  • the indication information mentioned above may include, for example, an indication information of an IP allocation via DHCP (PCO) of the dynamic host configuration protocol, and/or identification information of an Ethernet type of the session.
  • the session management network element needs to allocate the first terminal to the terminal in the process of establishing a session for the terminal. Address (that is, the IP address of the terminal in the access network). Then, the session management network element may send the first address information in the session establishment response message to the terminal, to indicate, by using the session establishment response message, that the session management network element has established a session for the terminal, and indicates the first address allocated for the terminal. information.
  • the terminal may start executing the process of accessing the service network part after establishing the session, so as to access the service network by using the session. Specifically, the terminal may send an initial access message to the access network to request access to the service network. The initial access message does not include the verification information of the terminal in the service network. In a possible implementation manner, the terminal may immediately send an initial access message to the serving network after establishing the session. The terminal may also send an initial access message to the service network when receiving the data of the service network (for example, an IGMP message) sent by the client after the session is established.
  • the data of the service network for example, an IGMP message
  • the user plane network element can obtain an access message carrying the authentication information of the terminal in the service network, and send the access message to the service network.
  • the foregoing access message and the initial access message sent by the terminal may be determined according to a specific service network.
  • the foregoing access message and the initial access message may be DHCPv4 messages, for example, the DHCP discovery (recover) message or the DHCP request (request) message shown in FIG. 2, for example.
  • the foregoing access message and the initial access message may also be DHCPv6 messages, for example, a DHCP Solicit message or a DHCP Request message.
  • one difference between the access message and the initial access message is that the access message has more verification information of the terminal in the service network than the initial access message.
  • FIG. 5 is a flowchart of another method for accessing a service network according to an embodiment of the present disclosure. As shown in FIG. 5, the method includes:
  • the user plane network element obtains an access message, where the access message is used for the terminal to access the service network, and the access message includes: the terminal verification information in the service network.
  • the user plane network element sends an access message to the serving network.
  • the session management network element may send the obtained verification information of the terminal in the service network to the user plane network element in the process of establishing a session for the terminal.
  • the user plane network element can obtain the access message carrying the verification information of the terminal in the service network according to the initial access message and the verification information of the terminal in the service network.
  • the user plane network element may add the authentication information of the terminal in the service network to the option of the initial serving network access message to obtain an access message.
  • the user plane network element can add the line ID of the terminal to the sub-option option 82 of the DHCP message. If the authentication information of the terminal in the service network is the MAC address of the terminal, the user plane network element may add the MAC address of the terminal to the sub-option option 61 of the DHCP message. If the authentication information of the terminal in the service network is the type information of the terminal, the user plane network element may add the type information of the terminal to the sub-option option 60 of the DHCP message. If the verification information of the terminal in the service network is the level information of the terminal, the user plane network element may add the level information of the terminal to the sub-option option 77 of the DHCP message.
  • the session management network element may be based on the initial access message, and the terminal acquired in the process of establishing a session for the terminal is in the service network.
  • the verification information acquires an access message carrying the authentication information of the terminal in the service network.
  • the session management network element may send the access message to the user plane network element, so that the user plane network element obtains the access message.
  • the session management network element obtains the access message according to the initial access message and the verification information of the terminal in the service network.
  • the user plane network element according to the initial access message and the terminal verification information in the service network Obtain the description of the access message, which will not be described in detail.
  • the user plane network element After sending the access message to the serving network, the user plane network element can obtain the feedback message of the service network to the access message. Then, the user plane network element can send the feedback message to the terminal to assist the terminal to access the service network.
  • the feedback message mentioned here may be specifically determined according to the foregoing access message. Taking the service network as an example for the IPTV network, if the access message is a DHCP discovery message of the DHCPv4 message, the feedback message may provide a message for the DHCP of the DHCPv4 message. If the access message is a DHCP request message of the DHCPv4 message, the feedback message may be a DHCP acknowledgement (Ack) message of the DHCPv4 message.
  • Ack DHCP acknowledgement
  • the feedback message may be a DHCP advertisement message of the DHCPv6 message. If the access message is a DHCP request message of the DHCPv6 message, the feedback message may be a DHCP reply message of the DHCPv6 message.
  • the user plane network element sends the feedback message to the terminal, which may include the following two methods, specifically:
  • FIG. 6 is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 6, the method includes:
  • the user plane network element obtains a feedback message of the service network to the access message, where the feedback message includes the second identifier information of the terminal.
  • the user plane network element sends a feedback message to the terminal according to the second identifier information of the terminal.
  • the user plane network element is provided with a mapping relationship between the second identifier information of the terminal and the session information of the terminal.
  • the second identification information of the terminal mentioned herein may be, for example, a Line ID of the terminal, a Xid of the terminal, or the like.
  • the session information of the terminal mentioned herein may be one of the following: the identification information of the session of the terminal, the MAC address of the terminal, the address information of the access network device, the identification information of the access network device, and the tunnel endpoint identifier of the terminal (tunnel) Endpoint identifier (TEID), core network tunnel information.
  • the mapping relationship between the second identifier information of the terminal included in the feedback message and the second identifier information of the terminal and the session information of the terminal may be used. , determine the session information of the terminal. Then, the user plane network element can send a feedback message to the terminal through the session corresponding to the session information of the terminal. It should be noted that, because the second identifier information of the terminal is used to enable the user plane network element to determine the session for transmitting the feedback message, the user plane network element may carry the feedback message before sending the feedback message to the terminal. The second identification information of the terminal is deleted.
  • the feedback message sent by the user plane network element to the terminal is different from the feedback message obtained by the user plane network element.
  • the user plane network element may not perform the operation of deleting the second identifier information of the terminal, and may be specifically determined according to the setting of the communication system.
  • the session management network element may acquire the second identifier information of the terminal and the session information of the terminal, and establish a mapping relationship between the second identifier information of the terminal and the session information of the terminal according to the obtained two pieces of information. And sending the mapping relationship to the user plane network element. After receiving the mapping relationship, the user plane network element can directly store the mapping relationship. Alternatively, the session management network element may send the acquired second identification information of the terminal and the session information of the terminal to the user plane network element.
  • the user plane network element may establish a mapping relationship between the second identifier information of the terminal and the session information of the terminal.
  • the session management network element may obtain the session information of the terminal when the session is established for the terminal, and send the session information of the terminal to the user plane network element.
  • the user plane network element may obtain an initial access message that is sent by the terminal and carries the second identifier information of the terminal when the terminal accesses the service network. Then, the user plane network element can establish a mapping relationship between the second identifier information of the terminal and the session information of the terminal.
  • the session management network element may obtain the initial access message that is sent by the terminal and carries the Xid of the terminal, that is, the second identifier information of the terminal, to acquire the terminal. Second identification information. If the second identifier information of the terminal is the line ID of the terminal, the session management network element may be in the process of establishing a session for the terminal, from the data management network element, or the policy control network element, or the local database, or access. The management network element obtains the line ID of the terminal (that is, the second identifier information of the terminal).
  • the session management network element acquires the second identifier information of the terminal, and the acquiring terminal is in the service.
  • the authentication information in the network is the same operation.
  • FIG. 7 is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in Figure 7, the method includes:
  • the session management network element sends a feedback message of the service network to the access message to the user plane network element, where the feedback message includes session information of the terminal.
  • the user plane network element sends a feedback message to the terminal according to the session corresponding to the session information of the terminal.
  • the mapping relationship between the second identification information of the terminal and the session information of the terminal is set in the session management network element. Therefore, after receiving the feedback message of the service network to the access message, the session management network element may determine the session of the terminal according to the second identification information of the terminal and the mapping relationship between the second identification information of the terminal and the session information of the terminal. information. Then, the session management network element can carry the session information in the feedback message and send it to the user plane network element. In this way, after receiving the feedback message, the user plane network element can directly determine the session that can transmit the feedback message through the session information of the terminal, and send the feedback message to the terminal through the session.
  • the mapping between the second identifier information of the terminal and the session information of the terminal refer to the description of the foregoing embodiment, and details are not described herein.
  • the session management network element may send a feedback message before sending the feedback message to the user plane network element.
  • the second identification information of the carried terminal is deleted.
  • the feedback message sent by the session management NE to the user plane network element is different from the feedback message obtained by the session management network element.
  • the foregoing session management network element may not perform the operation of deleting the second identification information of the terminal, and may be specifically determined according to the setting of the communication system.
  • the session information of the terminal included in the feedback message is used to enable the user plane network element to determine the session for transmitting the feedback message.
  • the user plane network element may send a feedback message before sending the feedback message to the terminal.
  • the session information of the carried terminal is deleted.
  • the feedback message sent by the user plane network element to the terminal is different from the feedback message received by the user plane network element.
  • the user plane network element may not perform the operation of deleting the session information of the terminal, and may be determined according to the setting of the communication system.
  • the session management network element is in the process of establishing a session for the terminal.
  • the terminal is also assigned a first address (ie, the IP address of the terminal in the access network), and the user is notified of the first address information allocated by the network element session management network element for the terminal.
  • the service network also allocates a second address (ie, the IP address of the terminal in the service network) to the terminal, and carries the second address information in the feedback message to notify the terminal. Therefore, when the terminal sends any uplink message to the service network after acquiring the first address information and the second address information, the uplink message includes the first address information and the second address information.
  • the uplink user plane data sent by the terminal may include the first address information and the second address information.
  • the uplink user plane data acquired by the user plane network element also includes the first address information and the second address information. Since the first address information is invalid address information for the service network, in order to ensure that the service network can accurately receive the uplink user plane data, the user plane network element may delete the uplink before sending the uplink user plane data to the service network.
  • the first address information in the user plane data ie, deleting the IP address of the terminal in the access network. Then, the user plane network element may send the uplink user plane data after deleting the first address information to the service network.
  • the downlink user plane data when the service network sends the second user address to the terminal, the downlink user plane data includes the second address information. For example, if the service network has assigned a second address to the terminal, the subsequent downlink user plane data will include the second address information.
  • the downlink user plane data obtained by the user plane network element also includes the second address information. Since the second address information is invalid address information for the access network, in order to ensure that the downlink user plane data can be accurately sent to the terminal through the access network, the user plane network element sends the downlink user to the terminal through the access network. Before the face data, the first address information can be added to the downlink user plane data.
  • the user plane network element can use the first address information in the downlink user plane data to send the downlink user plane data to the terminal through the access network.
  • the downlink user plane data includes: first address information and second address information. That is to say, the downlink user plane data sent by the service network sent by the user plane network element received by the terminal may include the first address information and the second address information.
  • the terminal may delete the first address information of the downlink user plane data. In this way, even if both the access network and the service network assign addresses to the terminals, the terminals can still access the service network through the access network. Under the premise of not modifying the existing access network to establish the session flow of the terminal, the terminal can access the service network through the access network, thereby improving the user experience.
  • the method for accessing the service network provided by the embodiment of the present application enables the terminal to access the service network through the access network (for example, a wireless network), thereby expanding the usage scenario of the service network and improving the user experience.
  • the access network for example, a wireless network
  • the terminal is the RG
  • the access network is the wireless network
  • the service network is the IPTV network
  • the session management network element is the SMF network element
  • the user plane network element is the UPF network element
  • the policy control network element is the PCF network element
  • the data is the UDM network element
  • the access management network element is the AMF network element
  • the authentication information of the terminal in the service network is the Line ID of the RG
  • the second identification information of the terminal is the Line ID of the RG
  • the session information of the terminal is the identification information of the session of the RG.
  • the service network management system network element is the BOSS network element on the IPTV network side
  • the access network management system network element is the NMS network element on the wireless network side
  • the subscription request message is the IPTV service subscription request message
  • the subscription response message is the IPTV service subscription response. Message.
  • the RG's line ID is stored in the RG's subscription information.
  • the following describes the process of adding the line ID of the RG to the RG's subscription information when the user subscribes to the IPTV service.
  • FIG. 8 is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As described in Figure 8A, the method includes:
  • the S601a and the BOSS network element receive the IPTV service subscription request message.
  • the IPTV service subscription request may include: a first identifier of the RG (eg, an ID of the RG, an IMSI of the RG, and at least one of the GPSIs of the RG).
  • a first identifier of the RG eg, an ID of the RG, an IMSI of the RG, and at least one of the GPSIs of the RG.
  • the IPTV service subscription request message may be input to the BOSS network element by the salesperson of the business hall.
  • the BOSS network element sends an IPTV service subscription request message to the UDM network element.
  • the IPTV service subscription request message is used to notify the UDM network element that the RG has subscribed to the service of the IPTV network.
  • the IPTV service subscription request message includes: the first identifier of the RG and the BOSS network element generate a Line ID for the RG.
  • the S603a and the UDM network element add the line identity number of the RG to the subscription information of the RG.
  • the UDM network element may search for the subscription information of the RG stored in the local database based on the first identification information of the RG, and add the Line ID of the RG to the subscription information of the RG.
  • the S604a and the UDM network element send an IPTV service subscription response message to the BOSS network element.
  • the IPTV service subscription response message is used to notify the BOSS network element that the UDM network element has added the Line ID of the RG to the subscription information of the RG.
  • the RG can access the IPTV network, so that the STB connected to the RG can obtain the data provided by the IPTV network through the RG and provide the data to the user.
  • the network element of the IPTV network for storing the information of the RG is an SMS network element
  • the method may further include: after the foregoing S604a, the method may further include:
  • the S605a and the BOSS network element send an IPTV service subscription notification message to the SMS network element.
  • the IPTV service subscription notification message includes: the first identifier of the RG and the BOSS network element generate a Line ID for the RG.
  • the IPTV service subscription notification message is used to notify the SMS network element to add the Line ID of the RG to the information of the RG.
  • the SMS network element sends an IPTV service subscription notification response message to the BOSS network element.
  • the IPTV service subscription notification response message is used to notify the BOSS network element that the SMS network element has added the Line ID of the RG to the information of the RG.
  • IPTV service subscription notification message and the IPTV service subscription notification response message mentioned above are only an indication and do not constitute a limitation of the message.
  • the foregoing IPTV service subscription notification message may be replaced by any other message used to notify the network element to add the Line ID of the RG to the information of the RG.
  • the IPTV service subscription notification response message may be notified by any other notification.
  • the line ID of the RG is added to the message in the information of the RG instead, which is not limited.
  • FIG. 8B is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As described in FIG. 8B, the method includes:
  • the S601b and the BOSS network element receive the IPTV service subscription request message.
  • the IPTV service subscription request may include: a first identifier of the RG (eg, an ID of the RG, an IMSI of the RG, and at least one of the GPSIs of the RG).
  • a first identifier of the RG eg, an ID of the RG, an IMSI of the RG, and at least one of the GPSIs of the RG.
  • the IPTV service subscription request message may be input to the BOSS network element by the salesperson of the business hall.
  • S602b The BOSS network element sends an IPTV service subscription request message to the NMS network element.
  • the IPTV service subscription request message is used to notify the NMS network element that the RG has subscribed to the service of the IPTV network.
  • the IPTV service subscription request message includes: a first identifier of the RG.
  • S604b The NMS network element sends an IPTV service subscription request message to the UDM network element.
  • the IPTV service subscription request message is used to notify the UDM network element that the RG has subscribed to the service of the IPTV network.
  • the IPTV service subscription request message includes: the first identifier of the RG and the NMS network element generate a Line ID for the RG.
  • S605b and the UDM network element add the line identity number of the RG to the subscription information of the RG.
  • the UDM network element may search for the subscription information of the RG stored in the local database based on the first identification information of the RG, and add the Line ID of the RG to the subscription information of the RG.
  • the UDM network element sends an IPTV service subscription response message to the NMS network element.
  • the IPTV service subscription response message is used to notify the NMS network element that the UDM network element has added the Line ID of the RG to the subscription information of the RG.
  • S607b The NMS network element sends an IPTV service subscription response message to the BOSS network element.
  • the IPTV subscription response message includes: the first identifier of the RG and the NMS network element generate a Line ID for the RG, and the IPTV subscription response message is used to notify the BOSS network element of the Line ID of the RG.
  • the RG can access the IPTV network, so that the STB connected to the RG can obtain the data provided by the IPTV network through the RG and provide the data to the user.
  • the network element for storing information of the RG in the IPTV network is an SMS network element, and a possible implementation manner.
  • the method may further include:
  • S608b and the BOSS network element send an IPTV service subscription notification message to the SMS network element.
  • the IPTV service subscription notification message includes: the first identifier of the RG and the NMS network element generate a Line ID for the RG.
  • the IPTV service subscription notification message is used to notify the SMS network element to add the Line ID of the RG to the information of the RG.
  • the SMS network element sends an IPTV service subscription notification response message to the BOSS network element.
  • the IPTV service subscription notification response message is used to notify the BOSS network element that the SMS network element has added the Line ID of the RG to the information of the RG.
  • FIG. 9 is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in Figure 9, the method includes:
  • the RG sends a PDU session establishment request message to the AMF network element.
  • the PDU Session Establishment Request message is used to request to establish a session for the RG.
  • the protocol data unit (PDU) session establishment request message includes: first identification information of the RG (eg, ID of the RG, IMSI of the RG, GPSI of the RG), DNN (in the example, the DNN is the IPTV), The indication information used to instruct the RG to obtain an IP address from the IPTV network.
  • the DNN is used to indicate that the PDU session is used to transmit data of the IPTV service. That is, it is used for data transmission with the IPTV network.
  • the indication information for instructing the RG to acquire an IP address from the IPTV network may be, for example, indication information of the PCO, and/or identification information of an Ethernet type of the session, or the like.
  • the method may further include: determining, by the RG, that the PDU session is established. For example, the RG may determine to establish the PDU session upon completion of the registration process of the wireless network. Alternatively, the RG may determine to establish the PDU session when receiving data of the IPTV service sent by the client.
  • the AMF network element sends a session management context establishment request message to the SMF network element.
  • the session context setup request message is used to request the SMF network element to establish a context for the session for the RG.
  • the session context setup request message includes: first identifier information of the RG (for example, an ID of the RG, an IMSI of the RG, a GPSI of the RG, a DNN (in the present example, the DNN is an IPTV), and is used to instruct the RG to obtain an IP address from the IPTV network. Instructions.
  • the AMF network element may select the SMF network element supporting the IPTV service according to the DNN carried in the PDU session establishment request message. Then, the AMF network element can send a session management context request message to the SMF network element supporting the IPTV service.
  • S703 The SMF network element interacts with the UDM network element to obtain the line identity identification number of the RG.
  • the SMF network element can interact with the UDM network element to obtain the verification information of the RG in the service network, that is, the Line ID of the RG.
  • the SMF network element may send a query request to the UDM network element, where the query request may include: first identification information of the RG.
  • the UDM network element searches the local database for the verification information corresponding to the first identification information of the RG (ie, the Line ID of the RG) according to the first identification information of the RG. Then, the UDM network element may return a query response message to the SMF network element, where the query response message may include: a Line ID of the RG.
  • the SMF network element can also obtain the indication information that the RG obtains the IP address from the IPTV network according to the session management context establishment request message, and learns that the RG obtains the IP address from the IPTV network. In this scenario, the SMF network element does not assign an IP address to the RG during the establishment of the PDU session for the RG.
  • the SMF network element sends a session management context setup response message to the AMF network element.
  • a session management context response message is used to indicate that the SMF network element has completed establishing the PDU session context of the RG.
  • the SMF network element interacts with the PCF network element to obtain a policy of the IPTV network corresponding to the session.
  • the SMF network element may select a DNN carried in the request message according to the session context, and select a PCF network element that supports the IPTV service.
  • the SMF network element may select a PCF network element with a small load to perform interaction according to the load of the multiple PCF network elements.
  • the SMF network element can interact with the PCF network element supporting the IPTV service to establish or adjust a session management policy establishment or modification.
  • the SMF network element may send a policy request message to the PCF network element, where the policy request message may include: the first identification information of the RG and the DNN, to notify the PCF network element by the policy request message, and the current PDU session established by the RG Used to transmit IPTV services.
  • the PCF network element may send the policy control and charging (PCC) rule of the IPTV service corresponding to the RG to the SMF network element.
  • the PCC rule may include a policy of the IPTV service, for example, a QoS policy of the multicast data of the IPTV service.
  • the SMF network element sends a session establishment request message to the UPF network element.
  • the session establishment request message is used to request to establish a session context of the UPF network element.
  • the session establishment request message may include: a Line ID of the RG.
  • the SMF network element can select the DNN carried in the request message according to the session context, and select the UPF network element that supports the IPTV service.
  • the SMF network element may select a small-loaded UPF network element to perform interaction according to the load of the multiple UPF network elements.
  • the UPF network element sends a session establishment response message to the SMF network element.
  • the session establishment response message is used to notify the SMF network element that the establishment of the session has been completed.
  • the UPF network element after receiving the session establishment request message, binds the line ID of the RG to the identifier of the PDU session, and establishes a mapping relationship between the line ID of the RG and the identifier of the PDU session (ie, the terminal).
  • the above mapping relationship may also be referred to as N3 tunnel information (Tunnel info) of the RG.
  • step of establishing a session shown in FIG. 9 above does not constitute a limitation on the process of establishing a session, and may include more or fewer steps than the illustration, or some steps may be combined, or Different execution order.
  • FIG. 10 is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As described in FIG. 10, the method includes:
  • the RG sends a DHCP discovery message to the UPF network element.
  • the DHCP Discover message is used to request the RG to access the IPTV network. At this time, the DHCP discovery message does not include the Line ID of the RG.
  • the DHCP discovery message is the initial access message mentioned above.
  • the UPF network element adds an option 82 sub-option to the DHCP discovery message.
  • the SMF network element sends the Line ID of the RG to the UPF network element. Therefore, before the UPF network element can send the DHCP discovery message to the DHCP server, an Option 82 sub-option is added to the DHCP discovery message.
  • the Option 82 sub-option includes the Line ID of the RG.
  • step S802 can also be replaced by the following steps:
  • Step A The UPF network element sends a DHCP discovery message to the SMF network element.
  • Step B The SMF network element adds an Option 82 sub-option to the DHCP discovery message.
  • Step C The SMF network element sends a DHCP discovery message with the Option 82 sub-option to the UPF network element.
  • the UPF network element sends a DHCP discovery message that adds an option 82 sub-option to the DHCP server.
  • the DHCP discovery message is the above-mentioned access message.
  • the DHCP server interacts with an authentication server of the IPTV network to authenticate the RG by using a line identity identifier of the RG.
  • the DHCP server may send an authentication request message to the authentication server, where the authentication message includes: a Line ID of the RG.
  • the authentication server may query the local database according to the Line ID of the RG carried in the authentication request message.
  • the Line ID of the RG exists in the local database, it indicates that the RG can use the service of the IPTV network, that is, the RG authentication.
  • the authentication server can send an authentication pass message to the DHCP server.
  • the authentication pass message is used to indicate that the RG authentication is passed.
  • the DHCP server may further perform the subsequent step S805.
  • the authentication server may send an authentication failure message to the DHCP server.
  • the authentication failure message is used to indicate that the RG authentication fails.
  • the DHCP server may send a DHCP message to the RG indicating that the RG authentication failed.
  • the RG can re-initiate the access procedure. That is, step S801 is re-executed. This flow is not shown in FIG.
  • the DHCP server sends a DHCP offer message to the UPF network element.
  • the DHCP providing message is used to notify the RG of the authentication and pass the IP address assigned by the DHCP server to the RG. That is, the IP address of the RG in the IPTV network. At this time, the DHCP providing message is the above-mentioned feedback message.
  • the DHCP providing message includes an IP address assigned to the RG and a sub-option Option 82 (including the Line ID of the RG).
  • the UPF network element determines the identifier of the session of the RG according to the line identity identification number of the RG carried in the DHCP-provided message.
  • the UPF network element cannot determine which session to use according to the destination IP address of the DHCP message, and transmits the DHCP provision message to the RG. Therefore, if the UPF network element establishes a mapping relationship between the line ID of the RG and the identifier of the PDU session in the process of establishing the session by the RG (ie, step S607), the UPF network element may determine according to the Line ID of the RG in the DHCP providing message. ID of the RG PDU session.
  • the action of determining the identifier of the session of the RG may be performed by the SMF network element.
  • the above step S805 can also be replaced by the following steps: the DHCP server sends a DHCP offer message to the SMF network element.
  • step S806 can also be replaced by the following steps:
  • Step D The SMF network element determines the identity of the session of the RG according to the Line ID of the RG carried in the DHCP-provided message.
  • Step E The SMF network element adds the identifier of the RG session to the DHCP offer message.
  • Step F The SMF network element sends a DHCP offer message to the UPF network element to identify the identity of the RG session.
  • the UPF network element sends a DHCP offer message to the RG.
  • the DHCP providing message includes: an IP address allocated for the RG.
  • the UPF network element may send a DHCP providing message to the RG through the PDU session corresponding to the identifier.
  • the DHCP offer message sent to the RG may not include the sub-option Option 82.
  • the RG sends a DHCP request message to the UPF.
  • the DHCP request message does not include the Line ID of the RG.
  • the DHCP request message is the initial access message mentioned above.
  • the DHCP request message is used to query whether the IP address assigned by the DHCP server is available. This process is used to prevent the DHCP server from assigning the same IP address to the two RGs, which prevents the RG from using the IP address to access the IPTV network.
  • the UPF network element adds an option 82 sub-option to the DHCP request message.
  • the foregoing action of adding an Option 82 sub-option in the DHCP request message may be performed by the SMF network element.
  • the above step S809 can also be replaced by the following steps:
  • Step G The UPF network element sends a DHCP request message to the SMF network element.
  • Step H The SMF network element adds an Option 82 sub-option to the DHCP request message.
  • Step I The SMF network element sends a DHCP request message with the Option 82 sub-option to the UPF network element.
  • the UPF network element sends a DHCP request message that adds an option 82 sub-option to the DHCP server.
  • the DHCP request message is the above-mentioned access message.
  • the DHCP server sends a DHCP acknowledgement message to the UPF network element.
  • the DHCP acknowledgement message is used to notify the RG that the assigned IP address is available. At this time, the DHCP confirmation message is the above-mentioned feedback message.
  • the DHCP acknowledgement message includes an IP address assigned to the RG and a sub-option Option 82 (including the Line ID of the RG).
  • the UPF network element determines the identifier of the session of the RG according to the line identity identification number of the RG carried in the DHCP acknowledgement message.
  • the action of determining the identifier of the session of the RG may be performed by the SMF network element.
  • the above step S811 can also be replaced by the following steps: the DHCP server sends a DHCP confirmation message to the SMF network element.
  • step S812 can also be replaced by the following steps:
  • Step J The SMF network element determines the identifier of the session of the RG according to the Line ID of the RG carried in the DHCP acknowledgement message.
  • Step K The SMF network element adds the identifier of the session of the RG in the DHCP acknowledgement message.
  • Step L The SMF network element sends a DHCP confirmation message indicating the identity of the RG-added session to the UPF network element.
  • the UPF network element sends a DHCP notification message to the RG.
  • the DHCP notification message includes an IP address assigned to the RG.
  • the SMF network element performs a session management policy adjustment process.
  • the SMF network element can initiate a session management policy modification process to the PCF network element to notify the PCF network element RG in the IPTV.
  • the IP address in the network and the updated PCC rules (such as QoS rules) are obtained from the PCF network element.
  • the SMF network element can then update the QoS rules obtained from the PCF network element to the UPF network element and the RG.
  • the RG can configure the address of the RG in the IPTV network to the STB, and perform network address translation (NAT) to implement conversion of the intranet address and the external network address.
  • NAT network address translation
  • the STB connected to the RG can acquire the data provided by the IPTV network through the RG and provide it to the user.
  • the step of accessing the IPTV network shown in FIG. 10 does not constitute a limitation on the process of accessing the IPTV network, and may include more or less steps than the illustration, or a combination of Some steps, or different execution orders.
  • the session establishment request message sent by the RG in FIG. 9 and FIG. 10 includes an indication information for instructing the RG to obtain an IP address from the IPTV network as an example, and how the RG accesses the IPTV network through the wireless network. And introduction. That is to say, in the above process of establishing a session for the RG, the SMF network element does not allocate an IP address in the wireless network to the RG.
  • the SMF network element needs to be allocated for the RG in the process of establishing a session for the RG. IP address in the wireless network.
  • the SMF network element assigning an IP address in the wireless network to the RG may be referred to as 5GC IP.
  • the SMF network element allocates an IP address in the wireless network to the RG. For example, the operation of the SMF network element to allocate an IP address in the wireless network to the terminal is not described herein.
  • the UPF network element For each uplink message between the RG and the UPF network element (for example, a DHCP discovery message, a DHCP request message), since the messages need to be transmitted through the 5GC IP (that is, the uplink message is overlaid on the 5GC IP), The RG will carry 5GC IP in these upstream messages.
  • the UPF network element after receiving the uplink message, deletes the 5GC IP carried in the upper message (that is, deletes the head of the 5GC IP layer), and sends the uplink message that deletes the 5GC IP to the DHCP server of the IPTV network. .
  • the UPF network element can determine the 5GC IP carried in the uplink message according to the mapping relationship between the 5GC IP and the line ID of the RG, and delete the 5GC IP from the uplink message.
  • the 5GC IP is located in a preset field of the uplink message, and after receiving the uplink message, the UPF network element may directly delete the field to delete the 5GC IP.
  • the UPF network element for each downlink message between the RG and the UPF network element (for example, a DHCP providing message, a DHCP notification message), since the message needs to be transmitted through the 5GC IP (that is, the downlink message is overlaid on the 5GC IP), the UPF network The meta-communication carries 5GC IP in these downstream messages.
  • the RG deletes the 5GC IP carried in the subsequent messages (that is, deletes the header of the 5GC IP layer).
  • the UPF network element can determine the 5GC IP of the RG according to the mapping relationship between the 5GC IP and the line ID of the RG, and add the 5GC IP to the downlink message. In this way, even if both the wireless network and the IPTV network assign an IP address to the RG, the RG can still access the IPTV network through the wireless network and acquire data of the IPTV network. Under the premise of not modifying the existing wireless network to establish a session flow, the RG can access the IPTV network through the wireless network, thereby improving the user experience.
  • the method for accessing the service network provided by the embodiment of the present application enables the RG to access the IPTV network through the wireless network, thereby expanding the usage scenario of the IPTV network.
  • the service network involved in the embodiment of the present application may provide at least one multicast service.
  • the user can subscribe the terminal to the rights of one or more multicast services in at least one multicast service, such as: fully allowed, not allowed, preview allowed, and the like. Therefore, the service network management system network element on the service network side can generate the multicast service authority information of the terminal when the user subscribes to the multicast service of the service network.
  • the multicast service authority information includes the right of the terminal to correspond to at least one multicast service provided by the service network. It can be understood that the terminal mentioned here may be an STB or a terminal integrated with an STB function and an RG function.
  • the network element of the service network management system may send the multicast service authority information of the terminal to the network element for storing information of the terminal in the service network for unified storage.
  • the service network management system network element is a BOSS network element, and other network elements for storing information of the terminal are SMS network elements.
  • the service network can provide three multicast services as an example, namely, multicast service 1, multicast service 2, and multicast service 3.
  • multicast service 1 When the user subscribes to the service access network, the rights of the multicast service 1 are completely allowed, the rights of the multicast service 2 are not allowed, and the permission of the multicast service 3 is allowed to be previewed.
  • the multicast service authority information of the terminal may be as shown in Table 1 below:
  • the multicast service authority shown in Table 1 above is only an indication and does not constitute a limitation on the multicast service authority.
  • the rights of the multicast service may be specifically determined according to the rights set by the service network.
  • the identifier of the terminal may be any one of the following: an ID of the terminal, an IMSI of the terminal, a GPSI of the terminal, an MSISDN of the terminal, a Line ID of the terminal, a MAC address of the terminal, type information of the terminal, and a terminal.
  • the network element on the network side can access the network element of the terminal to store the multicast service authority information of the terminal as the terminal information.
  • the network element on the access network side may be, for example, a network management network element (for example, an NMS network element), a data management network element (for example, a UDM network element), or a policy control network element (for example, a PCF network element), or Network open network element.
  • the network open network element may be, for example, a network exposure function (NEF) network element (not shown in FIG. 3).
  • the data management network element after receiving the multicast service authority information of the terminal, the data management network element can search for the locality based on the identification information of the terminal corresponding to the multicast service authority information of the terminal.
  • the subscription information of the terminal stored in the database, and the multicast service authority information of the terminal is added to the subscription information of the terminal.
  • the policy control network element after receiving the multicast service authority information of the terminal, the policy control network element can search for the information stored in the local database based on the identification information of the terminal corresponding to the multicast service authority information of the terminal.
  • the policy information of the terminal is added to the policy information of the terminal.
  • the network element on the access network side when the network element on the access network side is an NMS network element and a NEF network element, the network element on the access network side may not perform the storage operation after receiving the multicast service authority information of the terminal, but The multicast service permission information of the terminal is sent to other network elements on the access network side that need to store the information for storage.
  • the other network elements that need to store the information herein may be, for example, a data management network element (for example, a UDM network element) or a policy control network element (for example, a PCF network element).
  • the access network element on the access network After the network element on the access network stores the multicast service authority information of the terminal as the information of the terminal, when the subsequent terminal accesses the service network through the access network, the access network can use the multicast service permission of the terminal.
  • the information controls the multicast service of the terminal.
  • the following describes how the access network controls the multicast service of the terminal in some embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments.
  • FIG. 10A is a flowchart of still another method for accessing a service network according to an embodiment of the present application.
  • the user plane network element for example, the UPF network element
  • the network performs the multicast service of the terminal according to the multicast service request message of the terminal. The process of control.
  • the embodiment of the present invention relates to a network element: a session management network element (for example, an SMF network element), a user plane network element (for example, a UPF network element), and a network element that accesses the multicast service authority information of the network side storage terminal (for example: a policy control network element (such as a PCF network element), a data management network element (such as a UDM network element), a network management network element (such as an NMS network element), a data management network element (such as a UDM network element), or a network open network element ( For example, NEF network element)).
  • a session management network element for example, an SMF network element
  • a user plane network element for example, a UPF network element
  • a network element that accesses the multicast service authority information of the network side storage terminal for example: a policy control network element (such as a PCF network element), a data management network element (such as a UDM network element), a network management network element (such as an NMS
  • the method includes:
  • the user plane network element obtains a multicast service request message, where the multicast service request message is used by the terminal to obtain data of the first multicast service provided by the service network, where the multicast service request message includes: a first network connection identifier, and a An identifier of the multicast service, where the first network connection identifier is a network connection identifier used by the terminal to access the service network, and the first multicast service is one of at least one multicast service provided by the service network.
  • the user plane network element determines, according to the first network connection identifier and the identifier of the first multicast service, the right of the terminal corresponding to the first multicast service.
  • the user plane network element controls, according to the right of the terminal corresponding to the first multicast service, a range of data of the first multicast service that is sent to the terminal.
  • the user may trigger the terminal to initiate a multicast service request message requesting the first multicast service data.
  • the multicast service request message includes a first network connection identifier and an identifier of the first multicast service.
  • the identifier of the first multicast service mentioned here may be, for example, an ID of the first multicast service or a multicast address of the first multicast service.
  • the first network connection identifier mentioned here may be, for example, address information, a session identifier, and a tunnel endpoint identifier allocated by the service network.
  • the address information allocated by the service network mentioned herein may be an IP address allocated by the service network to the RG when the RG corresponding to the STB accesses the service network through the access network.
  • the session identifier mentioned here is the identifier of the session established by the access network for the RG corresponding to the STB.
  • the tunnel endpoint identifier mentioned here is the tunnel endpoint identifier generated when the access network is a session established by the RG corresponding to the STB.
  • the address information allocated by the service network herein may be an IP address allocated by the service network to the terminal when the terminal accesses the service network through the access network.
  • the session identifier mentioned here is an identifier of a session established by the access network for the terminal.
  • the tunnel endpoint identifier mentioned here is the tunnel endpoint identifier generated when the access network is a session established by the terminal.
  • the user plane network element may determine, according to the first network connection identifier and the identifier of the first multicast service, the right of the terminal corresponding to the first multicast service. Then, the user plane network element can control the range of data of the first multicast service that is sent to the terminal according to the right of the terminal corresponding to the first multicast service.
  • the multicast service privilege information of the terminal shown in Table 1 is taken as an example. When the first multicast service is the multicast service 1 in Table 1, the privilege of the terminal corresponding to the first multicast service is completely allowed.
  • the user plane network element when the user plane network element receives the data of the multicast service 1 broadcasted by the service network, it is forwarded to the terminal.
  • the first multicast service is the multicast service 2 in Table 1
  • the rights of the terminal corresponding to the first multicast service are not allowed.
  • the user plane network element when the user plane network element receives the data of the multicast service 2 broadcasted by the service network, it is not forwarded to the terminal.
  • the first multicast service is the multicast service 3 in Table 1, the right of the terminal corresponding to the first multicast service is allowed to be previewed.
  • the access network can control the multicast service of the terminal according to the multicast service authority information of the terminal in the scenario that the terminal accesses the service network through the access network shown in FIG. 3, and expands the service.
  • the usage scenario of the network is the case that the terminal accesses the service network through the access network shown in FIG. 3, and expands the service.
  • the user plane network element determines the right of the terminal to correspond to the first multicast service according to the first network connection identifier and the identifier of the first multicast service, and may include the following two implementation manners:
  • the first mode the user plane network element can obtain the correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the second network connection identifier mentioned above is a network connection identifier used when the terminal accesses the service network, for example, address information, a session identifier, and a tunnel endpoint identifier allocated by the service network.
  • the first network connection identifier is the same as the second network connection identifier, or the first network connection identifier corresponds to the second network identifier.
  • the user plane network element can determine the right of the terminal corresponding to the first multicast service according to the first network connection identifier, the identifier of the first multicast service, and the correspondence between the second network connection identifier of the terminal and the multicast service authority information. .
  • the user plane network element may search for the first network connection identifier and the first in the correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the privilege of the first multicast service corresponding to the identifier of the multicast service, and the privilege of the first multicast service is used as the privilege of the terminal corresponding to the first multicast service.
  • the user plane network element may be configured according to the first network connection identifier, the identifier of the first multicast service, the second network connection identifier of the terminal, and the multicast service authority information. Corresponding relationship, and the correspondence between the first network connection identifier and the second network connection identifier, determining the authority of the terminal to the first multicast service. For example, the user plane network element may first search for the second network connection identifier corresponding to the first network connection identifier in the correspondence between the first network connection identifier and the second network connection identifier.
  • the user plane network element may search for the first multicast service corresponding to the identifier of the second network connection identifier and the identifier of the first multicast service from the correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the authority is used, and the authority of the first multicast service is used as the authority of the terminal corresponding to the first multicast service.
  • the user plane network element can obtain the correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the user plane network element obtains the multicast service authority information of the terminal and the second network connection identifier, and establishes the second network connection identifier of the terminal according to the multicast service authority information of the terminal and the second network connection identifier.
  • the user plane network element may establish the multicast service authority information of the terminal according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the correspondence between the identifier of the terminal and the second network connection identifier. The correspondence between the two network connection identifiers.
  • the user plane network element can associate the terminal with the corresponding relationship between the identifier of the terminal and the multicast service authority information of the terminal, and the correspondence between the identifier of the terminal and the second network connection identifier.
  • the correspondence between the identifier and the multicast service authority information of the terminal is replaced by: the multicast service authority information of the terminal and the second network connection identifier are associated with each other.
  • the mapping between the multicast service authority information of the terminal and the second network connection identifier may be as shown in Table 2 below:
  • the user plane network element can obtain the multicast service authority information by receiving the multicast service authority information of the terminal sent by the session management network element.
  • the session management network element may interact with the network element that stores the multicast service authority information of the terminal on the access network side when the terminal performs the session establishment process on the access network, and obtain the multicast service authority information of the terminal.
  • the network element storing the multicast service authority information of the terminal on the access network side is a policy control network element (for example, a PCF network element), a data management network element (for example, a UDM network element), and a network management network element (for example, an NMS network element).
  • a data management network element for example, a UDM network element
  • a network open network element for example, an NEF network element
  • the session management network element may be from a data management network element, or a policy control network element, or a network open network element, Or the network management network element obtains the multicast service authority information of the terminal.
  • the session management network element may send the multicast service authority information of the terminal to the user plane network element, so that the user plane network element obtains the multicast service authority information of the terminal.
  • the user plane network element can obtain the second network connection identifier by using a process in which the terminal accesses the service network.
  • the user plane network element may obtain the second network connection identifier by using the process of the terminal accessing the service network through the access network, or the process of accessing the service network by using the access terminal through the access network.
  • the second network connection identifier is obtained, which is not limited in this embodiment.
  • the session management network element may further obtain the second network connection identifier of the terminal, and connect to the second network according to the multicast service authority information of the terminal.
  • the identifier establishes a correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the correspondence between the second network connection identifier of the terminal and the multicast service authority information is sent to the user plane network element.
  • the user plane network element can obtain the second network connection identifier and the multicast service authority information of the terminal by receiving the correspondence between the second network connection identifier of the terminal and the multicast service authority information sent by the session management network element. Correspondence relationship.
  • the session management network element obtains the second network connection identifier, refer to the foregoing manner for the user plane network element to obtain the second network connection identifier, and details are not described herein.
  • the session management network element establishes a correspondence between the second network connection identifier of the terminal and the multicast service authority information according to the multicast service authority information of the terminal and the second network connection identifier, and may refer to the foregoing about the multicast of the user plane network element according to the terminal.
  • the description of the correspondence between the second network connection identifier of the terminal and the multicast service authority information is not described here.
  • FIG. 10B is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 10B, the method may include:
  • the user plane network element sends a multicast service request message to the session management network element.
  • the multicast service request message includes: a first network connection identifier, and an identifier of the first multicast service.
  • the session management network element determines, according to the first network connection identifier, the identifier of the first multicast service, and the correspondence between the second network connection identifier of the terminal and the multicast service authority information, the right of the terminal corresponding to the first multicast service.
  • S1003 The session management network element sends a multicast service response message to the user plane network element.
  • the multicast service response message is used to indicate that the terminal corresponds to the first multicast service.
  • the second network connection identifier of the terminal may be further obtained, and the multicast service authority information and the second network according to the terminal are obtained.
  • the connection identifier is used to establish a correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the multicast service request message may be sent to the session management network element.
  • the session management network element may correspond to the first network connection identifier carried in the multicast service request message, the identifier of the first multicast service, and the second network connection identifier of the terminal established by the session management network element and the multicast service authority information. Relationship: Determine the authority of the terminal to correspond to the first multicast service.
  • the user plane network element may determine that the terminal corresponds to the first multicast service according to the first network connection identifier, the identifier of the first multicast service, and the correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the description of the permissions is not described here.
  • the method for accessing a service network provided by the embodiment of the present application can enable the access network to control the multicast service of the terminal in a scenario in which the terminal accesses the service network through the access network (for example, a wireless network), and expands the service.
  • the access network for example, a wireless network
  • the use of the network improves the user experience.
  • the terminal is the STB
  • the access network is the wireless network
  • the service network is the IPTV network
  • the session management network element is the SMF network element
  • the user plane network element is the UPF network element
  • the service network management system network element is the IPTV network side.
  • the network elements of the BOSS network element and the other service network in the service network for storing the multicast service authority information of the STB are the network element of the SMS network element, the access network side and the SMS network element, and obtain the multicast service authority information of the STB.
  • the network element of the NMS network element on the network side and the multicast service authority information of the storage terminal on the network side is a UDM network element.
  • the following describes the process of adding the multicast service permission information of the STB to the STB subscription information when the user subscribes to the IPTV multicast service.
  • FIG. 10C is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 10C, the method includes:
  • the BOSS network element receives an IPTV multicast service subscription request message.
  • the IPTV multicast service subscription request may include: an identifier of the STB, and multicast service authority information of the STB.
  • the multicast service authority information of the STB includes the right of the STB to correspond to at least one multicast service provided by the IPTV network.
  • the IPTV multicast service subscription request message may be input to the BOSS network element by the salesperson of the business hall.
  • the BOSS network element sends an IPTV multicast service subscription notification message to the SMS network element.
  • the IPTV multicast service subscription notification message includes: an identifier of the STB and a multicast service authority information of the STB.
  • the IPTV multicast service subscription notification message is used to notify the SMS network element to add the multicast service authority information of the STB to the information of the STB.
  • S1103 The SMS network element sends an IPTV multicast service subscription notification response message to the BOSS network element.
  • the IPTV multicast service subscription notification response message is used to notify the BOSS network element that the SMS network element has added the multicast service authority information of the STB to the information of the STB.
  • S1104 The SMS network element sends an IPTV multicast service subscription request message to the NMS network element.
  • the IPTV multicast service subscription request message is used to notify the STB that the multicast service of the IPTV network has been subscribed.
  • the IPTV multicast service subscription request message includes: an identifier of the STB and multicast service authority information of the STB.
  • S1105 The NMS network element sends an IPTV multicast service subscription request message to the UDM network element.
  • the S1106 and the UDM network element add the multicast service authority information of the STB to the subscription information of the STB.
  • the UDM network element may search for the STB subscription information stored in the local database based on the identifier of the STB, and add the STB multicast service authority information to the STB subscription information. .
  • the UDM network element sends an IPTV multicast service subscription response message to the NMS network element.
  • the IPTV multicast service subscription response message is used to notify the NMS network element that the UDM network element has added the multicast service authority information of the STB to the subscription information of the STB.
  • S1108 The NMS network element sends an IPTV multicast service subscription response message to the SMS network element.
  • the IPTV multicast service subscription response message is used to notify the SMS network element that the wireless network has added the STB multicast service authority information to the subscription information of the STB.
  • the wireless network can control the multicast service of the STB according to the multicast service authority information of the STB.
  • the IPTV multicast service subscription notification message and the IPTV multicast service subscription notification response message mentioned above are only an indication and do not constitute a limitation on the message.
  • the IPTV multicast service subscription notification message may be replaced by any other message used to notify the network element to add the STB multicast service authority information to the STB.
  • the IPTV multicast service subscription notification response message may be used.
  • the message substitution information of the STB's multicast service authority information has been added to the STB by any other notification, and is not limited thereto.
  • the UPF network element on the wireless network side controls the multicast service of the STB according to the multicast service request message of the STB, which may include the following three implementation manners:
  • the UPF network element establishes a correspondence between the multicast service authority information of the STB and the second network connection identifier, and controls the multicast service of the STB according to the corresponding relationship.
  • FIG. 10D is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 10D, the method includes:
  • the SMF network element interacts with the UDM network element to obtain the multicast service authority information of the STB.
  • the SMF network element may interact with the UDM network element that stores the multicast service authority information of the STB on the wireless network side when the RG corresponding to the STB performs the session establishment process on the wireless network, and obtain the multicast service authority information of the STB.
  • the SMF network element may obtain the multicast service authority information of the STB when the UDM network element obtains the STB subscription information.
  • the SMF network element sends the multicast service authority information of the STB to the UPF network element.
  • the UPF network element acquires a second network connection identifier of the STB.
  • the UPF network element may perform a process of accessing the IPTV network through the wireless network in the RG corresponding to the STB, and acquire a second network connection identifier used when the STB accesses the service network. For example, the IP address assigned by the IPTV network to the RG corresponding to the STB, the session identifier of the session established by the RG in the wireless network corresponding to the STB, or the tunnel endpoint identifier of the session established by the RG corresponding to the STB in the wireless network.
  • the UPF network element establishes a correspondence between the multicast service authority information of the STB and the second network connection identifier according to the multicast service authority information of the STB and the second network connection identifier of the STB.
  • the UPF network element may establish the STB multicast service authority information and the second network connection according to the correspondence between the identifier of the STB and the multicast service authority information of the STB, and the correspondence between the identifier of the STB and the second network connection identifier.
  • the corresponding relationship of the logo may be established according to the correspondence between the identifier of the STB and the multicast service authority information of the STB, and the correspondence between the identifier of the STB and the second network connection identifier. The corresponding relationship of the logo.
  • S1205 The STB sends a multicast service request message to the UPF network element.
  • the multicast service request message includes: an identifier of the first multicast service, and a first network connection identifier.
  • the first network connection identifier may be, for example, an IP address assigned by the IPTV network to the RG corresponding to the STB.
  • the STB may add the first network connection identifier to the multicast service request message by using the RG.
  • the STB may send an initial multicast service request message to the RG, where the initial multicast service request message includes: an identifier of the first multicast service, and a network connection identifier of the STB in the intranet on the RG side.
  • the RG converts the network connection identifier of the STB carried in the initial multicast service request message to the first network connection identifier in the intranet of the RG side to form a multicast service request message, and
  • the multicast service request message is sent to the UPF network element.
  • the UPF network element determines, according to the first network connection identifier of the STB, the identifier of the first multicast service, and the correspondence between the multicast service authority information of the STB and the second network connection identifier, determining that the STB corresponds to the first multicast service. Permissions.
  • the UPF network element may search for the first network connection identifier and the first multicast in the correspondence between the second network connection identifier of the STB and the multicast service authority information.
  • the privilege of the first multicast service corresponding to the identifier of the service, and the privilege of the first multicast service is used as the privilege of the STB corresponding to the first multicast service.
  • the UPF network element may be configured according to the first network connection identifier, the identifier of the first multicast service, the second network connection identifier of the STB, and the multicast service authority information. And the corresponding relationship between the first network connection identifier and the second network connection identifier, and determining the right of the STB to the first multicast service.
  • the UPF network element controls the range of data of the first multicast service that is sent to the STB according to the right of the STB corresponding to the first multicast service.
  • the second mode the SMF network element establishes the correspondence between the multicast service authority information of the STB and the second network connection identifier, and sends the information to the UPF network element according to the corresponding relationship, so that the UPF network element is based on the corresponding relationship.
  • the STB's multicast service is controlled.
  • FIG. 10E is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 10E, the method includes:
  • the SMF network element interacts with the UDM network element to obtain the multicast service authority information of the STB.
  • the SMF network element acquires a second network connection identifier of the STB.
  • the SMF network element establishes a correspondence between the multicast service authority information of the STB and the second network connection identifier according to the multicast service authority information of the STB and the second network connection identifier of the STB.
  • the SMF network element sends the correspondence between the multicast service authority information of the STB and the second network connection identifier to the UPF network element.
  • S1305 The STB sends a multicast service request message to the UPF network element.
  • the multicast service request message includes: an identifier of the first multicast service, and a first network connection identifier.
  • the first network connection identifier may be, for example, an IP address assigned by the IPTV network to the RG corresponding to the STB.
  • the S1306 and the UPF network element determine, according to the first network connection identifier of the STB, the identifier of the first multicast service, and the correspondence between the multicast service authority information of the STB and the second network connection identifier, that the STB corresponds to the first multicast service. Permissions.
  • the S1307 and the UPF network element control the range of the data of the first multicast service that is sent to the STB according to the right of the STB corresponding to the first multicast service.
  • the third mode the SMF network element establishes the correspondence between the multicast service authority information of the STB and the second network connection identifier, and the UPF network element can obtain the right of the STB corresponding to the first multicast service from the SMF network element, and according to the permission, Control the STB multicast service.
  • FIG. 10F is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 10F, the method includes:
  • the SMF network element interacts with the UDM network element to obtain the multicast service authority information of the STB.
  • the SMF network element acquires a second network connection identifier of the STB.
  • the S1403 and the SMF network element establish a correspondence between the multicast service authority information of the STB and the second network connection identifier according to the multicast service authority information of the STB and the second network connection identifier of the STB.
  • S1404 The STB sends a multicast service request message to the UPF network element.
  • the multicast service request message includes: an identifier of the first multicast service, and a first network connection identifier.
  • the first network connection identifier may be, for example, an IP address assigned by the IPTV network to the RG corresponding to the STB.
  • the UPF network element sends a multicast service request message to the SMF network element.
  • the S1406, the SMF network element determines, according to the first network connection identifier of the STB, the identifier of the first multicast service, and the correspondence between the multicast service authority information of the STB and the second network connection identifier, determining that the STB corresponds to the first multicast service. Permissions.
  • S1407 The SMF network element sends a multicast service response message to the UPF network element.
  • the multicast service response message is used to indicate that the STB corresponds to the rights of the first multicast service.
  • the S1408 and the UPF network element control the range of data of the first multicast service that is sent to the STB according to the right of the STB corresponding to the first multicast service.
  • the method for accessing the service network provided by the embodiment of the present application can enable the wireless network to control the multicast service of the STB according to the multicast service authority information of the STB in the scenario that the STB accesses the IPTV network through the wireless network, and expands the The usage scenario of the IPTV network improves the user experience.
  • FIG. 11 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application.
  • the communication device according to this embodiment may be the user plane network element mentioned above, or may be a chip applied to the user plane network element.
  • the communication device can be used to perform the action of the user plane network element in the foregoing method embodiment.
  • the communication device may include a processing unit 11 and a transmitting unit 12.
  • the communication device may further include: a receiving unit 13. among them,
  • the processing unit 11 is configured to acquire an access message, where the access message is used by the terminal to access the service network, where the access message includes: verification information of the terminal in the service network;
  • the sending unit 12 is configured to send the access message to the serving network.
  • the receiving unit 13 is configured to receive the verification information sent by the session management network element and the initial access message sent by the terminal.
  • the processing unit 11 The method is specifically configured to acquire the access message according to the initial access message and the verification information.
  • the processing unit 11 is specifically configured to receive the access message sent by the session management network element.
  • the processing unit 11 is further configured to obtain a feedback message of the service network to the access message, where the feedback message includes identifier information of the terminal, and according to the terminal
  • the identifier information controls the sending unit 12 to send the feedback message to the terminal.
  • the processing unit 11 is specifically configured to determine session information of the terminal according to a mapping relationship between the identifier information of the terminal and the session information of the terminal, and control the session of the sending unit 12 through the terminal. The session corresponding to the information sends the feedback message to the terminal.
  • the receiving unit 13 is configured to receive the identifier information of the terminal and the session information of the terminal that are sent by the session management network element, and the processing unit 11 is further configured to establish the identifier information of the terminal. Mapping relationship of session information of the terminal. Or the receiving unit 13 is configured to receive a mapping relationship between the identifier information of the terminal sent by the session management network element and the session information of the terminal. Or the receiving unit 13 is configured to receive the session information of the terminal that is sent by the session management network element, and the processing unit 11 is further configured to acquire an initial access message sent by the terminal, and establish the And a mapping relationship between the identifier information of the terminal and the session information of the terminal, where the initial access message includes the identifier information of the terminal.
  • the receiving unit 13 is configured to receive a feedback message of the service network sent by the session management network element to the access message, where the feedback message includes session information of the terminal;
  • the processing unit 11 is further configured to control, according to the session corresponding to the session information of the terminal, the sending unit 12 to send the feedback message to the terminal.
  • the access message acquired by the processing unit 11 includes first address information allocated by the session management network element to the terminal, and second address information allocated by the service network to the terminal. .
  • the processing unit 11 is further configured to delete the first address information in the access message, and the sending unit 12 is specifically configured to delete the first address information.
  • An access message is sent to the service network.
  • the feedback message acquired by the processing unit 11 includes second address information allocated by the service network to the terminal.
  • the processing unit 11 is further configured to acquire first address information allocated by the session management network element to the terminal, and add the first address information to the feedback message;
  • the sending unit 12 is specifically configured to send the feedback message to the terminal, where the feedback message includes: the first address information and the second address information.
  • the communication device provided by the embodiment of the present application may perform the action of the user plane network element in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 12 is a schematic structural diagram of another communication apparatus according to an embodiment of the present application.
  • the communication device according to this embodiment may be the foregoing session management network element, or may be a chip applied to the session management network element.
  • the communication device can be used to perform the actions of the session management network element in the foregoing method embodiment.
  • the communication device may include a receiving unit 21, a processing unit 22, and a transmitting unit 23. among them,
  • the receiving unit 21 is configured to receive a session establishment request message sent by the terminal, where the session establishment request message is used to request to establish a session of the terminal;
  • the processing unit 22 is configured to obtain verification information of the terminal in a service network, where the verification message is used by the terminal to access the service network;
  • the sending unit 23 is configured to send the verification information to the user plane network element.
  • the processing unit 22 is specifically configured to obtain the verification information from a data management network element, or a policy control network element, or a local database, or an access management network element.
  • the receiving unit 21 is further configured to receive an initial access message sent by the terminal, where the processing unit 22 is further configured to perform, according to the initial access message, the verification The information is obtained, and the access message includes: the verification information; the sending unit 23 is specifically configured to send the access message to the user plane network element.
  • the processing unit 22 is further configured to acquire the identifier information of the service network according to the session establishment request message, and determine the service according to the identifier information of the service network.
  • the network provides a policy control network element of the policy; the sending unit 23 is further configured to notify the policy control network element that the terminal will obtain a service from the service network; and the receiving unit 21 is further configured to receive the policy. Controlling a policy of the service network sent by the network element.
  • the processing unit 22 is further configured to acquire the identifier information of the terminal and the session information of the terminal, and the sending unit 23 is further configured to send the user plane network element Identification information of the terminal and session information of the terminal.
  • the processing unit 22 is further configured to acquire session information of the terminal, and the sending unit 23 is further configured to send session information of the terminal to the user plane network element.
  • the processing unit 22 is further configured to acquire the identifier information of the terminal, and establish identifier information of the terminal according to the identifier information of the terminal and the session information of the terminal. a mapping relationship with the session information of the terminal; the sending unit 23 is further configured to send the mapping relationship to the user plane network element.
  • the processing unit 22 is configured to acquire the identification information of the terminal from a data management network element, or a policy control network element, or a local database, or an access management network element. Or the processing unit 22 is specifically configured to receive, by using the receiving unit 21, an initial access message sent by the terminal, where the initial access message includes: identifier information of the terminal.
  • the receiving unit 21 is further configured to receive a feedback message of the service network to the access message, where the feedback message includes: identifier information of the terminal;
  • the unit 22 is further configured to determine session information of the terminal according to the identifier information of the terminal, and the mapping relationship between the identifier information of the terminal and the session information of the terminal;
  • the sending unit 23 is further configured to: Sending the feedback message to the user plane network element, where the feedback message includes session information of the terminal.
  • the communication device provided by the embodiment of the present application may perform the action of the session management network element in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 13 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • the communication device according to the present embodiment may be the aforementioned terminal or a chip applied to the terminal.
  • the communication device can be used to perform the actions of the terminal in the above method embodiment.
  • the communication device may include a processing unit 31 and a transmitting unit 32.
  • the foregoing communications apparatus may further include: a receiving unit 33. among them,
  • the processing unit 31 is configured to determine to establish a session; for example, the processing unit 31 is configured to determine to establish the session when receiving data of the service network sent by the client; or complete registration of the mobile network At the time of the process, it is determined that the session is established.
  • the sending unit 32 is configured to send a session establishment request message to the session management network element, where the session establishment request message is used to request the session management network element to establish the session.
  • the sending unit 32 is further configured to send an initial access message to the serving network after the session is established, where the initial access message is used to request access to the service.
  • the internet For example, the sending unit 32 is specifically configured to send an initial access message to the serving network when receiving data of the service network sent by the client.
  • the session establishment request message includes indication information, where the indication information is used to instruct the device to obtain a network protocol IP address from a service network.
  • the indication information includes: indication information of an IP address allocation by a dynamic host configuration protocol, or identifier information of an Ethernet type of the session.
  • the receiving unit 33 is configured to receive a session establishment response message sent by the session management network element, where the session establishment response message includes: first address information allocated by the session management network element;
  • the processing unit 31 is further configured to obtain a feedback message of the service network to the initial access message, where the feedback message includes second address information allocated by the service network, and the sending unit 32 is further used to The service network sends an uplink message, where the uplink message includes: the first address information and the second address information;
  • the receiving unit 33 is further configured to receive a downlink message sent by the serving network, the downlink message The first address information and the second address information are included; the processing unit 31 is further configured to delete the first address information of the downlink message.
  • the communication device provided by the embodiment of the present application can perform the action of the terminal in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 14 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • the communication device according to the embodiment may be the foregoing data management network element, or may be a chip applied to the data management network element, and configured to perform the operation of the data management network element in the foregoing method embodiment.
  • the communication device according to the embodiment may be the foregoing policy control network element, or may be a chip applied to the policy control network element, and configured to perform the action of the policy control network element in the foregoing method embodiment.
  • the communication device may include a receiving unit 41 and a processing unit 42. among them,
  • the receiving unit 41 is configured to receive verification information of the terminal in the service network
  • the processing unit 42 is configured to use the verification information of the terminal in the service network as the information of the terminal.
  • the communication device provided by the embodiment of the present application may perform the operations of the data management network element or the policy control network element in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 14 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • the communication device according to this embodiment may be the user plane network element mentioned above, or may be a chip applied to the user plane network element.
  • the communication device can be used to perform the action of the user plane network element in the foregoing method embodiment.
  • the communication device may include a processing unit 111 and a transmitting unit 112.
  • the communication device may further include: a receiving unit 113. among them,
  • the processing unit 111 is configured to obtain a multicast service request message, and determine, according to the first network connection identifier and the identifier of the first multicast service, the right of the terminal corresponding to the first multicast service, and according to the The terminal corresponds to the right of the first multicast service, and controls a range of data of the first multicast service that is sent by the sending unit 112 to the terminal, where the multicast service request message is used by the terminal to request to obtain a service network.
  • the data of the first multicast service where the multicast service request message includes: a first network connection identifier, and an identifier of the first multicast service, where the first network connection identifier is the terminal access station
  • the network connection identifier used when serving the network, the first multicast service being one of at least one multicast service provided by the service network.
  • the first network connection identifier mentioned herein may include any one of the following: address information allocated by the service network, a session identifier, and a tunnel endpoint identifier.
  • the processing unit 111 is specifically configured to: according to the first network connection identifier, the identifier of the first multicast service, and the second network connection identifier and multicast of the terminal.
  • Corresponding relationship of the service authority information determining the authority of the terminal corresponding to the first multicast service, where the multicast service authority information includes rights of the terminal corresponding to the at least one multicast service, and the second
  • the network connection identifier is a network connection identifier used by the terminal when accessing the service network, the first network connection identifier is the same as the second network connection identifier, or the first network connection identifier is The second network identifier corresponds.
  • the second network connection identifier mentioned herein may include any one of the following: address information allocated by the service network, a session identifier, and a tunnel endpoint identifier.
  • the processing unit 111 is configured to be used according to the first network connection identifier, the identifier of the first multicast service, and the terminal, when the first network connection identifier is corresponding to the second network identifier. Corresponding relationship between the second network connection identifier and the multicast service authority information, and the corresponding relationship between the first network connection identifier and the second network connection identifier, determining that the terminal is to the first multicast service permission.
  • the processing unit 111 is further configured to acquire a correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the processing unit 111 is configured to receive, by using the receiving unit 113, the correspondence relationship sent by the session management network element.
  • the processing unit 111 is configured to acquire the multicast service authority information of the terminal and the second network connection identifier, and establish the multicast service authority information and the second network connection identifier according to the terminal.
  • the corresponding relationship In a specific implementation, the processing unit 111 is specifically configured to: according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the correspondence between the identifier of the terminal and the second network connection identifier Relationship, establishing the correspondence.
  • the processing unit 111 is configured to receive, by using the receiving unit 113, multicast service authority information of the terminal that is sent by the session management network element.
  • the processing unit 111 is specifically configured to send the multicast service request message to the session management network element by using the sending unit 112, and receive the session by using the receiving unit 113.
  • the multicast service response message sent by the network element is used, and the multicast service response message is used to indicate that the terminal corresponds to the right of the first multicast service.
  • the communication device provided by the embodiment of the present application can perform the operations of the user plane network element in the foregoing FIG. 10A to FIG. 10F, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 14B is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • the communication device according to this embodiment may be the foregoing session management network element, or may be a chip applied to the session management network element.
  • the communication device can be used to perform the actions of the session management network element in the foregoing method embodiment.
  • the communication device can include a processing unit 121.
  • the communication device may further include: a sending unit 122 and a receiving unit 123. among them,
  • the processing unit 121 is configured to obtain the multicast service authority information of the terminal, where the multicast service authority information includes the right of the terminal corresponding to the at least one multicast service provided by the service network.
  • the processing unit 121 is specifically configured to obtain multicast service authority information of the terminal from a data management network element, or a policy control network element, or a network open network element, or a network management network element.
  • the sending unit 122 is configured to send the multicast service authority information of the terminal to the user plane network element.
  • the processing unit 121 is further configured to obtain a second network connection identifier, and establish the terminal according to the multicast service authority information of the terminal and the second network connection identifier.
  • the processing unit 121 is specifically configured to: according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the identifier of the terminal and the second network connection identifier.
  • the foregoing second network connection identifier may include any one of the following: address information allocated by the service network, a session identifier, and a tunnel endpoint identifier.
  • the processing unit 121 is further configured to obtain a second network connection identifier, and establish the terminal according to the multicast service authority information of the terminal and the second network connection identifier.
  • the receiving unit 123 is configured to: Receiving a multicast service request message sent by the user plane network element, where the multicast service request message is used by the terminal to obtain data of the first multicast service provided by the service network, where the multicast service request message includes: a first network connection identifier, and an identifier of the first multicast service, where the first multicast service is one of at least one multicast service provided by the network service network, where the first network connection identifier is a network connection identifier used by the terminal to access the service network, where the first network connection identifier is the same as the second network connection identifier, or the first network The connection
  • the processing unit 121 when the first network connection identifier is corresponding to the second network identifier, the processing unit 121 is specifically configured to use, according to the first network connection identifier, the first multicast service. Corresponding relationship between the identifier, the second network connection identifier of the terminal, and the multicast service authority information, and the corresponding relationship between the first network connection identifier and the second network connection identifier, determining the terminal The authority of the first multicast service.
  • the processing unit 121 is specifically configured to: according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the identifier of the terminal and the second network connection identifier. Corresponding relationship, establishing a correspondence between the second network connection identifier of the terminal and the multicast service authority information.
  • the communication device provided by the embodiment of the present application can perform the operations of the session management network element in the foregoing FIG. 10A to FIG. 10F, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 14C is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • the communication device may be a network element for storing the multicast service authority information of the receiving terminal on the access network side, for example, a data management network element (for example, a UDM network element) and a policy control network element. (for example, a PCF network element), a network open network element (for example, an NEF network element), and a network management network element (for example, an NMS network element), which may also be applied to the access network side for storing multicast service authority information of the receiving terminal.
  • a data management network element for example, a UDM network element
  • a policy control network element for example, a PCF network element
  • a network open network element for example, an NEF network element
  • a network management network element for example, an NMS network element
  • the communication device may include a receiving unit 131 and a processing unit 132. among them,
  • the receiving unit 131 is configured to receive the multicast service authority information of the terminal, where the multicast service rights information includes the rights of the terminal to the at least one multicast service provided by the service network;
  • the processing unit 132 is configured to use the multicast service authority information of the terminal as the information of the terminal.
  • the communication device provided by the embodiment of the present application may perform the action of the network element for storing the multicast service authority information of the receiving terminal in the access method on the network side in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again. .
  • the processing unit can be implemented in software in the form of processing component calls; it can also be implemented in hardware.
  • the processing unit may be a separately set processing element, or may be integrated in one of the above-mentioned devices, or may be stored in the memory of the above device in the form of program code, by a processing element of the above device. Call and execute the functions of the above processing unit.
  • all or part of these units can be integrated or implemented independently.
  • the processing elements described herein can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above units may be completed by an integrated logic circuit of hardware in the processor element or an instruction in a form of software.
  • the above units may be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASICs), or one or more microprocessors (digital) Signal processor, DSP), or one or more field programmable gate arrays (FPGAs).
  • ASICs application specific integrated circuits
  • DSP digital signal processor
  • FPGAs field programmable gate arrays
  • the processing element can be a general purpose processor, such as a central processing unit (CPU) or other processor that can invoke program code.
  • CPU central processing unit
  • these units can be integrated and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • FIG. 15 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • the communication device may include a processor 51 (for example, a CPU), a memory 52, a receiver 53, and a transmitter 54.
  • the receiver 53 and the transmitter 54 are both coupled to the processor 51, and the processor 51 controls reception.
  • the memory 52 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory, such as at least one disk storage, in which various instructions can be stored for performing various processing functions and implementing the method steps of the present application.
  • RAM high-speed random access memory
  • NVM non-volatile memory
  • the communication device involved in the present application may further include: a power source 55, a communication bus 56, and a communication port 57.
  • the receiver 53 and the transmitter 54 may be integrated in the transceiver of the communication device or may be an independent transceiver antenna on the communication device.
  • Communication bus 56 is used to implement a communication connection between the components.
  • the communication port 57 is used to implement connection communication between the communication device and other peripheral devices.
  • the memory 52 is used to store computer executable program code, and the program code includes instructions.
  • the instruction causes the processor 51 of the communication device to execute the user plane network element in the foregoing method embodiment.
  • the processing operation of the receiver 53 performs the receiving operation of the user plane network element in the foregoing method embodiment, so that the transmitter 54 performs the sending operation of the user plane network element in the foregoing method embodiment, and the implementation principle and technical effect are similar. No longer.
  • FIG. 16 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • the communication device may include a processor 61 (for example, a CPU), a memory 62, a receiver 63, and a transmitter 64.
  • the receiver 63 and the transmitter 64 are both coupled to the processor 61, and the processor 61 controls reception.
  • the receiving operation of the processor 63, the processor 61 controls the transmitting operation of the transmitter 64;
  • the memory 62 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory, NVM), such as at least one disk storage, in which various instructions can be stored for performing various processing functions and implementing the method steps of the present application.
  • NVM non-volatile memory
  • the communication device involved in the present application may further include: a power source 65, a communication bus 66, and a communication port 67.
  • the receiver 63 and the transmitter 64 may be integrated in the transceiver of the communication device or may be an independent transceiver antenna on the communication device.
  • Communication bus 66 is used to implement a communication connection between components.
  • the communication port 67 is used to implement connection communication between the communication device and other peripheral devices.
  • the foregoing memory 62 is configured to store computer executable program code, and the program code includes instructions.
  • the instruction causes the processor 61 of the communication device to execute the session management network element in the foregoing method embodiment.
  • the processing operation is performed by the receiver 63 to perform the receiving operation of the session management network element in the foregoing method embodiment, so that the transmitter 64 performs the sending operation of the session management network element in the foregoing method embodiment, and the implementation principle and the technical effect are similar. No longer.
  • FIG. 17 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • the communication device may include a processor 71 (for example, a CPU), a memory 72, a receiver 73, and a transmitter 74.
  • the receiver 73 and the transmitter 74 are both coupled to the processor 71, and the processor 71 controls reception.
  • the receiving operation of the processor 73, the processor 71 controls the transmitting operation of the transmitter 74;
  • the memory 72 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory, NVM), such as at least one disk storage, in which various instructions can be stored for performing various processing functions and implementing the method steps of the present application.
  • NVM non-volatile memory
  • the communication device involved in the present application may further include: a power source 75, a communication bus 76, and a communication port 77.
  • the receiver 73 and the transmitter 74 may be integrated in the transceiver of the communication device or may be an independent transceiver antenna on the communication device.
  • Communication bus 76 is used to implement a communication connection between the components.
  • the communication port 77 is used to implement connection communication between the communication device and other peripheral devices.
  • the memory 72 is used to store computer executable program code, and the program code includes instructions.
  • the instruction causes the processor 71 of the communication device to perform the processing action of the terminal in the foregoing method embodiment.
  • the receiver 73 is configured to perform the receiving action of the terminal in the foregoing method embodiment, so that the transmitter 74 performs the sending action of the terminal in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 18 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
  • the communication device may include a processor 81 (for example, a CPU), a memory 82, and a receiver 83.
  • the communication device may further include a transmitter 84. Both the receiver 83 and the transmitter 84 are coupled to the processor 81, the processor 81 controls the receiving action of the receiver 83, the processor 81 controls the transmitting action of the transmitter 84, and the memory 82 may include a high-speed random access memory (random-access memory). , RAM), may also include non-volatile memory (NVM), such as at least one disk storage, in which various instructions may be stored for performing various processing functions and implementing the present application. Method steps.
  • NVM non-volatile memory
  • the communication device involved in the present application may further include: a power source 85, a communication bus 86, and a communication port 87.
  • the receiver 83 and the transmitter 84 may be integrated in the transceiver of the communication device or may be an independent transceiver antenna on the communication device.
  • Communication bus 86 is used to implement a communication connection between components.
  • the communication port 87 is used to implement connection communication between the communication device and other peripheral devices.
  • the memory 82 is used to store computer executable program code, and the program code includes instructions.
  • the instruction causes the processor 81 of the communication device to execute the data management network element in the foregoing method embodiment.
  • the processing operation of the data management network element in the foregoing method embodiment is performed by the receiver 83, so that the transmitter 84 performs the sending operation of the data management network element in the foregoing method embodiment, and the implementation principle and technical effect are similar. No longer.
  • the instruction causes the processor 81 of the communication device to perform the processing action of the policy control network element in the foregoing method embodiment, so that the receiver 83 performs the receiving action of the policy control network element in the foregoing method embodiment, so that the transmitter 84 performs the above method implementation.
  • the policy controls the sending action of the network element, and its implementation principle and technical effect are similar, and will not be described here.
  • a computer program product includes one or more computer instructions.
  • 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, computer instructions can be wired from a website site, computer, server or data center (eg Coax, fiber, digital subscriber line (DSL) or wireless (eg, infrared, wireless, microwave, etc.) is transmitted to another website, computer, server, or data center.
  • 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.
  • Useful media can be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)).
  • plural refers to two or more.
  • the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations.
  • the character “/” in this paper generally indicates that the contextual object is an “or” relationship; in the formula, the character “/” indicates that the contextual object is a "divide” relationship.

Abstract

Provided are a method for accessing a service network, and a communication apparatus. The method comprises: a user plane network element acquiring an access message, wherein the access message is used for a terminal to access a service network, and the access message comprises: verification information of the terminal in the service network; and the user plane network element sending the access message to the service network. By means of the method for accessing a service network and the communication apparatus provided in the embodiments of the present application, a terminal can access a service network by means of an access network (for example, a wireless network), thus expanding the use scenarios of the service network.

Description

接入服务网络的方法和通信装置Method and communication device for accessing service network
本申请要求于2018年04月09日提交中国专利局、申请号为201810313099.9、申请名称为“接入服务网络的方法和通信装置”的中国专利申请的优先权,以及,2018年06月26日提交中国专利局、申请号为201810674225.3、申请名称为“接入服务网络的方法和通信装置”的中国专利申请的优先权其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201810313099.9, filed on April 09, 2018, and entitled "Method and Communication Device for Accessing the Service Network", and June 26, 2018 The priority of the Chinese Patent Application, which is hereby incorporated by reference in its entirety in its entirety in its entirety in the the the the the the the the the
技术领域Technical field
本申请实施例涉及通信技术,尤其涉及一种接入服务网络的方法和通信装置。The embodiments of the present application relate to communication technologies, and in particular, to a method and a communication device for accessing a service network.
背景技术Background technique
网络协议电视(internet protocol television,IPTV)网络是一种由服务提供商提供的网络,可以为用户提供视频、音频、图片等服务。目前,用户可以通过终端接入IPTV网络,以获取IPTV业务。其中,这里所说的终端例如可以为家庭网关(residential gateway,RG)。An internet protocol television (IPTV) network is a network provided by a service provider to provide users with services such as video, audio, and pictures. Currently, a user can access an IPTV network through a terminal to obtain an IPTV service. The terminal mentioned here may be, for example, a residential gateway (RG).
现有技术中,终端可以通过有线网络接入IPTV网络。然而,现有技术并不涉及在其他网络(例如:无线网络)中终端如何接入IPTV网络。因此,现有的终端接入IPTV网络的方式,无法满足实际使用时的需求。In the prior art, the terminal can access the IPTV network through a wired network. However, the prior art does not relate to how terminals access the IPTV network in other networks (eg, wireless networks). Therefore, the existing terminal accessing the IPTV network cannot meet the requirements in actual use.
发明内容Summary of the invention
本申请实施例提供一种接入服务网络的方法和通信装置,用于解决现有技术中终端无法通过其他网络(例如:无线网络)接入IPTV网络的技术问题。The embodiment of the present invention provides a method and a communication device for accessing a service network, which are used to solve the technical problem that a terminal cannot access an IPTV network through another network (for example, a wireless network) in the prior art.
第一方面,本申请实施例提供一种接入服务网络的方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for accessing a service network, where the method includes:
用户面网元获取接入消息,所述接入消息用于终端接入服务网络,所述接入消息包括:所述终端在所述服务网络中的验证信息;The user plane network element obtains an access message, where the access message is used for the terminal to access the service network, and the access message includes: verification information of the terminal in the service network;
所述用户面网元向所述服务网络发送所述接入消息。The user plane network element sends the access message to the serving network.
通过第一方面提供的接入服务网络的方法,当接入网络为无线网络时,接入网络的用户面网元可以将用于终端接入服务网络的接入消息发送给服务网络,以协助终端接入服务网络,从而使得终端可以通过无线网络接入服务网络,扩大了服务网络的使用场景。The method for accessing a service network provided by the first aspect, when the access network is a wireless network, the user plane network element of the access network may send an access message for the terminal access service network to the service network, to assist The terminal accesses the service network, so that the terminal can access the service network through the wireless network, thereby expanding the usage scenario of the service network.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述用户面网元接收会话管理网元发送的所述验证信息以及所述终端发送的初始接入消息;The user plane network element receives the verification information sent by the session management network element and the initial access message sent by the terminal;
所述用户面网元获取接入消息,包括:The user plane network element obtains an access message, including:
所述用户面网元根据所述初始接入消息和所述验证信息,获取所述接入消息。The user plane network element acquires the access message according to the initial access message and the verification information.
通过该可能的实施方式提供的接入服务网络的方法,接入网络的用户面网元可以在终端发送的初始接入消息中添加终端在服务网络中的验证信息,从而使得服务网络可以基于该验证信息,对终端进行认证,进而使得接入网络在终端发送的初始接入消息添加验证信 息的方式灵活多样,扩大了使用场景。The method for accessing the service network provided by the possible implementation manner, the user plane network element of the access network may add the verification information of the terminal in the service network in the initial access message sent by the terminal, so that the service network may be based on the The authentication information is used to authenticate the terminal, so that the manner in which the access network adds the verification information to the initial access message sent by the terminal is flexible and diverse, and the usage scenario is expanded.
在一种可能的实施方式中,所述用户面网元获取接入消息,包括:In a possible implementation, the user plane network element obtains an access message, including:
所述用户面网元接收会话管理网元发送的所述接入消息。The user plane network element receives the access message sent by the session management network element.
通过该可能的实施方式提供的接入服务网络的方法,在终端发送的初始接入消息中添加终端在服务网络中的验证信息的操作可以由接入网络的会话管理网元进行处理,从而使得用户面网元只需将会话管理网元所发送的接入消息发送给服务网络即可,不需要对接入消息进行处理,降低了用户面网元的功耗,同时也使接入网络在终端发送的初始接入消息添加验证信息的方式灵活多样,扩大了使用场景。The method for accessing the service network provided by the possible implementation manner, the operation of adding the verification information of the terminal in the service network to the initial access message sent by the terminal may be processed by the session management network element of the access network, thereby The user plane network element only needs to send the access message sent by the session management network element to the service network, and does not need to process the access message, thereby reducing the power consumption of the user plane network element, and also making the access network The initial access message sent by the terminal adds flexible authentication information, which expands the usage scenario.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述用户面网元获取所述服务网络对所述接入消息的反馈消息,所述反馈消息包括所述终端的标识信息;The user plane network element obtains a feedback message of the service network to the access message, where the feedback message includes identifier information of the terminal;
所述用户面网元根据所述终端的标识信息,向所述终端发送所述反馈消息。The user plane network element sends the feedback message to the terminal according to the identifier information of the terminal.
通过该可能的实施方式提供的接入服务网络的方法,接入网络的用户面网元可以根据服务网络发送给终端的反馈消息中所包括的终端的标识信息,将服务网络发送给终端的反馈消息发送给终端,以协助终端接入服务网络,从而使得终端可以通过接入网络接入服务网络的方式灵活多样,以满足不同应用场景的需求。The method for accessing the service network provided by the possible implementation manner, the user plane network element of the access network may send the feedback of the service network to the terminal according to the identifier information of the terminal included in the feedback message sent by the service network to the terminal The message is sent to the terminal to assist the terminal to access the service network, so that the terminal can access the service network through the access network to be flexible and diverse, so as to meet the requirements of different application scenarios.
在一种可能的实施方式中,所述用户面网元根据所述终端的标识信息,向所述终端发送所述接入消息的反馈消息,包括:In a possible implementation, the user plane network element sends the feedback message of the access message to the terminal according to the identifier information of the terminal, including:
所述用户面网元根据所述终端的标识信息与所述终端的会话信息的映射关系,确定所述终端的会话信息;Determining, by the user plane network element, session information of the terminal according to a mapping relationship between the identifier information of the terminal and the session information of the terminal;
所述用户面网元通过所述终端的会话信息对应的会话,向所述终端发送所述反馈消息。The user plane network element sends the feedback message to the terminal by using a session corresponding to the session information of the terminal.
通过该可能的实施方式提供的接入服务网络的方法,接入网络的用户面网元可以根据服务网络发送给终端的反馈消息中所包括的终端的标识信息,以及,该映射关系,识别用于发送该反馈消息的会话,从而通过对应的会话将服务网络发送给终端的反馈消息发送给终端,以协助终端接入服务网络,从而使得终端可以通过接入网络接入服务网络的方式灵活多样,以满足不同应用场景的需求。The method for accessing the service network provided by the possible implementation manner, the user plane network element of the access network may be identified according to the identifier information of the terminal included in the feedback message sent by the service network to the terminal, and the mapping relationship. Sending the feedback message to the session, so that the feedback message sent by the service network to the terminal is sent to the terminal through the corresponding session, so as to assist the terminal to access the service network, so that the terminal can access the service network through the access network. To meet the needs of different application scenarios.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述用户面网元接收会话管理网元发送的所述终端的标识信息以及所述终端的会话信息;The user plane network element receives the identifier information of the terminal and the session information of the terminal that are sent by the session management network element;
所述用户面网元建立所述终端的标识信息与所述终端的会话信息的映射关系;The user plane network element establishes a mapping relationship between the identifier information of the terminal and the session information of the terminal;
或者,or,
所述用户面网元接收所述会话管理网元发送的所述终端的标识信息与所述终端的会话信息的映射关系;The user plane network element receives a mapping relationship between the identifier information of the terminal and the session information of the terminal that are sent by the session management network element;
或者,or,
所述用户面网元获取所述终端发送的初始接入消息,所述初始接入消息包括所述终端的标识信息;The user plane network element acquires an initial access message sent by the terminal, where the initial access message includes identifier information of the terminal;
所述用户面网元接收所述会话管理网元发送的所述终端的会话信息;The user plane network element receives session information of the terminal sent by the session management network element;
所述用户面网元建立所述终端的标识信息与所述终端的会话信息的映射关系。The user plane network element establishes a mapping relationship between the identifier information of the terminal and the session information of the terminal.
通过该可能的实施方式提供的接入服务网络的方法,使得接入网络的用户面网元获取 终端的标识信息与终端的会话信息的映射关系的方式灵活多样,以满足不同应用场景的需求,从而扩大了终端通过接入网络接入服务网络的使用场景。The method for accessing the service network provided by the possible implementation manner enables the user plane network element of the access network to obtain the mapping relationship between the identifier information of the terminal and the session information of the terminal in a flexible manner to meet the requirements of different application scenarios. Thereby, the usage scenario in which the terminal accesses the service network through the access network is expanded.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述用户面网元接收会话管理网元发送的所述服务网络对所述接入消息的反馈消息,所述反馈消息包括所述终端的会话信息;The user plane network element receives a feedback message of the service network sent by the session management network element to the access message, where the feedback message includes session information of the terminal;
所述用户面网元根据所述终端的会话信息对应的会话向所述终端发送所述反馈消息。The user plane network element sends the feedback message to the terminal according to the session corresponding to the session information of the terminal.
通过该可能的实施方式提供的接入服务网络的方法,接入网络的会话管理网元可以根据服务网络发送给终端的反馈消息中所包括的终端的标识信息,确定发送该反馈消息的会话,并将该会话信息携带在反馈消息中发送给用户面网元,从而使得用户面网元可以基于会话标识对应的会话直接向终端发送该反馈消息,不用再判断发送该反馈消息的会话是哪一个,降低了用户面网元的功耗,同时也使终端接入服务网络的方式灵活多样,扩大了使用场景。The method for accessing the service network provided by the possible implementation manner, the session management network element of the access network may determine the session for sending the feedback message according to the identifier information of the terminal included in the feedback message sent by the service network to the terminal. The session information is carried in the feedback message and sent to the user plane network element, so that the user plane network element can directly send the feedback message to the terminal based on the session corresponding to the session identifier, without determining which session the sender message is sent. The power consumption of the user plane network element is reduced, and the manner in which the terminal accesses the service network is flexible and diverse, and the usage scenario is expanded.
在一种可能的实施方式中,所述用户面网元获取的接入消息中包括会话管理网元为所述终端分配的第一地址信息以及所述服务网络为所述终端分配的第二地址信息;In a possible implementation manner, the access message obtained by the user plane network element includes: first address information allocated by the session management network element to the terminal, and a second address allocated by the service network to the terminal. information;
所述用户面网元向所述服务网络发送所述接入消息,包括:The user plane network element sends the access message to the service network, including:
所述用户面网元删除所述接入消息中的所述第一地址信息;The user plane network element deletes the first address information in the access message;
所述用户面网元将删除所述第一地址信息后的接入消息发送给所述服务网络。The user plane network element sends an access message after deleting the first address information to the service network.
通过该可能的实施方式提供的接入服务网络的方法,即便接入网络和服务网络都为终端分配了地址,用户面网元可以通过删除接入消息中第一地址信息的方式,将终端接入服务网络。在尽可能不修改现有的接入网络建立终端的会话流程的前提下,使终端可以通过接入网络接入服务网络,提高了用户体验。The method for accessing the service network provided by the possible implementation manner, even if the access network and the service network all assign addresses to the terminal, the user plane network element can connect the terminal by deleting the first address information in the access message. Into the service network. Under the premise of not modifying the existing access network to establish the session flow of the terminal, the terminal can access the service network through the access network, thereby improving the user experience.
在一种可能的实施方式中,所述用户面网元获取的反馈消息中包括所述服务网络为所述终端分配的第二地址信息;In a possible implementation manner, the feedback message acquired by the user plane network element includes second address information allocated by the service network to the terminal;
所述方法还包括:The method further includes:
所述用户面网元获取会话管理网元为所述终端分配的第一地址信息;The user plane network element acquires first address information allocated by the session management network element to the terminal;
所述用户面网元将所述第一地址信息添加到所述反馈消息中;The user plane network element adds the first address information to the feedback message;
所述用户面网元向所述终端发送所述反馈消息,包括:Sending, by the user plane network element, the feedback message to the terminal, including:
所述用户面网元向所述终端发送所述反馈消息,所述反馈消息包括:所述第一地址信息和所述第二地址信息。The user plane network element sends the feedback message to the terminal, where the feedback message includes: the first address information and the second address information.
通过该可能的实施方式提供的接入服务网络的方法,即便接入网络和服务网络都为终端分配了地址,用户面网元可以通过在反馈消息中添加第一地址信息的方式,向终端发送服务网络的反馈消息,以将终端接入服务网络。在尽可能不修改现有的接入网络建立终端的会话流程的前提下,使终端可以通过接入网络接入服务网络,提高了用户体验。The method for accessing the service network provided by the possible implementation manner, even if the access network and the service network all assign addresses to the terminal, the user plane network element can send the first address information to the terminal by adding the first address information to the feedback message. A feedback message from the service network to connect the terminal to the service network. Under the premise of not modifying the existing access network to establish the session flow of the terminal, the terminal can access the service network through the access network, thereby improving the user experience.
第二方面,本申请实施例提供一种接入服务网络的方法,该方法包括:In a second aspect, the embodiment of the present application provides a method for accessing a service network, where the method includes:
会话管理网元接收终端发送的会话建立请求消息,所述会话建立请求消息用于请求所述会话管理网元建立所述终端的会话;The session management network element receives a session establishment request message sent by the terminal, where the session establishment request message is used to request the session management network element to establish a session of the terminal;
所述会话管理网元获取所述终端在服务网络中的验证信息,所述验证消息用于所述终端接入所述服务网络;The session management network element obtains the verification information of the terminal in the service network, and the verification message is used by the terminal to access the service network;
所述会话管理网元向用户面网元发送所述验证信息。The session management network element sends the verification information to the user plane network element.
通过该可能的实施方式提供的接入服务网络的方法,接入网络的会话管理网元可以在为终端建立会话的过程中,获取终端在服务网络中的验证信息,并将所获取到的验证信息发送给用户面网元,从而使得用户面网元可以在终端接入服务网络时,将验证信息传递给服务网络,以使服务网络可以基于该验证信息对终端进行认证,进而使终端通过该接入网络可以接入服务网络。The method for accessing the service network provided by the possible implementation manner, the session management network element of the access network may obtain the verification information of the terminal in the service network during the process of establishing a session for the terminal, and obtain the obtained verification. The information is sent to the user plane network element, so that the user plane network element can transmit the verification information to the service network when the terminal accesses the service network, so that the service network can authenticate the terminal based on the verification information, so that the terminal passes the The access network can access the service network.
在一种可能的实施方式中,所述会话管理网元获取所述终端在服务网络中的验证信息,包括:In a possible implementation, the session management network element obtains the verification information of the terminal in the service network, including:
所述会话管理网元从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取所述验证信息。The session management network element obtains the verification information from a data management network element, or a policy control network element, or a local database, or an access management network element.
通过该可能的实施方式提供的接入服务网络的方法,使得接入网络的会话管理网元获取终端在服务网络中的验证信息的方式灵活多样,以满足不同应用场景的需求,从而扩大了终端通过接入网络接入服务网络的使用场景。The method for accessing the service network provided by the possible implementation manner enables the session management network element of the access network to obtain the verification information of the terminal in the service network in a flexible manner to meet the requirements of different application scenarios, thereby expanding the terminal. The usage scenario of accessing the service network through the access network.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述会话管理网元接收所述终端发送的初始接入消息;Receiving, by the session management network element, an initial access message sent by the terminal;
所述会话管理网元根据所述初始接入消息和所述验证信息,获取接入消息,所述接入消息包括:所述验证信息;The session management network element acquires an access message according to the initial access message and the verification information, where the access message includes: the verification information;
所述会话管理网元将所述验证信息发送给用户面网元,包括:The session management network element sends the verification information to the user plane network element, including:
所述会话管理网元向所述用户面网元发送所述接入消息。The session management network element sends the access message to the user plane network element.
通过该可能的实施方式提供的接入服务网络的方法,在终端发送的初始接入消息中添加终端在服务网络中的验证信息的操作可以由接入网络的会话管理网元进行处理,使得接入网络的会话管理网元将终端在服务网络中的验证信息发送给用户面网元的方式灵活多样,以满足不同应用场景的需求,从而扩大了终端通过接入网络接入服务网络的使用场景。The method for accessing the service network provided by the possible implementation manner, the operation of adding the verification information of the terminal in the service network in the initial access message sent by the terminal may be processed by the session management network element of the access network, so that the connection is performed. The session management network element that enters the network sends the authentication information of the terminal to the user plane network element in a flexible manner to meet the requirements of different application scenarios, thereby expanding the use scenario of the terminal accessing the service network through the access network. .
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述会话管理网元根据所述会话建立请求消息,获取所述服务网络的标识信息;The session management network element acquires identification information of the service network according to the session establishment request message;
所述会话管理网元根据所述服务网络的标识信息,确定为所述服务网络提供策略的策略控制网元;Determining, by the session management network element, a policy control network element that provides a policy for the service network according to the identifier information of the service network;
所述会话管理网元通知所述策略控制网元所述终端将从所述服务网络获取服务;The session management network element notifies the policy control network element that the terminal will obtain a service from the service network;
所述会话管理网元接收所述策略控制网元发送的所述服务网络的策略。The session management network element receives the policy of the service network sent by the policy control network element.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述会话管理网元获取所述终端的标识信息以及所述终端的会话信息;The session management network element acquires identification information of the terminal and session information of the terminal;
所述会话管理网元向所述用户面网元发送所述终端的标识信息以及所述终端的会话信息;或者,Transmitting, by the session management network element, the identifier information of the terminal and the session information of the terminal to the user plane network element; or
所述会话管理网元获取所述终端的会话信息;The session management network element acquires session information of the terminal;
所述会话管理网元向所述用户面网元发送所述终端的会话信息。The session management network element sends session information of the terminal to the user plane network element.
通过该可能的实施方式提供的接入服务网络的方法,会话管理网元通过向用户面网元发送终端的标识信息以及所述终端的会话信息,或者,发送终端的会话信息,以协助用户面网元获取终端的标识信息与终端的会话信息的映射关系,从而使得接入网络的用户面网元可以根据服务网络发送给终端的反馈消息中所包括的终端的标识信息,以及,该映射关系,识别用于发送该反馈消息的会话,从而通过对应的会话将服务网络发送给终端的反馈 消息发送给终端,以协助终端接入服务网络,从而使得终端可以通过接入网络接入服务网络的方式灵活多样,以满足不同应用场景的需求。The method for accessing the service network provided by the possible implementation manner, the session management network element is configured to send the identifier information of the terminal and the session information of the terminal to the user plane network element, or send the session information of the terminal to assist the user plane. The network element obtains the mapping relationship between the identifier information of the terminal and the session information of the terminal, so that the user plane network element of the access network can obtain the identifier information of the terminal included in the feedback message sent by the service network to the terminal, and the mapping relationship Identifying a session for sending the feedback message, so that the feedback message sent by the service network to the terminal is sent to the terminal through the corresponding session, to assist the terminal to access the service network, so that the terminal can access the service network through the access network. The methods are flexible and diverse to meet the needs of different application scenarios.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述会话管理网元获取所述终端的标识信息;The session management network element acquires identification information of the terminal;
所述会话管理网元根据所述终端的标识信息与所述终端的会话信息,建立所述终端的标识信息与所述终端的会话信息的映射关系;The session management network element establishes a mapping relationship between the identifier information of the terminal and the session information of the terminal according to the identifier information of the terminal and the session information of the terminal;
所述会话管理网元向所述用户面网元发送所述映射关系。The session management network element sends the mapping relationship to the user plane network element.
通过该可能的实施方式提供的接入服务网络的方法,会话管理网元通过向用户面网元发送终端的标识信息与终端的会话信息的映射关系,从而使得接入网络的用户面网元可以根据服务网络发送给终端的反馈消息中所包括的终端的标识信息,以及,该映射关系,识别用于发送该反馈消息的会话,从而通过对应的会话将服务网络发送给终端的反馈消息发送给终端,以协助终端接入服务网络,从而使得终端可以通过接入网络接入服务网络的方式灵活多样,以满足不同应用场景的需求。The method for accessing the service network provided by the possible implementation manner, the session management network element sends the mapping relationship between the identifier information of the terminal and the session information of the terminal to the user plane network element, so that the user plane network element of the access network can Determining, according to the identification information of the terminal included in the feedback message sent by the service network to the terminal, and the mapping relationship, the session for sending the feedback message, so that the feedback message sent by the service network to the terminal through the corresponding session is sent to The terminal is configured to assist the terminal to access the service network, so that the terminal can access the service network through the access network to be flexible and diverse, so as to meet the requirements of different application scenarios.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述会话管理网元接收所述服务网络对所述接入消息的反馈消息,所述反馈消息包括:所述终端的标识信息;The session management network element receives a feedback message of the service network to the access message, where the feedback message includes: identifier information of the terminal;
所述会话管理网元根据所述终端的标识信息,以及,所述终端的标识信息与所述终端的会话信息的映射关系,确定所述终端的会话信息;Determining, by the session management network element, session information of the terminal according to the identifier information of the terminal, and the mapping relationship between the identifier information of the terminal and the session information of the terminal;
所述会话管理网元向所述用户面网元发送所述反馈消息,所述反馈消息包括所述终端的会话信息。The session management network element sends the feedback message to the user plane network element, where the feedback message includes session information of the terminal.
通过该可能的实施方式提供的接入服务网络的方法,接入网络的会话管理网元可以根据服务网络发送给终端的反馈消息中所包括的终端的标识信息,确定发送该反馈消息的会话,并将该会话信息携带在反馈消息中发送给用户面网元,从而使得用户面网元可以基于会话标识对应的会话直接向终端发送该反馈消息即可,不用再判断发送该反馈消息的会话是哪一个,使终端接入服务网络的方式灵活多样,扩大了使用场景。The method for accessing the service network provided by the possible implementation manner, the session management network element of the access network may determine the session for sending the feedback message according to the identifier information of the terminal included in the feedback message sent by the service network to the terminal. And the session information is carried in the feedback message and sent to the user plane network element, so that the user plane network element can directly send the feedback message to the terminal according to the session corresponding to the session identifier, and the session that sends the feedback message is not determined. Which one makes the terminal access the service network flexible and diverse, and expands the use scenario.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述会话管理网元从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取所述终端的标识信息;或者,The session management network element acquires the identification information of the terminal from the data management network element, or the policy control network element, or the local database, or the access management network element; or
所述会话管理网元接收所述终端发送的初始接入消息,所述初始接入消息包括:所述终端的标识信息。The session management network element receives an initial access message sent by the terminal, where the initial access message includes: identifier information of the terminal.
通过该可能的实施方式提供的接入服务网络的方法,使得接入网络的会话管理网元获取终端的标识信息的方式灵活多样,以满足不同应用场景的需求,从而扩大了终端通过接入网络接入服务网络的使用场景。The method for accessing the service network provided by the possible implementation manner enables the session management network element of the access network to obtain the identification information of the terminal in a flexible manner to meet the requirements of different application scenarios, thereby expanding the terminal accessing the network. Access scenario of the access service network.
第三方面,本申请实施例提供一种接入服务网络的方法,该方法包括:In a third aspect, an embodiment of the present application provides a method for accessing a service network, where the method includes:
终端确定建立会话;The terminal determines to establish a session;
所述终端向会话管理网元发送会话建立请求消息,所述会话建立请求消息用于请求所述会话管理网元建立所述终端的会话。The terminal sends a session establishment request message to the session management network element, where the session establishment request message is used to request the session management network element to establish a session of the terminal.
通过第三方面提供的接入服务网络的方法,在接入网络为无线网络时,终端可以通过向接入网络的会话管理网元发起会话建立请求的方式,可以使会话管理网元为其建立会话, 从而使得终端可以利用该会话接入服务网络,进而使终端通过无线网络可以接入服务网络。According to the method for accessing the service network provided by the third aspect, when the access network is a wireless network, the terminal may initiate a session establishment request to the session management network element of the access network, so that the session management network element can establish the session management network element. The session is such that the terminal can access the service network by using the session, so that the terminal can access the service network through the wireless network.
在一种可能的实施方式中,所述终端确定建立会话,包括:In a possible implementation manner, the terminal determines to establish a session, including:
所述终端在接收到客户端发送的所述服务网络的数据时,确定建立所述会话;或者,When receiving the data of the service network sent by the client, the terminal determines to establish the session; or,
所述终端在完成移动网络的注册流程时,确定建立所述会话。The terminal determines to establish the session when completing the registration process of the mobile network.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述终端在建立所述会话后,向所述服务网络发送初始接入消息,所述初始接入消息用于请求接入所述服务网络。After establishing the session, the terminal sends an initial access message to the serving network, where the initial access message is used to request access to the service network.
通过该可能的实施方式提供的接入服务网络的方法,终端可以在会话管理网元为其建立会话后,利用该会话发起接入服务网络的流程,进而使终端通过无线网络可以接入服务网络。The method for accessing the service network provided by the possible implementation manner, after the session management network element establishes a session, the terminal may use the session to initiate a process of accessing the service network, thereby enabling the terminal to access the service network through the wireless network. .
在一种可能的实施方式中,所述终端向所述服务网络发送初始接入消息,包括:In a possible implementation, the terminal sends an initial access message to the serving network, including:
所述终端在接收到客户端发送的所述服务网络的数据时,向所述服务网络发送初始接入消息。When receiving the data of the service network sent by the client, the terminal sends an initial access message to the service network.
在一种可能的实施方式中,所述会话建立请求消息包括指示信息,所述指示信息用于指示所述终端从服务网络获取网络协议IP地址。In a possible implementation manner, the session establishment request message includes indication information, where the indication information is used to indicate that the terminal acquires a network protocol IP address from a service network.
通过该可能的实施方式提供的接入服务网络的方法,由于服务网络会为终端分配在服务网络中的IP地址,并通过该IP地址与终端进行通信。因此,终端可以通过会话建立请求消息中的指示信息,指示会话管理网元不用在建立会话时为终端分配IP地址,以避免会话管理网元再为终端分配接入网络中的IP地址,降低了会话管理网元的开销。The method for accessing a service network provided by the possible implementation manner, because the service network allocates an IP address in the service network to the terminal, and communicates with the terminal through the IP address. Therefore, the terminal can use the indication information in the session establishment request message to instruct the session management network element not to allocate an IP address to the terminal when the session is established, so as to prevent the session management network element from assigning the IP address in the access network to the terminal, which is reduced. The cost of session management NEs.
在一种可能的实施方式中,所述指示信息包括:动态主机配置协议进行IP地址分配的指示信息、或者、所述会话的以太网类型的标识信息。In a possible implementation manner, the indication information includes: indication information that the dynamic host configuration protocol performs IP address allocation, or identifier information of an Ethernet type of the session.
通过该可能的实施方式提供的接入服务网络的方法,使得终端指示会话管理网元不用在建立会话时为终端分配IP地址的方式灵活多样,以满足不同应用场景的需求,从而扩大了终端通过接入网络接入服务网络的使用场景。The method for accessing the service network provided by the possible implementation manner enables the terminal to indicate that the session management network element does not need to allocate an IP address to the terminal when the session is established, so as to meet the requirements of different application scenarios, thereby expanding the terminal adoption. Access scenario for accessing the network access service network.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述终端接收所述会话管理网元发送的会话建立响应消息,所述会话建立响应消息包括:会话管理网元为所述终端分配的第一地址信息;Receiving, by the terminal, a session establishment response message sent by the session management network element, where the session establishment response message includes: first address information allocated by the session management network element to the terminal;
所述终端获取所述服务网络对所述初始接入消息的反馈消息,所述反馈消息包括所述服务网络为所述终端分配的第二地址信息;Receiving, by the terminal, a feedback message of the service network to the initial access message, where the feedback message includes second address information that is allocated by the service network to the terminal;
所述终端向所述服务网络发送上行消息,所述上行消息包括:所述第一地址信息和所述第二地址信息;The terminal sends an uplink message to the service network, where the uplink message includes: the first address information and the second address information;
所述终端接收所述服务网络发送的下行消息,所述下行消息包括:所述第一地址信息和所述第二地址信息;Receiving, by the terminal, a downlink message sent by the service network, where the downlink message includes: the first address information and the second address information;
所述终端删除所述下行消息的第一地址信息。The terminal deletes the first address information of the downlink message.
通过该可能的实施方式提供的接入服务网络的方法,在接入网络和服务网络都为终端分配了地址时,终端仍然可以通过本实施例的方式与服务网络发送消息。在尽可能不修改现有的接入网络建立终端的会话流程的前提下,使终端可以通过接入网络接入服务网络,提高了用户体验。The method for accessing the service network provided by the possible implementation manner, when the access network and the service network all assign addresses to the terminal, the terminal can still send a message to the service network in the manner of the embodiment. Under the premise of not modifying the existing access network to establish the session flow of the terminal, the terminal can access the service network through the access network, thereby improving the user experience.
第四方面,本申请实施例提供一种接入服务网络的方法,该方法包括:In a fourth aspect, an embodiment of the present application provides a method for accessing a service network, where the method includes:
数据管理网元接收终端在服务网络中的验证信息;The data management network element receives the verification information of the terminal in the service network;
所述数据管理网元将终端在服务网络中的验证信息作为所述终端的信息。The data management network element uses the verification information of the terminal in the service network as the information of the terminal.
通过第四方面提供的接入服务网络的方法,在接入网络为无线网络时,接入网络的数据管理网元可以将终端在服务网络中的验证信息作为终端的信息进行存储,从而使得终端在通过接入网络接入服务网络时,可以提供终端在服务网络中的验证信息,以协助终端接入服务网络,从而使得终端可以通过无线网络接入服务网络,扩大了服务网络的使用场景。According to the method for accessing a service network provided by the fourth aspect, when the access network is a wireless network, the data management network element of the access network may store the verification information of the terminal in the service network as information of the terminal, thereby causing the terminal to When accessing the service network through the access network, the terminal can provide the verification information of the terminal in the service network to assist the terminal to access the service network, so that the terminal can access the service network through the wireless network, thereby expanding the usage scenario of the service network.
在一种可能的实施方式中,所述数据管理网元接收终端在服务网络中的验证信息,包括:In a possible implementation, the data management network element receives the verification information of the terminal in the service network, including:
所述数据管理网元接收所述服务网络发送的所述终端在服务网络中的验证信息。The data management network element receives the verification information of the terminal in the service network sent by the service network.
在一种可能的实施方式中,所述数据管理网元接收终端在服务网络中的验证信息,包括:In a possible implementation, the data management network element receives the verification information of the terminal in the service network, including:
所述数据管理网元接收网络管理系统网元发送的所述终端在服务网络中的验证信息。The data management network element receives the verification information of the terminal in the service network sent by the network element of the network management system.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述数据管理网元发送响应消息,所述响应消息用于通知所述数据管理网元将所述终端在服务网络中的验证信息作为所述终端的信息。The data management network element sends a response message, where the response message is used to notify the data management network element to use the verification information of the terminal in the service network as the information of the terminal.
第五方面,本申请实施例提供一种通信装置,该通信装置包括:In a fifth aspect, an embodiment of the present application provides a communications apparatus, where the communications apparatus includes:
处理单元,用于获取接入消息,所述接入消息用于终端接入服务网络,所述接入消息包括:所述终端在所述服务网络中的验证信息;a processing unit, configured to acquire an access message, where the access message is used by the terminal to access the service network, where the access message includes: verification information of the terminal in the service network;
发送单元,用于向所述服务网络发送所述接入消息。And a sending unit, configured to send the access message to the serving network.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
接收单元,用于接收会话管理网元发送的所述验证信息以及所述终端发送的初始接入消息;a receiving unit, configured to receive the verification information sent by the session management network element and the initial access message sent by the terminal;
所述处理单元,具体用于根据所述初始接入消息和所述验证信息,获取所述接入消息。The processing unit is specifically configured to acquire the access message according to the initial access message and the verification information.
在一种可能的实施方式中,所述处理单元,具体用于接收会话管理网元发送的所述接入消息。In a possible implementation manner, the processing unit is specifically configured to receive the access message sent by a session management network element.
在一种可能的实施方式中,所述处理单元,还用于获取所述服务网络对所述接入消息的反馈消息,所述反馈消息包括所述终端的标识信息,并根据所述终端的标识信息,控制所述发送单元向所述终端发送所述反馈消息。In a possible implementation, the processing unit is further configured to obtain a feedback message of the service network to the access message, where the feedback message includes identifier information of the terminal, and according to the terminal Identifying information, and controlling the sending unit to send the feedback message to the terminal.
在一种可能的实施方式中,所述处理单元,具体用于根据所述终端的标识信息与所述终端的会话信息的映射关系,确定所述终端的会话信息,并控制所述发送单元通过所述终端的会话信息对应的会话,向所述终端发送所述反馈消息。In a possible implementation manner, the processing unit is specifically configured to determine session information of the terminal according to a mapping relationship between the identifier information of the terminal and the session information of the terminal, and control the sending unit to pass the The session corresponding to the session information of the terminal sends the feedback message to the terminal.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
接收单元,用于接收会话管理网元发送的所述终端的标识信息以及所述终端的会话信息;a receiving unit, configured to receive identifier information of the terminal sent by the session management network element, and session information of the terminal;
所述处理单元,还用于建立所述终端的标识信息与所述终端的会话信息的映射关系;The processing unit is further configured to establish a mapping relationship between the identifier information of the terminal and the session information of the terminal;
或者,or,
所述接收单元,用于接收所述会话管理网元发送的所述终端的标识信息与所述终端的会话信息的映射关系;The receiving unit is configured to receive a mapping relationship between the identifier information of the terminal and the session information of the terminal that are sent by the session management network element;
或者,or,
所述接收单元,用于接收所述会话管理网元发送的所述终端的会话信息;The receiving unit is configured to receive session information of the terminal sent by the session management network element;
所述处理单元,还用于获取所述终端发送的初始接入消息,并建立所述终端的标识信息与所述终端的会话信息的映射关系,所述初始接入消息包括所述终端的标识信息。The processing unit is further configured to acquire an initial access message sent by the terminal, and establish a mapping relationship between the identifier information of the terminal and the session information of the terminal, where the initial access message includes an identifier of the terminal. information.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
接收单元,用于接收会话管理网元发送的所述服务网络对所述接入消息的反馈消息,所述反馈消息包括所述终端的会话信息;a receiving unit, configured to receive a feedback message of the service network sent by the session management network element to the access message, where the feedback message includes session information of the terminal;
所述处理单元,还用于根据所述终端的会话信息对应的会话,控制所述发送单元向所述终端发送所述反馈消息。The processing unit is further configured to control, according to the session corresponding to the session information of the terminal, the sending unit to send the feedback message to the terminal.
在一种可能的实施方式中,所述处理单元获取的接入消息中包括会话管理网元为所述终端分配的第一地址信息以及所述服务网络为所述终端分配的第二地址信息;In a possible implementation, the access message obtained by the processing unit includes first address information allocated by the session management network element for the terminal, and second address information allocated by the service network to the terminal.
所述处理单元,还用于删除所述接入消息中的所述第一地址信息;The processing unit is further configured to delete the first address information in the access message;
所述发送单元,具体用于将删除所述第一地址信息后的接入消息发送给所述服务网络。The sending unit is specifically configured to send an access message after deleting the first address information to the serving network.
在一种可能的实施方式中,所述处理单元获取的反馈消息中包括所述服务网络为所述终端分配的第二地址信息;In a possible implementation manner, the feedback message acquired by the processing unit includes second address information that is allocated by the service network to the terminal;
所述处理单元,还用于获取会话管理网元为所述终端分配的第一地址信息,并将所述第一地址信息添加到所述反馈消息中;The processing unit is further configured to acquire first address information allocated by the session management network element to the terminal, and add the first address information to the feedback message;
所述发送单元,具体用于向所述终端发送所述反馈消息,所述反馈消息包括:所述第一地址信息和所述第二地址信息。The sending unit is specifically configured to send the feedback message to the terminal, where the feedback message includes: the first address information and the second address information.
上述第五方面和第五方面的各可能的实施方式所提供的通信装置,其有益效果可以参见上述第一方面和第一方面的各可能的实施方式所带来的有益效果,在此不加赘述。For the beneficial effects of the communication device provided by the foregoing fifth aspect and the possible implementation manners of the fifth aspect, the beneficial effects of the first aspect and the possible implementation manners of the first aspect may be referred to herein. Narration.
第六方面,本申请实施例提供一种通信装置,该通信装置包括:In a sixth aspect, an embodiment of the present application provides a communications apparatus, where the communications apparatus includes:
接收单元,用于接收终端发送的会话建立请求消息,所述会话建立请求消息用于请求建立所述终端的会话;a receiving unit, configured to receive a session establishment request message sent by the terminal, where the session establishment request message is used to request to establish a session of the terminal;
处理单元,用于获取所述终端在服务网络中的验证信息,所述验证消息用于所述终端接入所述服务网络;a processing unit, configured to obtain verification information of the terminal in a service network, where the verification message is used by the terminal to access the service network;
发送单元,用于向用户面网元发送所述验证信息。And a sending unit, configured to send the verification information to the user plane network element.
在一种可能的实施方式中,所述处理单元,具体用于从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取所述验证信息。In a possible implementation, the processing unit is specifically configured to obtain the verification information from a data management network element, or a policy control network element, or a local database, or an access management network element.
在一种可能的实施方式中,所述接收单元,还用于接收所述终端发送的初始接入消息;In a possible implementation manner, the receiving unit is further configured to receive an initial access message sent by the terminal;
所述处理单元,还用于根据所述初始接入消息和所述验证信息,获取接入消息,所述接入消息包括:所述验证信息;The processing unit is further configured to acquire an access message according to the initial access message and the verification information, where the access message includes: the verification information;
所述发送单元,具体用于向所述用户面网元发送所述接入消息。The sending unit is specifically configured to send the access message to the user plane network element.
在一种可能的实施方式中,所述处理单元,还用于根据所述会话建立请求消息,获取所述服务网络的标识信息,并根据所述服务网络的标识信息,确定为所述服务网络提供策略的策略控制网元;In a possible implementation, the processing unit is further configured to acquire, according to the session establishment request message, identifier information of the service network, and determine, according to the identifier information of the service network, the service network. a policy control network element that provides a policy;
所述发送单元,还用于通知所述策略控制网元所述终端将从所述服务网络获取服务;The sending unit is further configured to notify the policy control network element that the terminal obtains a service from the service network;
所述接收单元,还用于接收所述策略控制网元发送的所述服务网络的策略。The receiving unit is further configured to receive a policy of the service network sent by the policy control network element.
在一种可能的实施方式中,所述处理单元,还用于获取所述终端的标识信息以及所述终端的会话信息;In a possible implementation, the processing unit is further configured to acquire identifier information of the terminal and session information of the terminal;
所述发送单元,还用于向所述用户面网元发送所述终端的标识信息以及所述终端的会话信息;或者,The sending unit is further configured to send the identifier information of the terminal and the session information of the terminal to the user plane network element; or
所述处理单元,还用于获取所述终端的会话信息;The processing unit is further configured to acquire session information of the terminal;
所述发送单元,还用于向所述用户面网元发送所述终端的会话信息。The sending unit is further configured to send session information of the terminal to the user plane network element.
在一种可能的实施方式中,所述处理单元,还用于获取所述终端的标识信息,并根据所述终端的标识信息与所述终端的会话信息,建立所述终端的标识信息与所述终端的会话信息的映射关系;In a possible implementation manner, the processing unit is further configured to acquire identifier information of the terminal, and establish, according to the identifier information of the terminal, session information of the terminal, identifier information and location of the terminal. Describe the mapping relationship of the session information of the terminal;
所述发送单元,还用于向所述用户面网元发送所述映射关系。The sending unit is further configured to send the mapping relationship to the user plane network element.
在一种可能的实施方式中,所述接收单元,还用于接收所述服务网络对所述接入消息的反馈消息,所述反馈消息包括:所述终端的标识信息;In a possible implementation, the receiving unit is further configured to receive a feedback message of the service network to the access message, where the feedback message includes: identifier information of the terminal;
所述处理单元,还用于根据所述终端的标识信息,以及,所述终端的标识信息与所述终端的会话信息的映射关系,确定所述终端的会话信息;The processing unit is further configured to determine session information of the terminal according to the identifier information of the terminal, and the mapping relationship between the identifier information of the terminal and the session information of the terminal;
所述发送单元,还用于向所述用户面网元发送所述反馈消息,所述反馈消息包括所述终端的会话信息。The sending unit is further configured to send the feedback message to the user plane network element, where the feedback message includes session information of the terminal.
在一种可能的实施方式中,所述处理单元,具体用于从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取所述终端的标识信息;或者,In a possible implementation manner, the processing unit is specifically configured to acquire the identifier information of the terminal from a data management network element, or a policy control network element, or a local database, or an access management network element. ;or,
所述处理单元,具体用于通过所述接收单元接收所述终端发送的初始接入消息,所述初始接入消息包括:所述终端的标识信息。The processing unit is configured to receive, by using the receiving unit, an initial access message sent by the terminal, where the initial access message includes: identifier information of the terminal.
上述第六方面和第六方面的各可能的实施方式所提供的通信装置,其有益效果可以参见上述第二方面和第二方面的各可能的实施方式所带来的有益效果,在此不加赘述。For the beneficial effects of the communication device provided by the foregoing sixth aspect and the possible implementation manners of the sixth aspect, reference may be made to the beneficial effects brought by the second aspect and the possible implementation manners of the second aspect, which are not added here. Narration.
第七方面,本申请实施例提供一种通信装置,该通信装置包括:In a seventh aspect, an embodiment of the present application provides a communications apparatus, where the communications apparatus includes:
处理单元,用于确定建立会话;a processing unit, configured to determine to establish a session;
发送单元,用于向会话管理网元发送会话建立请求消息,所述会话建立请求消息用于请求所述会话管理网元建立所述会话。And a sending unit, configured to send a session establishment request message to the session management network element, where the session establishment request message is used to request the session management network element to establish the session.
在一种可能的实施方式中,所述处理单元,具体用于在接收到客户端发送的所述服务网络的数据时,确定建立所述会话;或者,在完成移动网络的注册流程时,确定建立所述会话。In a possible implementation, the processing unit is specifically configured to: when the data of the service network sent by the client is received, determine to establish the session; or, when completing the registration process of the mobile network, determine Establish the session.
在一种可能的实施方式中,所述发送单元,还用于在建立所述会话后,向所述服务网络发送初始接入消息,所述初始接入消息用于请求接入所述服务网络。In a possible implementation, the sending unit is further configured to: after the session is established, send an initial access message to the serving network, where the initial access message is used to request access to the service network. .
在一种可能的实施方式中,所述发送单元,具体用于在接收到客户端发送的所述服务网络的数据时,向所述服务网络发送初始接入消息。In a possible implementation, the sending unit is specifically configured to send an initial access message to the serving network when receiving data of the service network sent by the client.
在一种可能的实施方式中,所述会话建立请求消息包括指示信息,所述指示信息用于指示所述装置从服务网络获取网络协议IP地址。In a possible implementation manner, the session establishment request message includes indication information, where the indication information is used to instruct the device to obtain a network protocol IP address from a service network.
在一种可能的实施方式中,所述指示信息包括:动态主机配置协议进行IP地址分配的指示信息、或者、所述会话的以太网类型的标识信息。In a possible implementation manner, the indication information includes: indication information that the dynamic host configuration protocol performs IP address allocation, or identifier information of an Ethernet type of the session.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
接收单元,用于接收所述会话管理网元发送的会话建立响应消息,所述会话建立响应消息包括:会话管理网元分配的第一地址信息;a receiving unit, configured to receive a session establishment response message sent by the session management network element, where the session establishment response message includes: first address information allocated by the session management network element;
所述处理单元,还用于获取所述服务网络对所述初始接入消息的反馈消息,所述反馈 消息包括所述服务网络分配的第二地址信息;The processing unit is further configured to obtain a feedback message of the service network to the initial access message, where the feedback message includes second address information allocated by the service network;
所述发送单元,还用于向所述服务网络发送上行消息,所述上行消息包括:所述第一地址信息和所述第二地址信息;The sending unit is further configured to send an uplink message to the serving network, where the uplink message includes: the first address information and the second address information;
所述接收单元,还用于接收所述服务网络发送的下行消息,所述下行消息包括:所述第一地址信息和所述第二地址信息;The receiving unit is further configured to receive a downlink message sent by the serving network, where the downlink message includes: the first address information and the second address information;
所述处理单元,还用于删除所述下行消息的第一地址信息。The processing unit is further configured to delete first address information of the downlink message.
上述第七方面和第七方面的各可能的实施方式所提供的通信装置,其有益效果可以参见上述第三方面和第三方面的各可能的实施方式所带来的有益效果,在此不加赘述。For the beneficial effects of the communication device provided by the foregoing seventh aspect and the possible implementation manners of the seventh aspect, reference may be made to the beneficial effects brought by the foregoing third aspect and the possible implementation manners of the third aspect, which are not added here. Narration.
第八方面,本申请实施例提供一种通信装置,该通信装置包括:In an eighth aspect, an embodiment of the present application provides a communications apparatus, where the communications apparatus includes:
接收单元,用于接收终端在服务网络中的验证信息;a receiving unit, configured to receive verification information of the terminal in the service network;
处理单元,用于将终端在服务网络中的验证信息作为所述终端的信息。And a processing unit, configured to use the verification information of the terminal in the service network as the information of the terminal.
上述第八方面所提供的通信装置,其有益效果可以参见上述第四方面所带来的有益效果,在此不加赘述。For the beneficial effects of the communication device provided in the above eighth aspect, the beneficial effects brought about by the fourth aspect can be referred to, and no further details are provided herein.
第九方面,本申请实施例提供一种通信装置,所述通信装置包括:处理器、存储器、接收器、发送器;所述接收器和所述发送器均耦合至所述处理器,所述处理器控制所述接收器的接收动作,所述处理器控制所述发送器的发送动作;In a ninth aspect, the embodiment of the present application provides a communication apparatus, where the communication apparatus includes: a processor, a memory, a receiver, and a transmitter; the receiver and the transmitter are both coupled to the processor, The processor controls a receiving action of the receiver, and the processor controls a sending action of the transmitter;
其中,存储器用于存储计算机可执行程序代码,程序代码包括指令;当处理器执行指令时,指令使所述通信装置执行如第一方面或第一方面的各可能的实施方式所提供的接入服务网络的方法。Wherein the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform the access provided by the first aspect or the possible embodiments of the first aspect The method of serving the network.
第十方面,本申请实施例提供一种通信装置,所述通信装置包括:处理器、存储器、接收器、发送器;所述接收器和所述发送器均耦合至所述处理器,所述处理器控制所述接收器的接收动作,所述处理器控制所述发送器的发送动作;In a tenth aspect, the embodiment of the present application provides a communication apparatus, where the communication apparatus includes: a processor, a memory, a receiver, and a transmitter; the receiver and the transmitter are both coupled to the processor, The processor controls a receiving action of the receiver, and the processor controls a sending action of the transmitter;
其中,存储器用于存储计算机可执行程序代码,程序代码包括指令;当处理器执行指令时,指令使所述通信装置执行如第二方面或第二方面的各可能的实施方式所提供的接入服务网络的方法。Wherein the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform the access provided by the second aspect or the possible embodiments of the second aspect The method of serving the network.
第十一方面,本申请实施例提供一种通信装置,所述通信装置包括:处理器、存储器、接收器、发送器;所述接收器和所述发送器均耦合至所述处理器,所述处理器控制所述接收器的接收动作,所述处理器控制所述发送器的发送动作;In an eleventh aspect, an embodiment of the present application provides a communication apparatus, where the communication apparatus includes: a processor, a memory, a receiver, and a transmitter; the receiver and the transmitter are both coupled to the processor, where The processor controls a receiving action of the receiver, and the processor controls a sending action of the transmitter;
其中,存储器用于存储计算机可执行程序代码,程序代码包括指令;当处理器执行指令时,指令使所述通信装置执行如第三方面或第三方面的各可能的实施方式所提供的接入服务网络的方法。Wherein the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform access as provided by the third aspect or the possible embodiments of the third aspect The method of serving the network.
第十二方面,本申请实施例提供一种通信装置,所述通信装置包括:处理器、存储器、接收器;所述接收器耦合至所述处理器,所述处理器控制所述接收器的接收动作;In a twelfth aspect, the embodiment of the present application provides a communication apparatus, where the communication apparatus includes: a processor, a memory, and a receiver; the receiver is coupled to the processor, and the processor controls the receiver Receiving action
其中,存储器用于存储计算机可执行程序代码,程序代码包括指令;当处理器执行指令时,指令使所述通信装置执行如第四方面或第四方面的各可能的实施方式所提供的接入服务网络的方法。Wherein the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform access as provided by the fourth aspect or the possible embodiments of the fourth aspect The method of serving the network.
第十三方面,本申请实施例提供一种通信装置,包括用于执行以上第一方面或第一方面各可能的实施方式所提供的方法的单元、模块或电路。该通信装置可以为用户面网元,也可以为应用于用户面网元的一个模块,例如,可以为应用于用户面网元的芯片。In a thirteenth aspect, the embodiments of the present application provide a communication apparatus, including a unit, a module, or a circuit, for performing the method provided by the foregoing first aspect or the possible implementation manners of the first aspect. The communication device may be a user plane network element or a module applied to the user plane network element. For example, it may be a chip applied to the user plane network element.
第十四方面,本申请实施例提供一种通信装置,包括用于执行以上第二方面或第二方面各可能的实施方式所提供的方法的单元、模块或电路。该通信装置可以为会话管理网元,也可以为应用于会话管理网元的一个模块,例如,可以为应用于会话管理网元的芯片。In a fourteenth aspect, the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit for performing the method provided by the foregoing second aspect or the possible embodiments of the second aspect. The communication device may be a session management network element or a module applied to the session management network element, for example, may be a chip applied to the session management network element.
第十五方面,本申请实施例提供一种通信装置,包括用于执行以上第三方面或第三方面各可能的实施方式所提供的方法的单元、模块或电路。该通信装置可以为终端,也可以为应用于终端的一个模块,例如,可以为应用于终端的芯片。In a fifteenth aspect, the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit, for performing the method provided by the foregoing third aspect or the possible implementation manner of the third aspect. The communication device may be a terminal or a module applied to the terminal, for example, may be a chip applied to the terminal.
第十六方面,本申请实施例提供一种通信装置,包括用于执行以上第四方面或第四方面各可能的实施方式所提供的方法的单元、模块或电路。该通信装置可以为数据管理网元,也可以为应用于数据管理网元的一个模块,例如,可以为应用于数据管理网元的芯片。In a sixteenth aspect, the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit, for performing the method provided by the foregoing fourth aspect or the possible implementation manner of the fourth aspect. The communication device may be a data management network element or a module applied to the data management network element. For example, it may be a chip applied to the data management network element.
第十七方面,本申请实施例提供一种通信装置,包括用于执行以上第四方面或第四方面各可能的实施方式所提供的方法的单元、模块或电路。该通信装置可以为策略控制网元,也可以为应用于策略控制网元的一个模块,例如,可以为应用于策略控制网元的芯片。In a seventeenth aspect, the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit for performing the method provided by the foregoing fourth aspect or the possible implementation manner of the fourth aspect. The communication device may be a policy control network element or a module applied to the policy control network element. For example, it may be a chip applied to the policy control network element.
第十八方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面的各种可能的实施方式中的方法。In an eighteenth aspect, the embodiments of the present application provide a computer program product comprising instructions, which when executed on a computer, cause the computer to perform the method of the first aspect or the various possible embodiments of the first aspect.
第十九方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面或第二方面的各种可能的实施方式中的方法。In a nineteenth aspect, the embodiments of the present application provide a computer program product comprising instructions, when executed on a computer, causing a computer to perform the method of the second aspect or the various possible embodiments of the second aspect.
第二十方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第三方面或第三方面的各种可能的实施方式中的方法。In a twentieth aspect, the embodiment of the present application provides a computer program product comprising instructions, when executed on a computer, causing a computer to perform the method in the various possible embodiments of the third aspect or the third aspect.
第二十一方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第四方面或第四方面的各种可能的实施方式中的方法。In a twenty-first aspect, an embodiment of the present application provides a computer program product comprising instructions, which when executed on a computer, cause the computer to perform the method of the fourth aspect or the various possible embodiments of the fourth aspect.
第二十二方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面的各种可能的实施方式中的方法。A twenty-second aspect, the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to perform the first aspect or the first aspect described above Methods in various possible implementations.
第二十三方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第二方面或第二方面的各种可能的实施方式中的方法。In a twenty-third aspect, an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to perform the second aspect or the second aspect Methods in various possible implementations.
第二十四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第三方面或第三方面的各种可能的实施方式中的方法。In a twenty-fourth aspect, the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the third aspect or the third aspect described above Methods in various possible implementations.
第二十五方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第四方面或第四方面的各种可能的实施方式中的方法。In a twenty-fifth aspect, the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the fourth aspect or the fourth aspect described above Methods in various possible implementations.
第二十六方面,本申请实施例提供一种接入服务网络的方法,该方法包括:In a twenty-sixth aspect, the embodiment of the present application provides a method for accessing a service network, where the method includes:
用户面网元获取组播业务请求消息,所述组播业务请求消息用于终端请求获取服务网络提供的第一组播业务的数据,所述组播业务请求消息包括:第一网络连接标识,以及所述第一组播业务的标识,所述第一网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识,所述第一组播业务为所述服务网络提供的至少一个组播业务中的一个;The user plane network element obtains a multicast service request message, where the multicast service request message is used by the terminal to obtain data of the first multicast service provided by the service network, where the multicast service request message includes: a first network connection identifier, And the identifier of the first multicast service, where the first network connection identifier is a network connection identifier used by the terminal when accessing the service network, where the first multicast service is provided by the service network. One of at least one multicast service;
所述用户面网元根据所述第一网络连接标识以及所述第一组播业务的标识确定所述终端对应所述第一组播业务的权限;Determining, by the user plane network element, the rights of the terminal corresponding to the first multicast service according to the first network connection identifier and the identifier of the first multicast service;
所述用户面网元根据所述终端对应所述第一组播业务的权限控制向所述终端发送的所述第一组播业务的数据的范围。The user plane network element controls a range of data of the first multicast service that is sent to the terminal according to the right of the terminal corresponding to the first multicast service.
通过第二十六方面提供的接入服务网络的方法,在终端通过接入网络(例如无线网络)接入服务网络的场景中,接入网络的用户面网元可以对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。In the scenario of accessing the service network provided by the twenty-sixth aspect, in a scenario in which the terminal accesses the service network through the access network (for example, a wireless network), the user plane network element accessing the network may perform the multicast service of the terminal. Control, expand the use of the service network, and improve the user experience.
在一种可能的实施方式中,所述用户面网元根据所述第一网络连接标识以及所述第一组播业务的标识确定所述终端对应所述第一组播业务的权限,包括:In a possible implementation, the user plane network element determines, according to the first network connection identifier and the identifier of the first multicast service, the rights of the terminal to the first multicast service, including:
所述用户面网元根据所述第一网络连接标识、所述第一组播业务的标识、以及所述终端的第二网络连接标识与组播业务权限信息的对应关系,确定所述终端对应所述第一组播业务的权限;Determining, by the user plane network element, the terminal corresponding to the first network connection identifier, the identifier of the first multicast service, and the second network connection identifier of the terminal and the multicast service authority information, The authority of the first multicast service;
其中,所述组播业务权限信息包括所述终端对应所述至少一个组播业务的权限,所述第二网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识,所述第一网络连接标识与所述第二网络连接标识相同,或者,所述第一网络连接标识与所述第二网络标识对应。The multicast service authority information includes the right of the terminal corresponding to the at least one multicast service, and the second network connection identifier is a network connection identifier used by the terminal when accessing the service network. The first network connection identifier is the same as the second network connection identifier, or the first network connection identifier corresponds to the second network identifier.
通过该可能的实施方式提供的接入服务网络的方法,在终端通过接入网络(例如无线网络)接入服务网络的场景中,接入网络的用户面网元可以根据终端的第二网络连接标识与组播业务权限信息的对应关系,对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。In the scenario of accessing the service network provided by the possible implementation, in a scenario in which the terminal accesses the service network through the access network (for example, a wireless network), the user plane network element of the access network may be connected according to the second network connection of the terminal. The mapping between the identifier and the multicast service authority information controls the multicast service of the terminal, which expands the usage scenario of the service network and improves the user experience.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述用户面网元获取所述终端的第二网络连接标识与所述组播业务权限信息的对应关系。The user plane network element acquires a correspondence between the second network connection identifier of the terminal and the multicast service authority information.
在一种可能的实施方式中,所述用户面网元获取所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,包括:In a possible implementation manner, the user plane network element acquires a correspondence between the second network connection identifier of the terminal and the multicast service authority information, including:
所述用户面网元获取所述终端的组播业务权限信息以及所述第二网络连接标识;The user plane network element acquires multicast service authority information of the terminal and the second network connection identifier;
所述用户面网元根据所述终端的组播业务权限信息和所述第二网络连接标识建立所述对应关系。The user plane network element establishes the corresponding relationship according to the multicast service authority information of the terminal and the second network connection identifier.
通过该可能的实施方式提供的接入服务网络的方法,在终端通过接入网络(例如无线网络)接入服务网络的场景中,接入网络的用户面网元可以通过建立终端的第二网络连接标识与组播业务权限信息的对应关系的方式,以根据该对应关系对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。In a scenario of accessing a service network provided by the possible implementation, in a scenario in which a terminal accesses a service network through an access network (for example, a wireless network), a user plane network element accessing the network may establish a second network of the terminal. A method of connecting the identifier to the multicast service authority information to control the multicast service of the terminal according to the corresponding relationship, thereby expanding the usage scenario of the service network and improving the user experience.
在一种可能的实施方式中,所述用户面网元根据所述终端的组播业务权限信息和所述第二网络连接标识,建立所述对应关系,包括:In a possible implementation, the user plane network element establishes the correspondence according to the multicast service authority information of the terminal and the second network connection identifier, including:
所述用户面网元根据所述终端的标识与所述终端的组播业务权限信息的对应关系,以及,所述终端的标识与所述第二网络连接标识的对应关系,建立所述对应关系。The user plane network element establishes the correspondence relationship according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the correspondence between the identifier of the terminal and the second network connection identifier. .
通过该可能的实施方式提供的接入服务网络的方法,接入网络的用户面网元可以通过终端的标识与所述终端的组播业务权限信息的对应关系,以及,所述终端的标识与所述第二网络连接标识的对应关系,建立终端的第二网络连接标识与组播业务权限信息的对应关系,从而可以根据该对应关系对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。The method for accessing the service network provided by the possible implementation manner, the user plane network element of the access network may correspond to the multicast service authority information of the terminal by the identifier of the terminal, and the identifier of the terminal The corresponding relationship between the second network connection identifier and the correspondence between the second network connection identifier of the terminal and the multicast service authority information, so that the multicast service of the terminal can be controlled according to the correspondence, thereby expanding the use of the service network. The scene improves the user experience.
在一种可能的实施方式中,所述用户面网元获取所述终端的组播业务权限信息,包括:In a possible implementation, the user plane network element obtains multicast service authority information of the terminal, including:
所述用户面网元接收会话管理网元发送的所述终端的组播业务权限信息。The user plane network element receives the multicast service authority information of the terminal sent by the session management network element.
通过该可能的实施方式提供的接入服务网络的方法,在终端通过接入网络(例如无线网络)接入服务网络的场景中,接入网络的用户面网元可以从会话管理网元获取终端的组播业务权限信息,从而可以建立终端的第二网络连接标识与组播业务权限信息的对应关系,进而可以根据该对应关系对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。In the scenario of accessing the service network provided by the possible implementation, in a scenario in which the terminal accesses the service network through the access network (for example, a wireless network), the user plane network element accessing the network may acquire the terminal from the session management network element. The multicast service authority information can be used to establish a correspondence between the second network connection identifier of the terminal and the multicast service authority information, and the multicast service of the terminal can be controlled according to the corresponding relationship, thereby expanding the usage scenario of the service network. Improve the user experience.
在一种可能的实施方式中,所述用户面网元获取所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,包括:In a possible implementation manner, the user plane network element acquires a correspondence between the second network connection identifier of the terminal and the multicast service authority information, including:
所述用户面网元接收会话管理网元发送的所述对应关系。The user plane network element receives the correspondence relationship sent by the session management network element.
通过该可能的实施方式提供的接入服务网络的方法,在终端通过接入网络(例如无线网络)接入服务网络的场景中,接入网络的用户面网元可以从会话管理网元获取终端的第二网络连接标识与组播业务权限信息的对应关系,进而可以根据该对应关系对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。In the scenario of accessing the service network provided by the possible implementation, in a scenario in which the terminal accesses the service network through the access network (for example, a wireless network), the user plane network element accessing the network may acquire the terminal from the session management network element. Corresponding relationship between the second network connection identifier and the multicast service authority information, and then controlling the multicast service of the terminal according to the corresponding relationship, thereby expanding the usage scenario of the service network and improving the user experience.
在一种可能的实施方式中,在所述第一网络连接标识与所述第二网络标识对应时,所述用户面网元根据所述第一网络连接标识、所述第一组播业务的标识,以及,所述终端的第二网络连接标识与组播业务权限信息的对应关系,确定所述终端对所述第一组播业务的权限,包括:In a possible implementation manner, when the first network connection identifier corresponds to the second network identifier, the user plane network element is configured according to the first network connection identifier, the first multicast service And the identifier, and the corresponding relationship between the second network connection identifier of the terminal and the multicast service authority information, and determining the rights of the terminal to the first multicast service, including:
所述用户面网元根据所述第一网络连接标识、所述第一组播业务的标识、所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,以及,所述第一网络连接标识与所述第二网络连接标识的对应关系,确定所述终端对所述第一组播业务的权限。The user plane network element is configured according to the first network connection identifier, the identifier of the first multicast service, the second network connection identifier of the terminal, and the multicast service authority information, and the Corresponding relationship between the first network connection identifier and the second network connection identifier, and determining the authority of the terminal to the first multicast service.
通过该可能的实施方式提供的接入服务网络的方法,在第一网络连接标识与所述第二网络标识不同时,接入网络的用户面网元可以根据第一网络连接标识与所述第二网络连接标识的对应关系,获取第一网络连接标识对应的第二网络连接标识,从而可以根据终端的第二网络连接标识与组播业务权限信息的对应关系对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。The method for accessing the service network provided by the possible implementation manner, when the first network connection identifier is different from the second network identifier, the user plane network element of the access network may be configured according to the first network connection identifier and the first The second network connection identifier corresponding to the first network connection identifier is obtained, so that the multicast service of the terminal can be controlled according to the correspondence between the second network connection identifier and the multicast service authority information of the terminal, The use of the service network has been expanded to improve the user experience.
在一种可能的实施方式中,所述用户面网元根据所述第一网络连接标识和所述第一组播业务的标识确定所述终端对应所述第一组播业务的权限,包括:In a possible implementation, the user plane network element determines, according to the first network connection identifier and the identifier of the first multicast service, the rights of the terminal to the first multicast service, including:
所述用户面网元向会话管理网元发送所述组播业务请求消息;Transmitting, by the user plane network element, the multicast service request message to a session management network element;
所述用户面网元接收所述会话管理网元发送的组播业务响应消息,所述组播业务响应消息用于指示所述终端对应所述第一组播业务的权限。The user plane network element receives the multicast service response message sent by the session management network element, where the multicast service response message is used to indicate that the terminal corresponds to the right of the first multicast service.
通过该可能的实施方式提供的接入服务网络的方法,在终端通过接入网络(例如无线网络)接入服务网络的场景中,接入网络的用户面网元可以从会话管理网元获取终端对应所述第一组播业务的权限,进而可以根据该终端对应所述第一组播业务的权限对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。In the scenario of accessing the service network provided by the possible implementation, in a scenario in which the terminal accesses the service network through the access network (for example, a wireless network), the user plane network element accessing the network may acquire the terminal from the session management network element. Corresponding to the rights of the first multicast service, the terminal can control the multicast service of the terminal according to the rights of the first multicast service, thereby expanding the usage scenario of the service network and improving the user experience.
在一种可能的实施方式中,所述第一网络连接标识或所述第二网络连接标识包括下述任一项:In a possible implementation manner, the first network connection identifier or the second network connection identifier includes any one of the following:
所述服务网络分配的地址信息、会话标识,隧道端点标识。Address information, session identifier, and tunnel endpoint identifier assigned by the service network.
第二十七方面,本申请实施例提供一种接入服务网络的方法,该方法包括:In a twenty-seventh aspect, the embodiment of the present application provides a method for accessing a service network, where the method includes:
会话管理网元获取终端的组播业务权限信息,所述组播业务权限信息包括所述终端对应服务网络提供的至少一个组播业务的权限。The session management network element obtains the multicast service authority information of the terminal, where the multicast service authority information includes the rights of the at least one multicast service provided by the terminal corresponding to the service network.
通过第二十七方面提供的接入服务网络的方法,在终端通过接入网络(例如无线网络)接入服务网络的场景中,接入网络的会话管理网元可以获取到终端的组播业务权限信息,从而使得接入网络可以根据该终端的组播业务权限信息,对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。In the scenario of accessing the service network provided by the twenty-seventh aspect, in a scenario in which the terminal accesses the service network through the access network (for example, a wireless network), the session management network element of the access network can obtain the multicast service of the terminal. The privilege information enables the access network to control the multicast service of the terminal according to the multicast service privilege information of the terminal, thereby expanding the usage scenario of the service network and improving the user experience.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述会话管理网元向用户面网元发送所述终端的组播业务权限信息。The session management network element sends the multicast service authority information of the terminal to the user plane network element.
通过该可能的实施方式提供的接入服务网络的方法,接入网络的会话管理网元可以通过将终端的组播业务权限信息发送给用户面网元的方式,由用户面网元根据终端的组播业务权限信息,对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。The method for accessing the service network provided by the possible implementation manner, the session management network element of the access network may send the multicast service authority information of the terminal to the user plane network element, and the user plane network element according to the terminal The multicast service authority information controls the multicast service of the terminal, which expands the usage scenario of the service network and improves the user experience.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述会话管理网元获取第二网络连接标识,所述第二网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识;The session management network element obtains a second network connection identifier, where the second network connection identifier is a network connection identifier used by the terminal when accessing the service network;
所述会话管理网元根据所述终端的组播业务权限信息和所述第二网络连接标识,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系;The session management network element establishes a correspondence between the second network connection identifier of the terminal and the multicast service authority information according to the multicast service authority information of the terminal and the second network connection identifier;
所述会话管理网元向用户面网元发送所述对应关系。The session management network element sends the correspondence relationship to the user plane network element.
通过该可能的实施方式提供的接入服务网络的方法,接入网络的会话管理网元可以通过将终端的第二网络连接标识与所述组播业务权限信息的对应关系发送给用户面网元的方式,由用户面网元根据终端的第二网络连接标识与所述组播业务权限信息的对应关系,对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。The method for accessing the service network provided by the possible implementation manner, the session management network element of the access network may send the corresponding relationship between the second network connection identifier of the terminal and the multicast service authority information to the user plane network element The user plane network element controls the multicast service of the terminal according to the correspondence between the second network connection identifier of the terminal and the multicast service authority information, thereby expanding the usage scenario of the service network and improving the user experience.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method further includes:
所述会话管理网元获取第二网络连接标识,所述第二网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识;The session management network element obtains a second network connection identifier, where the second network connection identifier is a network connection identifier used by the terminal when accessing the service network;
所述会话管理网元根据所述终端的组播业务权限信息和所述第二网络连接标识,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系;The session management network element establishes a correspondence between the second network connection identifier of the terminal and the multicast service authority information according to the multicast service authority information of the terminal and the second network connection identifier;
所述会话管理网元接收用户面网元发送的组播业务请求消息,所述组播业务请求消息用于所述终端请求获取所述服务网络提供的第一组播业务的数据,所述组播业务请求消息包括:第一网络连接标识,以及所述第一组播业务的标识,所述第一组播业务为所述网络服务网络提供的至少一个组播业务中的一个,所述第一网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识,所述第一网络连接标识与所述第二网络连接标识相同,或者,所述第一网络连接标识与所述第二网络标识对应;The session management network element receives a multicast service request message sent by the user plane network element, where the multicast service request message is used by the terminal to obtain data of the first multicast service provided by the service network, where the group The broadcast service request message includes: a first network connection identifier, and an identifier of the first multicast service, where the first multicast service is one of at least one multicast service provided by the network service network, where a network connection identifier is a network connection identifier used when the terminal accesses the service network, where the first network connection identifier is the same as the second network connection identifier, or the first network connection identifier and location Corresponding to the second network identifier;
所述会话管理网元根据所述第一网络连接标识、所述第一组播业务的标识、以及所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,确定所述终端对应所述第一组播业务的权限;Determining, by the session management network element, the first network connection identifier, the identifier of the first multicast service, and the correspondence between the second network connection identifier of the terminal and the multicast service authority information, The terminal corresponds to the permission of the first multicast service;
所述会话管理网元向所述用户面网元发送组播业务响应消息,所述组播业务响应消息用于指示所述终端对应所述第一组播业务的权限。The session management network element sends a multicast service response message to the user plane network element, where the multicast service response message is used to indicate that the terminal corresponds to the rights of the first multicast service.
通过该可能的实施方式提供的接入服务网络的方法,接入网络的会话管理网元可以通过将终端对应所述第一组播业务的权限发送给用户面网元的方式,由用户面网元根据终端 对应所述第一组播业务的权限,对终端的第一组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。The method for accessing the service network provided by the possible implementation manner, the session management network element of the access network may be sent to the user plane network element by using the right of the terminal corresponding to the first multicast service, and the user plane network The element controls the first multicast service of the terminal according to the right of the terminal corresponding to the first multicast service, thereby expanding the usage scenario of the service network and improving the user experience.
在一种可能的实施方式中,在所述第一网络连接标识与所述第二网络标识对应时,所述会话管理网元根据所述第一网络连接标识、所述第一组播业务的标识,以及,所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,确定所述终端对所述第一组播业务的权限,包括:In a possible implementation manner, when the first network connection identifier corresponds to the second network identifier, the session management network element is configured according to the first network connection identifier, the first multicast service And the identifier, and the corresponding relationship between the second network connection identifier of the terminal and the multicast service authority information, and determining the rights of the terminal to the first multicast service, including:
所述会话管理网元根据所述第一网络连接标识、所述第一组播业务的标识、所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,以及,所述第一网络连接标识与所述第二网络连接标识的对应关系,确定所述终端对所述第一组播业务的权限。Corresponding relationship between the first network connection identifier, the identifier of the first multicast service, the second network connection identifier of the terminal, and the multicast service authority information, and the Corresponding relationship between the first network connection identifier and the second network connection identifier, and determining the authority of the terminal to the first multicast service.
通过该可能的实施方式提供的接入服务网络的方法,在第一网络连接标识与所述第二网络标识不同时,接入网络的会话管理网元可以根据第一网络连接标识与所述第二网络连接标识的对应关系,获取第一网络连接标识对应的第二网络连接标识,从而可以根据终端的第二网络连接标识与组播业务权限信息的对应关系确定终端对所述第一组播业务的权限,并将终端对应所述第一组播业务的权限发送给用户面网元,由用户面网元根据终端对应所述第一组播业务的权限,对终端的第一组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。The method for accessing the service network provided by the possible implementation manner, when the first network connection identifier is different from the second network identifier, the session management network element of the access network may be configured according to the first network connection identifier and the first Determining, by the second network connection identifier, the second network connection identifier corresponding to the first network connection identifier, so that the terminal can determine the first multicast according to the correspondence between the second network connection identifier and the multicast service authority information of the terminal The right of the service, and the right of the terminal corresponding to the first multicast service is sent to the user plane network element, and the first multicast service of the terminal is performed by the user plane network element according to the right of the terminal corresponding to the first multicast service. Controlling, expanding the use of the service network and improving the user experience.
在一种可能的实施方式中,所述会话管理网元根据所述终端的组播业务权限信息和所述第二网络连接标识,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,包括:In a possible implementation, the session management network element establishes a second network connection identifier of the terminal and the multicast service according to the multicast service authority information of the terminal and the second network connection identifier. Correspondence of permission information, including:
所述会话管理网元根据所述终端的标识与所述终端的组播业务权限信息的对应关系,以及,所述终端的标识与所述第二网络连接标识的对应关系,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系。The session management network element establishes the terminal according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the correspondence between the identifier of the terminal and the second network connection identifier. Corresponding relationship between the second network connection identifier and the multicast service authority information.
通过该可能的实施方式提供的接入服务网络的方法,接入网络的会话管理网元可以通过终端的标识与所述终端的组播业务权限信息的对应关系,以及,所述终端的标识与所述第二网络连接标识的对应关系,实现终端的第二网络连接标识与组播业务权限信息的对应关系的建立。The method for accessing the service network provided by the possible implementation manner, the session management network element of the access network may correspond to the multicast service authority information of the terminal by the identifier of the terminal, and the identifier of the terminal Corresponding relationship between the second network connection identifier and the correspondence between the second network connection identifier of the terminal and the multicast service authority information.
在一种可能的实施方式中,所述第一网络连接标识或所述第二网络连接标识包括下述任一项:In a possible implementation manner, the first network connection identifier or the second network connection identifier includes any one of the following:
所述服务网络分配的地址信息、会话标识,隧道端点标识。Address information, session identifier, and tunnel endpoint identifier assigned by the service network.
在一种可能的实施方式中,所述会话管理网元获取所述终端的组播业务权限信息,包括:In a possible implementation manner, the session management network element acquires multicast service authority information of the terminal, including:
所述会话管理网元从数据管理网元、或者、策略控制网元、或者网络开放网元、或者网络管理网元,获取所述终端的组播业务权限信息。The session management network element obtains the multicast service authority information of the terminal from the data management network element, or the policy control network element, or the network open network element, or the network management network element.
通过该可能的实施方式提供的接入服务网络的方法,使得接入网络的会话管理网元获取所述终端的组播业务权限信息的方式灵活多样。The method for accessing the service network provided by the possible implementation manner enables the session management network element of the access network to obtain the multicast service authority information of the terminal in a flexible manner.
第二十八方面,本申请实施例提供一种接入服务网络的方法,该方法包括:In a twenty-eighth aspect, the embodiment of the present application provides a method for accessing a service network, where the method includes:
数据管理网元接收终端的组播业务权限信息,所述组播业务权限信息包括所述终端对应所述服务网络提供的至少一个组播业务的权限;The data management network element receives the multicast service authority information of the terminal, where the multicast service authority information includes the right of the terminal corresponding to the at least one multicast service provided by the service network;
所述数据管理网元将所述终端的组播业务权限信息作为所述终端的信息。The data management network element uses the multicast service authority information of the terminal as the information of the terminal.
通过第二十八方面提供的接入服务网络的方法,在接入网络为无线网络时,接入网络的数据管理网元可以将终端的组播业务权限信息作为所述终端的信息进行存储,从而使得终端在通过接入网络接入服务网络时,可以向接入网络其他网元提供终端的组播业务权限信息,以对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。According to the method for accessing a service network provided by the twenty-eighth aspect, when the access network is a wireless network, the data management network element of the access network may store the multicast service authority information of the terminal as the information of the terminal. Therefore, when the terminal accesses the service network through the access network, the terminal can provide the multicast service authority information of the terminal to other network elements of the access network, thereby controlling the multicast service of the terminal, thereby expanding the usage scenario of the service network and improving The user experience.
第二十九方面,本申请实施例提供一种通信装置,该通信装置包括:In a twenty-ninth aspect, the embodiment of the present application provides a communication device, where the communication device includes:
处理单元,用于获取组播业务请求消息,根据所述第一网络连接标识以及所述第一组播业务的标识确定所述终端对应所述第一组播业务的权限,并根据所述终端对应所述第一组播业务的权限,控制发送单元向所述终端发送的所述第一组播业务的数据的范围;a processing unit, configured to obtain a multicast service request message, determine, according to the first network connection identifier and the identifier of the first multicast service, the right of the terminal corresponding to the first multicast service, and according to the terminal Corresponding to the right of the first multicast service, controlling a range of data of the first multicast service sent by the sending unit to the terminal;
其中,所述组播业务请求消息用于终端请求获取服务网络提供的第一组播业务的数据,所述组播业务请求消息包括:第一网络连接标识,以及所述第一组播业务的标识,所述第一网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识,所述第一组播业务为所述服务网络提供的至少一个组播业务中的一个。The multicast service request message is used by the terminal to obtain data of the first multicast service that is provided by the service network, where the multicast service request message includes: a first network connection identifier, and the first multicast service And determining, by the first network connection identifier, a network connection identifier used by the terminal when accessing the service network, where the first multicast service is one of at least one multicast service provided by the service network.
在一种可能的实施方式中,所述处理单元,具体用于根据所述第一网络连接标识、所述第一组播业务的标识、以及所述终端的第二网络连接标识与组播业务权限信息的对应关系,确定所述终端对应所述第一组播业务的权限;In a possible implementation manner, the processing unit is specifically configured to: according to the first network connection identifier, the identifier of the first multicast service, and the second network connection identifier and the multicast service of the terminal Corresponding relationship of the rights information, determining the rights of the terminal corresponding to the first multicast service;
其中,所述组播业务权限信息包括所述终端对应所述至少一个组播业务的权限,所述第二网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识,所述第一网络连接标识与所述第二网络连接标识相同,或者,所述第一网络连接标识与所述第二网络标识对应。The multicast service authority information includes the right of the terminal corresponding to the at least one multicast service, and the second network connection identifier is a network connection identifier used by the terminal when accessing the service network. The first network connection identifier is the same as the second network connection identifier, or the first network connection identifier corresponds to the second network identifier.
在一种可能的实施方式中,所述处理单元,还用于获取所述终端的第二网络连接标识与所述组播业务权限信息的对应关系。In a possible implementation, the processing unit is further configured to acquire a correspondence between the second network connection identifier of the terminal and the multicast service authority information.
在一种可能的实施方式中,所述处理单元,具体用于获取所述终端的组播业务权限信息以及所述第二网络连接标识,并根据所述终端的组播业务权限信息和所述第二网络连接标识建立所述对应关系。In a possible implementation manner, the processing unit is specifically configured to acquire multicast service authority information of the terminal and the second network connection identifier, and according to the multicast service authority information of the terminal, The second network connection identifier establishes the correspondence.
在一种可能的实施方式中,所述处理单元,具体用于根据所述终端的标识与所述终端的组播业务权限信息的对应关系,以及,所述终端的标识与所述第二网络连接标识的对应关系,建立所述对应关系。In a possible implementation manner, the processing unit is specifically configured to: according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the identifier of the terminal and the second network Corresponding relationships of the connection identifiers are established to establish the correspondence relationship.
在一种可能的实施方式中,所述装置还包括:接收单元;In a possible implementation, the device further includes: a receiving unit;
所述处理单元,具体用于通过所述接收单元接收会话管理网元发送的所述终端的组播业务权限信息。The processing unit is configured to receive, by using the receiving unit, multicast service authority information of the terminal that is sent by the session management network element.
在一种可能的实施方式中,所述装置还包括:接收单元;In a possible implementation, the device further includes: a receiving unit;
所述处理单元,具体用于通过所述接收单元接收会话管理网元发送的所述对应关系。The processing unit is specifically configured to receive, by using the receiving unit, the correspondence that is sent by the session management network element.
在一种可能的实施方式中,在所述第一网络连接标识与所述第二网络标识对应时,所述处理单元,具体用于根据所述第一网络连接标识、所述第一组播业务的标识、所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,以及,所述第一网络连接标识与所述第二网络连接标识的对应关系,确定所述终端对所述第一组播业务的权限。In a possible implementation, when the first network connection identifier corresponds to the second network identifier, the processing unit is specifically configured to use, according to the first network connection identifier, the first multicast Corresponding relationship between the identifier of the service, the second network connection identifier of the terminal, and the multicast service authority information, and the correspondence between the first network connection identifier and the second network connection identifier, determining the terminal The authority to the first multicast service.
在一种可能的实施方式中,所述装置还包括:接收单元;In a possible implementation, the device further includes: a receiving unit;
所述处理单元,具体用于通过所述发送单元向会话管理网元发送所述组播业务请求消息,并通过所述接收单元接收所述会话管理网元发送的组播业务响应消息,所述组播业务 响应消息用于指示所述终端对应所述第一组播业务的权限。The processing unit is configured to send, by using the sending unit, the multicast service request message to the session management network element, and receive, by the receiving unit, a multicast service response message sent by the session management network element, where The multicast service response message is used to indicate that the terminal corresponds to the rights of the first multicast service.
在一种可能的实施方式中,所述第一网络连接标识或所述第二网络连接标识包括下述任一项:In a possible implementation manner, the first network connection identifier or the second network connection identifier includes any one of the following:
所述服务网络分配的地址信息、会话标识,隧道端点标识。Address information, session identifier, and tunnel endpoint identifier assigned by the service network.
上述第二十九方面和第二十九方面的各可能的实施方式所提供的通信装置,其有益效果可以参见上述第二十六方面和第二十六方面的各可能的实施方式所带来的有益效果,在此不加赘述。The communication device provided by each of the foregoing twenty-ninth aspects and the twenty-ninth aspects may be beneficially obtained by referring to the foregoing twenty-sixth aspect and the possible embodiments of the twenty-sixth aspect. The beneficial effects are not mentioned here.
第三十方面,本申请实施例提供一种通信装置,该通信装置包括:In a thirtieth aspect, the embodiment of the present application provides a communication device, where the communication device includes:
处理单元,用于获取终端的组播业务权限信息,所述组播业务权限信息包括所述终端对应服务网络提供的至少一个组播业务的权限。The processing unit is configured to obtain the multicast service authority information of the terminal, where the multicast service authority information includes the right of the terminal corresponding to the at least one multicast service provided by the service network.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
发送单元,用于向用户面网元发送所述终端的组播业务权限信息。And a sending unit, configured to send the multicast service authority information of the terminal to the user plane network element.
在一种可能的实施方式中,所述装置还包括:发送单元;In a possible implementation, the device further includes: a sending unit;
所述处理单元,还用于获取第二网络连接标识,并根据所述终端的组播业务权限信息和所述第二网络连接标识,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,所述第二网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识;The processing unit is further configured to obtain a second network connection identifier, and establish a second network connection identifier of the terminal and the multicast according to the multicast service authority information of the terminal and the second network connection identifier. Corresponding relationship of the service authority information, where the second network connection identifier is a network connection identifier used when the terminal accesses the service network;
所述发送单元,用于向用户面网元发送所述对应关系。The sending unit is configured to send the correspondence to the user plane network element.
在一种可能的实施方式中,所述装置还包括:发送单元和接收单元;In a possible implementation, the device further includes: a sending unit and a receiving unit;
所述处理单元,还用于获取第二网络连接标识,并根据所述终端的组播业务权限信息和所述第二网络连接标识,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,所述第二网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识;The processing unit is further configured to obtain a second network connection identifier, and establish a second network connection identifier of the terminal and the multicast according to the multicast service authority information of the terminal and the second network connection identifier. Corresponding relationship of the service authority information, where the second network connection identifier is a network connection identifier used when the terminal accesses the service network;
所述接收单元,用于接收用户面网元发送的组播业务请求消息,所述组播业务请求消息用于所述终端请求获取所述服务网络提供的第一组播业务的数据,所述组播业务请求消息包括:第一网络连接标识,以及所述第一组播业务的标识,所述第一组播业务为所述网络服务网络提供的至少一个组播业务中的一个,所述第一网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识,所述第一网络连接标识与所述第二网络连接标识相同,或者,所述第一网络连接标识与所述第二网络标识对应;The receiving unit is configured to receive a multicast service request message sent by the user plane network element, where the multicast service request message is used by the terminal to request to acquire data of the first multicast service provided by the service network, where The multicast service request message includes: a first network connection identifier, and an identifier of the first multicast service, where the first multicast service is one of at least one multicast service provided by the network service network, The first network connection identifier is a network connection identifier used by the terminal when accessing the service network, where the first network connection identifier is the same as the second network connection identifier, or the first network connection identifier is Corresponding to the second network identifier;
所述处理单元,还用于根据所述第一网络连接标识、所述第一组播业务的标识、以及所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,确定所述终端对应所述第一组播业务的权限;The processing unit is further configured to determine, according to the first network connection identifier, the identifier of the first multicast service, and the correspondence between the second network connection identifier of the terminal and the multicast service authority information, The terminal corresponds to the right of the first multicast service;
所述发送单元,用于向所述用户面网元发送组播业务响应消息,所述组播业务响应消息用于指示所述终端对应所述第一组播业务的权限。The sending unit is configured to send a multicast service response message to the user plane network element, where the multicast service response message is used to indicate that the terminal corresponds to the right of the first multicast service.
在一种可能的实施方式中,在所述第一网络连接标识与所述第二网络标识对应时,所述处理单元,具体用于根据所述第一网络连接标识、所述第一组播业务的标识、所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,以及,所述第一网络连接标识与所述第二网络连接标识的对应关系,确定所述终端对所述第一组播业务的权限。In a possible implementation, when the first network connection identifier corresponds to the second network identifier, the processing unit is specifically configured to use, according to the first network connection identifier, the first multicast Corresponding relationship between the identifier of the service, the second network connection identifier of the terminal, and the multicast service authority information, and the correspondence between the first network connection identifier and the second network connection identifier, determining the terminal The authority to the first multicast service.
在一种可能的实施方式中,所述处理单元,具体用于根据所述终端的标识与所述终端的组播业务权限信息的对应关系,以及,所述终端的标识与所述第二网络连接标识的对应关系,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系。In a possible implementation manner, the processing unit is specifically configured to: according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the identifier of the terminal and the second network Corresponding relationship between the connection identifier and the correspondence between the second network connection identifier of the terminal and the multicast service authority information.
在一种可能的实施方式中,所述第一网络连接标识或所述第二网络连接标识包括下述任一项:In a possible implementation manner, the first network connection identifier or the second network connection identifier includes any one of the following:
所述服务网络分配的地址信息、会话标识,隧道端点标识。Address information, session identifier, and tunnel endpoint identifier assigned by the service network.
在一种可能的实施方式中,所述处理单元,具体用于从数据管理网元、或者、策略控制网元、或者网络开放网元、或者网络管理网元,获取所述终端的组播业务权限信息。In a possible implementation, the processing unit is specifically configured to acquire the multicast service of the terminal from a data management network element, or a policy control network element, or a network open network element, or a network management network element. Permission information.
上述第三十方面和第三十方面的各可能的实施方式所提供的通信装置,其有益效果可以参见上述第二十七方面和第二十七方面的各可能的实施方式所带来的有益效果,在此不加赘述。The beneficial effects of the communication device provided by the foregoing thirtieth and thirtieth aspects may be beneficial to the various possible embodiments of the twenty-seventh aspect and the twenty-seventh aspect. The effect is not described here.
第三十一方面,本申请实施例提供一种通信装置,该通信装置包括:In a thirty-first aspect, the embodiment of the present application provides a communication device, where the communication device includes:
接收单元,用于接收终端的组播业务权限信息,所述组播业务权限信息包括所述终端对应所述服务网络提供的至少一个组播业务的权限;a receiving unit, configured to receive multicast service authority information of the terminal, where the multicast service authority information includes a right of the terminal to correspond to at least one multicast service provided by the service network;
处理单元,用于将所述终端的组播业务权限信息作为所述终端的信息。The processing unit is configured to use the multicast service authority information of the terminal as the information of the terminal.
上述第方面和第三十一方面的各可能的实施方式所提供的通信装置,其有益效果可以参见上述第二十八方面和第二十八方面的各可能的实施方式所带来的有益效果,在此不加赘述。The beneficial effects of the communication device provided by the above-mentioned first aspect and the possible embodiments of the thirty-first aspect can be seen in the beneficial effects brought by the various possible embodiments of the twenty-eighth aspect and the twenty-eighth aspect. I will not repeat them here.
第三十二方面,本申请实施例提供一种通信装置,所述通信装置包括:处理器、存储器;In a thirty-second aspect, the embodiment of the present application provides a communication device, where the communication device includes: a processor and a memory;
其中,存储器用于存储计算机可执行程序代码,程序代码包括指令;当处理器执行指令时,指令使所述通信装置执行如第二十六方面或第二十六方面的各可能的实施方式所提供的接入服务网络的方法。Wherein the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform various possible embodiments as in the twenty-sixth aspect or the twenty-sixth aspect A method of providing access to a service network.
第三十三方面,本申请实施例提供一种通信装置,所述通信装置包括:处理器、存储器;In a thirty-third aspect, the embodiment of the present application provides a communication device, where the communication device includes: a processor and a memory;
其中,存储器用于存储计算机可执行程序代码,程序代码包括指令;当处理器执行指令时,指令使所述通信装置执行如第二十七方面或第二十七方面的各可能的实施方式所提供的接入服务网络的方法。Wherein the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform various possible embodiments as in the twenty-seventh aspect or the twenty-seventh aspect A method of providing access to a service network.
第三十四方面,本申请实施例提供一种通信装置,所述通信装置包括:处理器、存储器;A thirty-fourth aspect, the embodiment of the present application provides a communication device, where the communication device includes: a processor and a memory;
其中,存储器用于存储计算机可执行程序代码,程序代码包括指令;当处理器执行指令时,指令使所述通信装置执行如第二十八方面或第二十八方面的各可能的实施方式所提供的接入服务网络的方法。Wherein the memory is for storing computer executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the communication device to perform various possible embodiments as in the twenty-eighth aspect or the twenty-eighth aspect A method of providing access to a service network.
第三十五方面,本申请实施例提供一种通信装置,包括用于执行以上第二十六方面或第二十六方面各可能的实现方式所提供的方法的单元、模块或电路。该通信装置可以为用户面网元(例如UPF网元),也可以为应用于用户面网元的一个模块,例如,可以为应用于用户面网元的芯片。In a thirty-fifth aspect, the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit, for performing the method provided by the foregoing twenty-sixth aspect or the twenty-sixth aspect. The communication device may be a user plane network element (for example, a UPF network element), or may be a module applied to the user plane network element. For example, it may be a chip applied to the user plane network element.
第三十六方面,本申请实施例提供一种通信装置,包括用于执行以上第二十六方面或第二十六方面各可能的实现方式所提供的方法的单元、模块或电路。该通信装置可以为会话管理网元(例如SMF网元),也可以为应用于会话管理网元的一个模块,例如,可以为应用于会话管理网元的芯片。In a thirty-sixth aspect, the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit, for performing the method provided by the foregoing twenty-sixth aspect or the twenty-sixth aspect. The communication device may be a session management network element (for example, an SMF network element), or may be a module applied to the session management network element, for example, may be a chip applied to the session management network element.
第三十七方面,本申请实施例提供一种通信装置,包括用于执行以上第二十七方面或 第二十七方面各可能的实现方式所提供的方法的单元、模块或电路。该通信装置可以为接入网络侧用于存储收终端的组播业务权限信息的网元,也可以为应用于接入网络侧用于存储收终端的组播业务权限信息的网元的一个模块,例如,可以为应用于接入网络侧用于存储收终端的组播业务权限信息的网元的芯片。这里所说的接入网络侧用于存储收终端的组播业务权限信息的网元例如可以为:、数据管理网元(例如UDM网元)、策略控制网元(例如PCF网元)、网络开放网元(例如NEF网元)、网络管理网元(例如NMS网元)。In a thirty-seventh aspect, the embodiment of the present application provides a communication apparatus, including a unit, a module, or a circuit for performing the method provided by the foregoing twenty-seventh or twenty-seventh aspects. The communication device may be a network element for storing the multicast service authority information of the receiving terminal on the access network side, or a module of the network element applied to the access network side for storing the multicast service authority information of the receiving terminal. For example, it may be a chip applied to a network element for accessing the multicast service authority information of the receiving terminal on the access network side. The network element for storing the multicast service authority information of the receiving terminal on the access network side may be, for example, a data management network element (for example, a UDM network element), a policy control network element (for example, a PCF network element), or a network. An open network element (for example, an NEF network element) or a network management network element (for example, an NMS network element).
第三十八方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二十六方面或第二十六方面的各种可能的实施方式中的方法。In a thirty-eighth aspect, the embodiment of the present application provides a computer program product comprising instructions, when executed on a computer, causing the computer to perform various possible implementation manners of the twenty-sixth aspect or the twenty-sixth aspect The method in .
第三十九方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二十七方面或第二十七方面的各种可能的实施方式中的方法。In a thirty-ninth aspect, the embodiment of the present application provides a computer program product comprising instructions, when executed on a computer, causing a computer to perform various possible implementation manners of the twenty-seventh aspect or the twenty-seventh aspect The method in .
第四十方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二十八方面或第二十八方面的各种可能的实施方式中的方法。In a fortieth aspect, the embodiment of the present application provides a computer program product comprising instructions, when the computer is running on a computer, causing the computer to perform the foregoing various aspects of the twenty-eighth aspect or the twenty-eighth aspect Methods.
第四十一方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第二十六方面或第二十六方面的各种可能的实施方式中的方法。In a forty-first aspect, the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to execute the foregoing twenty-sixth aspect or the The method of the various possible embodiments of the twenty-sixth aspect.
第四十二方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第二十七方面或第二十七方面的各种可能的实施方式中的方法。In a forty-second aspect, the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to execute the twenty-seventh aspect or the The method of the various possible embodiments of the twenty-seventh aspect.
第四十三方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第二十八方面或第二十八方面的各种可能的实施方式中的方法。In a forty-third aspect, the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to execute the foregoing twenty-eighth aspect or the The method of the various possible embodiments of the twenty-eighth aspect.
本申请实施例提供的接入服务网络的方法和通信装置,使得终端可以通过接入网络(例如无线网络)接入服务网络,扩大了服务网络的使用场景。The method and the communication device for accessing the service network provided by the embodiment of the present application enable the terminal to access the service network through the access network (for example, a wireless network), thereby expanding the usage scenario of the service network.
附图说明DRAWINGS
图1为现有的终端接入IPTV网络的网络架构图;FIG. 1 is a network architecture diagram of an existing terminal accessing an IPTV network;
图2为现有的终端接入IPTV网络的方法的流程图;2 is a flowchart of a method for an existing terminal to access an IPTV network;
图3为本申请实施例提供的一种终端接入服务网络的网络架构图;FIG. 3 is a network architecture diagram of a terminal access service network according to an embodiment of the present disclosure;
图4为本申请实施例提供的一种接入服务网络的方法的流程图;FIG. 4 is a flowchart of a method for accessing a service network according to an embodiment of the present application;
图5为本申请实施例提供的另一种接入服务网络的方法的流程图;FIG. 5 is a flowchart of another method for accessing a service network according to an embodiment of the present disclosure;
图6为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 6 is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图7为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 7 is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图8A为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 8 is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图8B为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 8B is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图9为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 9 is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图10为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 10 is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图10A为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 10A is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图10B为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 10B is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图10C为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 10C is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图10D为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 10D is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图10E为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 10E is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图10F为本申请实施例提供的又一种接入服务网络的方法的流程图;FIG. 10F is a flowchart of still another method for accessing a service network according to an embodiment of the present application;
图11为本申请实施例提供的一种通信装置的结构示意图;FIG. 11 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application;
图12为本申请实施例提供的另一种通信装置的结构示意图;FIG. 12 is a schematic structural diagram of another communication apparatus according to an embodiment of the present disclosure;
图13为本申请实施例提供的又一种通信装置的结构示意图;FIG. 13 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application;
图14为本申请实施例提供的又一种通信装置的结构示意图;FIG. 14 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application;
图14A为本申请实施例提供的又一种通信装置的结构示意图;FIG. 14 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application; FIG.
图14B为本申请实施例提供的又一种通信装置的结构示意图;FIG. 14B is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application;
图14C为本申请实施例提供的又一种通信装置的结构示意图;14C is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application;
图15为本申请实施例提供的又一种通信装置的结构示意图;FIG. 15 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application;
图16为本申请实施例提供的又一种通信装置的结构示意图;FIG. 16 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application;
图17为本申请实施例提供的又一种通信装置的结构示意图;FIG. 17 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application;
图18为本申请实施例提供的又一种通信装置的结构示意图。FIG. 18 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application.
具体实施方式detailed description
图1为现有的终端接入IPTV网络的网络架构图。如图1所示,现有技术中,用户端设置有机顶盒(set top box,STB)和家庭网关(residential gateway,RG)。有线网络包括:接入网(access network,AN)设备和宽带网络网关(Broadband Network Gateway,BNG)。RG可以通过有线网络接入IPTV网络。RG在接入IPTV网络后,与RG连接的STB可以通过RG获取到IPTV网络提供的数据。FIG. 1 is a network architecture diagram of an existing terminal accessing an IPTV network. As shown in FIG. 1 , in the prior art, a UE sets a set top box (STB) and a residential gateway (RG). The wired network includes: an access network (AN) device and a broadband network gateway (BNG). The RG can access the IPTV network through a wired network. After the RG accesses the IPTV network, the STB connected to the RG can obtain data provided by the IPTV network through the RG.
图2为现有的终端接入IPTV网络的方法的流程图。如图2所示,RG通过有线网络与IPTV网络中的动态主机配置协议(dynamic host configuration protocol,DHCP)服务器(server)进行交互,以接入IPTV网络。具体地:2 is a flow chart of a method for an existing terminal to access an IPTV network. As shown in FIG. 2, the RG interacts with a dynamic host configuration protocol (DHCP) server in the IPTV network through a wired network to access the IPTV network. specifically:
S101、RG向BNG发送DHCP发现消息。S101. The RG sends a DHCP discovery message to the BNG.
其中,DHCP发现(discover)消息用于请求DHCP服务器对RG进行认证。The DHCP discovery (discover) message is used to request the DHCP server to authenticate the RG.
S102、BNG向DHCP服务器发送DHCP发现消息。S102. The BNG sends a DHCP discovery message to the DHCP server.
其中,该DHCP发现消息包括:RG的线路身份标识号(Line identification,Line ID)。The DHCP discovery message includes: a line identification (Line ID) of the RG.
BNG中存储有RG的Line ID,该Line ID为RG在IPTV网络中的标识。因此,BNG向DHCP服务器发送该DHCP发现消息之前,会在该DHCP发现消息中添加Option 82子选项。其中,该Option 82子选项包括RG的Line ID。也就是说,BNG向DHCP服务器发送的DHCP发现消息包括:RG的Line ID。The Line ID of the RG is stored in the BNG, and the Line ID is the identifier of the RG in the IPTV network. Therefore, before the BNG sends the DHCP discovery message to the DHCP server, the Option 82 sub-option is added to the DHCP discovery message. The Option 82 sub-option includes the Line ID of the RG. That is to say, the DHCP discovery message sent by the BNG to the DHCP server includes: the Line ID of the RG.
S103、DHCP服务器与IPTV网络的鉴权服务器进行交互,对RG进行认证。S103. The DHCP server interacts with an authentication server of the IPTV network to authenticate the RG.
例如,DHCP服务器可以向鉴权服务器发送认证请求消息,所述认证消息包括:RG的Line ID。鉴权服务器在接收到该认证请求消息后,可以根据认证请求消息携带的RG的Line ID,查询其本地数据库。当该RG的Line ID存在于本地数据库时,说明该RG可以使用IPTV网络的服务,即RG认证通过。在该场景下,鉴权服务器可以向DHCP服务器 发送认证通过消息。该认证通过消息用于指示该RG认证通过。在RG认证通过时,DHCP服务器可以进一步执行后续步骤S104。For example, the DHCP server may send an authentication request message to the authentication server, where the authentication message includes: a Line ID of the RG. After receiving the authentication request message, the authentication server may query the local database according to the Line ID of the RG carried in the authentication request message. When the Line ID of the RG exists in the local database, it indicates that the RG can use the service of the IPTV network, that is, the RG authentication. In this scenario, the authentication server can send an authentication pass message to the DHCP server. The authentication pass message is used to indicate that the RG authentication is passed. When the RG authentication is passed, the DHCP server may further perform the subsequent step S104.
若鉴权服务器在本地数据库中未查询到该RG的Line ID,说明该RG不能使用IPTV网络的服务,即RG认证失败。在该场景下,鉴权服务器可以向DHCP服务器发送认证失败消息。该认证失败消息用于指示该RG认证失败。在RG认证失败时,DHCP服务器可以向RG发送用于指示RG认证失败的DHCP消息。RG在接收到该DHCP消息后,可以重新发起接入流程。即,重新执行步骤S101。此流程未在图1中示出。If the authentication server does not query the Line ID of the RG in the local database, the RG cannot use the service of the IPTV network, that is, the RG authentication fails. In this scenario, the authentication server can send an authentication failure message to the DHCP server. The authentication failure message is used to indicate that the RG authentication fails. When the RG authentication fails, the DHCP server may send a DHCP message to the RG indicating that the RG authentication failed. After receiving the DHCP message, the RG can re-initiate the access procedure. That is, step S101 is re-executed. This flow is not shown in FIG.
具体实现时,上述IPTV网络的鉴权服务器例如可以为验证、授权和记账(authentication、authorization、accounting,AAA)服务器。In a specific implementation, the authentication server of the IPTV network may be, for example, an authentication, authorization, and accounting (AAA) server.
S104、DHCP服务器向RG发送DHCP提供消息。S104. The DHCP server sends a DHCP offer message to the RG.
其中,DHCP提供(Offer)消息包括:DHCP服务器为RG分配的网络协议(internet protocol,IP)地址,即RG在IPTV网络中的IP地址。因此,在一些实施例中,该IP地址也可以称为IPTV网络为RG分配的IP地址。The DHCP offer (Offer) message includes: an internet protocol (IP) address assigned by the DHCP server to the RG, that is, an IP address of the RG in the IPTV network. Thus, in some embodiments, the IP address may also be referred to as an IP address assigned by the IPTV network to the RG.
具体实现时,DHCP服务器可以通过BNG将该DHCP提供消息发送给RG,对此不再加以赘述。In a specific implementation, the DHCP server may send the DHCP providing message to the RG through the BNG, and details are not described herein.
S105、RG向BNG发送DHCP请求消息。S105. The RG sends a DHCP request message to the BNG.
其中,该DHCP请求(request)消息用于向DHCP服务器询问所分配IP地址是否可用。此流程用于避免DHCP服务器将同一IP地址分配给两个RG使用,导致RG无法使用该IP地址接入IPTV网络的情况。The DHCP request message is used to query the DHCP server whether the allocated IP address is available. This process is used to prevent the DHCP server from assigning the same IP address to the two RGs, which prevents the RG from using the IP address to access the IPTV network.
S106、BNG向DHCP服务器发送DHCP请求消息。S106. The BNG sends a DHCP request message to the DHCP server.
BNG向DHCP服务器发送该DHCP请求消息之前,会在该DHCP请求消息中添加Option 82子选项。其中,该Option 82子选项包括RG的Line ID。Before the BNG sends the DHCP request message to the DHCP server, the Option 82 sub-option is added to the DHCP request message. The Option 82 sub-option includes the Line ID of the RG.
S107、DHCP服务器向RG发送DHCP确认消息。S107. The DHCP server sends a DHCP confirmation message to the RG.
其中,DHCP确认消息用于通知RG所分配的IP地址可用。The DHCP acknowledgement message is used to notify the RG that the assigned IP address is available.
DHCP服务器在确定为RG所分配的IP地址未与其他RG的IP地址存在冲突时,确定该IP地址可用。在该场景下,DHCP服务器可以通过BNG向RG发送DHCP确认消息。其中,该DHCP确认(acknowledge,Ack)消息包括:DHCP服务器为RG分配的IP地址,以通过该IP地址通知RG所分配的IP地址可用。需要说明的是,若DHCP服务器确定为RG所分配的IP地址与其他RG的IP地址存在冲突时,确定该IP地址不可用。在该场景下,DHCP服务器可以向RG发送用于指示IP地址不可用的DHCP消息。RG在接收到该DHCP消息后,可以重新发起接入流程。即,重新执行步骤S101。此流程未在图1中示出。When the DHCP server determines that the IP address assigned to the RG does not conflict with the IP addresses of other RGs, the DHCP server determines that the IP address is available. In this scenario, the DHCP server can send a DHCP confirmation message to the RG through the BNG. The DHCP acknowledgement (Ack) message includes: an IP address assigned by the DHCP server to the RG, to notify the RG that the assigned IP address is available through the IP address. It should be noted that if the DHCP server determines that the IP address assigned to the RG conflicts with the IP address of the other RG, it is determined that the IP address is unavailable. In this scenario, the DHCP server can send a DHCP message to the RG indicating that the IP address is not available. After receiving the DHCP message, the RG can re-initiate the access procedure. That is, step S101 is re-executed. This flow is not shown in FIG.
至此,完成了RG通过有线网络接入IPTV网络的流程。在RG接入IPTV网络后,与RG连接的STB可以通过RG获取到IPTV网络提供的数据,并提供给用户。So far, the process of RG accessing the IPTV network through the wired network is completed. After the RG accesses the IPTV network, the STB connected to the RG can obtain data provided by the IPTV network through the RG and provide the data to the user.
然而,上述现有技术仅涉及RG如何通过有线网络接入IPTV网络,并不涉及RG在其他网络(例如:无线网络)中如何接入IPTV网络。因此,现有的RG接入IPTV网络的方式,无法满足实际使用时的需求。However, the above prior art only relates to how the RG accesses the IPTV network through the wired network, and does not relate to how the RG accesses the IPTV network in other networks (for example, a wireless network). Therefore, the existing RG access to the IPTV network cannot meet the requirements in actual use.
考虑到上述问题,本申请实施例提供了一种接入服务网络的方法,使得RG可以通过其他网络(例如:无线网络)接入IPTV网络,其中,这里所说的其他网络可以是有线网络、无线网络、私网、Multefire网络等。这里所说的无线网络例如可以是第三代合作伙伴 计划(3rd Generation Partnership Project,3GPP)无线网络或非3GPP无线网络。上述3GPP无线网络例如可以是:长期演进(long term evolution,LTE)网络、家庭基站网络等。上述非3GPP无线网络例如可以是WIFI接入的无线网络、全球移动通信系统(global system for mobile communication,GSM)网络、宽带码分多址(wideband code division multiple access,WCDMA)网络、未来5G/6G网络、固定无线网络(fix wireless network)等。In view of the above problem, the embodiment of the present application provides a method for accessing a service network, so that the RG can access the IPTV network through other networks (for example, a wireless network), where the other network mentioned herein may be a wired network. Wireless network, private network, Multefire network, etc. The wireless network referred to herein may be, for example, a 3rd Generation Partnership Project (3GPP) wireless network or a non-3GPP wireless network. The above 3GPP wireless network may be, for example, a long term evolution (LTE) network, a home base station network, or the like. The non-3GPP wireless network may be, for example, a WIFI access wireless network, a global system for mobile communication (GSM) network, a wideband code division multiple access (WCDMA) network, and a future 5G/6G. Network, fixed wireless network, etc.
本领域可以理解的是,本申请实施例所提供的方法包括但不限于RG接入IPTV网络的场景,只要是涉及到终端接入服务网络的场景,都可以采用本申请实施例所提供的方法。其中,这里终端例如可以为:STB、RG、客户终端(customer premise equipment,CPE)、物联网(Internet of things,IoT)中的终端、带无线收发功能的电脑、智慧家庭(smart home)中的无线终端等。这里所说的服务网络可以是任意能够为用户提供服务的网络,例如因特网(Internet)网络,IPTV网络,IP多媒体子系统(IP Multimedia Subsystem,IMS)网络,电话网络等。It is to be understood in the art that the method provided by the embodiment of the present application includes, but is not limited to, a scenario in which the RG accesses the IPTV network, and the method provided by the embodiment of the present application may be used as long as the scenario involves the terminal accessing the service network. . The terminal here may be, for example, an STB, an RG, a customer premise equipment (CPE), a terminal in the Internet of Things (IoT), a computer with a wireless transceiver function, or a smart home. Wireless terminal, etc. The service network referred to herein may be any network capable of providing services to users, such as an Internet (Internet) network, an IPTV network, an IP Multimedia Subsystem (IMS) network, a telephone network, and the like.
为了便于对本申请实施例的理解,下面对本申请实施例所涉及的网络架构进行说明和介绍。图3为本申请实施例提供的一种终端接入服务网络的网络架构图。如图3所示,该网络可以包括:接入网设备、用户面功能(user plane function,UPF)网元、接入和移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、策略控制功能(policy control function,PCF)网元、统一数据管理功能(unified data management,UDM)网元。In order to facilitate the understanding of the embodiments of the present application, the network architecture involved in the embodiments of the present application is described and described below. FIG. 3 is a network architecture diagram of a terminal access service network according to an embodiment of the present disclosure. As shown in FIG. 3, the network may include: an access network device, a user plane function (UPF) network element, an access and mobility management function (AMF) network element, and session management. A session management function (SMF) network element, a policy control function (PCF) network element, and a unified data management (UDM) network element.
接入网设备用于将终端接入核心网络。当图3所示的网络为有线网络时,接入网设备可以是固网接入网(access gateway function,AGF)网元或BNG。当图3所示的为私有网络时,接入网设备可以是私有网络用户面网元。当图3所示的网络为multefire network时,接入网设备可以是multefire network用户面网元。当图3所示的网络为非可信非3GPP网络时,接入网设备可以是非3GPP互操作功能(non-3GPP Interworking Function,N3IWF)网元。当图3所示的网络为可信非3GPP接入网络时,接入网设备可以是可信接入网关。当图3所示的网络为无线网络时,接入网设备可以是无线接入网设备。这里所说的无线接入网设备是终端通过无线方式接入到该移动通信系统中的接入设备,可以是网络侧NodeB、演进型网络侧eNodeB、5G移动通信系统中的网络侧、未来移动通信系统中的网络侧或WiFi系统中的接入节点等,本申请的实施例对无线接入网设备所采用的具体技术和具体设备形态不做限定。The access network device is used to connect the terminal to the core network. When the network shown in FIG. 3 is a wired network, the access network device may be an access gateway function (AGF) network element or a BNG. When the private network is shown in FIG. 3, the access network device may be a private network user plane network element. When the network shown in Figure 3 is a multefire network, the access network device can be a multfire network user plane network element. When the network shown in FIG. 3 is a non-trusted non-3GPP network, the access network device may be a non-3GPP Interworking Function (N3IWF) network element. When the network shown in FIG. 3 is a trusted non-3GPP access network, the access network device may be a trusted access gateway. When the network shown in FIG. 3 is a wireless network, the access network device may be a wireless access network device. The radio access network device mentioned herein is an access device that the terminal accesses to the mobile communication system by using a wireless device, and may be a network side NodeB, an evolved network side eNodeB, a network side in a 5G mobile communication system, and a future mobile. The specific technology and the specific device configuration adopted by the radio access network device are not limited in the embodiment of the present application.
UPF网元用于传输用户面数据。AMF网元用于对终端能否接入该网络进行管理。SMF网元用于对终端通过该网络建立的会话连接进行管理,每个会话连接用于传输终端的用户面数据。PCF网元用于提供终端接入该网络的策略,如服务质量(quality of service,QoS)策略。UDM网元用于存储终端的签约数据。The UPF network element is used to transmit user plane data. The AMF network element is used to manage whether the terminal can access the network. The SMF network element is used to manage the session connection established by the terminal through the network, and each session connection is used to transmit the user plane data of the terminal. The PCF network element is used to provide a policy for the terminal to access the network, such as a quality of service (QoS) policy. The UDM network element is used to store subscription data of the terminal.
下面基于图3所示的网络的架构,通过一些实施例对终端如何接入服务网络进行详细说明。下面这几个实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。为了便于将图3所示的网络和服务网络进行区分,下述实施例中将图3所示的网络称为终端用于接入服务网络的网络,简称:接入网络。The following is a detailed description of how the terminal accesses the service network through some embodiments based on the architecture of the network shown in FIG. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments. In order to facilitate the distinction between the network and the service network shown in FIG. 3, the network shown in FIG. 3 is referred to as a network used by the terminal to access the service network, and is referred to as an access network.
在本申请实施例中,终端在接入网络中完成注册之后,可以先在接入网络中建立会话。然后,终端可以通过该会话接入服务网络。即,终端接入服务网络的流程包括两部分:建 立会话部分和接入服务网络部分。可以理解的是,终端在接入网络中进行注册的流程可以参见现有技术,对此不再赘述。In this embodiment of the present application, after the terminal completes registration in the access network, the session may be established in the access network. The terminal can then access the service network through the session. That is, the process of the terminal accessing the service network includes two parts: establishing a session part and accessing the service network part. It can be understood that the process of registering the terminal in the access network can refer to the prior art, and details are not described herein again.
在终端接入服务网络的过程中,涉及如下网元:会话管理网元(例如SMF网元)、用户面网元(终端通过接入网络与服务网络进行数据传输时的中间传输网元,例如:UPF网元、接入网设备等)、策略控制网元(例如PCF网元)、数据管理网元(例如UDM网元、统一数据库(unified data repository,UDR)网元)、接入管理网元(例如AMF网元)。In the process of the terminal accessing the service network, the following network elements are involved: a session management network element (for example, an SMF network element) and a user plane network element (the intermediate transmission network element when the terminal transmits data through the access network and the service network, for example, : UPF network elements, access network devices, etc., policy control network elements (such as PCF network elements), data management network elements (such as UDM network elements, unified data repository (UDR) network elements), access management network Yuan (for example, AMF network element).
下面对终端在接入网络中如何建立会话进行说明。图4为本申请实施例提供的一种接入服务网络的方法的流程图。如图4所说,该方法包括:The following describes how the terminal establishes a session in the access network. FIG. 4 is a flowchart of a method for accessing a service network according to an embodiment of the present application. As shown in Figure 4, the method includes:
S201、终端向会话管理网元发送会话建立请求消息。S201. The terminal sends a session establishment request message to the session management network element.
S202、会话管理网元获取终端在服务网络中的验证信息,验证消息用于终端接入服务网络。S202. The session management network element obtains verification information of the terminal in the service network, and the verification message is used by the terminal to access the service network.
具体地,终端可以在确定建立会话时,向会话管理网元发送会话建立请求,以请求会话管理网元建立会话。这样,终端可以利用该会话与服务网络进行数据传输。上述会话请求消息可以携带有终端的第一标识信息,以及,服务网络的标识信息。这里所说的终端的第一标识信息例如可以是终端的ID、终端的国际移动用户识别码(international mobile subscriber identification number,IMSI)、终端的通用公共签约标识(generic public subscription identifier,GPSI)、终端的移动台国际用户识别码(Mobile Subscriber International ISDN number,MSISDN)等中一项或多项。这里所说的服务网络的标识信息例如可以是服务网络的ID和/或服务网络的名称。在一些实施例中,服务网络的名称也可以称为数据网络名称(data network name,DNN)。Specifically, when determining to establish a session, the terminal may send a session establishment request to the session management network element to request the session management network element to establish a session. In this way, the terminal can utilize the session to perform data transmission with the service network. The session request message may carry the first identifier information of the terminal and the identifier information of the service network. The first identification information of the terminal mentioned herein may be, for example, an ID of the terminal, an international mobile subscriber identification number (IMSI) of the terminal, a generic public subscription identifier (GPSI) of the terminal, and a terminal. One or more of the Mobile Subscriber International ISDN number (MSISDN). The identification information of the service network referred to here may be, for example, the ID of the service network and/or the name of the service network. In some embodiments, the name of the service network may also be referred to as a data network name (DNN).
一种可能的实现方式,终端可以在完成接入网络的注册流程时,确定建立会话。或者,终端可以在接收到客户端发送的服务网络的数据时,确定建立会话。例如,终端可以在接收到客户端发送的Internet组管理协议(internet group management protocol,IGMP)消息时,确定建立会话。这里所说的客户端可以理解为通过终端获取服务网络所提供的服务的设备。In a possible implementation manner, the terminal may determine to establish a session when completing the registration process of accessing the network. Alternatively, the terminal may determine to establish a session when receiving data of the service network sent by the client. For example, the terminal may determine to establish a session when receiving an internet group management protocol (IGMP) message sent by the client. The client mentioned here can be understood as a device that obtains a service provided by a service network through a terminal.
上述会话管理网元在接收到终端发送的会话建立请求消息后,可以为终端建立会话。关于会话管理网元如何为终端建立会话可以参见现有技术,本申请实施例对此不再赘述。After receiving the session establishment request message sent by the terminal, the session management network element may establish a session for the terminal. For details on how the session management network element establishes a session for the terminal, refer to the prior art, and details are not described herein.
在本实施例中,会话管理网元在为终端建立会话的过程中,可以获取终端在服务网络中的验证信息。这样,在终端接入服务网络时,服务网络可以基于该验证信息对终端进行认证。上述终端在服务网络中的验证信息例如可以是终端的Line ID、终端的媒体访问控制(media access control,MAC)地址、终端的类型信息、终端的等级信息、终端接入服务网络时所使用的用户名信息等。其中,上述Line ID例如可以包括:电路(circuit)ID或者远程(remote)ID。上述所说的类型信息和等级信息具体可以根据通信系统的设置确定,本申请实施例对此不进行限定。In this embodiment, the session management network element may obtain the verification information of the terminal in the service network during the process of establishing a session for the terminal. In this way, when the terminal accesses the service network, the service network can authenticate the terminal based on the verification information. The verification information of the terminal in the service network may be, for example, the line ID of the terminal, the media access control (MAC) address of the terminal, the type information of the terminal, the level information of the terminal, and the time used by the terminal to access the service network. User name information, etc. The Line ID may include, for example, a circuit ID or a remote ID. The type information and the level information mentioned above may be specifically determined according to the setting of the communication system, which is not limited in this embodiment of the present application.
本实施例不限定会话管理网元获取终端在服务网络中的验证信息的方式。一种可能的实现方式,会话管理网元的本地数据库中存储有终端在服务网络中的验证信息。因此,会话管理网元可以从本地数据库中获取终端在服务网络中的验证信息。例如,会话管理网元的本地数据库中可以存储有终端的第一标识信息,以及,终端在服务网络中的验证信息的映射关系。因此,会话管理网元可以根据会话建立请求消息中携带的终端的第一标识信息, 在本地数据库中查找该第一标识对应的验证信息(即终端在服务网络中的验证信息)。This embodiment does not limit the manner in which the session management network element obtains the verification information of the terminal in the service network. In a possible implementation manner, the local database of the session management network element stores the verification information of the terminal in the service network. Therefore, the session management network element can obtain the verification information of the terminal in the service network from the local database. For example, the local identifier of the session management network element may store the first identification information of the terminal and the mapping relationship of the verification information of the terminal in the service network. Therefore, the session management network element can search for the verification information corresponding to the first identifier (that is, the verification information of the terminal in the service network) in the local database according to the first identifier information of the terminal carried in the session establishment request message.
在另一种可能的实现方式,会话管理网元可以从其他存储有终端在服务网络中的验证信息的网元处获取该验证信息。这里所说的其他网元例如可以为策略控制网元、或者、数据管理网元、或者、接入管理网元等。例如,会话管理网元可以向其他网元发送查询请求,该查询请求可以包括:终端的第一标识信息。其他网元根据终端的第一标识信息,在自己的本地数据库中查询该终端的第一标识信息对应的验证信息(即终端在服务网络中的验证信息)。然后,其他网元可以向会话管理网元返回查询响应消息,该查询响应消息可以包括:终端在服务网络中的验证信息。In another possible implementation manner, the session management network element may obtain the verification information from other network elements storing the verification information of the terminal in the service network. The other network elements mentioned herein may be, for example, a policy control network element, or a data management network element, or an access management network element. For example, the session management network element may send a query request to other network elements, where the query request may include: first identifier information of the terminal. The other network element searches for the verification information corresponding to the first identification information of the terminal (that is, the verification information of the terminal in the service network) in the local database according to the first identification information of the terminal. Then, the other network element may return a query response message to the session management network element, where the query response message may include: verification information of the terminal in the service network.
则在该实现方式下,上述存储有终端在服务网络中的验证信息的网元,还可以在执行上述方法实施例之前,接收终端在服务网络中的验证信息,并将该验证信息作为终端的信息。具体实现时,服务网络侧的服务网络管理系统网元或者接入网络侧的接入网络管理系统网元可以在用户订阅服务网络的业务时,生成终端在服务网络中的验证信息,并向上述需要存储该验证信息的网元发送订阅请求(subscription request)消息,以通知该网元终端已订阅该服务网络的业务。该订阅请求消息可以包括:终端在服务网络中的验证信息、以及,终端的第一标识信息。需要存储该验证信息的网元接收到该订阅请求消息后,可以将该验证信息作为终端的信息进行存储。以需要存储该验证信息的网元为数据管理网元为例,数据管理网元在接收到该订阅请求后,可以基于终端的第一标识信息,查找本地数据库中所存储的终端的签约信息,并将终端在服务网络中的验证信息添加到该终端的签约信息中。以策略控制网元为例,策略控制网元在接收到该订阅请求后,可以基于终端的第一标识信息,查找本地数据库中所存储的终端的策略信息,并将终端在服务网络中的验证信息添加到该终端的策略信息中。In this implementation manner, the foregoing network element storing the verification information of the terminal in the service network may further receive the verification information of the terminal in the service network before performing the foregoing method embodiment, and use the verification information as the terminal. information. In a specific implementation, the service network management system network element on the service network side or the access network management system network element on the access network side may generate verification information of the terminal in the service network when the user subscribes to the service of the service network, and The network element that needs to store the verification information sends a subscription request message to notify the network element terminal that the service of the service network has been subscribed. The subscription request message may include: authentication information of the terminal in the service network, and first identification information of the terminal. After receiving the subscription request message, the network element that needs to store the verification information may store the verification information as information of the terminal. Taking the network element that needs to store the verification information as a data management network element, after receiving the subscription request, the data management network element may search for the subscription information of the terminal stored in the local database based on the first identification information of the terminal. The verification information of the terminal in the service network is added to the subscription information of the terminal. Taking the policy control network element as an example, after receiving the subscription request, the policy control network element may search for the policy information of the terminal stored in the local database based on the first identification information of the terminal, and verify the terminal in the service network. Information is added to the policy information for the terminal.
可以理解,当由接入网络管理系统网元执行生成终端在服务网络中的验证信息的操作时,上述服务网络管理系统网元可以在用户订阅服务网络的业务时,向接入网络管理系统网元发送订阅请求(subscription request)消息,以通过向接入网络管理系统网元通知终端已订阅该服务网络的业务,触发接入网络管理系统网元执行生成终端在服务网络中的验证信息的操作。相应地,接入网络管理系统网元在生成终端在服务网络中的验证信息之后,还可以向服务网络管理系统网元发送订阅响应(subscription response)消息,该消息中可以包括:终端在服务网络中的验证信息。It can be understood that when the operation of generating the verification information of the terminal in the service network is performed by the access network management system network element, the service network management system network element can access the network management system network when the user subscribes to the service of the service network. The element sends a subscription request message to trigger the access network management system network element to perform the operation of generating the verification information of the terminal in the service network by notifying the access network management system network element that the terminal has subscribed to the service of the service network. . Correspondingly, the access network management system network element may send a subscription response message to the service network management system network element after generating the verification information of the terminal in the service network, where the message may include: the terminal is in the service network. Verification information in .
可以理解,上述所说的订阅请求消息、订阅响应消息仅是一种示意,并不构成对消息的限定。具体实现时,上述订阅请求消息可以由其他任一包括终端在服务网络中的验证信息和终端的第一标识信息的消息替代,上述订阅响应消息可以由其他任一包括终端在服务网络中的验证信息的消息替代,对此不进行限定。后续申请文件均以订阅请求消息、订阅响应消息为例对本申请实施例提供的方法进行说明。It can be understood that the subscription request message and the subscription response message mentioned above are only an indication and do not constitute a limitation on the message. In a specific implementation, the subscription request message may be replaced by any other message including the verification information of the terminal in the service network and the first identification information of the terminal, where the subscription response message may be verified by any other terminal including the service network. The message is replaced by information, which is not limited. The following provides an explanation of the method provided by the embodiment of the present application by using a subscription request message and a subscription response message as an example.
上述所说的服务网络管理系统网元可以是服务网络的业务运营支撑系统(business&operation support system,BOSS)网元,或者服务网络的业务支撑系统(business support system,BSS)网元,或者媒体娱乐中间件(media entertainment middleware,MEM)网元,或者服务网络的用户管理系统(subscriber management system,SMS)网元等。上述所说的接入网络管理系统网元可以是接入网络的网络管理系统(network management system,NMS)网元、或者、接入网络的运营支撑系统(operation support system,OSS)网元、或 者、接入网络的BSS网元、或者、接入网络的统一数据库(unified data repository,UDR)网元、或者、接入网络的接入管理(Access Management Function,AMF)网元、或者、接入网络的会话管理(Session Management Function,SMF)网元、或者、接入网络的策略控制(Policy Control Function,PCF)网元。The network element of the service network management system mentioned above may be a business operation support system (BOSS) network element of the service network, or a business support system (BSS) network element of the service network, or media entertainment. A media entertainment middleware (MEM) network element, or a subscriber management system (SMS) network element of a service network. The network element of the access network management system mentioned above may be a network management system (NMS) network element that accesses the network, or an operation support system (OSS) network element that accesses the network, or The BSS network element of the access network, or the unified data repository (UDR) network element of the access network, or the access management function (AMF) network element of the access network, or access A network management session (SMF) network element or a policy control function (PCF) network element that accesses the network.
在上述两种生成终端在服务网络中的验证信息的方式中,服务网络管理系统网元可以在生成终端在服务网络中的验证信息之后,或者,服务网络管理系统网元通过接收接入网络管理系统网元发送的订阅响应消息,获取到终端在服务网络中的验证信息之后,可以将终端在服务网络中的验证信息发送给服务网络中其他用于存储终端的信息的网元进行统一存储。例如,服务网络管理系统网元为BOSS网元,其他用于存储终端的信息的网元为SMS网元。In the above two manners of generating authentication information of the terminal in the service network, the service network management system network element may be after generating the verification information of the terminal in the service network, or the service network management system network element is managed by receiving the access network. After receiving the authentication information of the terminal in the service network, the system may send the verification information of the terminal in the service network to the network element of the other information in the service network for storing the terminal. For example, the service network management system network element is a BOSS network element, and other network elements for storing information of the terminal are SMS network elements.
进一步地,会话管理网元还可以在为终端建立会话的过程中,根据会话建立请求消息,获取服务网络的标识信息。进而,会话管理网元可以根据服务网络的标识信息,确定为服务网络提供策略的策略控制网元。这样,会话管理网元可以通知策略控制网元终端将从服务网络获取服务。例如,会话管理网元可以向策略控制网元发送通知消息,通知消息携带有服务网络的标识信息和终端的第一标识信息。策略控制网元在接收到该通知消息后,可以确定终端将从服务网络获取服务。相应地,策略控制网元可以将该终端对应的服务网络的策略发送给会话管理网元。其中,这里所说的服务网络的策略例如可以包括:服务网络的数据的服务质量(quality of service,QoS)。Further, the session management network element may further obtain the identification information of the service network according to the session establishment request message in the process of establishing a session for the terminal. Further, the session management network element may determine, according to the identification information of the service network, a policy control network element that provides a policy for the service network. In this way, the session management network element can notify the policy control network element terminal to obtain the service from the service network. For example, the session management network element may send a notification message to the policy control network element, where the notification message carries the identification information of the service network and the first identification information of the terminal. After receiving the notification message, the policy control network element may determine that the terminal will obtain the service from the service network. Correspondingly, the policy control network element may send the policy of the service network corresponding to the terminal to the session management network element. The policy of the service network mentioned herein may include, for example, a quality of service (QoS) of data of the service network.
会话管理网元在为终端完成会话的建立后,可以向终端发送会话建立响应消息,以通知终端会话已建立。至此,完成终端接入服务网络的建立会话部分的流程。After completing the session establishment for the terminal, the session management network element may send a session establishment response message to the terminal to notify the terminal that the session has been established. So far, the process of establishing a session part of the terminal access service network is completed.
一种可能的实现方式,若上述会话建立请求消息包括用于指示终端从服务网络获取IP地址的指示信息,则上述会话管理网元在为终端建立会话的过程中,不再执行为终端分配IP地址的操作。在该实现方式下,会话管理网元向终端所发送的会话建立响应消息不包括会话管理网元分配的地址信息。其中,上述所说的指示信息例如可以包括:动态主机配置协议进行IP地址分配(IP allocation via DHCP,PCO)的指示信息、和/或、会话的以太网类型的标识信息等。A possible implementation manner, if the session establishment request message includes indication information for instructing the terminal to obtain an IP address from the service network, the session management network element does not perform IP allocation for the terminal in the process of establishing a session for the terminal. The operation of the address. In this implementation manner, the session establishment response message sent by the session management network element to the terminal does not include the address information allocated by the session management network element. The indication information mentioned above may include, for example, an indication information of an IP allocation via DHCP (PCO) of the dynamic host configuration protocol, and/or identification information of an Ethernet type of the session.
一种可能的实现方式,若上述会话建立请求消息不包括用于指示终端从服务网络获取IP地址的指示信息,则会话管理网元在为终端建立会话的过程中,还需要为终端分配第一地址(即终端在接入网络中的IP地址)。然后,会话管理网元可以将第一地址信息携带在会话建立响应消息中发送给终端,以通过会话建立响应消息指示会话管理网元已为终端建立会话的同时,指示为终端分配的第一地址信息。In a possible implementation manner, if the session establishment request message does not include the indication information for instructing the terminal to obtain an IP address from the service network, the session management network element needs to allocate the first terminal to the terminal in the process of establishing a session for the terminal. Address (that is, the IP address of the terminal in the access network). Then, the session management network element may send the first address information in the session establishment response message to the terminal, to indicate, by using the session establishment response message, that the session management network element has established a session for the terminal, and indicates the first address allocated for the terminal. information.
终端在接收到上述会话建立响应消息后,即终端在建立会话后,可以开始执行接入服务网络部分的流程,以利用该会话接入服务网络。具体地,终端可以向接入网络发送初始接入消息,以请求接入服务网络。其中,该初始接入消息不包括终端在服务网络中的验证信息。一种可能的实现方式,终端可以在建立会话后,立刻向服务网络发送初始接入消息。终端也可以在建立会话后,在接收到客户端发送的服务网络的数据(例如IGMP消息)时,向服务网络发送初始接入消息。After receiving the session establishment response message, the terminal may start executing the process of accessing the service network part after establishing the session, so as to access the service network by using the session. Specifically, the terminal may send an initial access message to the access network to request access to the service network. The initial access message does not include the verification information of the terminal in the service network. In a possible implementation manner, the terminal may immediately send an initial access message to the serving network after establishing the session. The terminal may also send an initial access message to the service network when receiving the data of the service network (for example, an IGMP message) sent by the client after the session is established.
在终端可以向接入网络发送初始接入消息后,用户面网元可以获取到携带有终端在服务网络中的验证信息的接入消息,并将接入消息发送给服务网络。可以理解,上述所说的 接入消息和上述终端所发送的初始接入消息可以根据具体的服务网络确定。以服务网络为IPTV网络为例,则上述所说的接入消息和初始接入消息可以是DHCPv4消息,例如:前述图2所示的DHCP发现(discover)消息或者DHCP请求(request)消息等。上述接入消息和初始接入消息还可以是DHCPv6消息,例如,DHCP征求(Solicit)消息或者DHCP请求(request)消息等。在本申请实施例中,接入消息与初始接入消息的一个区别在于:接入消息比初始接入消息多了终端在服务网络中的验证信息。After the terminal can send the initial access message to the access network, the user plane network element can obtain an access message carrying the authentication information of the terminal in the service network, and send the access message to the service network. It can be understood that the foregoing access message and the initial access message sent by the terminal may be determined according to a specific service network. For example, the foregoing access message and the initial access message may be DHCPv4 messages, for example, the DHCP discovery (recover) message or the DHCP request (request) message shown in FIG. 2, for example. The foregoing access message and the initial access message may also be DHCPv6 messages, for example, a DHCP Solicit message or a DHCP Request message. In the embodiment of the present application, one difference between the access message and the initial access message is that the access message has more verification information of the terminal in the service network than the initial access message.
下面对用户面网元如何获取上述接入消息进行说明和介绍。图5为本申请实施例提供的另一种接入服务网络的方法的流程图。如图5所示,该方法包括:The following describes and describes how the user plane NE obtains the above access message. FIG. 5 is a flowchart of another method for accessing a service network according to an embodiment of the present disclosure. As shown in FIG. 5, the method includes:
S301、用户面网元获取接入消息,接入消息用于终端接入服务网络,接入消息包括:终端在服务网络中的验证信息。S301: The user plane network element obtains an access message, where the access message is used for the terminal to access the service network, and the access message includes: the terminal verification information in the service network.
S302、用户面网元向服务网络发送接入消息。S302. The user plane network element sends an access message to the serving network.
一种可能的实现方式,会话管理网元可以在为终端建立会话的过程中,将所获取到的终端在服务网络中的验证信息发送给用户面网元。这样,用户面网元在接收到终端所发送的初始接入消息后,可以根据初始接入消息和终端在服务网络中的验证信息,获取携带有终端在服务网络中的验证信息的接入消息。例如,用户面网元可以将终端在服务网络中的验证信息添加在初始服务网络接入消息的可选项中,得到接入消息。In a possible implementation manner, the session management network element may send the obtained verification information of the terminal in the service network to the user plane network element in the process of establishing a session for the terminal. In this way, after receiving the initial access message sent by the terminal, the user plane network element can obtain the access message carrying the verification information of the terminal in the service network according to the initial access message and the verification information of the terminal in the service network. . For example, the user plane network element may add the authentication information of the terminal in the service network to the option of the initial serving network access message to obtain an access message.
以IPTV网络为例,若终端在服务网络中的验证信息为终端的Line ID,则用户面网元可以将终端的Line ID添加在DHCP消息的子选项option82中。若终端在服务网络中的验证信息为终端的MAC地址,则用户面网元可以将终端的MAC地址添加在DHCP消息的子选项option61中。若终端在服务网络中的验证信息为终端的类型信息,则用户面网元可以将终端的类型信息添加在DHCP消息的子选项option60中。若终端在服务网络中的验证信息为终端的等级信息,则用户面网元可以将终端的等级信息添加在DHCP消息的子选项option77中。Taking the IPTV network as an example, if the authentication information of the terminal in the service network is the line ID of the terminal, the user plane network element can add the line ID of the terminal to the sub-option option 82 of the DHCP message. If the authentication information of the terminal in the service network is the MAC address of the terminal, the user plane network element may add the MAC address of the terminal to the sub-option option 61 of the DHCP message. If the authentication information of the terminal in the service network is the type information of the terminal, the user plane network element may add the type information of the terminal to the sub-option option 60 of the DHCP message. If the verification information of the terminal in the service network is the level information of the terminal, the user plane network element may add the level information of the terminal to the sub-option option 77 of the DHCP message.
一种可能的实现方式,会话管理网元可以在接收到终端所发送的初始接入消息后,根据初始接入消息,以及,在为终端建立会话的过程中所获取到的终端在服务网络中的验证信息,获取携带有终端在服务网络中的验证信息的接入消息。然后,会话管理网元可以将该接入消息发送给用户面网元,以使得用户面网元获取到该接入消息。其中,会话管理网元如何根据初始接入消息以及终端在服务网络中的验证信息,获取接入消息,可以参见前述关于用户面网元根据初始接入消息以及终端在服务网络中的验证信息,获取接入消息的描述,对此不再加以赘述。A possible implementation manner, after receiving the initial access message sent by the terminal, the session management network element may be based on the initial access message, and the terminal acquired in the process of establishing a session for the terminal is in the service network. The verification information acquires an access message carrying the authentication information of the terminal in the service network. Then, the session management network element may send the access message to the user plane network element, so that the user plane network element obtains the access message. The session management network element obtains the access message according to the initial access message and the verification information of the terminal in the service network. For the foregoing, the user plane network element according to the initial access message and the terminal verification information in the service network, Obtain the description of the access message, which will not be described in detail.
用户面网元在向服务网络发送接入消息后,可以获取到服务网络对接入消息的反馈消息。然后,用户面网元可以将该反馈消息发送给终端,以协助终端接入该服务网络。这里所说的反馈消息具体可以根据前述所发送的接入消息确定。以服务网络为IPTV网络为例,若接入消息为DHCPv4消息的DHCP发现(discover)消息,则反馈消息可以为DHCPv4消息的DHCP提供消息。若接入消息为DHCPv4消息的DHCP请求(request)消息,则反馈消息可以为DHCPv4消息的DHCP确认(Ack)消息。若接入消息为DHCPv6消息的DHCP Solicit消息,则反馈消息可以为DHCPv6消息的DHCP通告(Advertise)消息。若接入消息为DHCPv6消息的DHCP请求(request)消息,则反馈消息可以为DHCPv6消息的DHCP应答(reply)消息。After sending the access message to the serving network, the user plane network element can obtain the feedback message of the service network to the access message. Then, the user plane network element can send the feedback message to the terminal to assist the terminal to access the service network. The feedback message mentioned here may be specifically determined according to the foregoing access message. Taking the service network as an example for the IPTV network, if the access message is a DHCP discovery message of the DHCPv4 message, the feedback message may provide a message for the DHCP of the DHCPv4 message. If the access message is a DHCP request message of the DHCPv4 message, the feedback message may be a DHCP acknowledgement (Ack) message of the DHCPv4 message. If the access message is a DHCP Solicit message of the DHCPv6 message, the feedback message may be a DHCP advertisement message of the DHCPv6 message. If the access message is a DHCP request message of the DHCPv6 message, the feedback message may be a DHCP reply message of the DHCPv6 message.
用户面网元将该反馈消息发送给终端可以包括下述两种方式,具体地:The user plane network element sends the feedback message to the terminal, which may include the following two methods, specifically:
第一种方式:用户面网元可以基于反馈消息携带的终端的第二标识信息,将反馈消息发送给终端。图6为本申请实施例提供的又一种接入服务网络的方法的流程图。如图6所示,该方法包括:The first mode is that the user plane network element can send the feedback message to the terminal based on the second identifier information of the terminal carried in the feedback message. FIG. 6 is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 6, the method includes:
S401、用户面网元获取服务网络对接入消息的反馈消息,反馈消息包括终端的第二标识信息。S401. The user plane network element obtains a feedback message of the service network to the access message, where the feedback message includes the second identifier information of the terminal.
S402、用户面网元根据终端的第二标识信息,向终端发送反馈消息。S402. The user plane network element sends a feedback message to the terminal according to the second identifier information of the terminal.
在本实施例中,用户面网元中设置有终端的第二标识信息与终端的会话信息的映射关系。其中,这里所说的终端的第二标识信息例如可以为终端的Line ID、终端的Xid等。这里所说的终端的会话信息可以是以下其中一种:终端的会话的标识信息、终端的MAC地址、接入网设备的地址信息、接入网设备的标识信息、终端的隧道端点标识(tunnel endpoint identifier,TEID)、核心网的隧道信息(Core network tunnel information)。通过该映射关系,用户面网元可以确定用于传输该反馈消息的会话是哪一个。In this embodiment, the user plane network element is provided with a mapping relationship between the second identifier information of the terminal and the session information of the terminal. The second identification information of the terminal mentioned herein may be, for example, a Line ID of the terminal, a Xid of the terminal, or the like. The session information of the terminal mentioned herein may be one of the following: the identification information of the session of the terminal, the MAC address of the terminal, the address information of the access network device, the identification information of the access network device, and the tunnel endpoint identifier of the terminal (tunnel) Endpoint identifier (TEID), core network tunnel information. Through the mapping relationship, the user plane network element can determine which session is used to transmit the feedback message.
因此,当用户面网元接收到服务网络对接入消息的反馈消息后,可以根据反馈消息所包括的终端的第二标识信息,以及,终端的第二标识信息与终端的会话信息的映射关系,确定终端的会话信息。然后,用户面网元可以通过终端的会话信息对应的会话,向终端发送反馈消息。需要说明的是,由于上述终端的第二标识信息用于使用户面网元确定传输该反馈消息的会话,因此,上述用户面网元在向终端发送反馈消息之前,可以将反馈消息所携带的终端的第二标识信息删除。此时,用户面网元发送给终端的反馈消息与用户面网元所获取到的反馈消息不同。当然,上述用户面网元也可以不执行删除终端的第二标识信息的操作,具体可以根据通信系统的设置确定。Therefore, after the user plane network element receives the feedback message of the service network to the access message, the mapping relationship between the second identifier information of the terminal included in the feedback message and the second identifier information of the terminal and the session information of the terminal may be used. , determine the session information of the terminal. Then, the user plane network element can send a feedback message to the terminal through the session corresponding to the session information of the terminal. It should be noted that, because the second identifier information of the terminal is used to enable the user plane network element to determine the session for transmitting the feedback message, the user plane network element may carry the feedback message before sending the feedback message to the terminal. The second identification information of the terminal is deleted. At this time, the feedback message sent by the user plane network element to the terminal is different from the feedback message obtained by the user plane network element. Certainly, the user plane network element may not perform the operation of deleting the second identifier information of the terminal, and may be specifically determined according to the setting of the communication system.
本实施例不限定上述用户面网元中如何设置终端的第二标识信息与终端的会话信息的映射关系的方式。一种可能的实现方式,会话管理网元可以获取终端的第二标识信息以及终端的会话信息,并根据所获取的两个信息,自己建立终端的第二标识信息与终端的会话信息的映射关系,并将该映射关系发送给用户面网元。用户面网元在接收到该映射关系后,可以直接存储该映射关系。或者,会话管理网元可以将所获取的终端的第二标识信息以及终端的会话信息发送给用户面网元。用户面网元在接收到该两个信息后,可以建立终端的第二标识信息与终端的会话信息的映射关系。或者,会话管理网元可以在为终端建立会话时,获取终端的会话信息,并将终端的会话信息发送给用户面网元。用户面网元可以在终端接入服务网络时,获取终端所发送的携带有终端的第二标识信息的初始接入消息。然后,用户面网元可以建立终端的第二标识信息与终端的会话信息的映射关系。This embodiment does not limit how to set the mapping relationship between the second identifier information of the terminal and the session information of the terminal in the user plane network element. A possible implementation manner, the session management network element may acquire the second identifier information of the terminal and the session information of the terminal, and establish a mapping relationship between the second identifier information of the terminal and the session information of the terminal according to the obtained two pieces of information. And sending the mapping relationship to the user plane network element. After receiving the mapping relationship, the user plane network element can directly store the mapping relationship. Alternatively, the session management network element may send the acquired second identification information of the terminal and the session information of the terminal to the user plane network element. After receiving the two pieces of information, the user plane network element may establish a mapping relationship between the second identifier information of the terminal and the session information of the terminal. Alternatively, the session management network element may obtain the session information of the terminal when the session is established for the terminal, and send the session information of the terminal to the user plane network element. The user plane network element may obtain an initial access message that is sent by the terminal and carries the second identifier information of the terminal when the terminal accesses the service network. Then, the user plane network element can establish a mapping relationship between the second identifier information of the terminal and the session information of the terminal.
例如,若上述终端的第二标识信息为终端的Xid,则会话管理网元可以通过接收终端发送的携带有该终端的Xid(即终端的第二标识信息)的初始接入消息,获取终端的第二标识信息。若终端的第二标识信息为终端的Line ID,则会话管理网元可以在为终端建立会话的过程中,从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取该终端的Line ID(即终端的第二标识信息)。可以理解,当上述终端的第二标识信息与前述所说的终端在服务网络中的验证信息均为终端的Line ID时,会话管理网元获取终端的第二标识信息,以及,获取终端在服务网络中的验证信息为同一操作。For example, if the second identifier information of the terminal is the Xid of the terminal, the session management network element may obtain the initial access message that is sent by the terminal and carries the Xid of the terminal, that is, the second identifier information of the terminal, to acquire the terminal. Second identification information. If the second identifier information of the terminal is the line ID of the terminal, the session management network element may be in the process of establishing a session for the terminal, from the data management network element, or the policy control network element, or the local database, or access. The management network element obtains the line ID of the terminal (that is, the second identifier information of the terminal). It can be understood that, when the second identifier information of the terminal and the verification information of the terminal in the service network are both the line ID of the terminal, the session management network element acquires the second identifier information of the terminal, and the acquiring terminal is in the service. The authentication information in the network is the same operation.
第二种实现方式:用户面网元可以基于反馈消息携带的终端的会话信息,将反馈消息发送给终端。图7为本申请实施例提供的又一种接入服务网络的方法的流程图。如图7所 示,该方法包括:The second implementation manner is that the user plane network element can send a feedback message to the terminal based on the session information of the terminal carried in the feedback message. FIG. 7 is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in Figure 7, the method includes:
S501、会话管理网元向用户面网元发送服务网络对接入消息的反馈消息,反馈消息包括终端的会话信息。S501. The session management network element sends a feedback message of the service network to the access message to the user plane network element, where the feedback message includes session information of the terminal.
S502、用户面网元根据终端的会话信息对应的会话向终端发送反馈消息。S502: The user plane network element sends a feedback message to the terminal according to the session corresponding to the session information of the terminal.
在本实施例中,会话管理网元中设置有终端的第二标识信息与终端的会话信息的映射关系。因此,会话管理网元在接收到服务网络对接入消息的反馈消息之后,可以根据终端的第二标识信息,以及,终端的第二标识信息与终端的会话信息的映射关系,确定终端的会话信息。然后,会话管理网元可以将该会话信息携带在反馈消息中发送给用户面网元。这样,用户面网元在接收到该反馈消息后,可以直接通过终端的会话信息确定可以传输该反馈消息的会话,并通过该会话向终端发送该反馈消息。其中,会话管理网元如何建立终端的第二标识信息与终端的会话信息的映射关系具体可以参见前述实施例的描述,在此不再赘述。In this embodiment, the mapping relationship between the second identification information of the terminal and the session information of the terminal is set in the session management network element. Therefore, after receiving the feedback message of the service network to the access message, the session management network element may determine the session of the terminal according to the second identification information of the terminal and the mapping relationship between the second identification information of the terminal and the session information of the terminal. information. Then, the session management network element can carry the session information in the feedback message and send it to the user plane network element. In this way, after receiving the feedback message, the user plane network element can directly determine the session that can transmit the feedback message through the session information of the terminal, and send the feedback message to the terminal through the session. For the description of how to configure the mapping between the second identifier information of the terminal and the session information of the terminal, refer to the description of the foregoing embodiment, and details are not described herein.
需要说明的是,由于上述终端的第二标识信息用于使会话管理网元确定传输该反馈消息的会话,因此,上述会话管理网元在向用户面网元发送反馈消息之前,可以将反馈消息所携带的终端的第二标识信息删除。此时,会话管理网元发送给用户面网元的反馈消息与会话管理网元所获取到的反馈消息不同。当然,上述会话管理网元也可以不执行删除终端的第二标识信息的操作,具体可以根据通信系统的设置确定。另外,由于上述反馈消息包括的终端的会话信息,用于使用户面网元确定传输该反馈消息的会话,因此,上述用户面网元在向终端所发送的反馈消息之前,可以将反馈消息所携带的终端的会话信息删除。此时,用户面网元发送给终端的反馈消息与用户面网元所接收到的反馈消息不同。当然,上述用户面网元也可以不执行删除终端的会话信息的操作,具体可以根据通信系统的设置确定。It should be noted that, because the second identifier information of the terminal is used to enable the session management network element to determine the session for transmitting the feedback message, the session management network element may send a feedback message before sending the feedback message to the user plane network element. The second identification information of the carried terminal is deleted. At this time, the feedback message sent by the session management NE to the user plane network element is different from the feedback message obtained by the session management network element. Of course, the foregoing session management network element may not perform the operation of deleting the second identification information of the terminal, and may be specifically determined according to the setting of the communication system. In addition, the session information of the terminal included in the feedback message is used to enable the user plane network element to determine the session for transmitting the feedback message. Therefore, the user plane network element may send a feedback message before sending the feedback message to the terminal. The session information of the carried terminal is deleted. At this time, the feedback message sent by the user plane network element to the terminal is different from the feedback message received by the user plane network element. Certainly, the user plane network element may not perform the operation of deleting the session information of the terminal, and may be determined according to the setting of the communication system.
如前述实施例所说,若终端向会话管理网元所发送的会话建立请求消息不包括用于指示终端从服务网络获取IP地址的指示信息,则会话管理网元在为终端建立会话的过程中,还会为终端分配第一地址(即终端在接入网络中的IP地址),并通知用户面网元会话管理网元为终端分配的第一地址信息。同时,在终端接入服务网络的过程中,服务网络也会为终端分配第二地址(即终端在服务网络中的IP地址),并将该第二地址信息携带在反馈消息中通知给终端。因此,终端在获取到第一地址信息和第二地址信息后,向服务网络发送任一上行消息时,上行消息均会包括第一地址信息和第二地址信息。As described in the foregoing embodiment, if the session establishment request message sent by the terminal to the session management network element does not include indication information for instructing the terminal to obtain an IP address from the service network, the session management network element is in the process of establishing a session for the terminal. The terminal is also assigned a first address (ie, the IP address of the terminal in the access network), and the user is notified of the first address information allocated by the network element session management network element for the terminal. At the same time, in the process of the terminal accessing the service network, the service network also allocates a second address (ie, the IP address of the terminal in the service network) to the terminal, and carries the second address information in the feedback message to notify the terminal. Therefore, when the terminal sends any uplink message to the service network after acquiring the first address information and the second address information, the uplink message includes the first address information and the second address information.
例如,假设终端获取到第一地址和第二地址,则终端发送的上行用户面数据可以包括第一地址信息和第二地址信息。相应地,用户面网元获取的上行用户面数据也会包括第一地址信息以及第二地址信息。由于第一地址信息对于服务网络来说是无效的地址信息,为了确保服务网络可以准确的接收到该上行用户面数据,用户面网元在向服务网络发送上行用户面数据之前,可以先删除上行用户面数据中的第一地址信息(即删除终端在接入网络中的IP地址)。然后,用户面网元可以将删除第一地址信息后的上行用户面数据发送给服务网络。For example, if the terminal acquires the first address and the second address, the uplink user plane data sent by the terminal may include the first address information and the second address information. Correspondingly, the uplink user plane data acquired by the user plane network element also includes the first address information and the second address information. Since the first address information is invalid address information for the service network, in order to ensure that the service network can accurately receive the uplink user plane data, the user plane network element may delete the uplink before sending the uplink user plane data to the service network. The first address information in the user plane data (ie, deleting the IP address of the terminal in the access network). Then, the user plane network element may send the uplink user plane data after deleting the first address information to the service network.
相应地,服务网络在为终端分配第二地址后,向终端发送的下行用户面数据时,下行用户面数据均会包括第二地址信息。例如,假设服务网络已为终端分配第二地址,则后续下行用户面数据会包括第二地址信息。用户面网元获取的下行用户面数据也会包括第二地 址信息。由于第二地址信息对于接入网络来说是无效的地址信息,为了确保可以将下行用户面数据通过接入网络准确的发送给终端,用户面网元在通过接入网络向终端发送该下行用户面数据之前,可以将第一地址信息添加到下行用户面数据中。然后,用户面网元可以使用下行用户面数据中的第一地址信息,将下行用户面数据通过接入网络发送给终端。此时,下行用户面数据包括:第一地址信息和第二地址信息。也就是说,终端所接收到的用户面网元所发送的服务网络发送的下行用户面数据均会包括第一地址信息和第二地址信息。终端在接收到下行用户面数据后,可以再删除下行用户面数据的第一地址信息。通过这种方式,即便接入网络和服务网络都为终端分配了地址,终端仍然可以通过接入网络接入服务网络。在尽可能不修改现有的接入网络建立终端的会话流程的前提下,使终端可以通过接入网络接入服务网络,提高了用户体验。Correspondingly, when the service network sends the second user address to the terminal, the downlink user plane data includes the second address information. For example, if the service network has assigned a second address to the terminal, the subsequent downlink user plane data will include the second address information. The downlink user plane data obtained by the user plane network element also includes the second address information. Since the second address information is invalid address information for the access network, in order to ensure that the downlink user plane data can be accurately sent to the terminal through the access network, the user plane network element sends the downlink user to the terminal through the access network. Before the face data, the first address information can be added to the downlink user plane data. Then, the user plane network element can use the first address information in the downlink user plane data to send the downlink user plane data to the terminal through the access network. At this time, the downlink user plane data includes: first address information and second address information. That is to say, the downlink user plane data sent by the service network sent by the user plane network element received by the terminal may include the first address information and the second address information. After receiving the downlink user plane data, the terminal may delete the first address information of the downlink user plane data. In this way, even if both the access network and the service network assign addresses to the terminals, the terminals can still access the service network through the access network. Under the premise of not modifying the existing access network to establish the session flow of the terminal, the terminal can access the service network through the access network, thereby improving the user experience.
本申请实施例提供的接入服务网络的方法,使得终端可以通过接入网络(例如无线网络)接入服务网络,扩大了服务网络的使用场景,提高了用户体验。The method for accessing the service network provided by the embodiment of the present application enables the terminal to access the service network through the access network (for example, a wireless network), thereby expanding the usage scenario of the service network and improving the user experience.
下面通过具体的示例对本申请实施例提供的接入服务网络的方法的详细流程进行说明和介绍。在本示例中,终端为RG、接入网络为无线网络、服务网络为IPTV网络、会话管理网元为SMF网元、用户面网元为UPF网元、策略控制网元为PCF网元、数据管理网元为UDM网元、接入管理网元为AMF网元、终端在服务网络中的验证信息和终端的第二标识信息为RG的Line ID、终端的会话信息为RG的会话的标识信息、服务网络管理系统网元为IPTV网络侧的BOSS网元、接入网络管理系统网元为无线网络侧的NMS网元、订阅请求消息为IPTV业务订阅请求消息、订阅响应消息为IPTV业务订阅响应消息。The detailed flow of the method for accessing the service network provided by the embodiment of the present application is described and described below through a specific example. In this example, the terminal is the RG, the access network is the wireless network, the service network is the IPTV network, the session management network element is the SMF network element, the user plane network element is the UPF network element, and the policy control network element is the PCF network element, and the data. The management network element is the UDM network element, the access management network element is the AMF network element, the authentication information of the terminal in the service network, and the second identification information of the terminal is the Line ID of the RG, and the session information of the terminal is the identification information of the session of the RG. The service network management system network element is the BOSS network element on the IPTV network side, the access network management system network element is the NMS network element on the wireless network side, the subscription request message is the IPTV service subscription request message, and the subscription response message is the IPTV service subscription response. Message.
一、以RG的Line ID存储在RG的签约信息为例,下面先介绍用户订阅IPTV业务时,将RG的Line ID添加到RG的签约信息的过程,具体包括两种实现方式:For example, the RG's line ID is stored in the RG's subscription information. The following describes the process of adding the line ID of the RG to the RG's subscription information when the user subscribes to the IPTV service.
第一种方式:IPTV网络侧的BOSS网元执行生成终端在服务网络中的验证信息的操作。图8A为本申请实施例提供的又一种接入服务网络的方法的流程图。如图8A所述,该方法包括:The first mode: the BOSS network element on the IPTV network side performs an operation of generating verification information of the terminal in the service network. FIG. 8 is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As described in Figure 8A, the method includes:
S601a、BOSS网元接收IPTV业务订阅请求消息。The S601a and the BOSS network element receive the IPTV service subscription request message.
其中,IPTV业务订阅请求可以包括:RG的第一标识(例如RG的ID、RG的IMSI、RG的GPSI中的至少一个)。The IPTV service subscription request may include: a first identifier of the RG (eg, an ID of the RG, an IMSI of the RG, and at least one of the GPSIs of the RG).
以用户在IPTV运营商营业厅开通IPTV业务为例,上述IPTV业务订阅请求消息例如可以为营业厅的营业员输入至BOSS网元的。For example, the IPTV service subscription request message may be input to the BOSS network element by the salesperson of the business hall.
S602a、BOSS网元向UDM网元发送IPTV业务订阅请求消息。S602a. The BOSS network element sends an IPTV service subscription request message to the UDM network element.
IPTV业务订阅请求消息用于通知UDM网元RG已订阅该IPTV网络的业务。其中,IPTV业务订阅请求消息包括:RG的第一标识和BOSS网元为RG生成Line ID。The IPTV service subscription request message is used to notify the UDM network element that the RG has subscribed to the service of the IPTV network. The IPTV service subscription request message includes: the first identifier of the RG and the BOSS network element generate a Line ID for the RG.
S603a、UDM网元将RG的线路身份标识号添加至RG的签约信息中。The S603a and the UDM network element add the line identity number of the RG to the subscription information of the RG.
UDM网元在接收到该IPTV业务订阅请求消息后,可以基于RG的第一标识信息,查找本地数据库中所存储的RG的签约信息,并将RG的Line ID添加到该RG的签约信息中。After receiving the IPTV service subscription request message, the UDM network element may search for the subscription information of the RG stored in the local database based on the first identification information of the RG, and add the Line ID of the RG to the subscription information of the RG.
S604a、UDM网元向BOSS网元发送IPTV业务订阅响应消息。The S604a and the UDM network element send an IPTV service subscription response message to the BOSS network element.
IPTV业务订阅响应消息用于通知BOSS网元UDM网元已将RG的Line ID添加至RG的签约信息中。The IPTV service subscription response message is used to notify the BOSS network element that the UDM network element has added the Line ID of the RG to the subscription information of the RG.
在执行完上述流程后,RG可以接入IPTV网络,以使与RG连接的STB可以通过RG 获取到IPTV网络提供的数据,并提供给用户。After the foregoing process is performed, the RG can access the IPTV network, so that the STB connected to the RG can obtain the data provided by the IPTV network through the RG and provide the data to the user.
以IPTV网络中其他用于存储RG的信息的网元为SMS网元为例,一种可能的实现方式,在上述S604a之后,该方法还可以包括:For example, the network element of the IPTV network for storing the information of the RG is an SMS network element, and the method may further include: after the foregoing S604a, the method may further include:
S605a、BOSS网元向SMS网元发送IPTV业务订阅通知消息。The S605a and the BOSS network element send an IPTV service subscription notification message to the SMS network element.
IPTV业务订阅通知消息包括:RG的第一标识和BOSS网元为RG生成Line ID。IPTV业务订阅通知消息于通知SMS网元将RG的Line ID添加至RG的信息中。The IPTV service subscription notification message includes: the first identifier of the RG and the BOSS network element generate a Line ID for the RG. The IPTV service subscription notification message is used to notify the SMS network element to add the Line ID of the RG to the information of the RG.
S606a、SMS网元向BOSS网元发送IPTV业务订阅通知响应消息。S606a. The SMS network element sends an IPTV service subscription notification response message to the BOSS network element.
IPTV业务订阅通知响应消息用于通知BOSS网元SMS网元已将RG的Line ID添加至RG的信息中。The IPTV service subscription notification response message is used to notify the BOSS network element that the SMS network element has added the Line ID of the RG to the information of the RG.
可以理解,上述所说的IPTV业务订阅通知消息、IPTV业务订阅通知响应消息仅是一种示意,并不构成对消息的限定。具体实现时,上述IPTV业务订阅通知消息可以由其他任一用于通知网元将RG的Line ID添加至RG的信息中的消息替代,上述IPTV业务订阅通知响应消息可以由其他任一通知已将RG的Line ID添加至RG的信息中的消息替代,对此不进行限定。It can be understood that the IPTV service subscription notification message and the IPTV service subscription notification response message mentioned above are only an indication and do not constitute a limitation of the message. In a specific implementation, the foregoing IPTV service subscription notification message may be replaced by any other message used to notify the network element to add the Line ID of the RG to the information of the RG. The IPTV service subscription notification response message may be notified by any other notification. The line ID of the RG is added to the message in the information of the RG instead, which is not limited.
第二种方式:IPTV网络侧的BOSS网元触发无线网络侧的NMS网元执行生成终端在服务网络中的验证信息的操作。图8B为本申请实施例提供的又一种接入服务网络的方法的流程图。如图8B所述,该方法包括:The second mode: the BOSS network element on the IPTV network side triggers the operation of generating the verification information of the terminal in the service network by the NMS network element on the wireless network side. FIG. 8B is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As described in FIG. 8B, the method includes:
S601b、BOSS网元接收IPTV业务订阅请求消息。The S601b and the BOSS network element receive the IPTV service subscription request message.
其中,IPTV业务订阅请求可以包括:RG的第一标识(例如RG的ID、RG的IMSI、RG的GPSI中的至少一个)。The IPTV service subscription request may include: a first identifier of the RG (eg, an ID of the RG, an IMSI of the RG, and at least one of the GPSIs of the RG).
以用户在IPTV运营商营业厅开通IPTV业务为例,上述IPTV业务订阅请求消息例如可以为营业厅的营业员输入至BOSS网元的。For example, the IPTV service subscription request message may be input to the BOSS network element by the salesperson of the business hall.
S602b、BOSS网元向NMS网元发送IPTV业务订阅请求消息。S602b: The BOSS network element sends an IPTV service subscription request message to the NMS network element.
IPTV业务订阅请求消息用于通知NMS网元RG已订阅该IPTV网络的业务。其中,IPTV业务订阅请求消息包括:RG的第一标识。The IPTV service subscription request message is used to notify the NMS network element that the RG has subscribed to the service of the IPTV network. The IPTV service subscription request message includes: a first identifier of the RG.
S603b、NMS网元生成RG的线路身份标识号。S603b and the NMS network element generate a line identity identification number of the RG.
S604b、NMS网元向UDM网元发送IPTV业务订阅请求消息。S604b: The NMS network element sends an IPTV service subscription request message to the UDM network element.
IPTV业务订阅请求消息用于通知UDM网元RG已订阅该IPTV网络的业务。其中,IPTV业务订阅请求消息包括:RG的第一标识和NMS网元为RG生成Line ID。The IPTV service subscription request message is used to notify the UDM network element that the RG has subscribed to the service of the IPTV network. The IPTV service subscription request message includes: the first identifier of the RG and the NMS network element generate a Line ID for the RG.
S605b、UDM网元将RG的线路身份标识号添加至RG的签约信息中。S605b and the UDM network element add the line identity number of the RG to the subscription information of the RG.
UDM网元在接收到该IPTV业务订阅请求消息后,可以基于RG的第一标识信息,查找本地数据库中所存储的RG的签约信息,并将RG的Line ID添加到该RG的签约信息中。After receiving the IPTV service subscription request message, the UDM network element may search for the subscription information of the RG stored in the local database based on the first identification information of the RG, and add the Line ID of the RG to the subscription information of the RG.
S606b、UDM网元向NMS网元发送IPTV业务订阅响应消息。S606b. The UDM network element sends an IPTV service subscription response message to the NMS network element.
IPTV业务订阅响应消息用于通知NMS网元UDM网元已将RG的Line ID添加至RG的签约信息中。The IPTV service subscription response message is used to notify the NMS network element that the UDM network element has added the Line ID of the RG to the subscription information of the RG.
S607b、NMS网元向BOSS网元发送IPTV业务订阅响应消息。S607b: The NMS network element sends an IPTV service subscription response message to the BOSS network element.
IPTV订阅响应消息包括:RG的第一标识和NMS网元为RG生成Line ID,IPTV订阅响应消息用于向BOSS网元通知RG的Line ID。The IPTV subscription response message includes: the first identifier of the RG and the NMS network element generate a Line ID for the RG, and the IPTV subscription response message is used to notify the BOSS network element of the Line ID of the RG.
在执行完上述流程后,RG可以接入IPTV网络,以使与RG连接的STB可以通过RG 获取到IPTV网络提供的数据,并提供给用户。After the foregoing process is performed, the RG can access the IPTV network, so that the STB connected to the RG can obtain the data provided by the IPTV network through the RG and provide the data to the user.
以IPTV网络中其他用于存储RG的信息的网元为SMS网元为例,一种可能的实现方式,在上述S607b之后,该方法还可以包括:For example, the network element for storing information of the RG in the IPTV network is an SMS network element, and a possible implementation manner. After the foregoing S607b, the method may further include:
S608b、BOSS网元向SMS网元发送IPTV业务订阅通知消息。S608b and the BOSS network element send an IPTV service subscription notification message to the SMS network element.
IPTV业务订阅通知消息包括:RG的第一标识和NMS网元为RG生成Line ID。IPTV业务订阅通知消息于通知SMS网元将RG的Line ID添加至RG的信息中。The IPTV service subscription notification message includes: the first identifier of the RG and the NMS network element generate a Line ID for the RG. The IPTV service subscription notification message is used to notify the SMS network element to add the Line ID of the RG to the information of the RG.
S609b、SMS网元向BOSS网元发送IPTV业务订阅通知响应消息。S609b. The SMS network element sends an IPTV service subscription notification response message to the BOSS network element.
IPTV业务订阅通知响应消息用于通知BOSS网元SMS网元已将RG的Line ID添加至RG的信息中。The IPTV service subscription notification response message is used to notify the BOSS network element that the SMS network element has added the Line ID of the RG to the information of the RG.
二、RG在无线网络中完成注册之后,在无线网络中建立与服务网络进行数据传输的会话的过程。可以理解的是,RG在无线网络中进行注册的流程可以参见现有技术,对此不再赘述。图9为本申请实施例提供的又一种接入服务网络的方法的流程图。如图9所述,该方法包括:2. After the RG completes registration in the wireless network, a process of establishing a session for data transmission with the service network is established in the wireless network. It can be understood that the process of registering the RG in the wireless network can refer to the prior art, and details are not described herein again. FIG. 9 is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in Figure 9, the method includes:
S701、RG向AMF网元发送PDU会话建立请求消息。S701. The RG sends a PDU session establishment request message to the AMF network element.
PDU会话建立请求消息用于请求为RG建立会话。其中,协议数据单元(protocol data unit,PDU)会话建立请求消息包括:RG的第一标识信息(例如RG的ID、RG的IMSI、RG的GPSI)、DNN(在本示例中DNN为IPTV)、用于指示RG从IPTV网络获取IP地址的指示信息。DNN用于指示该PDU会话(session)用于传输IPTV业务的数据。即,用于与IPTV网络进行数据传输。用于指示RG从IPTV网络获取IP地址的指示信息例如可以是PCO的指示信息、和/或、会话的以太网类型的标识信息等。The PDU Session Establishment Request message is used to request to establish a session for the RG. The protocol data unit (PDU) session establishment request message includes: first identification information of the RG (eg, ID of the RG, IMSI of the RG, GPSI of the RG), DNN (in the example, the DNN is the IPTV), The indication information used to instruct the RG to obtain an IP address from the IPTV network. The DNN is used to indicate that the PDU session is used to transmit data of the IPTV service. That is, it is used for data transmission with the IPTV network. The indication information for instructing the RG to acquire an IP address from the IPTV network may be, for example, indication information of the PCO, and/or identification information of an Ethernet type of the session, or the like.
一种可能的实现方式,在上述S701之前,该方法还可以包括:RG确定建立PDU会话。例如,RG可以在完成无线网络的注册流程时,确定建立该PDU会话。或者,RG可以在接收到客户端发送的IPTV业务的数据时,确定建立该PDU会话。In a possible implementation manner, before the foregoing S701, the method may further include: determining, by the RG, that the PDU session is established. For example, the RG may determine to establish the PDU session upon completion of the registration process of the wireless network. Alternatively, the RG may determine to establish the PDU session when receiving data of the IPTV service sent by the client.
S702、AMF网元向SMF网元发送会话管理上下文建立请求消息。S702. The AMF network element sends a session management context establishment request message to the SMF network element.
会话上下文建立请求消息用于请求SMF网元为RG建立会话的上下文。其中,会话上下文建立请求消息包括:RG的第一标识信息(例如RG的ID、RG的IMSI、RG的GPSI、DNN(在本示例中DNN为IPTV)、用于指示RG从IPTV网络获取IP地址的指示信息。The session context setup request message is used to request the SMF network element to establish a context for the session for the RG. The session context setup request message includes: first identifier information of the RG (for example, an ID of the RG, an IMSI of the RG, a GPSI of the RG, a DNN (in the present example, the DNN is an IPTV), and is used to instruct the RG to obtain an IP address from the IPTV network. Instructions.
AMF网元在接收到RG发送的PDU会话建立请求消息后,可以根据PDU会话建立请求消息中携带的DNN,选择支持IPTV业务的SMF网元。然后,AMF网元可以向支持IPTV业务的SMF网元发送会话管理上下文建立请求(createsession management context request)消息。After receiving the PDU session establishment request message sent by the RG, the AMF network element may select the SMF network element supporting the IPTV service according to the DNN carried in the PDU session establishment request message. Then, the AMF network element can send a session management context request message to the SMF network element supporting the IPTV service.
S703、SMF网元与UDM网元进行交互,获取RG的线路身份标识号。S703: The SMF network element interacts with the UDM network element to obtain the line identity identification number of the RG.
SMF网元在接收到AMF网元发送的会话管理上下文建立请求消息后,可以与UDM网元进行交互,获取RG在服务网络中的验证信息,即RG的Line ID。例如,SMF网元可以向UDM网元发送查询请求,该查询请求可以包括:RG的第一标识信息。UDM网元根据RG的第一标识信息,在自己的本地数据库中查询该RG的第一标识信息对应的验证信息(即RG的Line ID)。然后,UDM网元可以向SMF网元返回查询响应消息,该查询响应消息可以包括:RG的Line ID。After receiving the session management context establishment request message sent by the AMF network element, the SMF network element can interact with the UDM network element to obtain the verification information of the RG in the service network, that is, the Line ID of the RG. For example, the SMF network element may send a query request to the UDM network element, where the query request may include: first identification information of the RG. The UDM network element searches the local database for the verification information corresponding to the first identification information of the RG (ie, the Line ID of the RG) according to the first identification information of the RG. Then, the UDM network element may return a query response message to the SMF network element, where the query response message may include: a Line ID of the RG.
需要说明的是,SMF网元还可以根据会话管理上下文建立请求消息所携带的用于指示 RG从IPTV网络获取IP地址的指示信息,获知RG将从IPTV网络获取IP地址。在该场景下,SMF网元不会在为RG建立PDU会话过程中为RG分配IP地址。It should be noted that the SMF network element can also obtain the indication information that the RG obtains the IP address from the IPTV network according to the session management context establishment request message, and learns that the RG obtains the IP address from the IPTV network. In this scenario, the SMF network element does not assign an IP address to the RG during the establishment of the PDU session for the RG.
S704、SMF网元向AMF网元发送会话管理上下文建立响应消息。S704. The SMF network element sends a session management context setup response message to the AMF network element.
会话管理上下文建立响应(createsession management context response)消息,用于指示SMF网元已完成RG的PDU会话上下文的建立。A session management context response message is used to indicate that the SMF network element has completed establishing the PDU session context of the RG.
S705、SMF网元与PCF网元进行交互,获取该会话对应的IPTV网络的策略。S705: The SMF network element interacts with the PCF network element to obtain a policy of the IPTV network corresponding to the session.
SMF网元可以根据会话上下文建立请求消息中携带的DNN,选择支持IPTV业务的PCF网元。一种可能的实现方式,当无线网络中包括多个支持IPTV业务的PCF网元时,SMF网元可以根据该多个PCF网元的负载,选择负载小的PCF网元进行交互。The SMF network element may select a DNN carried in the request message according to the session context, and select a PCF network element that supports the IPTV service. In a possible implementation, when a plurality of PCF network elements supporting the IPTV service are included in the wireless network, the SMF network element may select a PCF network element with a small load to perform interaction according to the load of the multiple PCF network elements.
然后,SMF网元可以与支持IPTV业务的PCF网元进行交互,以建立或调整RG的会话管理策略(session management policy establishment or modification)。例如,SMF网元可以向PCF网元发送策略请求消息,该策略请求消息可以包括:RG的第一标识信息和DNN,以通过该策略请求消息通知PCF网元,当前为RG所建立的PDU会话用于传输IPTV业务。PCF网元在接收到该策略请求消息后,可以将该RG对应的IPTV业务的策略控制和计费(policy control and charging,PCC)规则发送给SMF网元。其中,PCC规则可以包括IPTV业务的策略,例如,IPTV业务的组播数据的QoS策略。Then, the SMF network element can interact with the PCF network element supporting the IPTV service to establish or adjust a session management policy establishment or modification. For example, the SMF network element may send a policy request message to the PCF network element, where the policy request message may include: the first identification information of the RG and the DNN, to notify the PCF network element by the policy request message, and the current PDU session established by the RG Used to transmit IPTV services. After receiving the policy request message, the PCF network element may send the policy control and charging (PCC) rule of the IPTV service corresponding to the RG to the SMF network element. The PCC rule may include a policy of the IPTV service, for example, a QoS policy of the multicast data of the IPTV service.
S706、SMF网元向UPF网元发送会话建立请求消息。S706. The SMF network element sends a session establishment request message to the UPF network element.
会话建立请求消息用于请求建立UPF网元的会话上下文。会话建立请求消息可以包括:RG的Line ID。The session establishment request message is used to request to establish a session context of the UPF network element. The session establishment request message may include: a Line ID of the RG.
SMF网元可以根据会话上下文建立请求消息中携带的DNN,选择支持IPTV业务的UPF网元。一种可能的实现方式,当无线网络中包括多个支持IPTV业务的UPF网元时,SMF网元可以根据该多个UPF网元的负载,选择负载小的UPF网元进行交互。The SMF network element can select the DNN carried in the request message according to the session context, and select the UPF network element that supports the IPTV service. In a possible implementation, when a plurality of UPF network elements supporting the IPTV service are included in the wireless network, the SMF network element may select a small-loaded UPF network element to perform interaction according to the load of the multiple UPF network elements.
S707、UPF网元向SMF网元发送会话建立响应消息。S707. The UPF network element sends a session establishment response message to the SMF network element.
其中,会话建立响应消息用于通知SMF网元已完成会话的建立。The session establishment response message is used to notify the SMF network element that the establishment of the session has been completed.
一种可能的实现方式,UPF网元在接收到该会话建立请求消息后,将RG的Line ID与该PDU会话的标识绑定,建立RG的Line ID与PDU会话的标识的映射关系(即终端的第二标识信息与终端的连接信息的映射关系)。上述映射关系也可以称为RG的N3隧道信息(Tunnel info)。A possible implementation manner, after receiving the session establishment request message, the UPF network element binds the line ID of the RG to the identifier of the PDU session, and establishes a mapping relationship between the line ID of the RG and the identifier of the PDU session (ie, the terminal). The mapping relationship between the second identification information and the connection information of the terminal). The above mapping relationship may also be referred to as N3 tunnel information (Tunnel info) of the RG.
至此完成了RG建立与IPTV网络进行数据传输的PDU会话的过程。本领域技术人员可以理解的是,上述图9示出的建立会话的步骤并不构成对建立会话的流程的限定,可以包括比图示更多或更少的步骤,或者组合某些步骤,或者不同的执行顺序。This completes the process of establishing a PDU session for data transmission between the RG and the IPTV network. It will be understood by those skilled in the art that the step of establishing a session shown in FIG. 9 above does not constitute a limitation on the process of establishing a session, and may include more or fewer steps than the illustration, or some steps may be combined, or Different execution order.
三、RG在无线网络中建立会话之后,通过无线网络接入IPTV网络的过程。在本实施例中,RG通过无线网络与IPTV网络的DHCP服务器(server)进行交互,以接入IPTV网络。其中,无线网络的UPF网元负责中转RG与DHCP服务器之间的消息。图10为本申请实施例提供的又一种接入服务网络的方法的流程图。如图10所述,该方法包括:3. The process of accessing the IPTV network through the wireless network after the RG establishes a session in the wireless network. In this embodiment, the RG interacts with a DHCP server (server) of the IPTV network through the wireless network to access the IPTV network. The UPF network element of the wireless network is responsible for relaying messages between the RG and the DHCP server. FIG. 10 is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As described in FIG. 10, the method includes:
S801、RG向UPF网元发送DHCP发现消息。S801. The RG sends a DHCP discovery message to the UPF network element.
DHCP发现消息用于请求RG接入IPTV网络。此时,DHCP发现消息不包括RG的Line ID。该DHCP发现消息即为上述所说的初始接入消息。The DHCP Discover message is used to request the RG to access the IPTV network. At this time, the DHCP discovery message does not include the Line ID of the RG. The DHCP discovery message is the initial access message mentioned above.
S802、UPF网元在DHCP发现消息中添加选项82子选项。S802. The UPF network element adds an option 82 sub-option to the DHCP discovery message.
如前述图9所示的示例可知,在RG建立会话的过程中,SMF网元将RG的Line ID发送给了UPF网元。因此,UPF网元可以向DHCP服务器发送该DHCP发现消息之前,在该DHCP发现消息中添加选项(Option)82子选项。其中,该Option 82子选项包括RG的Line ID。As shown in the example shown in FIG. 9 , in the process of establishing a session by the RG, the SMF network element sends the Line ID of the RG to the UPF network element. Therefore, before the UPF network element can send the DHCP discovery message to the DHCP server, an Option 82 sub-option is added to the DHCP discovery message. The Option 82 sub-option includes the Line ID of the RG.
一种可能的实现方式,在一些实施例中,上述在DHCP发现消息中添加Option 82子选项的动作可以由SMF网元执行。则上述步骤S802还可以被如下步骤替换:A possible implementation manner, in some embodiments, the foregoing action of adding an Option 82 sub-option in a DHCP discovery message may be performed by an SMF network element. Then the above step S802 can also be replaced by the following steps:
步骤A:UPF网元向SMF网元发送DHCP发现消息。Step A: The UPF network element sends a DHCP discovery message to the SMF network element.
步骤B:SMF网元在DHCP发现消息中添加Option 82子选项。Step B: The SMF network element adds an Option 82 sub-option to the DHCP discovery message.
步骤C:SMF网元向UPF网元发送添加Option 82子选项的DHCP发现消息。Step C: The SMF network element sends a DHCP discovery message with the Option 82 sub-option to the UPF network element.
S803、UPF网元向DHCP服务器发送添加选项82子选项的DHCP发现消息。S803. The UPF network element sends a DHCP discovery message that adds an option 82 sub-option to the DHCP server.
此时,DHCP发现消息即为上述所说的接入消息。At this time, the DHCP discovery message is the above-mentioned access message.
S804、DHCP服务器与IPTV网络的鉴权服务器进行交互,以通过RG的线路身份标识号对RG进行认证。S804. The DHCP server interacts with an authentication server of the IPTV network to authenticate the RG by using a line identity identifier of the RG.
例如,DHCP服务器可以向鉴权服务器发送认证请求消息,所述认证消息包括:RG的Line ID。鉴权服务器在接收到该认证请求消息后,可以根据认证请求消息携带的RG的Line ID,查询其本地数据库。当该RG的Line ID存在于本地数据库时,说明该RG可以使用IPTV网络的服务,即RG认证通过。在该场景下,鉴权服务器可以向DHCP服务器发送认证通过消息。该认证通过消息用于指示该RG认证通过。在RG认证通过时,DHCP服务器可以进一步执行后续步骤S805。For example, the DHCP server may send an authentication request message to the authentication server, where the authentication message includes: a Line ID of the RG. After receiving the authentication request message, the authentication server may query the local database according to the Line ID of the RG carried in the authentication request message. When the Line ID of the RG exists in the local database, it indicates that the RG can use the service of the IPTV network, that is, the RG authentication. In this scenario, the authentication server can send an authentication pass message to the DHCP server. The authentication pass message is used to indicate that the RG authentication is passed. When the RG authentication is passed, the DHCP server may further perform the subsequent step S805.
若RG认证失败,鉴权服务器可以向DHCP服务器发送认证失败消息。该认证失败消息用于指示该RG认证失败。在RG认证失败时,DHCP服务器可以向RG发送用于指示RG认证失败的DHCP消息。RG在接收到该DHCP消息后,可以重新发起接入流程。即,重新执行步骤S801。此流程未在图10中示出。If the RG authentication fails, the authentication server may send an authentication failure message to the DHCP server. The authentication failure message is used to indicate that the RG authentication fails. When the RG authentication fails, the DHCP server may send a DHCP message to the RG indicating that the RG authentication failed. After receiving the DHCP message, the RG can re-initiate the access procedure. That is, step S801 is re-executed. This flow is not shown in FIG.
S805、DHCP服务器向UPF网元发送DHCP提供消息。S805. The DHCP server sends a DHCP offer message to the UPF network element.
DHCP提供消息用于通知RG认证通过,并指示DHCP服务器为RG分配的IP地址。即RG在IPTV网络中的IP地址。此时,DHCP提供消息即为上述所说的反馈消息。其中,DHCP提供消息包括:为RG分配的IP地址和子选项Option 82(包括RG的Line ID)。The DHCP providing message is used to notify the RG of the authentication and pass the IP address assigned by the DHCP server to the RG. That is, the IP address of the RG in the IPTV network. At this time, the DHCP providing message is the above-mentioned feedback message. The DHCP providing message includes an IP address assigned to the RG and a sub-option Option 82 (including the Line ID of the RG).
S806、UPF网元根据DHCP提供消息中携带的RG的线路身份标识号,确定RG的会话的标识。S806. The UPF network element determines the identifier of the session of the RG according to the line identity identification number of the RG carried in the DHCP-provided message.
由于DHCP服务器所发送的DHCP消息的目的IP地址并非是RG的IP地址,所以,UPF网元无法根据DHCP消息的目的IP地址判断到底使用哪个会话,向RG传输该DHCP提供消息。因此,若UPF网元在RG建立会话的过程中建立了RG的Line ID与PDU会话的标识的映射关系(即步骤S607),则UPF网元可以根据DHCP提供消息中的RG的Line ID,确定RG的PDU会话的标识。Because the destination IP address of the DHCP message sent by the DHCP server is not the IP address of the RG, the UPF network element cannot determine which session to use according to the destination IP address of the DHCP message, and transmits the DHCP provision message to the RG. Therefore, if the UPF network element establishes a mapping relationship between the line ID of the RG and the identifier of the PDU session in the process of establishing the session by the RG (ie, step S607), the UPF network element may determine according to the Line ID of the RG in the DHCP providing message. ID of the RG PDU session.
一种可能的实现方式,在一些实施例中,若上述SMF网元设置有RG的Line ID与PDU会话的标识的映射关系,则上述确定RG的会话的标识的动作可以由SMF网元执行。则上述步骤S805还可以被如下步骤替换:DHCP服务器向SMF网元发送DHCP提供消息。A possible implementation manner, in some embodiments, if the SMF network element is configured with a mapping relationship between the line ID of the RG and the identifier of the PDU session, the action of determining the identifier of the session of the RG may be performed by the SMF network element. Then, the above step S805 can also be replaced by the following steps: the DHCP server sends a DHCP offer message to the SMF network element.
上述步骤S806还可以被如下步骤替换:The above step S806 can also be replaced by the following steps:
步骤D:SMF网元根据DHCP提供消息中携带的RG的Line ID,确定RG的会话的 标识。Step D: The SMF network element determines the identity of the session of the RG according to the Line ID of the RG carried in the DHCP-provided message.
步骤E:SMF网元在DHCP提供消息中添加RG的会话的标识。Step E: The SMF network element adds the identifier of the RG session to the DHCP offer message.
步骤F:SMF网元向UPF网元发送添加RG的会话的标识的DHCP提供消息。Step F: The SMF network element sends a DHCP offer message to the UPF network element to identify the identity of the RG session.
S807、UPF网元向RG发送DHCP提供消息。S807. The UPF network element sends a DHCP offer message to the RG.
其中,DHCP提供消息包括:为RG分配的IP地址。The DHCP providing message includes: an IP address allocated for the RG.
UPF网元在获取RG的PDU会话的标识后,可以通过该标识对应的PDU会话,将DHCP提供消息发送给RG。此时,发送给RG的DHCP提供消息可以不包括子选项Option 82。After obtaining the identifier of the RG PDU session, the UPF network element may send a DHCP providing message to the RG through the PDU session corresponding to the identifier. At this time, the DHCP offer message sent to the RG may not include the sub-option Option 82.
S808、RG向UPF发送DHCP请求消息。S808. The RG sends a DHCP request message to the UPF.
此时,DHCP请求消息不包括RG的Line ID。该DHCP请求消息即为上述所说的初始接入消息。该DHCP请求消息用于询问DHCP服务器所分配IP地址是否可用。此流程用于避免DHCP服务器将同一IP地址分配给两个RG使用,导致RG无法使用该IP地址接入IPTV网络的情况。At this time, the DHCP request message does not include the Line ID of the RG. The DHCP request message is the initial access message mentioned above. The DHCP request message is used to query whether the IP address assigned by the DHCP server is available. This process is used to prevent the DHCP server from assigning the same IP address to the two RGs, which prevents the RG from using the IP address to access the IPTV network.
S809、UPF网元在DHCP请求消息中添加选项82子选项。S809. The UPF network element adds an option 82 sub-option to the DHCP request message.
一种可能的实现方式,在一些实施例中,上述在DHCP请求消息中添加Option 82子选项的动作可以由SMF网元执行。则上述步骤S809还可以被如下步骤替换:As a possible implementation, in some embodiments, the foregoing action of adding an Option 82 sub-option in the DHCP request message may be performed by the SMF network element. Then the above step S809 can also be replaced by the following steps:
步骤G:UPF网元向SMF网元发送DHCP请求消息。Step G: The UPF network element sends a DHCP request message to the SMF network element.
步骤H:SMF网元在DHCP请求消息中添加Option 82子选项。Step H: The SMF network element adds an Option 82 sub-option to the DHCP request message.
步骤I:SMF网元向UPF网元发送添加Option 82子选项的DHCP请求消息。Step I: The SMF network element sends a DHCP request message with the Option 82 sub-option to the UPF network element.
S810、UPF网元向DHCP服务器发送添加选项82子选项的DHCP请求消息。S810. The UPF network element sends a DHCP request message that adds an option 82 sub-option to the DHCP server.
此时,DHCP请求消息即为上述所说的接入消息。At this time, the DHCP request message is the above-mentioned access message.
S811、DHCP服务器向UPF网元发送DHCP确认消息。S811. The DHCP server sends a DHCP acknowledgement message to the UPF network element.
该DHCP确认消息用于通知RG所分配的IP地址可用。此时,DHCP确认消息即为上述所说的反馈消息。其中,DHCP确认消息包括:为RG分配的IP地址和子选项Option 82(包括RG的Line ID)。The DHCP acknowledgement message is used to notify the RG that the assigned IP address is available. At this time, the DHCP confirmation message is the above-mentioned feedback message. The DHCP acknowledgement message includes an IP address assigned to the RG and a sub-option Option 82 (including the Line ID of the RG).
S812、UPF网元根据DHCP确认消息中携带的RG的线路身份标识号,确定RG的会话的标识。S812: The UPF network element determines the identifier of the session of the RG according to the line identity identification number of the RG carried in the DHCP acknowledgement message.
一种可能的实现方式,在一些实施例中,若上述SMF网元设置有RG的Line ID与PDU会话的标识的映射关系,则上述确定RG的会话的标识的动作可以由SMF网元执行。则上述步骤S811还可以被如下步骤替换:DHCP服务器向SMF网元发送DHCP确认消息。A possible implementation manner, in some embodiments, if the SMF network element is configured with a mapping relationship between the line ID of the RG and the identifier of the PDU session, the action of determining the identifier of the session of the RG may be performed by the SMF network element. Then, the above step S811 can also be replaced by the following steps: the DHCP server sends a DHCP confirmation message to the SMF network element.
上述步骤S812还可以被如下步骤替换:The above step S812 can also be replaced by the following steps:
步骤J:SMF网元根据DHCP确认消息中携带的RG的Line ID,确定RG的会话的标识。Step J: The SMF network element determines the identifier of the session of the RG according to the Line ID of the RG carried in the DHCP acknowledgement message.
步骤K:SMF网元在DHCP确认消息中添加RG的会话的标识。Step K: The SMF network element adds the identifier of the session of the RG in the DHCP acknowledgement message.
步骤L:SMF网元向UPF网元发送添加RG的会话的标识的DHCP确认消息。Step L: The SMF network element sends a DHCP confirmation message indicating the identity of the RG-added session to the UPF network element.
S813、UPF网元向RG发送DHCP通知消息。S813. The UPF network element sends a DHCP notification message to the RG.
其中,DHCP通知消息包括:为RG分配的IP地址。The DHCP notification message includes an IP address assigned to the RG.
S814、SMF网元执行会话管理策略调整流程。S814. The SMF network element performs a session management policy adjustment process.
SMF网元在通过DHCP服务器所发送的DHCP提供消息获知DHCP服务器为RG分配的IP地址后,可以向PCF网元发起会话管理策略调整(session management policy  modification)流程,以通知PCF网元RG在IPTV网络中的IP地址,并从PCF网元处获取更新的PCC规则(例如QoS规则)。然后,SMF网元可以以向UPF网元和RG更新从PCF网元获取的QoS规则。After obtaining the IP address assigned by the DHCP server to the RG, the SMF network element can initiate a session management policy modification process to the PCF network element to notify the PCF network element RG in the IPTV. The IP address in the network and the updated PCC rules (such as QoS rules) are obtained from the PCF network element. The SMF network element can then update the QoS rules obtained from the PCF network element to the UPF network element and the RG.
至此完成了RG通过无线网络接入IPTV网络的过程。然后,RG可以向STB配置RG在IPTV网络中的地址,并执行网络地址转换(network address translation,NAT),以实现内网地址和外网地址的转化。然后,与RG连接的STB可以通过RG获取到IPTV网络提供的数据,并提供给用户。本领域技术人员可以理解的是,上述图10示出的接入IPTV网络的步骤并不构成对接入IPTV网络的流程的限定,可以包括比图示更多或更少的步骤,或者组合某些步骤,或者不同的执行顺序。This completes the process of RG accessing the IPTV network through the wireless network. Then, the RG can configure the address of the RG in the IPTV network to the STB, and perform network address translation (NAT) to implement conversion of the intranet address and the external network address. Then, the STB connected to the RG can acquire the data provided by the IPTV network through the RG and provide it to the user. It can be understood by those skilled in the art that the step of accessing the IPTV network shown in FIG. 10 does not constitute a limitation on the process of accessing the IPTV network, and may include more or less steps than the illustration, or a combination of Some steps, or different execution orders.
需要说明的是,上述图9和图10以RG所发送的会话建立请求消息包括用于指示RG从IPTV网络获取IP地址的指示信息为例,对RG如何通过无线网络接入IPTV网络进行了说明和介绍。也就是说,在上述为RG建立会话的过程中,SMF网元不会为RG分配无线网络中的IP地址。It should be noted that the session establishment request message sent by the RG in FIG. 9 and FIG. 10 includes an indication information for instructing the RG to obtain an IP address from the IPTV network as an example, and how the RG accesses the IPTV network through the wireless network. And introduction. That is to say, in the above process of establishing a session for the RG, the SMF network element does not allocate an IP address in the wireless network to the RG.
需要说明的是,若上述RG所发送的会话建立请求消息不包括:用于指示RG从IPTV网络获取IP地址的指示信息,则在上述为RG建立会话的过程中,SMF网元需要为RG分配无线网络中的IP地址。以5G通信系统为例,SMF网元为RG分配无线网络中的IP地址可以称为5GC IP。其中,SMF网元如何为RG分配无线网络中的IP地址,可以参见现有技术SMF网元为终端分配无线网络中的IP地址的操作,对此不再加以赘述。It should be noted that, if the session establishment request message sent by the RG does not include: indication information for instructing the RG to obtain an IP address from the IPTV network, the SMF network element needs to be allocated for the RG in the process of establishing a session for the RG. IP address in the wireless network. Taking the 5G communication system as an example, the SMF network element assigning an IP address in the wireless network to the RG may be referred to as 5GC IP. The SMF network element allocates an IP address in the wireless network to the RG. For example, the operation of the SMF network element to allocate an IP address in the wireless network to the terminal is not described herein.
则在该场景下,对于RG与UPF网元之间的每个上行消息(例如DHCP发现消息、DHCP请求消息),由于需要通过5GC IP传输这些消息(即将上行消息覆盖在5GC IP上),因此,RG会在这些上行消息中携带有5GC IP。相应地,UPF网元在接收到这些上行消息后,会将这些上消息中携带的5GC IP删除(即删除5GC IP层的头),并将删除5GC IP的上行消息发送给IPTV网络的DHCP服务器。例如,UPF网元可以根据RG的5GC IP与Line ID的映射关系,确定出上行消息中所携带的5GC IP,并将该5GC IP从上行消息中删除。或者,上述5GC IP位于上行消息的预设字段,上述UPF网元在接收到上述上行消息后,可以将该字段直接删除,以删除5GC IP。相应地,对于RG与UPF网元之间的每个下行消息(例如DHCP提供消息、DHCP通知消息),由于需要通过5GC IP传输这些消息(即将下行消息覆盖在5GC IP上),因此,UPF网元会在这些下行消息中携带有5GC IP。相应地,RG在接收到这些下行消息后,会将这些下消息中携带的5GC IP删除(即删除5GC IP层的头)。例如,UPF网元可以根据RG的5GC IP与Line ID的映射关系,确定出RG的5GC IP,并将该5GC IP添加到下行消息中。通过这种方式,即便无线网络和IPTV网络都为RG分配了IP地址,RG仍然可以通过无线网络接入IPTV网络,并获取IPTV网络的数据。在尽可能不修改现有的无线网络建立会话流程的前提下,使RG可以通过无线网络接入IPTV网络,提高了用户体验。In this scenario, for each uplink message between the RG and the UPF network element (for example, a DHCP discovery message, a DHCP request message), since the messages need to be transmitted through the 5GC IP (that is, the uplink message is overlaid on the 5GC IP), The RG will carry 5GC IP in these upstream messages. Correspondingly, after receiving the uplink message, the UPF network element deletes the 5GC IP carried in the upper message (that is, deletes the head of the 5GC IP layer), and sends the uplink message that deletes the 5GC IP to the DHCP server of the IPTV network. . For example, the UPF network element can determine the 5GC IP carried in the uplink message according to the mapping relationship between the 5GC IP and the line ID of the RG, and delete the 5GC IP from the uplink message. Alternatively, the 5GC IP is located in a preset field of the uplink message, and after receiving the uplink message, the UPF network element may directly delete the field to delete the 5GC IP. Correspondingly, for each downlink message between the RG and the UPF network element (for example, a DHCP providing message, a DHCP notification message), since the message needs to be transmitted through the 5GC IP (that is, the downlink message is overlaid on the 5GC IP), the UPF network The meta-communication carries 5GC IP in these downstream messages. Correspondingly, after receiving the downlink messages, the RG deletes the 5GC IP carried in the subsequent messages (that is, deletes the header of the 5GC IP layer). For example, the UPF network element can determine the 5GC IP of the RG according to the mapping relationship between the 5GC IP and the line ID of the RG, and add the 5GC IP to the downlink message. In this way, even if both the wireless network and the IPTV network assign an IP address to the RG, the RG can still access the IPTV network through the wireless network and acquire data of the IPTV network. Under the premise of not modifying the existing wireless network to establish a session flow, the RG can access the IPTV network through the wireless network, thereby improving the user experience.
本申请实施例提供的接入服务网络的方法,使得RG可以通过无线网络接入IPTV网络,扩大了IPTV网络的使用场景。The method for accessing the service network provided by the embodiment of the present application enables the RG to access the IPTV network through the wireless network, thereby expanding the usage scenario of the IPTV network.
一种可能的实现方式,本申请实施例所涉及的服务网络可以提供至少一个组播业务。用户可以为终端订阅至少一个组播业务中的一个或多个组播业务的权限,例如:完全允许(fully allowed)、不允许(not allowed)、允许预览(preview allowed)等权限。因此,上述服务网络侧的服务网络管理系统网元可以在用户为终端订阅服务网络的组播业务时, 生成终端的组播业务权限信息。该组播业务权限信息包括终端对应服务网络提供的至少一个组播业务的权限。可以理解,这里所说的终端可以是STB、或者是集成有STB功能和RG功能的终端。A possible implementation manner, the service network involved in the embodiment of the present application may provide at least one multicast service. The user can subscribe the terminal to the rights of one or more multicast services in at least one multicast service, such as: fully allowed, not allowed, preview allowed, and the like. Therefore, the service network management system network element on the service network side can generate the multicast service authority information of the terminal when the user subscribes to the multicast service of the service network. The multicast service authority information includes the right of the terminal to correspond to at least one multicast service provided by the service network. It can be understood that the terminal mentioned here may be an STB or a terminal integrated with an STB function and an RG function.
在生成终端的组播业务权限信息之后,服务网络管理系统网元可以将终端的组播业务权限信息发送给服务网络中其他用于存储终端的信息的网元进行统一存储。例如,服务网络管理系统网元为BOSS网元,其他用于存储终端的信息的网元为SMS网元。After the multicast service authority information of the terminal is generated, the network element of the service network management system may send the multicast service authority information of the terminal to the network element for storing information of the terminal in the service network for unified storage. For example, the service network management system network element is a BOSS network element, and other network elements for storing information of the terminal are SMS network elements.
示例性的,以服务网络可以提供3个组播业务为例,分别为组播业务1、组播业务2和组播业务3。用户订阅使用终端接入服务网络时,组播业务1的权限是完全允许、组播业务2的权限为不允许,组播业务3的权限为允许预览。则终端的组播业务权限信息可以如下述表1所示:Illustratively, the service network can provide three multicast services as an example, namely, multicast service 1, multicast service 2, and multicast service 3. When the user subscribes to the service access network, the rights of the multicast service 1 are completely allowed, the rights of the multicast service 2 are not allowed, and the permission of the multicast service 3 is allowed to be previewed. The multicast service authority information of the terminal may be as shown in Table 1 below:
表1Table 1
终端terminal 组播业务1Multicast service 1 组播业务2Multicast service 2 组播业务3Multicast service 3
终端的标识Terminal identification 完全允许Fully allowed 不允许Not allowed 允许预览Allow preview
可以理解,上述表1所示的组播业务权限仅是一种示意,并不构成对组播业务权限的限定。具体实现时,组播业务的权限具体可以根据服务网络设定的权限确定。It can be understood that the multicast service authority shown in Table 1 above is only an indication and does not constitute a limitation on the multicast service authority. In specific implementation, the rights of the multicast service may be specifically determined according to the rights set by the service network.
其中,上述所说的终端的标识例如可以为下述任一项:终端的ID、终端的IMSI、终端的GPSI、终端的MSISDN、终端的Line ID、终端的MAC地址、终端的类型信息、终端的等级信息、终端接入服务网络时所使用的用户名信息等。The identifier of the terminal may be any one of the following: an ID of the terminal, an IMSI of the terminal, a GPSI of the terminal, an MSISDN of the terminal, a Line ID of the terminal, a MAC address of the terminal, type information of the terminal, and a terminal. The level information, the user name information used when the terminal accesses the service network, and the like.
在本实施例中,在终端通过图3所示的接入网络接入服务网络的场景中,服务网络中其他用于存储终端的信息的网元可以将终端的组播业务权限信息发送给接入网络侧的网元,接入网络侧的网元可以将终端的组播业务权限信息作为终端的信息进行存储。这里所说的接入网络侧的网元例如可以是网络管理网元(例如NMS网元)、数据管理网元(例如UDM网元)、或者、策略控制网元(例如PCF网元)、或者网络开放网元。示例性的,网络开放网元例如可以是网络开放功能(network exposure function,NEF)网元(图3中未示出)。In this embodiment, in a scenario in which the terminal accesses the service network through the access network shown in FIG. 3, other network elements in the service network for storing information of the terminal may send the multicast service authority information of the terminal to the terminal. The network element on the network side can access the network element of the terminal to store the multicast service authority information of the terminal as the terminal information. The network element on the access network side may be, for example, a network management network element (for example, an NMS network element), a data management network element (for example, a UDM network element), or a policy control network element (for example, a PCF network element), or Network open network element. Exemplarily, the network open network element may be, for example, a network exposure function (NEF) network element (not shown in FIG. 3).
以接入网络侧的网元为数据管理网元为例,数据管理网元在接收到终端的组播业务权限信息后,可以基于终端的组播业务权限信息对应的终端的标识信息,查找本地数据库中所存储的终端的签约信息,并将终端的组播业务权限信息添加到该终端的签约信息中。以接入网络侧的网元为例,策略控制网元在接收到终端的组播业务权限信息后,可以基于终端的组播业务权限信息对应的终端的标识信息,查找本地数据库中所存储的终端的策略信息,并将终端的组播业务权限信息添加到该终端的策略信息中。Taking the network element on the access network as the data management network element as an example, after receiving the multicast service authority information of the terminal, the data management network element can search for the locality based on the identification information of the terminal corresponding to the multicast service authority information of the terminal. The subscription information of the terminal stored in the database, and the multicast service authority information of the terminal is added to the subscription information of the terminal. Taking the network element on the access network side as an example, after receiving the multicast service authority information of the terminal, the policy control network element can search for the information stored in the local database based on the identification information of the terminal corresponding to the multicast service authority information of the terminal. The policy information of the terminal is added to the policy information of the terminal.
可以理解,当上述接入网络侧的网元为NMS网元活NEF网元时,接入网络侧的网元在接收到终端的组播业务权限信息后,也可以不执行存储操作,而是将终端的组播业务权限信息发送给接入网络侧其他需要存储该信息的网元进行存储。这里所说的其他需要存储该信息的网元例如可以为数据管理网元(例如UDM网元)、或者、策略控制网元(例如PCF网元)等。It can be understood that, when the network element on the access network side is an NMS network element and a NEF network element, the network element on the access network side may not perform the storage operation after receiving the multicast service authority information of the terminal, but The multicast service permission information of the terminal is sent to other network elements on the access network side that need to store the information for storage. The other network elements that need to store the information herein may be, for example, a data management network element (for example, a UDM network element) or a policy control network element (for example, a PCF network element).
接入网络侧的网元将终端的组播业务权限信息作为终端的信息进行存储后,后续终端通过接入网络接入服务网络使用组播业务时,接入网络可以根据终端的组播业务权限信息对终端的组播业务进行控制。下面基于图3所示的网络的架构,通过一些实施例对接入网 络如何对终端的组播业务进行控制进行详细说明。下面这几个实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。After the network element on the access network stores the multicast service authority information of the terminal as the information of the terminal, when the subsequent terminal accesses the service network through the access network, the access network can use the multicast service permission of the terminal. The information controls the multicast service of the terminal. Based on the architecture of the network shown in FIG. 3, the following describes how the access network controls the multicast service of the terminal in some embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments.
图10A为本申请实施例提供的又一种接入服务网络的方法的流程图。本实施例涉及的是终端在通过接入网络接入服务网络后,接入网络侧的用户面网元(例如:UPF网元)根据终端的组播业务请求消息,对终端的组播业务进行控制的过程。本申请实施例涉及如下网元:会话管理网元(例如SMF网元)、用户面网元(例如:UPF网元)、接入网络侧存储终端的组播业务权限信息的网元(例如:策略控制网元(例如PCF网元)、数据管理网元(例如UDM网元)、网络管理网元(例如NMS网元)、数据管理网元(例如UDM网元)、或者网络开放网元(例如NEF网元))。FIG. 10A is a flowchart of still another method for accessing a service network according to an embodiment of the present application. In this embodiment, after the terminal accesses the service network through the access network, the user plane network element (for example, the UPF network element) accessing the network performs the multicast service of the terminal according to the multicast service request message of the terminal. The process of control. The embodiment of the present invention relates to a network element: a session management network element (for example, an SMF network element), a user plane network element (for example, a UPF network element), and a network element that accesses the multicast service authority information of the network side storage terminal (for example: a policy control network element (such as a PCF network element), a data management network element (such as a UDM network element), a network management network element (such as an NMS network element), a data management network element (such as a UDM network element), or a network open network element ( For example, NEF network element)).
如图10A所示,该方法包括:As shown in FIG. 10A, the method includes:
S901、用户面网元获取组播业务请求消息,组播业务请求消息用于终端请求获取服务网络提供的第一组播业务的数据,组播业务请求消息包括:第一网络连接标识,以及第一组播业务的标识,第一网络连接标识为终端接入服务网络时所使用的网络连接标识,第一组播业务为服务网络提供的至少一个组播业务中的一个。S901: The user plane network element obtains a multicast service request message, where the multicast service request message is used by the terminal to obtain data of the first multicast service provided by the service network, where the multicast service request message includes: a first network connection identifier, and a An identifier of the multicast service, where the first network connection identifier is a network connection identifier used by the terminal to access the service network, and the first multicast service is one of at least one multicast service provided by the service network.
S902、用户面网元根据第一网络连接标识以及第一组播业务的标识确定终端对应第一组播业务的权限。S902: The user plane network element determines, according to the first network connection identifier and the identifier of the first multicast service, the right of the terminal corresponding to the first multicast service.
S903、用户面网元根据终端对应第一组播业务的权限控制向终端发送的第一组播业务的数据的范围。S903. The user plane network element controls, according to the right of the terminal corresponding to the first multicast service, a range of data of the first multicast service that is sent to the terminal.
具体的,在终端通过接入网络接入服务网络后,用户可以触发终端发起请求第一组播业务数据的组播业务请求消息。其中,该组播业务请求消息包括第一网络连接标识,以及第一组播业务的标识。这里所说的第一组播业务的标识例如可以为第一组播业务的ID、或者第一组播业务的组播地址。这里所说的第一网络连接标识例如可以为服务网络分配的地址信息、会话标识,隧道端点标识。Specifically, after the terminal accesses the service network through the access network, the user may trigger the terminal to initiate a multicast service request message requesting the first multicast service data. The multicast service request message includes a first network connection identifier and an identifier of the first multicast service. The identifier of the first multicast service mentioned here may be, for example, an ID of the first multicast service or a multicast address of the first multicast service. The first network connection identifier mentioned here may be, for example, address information, a session identifier, and a tunnel endpoint identifier allocated by the service network.
当终端为STB时,这里所说的服务网络分配的地址信息可以为STB对应的RG在通过接入网络接入服务网络时,服务网络为RG分配的IP地址。这里所说的会话标识为接入网络为STB对应的RG建立的会话的标识。这里所说的隧道端点标识为接入网络为STB对应的RG建立的会话时生成的隧道端点标识。当终端为集成有STB功能和RG功能的终端时,这里所说的服务网络分配的地址信息可以为终端在通过接入网络接入服务网络时,服务网络为终端分配的IP地址。这里所说的会话标识为接入网络为终端建立的会话的标识。这里所说的隧道端点标识为接入网络为终端建立的会话时生成的隧道端点标识。When the terminal is an STB, the address information allocated by the service network mentioned herein may be an IP address allocated by the service network to the RG when the RG corresponding to the STB accesses the service network through the access network. The session identifier mentioned here is the identifier of the session established by the access network for the RG corresponding to the STB. The tunnel endpoint identifier mentioned here is the tunnel endpoint identifier generated when the access network is a session established by the RG corresponding to the STB. When the terminal is a terminal integrated with the STB function and the RG function, the address information allocated by the service network herein may be an IP address allocated by the service network to the terminal when the terminal accesses the service network through the access network. The session identifier mentioned here is an identifier of a session established by the access network for the terminal. The tunnel endpoint identifier mentioned here is the tunnel endpoint identifier generated when the access network is a session established by the terminal.
在本申请实施例中,用户面网元在获取到该终端的组播业务请求消息之后,可以根据第一网络连接标识以及第一组播业务的标识确定终端对应第一组播业务的权限。然后,用户面网元可以根据终端对应第一组播业务的权限控制向终端发送的第一组播业务的数据的范围。示例性的,以表1所示的终端的组播业务权限信息为例,当第一组播业务为表1中的组播业务1时,终端对应第一组播业务的权限为完全允许。在该场景下,当用户面网元接收到服务网络广播的组播业务1的数据时,都会转发给终端。当第一组播业务为表1中的组播业务2时,终端对应第一组播业务的权限为不允许。在该场景下,当用户面网元接收到服务网络广播的组播业务2的数据时,不会转发给终端。当第一组播业务为表1中的组播业务3时,终端对应第一组播业务的权限为允许预览。在该场景下,当用户面网元接收到 服务网络广播的组播业务3的预览数据时,会转发给终端,接收到服务网络广播的组播业务3的非预览数据时,不会转发给终端。通过这种方式,可以在终端通过图3所示的接入网络接入服务网络的场景中,使接入网络能够根据终端的组播业务权限信息对终端的组播业务进行控制,扩大了服务网络的使用场景。In the embodiment of the present application, after obtaining the multicast service request message of the terminal, the user plane network element may determine, according to the first network connection identifier and the identifier of the first multicast service, the right of the terminal corresponding to the first multicast service. Then, the user plane network element can control the range of data of the first multicast service that is sent to the terminal according to the right of the terminal corresponding to the first multicast service. For example, the multicast service privilege information of the terminal shown in Table 1 is taken as an example. When the first multicast service is the multicast service 1 in Table 1, the privilege of the terminal corresponding to the first multicast service is completely allowed. In this scenario, when the user plane network element receives the data of the multicast service 1 broadcasted by the service network, it is forwarded to the terminal. When the first multicast service is the multicast service 2 in Table 1, the rights of the terminal corresponding to the first multicast service are not allowed. In this scenario, when the user plane network element receives the data of the multicast service 2 broadcasted by the service network, it is not forwarded to the terminal. When the first multicast service is the multicast service 3 in Table 1, the right of the terminal corresponding to the first multicast service is allowed to be previewed. In this scenario, when the user plane network element receives the preview data of the multicast service 3 broadcasted by the service network, it is forwarded to the terminal, and when it receives the non-preview data of the multicast service 3 broadcasted by the service network, it is not forwarded to the terminal. terminal. In this manner, the access network can control the multicast service of the terminal according to the multicast service authority information of the terminal in the scenario that the terminal accesses the service network through the access network shown in FIG. 3, and expands the service. The usage scenario of the network.
上述用户面网元根据第一网络连接标识以及第一组播业务的标识确定终端对应第一组播业务的权限,可以包括如下两种实现方式:The user plane network element determines the right of the terminal to correspond to the first multicast service according to the first network connection identifier and the identifier of the first multicast service, and may include the following two implementation manners:
第一种方式:用户面网元可以获取终端的第二网络连接标识与组播业务权限信息的对应关系。其中,上述所说的第二网络连接标识为终端接入服务网络时所使用的网络连接标识,例如,服务网络分配的地址信息、会话标识,隧道端点标识。关于第二网络连接标识的描述可以参见上述第一网络连接标识的描述。在本实施例中,第一网络连接标识与第二网络连接标识相同,或者,第一网络连接标识与第二网络标识对应。The first mode: the user plane network element can obtain the correspondence between the second network connection identifier of the terminal and the multicast service authority information. The second network connection identifier mentioned above is a network connection identifier used when the terminal accesses the service network, for example, address information, a session identifier, and a tunnel endpoint identifier allocated by the service network. For a description of the second network connection identifier, refer to the description of the first network connection identifier described above. In this embodiment, the first network connection identifier is the same as the second network connection identifier, or the first network connection identifier corresponds to the second network identifier.
因此,用户面网元可以根据第一网络连接标识、第一组播业务的标识、以及终端的第二网络连接标识与组播业务权限信息的对应关系,确定终端对应第一组播业务的权限。例如,在第一网络连接标识和第二网络连接标识相同时,用户面网元可以在终端的第二网络连接标识与组播业务权限信息的对应关系中,查找与第一网络连接标识和第一组播业务的标识对应的第一组播业务的权限,并将该第一组播业务的权限作为终端对应第一组播业务的权限。Therefore, the user plane network element can determine the right of the terminal corresponding to the first multicast service according to the first network connection identifier, the identifier of the first multicast service, and the correspondence between the second network connection identifier of the terminal and the multicast service authority information. . For example, when the first network connection identifier and the second network connection identifier are the same, the user plane network element may search for the first network connection identifier and the first in the correspondence between the second network connection identifier of the terminal and the multicast service authority information. The privilege of the first multicast service corresponding to the identifier of the multicast service, and the privilege of the first multicast service is used as the privilege of the terminal corresponding to the first multicast service.
例如,在第一网络连接标识与第二网络连接标识对应时,用户面网元可以根据第一网络连接标识、第一组播业务的标识、终端的第二网络连接标识与组播业务权限信息的对应关系,以及,第一网络连接标识与第二网络连接标识的对应关系,确定终端对第一组播业务的权限。示例性的,用户面网元可以先在第一网络连接标识与第二网络连接标识的对应关系中查找与第一网络连接标识对应的第二网络连接标识。然后,用户面网元可以从在终端的第二网络连接标识与组播业务权限信息的对应关系中,查找与第二网络连接标识和第一组播业务的标识对应的第一组播业务的权限,并将该第一组播业务的权限作为终端对应第一组播业务的权限。For example, when the first network connection identifier corresponds to the second network connection identifier, the user plane network element may be configured according to the first network connection identifier, the identifier of the first multicast service, the second network connection identifier of the terminal, and the multicast service authority information. Corresponding relationship, and the correspondence between the first network connection identifier and the second network connection identifier, determining the authority of the terminal to the first multicast service. For example, the user plane network element may first search for the second network connection identifier corresponding to the first network connection identifier in the correspondence between the first network connection identifier and the second network connection identifier. Then, the user plane network element may search for the first multicast service corresponding to the identifier of the second network connection identifier and the identifier of the first multicast service from the correspondence between the second network connection identifier of the terminal and the multicast service authority information. The authority is used, and the authority of the first multicast service is used as the authority of the terminal corresponding to the first multicast service.
本实施例不限定上述用户面网元可以获取终端的第二网络连接标识与组播业务权限信息的对应关系。一种可能的实现方式,用户面网元获取终端的组播业务权限信息以及第二网络连接标识,并根据终端的组播业务权限信息和第二网络连接标识,建立终端的第二网络连接标识与组播业务权限信息的对应关系。具体实现时,用户面网元可以根据终端的标识与终端的组播业务权限信息的对应关系,以及,终端的标识与第二网络连接标识的对应关系,建立终端的组播业务权限信息和第二网络连接标识的对应关系。The embodiment does not limit that the user plane network element can obtain the correspondence between the second network connection identifier of the terminal and the multicast service authority information. In a possible implementation manner, the user plane network element obtains the multicast service authority information of the terminal and the second network connection identifier, and establishes the second network connection identifier of the terminal according to the multicast service authority information of the terminal and the second network connection identifier. Correspondence with multicast service authority information. In a specific implementation, the user plane network element may establish the multicast service authority information of the terminal according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the correspondence between the identifier of the terminal and the second network connection identifier. The correspondence between the two network connection identifiers.
继续以表1所示的示例为例,用户面网元可以根据终端的标识与终端的组播业务权限信息的对应关系,以及,终端的标识与第二网络连接标识的对应关系,将终端的标识与终端的组播业务权限信息的对应关系替换为:终端的组播业务权限信息和第二网络连接标识建立对应关系。终端的组播业务权限信息和第二网络连接标识建立对应关系可以如下述表2所示:Continuing with the example shown in Table 1, the user plane network element can associate the terminal with the corresponding relationship between the identifier of the terminal and the multicast service authority information of the terminal, and the correspondence between the identifier of the terminal and the second network connection identifier. The correspondence between the identifier and the multicast service authority information of the terminal is replaced by: the multicast service authority information of the terminal and the second network connection identifier are associated with each other. The mapping between the multicast service authority information of the terminal and the second network connection identifier may be as shown in Table 2 below:
表2Table 2
终端terminal 组播业务1Multicast service 1 组播业务2Multicast service 2 组播业务3Multicast service 3
第二网络连接标识Second network connection identifier 完全允许Fully allowed 不允许Not allowed 允许预览Allow preview
具体实现时,用户面网元可以通过接收会话管理网元发送的终端的组播业务权限信息,获取组播业务权限信息。示例性的,会话管理网元可以在终端在接入网络执行建立会话流程时,与接入网络侧存储有终端的组播业务权限信息的网元进行交互,获取终端的组播业务权限信息。以接入网络侧存储有终端的组播业务权限信息的网元为策略控制网元(例如PCF网元)、数据管理网元(例如UDM网元)、网络管理网元(例如NMS网元)、数据管理网元(例如UDM网元)、或者网络开放网元(例如NEF网元)为例,会话管理网元可以从数据管理网元、或者、策略控制网元、或者网络开放网元、或者网络管理网元,获取终端的组播业务权限信息。会话管理网元在获取到终端的组播业务权限之后,可以向用户面网元发送该终端的组播业务权限信息,以使用户面网元获取终端的组播业务权限信息。In a specific implementation, the user plane network element can obtain the multicast service authority information by receiving the multicast service authority information of the terminal sent by the session management network element. For example, the session management network element may interact with the network element that stores the multicast service authority information of the terminal on the access network side when the terminal performs the session establishment process on the access network, and obtain the multicast service authority information of the terminal. The network element storing the multicast service authority information of the terminal on the access network side is a policy control network element (for example, a PCF network element), a data management network element (for example, a UDM network element), and a network management network element (for example, an NMS network element). For example, a data management network element (for example, a UDM network element) or a network open network element (for example, an NEF network element), the session management network element may be from a data management network element, or a policy control network element, or a network open network element, Or the network management network element obtains the multicast service authority information of the terminal. After obtaining the multicast service permission of the terminal, the session management network element may send the multicast service authority information of the terminal to the user plane network element, so that the user plane network element obtains the multicast service authority information of the terminal.
用户面网元可以通过终端接入服务网络的流程,获取第二网络连接标识。示例性的,用户面网元可以通过前述实施例所述的终端通过接入网络接入服务网络的流程,获取第二网络连接标识,也可以通过其他终端通过接入网络接入服务网络的流程,获取第二网络连接标识,本实施例对此不进行限定。The user plane network element can obtain the second network connection identifier by using a process in which the terminal accesses the service network. Illustratively, the user plane network element may obtain the second network connection identifier by using the process of the terminal accessing the service network through the access network, or the process of accessing the service network by using the access terminal through the access network. The second network connection identifier is obtained, which is not limited in this embodiment.
另一种可能的实现方式,会话管理网元在采用上述获取到终端的组播业务权限之后,可以进一步获取终端的第二网络连接标识,并根据终端的组播业务权限信息和第二网络连接标识,建立终端的第二网络连接标识与组播业务权限信息的对应关系。在建立终端的第二网络连接标识与组播业务权限信息的对应关系后,将该终端的第二网络连接标识与组播业务权限信息的对应关系发送给用户面网元。这样,用户面网元可以通过接收会话管理网元发送的该终端的第二网络连接标识与组播业务权限信息的对应关系,获取到该终端的第二网络连接标识与组播业务权限信息的对应关系。In another possible implementation manner, after the session management network element obtains the multicast service permission of the terminal, the session management network element may further obtain the second network connection identifier of the terminal, and connect to the second network according to the multicast service authority information of the terminal. The identifier establishes a correspondence between the second network connection identifier of the terminal and the multicast service authority information. After the correspondence between the second network connection identifier of the terminal and the multicast service authority information is established, the correspondence between the second network connection identifier of the terminal and the multicast service authority information is sent to the user plane network element. In this way, the user plane network element can obtain the second network connection identifier and the multicast service authority information of the terminal by receiving the correspondence between the second network connection identifier of the terminal and the multicast service authority information sent by the session management network element. Correspondence relationship.
其中,会话管理网元获取第二网络连接标识的方式,可以参见前述关于用户面网元获取第二网络连接标识的方式,在此不再赘述。会话管理网元根据终端的组播业务权限信息和第二网络连接标识,建立终端的第二网络连接标识与组播业务权限信息的对应关系,可以参见前述关于用户面网元根据终端的组播业务权限信息和第二网络连接标识,建立终端的第二网络连接标识与组播业务权限信息的对应关系的描述,在此不再赘述。For the manner in which the session management network element obtains the second network connection identifier, refer to the foregoing manner for the user plane network element to obtain the second network connection identifier, and details are not described herein. The session management network element establishes a correspondence between the second network connection identifier of the terminal and the multicast service authority information according to the multicast service authority information of the terminal and the second network connection identifier, and may refer to the foregoing about the multicast of the user plane network element according to the terminal. The description of the correspondence between the second network connection identifier of the terminal and the multicast service authority information is not described here.
第二种方式:会话管理网元可以获取终端的第二网络连接标识与组播业务权限信息的对应关系。因此,用户面网元采用如下方式,从会话管理网元获取终端对应第一组播业务的权限。图10B为本申请实施例提供的又一种接入服务网络的方法的流程图。如图10B所示,该方法可以包括:The second mode: the session management network element can obtain the correspondence between the second network connection identifier of the terminal and the multicast service authority information. Therefore, the user plane network element obtains the right of the terminal corresponding to the first multicast service from the session management network element in the following manner. FIG. 10B is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 10B, the method may include:
S1001、用户面网元向会话管理网元发送组播业务请求消息。S1001: The user plane network element sends a multicast service request message to the session management network element.
其中,组播业务请求消息包括:第一网络连接标识,以及第一组播业务的标识。The multicast service request message includes: a first network connection identifier, and an identifier of the first multicast service.
S1002、会话管理网元根据第一网络连接标识、第一组播业务的标识、以及终端的第二网络连接标识与组播业务权限信息的对应关系,确定终端对应第一组播业务的权限。S1002: The session management network element determines, according to the first network connection identifier, the identifier of the first multicast service, and the correspondence between the second network connection identifier of the terminal and the multicast service authority information, the right of the terminal corresponding to the first multicast service.
S1003、会话管理网元向用户面网元发送组播业务响应消息。S1003: The session management network element sends a multicast service response message to the user plane network element.
其中,组播业务响应消息用于指示终端对应第一组播业务的权限。The multicast service response message is used to indicate that the terminal corresponds to the first multicast service.
具体的,在本实施例中,会话管理网元在采用上述获取到终端的组播业务权限之后,可以进一步获取终端的第二网络连接标识,并根据终端的组播业务权限信息和第二网络连接标识,建立终端的第二网络连接标识与组播业务权限信息的对应关系。Specifically, in this embodiment, after the session management network element obtains the multicast service right of the terminal, the second network connection identifier of the terminal may be further obtained, and the multicast service authority information and the second network according to the terminal are obtained. The connection identifier is used to establish a correspondence between the second network connection identifier of the terminal and the multicast service authority information.
当用户面网元获取到终端的组播业务请求消息之后,可以将该组播业务请求消息发送 给会话管理网元。会话管理网元可以根据组播业务请求消息携带的第一网络连接标识、第一组播业务的标识、以及前述会话管理网元建立的终端的第二网络连接标识与组播业务权限信息的对应关系,确定终端对应第一组播业务的权限。关于会话管理网元根据第一网络连接标识、第一组播业务的标识、以及终端的第二网络连接标识与组播业务权限信息的对应关系,确定终端对应第一组播业务的权限的描述,可以参见前述用户面网元根据第一网络连接标识、第一组播业务的标识、以及终端的第二网络连接标识与组播业务权限信息的对应关系,确定终端对应第一组播业务的权限的描述,在此不再赘述。After the user plane network element obtains the multicast service request message of the terminal, the multicast service request message may be sent to the session management network element. The session management network element may correspond to the first network connection identifier carried in the multicast service request message, the identifier of the first multicast service, and the second network connection identifier of the terminal established by the session management network element and the multicast service authority information. Relationship: Determine the authority of the terminal to correspond to the first multicast service. Determining, by the session management network element, a description of the rights of the terminal corresponding to the first multicast service according to the correspondence between the first network connection identifier, the identifier of the first multicast service, and the second network connection identifier of the terminal and the multicast service authority information The user plane network element may determine that the terminal corresponds to the first multicast service according to the first network connection identifier, the identifier of the first multicast service, and the correspondence between the second network connection identifier of the terminal and the multicast service authority information. The description of the permissions is not described here.
本申请实施例提供的接入服务网络的方法,可以在终端通过接入网络(例如无线网络)接入服务网络的场景中,使接入网络能够对终端的组播业务进行控制,扩大了服务网络的使用场景,提高了用户体验。The method for accessing a service network provided by the embodiment of the present application can enable the access network to control the multicast service of the terminal in a scenario in which the terminal accesses the service network through the access network (for example, a wireless network), and expands the service. The use of the network improves the user experience.
下面通过具体的示例对本申请实施例提供的接入服务网络的方法的详细流程进行说明和介绍。在本示例中,终端为STB、接入网络为无线网络、服务网络为IPTV网络、会话管理网元为SMF网元、用户面网元为UPF网元、服务网络管理系统网元为IPTV网络侧的BOSS网元、服务网络中其他用于存储STB的组播业务权限信息的网元为SMS网元、接入网络侧与SMS网元进行交互获取STB的组播业务权限信息的网元为无线网络侧的NMS网元、接入网络侧存储终端的组播业务权限信息的网元为UDM网元。The detailed flow of the method for accessing the service network provided by the embodiment of the present application is described and described below through a specific example. In this example, the terminal is the STB, the access network is the wireless network, the service network is the IPTV network, the session management network element is the SMF network element, the user plane network element is the UPF network element, and the service network management system network element is the IPTV network side. The network elements of the BOSS network element and the other service network in the service network for storing the multicast service authority information of the STB are the network element of the SMS network element, the access network side and the SMS network element, and obtain the multicast service authority information of the STB. The network element of the NMS network element on the network side and the multicast service authority information of the storage terminal on the network side is a UDM network element.
下面先介绍用户订阅IPTV的组播业务时,将STB的组播业务权限信息添加到STB的签约信息的过程,据地,The following describes the process of adding the multicast service permission information of the STB to the STB subscription information when the user subscribes to the IPTV multicast service.
图10C为本申请实施例提供的又一种接入服务网络的方法的流程图。如图10C所示,该方法包括:FIG. 10C is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 10C, the method includes:
S1101、BOSS网元接收IPTV组播业务订阅请求消息。S1101: The BOSS network element receives an IPTV multicast service subscription request message.
其中,IPTV组播业务订阅请求可以包括:STB的标识、STB的组播业务权限信息。STB的组播业务权限信息包括STB对应IPTV网络提供的至少一个组播业务的权限。The IPTV multicast service subscription request may include: an identifier of the STB, and multicast service authority information of the STB. The multicast service authority information of the STB includes the right of the STB to correspond to at least one multicast service provided by the IPTV network.
以用户在IPTV运营商营业厅开通IPTV组播业务为例,上述IPTV组播业务订阅请求消息例如可以为营业厅的营业员输入至BOSS网元的。For example, the IPTV multicast service subscription request message may be input to the BOSS network element by the salesperson of the business hall.
S1102、BOSS网元向SMS网元发送IPTV组播业务订阅通知消息。S1102: The BOSS network element sends an IPTV multicast service subscription notification message to the SMS network element.
IPTV组播业务订阅通知消息包括:STB的标识、STB的组播业务权限信息。IPTV组播业务订阅通知消息于通知SMS网元将STB的组播业务权限信息添加至STB的信息中。The IPTV multicast service subscription notification message includes: an identifier of the STB and a multicast service authority information of the STB. The IPTV multicast service subscription notification message is used to notify the SMS network element to add the multicast service authority information of the STB to the information of the STB.
S1103、SMS网元向BOSS网元发送IPTV组播业务订阅通知响应消息。S1103: The SMS network element sends an IPTV multicast service subscription notification response message to the BOSS network element.
IPTV组播业务订阅通知响应消息用于通知BOSS网元SMS网元已将STB的组播业务权限信息添加至STB的信息中。The IPTV multicast service subscription notification response message is used to notify the BOSS network element that the SMS network element has added the multicast service authority information of the STB to the information of the STB.
S1104、SMS网元向NMS网元发送IPTV组播业务订阅请求消息。S1104: The SMS network element sends an IPTV multicast service subscription request message to the NMS network element.
IPTV组播业务订阅请求消息用于通知STB已订阅该IPTV网络的组播业务。其中,IPTV组播业务订阅请求消息包括:STB的标识和STB的组播业务权限信息。The IPTV multicast service subscription request message is used to notify the STB that the multicast service of the IPTV network has been subscribed. The IPTV multicast service subscription request message includes: an identifier of the STB and multicast service authority information of the STB.
可以理解,S1104与S1103的执行顺序可以不分先后顺序。It can be understood that the execution order of S1104 and S1103 can be in no particular order.
S1105、NMS网元向UDM网元发送IPTV组播业务订阅请求消息。S1105: The NMS network element sends an IPTV multicast service subscription request message to the UDM network element.
S1106、UDM网元将STB的组播业务权限信息添加至STB的签约信息中。The S1106 and the UDM network element add the multicast service authority information of the STB to the subscription information of the STB.
UDM网元在接收到该IPTV组播业务订阅请求消息后,可以基于STB的标识,查找本地数据库中所存储的STB的签约信息,并将STB的组播业务权限信息添加至STB的签约信息 中。After receiving the IPTV multicast service subscription request message, the UDM network element may search for the STB subscription information stored in the local database based on the identifier of the STB, and add the STB multicast service authority information to the STB subscription information. .
S1107、UDM网元向NMS网元发送IPTV组播业务订阅响应消息。S1107: The UDM network element sends an IPTV multicast service subscription response message to the NMS network element.
IPTV组播业务订阅响应消息用于向NMS网元通知,UDM网元已将STB的组播业务权限信息添加至STB的签约信息中。The IPTV multicast service subscription response message is used to notify the NMS network element that the UDM network element has added the multicast service authority information of the STB to the subscription information of the STB.
S1108、NMS网元向SMS网元发送IPTV组播业务订阅响应消息。S1108: The NMS network element sends an IPTV multicast service subscription response message to the SMS network element.
IPTV组播业务订阅响应消息用于向SMS网元通知,无线网络已将STB的组播业务权限信息添加至STB的签约信息中。The IPTV multicast service subscription response message is used to notify the SMS network element that the wireless network has added the STB multicast service authority information to the subscription information of the STB.
在执行完上述流程后,后续STB通过无线网络接入IPTV网络使用组播业务时,无线网络可以根据STB的组播业务权限信息对STB的组播业务进行控制。After the foregoing process is performed, when the subsequent STB accesses the IPTV network through the wireless network and uses the multicast service, the wireless network can control the multicast service of the STB according to the multicast service authority information of the STB.
可以理解,上述所说的IPTV组播业务订阅通知消息、IPTV组播业务订阅通知响应消息仅是一种示意,并不构成对消息的限定。具体实现时,上述IPTV组播业务订阅通知消息可以由其他任一用于通知网元将STB的组播业务权限信息添加至STB的信息中的消息替代,上述IPTV组播业务订阅通知响应消息可以由其他任一通知已将STB的组播业务权限信息添加至STB的信息的消息替代,对此不进行限定。It can be understood that the IPTV multicast service subscription notification message and the IPTV multicast service subscription notification response message mentioned above are only an indication and do not constitute a limitation on the message. In a specific implementation, the IPTV multicast service subscription notification message may be replaced by any other message used to notify the network element to add the STB multicast service authority information to the STB. The IPTV multicast service subscription notification response message may be used. The message substitution information of the STB's multicast service authority information has been added to the STB by any other notification, and is not limited thereto.
STB在通过无线网络接入IPTV网络之后,无线网络侧的UPF网元根据STB的组播业务请求消息,对STB的组播业务进行控制,具体可以包括如下三种实现方式:After the STB accesses the IPTV network through the wireless network, the UPF network element on the wireless network side controls the multicast service of the STB according to the multicast service request message of the STB, which may include the following three implementation manners:
第一种方式:UPF网元建立STB的组播业务权限信息与第二网络连接标识的对应关系,并根据该对应关系,对STB的组播业务进行控制。In the first mode, the UPF network element establishes a correspondence between the multicast service authority information of the STB and the second network connection identifier, and controls the multicast service of the STB according to the corresponding relationship.
图10D为本申请实施例提供的又一种接入服务网络的方法的流程图。如图10D所示,该方法包括:FIG. 10D is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 10D, the method includes:
S1201、SMF网元与UDM网元进行交互获取STB的组播业务权限信息。S1201: The SMF network element interacts with the UDM network element to obtain the multicast service authority information of the STB.
例如,SMF网元可以在STB对应的RG在无线网络执行建立会话流程时,与无线网络侧存储有STB的组播业务权限信息的UDM网元进行交互,获取STB的组播业务权限信息。示例性的,SMF网元可以在于UDM网元进行交互获取STB签约信息时,获取STB的组播业务权限信息。For example, the SMF network element may interact with the UDM network element that stores the multicast service authority information of the STB on the wireless network side when the RG corresponding to the STB performs the session establishment process on the wireless network, and obtain the multicast service authority information of the STB. For example, the SMF network element may obtain the multicast service authority information of the STB when the UDM network element obtains the STB subscription information.
S1202、SMF网元向UPF网元发送STB的组播业务权限信息。S1202: The SMF network element sends the multicast service authority information of the STB to the UPF network element.
S1203、UPF网元获取STB的第二网络连接标识。S1203: The UPF network element acquires a second network connection identifier of the STB.
UPF网元可以在STB对应的RG通过无线网络执行接入IPTV网络的流程,获取STB接入服务网络时所使用的第二网络连接标识。例如,IPTV网络为STB对应的RG分配的IP地址、STB对应的RG在无线网络中建立的会话的会话标识、或者、STB对应的RG在无线网络中建立的会话的隧道端点标识等。The UPF network element may perform a process of accessing the IPTV network through the wireless network in the RG corresponding to the STB, and acquire a second network connection identifier used when the STB accesses the service network. For example, the IP address assigned by the IPTV network to the RG corresponding to the STB, the session identifier of the session established by the RG in the wireless network corresponding to the STB, or the tunnel endpoint identifier of the session established by the RG corresponding to the STB in the wireless network.
S1204、UPF网元根据STB的组播业务权限信息、STB的第二网络连接标识,建立STB的组播业务权限信息与第二网络连接标识的对应关系。S1204. The UPF network element establishes a correspondence between the multicast service authority information of the STB and the second network connection identifier according to the multicast service authority information of the STB and the second network connection identifier of the STB.
例如,UPF网元可以根据STB的标识与STB的组播业务权限信息的对应关系,以及,STB的标识与第二网络连接标识的对应关系,建立STB的组播业务权限信息和第二网络连接标识的对应关系。For example, the UPF network element may establish the STB multicast service authority information and the second network connection according to the correspondence between the identifier of the STB and the multicast service authority information of the STB, and the correspondence between the identifier of the STB and the second network connection identifier. The corresponding relationship of the logo.
S1205、STB向UPF网元发送组播业务请求消息。S1205: The STB sends a multicast service request message to the UPF network element.
其中,组播业务请求消息包括:第一组播业务的标识,以及,第一网络连接标识。例 如,第一网络连接标识例如可以为IPTV网络为STB对应的RG分配的IP地址。The multicast service request message includes: an identifier of the first multicast service, and a first network connection identifier. For example, the first network connection identifier may be, for example, an IP address assigned by the IPTV network to the RG corresponding to the STB.
在一种可能的实现方式中,STB可以通过RG将第一网络连接标识添加到组播业务请求消息中。例如,STB可以向RG发送初始组播业务请求消息,该初始组播业务请求消息包括:第一组播业务的标识,以及,STB在RG侧的内网中的网络连接标识。RG在接收到该初始组播业务请求消息后,将初始组播业务请求消息携带的STB在RG侧的内网中的网络连接标识转换为第一网络连接标识,形成组播业务请求消息,并将该组播业务请求消息发送给UPF网元。In a possible implementation manner, the STB may add the first network connection identifier to the multicast service request message by using the RG. For example, the STB may send an initial multicast service request message to the RG, where the initial multicast service request message includes: an identifier of the first multicast service, and a network connection identifier of the STB in the intranet on the RG side. After receiving the initial multicast service request message, the RG converts the network connection identifier of the STB carried in the initial multicast service request message to the first network connection identifier in the intranet of the RG side to form a multicast service request message, and The multicast service request message is sent to the UPF network element.
S1206、UPF网元根据STB的第一网络连接标识、第一组播业务的标识,以及,STB的组播业务权限信息与第二网络连接标识的对应关系,确定STB对应第一组播业务的权限。S1206: The UPF network element determines, according to the first network connection identifier of the STB, the identifier of the first multicast service, and the correspondence between the multicast service authority information of the STB and the second network connection identifier, determining that the STB corresponds to the first multicast service. Permissions.
在第一网络连接标识和第二网络连接标识相同时,UPF网元可以在STB的第二网络连接标识与组播业务权限信息的对应关系中,查找与第一网络连接标识和第一组播业务的标识对应的第一组播业务的权限,并将该第一组播业务的权限作为STB对应第一组播业务的权限。When the first network connection identifier and the second network connection identifier are the same, the UPF network element may search for the first network connection identifier and the first multicast in the correspondence between the second network connection identifier of the STB and the multicast service authority information. The privilege of the first multicast service corresponding to the identifier of the service, and the privilege of the first multicast service is used as the privilege of the STB corresponding to the first multicast service.
在第一网络连接标识与第二网络连接标识对应时,UPF网元可以根据第一网络连接标识、第一组播业务的标识、STB的第二网络连接标识与组播业务权限信息的对应关系,以及,第一网络连接标识与第二网络连接标识的对应关系,确定STB对第一组播业务的权限。When the first network connection identifier corresponds to the second network connection identifier, the UPF network element may be configured according to the first network connection identifier, the identifier of the first multicast service, the second network connection identifier of the STB, and the multicast service authority information. And the corresponding relationship between the first network connection identifier and the second network connection identifier, and determining the right of the STB to the first multicast service.
S1207、UPF网元根据STB对应第一组播业务的权限,控制向STB发送的第一组播业务的数据的范围。S1207: The UPF network element controls the range of data of the first multicast service that is sent to the STB according to the right of the STB corresponding to the first multicast service.
第二种方式:SMF网元建立STB的组播业务权限信息与第二网络连接标识的对应关系,并根据该对应关系,并发送给UPF网元,以使得UPF网元根据该对应关系,对STB的组播业务进行控制。The second mode: the SMF network element establishes the correspondence between the multicast service authority information of the STB and the second network connection identifier, and sends the information to the UPF network element according to the corresponding relationship, so that the UPF network element is based on the corresponding relationship. The STB's multicast service is controlled.
图10E为本申请实施例提供的又一种接入服务网络的方法的流程图。如图10E所示,该方法包括:FIG. 10E is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 10E, the method includes:
S1301、SMF网元与UDM网元进行交互获取STB的组播业务权限信息。S1301: The SMF network element interacts with the UDM network element to obtain the multicast service authority information of the STB.
S1302、SMF网元获取STB的第二网络连接标识。S1302: The SMF network element acquires a second network connection identifier of the STB.
S1303、SMF网元根据STB的组播业务权限信息、STB的第二网络连接标识,建立STB的组播业务权限信息与第二网络连接标识的对应关系。S1303. The SMF network element establishes a correspondence between the multicast service authority information of the STB and the second network connection identifier according to the multicast service authority information of the STB and the second network connection identifier of the STB.
S1304、SMF网元向UPF网元发送STB的组播业务权限信息与第二网络连接标识的对应关系。S1304: The SMF network element sends the correspondence between the multicast service authority information of the STB and the second network connection identifier to the UPF network element.
S1305、STB向UPF网元发送组播业务请求消息。S1305: The STB sends a multicast service request message to the UPF network element.
其中,组播业务请求消息包括:第一组播业务的标识,以及,第一网络连接标识。例如,第一网络连接标识例如可以为IPTV网络为STB对应的RG分配的IP地址。The multicast service request message includes: an identifier of the first multicast service, and a first network connection identifier. For example, the first network connection identifier may be, for example, an IP address assigned by the IPTV network to the RG corresponding to the STB.
S1306、UPF网元根据STB的第一网络连接标识、第一组播业务的标识,以及,STB的组播业务权限信息与第二网络连接标识的对应关系,确定STB对应第一组播业务的权限。The S1306 and the UPF network element determine, according to the first network connection identifier of the STB, the identifier of the first multicast service, and the correspondence between the multicast service authority information of the STB and the second network connection identifier, that the STB corresponds to the first multicast service. Permissions.
S1307、UPF网元根据STB对应第一组播业务的权限,控制向STB发送的第一组播业务的数据的范围。The S1307 and the UPF network element control the range of the data of the first multicast service that is sent to the STB according to the right of the STB corresponding to the first multicast service.
第三种方式:SMF网元建立STB的组播业务权限信息与第二网络连接标识的对应关系,UPF网元可以从SMF网元获取STB对应第一组播业务的权限,并根据该权限,对STB的组播业务进行控制。The third mode: the SMF network element establishes the correspondence between the multicast service authority information of the STB and the second network connection identifier, and the UPF network element can obtain the right of the STB corresponding to the first multicast service from the SMF network element, and according to the permission, Control the STB multicast service.
图10F为本申请实施例提供的又一种接入服务网络的方法的流程图。如图10F所示,该方法包括:FIG. 10F is a flowchart of still another method for accessing a service network according to an embodiment of the present application. As shown in FIG. 10F, the method includes:
S1401、SMF网元与UDM网元进行交互获取STB的组播业务权限信息。S1401: The SMF network element interacts with the UDM network element to obtain the multicast service authority information of the STB.
S1402、SMF网元获取STB的第二网络连接标识。S1402: The SMF network element acquires a second network connection identifier of the STB.
S1403、SMF网元根据STB的组播业务权限信息、STB的第二网络连接标识,建立STB的组播业务权限信息与第二网络连接标识的对应关系。The S1403 and the SMF network element establish a correspondence between the multicast service authority information of the STB and the second network connection identifier according to the multicast service authority information of the STB and the second network connection identifier of the STB.
S1404、STB向UPF网元发送组播业务请求消息。S1404: The STB sends a multicast service request message to the UPF network element.
其中,组播业务请求消息包括:第一组播业务的标识,以及,第一网络连接标识。例如,第一网络连接标识例如可以为IPTV网络为STB对应的RG分配的IP地址。The multicast service request message includes: an identifier of the first multicast service, and a first network connection identifier. For example, the first network connection identifier may be, for example, an IP address assigned by the IPTV network to the RG corresponding to the STB.
S1405、UPF网元向SMF网元发送组播业务请求消息。S1405: The UPF network element sends a multicast service request message to the SMF network element.
S1406、SMF网元根据STB的第一网络连接标识、第一组播业务的标识,以及,STB的组播业务权限信息与第二网络连接标识的对应关系,确定STB对应第一组播业务的权限。The S1406, the SMF network element determines, according to the first network connection identifier of the STB, the identifier of the first multicast service, and the correspondence between the multicast service authority information of the STB and the second network connection identifier, determining that the STB corresponds to the first multicast service. Permissions.
S1407、SMF网元向UPF网元发送组播业务响应消息。S1407: The SMF network element sends a multicast service response message to the UPF network element.
其中,组播业务响应消息用于指示STB对应第一组播业务的权限。The multicast service response message is used to indicate that the STB corresponds to the rights of the first multicast service.
S1408、UPF网元根据STB对应第一组播业务的权限,控制向STB发送的第一组播业务的数据的范围。The S1408 and the UPF network element control the range of data of the first multicast service that is sent to the STB according to the right of the STB corresponding to the first multicast service.
本申请实施例提供的接入服务网络的方法,可以在STB通过无线网络接入IPTV网络的场景中,使无线网络能够根据STB的组播业务权限信息对STB的组播业务进行控制,扩大了IPTV网络的使用场景,提高了用户体验。The method for accessing the service network provided by the embodiment of the present application can enable the wireless network to control the multicast service of the STB according to the multicast service authority information of the STB in the scenario that the STB accesses the IPTV network through the wireless network, and expands the The usage scenario of the IPTV network improves the user experience.
图11为本申请实施例提供的一种通信装置的结构示意图。本实施例所涉及的通信装置可以为前述所说的用户面网元,也可以为应用于用户面网元的芯片。该通信装置可以用于执行上述方法实施例中用户面网元的动作。如图11所示,该通信装置可以包括:处理单元11和发送单元12。可选的,该通信装置还可以包括:接收单元13。其中,FIG. 11 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application. The communication device according to this embodiment may be the user plane network element mentioned above, or may be a chip applied to the user plane network element. The communication device can be used to perform the action of the user plane network element in the foregoing method embodiment. As shown in FIG. 11, the communication device may include a processing unit 11 and a transmitting unit 12. Optionally, the communication device may further include: a receiving unit 13. among them,
处理单元11,用于获取接入消息,所述接入消息用于终端接入服务网络,所述接入消息包括:所述终端在所述服务网络中的验证信息;The processing unit 11 is configured to acquire an access message, where the access message is used by the terminal to access the service network, where the access message includes: verification information of the terminal in the service network;
发送单元12,用于向所述服务网络发送所述接入消息。The sending unit 12 is configured to send the access message to the serving network.
在一种可能的实现方式中,接收单元13,用于接收会话管理网元发送的所述验证信息以及所述终端发送的初始接入消息;则在该实现方式下,所述处理单元11,具体用于根据所述初始接入消息和所述验证信息,获取所述接入消息。在另一种可能的实现方式中,所述处理单元11,具体用于接收会话管理网元发送的所述接入消息。In a possible implementation, the receiving unit 13 is configured to receive the verification information sent by the session management network element and the initial access message sent by the terminal. In this implementation manner, the processing unit 11 The method is specifically configured to acquire the access message according to the initial access message and the verification information. In another possible implementation, the processing unit 11 is specifically configured to receive the access message sent by the session management network element.
在一种可能的实现方式中,所述处理单元11,还用于获取所述服务网络对所述接入消息的反馈消息,所述反馈消息包括所述终端的标识信息,并根据所述终端的标识信息,控制所述发送单元12向所述终端发送所述反馈消息。例如,所述处理单元11,具体用于根据所述终端的标识信息与所述终端的会话信息的映射关系,确定所述终端的会话信息,并控制所述发送单元12通过所述终端的会话信息对应的会话,向所述终端发送所述反馈消息。In a possible implementation, the processing unit 11 is further configured to obtain a feedback message of the service network to the access message, where the feedback message includes identifier information of the terminal, and according to the terminal The identifier information controls the sending unit 12 to send the feedback message to the terminal. For example, the processing unit 11 is specifically configured to determine session information of the terminal according to a mapping relationship between the identifier information of the terminal and the session information of the terminal, and control the session of the sending unit 12 through the terminal. The session corresponding to the information sends the feedback message to the terminal.
在该实现方式下,接收单元13,用于接收会话管理网元发送的所述终端的标识信息以及所述终端的会话信息;所述处理单元11,还用于建立所述终端的标识信息与所述终端的会话信息的映射关系。或者,所述接收单元13,用于接收所述会话管理网元发送的所述终 端的标识信息与所述终端的会话信息的映射关系。或者,所述接收单元13,用于接收所述会话管理网元发送的所述终端的会话信息;所述处理单元11,还用于获取所述终端发送的初始接入消息,并建立所述终端的标识信息与所述终端的会话信息的映射关系,所述初始接入消息包括所述终端的标识信息。In this implementation, the receiving unit 13 is configured to receive the identifier information of the terminal and the session information of the terminal that are sent by the session management network element, and the processing unit 11 is further configured to establish the identifier information of the terminal. Mapping relationship of session information of the terminal. Or the receiving unit 13 is configured to receive a mapping relationship between the identifier information of the terminal sent by the session management network element and the session information of the terminal. Or the receiving unit 13 is configured to receive the session information of the terminal that is sent by the session management network element, and the processing unit 11 is further configured to acquire an initial access message sent by the terminal, and establish the And a mapping relationship between the identifier information of the terminal and the session information of the terminal, where the initial access message includes the identifier information of the terminal.
在另一种可能的实现方式中,接收单元13,用于接收会话管理网元发送的所述服务网络对所述接入消息的反馈消息,所述反馈消息包括所述终端的会话信息;所述处理单元11,还用于根据所述终端的会话信息对应的会话,控制所述发送单元12向所述终端发送所述反馈消息。In another possible implementation, the receiving unit 13 is configured to receive a feedback message of the service network sent by the session management network element to the access message, where the feedback message includes session information of the terminal; The processing unit 11 is further configured to control, according to the session corresponding to the session information of the terminal, the sending unit 12 to send the feedback message to the terminal.
在一种可能的实现方式中,所述处理单元11获取的接入消息中包括会话管理网元为所述终端分配的第一地址信息以及所述服务网络为所述终端分配的第二地址信息。则在该实现方式下,所述处理单元11,还用于删除所述接入消息中的所述第一地址信息;所述发送单元12,具体用于将删除所述第一地址信息后的接入消息发送给所述服务网络。相应地,所述处理单元11获取的反馈消息中包括所述服务网络为所述终端分配的第二地址信息。则在该实现方式下,所述处理单元11,还用于获取会话管理网元为所述终端分配的第一地址信息,并将所述第一地址信息添加到所述反馈消息中;所述发送单元12,具体用于向所述终端发送所述反馈消息,所述反馈消息包括:所述第一地址信息和所述第二地址信息。In a possible implementation, the access message acquired by the processing unit 11 includes first address information allocated by the session management network element to the terminal, and second address information allocated by the service network to the terminal. . In the implementation manner, the processing unit 11 is further configured to delete the first address information in the access message, and the sending unit 12 is specifically configured to delete the first address information. An access message is sent to the service network. Correspondingly, the feedback message acquired by the processing unit 11 includes second address information allocated by the service network to the terminal. In the implementation manner, the processing unit 11 is further configured to acquire first address information allocated by the session management network element to the terminal, and add the first address information to the feedback message; The sending unit 12 is specifically configured to send the feedback message to the terminal, where the feedback message includes: the first address information and the second address information.
本申请实施例提供的通信装置,可以执行上述方法实施例中用户面网元的动作,其实现原理和技术效果类似,在此不再赘述。The communication device provided by the embodiment of the present application may perform the action of the user plane network element in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
图12为本申请实施例提供的另一种通信装置的结构示意图。本实施例所涉及的通信装置可以为前述所说的会话管理网元,也可以为应用于会话管理网元的芯片。该通信装置可以用于执行上述方法实施例中会话管理网元的动作。如图12所示,该通信装置可以包括:接收单元21、处理单元22和发送单元23。其中,FIG. 12 is a schematic structural diagram of another communication apparatus according to an embodiment of the present application. The communication device according to this embodiment may be the foregoing session management network element, or may be a chip applied to the session management network element. The communication device can be used to perform the actions of the session management network element in the foregoing method embodiment. As shown in FIG. 12, the communication device may include a receiving unit 21, a processing unit 22, and a transmitting unit 23. among them,
接收单元21,用于接收终端发送的会话建立请求消息,所述会话建立请求消息用于请求建立所述终端的会话;The receiving unit 21 is configured to receive a session establishment request message sent by the terminal, where the session establishment request message is used to request to establish a session of the terminal;
处理单元22,用于获取所述终端在服务网络中的验证信息,所述验证消息用于所述终端接入所述服务网络;The processing unit 22 is configured to obtain verification information of the terminal in a service network, where the verification message is used by the terminal to access the service network;
发送单元23,用于向用户面网元发送所述验证信息。The sending unit 23 is configured to send the verification information to the user plane network element.
在一种可能的实现方式中,所述处理单元22,具体用于从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取所述验证信息。在另一种可能的实现方式中,所述接收单元21,还用于接收所述终端发送的初始接入消息;所述处理单元22,还用于根据所述初始接入消息和所述验证信息,获取接入消息,所述接入消息包括:所述验证信息;所述发送单元23,具体用于向所述用户面网元发送所述接入消息。In a possible implementation manner, the processing unit 22 is specifically configured to obtain the verification information from a data management network element, or a policy control network element, or a local database, or an access management network element. In another possible implementation, the receiving unit 21 is further configured to receive an initial access message sent by the terminal, where the processing unit 22 is further configured to perform, according to the initial access message, the verification The information is obtained, and the access message includes: the verification information; the sending unit 23 is specifically configured to send the access message to the user plane network element.
在一种可能的实现方式中,所述处理单元22,还用于根据所述会话建立请求消息,获取所述服务网络的标识信息,并根据所述服务网络的标识信息,确定为所述服务网络提供策略的策略控制网元;所述发送单元23,还用于通知所述策略控制网元所述终端将从所述服务网络获取服务;所述接收单元21,还用于接收所述策略控制网元发送的所述服务网络的策略。In a possible implementation manner, the processing unit 22 is further configured to acquire the identifier information of the service network according to the session establishment request message, and determine the service according to the identifier information of the service network. The network provides a policy control network element of the policy; the sending unit 23 is further configured to notify the policy control network element that the terminal will obtain a service from the service network; and the receiving unit 21 is further configured to receive the policy. Controlling a policy of the service network sent by the network element.
在一种可能的实现方式中,所述处理单元22,还用于获取所述终端的标识信息以及所述终端的会话信息;所述发送单元23,还用于向所述用户面网元发送所述终端的标识信息 以及所述终端的会话信息。或者,所述处理单元22,还用于获取所述终端的会话信息;所述发送单元23,还用于向所述用户面网元发送所述终端的会话信息。在另一种可能的实现方式中,所述处理单元22,还用于获取所述终端的标识信息,并根据所述终端的标识信息与所述终端的会话信息,建立所述终端的标识信息与所述终端的会话信息的映射关系;所述发送单元23,还用于向所述用户面网元发送所述映射关系。例如,所述处理单元22,具体用于从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取所述终端的标识信息。或者,所述处理单元22,具体用于通过所述接收单元21接收所述终端发送的初始接入消息,所述初始接入消息包括:所述终端的标识信息。In a possible implementation, the processing unit 22 is further configured to acquire the identifier information of the terminal and the session information of the terminal, and the sending unit 23 is further configured to send the user plane network element Identification information of the terminal and session information of the terminal. Alternatively, the processing unit 22 is further configured to acquire session information of the terminal, and the sending unit 23 is further configured to send session information of the terminal to the user plane network element. In another possible implementation, the processing unit 22 is further configured to acquire the identifier information of the terminal, and establish identifier information of the terminal according to the identifier information of the terminal and the session information of the terminal. a mapping relationship with the session information of the terminal; the sending unit 23 is further configured to send the mapping relationship to the user plane network element. For example, the processing unit 22 is configured to acquire the identification information of the terminal from a data management network element, or a policy control network element, or a local database, or an access management network element. Or the processing unit 22 is specifically configured to receive, by using the receiving unit 21, an initial access message sent by the terminal, where the initial access message includes: identifier information of the terminal.
在另一种可能的实现方式中,所述接收单元21,还用于接收所述服务网络对所述接入消息的反馈消息,所述反馈消息包括:所述终端的标识信息;所述处理单元22,还用于根据所述终端的标识信息,以及,所述终端的标识信息与所述终端的会话信息的映射关系,确定所述终端的会话信息;所述发送单元23,还用于向所述用户面网元发送所述反馈消息,所述反馈消息包括所述终端的会话信息。In another possible implementation, the receiving unit 21 is further configured to receive a feedback message of the service network to the access message, where the feedback message includes: identifier information of the terminal; The unit 22 is further configured to determine session information of the terminal according to the identifier information of the terminal, and the mapping relationship between the identifier information of the terminal and the session information of the terminal; the sending unit 23 is further configured to: Sending the feedback message to the user plane network element, where the feedback message includes session information of the terminal.
本申请实施例提供的通信装置,可以执行上述方法实施例中会话管理网元的动作,其实现原理和技术效果类似,在此不再赘述。The communication device provided by the embodiment of the present application may perform the action of the session management network element in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
图13为本申请实施例提供的又一种通信装置的结构示意图。本实施例所涉及的通信装置可以为前述所说的终端,也可以为应用于终端的芯片。该通信装置可以用于执行上述方法实施例中终端的动作。如图13所示,该通信装置可以包括:处理单元31和发送单元32。可选的,上述通信装置还可以包括:接收单元33。其中,FIG. 13 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application. The communication device according to the present embodiment may be the aforementioned terminal or a chip applied to the terminal. The communication device can be used to perform the actions of the terminal in the above method embodiment. As shown in FIG. 13, the communication device may include a processing unit 31 and a transmitting unit 32. Optionally, the foregoing communications apparatus may further include: a receiving unit 33. among them,
处理单元31,用于确定建立会话;例如,所述处理单元31,具体用于在接收到客户端发送的所述服务网络的数据时,确定建立所述会话;或者,在完成移动网络的注册流程时,确定建立所述会话。The processing unit 31 is configured to determine to establish a session; for example, the processing unit 31 is configured to determine to establish the session when receiving data of the service network sent by the client; or complete registration of the mobile network At the time of the process, it is determined that the session is established.
发送单元32,用于向会话管理网元发送会话建立请求消息,所述会话建立请求消息用于请求所述会话管理网元建立所述会话。The sending unit 32 is configured to send a session establishment request message to the session management network element, where the session establishment request message is used to request the session management network element to establish the session.
在一种可能的实现方式中,所述发送单元32,还用于在建立所述会话后,向所述服务网络发送初始接入消息,所述初始接入消息用于请求接入所述服务网络。例如,所述发送单元32,具体用于在接收到客户端发送的所述服务网络的数据时,向所述服务网络发送初始接入消息。In a possible implementation, the sending unit 32 is further configured to send an initial access message to the serving network after the session is established, where the initial access message is used to request access to the service. The internet. For example, the sending unit 32 is specifically configured to send an initial access message to the serving network when receiving data of the service network sent by the client.
在一种可能的实现方式中,所述会话建立请求消息包括指示信息,所述指示信息用于指示所述装置从服务网络获取网络协议IP地址。例如,所述指示信息包括:动态主机配置协议进行IP地址分配的指示信息、或者、所述会话的以太网类型的标识信息。In a possible implementation manner, the session establishment request message includes indication information, where the indication information is used to instruct the device to obtain a network protocol IP address from a service network. For example, the indication information includes: indication information of an IP address allocation by a dynamic host configuration protocol, or identifier information of an Ethernet type of the session.
在一种可能的实现方式中,接收单元33,用于接收所述会话管理网元发送的会话建立响应消息,所述会话建立响应消息包括:会话管理网元分配的第一地址信息;所述处理单元31,还用于获取所述服务网络对所述初始接入消息的反馈消息,所述反馈消息包括所述服务网络分配的第二地址信息;所述发送单元32,还用于向所述服务网络发送上行消息,所述上行消息包括:所述第一地址信息和所述第二地址信息;所述接收单元33,还用于接收所述服务网络发送的下行消息,所述下行消息包括:所述第一地址信息和所述第二地址信息;所述处理单元31,还用于删除所述下行消息的第一地址信息。In a possible implementation manner, the receiving unit 33 is configured to receive a session establishment response message sent by the session management network element, where the session establishment response message includes: first address information allocated by the session management network element; The processing unit 31 is further configured to obtain a feedback message of the service network to the initial access message, where the feedback message includes second address information allocated by the service network, and the sending unit 32 is further used to The service network sends an uplink message, where the uplink message includes: the first address information and the second address information; the receiving unit 33 is further configured to receive a downlink message sent by the serving network, the downlink message The first address information and the second address information are included; the processing unit 31 is further configured to delete the first address information of the downlink message.
本申请实施例提供的通信装置,可以执行上述方法实施例中终端的动作,其实现原理 和技术效果类似,在此不再赘述。The communication device provided by the embodiment of the present application can perform the action of the terminal in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
图14为本申请实施例提供的又一种通信装置的结构示意图。本实施例所涉及的通信装置可以为前述所说的数据管理网元,也可以为应用于数据管理网元的芯片,用于执行上述方法实施例中数据管理网元的动作。或者,本实施例所涉及的通信装置可以为前述所说的策略控制网元,也可以为应用于策略控制网元的芯片,用于执行上述方法实施例中策略控制网元的动作。如图14所示,该通信装置可以包括:接收单元41和处理单元42。其中,FIG. 14 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application. The communication device according to the embodiment may be the foregoing data management network element, or may be a chip applied to the data management network element, and configured to perform the operation of the data management network element in the foregoing method embodiment. Alternatively, the communication device according to the embodiment may be the foregoing policy control network element, or may be a chip applied to the policy control network element, and configured to perform the action of the policy control network element in the foregoing method embodiment. As shown in FIG. 14, the communication device may include a receiving unit 41 and a processing unit 42. among them,
接收单元41,用于接收终端在服务网络中的验证信息;The receiving unit 41 is configured to receive verification information of the terminal in the service network;
处理单元42,用于将终端在服务网络中的验证信息作为所述终端的信息。The processing unit 42 is configured to use the verification information of the terminal in the service network as the information of the terminal.
本申请实施例提供的通信装置,可以执行上述方法实施例中数据管理网元或策略控制网元的动作,其实现原理和技术效果类似,在此不再赘述。The communication device provided by the embodiment of the present application may perform the operations of the data management network element or the policy control network element in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
图14A为本申请实施例提供的又一种通信装置的结构示意图。本实施例所涉及的通信装置可以为前述所说的用户面网元,也可以为应用于用户面网元的芯片。该通信装置可以用于执行上述方法实施例中用户面网元的动作。如图14A所示,该通信装置可以包括:处理单元111和发送单元112。可选的,该通信装置还可以包括:接收单元113。其中,FIG. 14 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application. The communication device according to this embodiment may be the user plane network element mentioned above, or may be a chip applied to the user plane network element. The communication device can be used to perform the action of the user plane network element in the foregoing method embodiment. As shown in FIG. 14A, the communication device may include a processing unit 111 and a transmitting unit 112. Optionally, the communication device may further include: a receiving unit 113. among them,
处理单元111,用于获取组播业务请求消息,根据所述第一网络连接标识以及所述第一组播业务的标识确定所述终端对应所述第一组播业务的权限,并根据所述终端对应所述第一组播业务的权限,控制发送单元112向所述终端发送的所述第一组播业务的数据的范围;其中,所述组播业务请求消息用于终端请求获取服务网络提供的第一组播业务的数据,所述组播业务请求消息包括:第一网络连接标识,以及所述第一组播业务的标识,所述第一网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识,所述第一组播业务为所述服务网络提供的至少一个组播业务中的一个。这里所说的所述第一网络连接标识例如可以包括下述任一项:所述服务网络分配的地址信息、会话标识,隧道端点标识。The processing unit 111 is configured to obtain a multicast service request message, and determine, according to the first network connection identifier and the identifier of the first multicast service, the right of the terminal corresponding to the first multicast service, and according to the The terminal corresponds to the right of the first multicast service, and controls a range of data of the first multicast service that is sent by the sending unit 112 to the terminal, where the multicast service request message is used by the terminal to request to obtain a service network. The data of the first multicast service, where the multicast service request message includes: a first network connection identifier, and an identifier of the first multicast service, where the first network connection identifier is the terminal access station The network connection identifier used when serving the network, the first multicast service being one of at least one multicast service provided by the service network. The first network connection identifier mentioned herein may include any one of the following: address information allocated by the service network, a session identifier, and a tunnel endpoint identifier.
在一种可能的实现方式中,所述处理单元111,具体用于根据所述第一网络连接标识、所述第一组播业务的标识、以及所述终端的第二网络连接标识与组播业务权限信息的对应关系,确定所述终端对应所述第一组播业务的权限;其中,所述组播业务权限信息包括所述终端对应所述至少一个组播业务的权限,所述第二网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识,所述第一网络连接标识与所述第二网络连接标识相同,或者,所述第一网络连接标识与所述第二网络标识对应。这里所说的所述第二网络连接标识例如可以包括下述任一项:所述服务网络分配的地址信息、会话标识,隧道端点标识。In a possible implementation, the processing unit 111 is specifically configured to: according to the first network connection identifier, the identifier of the first multicast service, and the second network connection identifier and multicast of the terminal. Corresponding relationship of the service authority information, determining the authority of the terminal corresponding to the first multicast service, where the multicast service authority information includes rights of the terminal corresponding to the at least one multicast service, and the second The network connection identifier is a network connection identifier used by the terminal when accessing the service network, the first network connection identifier is the same as the second network connection identifier, or the first network connection identifier is The second network identifier corresponds. The second network connection identifier mentioned herein may include any one of the following: address information allocated by the service network, a session identifier, and a tunnel endpoint identifier.
在所述第一网络连接标识与所述第二网络标识对应时,所述处理单元111,具体用于根据所述第一网络连接标识、所述第一组播业务的标识、所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,以及,所述第一网络连接标识与所述第二网络连接标识的对应关系,确定所述终端对所述第一组播业务的权限。The processing unit 111 is configured to be used according to the first network connection identifier, the identifier of the first multicast service, and the terminal, when the first network connection identifier is corresponding to the second network identifier. Corresponding relationship between the second network connection identifier and the multicast service authority information, and the corresponding relationship between the first network connection identifier and the second network connection identifier, determining that the terminal is to the first multicast service permission.
在上述实现方式下,所述处理单元111,还用于获取所述终端的第二网络连接标识与所述组播业务权限信息的对应关系。例如,所述处理单元111,具体用于通过所述接收单元113接收会话管理网元发送的所述对应关系。In the foregoing implementation manner, the processing unit 111 is further configured to acquire a correspondence between the second network connection identifier of the terminal and the multicast service authority information. For example, the processing unit 111 is configured to receive, by using the receiving unit 113, the correspondence relationship sent by the session management network element.
或者,所述处理单元111,具体用于获取所述终端的组播业务权限信息以及所述第二网络连接标识,并根据所述终端的组播业务权限信息和所述第二网络连接标识建立所述对应关系。具体实现时,所述处理单元111,具体用于根据所述终端的标识与所述终端的组 播业务权限信息的对应关系,以及,所述终端的标识与所述第二网络连接标识的对应关系,建立所述对应关系。可选的,所述处理单元111,具体用于通过所述接收单元113接收会话管理网元发送的所述终端的组播业务权限信息。Or the processing unit 111 is configured to acquire the multicast service authority information of the terminal and the second network connection identifier, and establish the multicast service authority information and the second network connection identifier according to the terminal. The corresponding relationship. In a specific implementation, the processing unit 111 is specifically configured to: according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the correspondence between the identifier of the terminal and the second network connection identifier Relationship, establishing the correspondence. Optionally, the processing unit 111 is configured to receive, by using the receiving unit 113, multicast service authority information of the terminal that is sent by the session management network element.
在另一种可能的实现方式中,所述处理单元111,具体用于通过所述发送单元112向会话管理网元发送所述组播业务请求消息,并通过所述接收单元113接收所述会话管理网元发送的组播业务响应消息,所述组播业务响应消息用于指示所述终端对应所述第一组播业务的权限。In another possible implementation, the processing unit 111 is specifically configured to send the multicast service request message to the session management network element by using the sending unit 112, and receive the session by using the receiving unit 113. The multicast service response message sent by the network element is used, and the multicast service response message is used to indicate that the terminal corresponds to the right of the first multicast service.
本申请实施例提供的通信装置,可以执行上述图10A至10F中用户面网元的动作,其实现原理和技术效果类似,在此不再赘述。The communication device provided by the embodiment of the present application can perform the operations of the user plane network element in the foregoing FIG. 10A to FIG. 10F, and the implementation principle and the technical effect are similar, and details are not described herein again.
图14B为本申请实施例提供的又一种通信装置的结构示意图。本实施例所涉及的通信装置可以为前述所说的会话管理网元,也可以为应用于会话管理网元的芯片。该通信装置可以用于执行上述方法实施例中会话管理网元的动作。如图14B所示,该通信装置可以包括:处理单元121。可选的,该通信装置还可以包括:发送单元122和接收单元123。其中,FIG. 14B is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application. The communication device according to this embodiment may be the foregoing session management network element, or may be a chip applied to the session management network element. The communication device can be used to perform the actions of the session management network element in the foregoing method embodiment. As shown in FIG. 14B, the communication device can include a processing unit 121. Optionally, the communication device may further include: a sending unit 122 and a receiving unit 123. among them,
处理单元121,用于获取终端的组播业务权限信息,所述组播业务权限信息包括所述终端对应服务网络提供的至少一个组播业务的权限。例如,所述处理单元121,具体用于从数据管理网元、或者、策略控制网元、或者网络开放网元、或者网络管理网元,获取所述终端的组播业务权限信息。The processing unit 121 is configured to obtain the multicast service authority information of the terminal, where the multicast service authority information includes the right of the terminal corresponding to the at least one multicast service provided by the service network. For example, the processing unit 121 is specifically configured to obtain multicast service authority information of the terminal from a data management network element, or a policy control network element, or a network open network element, or a network management network element.
在一种可能的实现方式中,发送单元122,用于向用户面网元发送所述终端的组播业务权限信息。In a possible implementation, the sending unit 122 is configured to send the multicast service authority information of the terminal to the user plane network element.
在一种可能的实现方式中,所述处理单元121,还用于获取第二网络连接标识,并根据所述终端的组播业务权限信息和所述第二网络连接标识,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,所述第二网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识;所述发送单元122,用于向用户面网元发送所述对应关系。在该实现方式下,所述处理单元121,具体用于根据所述终端的标识与所述终端的组播业务权限信息的对应关系,以及,所述终端的标识与所述第二网络连接标识的对应关系,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系。上述所说的所述第二网络连接标识例如可以包括下述任一项:所述服务网络分配的地址信息、会话标识,隧道端点标识。In a possible implementation, the processing unit 121 is further configured to obtain a second network connection identifier, and establish the terminal according to the multicast service authority information of the terminal and the second network connection identifier. Corresponding relationship between the second network connection identifier and the multicast service authority information, where the second network connection identifier is a network connection identifier used by the terminal when accessing the service network, and the sending unit 122 is configured to: The corresponding relationship is sent to the user plane network element. In this implementation, the processing unit 121 is specifically configured to: according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the identifier of the terminal and the second network connection identifier. Corresponding relationship, establishing a correspondence between the second network connection identifier of the terminal and the multicast service authority information. The foregoing second network connection identifier may include any one of the following: address information allocated by the service network, a session identifier, and a tunnel endpoint identifier.
在一种可能的实现方式中,所述处理单元121,还用于获取第二网络连接标识,并根据所述终端的组播业务权限信息和所述第二网络连接标识,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,所述第二网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识;所述接收单元123,用于接收用户面网元发送的组播业务请求消息,所述组播业务请求消息用于所述终端请求获取所述服务网络提供的第一组播业务的数据,所述组播业务请求消息包括:第一网络连接标识,以及所述第一组播业务的标识,所述第一组播业务为所述网络服务网络提供的至少一个组播业务中的一个,所述第一网络连接标识为所述终端接入所述服务网络时所使用的网络连接标识,所述第一网络连接标识与所述第二网络连接标识相同,或者,所述第一网络连接标识与所述第二网络标识对应;所述处理单元121,还用于根据所述第一网络连接标识、所述第一组播业务的标识、以及所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,确定所述终端对 应所述第一组播业务的权限;所述发送单元122,用于向所述用户面网元发送组播业务响应消息,所述组播业务响应消息用于指示所述终端对应所述第一组播业务的权限。上述所说的所述第一网络连接标识例如可以包括下述任一项:所述服务网络分配的地址信息、会话标识,隧道端点标识。In a possible implementation, the processing unit 121 is further configured to obtain a second network connection identifier, and establish the terminal according to the multicast service authority information of the terminal and the second network connection identifier. Corresponding relationship between the second network connection identifier and the multicast service authority information, where the second network connection identifier is a network connection identifier used by the terminal when accessing the service network, and the receiving unit 123 is configured to: Receiving a multicast service request message sent by the user plane network element, where the multicast service request message is used by the terminal to obtain data of the first multicast service provided by the service network, where the multicast service request message includes: a first network connection identifier, and an identifier of the first multicast service, where the first multicast service is one of at least one multicast service provided by the network service network, where the first network connection identifier is a network connection identifier used by the terminal to access the service network, where the first network connection identifier is the same as the second network connection identifier, or the first network The connection identifier is corresponding to the second network identifier; the processing unit 121 is further configured to: according to the first network connection identifier, the identifier of the first multicast service, and the second network connection identifier of the terminal The corresponding relationship of the multicast service authority information determines the authority of the terminal corresponding to the first multicast service, and the sending unit 122 is configured to send a multicast service response message to the user plane network element, The multicast service response message is used to indicate that the terminal corresponds to the rights of the first multicast service. The first network connection identifier mentioned above may include any one of the following: address information allocated by the service network, a session identifier, and a tunnel endpoint identifier.
在该实现方式下,在所述第一网络连接标识与所述第二网络标识对应时,所述处理单元121,具体用于根据所述第一网络连接标识、所述第一组播业务的标识、所述终端的第二网络连接标识与所述组播业务权限信息的对应关系,以及,所述第一网络连接标识与所述第二网络连接标识的对应关系,确定所述终端对所述第一组播业务的权限。In this implementation, when the first network connection identifier is corresponding to the second network identifier, the processing unit 121 is specifically configured to use, according to the first network connection identifier, the first multicast service. Corresponding relationship between the identifier, the second network connection identifier of the terminal, and the multicast service authority information, and the corresponding relationship between the first network connection identifier and the second network connection identifier, determining the terminal The authority of the first multicast service.
在该实现方式下,所述处理单元121,具体用于根据所述终端的标识与所述终端的组播业务权限信息的对应关系,以及,所述终端的标识与所述第二网络连接标识的对应关系,建立所述终端的第二网络连接标识与所述组播业务权限信息的对应关系。In this implementation, the processing unit 121 is specifically configured to: according to the correspondence between the identifier of the terminal and the multicast service authority information of the terminal, and the identifier of the terminal and the second network connection identifier. Corresponding relationship, establishing a correspondence between the second network connection identifier of the terminal and the multicast service authority information.
本申请实施例提供的通信装置,可以执行上述图10A至10F中会话管理网元的动作,其实现原理和技术效果类似,在此不再赘述。The communication device provided by the embodiment of the present application can perform the operations of the session management network element in the foregoing FIG. 10A to FIG. 10F, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
图14C为本申请实施例提供的又一种通信装置的结构示意图。本实施例所涉及的通信装置可以为前述所说的接入网络侧用于存储收终端的组播业务权限信息的网元,例如,数据管理网元(例如UDM网元)、策略控制网元(例如PCF网元)、网络开放网元(例如NEF网元)、网络管理网元(例如NMS网元),也可以为应用于接入网络侧用于存储收终端的组播业务权限信息的网元的芯片,用于执行上述方法实施例中接入网络侧用于存储收终端的组播业务权限信息的网元的动作。如图14C所示,该通信装置可以包括:接收单元131和处理单元132。其中,FIG. 14C is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application. The communication device according to the embodiment may be a network element for storing the multicast service authority information of the receiving terminal on the access network side, for example, a data management network element (for example, a UDM network element) and a policy control network element. (for example, a PCF network element), a network open network element (for example, an NEF network element), and a network management network element (for example, an NMS network element), which may also be applied to the access network side for storing multicast service authority information of the receiving terminal. The chip of the network element is used to perform the action of the network element for accessing the multicast service authority information of the receiving terminal in the access network side in the foregoing method embodiment. As shown in FIG. 14C, the communication device may include a receiving unit 131 and a processing unit 132. among them,
接收单元131,用于接收终端的组播业务权限信息,所述组播业务权限信息包括所述终端对应所述服务网络提供的至少一个组播业务的权限;The receiving unit 131 is configured to receive the multicast service authority information of the terminal, where the multicast service rights information includes the rights of the terminal to the at least one multicast service provided by the service network;
处理单元132,用于将所述终端的组播业务权限信息作为所述终端的信息。The processing unit 132 is configured to use the multicast service authority information of the terminal as the information of the terminal.
本申请实施例提供的通信装置,可以执行上述方法实施例中接入网络侧用于存储收终端的组播业务权限信息的网元的动作,其实现原理和技术效果类似,在此不再赘述。The communication device provided by the embodiment of the present application may perform the action of the network element for storing the multicast service authority information of the receiving terminal in the access method on the network side in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again. .
需要说明的是,应理解以上接收单元实际实现时可以为接收器、发送单元实际实现时可以为发送器。而处理单元可以以软件通过处理元件调用的形式实现;也可以以硬件的形式实现。例如,处理单元可以为单独设立的处理元件,也可以集成在上述装置的某一个芯片中实现,此外,也可以以程序代码的形式存储于上述装置的存储器中,由上述装置的某一个处理元件调用并执行以上处理单元的功能。此外这些单元全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that, when the actual implementation of the above receiving unit can be implemented, the receiver and the transmitting unit can be implemented as a transmitter. The processing unit can be implemented in software in the form of processing component calls; it can also be implemented in hardware. For example, the processing unit may be a separately set processing element, or may be integrated in one of the above-mentioned devices, or may be stored in the memory of the above device in the form of program code, by a processing element of the above device. Call and execute the functions of the above processing unit. In addition, all or part of these units can be integrated or implemented independently. The processing elements described herein can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above units may be completed by an integrated logic circuit of hardware in the processor element or an instruction in a form of software.
例如,以上这些单元可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个专用集成电路(application specific integrated circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(fieldprogrammable gate array,FPGA)等。再如,当以上某个单元通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(central processing unit,CPU)或其它可以调用程序代码的处理器。再如,这些单元可以集成在一起,以片上系统 (system-on-a-chip,SOC)的形式实现。For example, the above units may be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASICs), or one or more microprocessors (digital) Signal processor, DSP), or one or more field programmable gate arrays (FPGAs). As another example, when one of the above units is implemented in the form of a processing element dispatcher code, the processing element can be a general purpose processor, such as a central processing unit (CPU) or other processor that can invoke program code. As another example, these units can be integrated and implemented in the form of a system-on-a-chip (SOC).
图15为本申请实施例提供的又一种通信装置的结构示意图。如图15所示,该通信装置可以包括:处理器51(例如CPU)、存储器52、接收器53、发送器54;接收器53和发送器54均耦合至处理器51,处理器51控制接收器53的接收动作、处理器51控制发送器54的发送动作;存储器52可能包含高速随机存取存储器(random-access memory,RAM),也可能还包括非易失性存储器(non-volatile memory,NVM),例如至少一个磁盘存储器,存储器52中可以存储各种指令,以用于完成各种处理功能以及实现本申请的方法步骤。可选的,本申请涉及的通信装置还可以包括:电源55、通信总线56以及通信端口57。接收器53和发送器54可以集成在通信装置的收发信机中,也可以为通信装置上独立的收发天线。通信总线56用于实现元件之间的通信连接。上述通信端口57用于实现通信装置与其他外设之间进行连接通信。FIG. 15 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application. As shown in FIG. 15, the communication device may include a processor 51 (for example, a CPU), a memory 52, a receiver 53, and a transmitter 54. The receiver 53 and the transmitter 54 are both coupled to the processor 51, and the processor 51 controls reception. The receiving operation of the processor 53, the processor 51 controls the transmitting operation of the transmitter 54, the memory 52 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory, NVM), such as at least one disk storage, in which various instructions can be stored for performing various processing functions and implementing the method steps of the present application. Optionally, the communication device involved in the present application may further include: a power source 55, a communication bus 56, and a communication port 57. The receiver 53 and the transmitter 54 may be integrated in the transceiver of the communication device or may be an independent transceiver antenna on the communication device. Communication bus 56 is used to implement a communication connection between the components. The communication port 57 is used to implement connection communication between the communication device and other peripheral devices.
在本申请实施例中,上述存储器52用于存储计算机可执行程序代码,程序代码包括指令;当处理器51执行指令时,指令使通信装置的处理器51执行上述方法实施例中用户面网元的处理动作,使接收器53执行上述方法实施例中用户面网元的接收动作,使发送器54执行上述方法实施例中用户面网元的发送动作,其实现原理和技术效果类似,在此不再赘述。In the embodiment of the present application, the memory 52 is used to store computer executable program code, and the program code includes instructions. When the processor 51 executes the instruction, the instruction causes the processor 51 of the communication device to execute the user plane network element in the foregoing method embodiment. The processing operation of the receiver 53 performs the receiving operation of the user plane network element in the foregoing method embodiment, so that the transmitter 54 performs the sending operation of the user plane network element in the foregoing method embodiment, and the implementation principle and technical effect are similar. No longer.
图16为本申请实施例提供的又一种通信装置的结构示意图。如图16所示,该通信装置可以包括:处理器61(例如CPU)、存储器62、接收器63、发送器64;接收器63和发送器64均耦合至处理器61,处理器61控制接收器63的接收动作、处理器61控制发送器64的发送动作;存储器62可能包含高速随机存取存储器(random-access memory,RAM),也可能还包括非易失性存储器(non-volatile memory,NVM),例如至少一个磁盘存储器,存储器62中可以存储各种指令,以用于完成各种处理功能以及实现本申请的方法步骤。可选的,本申请涉及的通信装置还可以包括:电源65、通信总线66以及通信端口67。接收器63和发送器64可以集成在通信装置的收发信机中,也可以为通信装置上独立的收发天线。通信总线66用于实现元件之间的通信连接。上述通信端口67用于实现通信装置与其他外设之间进行连接通信。FIG. 16 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application. As shown in FIG. 16, the communication device may include a processor 61 (for example, a CPU), a memory 62, a receiver 63, and a transmitter 64. The receiver 63 and the transmitter 64 are both coupled to the processor 61, and the processor 61 controls reception. The receiving operation of the processor 63, the processor 61 controls the transmitting operation of the transmitter 64; the memory 62 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory, NVM), such as at least one disk storage, in which various instructions can be stored for performing various processing functions and implementing the method steps of the present application. Optionally, the communication device involved in the present application may further include: a power source 65, a communication bus 66, and a communication port 67. The receiver 63 and the transmitter 64 may be integrated in the transceiver of the communication device or may be an independent transceiver antenna on the communication device. Communication bus 66 is used to implement a communication connection between components. The communication port 67 is used to implement connection communication between the communication device and other peripheral devices.
在本申请实施例中,上述存储器62用于存储计算机可执行程序代码,程序代码包括指令;当处理器61执行指令时,指令使通信装置的处理器61执行上述方法实施例中会话管理网元的处理动作,使接收器63执行上述方法实施例中会话管理网元的接收动作,使发送器64执行上述方法实施例中会话管理网元的发送动作,其实现原理和技术效果类似,在此不再赘述。In the embodiment of the present application, the foregoing memory 62 is configured to store computer executable program code, and the program code includes instructions. When the processor 61 executes the instruction, the instruction causes the processor 61 of the communication device to execute the session management network element in the foregoing method embodiment. The processing operation is performed by the receiver 63 to perform the receiving operation of the session management network element in the foregoing method embodiment, so that the transmitter 64 performs the sending operation of the session management network element in the foregoing method embodiment, and the implementation principle and the technical effect are similar. No longer.
图17为本申请实施例提供的又一种通信装置的结构示意图。如图17所示,该通信装置可以包括:处理器71(例如CPU)、存储器72、接收器73、发送器74;接收器73和发送器74均耦合至处理器71,处理器71控制接收器73的接收动作、处理器71控制发送器74的发送动作;存储器72可能包含高速随机存取存储器(random-access memory,RAM),也可能还包括非易失性存储器(non-volatile memory,NVM),例如至少一个磁盘存储器,存储器72中可以存储各种指令,以用于完成各种处理功能以及实现本申请的方法步骤。可选的,本申请涉及的通信装置还可以包括:电源75、通信总线76以及通信端口77。接收器73和发送器74可以集成在通信装置的收发信机中,也可以为通信装置上独立的收发 天线。通信总线76用于实现元件之间的通信连接。上述通信端口77用于实现通信装置与其他外设之间进行连接通信。FIG. 17 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application. As shown in FIG. 17, the communication device may include a processor 71 (for example, a CPU), a memory 72, a receiver 73, and a transmitter 74. The receiver 73 and the transmitter 74 are both coupled to the processor 71, and the processor 71 controls reception. The receiving operation of the processor 73, the processor 71 controls the transmitting operation of the transmitter 74; the memory 72 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory, NVM), such as at least one disk storage, in which various instructions can be stored for performing various processing functions and implementing the method steps of the present application. Optionally, the communication device involved in the present application may further include: a power source 75, a communication bus 76, and a communication port 77. The receiver 73 and the transmitter 74 may be integrated in the transceiver of the communication device or may be an independent transceiver antenna on the communication device. Communication bus 76 is used to implement a communication connection between the components. The communication port 77 is used to implement connection communication between the communication device and other peripheral devices.
在本申请实施例中,上述存储器72用于存储计算机可执行程序代码,程序代码包括指令;当处理器71执行指令时,指令使通信装置的处理器71执行上述方法实施例中终端的处理动作,使接收器73执行上述方法实施例中终端的接收动作,使发送器74执行上述方法实施例中终端的发送动作,其实现原理和技术效果类似,在此不再赘述。In the embodiment of the present application, the memory 72 is used to store computer executable program code, and the program code includes instructions. When the processor 71 executes the instruction, the instruction causes the processor 71 of the communication device to perform the processing action of the terminal in the foregoing method embodiment. The receiver 73 is configured to perform the receiving action of the terminal in the foregoing method embodiment, so that the transmitter 74 performs the sending action of the terminal in the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
图18为本申请实施例提供的又一种通信装置的结构示意图。如图18所示,该通信装置可以包括:处理器81(例如CPU)、存储器82、接收器83。可选的,该通信装置还可以包括、发送器84。接收器83和发送器84均耦合至处理器81,处理器81控制接收器83的接收动作、处理器81控制发送器84的发送动作;存储器82可能包含高速随机存取存储器(random-access memory,RAM),也可能还包括非易失性存储器(non-volatile memory,NVM),例如至少一个磁盘存储器,存储器82中可以存储各种指令,以用于完成各种处理功能以及实现本申请的方法步骤。可选的,本申请涉及的通信装置还可以包括:电源85、通信总线86以及通信端口87。接收器83和发送器84可以集成在通信装置的收发信机中,也可以为通信装置上独立的收发天线。通信总线86用于实现元件之间的通信连接。上述通信端口87用于实现通信装置与其他外设之间进行连接通信。FIG. 18 is a schematic structural diagram of still another communication apparatus according to an embodiment of the present application. As shown in FIG. 18, the communication device may include a processor 81 (for example, a CPU), a memory 82, and a receiver 83. Optionally, the communication device may further include a transmitter 84. Both the receiver 83 and the transmitter 84 are coupled to the processor 81, the processor 81 controls the receiving action of the receiver 83, the processor 81 controls the transmitting action of the transmitter 84, and the memory 82 may include a high-speed random access memory (random-access memory). , RAM), may also include non-volatile memory (NVM), such as at least one disk storage, in which various instructions may be stored for performing various processing functions and implementing the present application. Method steps. Optionally, the communication device involved in the present application may further include: a power source 85, a communication bus 86, and a communication port 87. The receiver 83 and the transmitter 84 may be integrated in the transceiver of the communication device or may be an independent transceiver antenna on the communication device. Communication bus 86 is used to implement a communication connection between components. The communication port 87 is used to implement connection communication between the communication device and other peripheral devices.
在本申请实施例中,上述存储器82用于存储计算机可执行程序代码,程序代码包括指令;当处理器81执行指令时,指令使通信装置的处理器81执行上述方法实施例中数据管理网元的处理动作,使接收器83执行上述方法实施例中数据管理网元的接收动作,使发送器84执行上述方法实施例中数据管理网元的发送动作,其实现原理和技术效果类似,在此不再赘述。或者,指令使通信装置的处理器81执行上述方法实施例中策略控制网元的处理动作,使接收器83执行上述方法实施例中策略控制网元的接收动作,使发送器84执行上述方法实施例中策略控制网元的发送动作,其实现原理和技术效果类似,在此不再赘述。In the embodiment of the present application, the memory 82 is used to store computer executable program code, and the program code includes instructions. When the processor 81 executes the instruction, the instruction causes the processor 81 of the communication device to execute the data management network element in the foregoing method embodiment. The processing operation of the data management network element in the foregoing method embodiment is performed by the receiver 83, so that the transmitter 84 performs the sending operation of the data management network element in the foregoing method embodiment, and the implementation principle and technical effect are similar. No longer. Alternatively, the instruction causes the processor 81 of the communication device to perform the processing action of the policy control network element in the foregoing method embodiment, so that the receiver 83 performs the receiving action of the policy control network element in the foregoing method embodiment, so that the transmitter 84 performs the above method implementation. In the example, the policy controls the sending action of the network element, and its implementation principle and technical effect are similar, and will not be described here.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(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. A 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 in accordance with embodiments of the present application 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, computer instructions can be wired from a website site, computer, server or data center (eg Coax, fiber, digital subscriber line (DSL) or wireless (eg, infrared, wireless, microwave, etc.) is transmitted to another website, computer, server, or data center. 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. Useful media can be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)).
本文中的术语“多个”是指两个或两个以上。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对 象是一种“或”的关系;在公式中,字符“/”,表示前后关联对象是一种“相除”的关系。The term "plurality" as used herein refers to two or more. The term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations. In addition, the character "/" in this paper generally indicates that the contextual object is an "or" relationship; in the formula, the character "/" indicates that the contextual object is a "divide" relationship.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。It is to be understood that the various numbers in the embodiments of the present application are not to be construed as limiting the scope of the embodiments.
可以理解的是,在本申请的实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请的实施例的实施过程构成任何限定。It should be understood that, in the embodiments of the present application, the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the execution order of each process should be determined by its function and internal logic, and should not be implemented in the application. The implementation of the examples constitutes any limitation.

Claims (34)

  1. 一种接入服务网络的方法,其特征在于,所述方法包括:A method for accessing a service network, the method comprising:
    用户面网元获取接入消息,所述接入消息用于终端接入服务网络,所述接入消息包括:所述终端在所述服务网络中的验证信息;The user plane network element obtains an access message, where the access message is used for the terminal to access the service network, and the access message includes: verification information of the terminal in the service network;
    所述用户面网元向所述服务网络发送所述接入消息。The user plane network element sends the access message to the serving network.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    所述用户面网元接收会话管理网元发送的所述验证信息以及所述终端发送的初始接入消息;The user plane network element receives the verification information sent by the session management network element and the initial access message sent by the terminal;
    所述用户面网元获取接入消息,包括:The user plane network element obtains an access message, including:
    所述用户面网元根据所述初始接入消息和所述验证信息,获取所述接入消息。The user plane network element acquires the access message according to the initial access message and the verification information.
  3. 根据权利要求1所述的方法,其特征在于,所述用户面网元获取接入消息,包括:The method according to claim 1, wherein the user plane network element obtains an access message, including:
    所述用户面网元接收会话管理网元发送的所述接入消息。The user plane network element receives the access message sent by the session management network element.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    所述用户面网元获取所述服务网络对所述接入消息的反馈消息,所述反馈消息包括所述终端的标识信息;The user plane network element obtains a feedback message of the service network to the access message, where the feedback message includes identifier information of the terminal;
    所述用户面网元根据所述终端的标识信息,向所述终端发送所述反馈消息。The user plane network element sends the feedback message to the terminal according to the identifier information of the terminal.
  5. 根据权利要求4所述的方法,其特征在于,所述用户面网元根据所述终端的标识信息,向所述终端发送所述接入消息的反馈消息,包括:The method according to claim 4, wherein the user plane network element sends the feedback message of the access message to the terminal according to the identifier information of the terminal, including:
    所述用户面网元根据所述终端的标识信息与所述终端的会话信息的映射关系,确定所述终端的会话信息;Determining, by the user plane network element, session information of the terminal according to a mapping relationship between the identifier information of the terminal and the session information of the terminal;
    所述用户面网元通过所述终端的会话信息对应的会话,向所述终端发送所述反馈消息。The user plane network element sends the feedback message to the terminal by using a session corresponding to the session information of the terminal.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    所述用户面网元接收会话管理网元发送的所述终端的标识信息以及所述终端的会话信息;The user plane network element receives the identifier information of the terminal and the session information of the terminal that are sent by the session management network element;
    所述用户面网元建立所述终端的标识信息与所述终端的会话信息的映射关系;The user plane network element establishes a mapping relationship between the identifier information of the terminal and the session information of the terminal;
    或者,or,
    所述用户面网元接收所述会话管理网元发送的所述终端的标识信息与所述终端的会话信息的映射关系;The user plane network element receives a mapping relationship between the identifier information of the terminal and the session information of the terminal that are sent by the session management network element;
    或者,or,
    所述用户面网元获取所述终端发送的初始接入消息,所述初始接入消息包括所述终端的标识信息;The user plane network element acquires an initial access message sent by the terminal, where the initial access message includes identifier information of the terminal;
    所述用户面网元接收所述会话管理网元发送的所述终端的会话信息;The user plane network element receives session information of the terminal sent by the session management network element;
    所述用户面网元建立所述终端的标识信息与所述终端的会话信息的映射关系。The user plane network element establishes a mapping relationship between the identifier information of the terminal and the session information of the terminal.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述用户面网元获取的接入消息中包括会话管理网元为所述终端分配的第一地址信息以及所述服务网络为所述终端分配的第二地址信息;The method according to any one of claims 1-6, wherein the access message obtained by the user plane network element includes first address information allocated by the session management network element to the terminal, and the service network. Second address information assigned to the terminal;
    所述用户面网元向所述服务网络发送所述接入消息,包括:The user plane network element sends the access message to the service network, including:
    所述用户面网元删除所述接入消息中的所述第一地址信息;The user plane network element deletes the first address information in the access message;
    所述用户面网元将删除所述第一地址信息后的接入消息发送给所述服务网络。The user plane network element sends an access message after deleting the first address information to the service network.
  8. 根据权利要求4-6任一项所述的方法,其特征在于,所述用户面网元获取的反馈消息中包括所述服务网络为所述终端分配的第二地址信息;The method according to any one of claims 4-6, wherein the feedback message acquired by the user plane network element includes second address information allocated by the service network for the terminal;
    所述方法还包括:The method further includes:
    所述用户面网元获取会话管理网元为所述终端分配的第一地址信息;The user plane network element acquires first address information allocated by the session management network element to the terminal;
    所述用户面网元将所述第一地址信息添加到所述反馈消息中;The user plane network element adds the first address information to the feedback message;
    所述用户面网元向所述终端发送所述反馈消息,包括:Sending, by the user plane network element, the feedback message to the terminal, including:
    所述用户面网元向所述终端发送所述反馈消息,所述反馈消息包括:所述第一地址信息和所述第二地址信息。The user plane network element sends the feedback message to the terminal, where the feedback message includes: the first address information and the second address information.
  9. 一种接入服务网络的方法,其特征在于,所述方法包括:A method for accessing a service network, the method comprising:
    会话管理网元接收终端发送的会话建立请求消息,所述会话建立请求消息用于请求所述会话管理网元建立所述终端的会话;The session management network element receives a session establishment request message sent by the terminal, where the session establishment request message is used to request the session management network element to establish a session of the terminal;
    所述会话管理网元获取所述终端在服务网络中的验证信息,所述验证消息用于所述终端接入所述服务网络;The session management network element obtains the verification information of the terminal in the service network, and the verification message is used by the terminal to access the service network;
    所述会话管理网元向用户面网元发送所述验证信息。The session management network element sends the verification information to the user plane network element.
  10. 根据权利要求9所述的方法,其特征在于,所述会话管理网元获取所述终端在服务网络中的验证信息,包括:The method according to claim 9, wherein the session management network element obtains the verification information of the terminal in the service network, including:
    所述会话管理网元从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取所述验证信息。The session management network element obtains the verification information from a data management network element, or a policy control network element, or a local database, or an access management network element.
  11. 根据权利要求9或10所述的方法,其特征在于,所述方法还包括:The method according to claim 9 or 10, wherein the method further comprises:
    所述会话管理网元接收所述终端发送的初始接入消息;Receiving, by the session management network element, an initial access message sent by the terminal;
    所述会话管理网元根据所述初始接入消息和所述验证信息,获取接入消息,所述接入消息包括:所述验证信息;The session management network element acquires an access message according to the initial access message and the verification information, where the access message includes: the verification information;
    所述会话管理网元将所述验证信息发送给用户面网元,包括:The session management network element sends the verification information to the user plane network element, including:
    所述会话管理网元向所述用户面网元发送所述接入消息。The session management network element sends the access message to the user plane network element.
  12. 根据权利要求9-11任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 9-11, wherein the method further comprises:
    所述会话管理网元根据所述会话建立请求消息,获取所述服务网络的标识信息;The session management network element acquires identification information of the service network according to the session establishment request message;
    所述会话管理网元根据所述服务网络的标识信息,确定为所述服务网络提供策略的策略控制网元;Determining, by the session management network element, a policy control network element that provides a policy for the service network according to the identifier information of the service network;
    所述会话管理网元通知所述策略控制网元所述终端将从所述服务网络获取服务;The session management network element notifies the policy control network element that the terminal will obtain a service from the service network;
    所述会话管理网元接收所述策略控制网元发送的所述服务网络的策略。The session management network element receives the policy of the service network sent by the policy control network element.
  13. 根据权利要求9-12任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9 to 12, wherein the method further comprises:
    所述会话管理网元获取所述终端的标识信息;The session management network element acquires identification information of the terminal;
    所述会话管理网元根据所述终端的标识信息与所述终端的会话信息,建立所述终端的标识信息与所述终端的会话信息的映射关系;The session management network element establishes a mapping relationship between the identifier information of the terminal and the session information of the terminal according to the identifier information of the terminal and the session information of the terminal;
    所述会话管理网元向所述用户面网元发送所述映射关系。The session management network element sends the mapping relationship to the user plane network element.
  14. 根据权利要求9-12任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9 to 12, wherein the method further comprises:
    所述会话管理网元接收所述服务网络对所述接入消息的反馈消息,所述反馈消息包括:所述终端的标识信息;The session management network element receives a feedback message of the service network to the access message, where the feedback message includes: identifier information of the terminal;
    所述会话管理网元根据所述终端的标识信息,以及,所述终端的标识信息与所述终端的会话信息的映射关系,确定所述终端的会话信息;Determining, by the session management network element, session information of the terminal according to the identifier information of the terminal, and the mapping relationship between the identifier information of the terminal and the session information of the terminal;
    所述会话管理网元向所述用户面网元发送所述反馈消息,所述反馈消息包括所述终端的会话信息。The session management network element sends the feedback message to the user plane network element, where the feedback message includes session information of the terminal.
  15. 根据权利要求13或14所述的方法,其特征在于,所述方法还包括:The method according to claim 13 or 14, wherein the method further comprises:
    所述会话管理网元从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取所述终端的标识信息;或者,The session management network element acquires the identification information of the terminal from the data management network element, or the policy control network element, or the local database, or the access management network element; or
    所述会话管理网元接收所述终端发送的初始接入消息,所述初始接入消息包括:所述终端的标识信息。The session management network element receives an initial access message sent by the terminal, where the initial access message includes: identifier information of the terminal.
  16. 一种接入服务网络的方法,其特征在于,所述方法包括:A method for accessing a service network, the method comprising:
    终端确定建立会话;The terminal determines to establish a session;
    所述终端向会话管理网元发送会话建立请求消息,所述会话建立请求消息用于请求所述会话管理网元建立所述终端的会话。The terminal sends a session establishment request message to the session management network element, where the session establishment request message is used to request the session management network element to establish a session of the terminal.
  17. 根据权利要求16所述的方法,其特征在于,所述终端确定建立会话,包括:The method according to claim 16, wherein the terminal determines to establish a session, including:
    所述终端在接收到客户端发送的所述服务网络的数据时,确定建立所述会话;或者,When receiving the data of the service network sent by the client, the terminal determines to establish the session; or,
    所述终端在完成移动网络的注册流程时,确定建立所述会话。The terminal determines to establish the session when completing the registration process of the mobile network.
  18. 一种通信装置,其特征在于,所述装置包括:A communication device, characterized in that the device comprises:
    处理单元,用于获取接入消息,所述接入消息用于终端接入服务网络,所述接入消息包括:所述终端在所述服务网络中的验证信息;a processing unit, configured to acquire an access message, where the access message is used by the terminal to access the service network, where the access message includes: verification information of the terminal in the service network;
    发送单元,用于向所述服务网络发送所述接入消息。And a sending unit, configured to send the access message to the serving network.
  19. 根据权利要求18所述的装置,其特征在于,所述装置还包括:The device of claim 18, wherein the device further comprises:
    接收单元,用于接收会话管理网元发送的所述验证信息以及所述终端发送的初始接入消息;a receiving unit, configured to receive the verification information sent by the session management network element and the initial access message sent by the terminal;
    所述处理单元,具体用于根据所述初始接入消息和所述验证信息,获取所述接入消息。The processing unit is specifically configured to acquire the access message according to the initial access message and the verification information.
  20. 根据权利要求18所述的装置,其特征在于,所述处理单元,具体用于接收会话管理网元发送的所述接入消息。The apparatus according to claim 18, wherein the processing unit is specifically configured to receive the access message sent by a session management network element.
  21. 根据权利要求18-20任一项所述的装置,其特征在于,Apparatus according to any one of claims 18-20, wherein
    所述处理单元,还用于获取所述服务网络对所述接入消息的反馈消息,所述反馈消息包括所述终端的标识信息,并根据所述终端的标识信息,控制所述发送单元向所述终端发送所述反馈消息。The processing unit is further configured to obtain a feedback message of the service network to the access message, where the feedback message includes identifier information of the terminal, and controls the sending unit according to the identifier information of the terminal The terminal sends the feedback message.
  22. 根据权利要求21所述的装置,其特征在于,The device according to claim 21, wherein
    所述处理单元,具体用于根据所述终端的标识信息与所述终端的会话信息的映射关系,确定所述终端的会话信息,并控制所述发送单元通过所述终端的会话信息对应的会话,向所述终端发送所述反馈消息。The processing unit is specifically configured to determine session information of the terminal according to a mapping relationship between the identifier information of the terminal and the session information of the terminal, and control the session corresponding to the session information of the terminal by the sending unit. Sending the feedback message to the terminal.
  23. 根据权利要求22所述的装置,其特征在于,所述装置还包括:The device of claim 22, wherein the device further comprises:
    接收单元,用于接收会话管理网元发送的所述终端的标识信息以及所述终端的会话信息;a receiving unit, configured to receive identifier information of the terminal sent by the session management network element, and session information of the terminal;
    所述处理单元,还用于建立所述终端的标识信息与所述终端的会话信息的映射关系;The processing unit is further configured to establish a mapping relationship between the identifier information of the terminal and the session information of the terminal;
    或者,or,
    所述接收单元,用于接收所述会话管理网元发送的所述终端的标识信息与所述终端的会话信息的映射关系;The receiving unit is configured to receive a mapping relationship between the identifier information of the terminal and the session information of the terminal that are sent by the session management network element;
    或者,or,
    所述接收单元,用于接收所述会话管理网元发送的所述终端的会话信息;The receiving unit is configured to receive session information of the terminal sent by the session management network element;
    所述处理单元,还用于获取所述终端发送的初始接入消息,并建立所述终端的标识信息与所述终端的会话信息的映射关系,所述初始接入消息包括所述终端的标识信息。The processing unit is further configured to acquire an initial access message sent by the terminal, and establish a mapping relationship between the identifier information of the terminal and the session information of the terminal, where the initial access message includes an identifier of the terminal. information.
  24. 根据权利要求18-23任一项所述的装置,其特征在于,所述处理单元获取的接入消息中包括会话管理网元为所述终端分配的第一地址信息以及所述服务网络为所述终端分配的第二地址信息;The device according to any one of claims 18 to 23, wherein the access message acquired by the processing unit includes first address information allocated by the session management network element to the terminal, and the service network is Decoding the second address information of the terminal;
    所述处理单元,还用于删除所述接入消息中的所述第一地址信息;The processing unit is further configured to delete the first address information in the access message;
    所述发送单元,具体用于将删除所述第一地址信息后的接入消息发送给所述服务网络。The sending unit is specifically configured to send an access message after deleting the first address information to the serving network.
  25. 根据权利要求21-23任一项所述的装置,其特征在于,所述处理单元获取的反馈消息中包括所述服务网络为所述终端分配的第二地址信息;The device according to any one of claims 21 to 23, wherein the feedback message acquired by the processing unit includes second address information allocated by the service network to the terminal;
    所述处理单元,还用于获取会话管理网元为所述终端分配的第一地址信息,并将所述第一地址信息添加到所述反馈消息中;The processing unit is further configured to acquire first address information allocated by the session management network element to the terminal, and add the first address information to the feedback message;
    所述发送单元,具体用于向所述终端发送所述反馈消息,所述反馈消息包括:所述第一地址信息和所述第二地址信息。The sending unit is specifically configured to send the feedback message to the terminal, where the feedback message includes: the first address information and the second address information.
  26. 一种通信装置,其特征在于,所述装置包括:A communication device, characterized in that the device comprises:
    接收单元,用于接收终端发送的会话建立请求消息,所述会话建立请求消息用于请求建立所述终端的会话;a receiving unit, configured to receive a session establishment request message sent by the terminal, where the session establishment request message is used to request to establish a session of the terminal;
    处理单元,用于获取所述终端在服务网络中的验证信息,所述验证消息用于所述终端接入所述服务网络;a processing unit, configured to obtain verification information of the terminal in a service network, where the verification message is used by the terminal to access the service network;
    发送单元,用于向用户面网元发送所述验证信息。And a sending unit, configured to send the verification information to the user plane network element.
  27. 根据权利要求26所述的装置,其特征在于,所述处理单元,具体用于从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取所述验证信息。The device according to claim 26, wherein the processing unit is specifically configured to acquire the data from a data management network element, or a policy control network element, or a local database, or an access management network element. verify message.
  28. 根据权利要求26或27所述的装置,其特征在于,Device according to claim 26 or 27, characterized in that
    所述接收单元,还用于接收所述终端发送的初始接入消息;The receiving unit is further configured to receive an initial access message sent by the terminal;
    所述处理单元,还用于根据所述初始接入消息和所述验证信息,获取接入消息,所述接入消息包括:所述验证信息;The processing unit is further configured to acquire an access message according to the initial access message and the verification information, where the access message includes: the verification information;
    所述发送单元,具体用于向所述用户面网元发送所述接入消息。The sending unit is specifically configured to send the access message to the user plane network element.
  29. 根据权利要求26-28任一项所述的装置,其特征在于,Apparatus according to any one of claims 26-28, wherein
    所述处理单元,还用于根据所述会话建立请求消息,获取所述服务网络的标识信息,并根据所述服务网络的标识信息,确定为所述服务网络提供策略的策略控制网元;The processing unit is further configured to: obtain the identifier information of the service network according to the session establishment request message, and determine, according to the identifier information of the service network, a policy control network element that provides a policy for the service network;
    所述发送单元,还用于通知所述策略控制网元所述终端将从所述服务网络获取服务;The sending unit is further configured to notify the policy control network element that the terminal obtains a service from the service network;
    所述接收单元,还用于接收所述策略控制网元发送的所述服务网络的策略。The receiving unit is further configured to receive a policy of the service network sent by the policy control network element.
  30. 根据权利要求26-29任一项所述的装置,其特征在于,Apparatus according to any one of claims 26-29, wherein
    所述处理单元,还用于获取所述终端的标识信息,并根据所述终端的标识信息与所述终端的会话信息,建立所述终端的标识信息与所述终端的会话信息的映射关系;The processing unit is further configured to acquire the identifier information of the terminal, and establish a mapping relationship between the identifier information of the terminal and the session information of the terminal according to the identifier information of the terminal and the session information of the terminal;
    所述发送单元,还用于向所述用户面网元发送所述映射关系。The sending unit is further configured to send the mapping relationship to the user plane network element.
  31. 根据权利要求26-29任一项所述的装置,其特征在于,Apparatus according to any one of claims 26-29, wherein
    所述接收单元,还用于接收所述服务网络对所述接入消息的反馈消息,所述反馈消息包括:所述终端的标识信息;The receiving unit is further configured to receive a feedback message of the service network to the access message, where the feedback message includes: identifier information of the terminal;
    所述处理单元,还用于根据所述终端的标识信息,以及,所述终端的标识信息与所述终端的会话信息的映射关系,确定所述终端的会话信息;The processing unit is further configured to determine session information of the terminal according to the identifier information of the terminal, and the mapping relationship between the identifier information of the terminal and the session information of the terminal;
    所述发送单元,还用于向所述用户面网元发送所述反馈消息,所述反馈消息包括所述终端的会话信息。The sending unit is further configured to send the feedback message to the user plane network element, where the feedback message includes session information of the terminal.
  32. 根据权利要求30或31所述的装置,其特征在于,所述处理单元,具体用于从数据管理网元、或者、策略控制网元、或者、本地数据库、或者、接入管理网元,获取所述终端的标识信息;或者,The device according to claim 30 or 31, wherein the processing unit is specifically configured to obtain from a data management network element, or a policy control network element, or a local database, or an access management network element. Identification information of the terminal; or
    所述处理单元,具体用于通过所述接收单元接收所述终端发送的初始接入消息,所述初始接入消息包括:所述终端的标识信息。The processing unit is configured to receive, by using the receiving unit, an initial access message sent by the terminal, where the initial access message includes: identifier information of the terminal.
  33. 一种通信装置,其特征在于,所述装置包括:A communication device, characterized in that the device comprises:
    处理单元,用于确定建立会话;a processing unit, configured to determine to establish a session;
    发送单元,用于向会话管理网元发送会话建立请求消息,所述会话建立请求消息用于请求所述会话管理网元建立所述终端的会话。And a sending unit, configured to send a session establishment request message to the session management network element, where the session establishment request message is used to request the session management network element to establish a session of the terminal.
  34. 根据权利要求33所述的装置,其特征在于,所述处理单元,具体用于在接收到客户端发送的所述服务网络的数据时,确定建立所述会话;或者,在完成移动网络的注册流程时,确定建立所述会话。The device according to claim 33, wherein the processing unit is specifically configured to: when the data of the service network sent by the client is received, determine to establish the session; or, to complete registration of the mobile network At the time of the process, it is determined that the session is established.
PCT/CN2019/081850 2018-04-09 2019-04-09 Method for accessing service network, and communication apparatus WO2019196814A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP19784242.0A EP3758300B1 (en) 2018-04-09 2019-04-09 Method for accessing service network, and communication apparatus
BR112020017960-4A BR112020017960A2 (en) 2018-04-09 2019-04-09 METHOD TO ACCESS SERVER NETWORK, COMMUNICATIONS DEVICE, STORAGE MEDIA, AND SYSTEM
US17/013,110 US11553339B2 (en) 2018-04-09 2020-09-04 Method for accessing serving network and communications apparatus

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201810313099 2018-04-09
CN201810313099.9 2018-04-09
CN201810674225.3 2018-06-26
CN201810674225.3A CN110366011B (en) 2018-04-09 2018-06-26 Method and communication device for accessing service network

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/013,110 Continuation US11553339B2 (en) 2018-04-09 2020-09-04 Method for accessing serving network and communications apparatus

Publications (1)

Publication Number Publication Date
WO2019196814A1 true WO2019196814A1 (en) 2019-10-17

Family

ID=68163509

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/081850 WO2019196814A1 (en) 2018-04-09 2019-04-09 Method for accessing service network, and communication apparatus

Country Status (1)

Country Link
WO (1) WO2019196814A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207473A (en) * 2006-12-18 2008-06-25 中兴通讯股份有限公司 Method for multicast implementation of switch-in layer network in IPTV system
CN101207532A (en) * 2006-12-20 2008-06-25 中兴通讯股份有限公司 Method for network building of distributed IPTV system and business implementation method
CN101472155A (en) * 2007-12-24 2009-07-01 康佳集团股份有限公司 Household network system for implementing IPTV business and implementing method thereof
CN102572605A (en) * 2012-02-09 2012-07-11 成都三零凯天通信实业有限公司 System and method for integrating third-party informatization of IPTV system
CN103581708A (en) * 2012-07-31 2014-02-12 中兴通讯股份有限公司 Method and system for playing boot advertisements of set top box

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207473A (en) * 2006-12-18 2008-06-25 中兴通讯股份有限公司 Method for multicast implementation of switch-in layer network in IPTV system
CN101207532A (en) * 2006-12-20 2008-06-25 中兴通讯股份有限公司 Method for network building of distributed IPTV system and business implementation method
CN101472155A (en) * 2007-12-24 2009-07-01 康佳集团股份有限公司 Household network system for implementing IPTV business and implementing method thereof
CN102572605A (en) * 2012-02-09 2012-07-11 成都三零凯天通信实业有限公司 System and method for integrating third-party informatization of IPTV system
CN103581708A (en) * 2012-07-31 2014-02-12 中兴通讯股份有限公司 Method and system for playing boot advertisements of set top box

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3758300A4 *

Similar Documents

Publication Publication Date Title
AU2019284169B2 (en) Network configuration method and communications apparatus
JP6995189B2 (en) Data transmission methods, devices, and systems
JP6355705B2 (en) System and method for accessing a network
CN110366011B (en) Method and communication device for accessing service network
WO2018232570A1 (en) Registration and session establishment methods, terminal, and amf entity
US20230078317A1 (en) Relay Link Establishment Method, Configuration Information Sending Method, Apparatus, and Readable Storage Medium
WO2019185062A1 (en) Communication method and device
WO2023280121A1 (en) Method and apparatus for obtaining edge service
WO2016180113A1 (en) Method for initiating wi-fi voice service, lte communication device, terminal, and communication system
WO2021197347A1 (en) Communication system, method and apparatus
US20220263879A1 (en) Multicast session establishment method and network device
WO2019242525A1 (en) Data transmission method, related device and system
WO2019196814A1 (en) Method for accessing service network, and communication apparatus
WO2012103755A1 (en) Method and system for obtaining a terminal id
RU2783588C2 (en) Network configuration method and communication device
WO2023143212A1 (en) Communication method and apparatus
WO2021081900A1 (en) Communication method and related apparatus
WO2019034005A1 (en) Multicast method and 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: 19784242

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019784242

Country of ref document: EP

Effective date: 20200922

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112020017960

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112020017960

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20200902