WO2021089017A1 - 一种通信方法、装置及系统 - Google Patents

一种通信方法、装置及系统 Download PDF

Info

Publication number
WO2021089017A1
WO2021089017A1 PCT/CN2020/127293 CN2020127293W WO2021089017A1 WO 2021089017 A1 WO2021089017 A1 WO 2021089017A1 CN 2020127293 W CN2020127293 W CN 2020127293W WO 2021089017 A1 WO2021089017 A1 WO 2021089017A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
network element
terminal device
data stream
information
Prior art date
Application number
PCT/CN2020/127293
Other languages
English (en)
French (fr)
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to JP2022526461A priority Critical patent/JP7472279B2/ja
Priority to CA3160808A priority patent/CA3160808A1/en
Priority to EP20885795.3A priority patent/EP4044506A4/en
Priority to AU2020379793A priority patent/AU2020379793C1/en
Publication of WO2021089017A1 publication Critical patent/WO2021089017A1/zh
Priority to US17/738,778 priority patent/US20220264355A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2483Traffic characterised by specific attributes, e.g. priority or QoS involving identification of individual flows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/62Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on trigger specification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/12Flow control between communication endpoints using signalling between network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • H04L47/283Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]

Definitions

  • This application relates to the field of communication technology, and in particular to a communication method, device and system.
  • TSN delay-sensitive network
  • the 5G system is virtualized as a switching node in the TSN, forming a network architecture for the intercommunication between the 5G system and the TSN
  • the control plane network element in the 5G system can create a data flow between the user equipment (UE) and the user plane network element after receiving the instruction to configure the network element in the TSN. Configure the forwarding rule of the data stream to realize the data transmission from the UE to the user plane network element.
  • the 5G system is still unable to create a UE-to-UE data flow, and cannot realize data transmission between UEs.
  • This application provides a communication method, device, and system to create a data flow between terminal devices.
  • an embodiment of the present application provides a communication method.
  • the method includes: first, an application function network element can obtain forwarding information of a data stream, and the forwarding information of the data stream includes entry information and data stream corresponding to the data stream. Corresponding egress information; after that, the application function network element determines that the data stream is a data stream between terminal devices based on the forwarding information of the data stream, that is, the data stream is carried in two sessions, one is the first session corresponding to the ingress information , The other is the second session corresponding to the exit message.
  • the application function network element can trigger the core network device to configure the PCC rules of the first session and the second session.
  • the application function network element can trigger the core network device to initiate two PCC rule configuration (such as creation or modification) processes for different sessions when it is determined that the data flow is the data flow between the terminal devices, so that the terminal can be established Data flow between devices.
  • PCC rule configuration such as creation or modification
  • the application function network element determines that the data stream is between terminal devices based on the forwarding information of the data stream.
  • the data flow can be determined as a data flow between the first terminal device and the second terminal device according to the outgoing port identifier and the ingress port identifier, where the outgoing port identifier is the port identifier on the second terminal device side and the ingress port identifier is The port identifier on the side of the first terminal device.
  • the application function network element can more conveniently and quickly determine that the data flow is the data flow between the terminal devices.
  • the application function network element determines that the data flow is the data flow between the terminal devices according to the outgoing port identifier and the incoming port identifier, which specifically includes:
  • the application function network element is respectively associated with the first session and the second session based on the outgoing port identifier and the incoming port identifier, and determines that the data flow is the data flow between the terminal devices.
  • the application function network element may obtain the association relationship between the port on the terminal device side and the session. If it is determined that the ingress port and the egress port of the data flow both correspond to the session, it means that the data flow is a data flow between terminal devices.
  • the application function network element can easily and quickly determine the data flow as the data flow between the terminal devices through the association relationship between the access port and the session.
  • the data stream is a data stream from a first terminal device to a second terminal device
  • the first session is a session established by the first terminal device
  • the second session is a session established by the second terminal device.
  • the application function network element determines that the first terminal device and the second terminal device can communicate with each other; the application function network element can be based on the obtained first terminal device.
  • the delay information of a terminal device and the delay information of the second terminal device are reported to the devices in the delay-sensitive network of the transmission delay from the port on the first terminal device side to the port on the second terminal device side; where the second The delay information of the terminal device is used to indicate the transmission delay between the port on the second terminal device side and the data network, and the delay information of the first terminal device is used to indicate the port and data network on the first terminal device side.
  • the port on the first terminal device side may include the ingress port of the aforementioned data stream
  • the port on the second terminal device side may include the egress port of the aforementioned data stream.
  • the application function network element reports the transmission delay from the port on the first terminal device side to the port on the second terminal device side, which can facilitate the devices in the delay-sensitive network to determine the difference between the first terminal device and the second terminal device.
  • the scheduling information of the data stream is
  • the application function network element before the application function network element obtains the forwarding information of the data stream, when the first terminal device establishes the first session, the application function network element receives the delay information of the first terminal device;
  • the application function network element receives the delay information of the second terminal device and the third indication information; the third indication information is used for
  • the port on the side of the first terminal device and the port on the side of the second terminal device are a port pair, that is, the first terminal device and the second terminal device can communicate.
  • the application function network element may determine that the first terminal device and the second terminal device can communicate with each other according to the third indication information.
  • the application function network element can conveniently determine that the first terminal device and the second terminal device can communicate with each other according to the third indication information, which facilitates subsequent reporting of the port on the first terminal device side to the device in the delay-sensitive network. Transmission delay to the port on the second terminal device side.
  • the application function network element before the application function network element obtains the forwarding information of the data stream, when the second terminal device establishes the second session, the application function network element receives the delay information of the second terminal device;
  • the application function network element receives the delay information of the first terminal device and the fourth indication information; the fourth indication information is used
  • the port on the side of the first terminal device and the port on the side of the second terminal device are a port pair, that is, the first terminal device and the second terminal device can communicate.
  • the application function network element may determine that the first terminal device and the second terminal device can communicate with each other according to the third indication information.
  • the application function network element can conveniently determine that the first terminal device and the second terminal device can communicate with each other according to the fourth indication information, which facilitates subsequent reporting of the port on the first terminal device side to the device in the delay-sensitive network. Transmission delay to the port on the second terminal device side.
  • the application function network element before the application function network element obtains the forwarding information of the data stream, when the first terminal device establishes the first session (for example, during the establishment of the first session, or after the establishment of the first session is completed) , The application function network element receives the delay information of the first terminal device; when the second terminal device establishes a second session, the application function network element receives the delay information of the second terminal device;
  • the application function network element may locally store group information, which records group members included in the communication group, and according to the group information, it is determined that the first terminal device and the second terminal device can communicate with each other.
  • the group information may also be obtained by the application function network element from other network elements.
  • the application function network element can easily determine based on the group information that a terminal device and the second terminal device can communicate with each other, which facilitates subsequent reporting of the port on the first terminal device to the first terminal device to the device in the delay-sensitive network. 2.
  • the application function network element when the application function network element triggers the core network device to configure the policy and charging control PCC rule for the first session corresponding to the ingress information, it may also send the first indication information to the core network device, and the first indication The information is used to indicate that the data flow is a data flow between terminal devices.
  • the application function network element can inform the core network device that the data flow is a data flow between terminal devices, so that the core network device can create a data flow between terminal devices.
  • the first indication information indicates that the data stream is a data stream between terminal devices, and a direct indication method can be used.
  • the first indication information indicates that the data stream is a data stream between terminal devices.
  • the characters of the data stream can also be indirectly indicated.
  • indirect indications are several indirect indications:
  • the first indication information includes the ingress port identifier of the data stream and the egress port identifier of the data stream.
  • the first indication information includes the identifier of the first session and the identifier of the second session.
  • the first indication message includes the outgoing port identifier or the second session identifier.
  • the first indication message can adopt multiple indication modes, flexibly indicating that the data stream is a data stream between terminal devices.
  • the application function network element when the application function network element triggers the core network device to configure the policy and charging control PCC rules for the second session corresponding to the egress information, it may also send second indication information to the core network device.
  • the second indication information Used to indicate that the data flow is a data flow between terminal devices.
  • the application function network element can inform the core network device that the data flow is a data flow between terminal devices, so that the core network device can create a data flow between terminal devices.
  • the second indication information to indicate that the data stream is a data stream between terminal devices
  • a direct indication method can be used, such as sending characters that characterize the data stream as a data stream between terminal devices.
  • indirect instructions are several indirect instructions:
  • the second indication information includes the ingress port identifier of the data stream and the egress port identifier of the data stream.
  • the second indication information includes the identifier of the first session and the identifier of the second session.
  • the second indication message includes the ingress port identifier or the identifier of the first session.
  • the second indication message can adopt multiple indication modes, flexibly indicating that the data stream is a data stream between terminal devices.
  • the application function network element can determine that the data stream is the terminal device according to the identifier of the first session and the identifier of the second session. Data flow between.
  • the application function network element determines that the data stream is a data stream between terminal devices.
  • an embodiment of the present application provides a communication method, the method includes: a session management network element may receive a first forwarding rule creation request from a policy control function network element, and the first forwarding rule creation request is used to indicate that it is a bearer data stream
  • the first session creation forwarding rule for the first forwarding rule creation request includes first indication information; the first indication information may indicate that the data flow is a data flow between terminal devices, and the session management network element is determining according to the first indication information
  • a request can be created according to the first forwarding rule, and the forwarding rule of the first session can be configured as local forwarding.
  • the session management network element After determining that the data flow is a data flow between terminal devices, the session management network element establishes a data flow from the terminal device to the terminal device by configuring the forwarding rule of the first session as local forwarding.
  • the first indication message is a character representing that the data stream is a data stream between terminal devices.
  • the conversation The management network element may directly determine according to the first indication information that the data flow is a data flow between terminal devices.
  • the first indication message may also adopt an indirect indication mode.
  • the session management network element may directly determine the data flow between the terminal devices according to the first indication information:
  • the first indication information includes the ingress port identifier of the data stream and the egress port identifier of the data stream.
  • the session management network element may be based on the association relationship between the port identifier on the terminal device side and the session, and according to the egress port identifier and the egress port identifier are both associated with the session, for example, the egress port is associated with the first session, and the ingress port is associated with the second session;
  • the data flow is the data flow between terminal devices.
  • the first indication information includes the identifier of the first session and the identifier of the second session.
  • the session management network element may be directly based on the identification of the first session and the identification of the second session, and the data stream is carried in the two sessions, so as to determine that the data stream is a data stream between terminal devices.
  • the first indication message includes the identifier of the outbound port or the identifier of the second session carrying the data stream.
  • the session management network element may determine that the data flow is the data flow between the terminal devices based on the port identification on the terminal device side and the session association relationship, according to the outgoing port identification, where the outgoing port identification is the port identification on the second terminal device side; or according to The identifier of the second session that carries the data stream determines that the data stream is a data stream between terminal devices.
  • the session management network element can determine that the data stream is a data stream between terminal devices more flexibly, which is suitable for different scenarios.
  • the session management network element receives a second forwarding rule creation request from the policy control function network element, and the second forwarding rule creation request is used to instruct to create a forwarding rule for the second session carrying the data stream, and the second forwarding
  • the rule creation request includes second indication information; the second indication information may indicate that the data flow is a data flow between terminal devices.
  • the session management network element may create a request according to the second forwarding rule, and configure the forwarding rule of the second session as local forwarding.
  • the session management network element After determining that the data flow is a data flow between terminal devices, the session management network element establishes a data flow from the terminal device to the terminal device by configuring the forwarding rule of the second session as local forwarding.
  • the second indication message there are multiple indication modes for the second indication message.
  • a direct indication mode can be used.
  • the second indication message is a character representing that the data stream is a data stream between terminal devices.
  • the conversation The management network element may directly determine that the data flow is the data flow between the terminal devices according to the second indication information.
  • the second indication message may also adopt an indirect indication mode.
  • the session management network element may directly determine the data flow between the terminal devices according to the second indication information:
  • the second indication information includes the ingress port identifier of the data stream and the egress port identifier of the data stream.
  • the session management network element may be based on the association relationship between the port identifier on the terminal device side and the session, and according to the egress port identifier and the egress port identifier are both associated with the session, for example, the egress port is associated with the first session, and the ingress port is associated with the second session;
  • the data flow is the data flow between terminal devices.
  • the second indication information includes the identifier of the first session and the identifier of the second session.
  • the session management network element may be directly based on the identification of the first session and the identification of the second session, and the data stream is carried in the two sessions, so as to determine that the data stream is a data stream between terminal devices.
  • the second indication message includes the ingress port identifier or the identifier of the first session carrying the data stream.
  • the session management network element may determine that the data flow is a data flow between terminal devices based on the port identifier on the terminal device side and the session relationship, according to the ingress port identifier, where the ingress port identifier is the port identifier on the first terminal device side; or The identifier of the first session carrying the data stream determines that the data stream is a data stream between terminal devices.
  • the session management network element can determine that the data stream is a data stream between terminal devices more flexibly, which is suitable for different scenarios.
  • the data stream is a data stream from the first terminal device to the second terminal device
  • the ingress port identifier is the port identifier on the first terminal device side
  • the egress port identifier is the port identifier on the second terminal device side.
  • the session management network element can obtain the delay information of the second terminal device; if it is determined that the second terminal device and the first terminal device can communicate with each other, it can send the information of the second terminal device to the application function network element.
  • the delay information and the third indication information; the third indication information is used to indicate that the port on the first terminal device side and the port on the second terminal device side are a port pair.
  • the session management network element can inform the application function network element that communication between the first terminal device and the second terminal device is possible.
  • the session management network element can obtain the delay information of the first terminal device; if it is determined that the first terminal device and the first terminal device can communicate with each other, it can send the information of the first terminal device to the application function network element.
  • the delay information and the fourth indication information; the fourth indication information is used to indicate that the port on the first terminal device side and the port on the second terminal device side are a port pair.
  • the session management network element can inform the application function network element that communication between the first terminal device and the second terminal device is possible.
  • an embodiment of the present application provides a communication method, the method includes: a policy control function network element receives a first message from an application function network element, the first message includes the configuration required by the PCC rule of the first session carrying the data stream The policy control function network element determines that the data flow is the data flow between the terminal devices according to the information of the second session; the policy control function network element initiates the policy and charging of the first session respectively The creation/modification process of the control rule PCC rule and the creation/modification process of the PCC rule of the second session.
  • the policy control function network element can initiate two PCC rule configuration (such as creation or modification) processes for different sessions under the condition that the data flow is determined to be the data flow between the terminal devices, thereby establishing the connection between the terminal devices. data flow.
  • PCC rule configuration such as creation or modification
  • the information of the second session includes the port identifier of the second session.
  • the policy control function network element determines that the data flow is the data flow between the terminal devices according to the information of the second session, it can be based on the terminal device side. According to the association relationship between the port identifier and the session, it is determined that the data stream is the data stream between the terminal devices according to the port identifier of the second session.
  • the policy control function network element can more conveniently and quickly determine that the data flow is the data flow between the terminal devices.
  • the data stream is the data stream from the first terminal device to the second terminal device, and the first message also includes part or all of the following information: delay information of the first session, delay information of the second session Information, the third delay information;
  • the delay information of the first session is used to indicate the transmission delay between the port on the first terminal device side and the data network
  • the delay information of the second session is used to indicate the transmission delay between the port on the second terminal device side and the data network element.
  • the third delay information, the third delay information is used to indicate the transmission delay between the port on the first terminal device side and the port on the second terminal device side.
  • the policy control function network element when the policy control function network element initiates the creation/modification process of the PCC rule of the first session and the creation/modification process of the PCC rule of the second session respectively, the policy control function network element may follow the first message Determine the 5QI of the first session and the second session; then send the 5QI of the first session and the second session to the session management network element.
  • the first message includes delay information of the first session.
  • the policy control function network element may determine the 5QI of the first session according to the delay information of the first session, and set the 5QI of the second session as the 5QI of the first session.
  • the first message includes the delay information of the second session and the delay information of the first session.
  • the policy control function network element may determine the 5QI of the first session according to the delay information of the first session, and determine the 5QI of the second session according to the delay information of the second session.
  • the first message includes the third delay information
  • the policy control function network element may determine the 5QI of the first session and the second session according to the third delay information.
  • the policy control function network element can determine the 5QI of the first session and the second session through the first message, and create/modify the PCC rules of the first session and the second session.
  • an embodiment of the present application provides a communication method, the method includes: a session management network element receives a forwarding rule creation request of a policy control network element, and the forwarding rule creation request is used to instruct to create a forwarding of a first session carrying a data stream Rule, the forwarding rule creation request includes the information of the second session carrying the data stream; the session management network element determines that the data stream is the data stream between the terminal devices according to the information of the second session; the session management network element configures the first session and the second session respectively The forwarding rule of the session is local forwarding.
  • the session management network element can initiate the creation process of forwarding rules for different sessions twice in the case of determining that the data flow is a data flow between terminal devices, thereby establishing a data flow between terminal devices.
  • the information of the second session includes the port identifier of the second session.
  • the session management network element determines that the data flow is the data flow between the terminal devices according to the information of the second session, it may be based on the port on the terminal device side. The corresponding relationship between the identifier and the session is determined, and the data stream is determined to be the data stream between the terminal devices according to the port identifier of the second session.
  • the session management network element can determine the data flow as the data flow between the terminal devices more conveniently and quickly.
  • the information of the second session includes the session identifier of the second session, and when the session management network element determines that the data stream is a data stream between terminal devices according to the information of the second session, it is determined according to the identifier of the second session
  • the data flow is the data flow between terminal devices.
  • the session management network element can determine the data flow as the data flow between the terminal devices more conveniently and quickly.
  • the embodiments of the present application also provide a communication system.
  • the communication system includes an application function network element and a session management network element.
  • the application function network element is used to obtain the forwarding information of the data stream.
  • the forwarding information of the data stream includes the entry information corresponding to the data stream and the exit information corresponding to the data stream; based on the forwarding information of the data stream, it is determined that the data stream is a data stream between terminal devices ; Send a first indication message to the session management network element through the policy control function network element.
  • the session management network element is configured to receive a first forwarding rule creation request from the policy control function network element, the first forwarding rule creation request is used to instruct to create a forwarding rule for the first session carrying the data stream, and the first forwarding rule creation request includes the first forwarding rule creation request.
  • One indication information according to the first indication information, it is determined that the data flow is a data flow between terminal devices; according to the first forwarding rule creation request, the forwarding rule of the first session is configured as local forwarding.
  • the ingress information includes the ingress port identifier of the data stream, and the egress information includes the out port identifier of the data stream; when the application function network element determines that the data stream is a data stream between terminal devices based on the forwarding information of the data stream, The data flow can be determined as the data flow between the first terminal device and the second terminal device according to the outgoing port identifier and the ingress port identifier, where the outgoing port identifier is the port identifier on the second terminal device side and the ingress port identifier is the first terminal device Port ID of the side.
  • the application function network element when the application function network element determines that the data flow is a data flow between terminal devices based on the outgoing port identifier and the ingress port identifier, it can communicate with the first session and the second session respectively based on the outgoing port identifier and the ingress port identifier. Correlate, determine that the data flow is the data flow between the terminal devices.
  • the data stream is a data stream from a first terminal device to a second terminal device
  • the first session is a session established by the first terminal device
  • the second session is a session established by the second terminal device.
  • the application function network element may determine that the first terminal device and the second terminal device can communicate with each other; according to the acquired time of the first terminal device
  • the delay information and the delay information of the second terminal device are reported to the devices in the delay-sensitive network of the transmission delay from the port on the first terminal device side to the port on the second terminal device side; among them, the delay of the second terminal device
  • the information is used to indicate the transmission delay between the port on the second terminal device side and the data network
  • the delay information of the first terminal device is used to indicate the transmission delay between the port on the first terminal device side and the data network.
  • the session management network element can obtain the delay information of the second terminal device; after it is determined that the second terminal device and the first terminal device can communicate with each other, send the information of the second terminal device to the application function network element.
  • the delay information and the third indication information where the third indication information is used to indicate that the port on the first terminal device side and the port on the second terminal device side are a port pair.
  • the application function network element receives the delay information of the first terminal device when the first terminal device establishes the first session, and when the second terminal device establishes the second session, receives the delay information of the second terminal device from the session management network element And the third indication information, according to the third indication information, it is determined that the first terminal device and the second terminal device can communicate with each other.
  • the session management network element can obtain the delay information of the first terminal device; after it is determined that the second terminal device and the first terminal device can communicate with each other, it sends the information of the first terminal device to the application function network element.
  • the delay information and fourth indication information where the fourth indication information is used to indicate that the port on the first terminal device side and the port on the second terminal device side are a port pair.
  • the second terminal device establishes the second session, receive the delay information of the second terminal device.
  • the application function network element receives the delay information of the first terminal device from the session management network element.
  • the fourth instruction information according to the third instruction information, it is determined that the first terminal device and the second terminal device can communicate with each other.
  • the application function network element may receive the delay information of the first terminal device;
  • the application function network element may receive the delay information of the second terminal device; the application function network element may determine that the first terminal device and the second terminal device can communicate with each other according to the group information.
  • the first indication message includes an egress port identifier or an identifier of the second session.
  • the session management network element determines that the data flow is the data flow between the terminal devices according to the first indication information, it may determine that the data flow is the data flow between the terminal devices based on the port identification on the terminal device side and the session relationship, according to the outgoing port identification. , Where the outgoing port identifier is the port identifier on the side of the second terminal device; it is also possible to determine that the data stream is the data stream between the terminal devices according to the identifier of the second session carrying the data stream.
  • the ingress information includes the identifier of the first session
  • the egress information includes the identifier of the second session
  • the application function network element determines that the data stream is the data stream between the terminal devices based on the forwarding information of the data stream.
  • the identifier of one session and the identifier of the second session determine that the data flow is a data flow between terminal devices.
  • the application function network element may also send a second indication message to the session management network element through the policy control function network element.
  • the session management network element may also receive a second forwarding rule creation request from the policy control function network element.
  • the second forwarding rule creation request is used to instruct to create a forwarding rule for the second session carrying the data stream, and the second forwarding rule creation request includes the second forwarding rule creation request.
  • Indication information according to the second indication information, it is determined that the data stream is a data stream between terminal devices; according to the second forwarding rule creation request, the forwarding rule of the second session is configured as local forwarding.
  • the second indication message includes an ingress port identifier or an identifier of the first session.
  • the session management network element determines that the data flow is the data flow between the terminal devices according to the second indication information, it may determine that the data flow is the data flow between the terminal devices based on the port identification on the terminal device side and the session relationship, according to the ingress port identification. , Where the ingress port identifier is the port identifier on the side of the first terminal device; it can also be determined that the data stream is the data stream between the terminal devices according to the identifier of the first session carrying the data stream.
  • an embodiment of the present application also provides a communication device, which is applied to an application function network element, and the beneficial effects can be referred to the description of the first aspect and will not be repeated here.
  • the device has the function of realizing the behavior in the method example of the first aspect described above.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the structure of the device includes a receiving unit and a processing unit, and may also include a sending unit. These units can perform the corresponding functions in the above-mentioned method example of the first aspect. For details, please refer to the detailed description in the method example. Do not repeat them here.
  • an embodiment of the present application also provides a communication device, which is applied to a session management network element, and the beneficial effects can be referred to the description of the second aspect, which will not be repeated here.
  • the device has the function of realizing the behavior in the method example of the second aspect.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the structure of the device includes a receiving unit and a processing unit, and may also include a sending unit. These units can perform the corresponding functions in the method example of the second aspect above. For details, refer to the detailed description in the method example. Do not repeat them here.
  • an embodiment of the present application also provides a communication device, which is applied to a policy control function network element, and the beneficial effects can be referred to the description of the third aspect and will not be repeated here.
  • the device has the function of realizing the behavior in the method example of the third aspect.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the structure of the device includes a receiving unit and a sending unit, and may also include a processing unit. These units can perform the corresponding functions in the method examples of the third aspect. For details, please refer to the detailed description in the method examples. Do not repeat them here.
  • an embodiment of the present application also provides a communication device, which is applied to a session management network element, and the beneficial effects can be referred to the description of the fourth aspect and will not be repeated here.
  • the device has the function of realizing the behavior in the method example of the fourth aspect.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the structure of the device includes a receiving unit and a processing unit, and may also include a sending unit. These units can perform the corresponding functions in the method examples of the fourth aspect. For details, please refer to the detailed description in the method examples. Do not repeat them here.
  • an embodiment of the present application also provides a communication device, which is applied to an application function network element, and the beneficial effects can be referred to the description of the first aspect and will not be repeated here.
  • the structure of the communication device includes a processor and a memory, and the processor is configured to support the base station to execute the corresponding function in the method of the first aspect described above.
  • the memory is coupled with the processor, and it stores program instructions and data necessary for the communication device.
  • the structure of the communication device also includes a communication interface for communicating with other devices.
  • an embodiment of the present application also provides a communication device, the communication device is applied to a session management network element, and the beneficial effects can be referred to the description of the second aspect and will not be repeated here.
  • the structure of the communication device includes a processor and a memory, and the processor is configured to support the base station to perform the corresponding function in the method of the second aspect.
  • the memory is coupled with the processor, and it stores program instructions and data necessary for the communication device.
  • the structure of the communication device also includes a communication interface for communicating with other devices.
  • an embodiment of the present application also provides a communication device, which is applied to a policy control function network element, and the beneficial effects can be referred to the description of the third aspect and will not be repeated here.
  • the structure of the communication device includes a processor and a memory, and the processor is configured to support the base station to perform the corresponding function in the method of the third aspect described above.
  • the memory is coupled with the processor, and it stores program instructions and data necessary for the communication device.
  • the structure of the communication device also includes a communication interface for communicating with other devices.
  • an embodiment of the present application also provides a communication device, which is applied to a session management network element, and the beneficial effects can be referred to the description of the fourth aspect, which will not be repeated here.
  • the structure of the communication device includes a processor and a memory, and the processor is configured to support the base station to perform the corresponding functions in the above-mentioned fourth aspect method.
  • the memory is coupled with the processor, and it stores program instructions and data necessary for the communication device.
  • the structure of the communication device also includes a communication interface for communicating with other devices.
  • the present application also provides a computer-readable storage medium that stores instructions in the computer-readable storage medium, which when run on a computer, causes the computer to execute the methods described in the above aspects.
  • this application also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the methods described in the above aspects.
  • the present application also provides a computer chip connected to a memory, and the chip is configured to read and execute a software program stored in the memory, and execute the methods described in the foregoing aspects.
  • Figure 1 is a schematic diagram of the network architecture of the 5G system
  • FIG. 2 is a schematic diagram of the network topology of TSN
  • FIG. 3 is a schematic diagram of TSN's centralized management architecture
  • Figure 4a is a schematic diagram of a network architecture provided by an embodiment of this application.
  • FIG. 4b is a schematic diagram of a network architecture provided by an embodiment of this application.
  • 5-11 are schematic diagrams of a communication method provided by embodiments of this application.
  • Figures 12 to 16 are schematic structural diagrams of a communication device provided by embodiments of this application.
  • This application provides a communication method, device, and system to create a UE-to-UE data stream.
  • the embodiment of this application relates to a communication method in which the 5G system and TSN are combined to virtualize the 5G system into a switching node in the TSN.
  • the following first describes the 5G system, TSN and the network architecture applicable to the embodiment of this application. .
  • the network architecture is a 5G network architecture.
  • the network elements in the 5G architecture include terminal equipment.
  • the terminal equipment is the UE as an example.
  • the network architecture also includes radio access network (RAN), access and mobility management function (access and mobility management function, AMF) network elements, session management function (session management function, SMF) network elements, user plane Function (user plane function, UPF) network element, policy control function (policy control function, PCF) network element, application function (AF) network element, data network (data network, DN), etc.
  • RAN radio access network
  • AMF access and mobility management function
  • SMF session management function
  • user plane Function user plane function
  • policy control function policy control function
  • PCF application function
  • AF application function
  • RAN The main function of RAN is to control users to access the mobile communication network through wireless.
  • RAN is a part of mobile communication system. It implements a wireless access technology. Conceptually, it resides between a certain device (such as a mobile phone, a computer, or any remote control machine) and provides a connection to its core network.
  • the AMF network element is responsible for the terminal's access management and mobility management. In practical applications, it includes the mobility management function in the MME in the LTE network framework, and adds the access management function.
  • the SMF network element is responsible for session management, such as user session establishment.
  • the UPF network element is a functional network element of the user plane, which is mainly responsible for connecting to external networks. It includes the related functions of the LTE service gateway (serving gateway, SGW) and the public data network gateway (public data network GateWay, PDN-GW).
  • SGW serving gateway
  • PDN-GW public data network GateWay
  • the DN is responsible for the network that provides services for the terminal. For example, some DNs provide the terminal with Internet access, and some other DNs provide the terminal with short message functions.
  • PCF policy and charging rules function
  • the AF network element can be a third-party application control platform or the operator’s own equipment.
  • the AF network element can provide services for multiple application servers.
  • the AF network element is a functional network element that can provide various business services.
  • NEF network elements interact with the core network and can interact with the policy management framework for policy management.
  • the core network control plane function network elements also include network exposure function (NEF), unified data management (unified data management, UDM), and unified data repository (UDR) for network elements.
  • Network element, NEF network element is used to provide the framework, authentication and interface related to network capability opening, and transfer information between 5G system network functions and other network functions;
  • UDR network element is mainly used to store user-related contract data and policy data , Used for open structured data and application data;
  • UDM network elements can store the user's subscription information to achieve a backend similar to the HSS in 4G.
  • the terminal equipment in this application also known as user equipment (UE), is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; and can also be deployed on water. On board (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons, and satellites, etc.).
  • UE user equipment
  • Terminal devices can be mobile phones, tablets, computers with wireless transceiver functions, virtual reality (VR) terminals, augmented reality (AR) terminals, industrial control (industrial control)
  • TSN generally includes a bridge and an end station.
  • the data terminal and the switching node can form a network topology, and the switching node can forward packets through its configuration or creation of forwarding information. Forward the message to the data terminal or other switching node.
  • FIG. 2 is a schematic diagram of a simple network topology of TSN, which includes multiple data terminals and switching nodes.
  • TSN is based on Layer 2 transmission.
  • the TSN standard defines the behavior of data terminals and switching nodes, as well as the scheduling method for switching nodes to forward data streams, so as to achieve reliable delay transmission.
  • the switching node in the TSN uses the destination media access control address (MAC) address of the message, the Internet Protocol (IP) address or other message characteristics as the flow identifier of the data flow, according to
  • MAC media access control address
  • IP Internet Protocol
  • the delay requirement of the data stream is used for resource reservation and scheduling planning, so as to ensure reliability and transmission delay according to the generated scheduling strategy.
  • the data terminal can be divided into a sender (talker) and a receiver (listener).
  • the sender of the data stream (stream) is called the sender (talker), and the receiver of the data stream is called the receiver (listener);
  • the TSN configuration will start.
  • the TSN configuration includes configuring the switching node on the path from the sending end to the receiving end.
  • the TSN may also include configuration network elements for implementing TSN configuration, such as centralized network configuration (CNC) network elements and centralized user configuration (CUC) network elements.
  • configuration network elements for implementing TSN configuration, such as centralized network configuration (CNC) network elements and centralized user configuration (CUC) network elements.
  • CNC centralized network configuration
  • CRC centralized user configuration
  • FIG. 3 is a schematic diagram of TSN's centralized management architecture.
  • the centralized management architecture is one of the three architectures defined by 802.1qcc in the TSN standard.
  • the centralized management architecture includes the sending end, the receiving end, the switching node, and the CNC network. Yuan and CUC network elements. It should be noted that the number of network elements and the network topology shown in FIG. 3 are only examples, and the embodiments of the present application are not limited.
  • the switching node reserves resources for data streams according to the definition of the TSN standard, and schedules and forwards data packets.
  • the CNC network element is responsible for managing the topology of the TSN user plane and the information of the switching node, and according to the flow creation request provided by the CUC network element, generating the transmission path of the data stream and the forwarding information on the data terminal and each switching node, and then the switching node
  • the forwarding information (such as the flow identification of the data flow, the identification of the access port of the switching node when the switching node performs data transmission, and other information) is issued to the corresponding switching node.
  • the information of the switching node includes the port information of the switching node (such as information such as the ingress port and the egress port of data transmission) and the delay information (the internal transmission delay of the switching node).
  • the 5G system may be used as a virtual switching node, and the information of the virtual switching node also includes port information and delay information of the virtual switching node.
  • the ports of the virtual switching node are divided into ingress ports and egress ports for transmitting uplink and downlink data.
  • the ingress ports of the virtual switching node include the ports on the UE side and the ports on the UPF side.
  • the ports on the UE side receive uplink data
  • the UPF side receives the ports.
  • the port for downlink data, the outgoing port of the virtual switching node includes the port on the UE side and the port on the UPF side, such as the port on the UE side for sending downlink data, and the port on the UPF side for sending uplink data (downlink port).
  • the CUC network element is used to obtain the TSN capability of the data terminal, that is, the number of ports of the data terminal, the MAC address of each data terminal's port, and the 802.1 capability supported by each port.
  • the CUC network element can collect the flow creation request of the data terminal, after matching the flow creation request of the sending end and the receiving end, request the CNC network element to create a data flow, and confirm the forwarding information generated by the CNC network element.
  • Matching the flow creation request of the sender and the receiver refers to the flow creation request sent by the sender and the receiver to the CUC network element.
  • the flow creation request includes some information, such as the destination MAC address of the requested data stream, and the CUC network element.
  • CNC network elements and CUC network elements are control plane network elements in TSN.
  • the switching node in TSN also needs to have other functions, such as having a topology discovery function, determining the switch identification and switch port identification, and supporting the link layer discovery protocol (link layer discovery protocol, LLDP) and other protocols.
  • the transmission delay may be determined, and after the internal transmission delay of the switching node is detected, the detected transmission delay may be reported to the configuration network element.
  • FIG 4a A network architecture diagram applicable to the present application, wherein a combination of the fifth generation mobile communication (5 th -generation, 5G) and TSN system network architecture.
  • 5G fifth generation mobile communication
  • FIG 4a the schematic diagram of the network architecture, the control plane of the TSN adaptation function is added to the AF network element, the user plane (UP) 1 of the TSN adaptation function is added to the UPF network element, and the TSN is added to the UE
  • the UP2 of the adaptation function, these three together with the 5G system form a logical switching node, that is, a virtual switching node, as the switching node in the TSN.
  • UPF and UP1 are drawn separately, in fact, UP1 and UP2 are the logical functions of the user plane TSN adaptation function.
  • UP1 can be deployed on UPF network elements, or UP1 can be UPF network elements In the same way, UP2 can be deployed on the UE, or UP2 can be the internal function module of the UE.
  • the TSN adaptation function refers to adapting the characteristics and information of the 5G network to the information required by the TSN, and communicating with the network elements in the TSN through the interface defined by the TSN.
  • the AF network element serves as the connection node between the 5G system and the TSN.
  • the AF network element can interact with the CNC network element in the TSN and provide the CNC network element with the information of the logical switching node according to the requirements of the TSN switching node.
  • the user-oriented TSN adaptation function The control plane of the TSN adaptation function provides the necessary information, that is, UP1 can provide the necessary information to the AF network element, for example, it can provide the information of the switching node in the TSN, can identify the TSN to which the CNC network element belongs, and can also provide the PCF in the 5G system
  • the network element provides the DNN of TSN.
  • the UE-side port included in the virtual switching node may be a UE or UP2 physical port, and may include one or more UE-side physical ports.
  • the ports on the UE side can be based on UE granularity, that is, one UE corresponds to one port, and different UEs correspond to different ports; it can also be based on PDU session granularity, that is, one session corresponds to one port, and different sessions correspond to different ports; It can also be based on TSN granularity, that is, one TSN domain corresponds to one or more ports, and the same virtual port cannot correspond to different TSN domains.
  • the ports on the UPF side included in the virtual switching node are physical ports of UPF or UP1.
  • One UPF or UP1 can include multiple physical ports.
  • One physical port of UPF or UP1 corresponds to one virtual switching node, but a virtual switching node can include one UPF or multiple physical ports of UP1, or multiple UPF or UP1. Multiple physical ports.
  • FIG. 4b it is a schematic diagram of another network architecture applicable to this application.
  • the user plane with the TSN adaptation function deployed on the UE or the user plane with the TSN adaptation function is the internal functional module of the UE.
  • UP2 and UP2 in 4a are used to obtain the port information of the UE and send it to the AF network element through the control plane.
  • SMF network elements can interact with AF network elements through PCF network elements or NEF network elements, or directly interact with AF network elements. This embodiment of the application does not limited.
  • the AF network element is a logical network element, which can be a component in another logical network element (for example, a component in an SMF network element), or other control plane function network element, and its name is not limited here.
  • the virtual switching node includes two UEs, namely UE1 and UE2.
  • the data terminal 1 is connected to a port on the UE1 side (such as port 1), and the data terminal 2 is connected to a port on the UE2 side (such as port 2).
  • the UPF network element is connected to other data terminals (such as data terminal 3) or switching nodes through a port on the UPF side (such as port 3).
  • the device connected to the UE side is a data terminal as an example.
  • the UE side can also be connected to a switching node, which is not limited in this embodiment of the application.
  • the data stream is transmitted in the TSN network based on the definition of TSN, and when passing through the 5G user plane, the transmission mechanism of the 5G system is used for transmission.
  • the data stream sent from the 5G network side to the UE side is a downstream stream, and the downstream stream can be carried in the session of the UE.
  • the downstream stream can be a QoS stream in the session of the UE; data stream
  • the uplink is sent from the UE side to the 5G network side.
  • the uplink can be carried in the session of the UE.
  • the uplink can be a QoS flow in the session of the UE.
  • the downlink can be called Downstream and upstream can be called upstream.
  • the data flow is a data flow from the UE to the UE, and the data flow includes a downlink flow sent from the 5G network side to the UE side and an uplink flow sent from the UE side to the 5G network side.
  • the uplink and downlink are respectively carried in the session of the UE.
  • the session that carries the uplink is the first session, and the session that carries the downlink is the second session.
  • the network architecture shown in FIGS. 4a to 4b is only a network architecture in which the 5G system and TSN are combined.
  • the communication methods involved in the embodiments of the present application are compared based on the schematic diagrams of the network architecture shown in FIGS. 4a to 4b.
  • the embodiment of the present application does not limit the combination of other communication systems with TSN.
  • other communication systems are virtual switching nodes in TSN
  • other communication systems are provided with network elements that can implement related functions (such as In the embodiments of this application, terminal equipment, session management network elements, or mobile access management network elements and other functional network elements) are used to ensure that other communication systems have the function of switching nodes.
  • network elements that can implement related functions (such as In the embodiments of this application, terminal equipment, session management network elements, or mobile access management network elements and other functional network elements) are used to ensure that other communication systems have the function of switching nodes.
  • terminal equipment terminal equipment
  • session management network elements or mobile access management network elements and other functional network elements
  • FIGS. 4a to 4b Taking the network architecture shown in FIGS. 4a to 4b as an example, the manner of configuring the forwarding information of the data flow between the UE and the DN side in the network architecture of the 5G system and the TSN intercommunication will be described.
  • the AF network element may first obtain the forwarding information of the data stream from the CNC network element.
  • the forwarding information of the data stream includes the stream identifier of the data stream, the ingress port identifier of the data stream, and the egress port identifier of the data stream.
  • the ingress port identifier is used to indicate the port through which the virtual switching node receives the data stream.
  • the ingress port can be a port on the UE side or a port on the UPF side; the egress port identifier is used to indicate the port through which the virtual switching node sends the data stream.
  • the port may be a port on the UE side or a port on the UPF side.
  • the AF network element may include storing the association relationship between the identifier of one or more UE-side ports and the protocol data unit (PDU) session. After the AF network element receives the forwarding information of the data stream, it can determine the corresponding PDU session Y according to the outgoing port identifier of the data stream or the ingress port identifier of the data stream in the forwarding information of the data stream.
  • PDU protocol data unit
  • the PCF network element sends the identifier of PDU session Y (such as the MAC address corresponding to PDU session Y) and the destination MAC address of the data stream; optionally, it can also send the outbound port identifier and/or ingress port identifier of the data stream; optional , You can also send the data flow direction (upstream data stream or downstream data stream).
  • PCC rule policy and charging control rule
  • QoS quality of service
  • the PCF network element creates/modifies the QoS flow from the UE to the UPF network element in the corresponding PDU session after receiving the instruction from the AF network element, that is, establishes an upstream flow. Or a downstream.
  • the UE-to-UE data flow since the uplink and the downlink are involved at the same time, there is no way to realize the creation of the UE-to-UE data flow.
  • the embodiment of this application provides a communication method to create a data flow from UE to UE.
  • the application function network element may receive the entry information corresponding to the data flow and the corresponding data flow. After the forwarding information of the data stream of the egress information, it is determined according to the forwarding information of the data stream that the data stream is a data stream between terminal devices, and then the core network device is triggered to be the first session corresponding to the ingress information and the second session corresponding to the egress information. PPC rules for the session.
  • the session management network element receives the forwarding rule creation request from the policy control function network element
  • the data flow determined according to the indication information (such as the first indication information or the second indication information) carried in the forwarding rule is the terminal device
  • the forwarding rule creation request configure the forwarding rules of the first session and the second session as local forwarding according to the forwarding rule creation request, and then create a data flow between the terminal devices.
  • the method includes:
  • Step 501 The application function network element obtains the forwarding information of the data stream.
  • the forwarding information of the data stream includes the entry information corresponding to the data stream and the exit information corresponding to the data stream.
  • This application does not limit the way the application function network element obtains the forwarding information of the data stream.
  • the centralized network configuration network element receives the stream creation request for requesting the creation of the data stream, it generates the transmission path of the data stream, and The forwarding information of the data flow on the data terminal and each switching node, and then the forwarding information of the data flow on the virtual switching node where the application function network element is located is sent to the application function network element.
  • the forwarding information of the data stream may be pre-configured in the application function network element.
  • the application function network element may obtain the forwarding information of the data stream from other networks.
  • the entry information corresponding to the data stream indicates the entry of the data stream into the virtual switching node.
  • the ingress information corresponding to the data stream may include part or all of the following information: the ingress port identifier of the data stream and the identifier of the first session.
  • the first session is the session corresponding to the entry information, and is the session that carries the data stream (the upstream stream in).
  • the exit information corresponding to the data stream indicates that the data stream flows out of the exit of the virtual switching node.
  • the egress information corresponding to the data stream may include part or all of the following information: the egress port identifier of the data stream and the identifier of the second session.
  • the second session is the session corresponding to the egress information, and is the session that carries the data stream (the downstream stream in).
  • Step 502 The application function network element determines that the data flow is a data flow between terminal devices based on the forwarding information of the data flow.
  • the way that the application function network element determines that the data stream is the data stream between the terminal devices based on the forwarding information of the data stream is also different.
  • the following is the determination of the data stream for the application function network element
  • the methods of data flow between terminal devices are introduced separately:
  • the ingress information corresponding to the data stream includes the ingress port identifier of the data stream, and the egress information corresponding to the data stream includes the out port identifier of the data stream.
  • the application function network element determines that the ingress port identifier and the egress port identifier are respectively associated with the first session and the second session. For example, the application function network element may be based on the association relationship between the port identifier on the terminal device side and the session, and according to the ingress port identifier It is determined with the egress port identifier that the egress port identifier and the ingress port identifier respectively correspond to the session, and then it is determined that the data flow is a data flow between terminal devices.
  • the association relationship between the port identifier on the terminal device side and the session may be stored locally by the application function network element, or may be obtained by the application function network element from other network elements (such as session management network elements). This embodiment does not Limit the manner in which the application function network element obtains the association relationship between the port identifier on the terminal device side and the session.
  • the application function network element determines that the ingress port identifier is the port identifier on the first terminal device side, and the egress port identifier is the port identifier on the second terminal device side, then the data flow is from the first terminal device to the second terminal device.
  • the data flow of the terminal device That is, the first session is a session of the first terminal device, and the second data is a session of the second terminal device.
  • the data stream enters from the port on the first terminal device side and flows out from the port on the second terminal device side.
  • the manner in which the application function network element determines that the ingress port identifier is the port identifier on the first terminal device side and the egress port identifier is the port identifier on the second terminal device side is not limited in this embodiment of the application.
  • the application function network element may be based on The corresponding relationship between the terminal device and the port determines the port identifier on the first terminal device side and the outgoing port identifier is the port identifier on the second terminal device side.
  • the corresponding relationship between the terminal device and the port can be stored locally by the application function network element, or it can be The application function network element obtains it from other network elements (such as a session management network element).
  • the embodiment of this application does not limit the manner in which the application function network element obtains the association relationship between the port identifier on the terminal device side and the session.
  • the entry information corresponding to the data stream includes the identifier of the first session, and the exit information corresponding to the data stream includes the identifier of the second session.
  • the application function network element directly determines that the data stream is a data stream between terminal devices according to the identifier of the first session and the identifier of the second session.
  • the application function network element may trigger the policy control function network element to configure the PCC rule of the first session and the PCC rule of the second session.
  • the application function network element When the application function network element determines that the data flow is a data flow between terminal devices, it can trigger the policy control function network element configuration to initiate two PCC rule creation/modification processes, which are the PCC rule creation/modification process of the first session and The creation/modification process of the PCC rule for the second session.
  • the embodiment of this application does not limit the sequence in which the application function network element instructs the policy control function network element to configure the creation/modification process of two PCC rules.
  • the application function network element triggers the policy control function network element first. Initiate the creation/modification process of the PCC rule for the first session, and then trigger the policy control function network element to initiate the creation/modification process of the PCC rule for the second session as an example for description.
  • configuring the PCC rule for the first session is actually configuring the PCC rule for the QoS flow in the first session (that is, the upstream flow), and configuring the PCC rule for the second session is actually configuring the QoS flow in the second session (That is, the PCC rules for downstream).
  • Step 503a The policy control function network element receives a first message from the application function network element, where the first message includes the information required to configure the PCC rule of the first session and the first indication information.
  • the first indication information is used to indicate that the data stream is a data stream between terminal devices.
  • the information required to configure the PCC rule for the first session includes, but is not limited to: the flow identification of the data flow, the first delay information, the identification of the port corresponding to the first session, the identification of the first session, the direction of the data flow, and the 2. Port identification information corresponding to the session.
  • the first delay information indicates that when a packet of a data stream is transmitted through the first session of the first terminal device, the port on the first terminal device side (in this embodiment of the application, the first terminal device side port is the data stream Incoming port) and the transmission delay of forwarding packets between user plane network elements. Therefore, the first delay information may also be referred to as the delay information of the first session or the delay information of the first terminal device.
  • the first session may correspond to the port on the first terminal device side, and the identifier of the port corresponding to the first session may be the identifier of the port on the first terminal device side.
  • the embodiment of the present application does not limit the manner in which the first indication information indicates that the data stream is a data stream between terminal devices.
  • the first indication information may adopt a direct indication method.
  • the first indication information may be a pre-appointed character indicating that the data stream is a data stream between terminal devices.
  • the first indication information may adopt an indirect indication. In this manner, the first indication information may include the identifier of the second session or the outbound port identifier of the data stream.
  • the application function network element needs to obtain the first delay information.
  • the embodiment of this application does not limit the application function network element to obtain the first delay information. the way.
  • the application function network element may directly obtain the first delay information from other network elements, and the application function network element may also first obtain the information required to calculate the first delay information (such as the residence delay of the first terminal device, the first delay information).
  • a PDB between a terminal device and a user plane network element uses the information required to calculate the first delay information to calculate the first delay information by itself.
  • the other network element may be a session management network element (for example, the session management network element sends the first delay information or information required for calculating the first delay information through the policy control function network element), or may be a policy control function network element.
  • the information required to calculate the first delay information includes the residence delay of the first terminal device, the packet delay budget (PDB) between the first terminal device and the user plane network element, and the first terminal device
  • the residency delay refers to the transmission delay of forwarding packets between the first terminal device and its corresponding UP2, and the PDB is used to indicate the transmission of data between user plane nodes (including UE, access network equipment, and UPF network elements)
  • the maximum delay budget of the stream includes the residence delay of the first terminal device, the packet delay budget (PDB) between the first terminal device and the user plane network element, and the first terminal device
  • the residency delay refers to the transmission delay of forwarding packets between the first terminal device and its corresponding UP2
  • the PDB is used to indicate the transmission of data between user plane nodes (including UE, access network equipment, and UPF network elements)
  • the maximum delay budget of the stream includes the residence delay of the first terminal device, the packet delay budget (PDB) between the first terminal device and the user plane network element, and the first terminal device
  • the first session may correspond to one or more ports on the first terminal device side (such as multiple UP2 ports).
  • the application function network element may obtain multiple ports in advance.
  • First delay information or information required to calculate multiple first delay information each first transmission delay may be the transmission of a packet forwarded between a port on the first terminal device side and a user plane network element Time delay.
  • the policy control function network element may configure the PCC rule of the first session according to the first message, which includes a 5G QoS indicator (5G QoS indicator, 5QI) for determining the upstream flow in the data flow according to the first delay information.
  • 5G QoS indicator, 5QI 5G QoS indicator
  • Step 504a After configuring the PCC rule for the first session, the policy control function network element may send a first forwarding rule creation request to the session management network element, where the first forwarding rule creation request is used to instruct to create a forwarding rule for the first session ,
  • the first forwarding rule creation request includes the first indication information.
  • Step 505a After receiving the first forwarding rule creation request, the session management network element may determine, according to the first indication information, that the data flow is a data flow between terminal devices.
  • the indication mode of the first indication information is different, and the mode for the session management network element to determine that the data stream is a data stream between terminal devices is also different:
  • the session management network element may directly determine that the data stream is a data stream between terminal devices according to the first indication information.
  • the session management network element can determine that the egress of the data stream is a terminal device, that is, the data stream is data between terminal devices flow.
  • the session management network element can determine that the outgoing port identifier corresponds to a session according to the association relationship between the port identifier on the terminal device side and the session, and then determine that the data stream is between the terminal devices. data flow.
  • Step 506a The session management network element configures the forwarding rule of the first session as local forwarding.
  • local forwarding refers to configuring the forwarding policy in the forwarding rule of the first session to send the upstream packet to the local forwarding module.
  • the session management network element may be configured with the destination interface in the forwarding action rule (forwarding action rule, FAR) as "internal interface (internal interface)" (the specific name of the internal interface is not limited here).
  • Step 503b The policy control function network element receives a second message from the application function network element, where the second message includes the information required to configure the PCC rule of the second session and the second indication information.
  • the second indication information is used to indicate that the data stream is a data stream between terminal devices.
  • the information required to configure the PCC rule for the second session includes, but is not limited to: the flow identification of the data flow, the second delay information, the identification of the port corresponding to the second session, the identification of the second session, the direction of the data flow, the first Port ID corresponding to a session.
  • the second delay information indicates that when the packet of the data stream is transmitted through the second session of the second terminal device, the port on the second terminal device side (in this embodiment of the application, the second terminal device side port is the data stream Incoming port) and the transmission delay of forwarding packets between user plane network elements. Therefore, the second delay information may also be referred to as the delay information of the second session or the delay information of the second terminal device.
  • the second session may correspond to the port on the second terminal device side, and the identifier of the port corresponding to the second session may be the identifier of the port on the second terminal device side.
  • the embodiment of the present application does not limit the manner in which the second indication information indicates that the data stream is a data stream between terminal devices.
  • the second indication information may adopt a direct indication method.
  • the second indication information may be a pre-appointed character indicating that the data stream is a data stream between terminal devices.
  • the second indication information may adopt an indirect indication.
  • the second indication information may include the identifier of the first session or the outbound port identifier of the data flow.
  • the application function network element needs to obtain the second delay information first, and the method for the application function network element to obtain the second delay information is the same as that of the application function network element.
  • the method of the first delay information is the same.
  • each second transmission delay may be the transmission of a packet forwarded between a port on the second terminal device side and a user plane network element Time delay.
  • the policy control function network element may configure the PCC rule of the second session according to the second message, which includes determining the 5QI of the downstream in the data stream according to the second delay information.
  • Step 504b After the policy control function network element is configured with the PCC rule for the second session, it may send a second forwarding rule creation request to the session management network element, where the second forwarding rule creation request is used to instruct the creation of a forwarding rule for the second session ,
  • the first forwarding rule creation request includes the second indication information.
  • Step 505b After receiving the second forwarding rule creation request, the session management network element may determine that the data flow is a data flow between terminal devices according to the second indication information.
  • the manner in which the session management network element determines that the data flow is a data flow between terminal devices according to the second indication information is the same as the manner in which the session management network element determines that the data flow is a data flow between terminal devices according to the first indication information. For details, see The foregoing content will not be repeated here.
  • Step 506b The session management network element configures the forwarding rule of the second session as local forwarding.
  • the forwarding policy in the forwarding rule in the local forwarding configuration second session is to match the packet from the local forwarding module.
  • the session management network element may configure the source interface in the packet detection rule (PDR) as "internal interface” (the specific name of the internal interface is not limited here).
  • step 503a and step 503b it needs to obtain the first delay information and the second delay information.
  • the embodiment of the present application does not limit the order in which the application function network element obtains the first delay information and the second delay information.
  • the following takes the application function network element to first obtain the first delay information as an example for description.
  • the session management network element can establish a first session for the first terminal device.
  • the session management network element may also send information (through the policy control network element) required for calculating the delay information of the first terminal device to the application function network element.
  • the session management network element may establish a second session for the second terminal device, and when establishing the second session, determine the delay information of the second terminal device , The session management network element may send the delay information of the second terminal device or information required for calculating the delay information of the second terminal device to the application function network element.
  • the session management network element may combine the delay information of the second terminal device (or calculate the delay information of the second terminal device) and The third instruction information is sent to the application function network element.
  • the third indication information is used to indicate that the port on the first terminal device side and the port on the second terminal device side are a port pair, that is, the first terminal device and the second terminal device can communicate.
  • the third indication information indication mode is not limited in the embodiment of the application.
  • a direct indication mode may be used.
  • the first indication information is a character indicating that the port on the first terminal device side and the port on the second terminal device side are a port pair.
  • the third indication information may also be indirectly indicated.
  • the third indication information may be the identification information of the first terminal device, the identification of the first terminal device, or the port identification of the first terminal device. .
  • the application function network element has the delay information of the second terminal device (or calculated the delay information of the second terminal device) and the third indication information, and determines that the first terminal device and the second terminal device can communicate according to the third indication information,
  • the transmission delay between the port on the first terminal device side and the port on the second terminal device side (referred to as the third delay information in the embodiment of the present application) can be reported to the device in the TSN.
  • the third delay information is determined by the application function network element according to the sum of the delay information of the first terminal device and the delay information of the second terminal device.
  • the session management network element may also not send the third indication information when sending the second delay information, and the application function network element may determine that the first terminal device and the second terminal device can communicate with each other according to the group information. One terminal device can communicate with the second terminal device. If it is determined that the first terminal device and the second terminal device can communicate with each other, the application function network element may report the transmission delay between the port on the first terminal device side and the port on the second terminal device side to the device in the TSN.
  • the case where the application function network element first obtains the second delay information is similar to the case where the application function network element first obtains the first delay information. That is, the session management network element may send the first delay information and the fourth indication information (such as the identification information of the second terminal device, the identification information of the second terminal device and the identification information of the first terminal device) to the application function network element.
  • the application function network element determines that the first terminal device and the second terminal device can communicate according to the identification information of the second terminal device, and then determines The third time delay information is reported.
  • the identification information of the first terminal device and the identification information of the second terminal essentially have an indicating function, indicating that the first terminal device and the second terminal device can communicate with each other and can communicate.
  • the embodiment of the present application does not limit other ways to indicate that the first terminal device and the second terminal device can communicate, and the identification information of the first terminal device and the identification information of the second terminal are merely examples.
  • the application function network element also directly obtains the third delay information, and the manner in which the application function network element obtains the third delay information is not limited in this embodiment.
  • the application function network element may first obtain the third delay information.
  • the application function network element may also determine the third delay information according to the first delay information and the second delay information after acquiring the first delay information and the second delay information.
  • the application function network element may send the third delay information to the TSN.
  • the application function network element when the application function network element reports the third delay information, it may also send the port identifier on the first terminal device side and the port identifier on the second terminal device side to indicate that the third delay information is the first terminal device. Transmission delay to the second terminal device.
  • the application function network element is the AF network element
  • the session management network element is the SMF network element
  • the policy control function network element is the PCF network element
  • the centralized network configuration network element is the CNC network element.
  • Step 601 The AF network element obtains the delay information T1 from the UE1 to the DN and the delay information T2 from the UE2 to the DN from the SMF network element.
  • the delay information T1 is used to indicate the transmission delay between the port on the UE1 side and the DN
  • the delay information T2 is used to indicate the transmission delay between the port on the UE2 side and the DN.
  • the AF network element may also obtain the delay information T of the port on the UE1 side and the port on the UE2 side from the SMF network element.
  • the embodiment of this application only takes the AF network element to obtain T1, T2, or T from the SMF network element as an example for description.
  • the AF network element can obtain T1, T2, or T from other network elements, which is not limited in the embodiment of this application.
  • the SMF network element can directly send T1, T2, or T to the AF network element, and can also send the information required to calculate T1, T2, or T to the AF network element.
  • the information required to calculate T1 includes part or all of the following information: the staying delay between UE1 and UP2, the packet delay budget (PDB) between UE1 and UPF network element, and the required delay budget (PDB) for calculating T2
  • the information includes part or all of the following information: the stay time delay between UE2 and UP2, and the PDB between UE2 and UPF network element.
  • the information required to calculate T includes some or all of the following information: the camping delay between UE1 and UP2, the PDB between UE1 and UPF, the camping delay between UE2 and UP2, and the delay between UE2 and UPF PDB.
  • the SMF network element obtains the camping delay between UE1 and UP2, the PDB between UE1 and UPF, the camping delay between UE2 and UP2, and the way in which the PDB between UE2 and UPF is obtained.
  • This embodiment of the application is not limited
  • the residency delay between UE1 and UP2 can be sent by UP2 or UE1 to the SMF network element when UP2 or UE1 creates a PDU session; it can also be UP2 or UE1 after UP2 or UE1 creates a PDU session. Sent to the SMF network element.
  • the staying delay between UE2 and UP2 can be sent to the SMF network element by UP2 or UE2 in the process of creating a PDU session; it can also be sent to the SMF network element after UP2 or UE2 has created a PDU session. .
  • the PDB between UE1 and UPF and the PDB between UE2 and UPF may be stored locally by the SMF network element, or may be obtained by the SMF network element from the PCF network element.
  • the SMF network element sends the PDB between UE1 and UPF and the PDB between UE2 and UPF to the AF network element as an example for description.
  • UE1 and UPF The PDB between UE2 and the PDB between UE2 and UPF may also be directly sent by the PCF network element to the AF network element.
  • the AF network element when the AF network element obtains T1 and T2, it can calculate T based on the sum of T1 and T2, and then obtain T. In this way, the AF network element can calculate T by itself, without obtaining it from the SMF network element. T, or the information needed to calculate T.
  • the AF network element obtains T or, after calculating T according to T1 or T2, reports the delay information T from UE1 to UE2 to the CNC network element.
  • the prerequisite for the AF network element to report the delay information T from UE1 to UE2 is that the AF network element can determine that UE1 and UE2 can communicate.
  • the AF network element can determine that UE1 and UE2 can communicate.
  • the AF network element stores information about the group and group members, and the AF network element determines UE1 and UE2 by querying the information about the group and group members. They belong to the same group, and it is determined that UE1 and UE2 can communicate with each other.
  • the SMF network element may send to the AF network element information indicating that the communication between UE1 and UE2 is possible.
  • the SMF network element determines that UE2 and UE1 are allowed to communicate (for example, the SMF network element finds that UE1 and UE2 belong to the same group according to the locally stored group and group member information), then the port on the UE1 side The port on the UE2 side can form a port pair, and when the SMF network element sends T2 to the AF network element or information required for calculating T2, it can also send the port identifier of UE1 to the AF network element.
  • the AF network element When the AF network element receives T2 or the information required to calculate T2, if it receives the port identifier of UE1, it can be determined that the port on the UE1 side and the port on the UE2 side can form a port pair, that is, it is determined that the port between UE1 and UE2 can form a port pair. It can communicate with each other, and T can be determined according to the received T1 (or the information required to calculate T1) and T2 (or the information required to calculate T2), and report T to the CNC network element.
  • the SMF network element may also send the port identifier of UE2 to the AF network element when sending T1 to the AF network element or information required for calculating T1.
  • the AF network element When the AF network element receives T1 or the information required to calculate T1, if it receives the port identifier of UE2, it is determined that UE1 and UE2 can communicate with each other.
  • the AF network element can use the received T2 (or calculate T2 required information).
  • Information) and T1 (or information required to calculate T1) determine T, and report the delay information T between UE1 and UE1 to the CNC network element.
  • Step 602 When the CUC network element determines that it is necessary to create a data stream, it sends a stream creation request to the CNC network element.
  • the stream creation request includes the identification of the data terminal of the data stream, and the data terminal of the data stream includes the initiator of the data stream.
  • Step 603 After receiving the flow creation request, the CNC network element generates the transmission path of the data flow, the data terminal and the forwarding information of the data flow on each switching node.
  • Step 604 If the virtual switching node is included in the transmission path of the data stream, the CNC network element sends forwarding information of the data stream on the virtual switching node to the AF network element in the virtual switching node.
  • the forwarding information of the data stream includes the entry information corresponding to the data stream and the exit information corresponding to the data stream.
  • the ingress information corresponding to the data stream includes the ingress port identifier of the data stream.
  • the ingress port identifier can be the port identifier on the UE1 side (or UP2 side).
  • the egress information corresponding to the data stream includes the egress port identifier of the data stream.
  • the egress port identifier can be It is the port identifier on the UE2 side (or UP2 side).
  • the AF network element obtains the forwarding information of the data stream from the CNC network element as an example for description.
  • the embodiment of the present application does not limit the AF network element to obtain the forwarding information of the data stream in other ways.
  • the AF network element may also obtain the forwarding information of the data stream in other networks (such as other non-TSN networks).
  • the user can configure the entry information corresponding to the data stream and the exit information corresponding to the data stream in the AF network element; the entry information corresponding to the configured data stream can include the identifier of the first session.
  • the first session is the session corresponding to the entry information.
  • the entry information may also include port information of the first session.
  • the exit information corresponding to the configured data stream includes the identifier of the second session, where the second session is the session corresponding to the exit information.
  • the egress information may also include port information of the second session.
  • the port information of the first session may be the port identifier of the UE1 or UP2 side corresponding to the first session.
  • the port information of the second session may be the port identifier of the UE2 or UP2 side corresponding to the second session.
  • the identity of the first session may be the MAC address or IP address of UE2 (or UP2) corresponding to the first session, or it may be an identity document (ID) that has been allocated for the first session; the identity of the second session may be The MAC address or IP address of UE1 (or UP2) corresponding to the second session may also be an ID allocated for the second session.
  • Step 605 The AF network element determines that the data stream is an inter-UE data stream according to the forwarding information of the data stream.
  • the AF network element may also determine the identity of the first session and the identity of the second session according to the forwarding information of the data stream.
  • the AF network element may determine that the data stream is an inter-UE data stream according to the association relationship between the UE and the session, and determine the The data stream is the data stream from UE1 to UE2.
  • the AF network element stores the association relationship between the port identifier of the UE and the session as shown in Table 1, where the identifier of the session is represented by the MAC address of the UE (or UP2) corresponding to the session. If the ingress port ID of the data flow is 1, and the outgoing port ID of the data flow is 2, in Table 1, the port with ID 1 and ID 2 respectively correspond to the ID of a session, indicating that both the outgoing port and the ingress port are On the UE side (or UP2 side) port, the receiving end and the sending end of the data stream are both UEs, so the AF network element can determine that the data stream is a data stream between UEs.
  • the AF network element can directly determine the receiver and sender of the data stream according to the identifier of the first session and the identifier of the first session All are UEs, and the data flow is a data flow between UEs.
  • the AF network element triggers the PCF network element to configure the PCC rule of the first session and the PCC rule of the second session, and send the first indication information and the second indication information to the PCF network element.
  • the embodiment of this application does not limit the sequence in which the AF network element triggers the PCF network element to configure the PCC rule for the first session and the PCC rule for the second session.
  • the AF network element first triggers the PCF network element to configure the first session. The PCC rule of the session, and then the PCF network element is triggered to configure the PCC rule of the second session as an example for description.
  • Step 606 The AF network element sends the information required to configure the PCC rule of the first session and the first indication information to the PCF network element.
  • the information required by the PCC rule of the first session includes information such as T1, the stream identifier of the data stream, and so on.
  • Step 607 After the PCF network element receives the information required to configure the PCC rule for the first session, the PCF network element obtains a matching PDB according to T1, determines the 5QI corresponding to the PDB, and uses the 5QI as the upstream 5QI.
  • the AF network element sends T1 and T2 to the PCF network element as an example for description.
  • the AF network element can also obtain 5QI according to T1 matching, and send the 5QI to the PCF network element.
  • the AF network element is locally configured with the upstream 5QI, and the AF network element can directly send the 5QI to the PCF network element (in this way, the AF network element does not need to obtain T1 and T2, but also That is, there is no need to perform step 601).
  • Step 608 The PCF network element sends a first forwarding rule creation request to the SMF network element.
  • the first forwarding rule creation request is used to instruct the creation of a forwarding rule for the first session.
  • the first forwarding rule creation request carries the creation of the SMF network element.
  • the information and the first indication information required by the forwarding rule of a session such as the 5QI of the upstream, the identity of the first session (it should be noted that the identity of the first session can be understood as the PCF network element and SMF corresponding to the first session
  • the interface between network elements is used to identify the first session).
  • the embodiment of the present application does not limit the representation form of the first indication information.
  • the first indication information may be directly indicated.
  • the first indication information is that the data stream is a data stream between terminal devices.
  • the characters; indirect instructions can also be used.
  • indirect instructions are several ways of indirect instructions:
  • the first indication information includes the ingress port identifier of the data stream and the egress port identifier of the data stream.
  • the first indication information includes the identification of the outgoing port of the data flow or the identification of the second session.
  • Step 609 After the SMF network element receives the first forwarding rule creation request, the SMF network element determines that the data flow is a data flow between UEs according to the first indication information.
  • the SMF network element may directly determine that the data stream is an inter-UE data stream according to the first indication information.
  • the SMF network element determines that the data stream is an inter-UE data stream in the same manner as the AF network element determines that the data stream is an inter-UE data stream.
  • the SMF network element can determine that the receiving end of the data stream is UE2 according to the identifier of the second session, and then determine The data flow is the data flow between UEs.
  • the SMF network element can determine that the outgoing port identifier corresponds to the session according to the association relationship between the UE and the session and the outgoing port identifier of the data stream, and then determine that the data stream is an inter-UE interface. data flow.
  • Step 610 After determining that the data flow is a data flow between UEs, the SMF network element may create a forwarding rule for the first session, which includes configuring the forwarding rule of the first session as local forwarding.
  • the forwarding rule of the first session is local forwarding means that when the UPF network element subsequently transmits the data flow, it needs to send the packets of the data flow to the internal interface (internal interface is not limited here) Or the forwarding rule of the UPF network element is to send the packet of the data stream through the session of UE2.
  • Step 611 The SMF network element issues the forwarding rule created for the first session to the UPF network element, and the UPF network element configures the first session according to the received forwarding rule.
  • Step 612 The AF network element sends the information required to configure the PCC rule of the second session and the second indication information to the PCF network element.
  • Step 613 After the PCF network element receives the information required to configure the PCC rule of the second session from the AF network element, the PCF obtains the matching PDB according to T2, determines the 5QI corresponding to the PDB, and uses the 5QI as the downstream 5QI.
  • the AF network element sends T1 and T2 to the PCF network element as an example for description.
  • the AF network element can also obtain 5QI according to T2 matching, and send the 5QI to the PCF network element.
  • the AF network element is locally configured with a downstream 5QI, and the AF network element can directly send the 5QI to the PCF network element (in this way, the AF network element does not need to obtain T1 and T2, but also That is, there is no need to perform step 601).
  • Step 614 The PCF network element sends a second forwarding rule creation request to the SMF network element.
  • the second forwarding rule creation request is used to indicate the forwarding rule for the second session.
  • the second forwarding rule creation request carries the SMF network element creation second The information required by the forwarding rule of the session, such as the 5QI of the downstream flow and the identifier of the second session (for example, the interface between the PCF and SMF corresponding to the session.
  • the second forwarding rule creation request also includes second indication information.
  • the representation form of the second indication information is not limited.
  • the second indication information may be directly indicated.
  • the second indication information is that the data stream is data between terminal devices. Characters of the stream; indirect instructions can also be used. Here are several ways of indirect instructions:
  • the second indication information includes the ingress port identifier of the data flow and the egress port identifier of the second session.
  • the second indication information includes the ingress port identifier of the data flow or the identifier of the first session.
  • Step 615 After the SMF network element receives the second forwarding rule creation request, the SMF network element determines that the data flow is a data flow between UEs according to the second indication information.
  • the SMF network element can directly determine that the data stream is an inter-UE data stream according to the second indication information.
  • the SMF network element determines that the data stream is an inter-UE data stream in the same manner as the AF network element determines that the data stream is an inter-UE data stream.
  • the SMF network element can determine that the sender of the data stream is UE1 according to the identifier of the first session, and then determine The data flow is the data flow between UEs.
  • the SMF network element may determine that the ingress port identifier corresponds to the session according to the association relationship between the UE and the session and the ingress port identifier of the data stream, and then determine that the data stream is an inter-UE interface. data flow.
  • Step 616 After determining that the data flow is a data flow between UEs, the SMF network element may create a forwarding rule for the second session, which includes configuring the forwarding rule of the second session as local forwarding.
  • the forwarding rule of the second session is local forwarding means that when the UPF network element subsequently transmits the data stream, it matches the downstream packet from the internal interface (the specific name of the internal interface is not limited here).
  • Step 617 The SMF network element issues the forwarding rule created for the second session to the UPF network element, and the UPF network element configures the second session according to the received forwarding rule.
  • the AF network element determines that the data flow is a data flow between terminal devices as an example.
  • the PCF network element can also determine that the data flow is a data flow between terminal devices. This method is described below, referring to Fig. 7. Taking the application function network element instructing the policy control function network element to configure the PCC rule of the first session as an example, the method includes:
  • Step 701 The policy control function network element receives a first message from the application function network element, where the first message includes information required to configure the PCC rule of the first session carrying the data stream and information about the second session carrying the data stream.
  • the information required to configure the PCC rule for the first session carrying the data stream includes the ingress port identifier of the data stream and the first delay information, and optionally, it may also include the identifier of the first session.
  • the information of the second session includes part or all of the following information: the identifier of the second session, and the port identifier of the second session.
  • the first message may include second delay information or third delay information.
  • the policy control function network element After the policy control function network element receives the first message, when configuring the PCC rule of the first session, it may determine the 5QI of the upstream in the data flow according to the first delay information.
  • the policy control function network element may also determine the 5QI of the downstream in the data stream according to the second delay information.
  • the policy control function network element may also determine the downstream 5QI and the upstream 5QI in the data flow according to the third delay information.
  • Step 702 The policy control function network element determines that the data flow is a data flow between terminal devices according to the information of the second session.
  • the manner in which the policy control function network element determines that the data flow is a data flow between terminal devices is the same as the manner in which the session management network element in the embodiment shown in FIG. 5 determines that the data flow is a data flow between terminal devices. For details, see The foregoing content will not be repeated here.
  • Step 703 The policy control function network element initiates the creation/modification process of the PCC rule of the first session and the creation/modification process of the PCC rule of the second session respectively.
  • the embodiment of the present application does not limit the sequence of the creation/modification process of the PCC rule of the first session and the creation/modification process of the PCC rule of the second session initiated by the policy control function network element.
  • the following takes the process of creating/modifying the PCC rule of the policy control function network element initiating the second session as an example for description.
  • the process of the process of creating/modifying the PCC rule of the policy control function network element initiating the first session and the process of the policy control function network element initiating The creation/modification process of the PCC rule for the second session is similar, and will not be repeated here.
  • the policy control function network element sends a second forwarding rule creation request to the session management network element, where the second forwarding rule creation request is used to instruct to create a forwarding rule for the second session, and the second forwarding rule creation request includes a forwarding for creating the second session Information required by the rule (5QI and other information of the following stream).
  • the session management network element configures the forwarding rule of the second session as local forwarding. For details, please refer to the relevant description of step 506b, which will not be repeated here.
  • the policy control function network element receives the information required to configure the PCC rule of the first session that carries the data flow and the information of the second session that carries the data flow, where the first session carries For upstream flow, the second session carries the downstream flow as an example for description. If the first session carries the downstream flow and the second session carries the upstream flow, the embodiment shown in FIG. 7 may be equally applicable, and will not be repeated here.
  • the SMF network element can also determine that the data flow is a data flow between terminal devices. This method is described below. See Figure 8.
  • the application function network element is used to instruct the policy control function network element to configure the PCC of the first session. Take the rule as an example, the method includes:
  • Step 801 The policy control function network element receives a first message from the application function network element, where the first message includes information required to configure the PCC rule of the first session carrying the data stream and information about the second session carrying the data stream.
  • the information required to configure the PCC rule for the first session carrying the data stream includes the ingress port identifier of the data stream and the first delay information, and optionally, it may also include the identifier of the first session.
  • the information of the second session includes part or all of the following information: the identifier of the second session, and the port identifier of the second session.
  • Step 802 The policy control function network element configures the PCC rule of the first session, and determines the 5QI of the upstream in the data flow according to the first delay information
  • Step 803 The policy control function network element sends a first forwarding rule creation request to the session management network element, where the second forwarding rule creation request is used to instruct to create a forwarding rule for the first session, and the first forwarding rule creation request includes the second session And the information needed to create the forwarding rule for the first session (such as upstream 5QI and other information).
  • Step 804 The session management network element determines that the data stream is a data stream between terminal devices according to the information of the second session. For details, refer to step 505b when the second indication information adopts an indirect indication method, the session management network element determines the data The flow is a description of the data flow between the terminal devices, and will not be repeated here.
  • Step 805 The session management network element configures the forwarding rules of the first session and the second session as local forwarding. For details, please refer to the relevant descriptions of steps 506b and 506a, which will not be repeated here.
  • the information of the second session includes the port identifier of the second session
  • the session management network element may determine the second session according to the stored association relationship between the port information and the session and the port identifier of the second session.
  • the information of the second session includes the first session.
  • the session identifier, the session management network element can directly determine the second session according to the identifier of the first session.
  • the application function network element is the AF network element
  • the session management network element is the SMF network element
  • the policy control function network element is the PCF network element
  • the centralized network configuration network element is the CNC network element.
  • Step 901 The PCF network element obtains the association relationship between the port identifier on the UE side and the PDU session, and saves the association relationship between the port identifier on the UE side and the PDU session.
  • the association relationship between the port identifier on the UE side and the PDU session may be sent by the SMF network element to the PCF network element.
  • Step 902 the same as step 601, for details, please refer to the related description of step 601 and will not be repeated here.
  • Step 903 the same as step 602, for details, please refer to the related description of step 602 and will not be repeated here.
  • Step 904 the same as step 603. For details, please refer to the related description of step 603 and will not be repeated here.
  • Step 905 the same as step 604, for details, please refer to the related description of step 604 and will not be repeated here.
  • Step 906 The AF network element sends a first message to the PCF network element, where the first message includes information required to configure the PCC rule of the first session and information about the second session.
  • the information required to configure the PCC rule for the first session includes the ingress port identifier of the data stream and the delay information T1 from UE1 to the UPF network element; optionally, it may also include the identifier of the first session (that is, the identifier of the session of UE1). ).
  • the first message may also include time delay information T2 from UE2 to the UPF network element or time delay information T3 from UE1 to UE2.
  • Step 907 The PCF network element determines that the data flow is an inter-UE data flow according to the information of the second session.
  • the PCF network element determines that the data stream is an inter-UE data stream in the same manner as the SMF network element determines that the data stream is an inter-UE data stream under the indirect indication of the first message information in step 609. For details, see The foregoing description will not be repeated here.
  • Step 908 the same as step 607, for details, please refer to the related description of step 607, which will not be repeated here.
  • the first message further includes T2
  • a matching PDB is obtained according to T2
  • the 5QI corresponding to the PDB is determined, and the 5QI is used as the 5QI of the downlink.
  • the first message also includes T2 or T3, obtain two matching PDBs according to T3 (T3 can be determined by the sum of T1 and T2), determine the two 5QIs corresponding to the two PDBs, and use one of the two 5QIs as 5Q1 Downstream 5QI, another 5Q1 as upstream 5QI.
  • the PCF network element may directly use the upstream 5QI as the downstream 5QI.
  • Step 909 The PCF network element sends a first forwarding rule creation request to the SMF network element.
  • the first forwarding rule creation request is used to indicate the forwarding rule for the first session.
  • the first forwarding rule creation request carries the SMF network element creation first Information required by the forwarding rules of the session.
  • Steps 910 to 911 the same as steps 610 to 611, for details, please refer to the related descriptions of steps 610 to 611 and will not be repeated here.
  • Step 912 The PCF network element sends a second forwarding rule creation request to the SMF network element, the second forwarding rule creation request is used to instruct to create a forwarding rule for the second session, and the second forwarding rule creation request carries the SMF network element creation second Information required by the forwarding rules of the session.
  • Steps 913 to 914 the same as steps 616 to 617, for details, please refer to the related descriptions of steps 616 to 617 and will not be repeated here.
  • the AF network element triggers the PCF network element to configure the PCC rule for the first session as an example.
  • the AF network element can also trigger the PCF network element to configure the PCC rule for the second session.
  • the PCF network element determines that the data flow is the data flow between UEs, and the SMF network element creates the second session and the first session creation under the instruction of the PCF network element
  • the method of the forwarding rule and the embodiment are similar to the embodiment shown in FIG. 9, and will not be repeated here.
  • the application function network element is the AF network element
  • the session management network element is the SMF network element
  • the policy control function network element is the PCF network element
  • the centralized network configuration network element is the CNC network element.
  • Step 1001 the same as step 601, for details, please refer to the related description of step 601 and will not be repeated here.
  • Step 1002 the same as step 602, for details, please refer to the related description of step 602 and will not be repeated here.
  • Step 1003 the same as step 603, for details, please refer to the related description of step 603, which will not be repeated here.
  • Step 1004 the same as step 604, for details, please refer to the related description of step 604 and will not be repeated here.
  • Step 1005 The AF network element sends a first message to the PCF network element, where the first message includes information required to configure the PCC rule of the first session and information about the second session.
  • the information required to configure the PCC rule for the first session includes the ingress port identifier of the data stream and the delay information T1 from UE1 to the UPF network element; optionally, it may also include the identifier of the first session (that is, the identifier of the session of UE1). ).
  • Step 1006 the same as step 607, for details, please refer to the related description of step 607 and will not be repeated here.
  • Step 1007 The PCF network element sends a first forwarding rule creation request to the SMF network element, requesting to create a forwarding rule for the first session, and the first forwarding rule creation request carries information required by the SMF network element to create a forwarding rule for the first session And the second session information, the information required to create the forwarding rule of the first session includes but is not limited to: the 5QI of the upstream flow and the identifier of the first session (for example, the interface between the PCF network element and the SMF network element corresponding to the session).
  • Step 1008 The SMF network element determines that the data flow is a data flow between UEs according to the information of the second session.
  • the SMF network element determines that the data flow is the data flow between UEs in the same manner. For details, please refer to the foregoing description, which will not be repeated here.
  • Step 1009 The SMF network element creates forwarding rules for the first and second sessions respectively, and configures the rules for the first and second sessions as local forwarding.
  • Step 1010 The SMF network element issues the forwarding rules created for the first session and the second session to the UPF network element, and the UPF network element configures the first session and the second session according to the received forwarding rule.
  • the AF network element triggers the PCF network element to configure the PCC rule for the first session as an example.
  • the AF network element can also trigger the PCF network element to configure the PCC rule for the second session.
  • the SMF network element determines that the data flow is the data flow between the UEs, and the SMF network element creates the second session and the method and embodiment of the forwarding rule for the second session It is similar to the embodiment shown in FIG. 10 and will not be repeated here.
  • an embodiment of the present application also provides a communication method. As shown in FIG. 11, the method includes:
  • Step 1101 The same as step 602. For details, please refer to the related description of step 602 and will not be repeated here.
  • Step 1102 the same as step 603, for details, please refer to the related description of step 603 and will not be repeated here.
  • Step 1103 the same as step 604, for details, please refer to the related description of step 604 and will not be repeated here.
  • Step 1104 the same as step 605, for details, please refer to the related description of step 605 and will not be repeated here.
  • Step 1105 The AF network element triggers the PCF network element to configure the PCC rule of the first session and the PCC rule of the second session respectively, and sends the identifier of the first session and the identifier of the second session to the PCF network element.
  • the AF network element triggers the PCF network element to configure the PCC rule of the first session and the PCC rule of the second session respectively means that the AF network element sends the information required to configure the PCC rule of the first session and the configuration of the first session to the PCF network element.
  • the AF network element may send the identification of the first session and the identification of the second session when sending the information required to configure the PCC rule for the first session to the PCF network element, or it may send the PCC for configuring the second session to the PCF network element.
  • the identifier of the first session and the identifier of the second session are sent, which is not limited in the embodiment of the present application.
  • Step 1106 The PCF network element determines that the data stream is an inter-UE data stream according to the identifier of the first session and the identifier of the second session.
  • the embodiment of the present application does not limit the number of second session identifiers, and there may be one or more.
  • Steps 1107 to 1113 the same as step 908 to step 914, for details, please refer to the related description of step 908 to step 914 and will not be repeated here.
  • an embodiment of the present application also provides a communication device for executing the method executed by the AF network element described in the method embodiment shown in FIGS. 5 and 6.
  • the device includes a receiving unit 1201 and a processing unit 1202:
  • the receiving unit 1201 is configured to obtain forwarding information of a data stream, and the forwarding information of the data stream includes entry information corresponding to the data stream and exit information corresponding to the data stream.
  • the processing unit 1202 is configured to determine that the data stream is a data stream between terminal devices based on the forwarding information of the data stream; trigger the core network device to configure the policy and charging control PCC for the first session corresponding to the ingress information and the second session corresponding to the egress information rule.
  • the ingress information includes the ingress port identifier of the data stream
  • the egress information includes the out port identifier of the data stream
  • the data stream can be determined as the data stream between the first terminal device and the second terminal device according to the outgoing port identifier and the ingress port identifier, where the outgoing port identifier is the port identifier on the second terminal device side and the ingress port identifier is the first terminal Port ID on the device side.
  • the processing unit 1202 when the processing unit 1202 determines that the data flow is a data flow between the terminal devices according to the outgoing port identifier and the ingress port identifier, it may communicate with the first session and the second session respectively based on the outgoing port identifier and the ingress port identifier. Correlate, determine that the data flow is the data flow between the terminal devices.
  • the data stream is a data stream from a first terminal device to a second terminal device
  • the first session is a session established by the first terminal device
  • the second session is a session established by the second terminal device.
  • the apparatus further includes a sending unit 1203.
  • the processing unit 1202 may also determine that the first terminal device and the second terminal device can communicate with each other.
  • the sending unit 1203 may report to the devices in the delay-sensitive network the information from the port on the first terminal device to the port on the second terminal device according to the obtained delay information of the first terminal device and the delay information of the second terminal device. Transmission delay; where the delay information of the second terminal device is used to indicate the transmission delay between the port on the second terminal device side and the data network, and the delay information of the first terminal device is used to indicate the port on the terminal device side Transmission delay with data network.
  • the receiving unit 1201 may receive the delay information of the first terminal device when the first terminal device establishes the first session; When the device establishes the second session, it receives the delay information of the second terminal device and the third indication information; the third indication information is used to indicate that the port on the first terminal device side and the port on the second terminal device side are a port pair.
  • the processing unit 1202 may determine that the first terminal device and the second terminal device can communicate with each other according to the third indication information.
  • the receiving unit 1201 may receive the delay information of the second terminal device when the second terminal device establishes the second session; When the device establishes the first session, it receives the delay information of the first terminal device and the fourth indication information; the fourth indication information is used to indicate that the port on the first terminal device side and the port on the second terminal device side are a port pair.
  • the processing unit 1202 may determine that the first terminal device and the second terminal device can communicate with each other according to the fourth instruction information.
  • the receiving unit 1201 may receive the delay information of the first terminal device when the first terminal device establishes the first session; When the device establishes the second session, it receives the delay information of the second terminal device.
  • the processing unit 1202 determines that the first terminal device and the second terminal device can communicate with each other, it may determine that the first terminal device and the second terminal device can communicate with each other according to the group information.
  • the sending unit 1203 may send first indication information to the core network device, where the first indication information is used to indicate that the data stream is a data stream between terminal devices.
  • the first indication information indicates that the data stream is a data stream between terminal devices, and a direct indication method can be used.
  • the first indication information indicates that the data stream is a data stream between terminal devices.
  • the characters of the data stream can also be indirectly indicated.
  • indirect indications are several indirect indications:
  • the first indication information includes the ingress port identifier of the data stream and the egress port identifier of the data stream.
  • the first indication information includes the identifier of the first session and the identifier of the second session.
  • the first indication message includes the outgoing port identifier or the second session identifier.
  • the sending unit 1203 may also send second indication information to the core network device, where the second indication information is used to indicate that the data stream is a data stream between terminal devices.
  • the second indication information can indicate that the data stream is a data stream between terminal devices, and a direct indication method can be used, such as sending a data stream indicating that the data stream is a data stream between terminal devices. Characters can also be indirectly indicated. Here are a few of them:
  • the second indication information includes the ingress port identifier of the data stream and the egress port identifier of the data stream.
  • the second indication information includes the identifier of the first session and the identifier of the second session.
  • the second indication message includes the ingress port identifier or the identifier of the first session.
  • the ingress information includes the identifier of the first session
  • the egress information includes the identifier of the second session.
  • an embodiment of the present application also provides a communication device for executing the SMF execution method described in the method embodiment shown in FIGS. 5 and 6.
  • the device includes a receiving unit 1301 and a processing unit 1302:
  • the receiving unit 1301 is configured to receive a first forwarding rule creation request from a policy control function network element, the first forwarding rule creation request is used to instruct to create a forwarding rule for the first session carrying the data stream, and the first forwarding rule creation request includes the first forwarding rule creation request. Instructions.
  • the processing unit 1302 is configured to determine that the data stream is a data stream between terminal devices according to the first indication information; according to the first forwarding rule creation request, configure the forwarding rule of the first session as local forwarding.
  • the first indication message can be indicated in multiple ways.
  • a direct indication method can be used.
  • the first indication message is a character that characterizes that the data stream is a data stream between terminal devices.
  • the processing unit 1302 may directly determine that the data stream is a data stream between terminal devices according to the first indication information.
  • the first indication message may also adopt an indirect indication mode. In the following several indirect indication modes, the processing unit 1302 may directly determine the data flow between the terminal devices according to the first indication information:
  • the first indication information includes the ingress port identifier of the data stream and the egress port identifier of the data stream.
  • the processing unit 1302 may be associated with the session based on the association relationship between the port identifier on the terminal device side and the session according to the outgoing port identifier and the outgoing port identifier. For example, the outgoing port is associated with the first session, and the ingress port is associated with the second session; thereby determining the data
  • the flow is the data flow between terminal devices.
  • the first indication information includes the identifier of the first session and the identifier of the second session.
  • the processing unit 1302 may be directly based on the identifier of the first session and the identifier of the second session, and the data stream is carried in two sessions, and then determine that the data stream is a data stream between terminal devices.
  • the first indication message includes the identifier of the outbound port or the identifier of the second session carrying the data stream.
  • the processing unit 1302 may determine that the data flow is a data flow between the terminal devices based on the association between the port identifier on the terminal device side and the session according to the outgoing port identifier, where the outgoing port identifier is the port identifier on the second terminal device side; or according to the bearer
  • the identifier of the second session of the data stream determines that the data stream is a data stream between terminal devices.
  • the receiving unit 1301 may also receive a second forwarding rule creation request from the policy control function network element, where the second forwarding rule creation request is used to instruct to create a forwarding rule for the second session that carries the data stream. 2.
  • the forwarding rule creation request includes second indication information.
  • the processing unit 1302 may determine that the data flow is a data flow between terminal devices according to the second forwarding rule creation request according to the second instruction information, and configure the forwarding rule of the second session as local forwarding.
  • the second indication message can be indicated in multiple ways.
  • a direct indication method can be used.
  • the second indication information is a character characterizing that the data stream is a data stream between terminal devices.
  • the processing unit 1302 may directly determine that the data stream is a data stream between terminal devices according to the second indication information.
  • the second indication message may also adopt an indirect indication mode. In several of the indirect indication modes listed below, the processing unit 1302 may directly determine the data flow between the terminal devices according to the second indication information:
  • the second indication information includes the ingress port identifier of the data stream and the egress port identifier of the data stream.
  • the processing unit 1302 may be associated with the session based on the association relationship between the port identifier on the terminal device side and the session according to the outgoing port identifier and the outgoing port identifier. For example, the outgoing port is associated with the first session, and the ingress port is associated with the second session; thereby determining the data
  • the flow is the data flow between terminal devices.
  • the second indication information includes the identifier of the first session and the identifier of the second session.
  • the processing unit 1302 may be directly based on the identifier of the first session and the identifier of the second session, and the data stream is carried in two sessions, and then determine that the data stream is a data stream between terminal devices.
  • the second indication message includes the ingress port identifier or the identifier of the first session carrying the data stream.
  • the processing unit 1302 may determine that the data flow is the data flow between the terminal devices based on the association relationship between the port identifier on the terminal device side and the session according to the ingress port identifier, where the ingress port identifier is the port identifier on the first terminal device side; or according to the bearer
  • the identifier of the first session of the data stream determines that the data stream is a data stream between terminal devices.
  • the data stream is a data stream from the first terminal device to the second terminal device
  • the ingress port identifier is the port identifier on the first terminal device side
  • the egress port identifier is the port identifier on the second terminal device side.
  • the apparatus further includes a sending unit 1303, and the receiving unit 1301 can obtain the delay information of the second terminal device.
  • the processing unit 1302 may determine that the second terminal device and the first terminal device can communicate with each other; after that, the sending unit 1303 sends the delay information of the second terminal device and the third indication information to the application function network element; the third indication information is used to indicate The port on the first terminal device side and the port on the second terminal device side are a port pair.
  • the data stream is a data stream from the first terminal device to the second terminal device
  • the ingress port identifier is the port identifier on the first terminal device side
  • the egress port identifier is the port identifier on the second terminal device side.
  • the receiving unit 1301 may obtain the delay information of the first terminal device.
  • the processing unit 1302 may determine that the second terminal device and the first terminal device can communicate with each other; after that, the sending unit 1303 sends the delay information of the first terminal device and the fourth indication information to the application function network element; the fourth indication information is used to indicate The port on the first terminal device side and the port on the second terminal device side are a port pair.
  • the embodiment of the application also provides a communication device for executing the method executed by the PCF network element in the method embodiment shown in Figures 7, 9, and 11. Please refer to the foregoing method embodiment, which will not be repeated here.
  • the device includes a receiving unit 1401 and a processing unit 1402.
  • the receiving unit 1401 is configured to receive a first message of an application function network element, where the first message includes information required to configure the PCC rule of the first session carrying the data stream and information of the second session carrying the data stream.
  • the processing unit 1402 is configured to determine that the data flow is the data flow between the terminal devices according to the information of the second session; respectively initiate the creation/modification process of the policy and charging control rules for the first session and the PCC rule creation/modification process for the second session. Creation/modification process.
  • the information of the second session includes the port identifier of the second session.
  • the processing unit 1402 determines that the data flow is the data flow between the terminal devices according to the information of the second session, it may be based on the terminal device side.
  • the corresponding relationship between the port identifier and the session is determined based on the port identifier of the second session to determine that the data flow is a data flow between terminal devices.
  • the data stream is a data stream from the first terminal device to the second terminal device
  • the first indication also includes part or all of the following information: delay information of the first session, delay information of the second session Information, the third delay information;
  • the delay information of the first session is used to indicate the transmission delay from the port on the first terminal device side to the data network element
  • the delay information of the second session is used to indicate the transmission delay from the port on the second terminal device side to the data network element.
  • the transmission delay, the third delay information, and the third delay information are used to indicate the transmission delay from the port on the first terminal device side to the port on the second terminal device side.
  • the device further includes a sending unit 1403, and the processing unit 1402 initiates the creation/modification process of the policy and charging control rule PCC rule of the first session and the creation/modification of the PCC rule of the second session respectively.
  • the 5QI of the first session and the second session can be determined according to the first indication;
  • the sending unit 1403 sends the 5QI of the first session and the second session to the session management network element.
  • an embodiment of the present application also provides a communication device for executing the method performed by the SMF network element described in the method embodiment shown in FIGS. 8, 10, and 11, and related features Please refer to the foregoing method embodiment, which will not be repeated here.
  • the device includes a receiving unit 1501 and a processing unit 1502.
  • the receiving unit 1501 is configured to receive a forwarding rule creation request of a policy control network element.
  • the forwarding rule creation request is used to instruct the creation of a forwarding rule for the first session carrying the data stream, and the forwarding rule creation request includes information about the second session carrying the data stream. ;
  • the processing unit 1502 determines that the data stream is the data stream between the terminal devices according to the information of the second session; respectively configures the forwarding rules of the first session and the second session as local forwarding.
  • the information of the second session includes the port identifier of the second session.
  • the processing unit 1502 determines that the data stream is the data stream between the terminal devices according to the information of the second session, it may be based on the port on the terminal device side. The corresponding relationship between the identifier and the session is determined, and the data stream is determined to be the data stream between the terminal devices according to the port identifier of the second session.
  • the information of the second session includes the session identifier of the second session, and when the processing unit 1502 determines that the data stream is a data stream between terminal devices according to the information of the second session, it may be based on the identifier of the second session. Make sure that the data flow is the data flow between the terminal devices.
  • the division of units in the embodiments of this application is illustrative, and is only a logical function division. In actual implementation, there may be other division methods.
  • the functional units in the various embodiments of this application can be integrated into one processing unit. In the device, it can also exist alone physically, or two or more units can be integrated into one module.
  • the above-mentioned integrated unit can be realized in the form of hardware or software function module.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a terminal device (which may be a personal computer, a mobile phone, or a network device, etc.) or a processor (processor) execute all or part of the steps of the method in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .
  • both the base station and the terminal device may be presented in the form of dividing various functional modules in an integrated manner.
  • the "module” here may refer to a specific ASIC, a circuit, a processor and memory that executes one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the above-mentioned functions.
  • the session management network element, the application function network element, and the policy control function may adopt the form shown in FIG. 16.
  • the communication device 1600 shown in FIG. 16 includes at least one processor 1601, a memory 1602, and optionally, a communication interface 1603.
  • the memory 1602 may be a volatile memory, such as a random access memory; the memory may also be a non-volatile memory, such as a read-only memory, flash memory, hard disk drive (HDD) or solid-state drive (solid-state drive, SSD) or the memory 1602 is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
  • the memory 1602 may be a combination of the above-mentioned memories.
  • the specific connection medium between the foregoing processor 1601 and the memory 1602 is not limited in the embodiment of the present application.
  • the memory 1602 and the processor 1601 are connected by a bus 1604 in the figure.
  • the bus 1604 is indicated by a thick line in the figure. Is limited.
  • the bus 1604 can be divided into an address bus, a data bus, a control bus, and so on. For ease of representation, only one thick line is used in FIG. 16, but it does not mean that there is only one bus or one type of bus.
  • the processor 1601 may have a data transceiving function and be able to communicate with other devices.
  • an independent data transceiving module such as a communication interface 1603, can also be set to send and receive data; the processor 1601 is communicating with other devices. During communication, data transmission can be performed through the communication interface 1603.
  • the processor 1601 in FIG. 16 can call the computer execution instructions stored in the memory 1602, so that the base station can execute all of the above-mentioned method embodiments. The method performed by the base station is described.
  • the functions/implementation processes of the sending unit, the receiving unit, and the processing unit in FIG. 13 and FIG. 15 can all be implemented by the processor 1601 in FIG. 16 calling the computer execution instructions stored in the memory 1602.
  • the function/implementation process of the processing unit in FIG. 13 and FIG. 15 can be implemented by the processor 1601 in FIG. 16 calling a computer execution instruction stored in the memory 1602.
  • the functions of the sending unit and the receiving unit in FIG. 13 and FIG. 15 /The realization process can be realized through the communication interface 1603 in FIG. 16.
  • the processor 1601 in FIG. 16 can call the computer execution instructions stored in the memory 1602, so that the base station can execute all of the above-mentioned method embodiments. The method performed by the base station is described.
  • the functions/implementation processes of the sending unit, the receiving unit, and the processing unit in FIG. 12 can all be implemented by the processor 1601 in FIG. 16 calling a computer execution instruction stored in the memory 1602.
  • the function/implementation process of the processing unit in FIG. 12 may be implemented by the processor 1601 in FIG. 16 calling a computer execution instruction stored in the memory 1602
  • the function/implementation process of the sending unit and the receiving unit in FIG. 12 may be implemented as shown in FIG. 16 in the communication interface 1603 to achieve.
  • the processor 1601 in FIG. 16 can call the computer execution instructions stored in the memory 1602, so that the base station can execute any of the above method embodiments. The method executed by the base station.
  • the functions/implementation processes of the sending unit and the processing unit in FIG. 14 can be implemented by the processor 1601 in FIG. 16 calling a computer execution instruction stored in the memory 1602.
  • the function/implementation process of the processing unit in FIG. 14 may be implemented by the processor 1601 in FIG. 16 calling a computer execution instruction stored in the memory 1602
  • the function/implementation process of the sending unit in FIG. 14 may be implemented by The communication interface 1603 is implemented.
  • this application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种通信方法、装置及系统,用以创建终端设备间的数据流。本申请中应用功能网元先获取数据流的转发信息,该数据流的转发信息包括数据流对应的入口信息和数据流对应的出口信息;之后,应用功能网元再基于数据流的转发信息确定数据流为终端设备间的数据流,也就是该数据流承载在两个会话中,一个是入口信息对应的第一会话,另一个是出口信息对应的第二会话。应用功能网元能够在确定数据流为终端设备间数据流的情况下,触发核心网设备发起针对第一会话和第二会话的PCC规则配置过程,由此可以建立终端设备间的数据流。

Description

一种通信方法、装置及系统
相关申请的交叉引用
本申请要求在2019年11月08日提交中国专利局、申请号为201911090227.9、申请名称为“一种通信方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种通信方法、装置及系统。
背景技术
区别于传统以太网不能提供高可靠性的数据传输以及保障时延传输的弊端,在传统以太网的基础上产生了时延敏感网络(time sensitive networking,TSN),TSN兼具了实时性和确定性,能够保障业务数据传输的可靠性,同时也可以预测数据传输过程中端到端的传输时延。
为了在第五代移动通信(5th-generation,5G)系统中,借助TSN实现端到端的可靠性数据传输,将5G系统虚拟为TSN中的一个交换节点,形成了5G系统与TSN互通的网络架构,在该种网络架构中,5G系统中的控制面网元在接收TSN中的配置网元的指示后,可以创建在用户设备(user equipment,UE)与用户面网元之间建立数据流,配置该数据流的转发规则,实现UE到用户面网元之间的数据传输。
但基于现有5G系统与TSN互通的网络架构下数据流的创建机制,5G系统还无法创建UE到UE的数据流,无法实现UE之间的数据传输。
发明内容
本申请提供一种通信方法、装置及系统,用以创建终端设备间的数据流。
第一方面,本申请实施例提供了一种通信方法,所述方法包括:首先,应用功能网元可以获取数据流的转发信息,该数据流的转发信息包括数据流对应的入口信息和数据流对应的出口信息;之后,应用功能网元再基于数据流的转发信息确定数据流为终端设备间的数据流,也就是该数据流承载在两个会话中,一个是入口信息对应的第一会话,另一个是出口信息对应的第二会话。应用功能网元可以触发核心网设备对第一会话以及第二会话的PCC规则进行配置。
通过上述方法,应用功能网元能够在确定数据流为终端设备间数据流的情况下,触发核心网设备发起两次针对不同会话的PCC规则配置(如创建或修改)过程,由此可以建立终端设备间的数据流。
在一种可能的设计中,若入口信息包括该数据流的入端口标识,出口信息包括数据流的该出端口标识;应用功能网元在基于数据流的转发信息确定数据流为终端设备间的数据流时,可以根据出端口标识和入端口标识确定数据流为第一终端设备和第二终端设备间的数据流,其中,出端口标识为第二终端设备侧的端口标识和入端口标识为第一终 端设备侧的端口标识。
通过上述方法,应用功能网元可以较为方便、快速的确定数据流为终端设备间的数据流。
在一种可能的设计中,应用功能网元根据出端口标识和入端口标识确定数据流为终端设备间的数据流,具体包括:
应用功能网元基于出端口标识和入端口标识分别与第一会话和第二会话相关联,确定数据流为终端设备间的数据流。示例性的,应用功能网元可以获取终端设备侧的端口与会话的关联关系,若确定该数据流的入端口和出端口均对应会话,则表示该数据流为终端设备间的数据流。
通过上述方法,应用功能网元通过出入端口与会话的关联关系,可以较为方便、快速的确定数据流为终端设备间的数据流。
在一种可能的设计中,数据流为第一终端设备到第二终端设备的数据流,第一会话为第一终端设备建立的会话,第二会话为第二终端设备建立的会话。
在一种可能的设计中,在应用功能网元获取数据流的转发信息之前,该应用功能网元确定第一终端设备与第二终端设备能够相互通信;应用功能网元可以根据已获取的第一终端设备的时延信息和第二终端设备的时延信息,向时延敏感网络中的设备上报第一终端设备侧的端口到第二终端设备侧的端口的传输时延;其中,第二终端设备的时延信息用于指示所述第二终端设备侧的端口与数据网络间的传输时延,第一终端设备的时延信息用于指示所述第一终端设备侧的端口与数据网络间的传输时延。其中,第一终端设备侧的端口可以包括前述数据流的入端口,第二终端设备侧的端口可以包括前述数据流的出端口。
通过上述方法,应用功能网元上报第一终端设备侧的端口到第二终端设备侧的端口的传输时延,可以便于时延敏感网络中的设备确定第一终端设备与第二终端设备间的数据流的调度信息。
在一种可能的设计中,在应用功能网元获取数据流的转发信息之前,在第一终端设备建立第一会话时,应用功能网元接收第一终端设备的时延信息;在第二终端设备建立第二会话时(例如,在第二会话建立过程中,或第二会话建立完成后),应用功能网元接收第二终端设备的时延信息和第三指示信息;第三指示信息用于指示入第一终端设备侧的端口与第二终端设备侧的端口是端口对,也即第一终端设备和第二终端设备可以通信。应用功能网元可以根据第三指示信息,确定第一终端设备与第二终端设备能够相互通信。
通过上述方法,应用功能网元可以较为便捷的根据第三指示信息确定第一终端设备与第二终端设备能够相互通信,便于后续向时延敏感性网络中的设备上报第一终端设备侧的端口到第二终端设备侧的端口的传输时延。
在一种可能的设计中,在应用功能网元获取数据流的转发信息之前,在第二终端设备建立第二会话时,应用功能网元接收第二终端设备的时延信息;在第一终端设备建立第一会话时(例如,在第一会话建立过程中,或第一会话建立完成后),应用功能网元接收第一终端设备的时延信息和第四指示信息;第四指示信息用于指示入第一终端设备侧的端口与第二终端设备侧的端口是端口对,也即第一终端设备和第二终端设备可以通信。应用功能网元可以根据第三指示信息,确定第一终端设备与第二终端设备能够相互通信。
通过上述方法,应用功能网元可以较为便捷的根据第四指示信息确定第一终端设备 与第二终端设备能够相互通信,便于后续向时延敏感性网络中的设备上报第一终端设备侧的端口到第二终端设备侧的端口的传输时延。
在一种可能的设计中,在应用功能网元获取数据流的转发信息之前,在第一终端设备建立第一会话时(例如,在第一会话建立过程中,或第一会话建立完成后),应用功能网元接收第一终端设备的时延信息;在第二终端设备建立第二会话时,应用功能网元接收第二终端设备的时延信息;
应用功能网元可以本地保存群组信息,该群组信息中记录了通信群组中包括的群组成员,根据群组信息,确定第一终端设备和第二终端设备能够相互通信。群组信息也可以是应用功能网元从其他网元中获取的。
通过上述方法,应用功能网元可以较为便捷的根据群组信息确定一终端设备与第二终端设备能够相互通信,便于后续向时延敏感性网络中的设备上报第一终端设备侧的端口到第二终端设备侧的端口的传输时延。
在一种可能的设计中,应用功能网元在触发核心网设备为入口信息对应的第一会话配置策略和计费控制PCC规则时,还可以向核心网设备发送第一指示信息,第一指示信息用于指示数据流为终端设备间的数据流。
通过上述方法,应用功能网元可以告知核心网设备该数据流为终端设备间的数据流,以便核心网设备可以创建终端设备间的数据流。
在一种可能的设计中,第一指示信息指示数据流为终端设备间的数据流的方式有许多中,可以采用直接指示的方式,如第一指示信息为表征该数据流为终端设备间的数据流的字符,也可以采用间接指示的方式,下面列举其中几种间接指示的方式:
方式一、第一指示信息包括数据流的入端口标识和数据流的出端口标识。
方式二、第一指示信息包括第一会话的标识和第二会话的标识。
方式三、第一指示消息包括出端口标识或第二会话的标识。
通过上述方法,第一指示消息可以采用多种指示方式,灵活的指示该数据流为终端设备间的数据流。
在一种可能的设计中,应用功能网元触发核心网设备为出口信息对应的第二会话配置策略和计费控制PCC规则时,还可以向核心网设备发送第二指示信息,第二指示信息用于指示数据流为终端设备间的数据流。
通过上述方法,应用功能网元可以告知核心网设备该数据流为终端设备间的数据流,以便核心网设备可以创建终端设备间的数据流。
在一种可能的设计中,第二指示信息指示数据流为终端设备间的数据流的方式有许多中,可以采用直接指示的方式,如发送表征该数据流为终端设备间的数据流的字符,也可以采用间接指示的方式,下面列举其中几种间接指示的方式:
方式一、第二指示信息包括数据流的入端口标识和数据流的出端口标识。
方式二、第二指示信息包括第一会话的标识和第二会话的标识。
方式三、第二指示消息包括入端口标识或第一会话的标识。
通过上述方法,第二指示消息可以采用多种指示方式,灵活的指示该数据流为终端设备间的数据流。
在一种可能的设计中,若入口信息包括第一会话的标识,出口信息包括第二会话的标识,应用功能网元可以根据第一会话的标识和第二会话的标识确定数据流为终端设备 间的数据流。
通过上述方法,若该数据流的转发信息中携带有两个会话的标识,应用功能网元由此确定数据流为终端设备间的数据流。
第二方面,本申请实施例提供了一种通信方法,方法包括:会话管理网元可以从策略控制功能网元接收第一转发规则创建请求,第一转发规则创建请求用于指示为承载数据流的第一会话创建转发规则,第一转发规则创建请求包括第一指示信息;该第一指示信息可以指示该数据流为终端设备间的数据流,会话管理网元在根据第一指示信息,确定数据流为终端设备间的数据流后,可以根据第一转发规则创建请求,配置第一会话的转发规则为本地转发。
通过上述方法,会话管理网元在确定数据流为终端设备间的数据流后,通过配置第一会话的转发规则为本地转发,建立终端设备到终端设备的数据流。
在一种可能的设计中,第一指示消息的指示方式有多种,例如可以采用直接指示的方式,如第一指示信息为表征该数据流为终端设备间的数据流的字符,这样,会话管理网元可以直接根据第一指示信息确定数据流为终端设备间的数据流。又例如,第一指示消息也可以采用间接指示的方式,下面列举其中几种间接指示的方式下,会话管理网元可以直接根据第一指示信息确定数据流为终端设备间的数据流的方式:
方式一、第一指示信息包括数据流的入端口标识和数据流的出端口标识。
会话管理网元可以基于终端设备侧的端口标识与会话的关联关系,根据出端口标识与出端口标识均与会话关联,如出端口与第一会话关联,入端口与第二会话关联;进而确定数据流为终端设备间的数据流。
方式二、第一指示信息包括第一会话的标识和第二会话的标识。
会话管理网元可以基于第一会话的标识和第二会话的标识直接,该数据流承载在两个会话中,进而确定数据流为终端设备间的数据流。
方式三、第一指示消息包括出端口标识或承载数据流的第二会话的标识。
会话管理网元可以基于终端设备侧的端口标识与会话的关联关系,根据出端口标识确定数据流为终端设备间的数据流,其中,出端口标识为第二终端设备侧的端口标识;或根据承载数据流的第二会话的标识,确定数据流为终端设备间的数据流。
通过上述方法,会话管理网元可以较为灵活的确定该数据流为终端设备间的数据流,适用于不同场景。
在一种可能的设计中,会话管理网元从策略控制功能网元接收第二转发规则创建请求,第二转发规则创建请求用于指示为承载数据流的第二会话创建转发规则,第二转发规则创建请求包括第二指示信息;该第二指示信息可以指示该数据流为终端设备间的数据流。会话管理网元在根据第二指示信息确定数据流为终端设备间的数据流后,可以根据第二转发规则创建请求,配置第二会话的转发规则为本地转发。
通过上述方法,会话管理网元在确定数据流为终端设备间的数据流后,通过配置第二会话的转发规则为本地转发,建立终端设备到终端设备的数据流。
在一种可能的设计中,第二指示消息的指示方式有多种,例如可以采用直接指示的方式,如第二指示信息为表征该数据流为终端设备间的数据流的字符,这样,会话管理网元可以直接根据第二指示信息确定数据流为终端设备间的数据流。又例如,第二指示消息也可以采用间接指示的方式,下面列举其中几种间接指示的方式下,会话管理网元 可以直接根据第二指示信息确定数据流为终端设备间的数据流的方式:
方式一、第二指示信息包括数据流的入端口标识和数据流的出端口标识。
会话管理网元可以基于终端设备侧的端口标识与会话的关联关系,根据出端口标识与出端口标识均与会话关联,如出端口与第一会话关联,入端口与第二会话关联;进而确定数据流为终端设备间的数据流。
方式二、第二指示信息包括第一会话的标识和第二会话的标识。
会话管理网元可以基于第一会话的标识和第二会话的标识直接,该数据流承载在两个会话中,进而确定数据流为终端设备间的数据流。
方式三、第二指示消息包括入端口标识或承载数据流的第一会话的标识。
会话管理网元可以基于终端设备侧的端口标识与会话的关联关系,根据入端口标识确定数据流为终端设备间的数据流,其中,入端口标识为第一终端设备侧的端口标识;或根据承载数据流的第一会话的标识,确定数据流为终端设备间的数据流。
通过上述方法,会话管理网元可以较为灵活的确定该数据流为终端设备间的数据流,适用于不同场景。
在一种可能的设计中,数据流为第一终端设备到第二终端设备的数据流,入端口标识为第一终端设备侧的端口标识,出端口标识为第二终端设备侧的端口标识。
在一种可能的设计中,会话管理网元可以获取第二终端设备的时延信息;若确定第二终端设备与第一终端设备能够相互通信,可以向应用功能网元发送第二终端设备的时延信息以及第三指示信息;第三指示信息用于指示第一终端设备侧的端口和第二终端设备侧的端口是端口对。
通过上述方法,会话管理网元可以告知应用功能网元第一终端设备和第二终端设备之间可以通信。
在一种可能的设计中,会话管理网元可以获取第一终端设备的时延信息;若确定第一终端设备与第一终端设备能够相互通信,可以向应用功能网元发送第一终端设备的时延信息以及第四指示信息;第四指示信息用于指示第一终端设备侧的端口和第二终端设备侧的端口是端口对。
通过上述方法,会话管理网元可以告知应用功能网元第一终端设备和第二终端设备之间可以通信。
第三方面,本申请实施例提供了一种通信方法,方法包括:策略控制功能网元接收应用功能网元的第一消息,第一消息包括配置承载数据流的第一会话的PCC规则所需的信息以及承载数据流的第二会话的信息;策略控制功能网元根据第二会话的信息确定数据流为终端设备间的数据流;策略控制功能网元分别发起第一会话的策略和计费控制规则PCC规则的创建/修改过程和第二会话的PCC规则的创建/修改过程。
通过上述方法,策略控制功能网元能够在确定数据流为终端设备间数据流的情况下,发起两次针对不同会话的PCC规则配置(如创建或修改)过程,由此可以建立终端设备间的数据流。
在一种可能的设计中,第二会话的信息包括第二会话的端口标识,策略控制功能网元根据第二会话的信息确定数据流为终端设备间的数据流时,可以基于终端设备侧的端口标识与会话的关联关系,根据第二会话的端口标识确定数据流为终端设备间的数据流。
通过上述方法,策略控制功能网元可以较为方便、快速的确定数据流为终端设备间 的数据流。
在一种可能的设计中,数据流为第一终端设备到第二终端设备的数据流,第一消息还包括下列信息的部分或全部:第一会话的时延信息、第二会话的时延信息,第三时延信息;
其中,第一会话的时延信息用于指示第一终端设备侧的端口与数据网络间的传输时延,第二会话的时延信息用于指示第二终端设备侧的端口与数据网元间的传输时延,第三时延信息,第三时延信息用于指示第一终端设备侧的端口与第二终端设备侧的端口间的传输时延。
通过上述方法,第一消息中可以携带其他信息,能够有效节约信令,便于策略控制网元可以预先获取其他信息。
在一种可能的设计中,策略控制功能网元分别发起第一会话的PCC规则的创建/修改过程和第二会话的PCC规则的创建/修改过程时,策略控制功能网元可以根据第一消息确定第一会话和第二会话的5QI;之后再向会话管理网元发送第一会话和第二会话的5QI。
例如,第一消息包括第一会话的时延信息。策略控制功能网元可以根据第一会话的时延信息确定第一会话的5QI,将第二会话的5QI设置为第一会话的5QI。
第一消息包括第二会话的时延信息和第一会话的时延信息。策略控制功能网元可以根据第一会话的时延信息确定第一会话的5QI,根据第二会话的时延信息确定第二会话的5QI。
第一消息包括第三时延信息,策略控制功能网元可以根据第三时延信息确定第一会话和第二会话的5QI。
通过上述方法,策略控制功能网元可以通过第一消息确定第一会话和第二会话的5QI,创建/修改第一会话和第二会话的PCC规则。
第四方面,本申请实施例提供了一种通信方法,方法包括:会话管理网元接收策略控制网元的转发规则创建请求,转发规则创建请求用于指示创建承载数据流的第一会话的转发规则,转发规则创建请求包括承载数据流的第二会话的信息;会话管理网元根据第二会话的信息确定数据流为终端设备间的数据流;会话管理网元分别配置第一会话和第二会话的转发规则为本地转发。
通过上述方法,会话管理网元能够在确定数据流为终端设备间数据流的情况下,发起两次针对不同会话的转发规则的创建过程,由此可以建立终端设备间的数据流。
在一种可能的设计中,第二会话的信息包括第二会话的端口标识,会话管理网元根据第二会话的信息确定数据流为终端设备间的数据流时,可以基于终端设备侧的端口标识与会话的对应关系,根据第二会话的端口标识确定数据流为终端设备间的数据流。
通过上述方法,会话管理网元可以较为方便、快速的确定数据流为终端设备间的数据流。
在一种可能的设计中,第二会话的信息包括第二会话的会话标识,会话管理网元根据第二会话的信息确定数据流为终端设备间的数据流时,根据第二会话的标识确定数据流为终端设备间的数据流。
通过上述方法,会话管理网元可以较为方便、快速的确定数据流为终端设备间的数据流。
第五方面,本申请实施例还提供了一种通信系统,有益效果可以参见第一方面和第 二方面的描述此处不再赘述,该通信系统包括应用功能网元和会话管理网元。
应用功能网元,用于获取数据流的转发信息,数据流的转发信息包括数据流对应的入口信息和数据流对应的出口信息;基于数据流的转发信息确定数据流为终端设备间的数据流;通过策略控制功能网元向会话管理网元发送第一指示消息。
会话管理网元,用于从策略控制功能网元接收第一转发规则创建请求,第一转发规则创建请求用于指示为承载数据流的第一会话创建转发规则,第一转发规则创建请求包括第一指示信息;根据第一指示信息,确定数据流为终端设备间的数据流;根据第一转发规则创建请求,配置第一会话的转发规则为本地转发。
在一种可能的设计中,入口信息包括数据流的入端口标识,出口信息包括数据流的出端口标识;应用功能网元基于数据流的转发信息确定数据流为终端设备间的数据流时,可以根据出端口标识和入端口标识确定数据流为第一终端设备和第二终端设备间的数据流,其中,出端口标识为第二终端设备侧的端口标识和入端口标识为第一终端设备侧的端口标识。
在一种可能的设计中,应用功能网元根据出端口标识和入端口标识确定数据流为终端设备间的数据流时,可以基于出端口标识和入端口标识分别与第一会话和第二会话相关联,确定数据流为终端设备间的数据流。
在一种可能的设计中,数据流为第一终端设备到第二终端设备的数据流,第一会话为第一终端设备建立的会话,第二会话为第二终端设备建立的会话。
在一种可能的设计中,在应用功能网元获取数据流的转发信息之前,应用功能网元可以确定第一终端设备与第二终端设备能够相互通信;根据已获取的第一终端设备的时延信息和第二终端设备的时延信息,向时延敏感网络中的设备上报第一终端设备侧的端口到第二终端设备侧的端口的传输时延;其中,第二终端设备的时延信息用于指示第二终端设备侧的端口与数据网络间的传输时延,第一终端设备的时延信息用于指示第一终端设备侧的端口与数据网络间的传输时延。
在一种可能的设计中,会话管理网元可以获取第二终端设备的时延信息;在确定第二终端设备与第一终端设备能够相互通信后,向应用功能网元发送第二终端设备的时延信息以及第三指示信息,第三指示信息用于指示第一终端设备侧的端口和第二终端设备侧的端口是端口对。应用功能网元在第一终端设备建立第一会话时,接收第一终端设备的时延信息,所第二终端设备建立第二会话时,从会话管理网元接收第二终端设备的时延信息和第三指示信息,根据第三指示信息,确定第一终端设备与第二终端设备能够相互通信。
在一种可能的设计中,会话管理网元可以获取第一终端设备的时延信息;在确定第二终端设备与第一终端设备能够相互通信后,向应用功能网元发送第一终端设备的时延信息以及第四指示信息,第四指示信息用于指示第一终端设备侧的端口和第二终端设备侧的端口是端口对。在第二终端设备建立第二会话时,接收第二终端设备的时延信息,在第一终端设备建立第一会话时,应用功能网元从会话管理网元接收第一终端设备的时延信息和第四指示信息,根据第三指示信息,确定第一终端设备与第二终端设备能够相互通信。
在一种可能的设计中,在应用功能网元获取数据流的转发信息之前,在第一终端设 备建立第一会话时,应用功能网元可以接收第一终端设备的时延信息;在第二终端设备建立第二会话时,应用功能网元可以接收第二终端设备的时延信息;应用功能网元可以根据群组信息,确定第一终端设备和第二终端设备能够相互通信。
在一种可能的设计中,第一指示消息包括出端口标识或第二会话的标识。会话管理网元根据第一指示信息在确定数据流为终端设备间的数据流时,可以基于终端设备侧的端口标识与会话的关联关系,根据出端口标识确定数据流为终端设备间的数据流,其中,出端口标识为第二终端设备侧的端口标识;也可以根据承载数据流的第二会话的标识,确定数据流为终端设备间的数据流。
在一种可能的设计中,入口信息包括第一会话的标识,出口信息包括第二会话的标识,应用功能网元基于数据流的转发信息确定数据流为终端设备间的数据流是可以根据第一会话的标识和第二会话的标识确定数据流为终端设备间的数据流。
在一种可能的设计中,应用功能网元还可以通过策略控制功能网元向会话管理网元发送第二指示消息。
会话管理网元还可以从策略控制功能网元接收第二转发规则创建请求,第二转发规则创建请求用于指示为承载数据流的第二会话创建转发规则,第二转发规则创建请求包括第二指示信息;根据第二指示信息,确定数据流为终端设备间的数据流;根据第二转发规则创建请求,配置第二会话的转发规则为本地转发。
在一种可能的设计中,第二指示消息包括入端口标识或第一会话的标识。会话管理网元根据第二指示信息在确定数据流为终端设备间的数据流时,可以基于终端设备侧的端口标识与会话的关联关系,根据入端口标识确定数据流为终端设备间的数据流,其中,入端口标识为第一终端设备侧的端口标识;也可以根据承载数据流的第一会话的标识,确定数据流为终端设备间的数据流。
第六方面,本申请实施例还提供了一种通信装置,所述通信装置应用于应用功能网元,有益效果可以参见第一方面的描述此处不再赘述。该装置具有实现上述第一方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,所述装置的结构中包括接收单元和处理单元,还可以包括发送单元,这些单元可以执行上述第一方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。
第七方面,本申请实施例还提供了一种通信装置,所述通信装置应用于会话管理网元,有益效果可以参见第二方面的描述此处不再赘述。该装置具有实现上述第二方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,所述装置的结构中包括接收单元和处理单元,还可以包括发送单元,这些单元可以执行上述第二方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。
第八方面,本申请实施例还提供了一种通信装置,所述通信装置应用于策略控制功能网元,有益效果可以参见第三方面的描述此处不再赘述。该装置具有实现上述第三方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,所述装置的结构中包括接收单元和发送单元,还可以包括处理单元,这些单元可以执行上述第三方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不 做赘述。
第九方面,本申请实施例还提供了一种通信装置,所述通信装置应用于会话管理网元,有益效果可以参见第四方面的描述此处不再赘述。该装置具有实现上述第四方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,所述装置的结构中包括接收单元和处理单元,还可以包括发送单元,这些单元可以执行上述第四方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。
第十方面,本申请实施例还提供了一种通信装置,所述通信装置应用于应用功能网元,有益效果可以参见第一方面的描述此处不再赘述。所述通信装置的结构中包括处理器和存储器,所述处理器被配置为支持所述基站执行上述第一方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述通信装置必要的程序指令和数据。所述通信装置的结构中还包括通信接口,用于与其他设备进行通信。
第十一方面,本申请实施例还提供了一种通信装置,所述通信装置应用于会话管理网元,有益效果可以参见第二方面的描述此处不再赘述。所述通信装置的结构中包括处理器和存储器,所述处理器被配置为支持所述基站执行上述第二方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述通信装置必要的程序指令和数据。所述通信装置的结构中还包括通信接口,用于与其他设备进行通信。
第十二方面,本申请实施例还提供了一种通信装置,所述通信装置应用于策略控制功能网元,有益效果可以参见第三方面的描述此处不再赘述。所述通信装置的结构中包括处理器和存储器,所述处理器被配置为支持所述基站执行上述第三方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述通信装置必要的程序指令和数据。所述通信装置的结构中还包括通信接口,用于与其他设备进行通信。
第十三方面,本申请实施例还提供了一种通信装置,所述通信装置应用于会话管理网元,有益效果可以参见第四方面的描述此处不再赘述。所述通信装置的结构中包括处理器和存储器,所述处理器被配置为支持所述基站执行上述第四方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述通信装置必要的程序指令和数据。所述通信装置的结构中还包括通信接口,用于与其他设备进行通信。
第十四方面,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
第十五方面,本申请还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
第十六方面,本申请还提供一种计算机芯片,所述芯片与存储器相连,所述芯片用于读取并执行所述存储器中存储的软件程序,执行上述各方面所述的方法。
附图说明
图1为5G系统的网络架构示意图;
图2为TSN的网络拓扑示意图;
图3为TSN的集中管理架构示意图;
图4a为本申请实施例提供的一种网络架构示意图;
图4b为本申请实施例提供的一种网络架构示意图;
图5~图11为本申请实施例提供的一种通信方法的示意图;
图12~图16为本申请实施例提供的一种通信装置的结构示意图。
具体实施方式
本申请提供了一种通信方法、装置及系统,用以创建UE到UE的数据流。
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,在本申请的描述中,除非另有说明,“/”表示前后关联的对象是一种“或”的关系,例如,A/B可以表示A或B;本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。
本申请实施例涉及到5G系统与TSN结合,将5G系统虚拟成TSN中一个交换节点的通信方法,下面先对本申请实施例所涉及的5G系统、TSN及本申请实施例适用的网络架构进行说明。
请参见图1,为5G系统的网络架构示意图,该网络架构为5G网络架构。该5G架构中的网元包括终端设备,图1中以终端设备为UE为例。网络架构还包括无线接入网(radio access network,RAN)、接入和移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、用户面功能(user plane function,UPF)网元、策略控制功能(policy control function,PCF)网元、应用功能(application function,AF)网元、数据网络(data network,DN)等。
RAN的主要功能是控制用户通过无线接入到移动通信网络。RAN是移动通信系统的一部分。它实现了一种无线接入技术。从概念上讲,它驻留某个设备之间(如移动电话、一台计算机,或任何远程控制机),并提供与其核心网的连接。AMF网元负责终端的接入管理和移动性管理,在实际应用中,其包括了LTE中网络框架中MME里的移动性管理功能,并加入了接入管理功能。
SMF网元负责会话管理,如用户的会话建立等。
UPF网元是用户面的功能网元,主要负责连接外部网络,其包括了LTE的服务网关(serving gateway,SGW)和公用数据网网关(public data network GateWay,PDN-GW)的相关功能。
DN负责为终端提供服务的网络,如一些DN为终端提供上网功能,另一些DN为终端提供短信功能等等。
PCF网元的主要功能是执行策略控制,类似于LTE中的策略与计费规则功能(policy and charging rules function,PCRF)网元,主要负责策略授权,服务质量以及计费规则的生成,并将相应规则通过SMF网元下发至UPF网元,完成相应策略及规则的安装。
AF网元可以是第三方的应用控制平台,也可以是运营商自己的设备,AF网元可以为多个应用服务器提供服务,AF网元是可以提供各种业务服务的功能网元,能够通过NEF网元与核心网交互,以及能够和策略管理框架交互进行策略管理。
此外,尽管未示出,核心网控制面功能网元还包括网络开放功能(network exposure function,NEF)、统一数据管理(unified data management,UDM)、网元统一数据仓储(unified data repository,UDR)网元,NEF网元用于提供网络能力开放相关的框架、鉴 权和接口,在5G系统网络功能和其他网络功能之间传递信息;UDR网元主要用来存储用户相关的签约数据、策略数据、用于开放的结构化数据、应用数据;UDM网元可存储用户的签约信息,实现类似于4G中的HSS的后端。
本申请中的终端设备,又称之为用户设备(user equipment,UE),是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。终端设备可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。
下面对TSN进行介绍,TSN一般包括交换节点(bridge)、数据终端(end station),数据终端和交换节点可以形成网络拓扑结构,交换节点可通过其配置或创建的转发信息来转发报文,将报文转发给数据终端或其他交换节点。
数据终端和交换节点形成网络拓扑结构有多种,可以根据应用场景进行配置,请参见图2,为TSN的一种简单网络拓扑结构示意图,其中包括多个数据终端和交换节点。
TSN基于二层传输,TSN标准定义了数据终端和交换节点的行为以及交换节点转发数据流的调度方式,从而实现可靠时延传输。TSN中的交换节点以报文的目的媒体存取控制位址(media access control address,MAC)地址、网际互连协议(Internet Protocol,IP)地址或其他报文特征为数据流的流标识,根据数据流的时延需求进行资源预留以及调度规划,从而根据生成的调度策略保障可靠性和传输时延。
数据终端可分为发送端(talker)和接收端(listener)其中,将数据流(stream)的发送者称为发送端(talker),数据流的接收者称为接收端(listener);当发送端或接收端将数据流需求发送给TSN时,TSN配置会启动,TSN配置包括配置从发送端到接收端所经路径上的交换节点。
可选的,TSN还可以包括配置网元,用于实现TSN配置,如集中网络配置(centralized network configuration,CNC)网元、集中用户配置(centralized user configuration,CUC)网元。
请参见图3,为TSN的集中管理架构示意图,该集中管理架构为TSN标准中的802.1qcc定义的三种架构中的一种,该集中管理架构包括发送端、接收端、交换节点、CNC网元和CUC网元。需要说明的是,图3所示的网元的数量和网络拓扑结构仅是示例,本申请实施例并不限定。
其中,交换节点按照TSN标准的定义为数据流预留资源,并对数据报文进行调度和转发。
CNC网元,负责管理TSN用户面的拓扑以及交换节点的信息,并根据CUC网元提供的流创建请求,生成数据流的传输路径以及数据终端和各交换节点上的转发信息,之后将交换节点上的转发信息(如数据流的流标识、交换节点进行数据传输时交换节点的出入端口的标识等信息)下发到对应的交换节点。
其中,交换节点的信息包括交换节点的端口信息(如数据传输的入端口、出端口等信息)和时延信息(交换节点的内部传输时延)。
在本申请实施例中,5G系统可以作为虚拟交换节点,虚拟交换节点的信息也包括虚拟交换节点的端口信息和时延信息。
具体的,虚拟交换节点的端口分为传输上下行数据的入端口和出端口,虚拟交换节点的入端口包括UE侧的端口和UPF侧的端口,如UE侧接收上行数据的端口,UPF侧接收下行数据的端口,虚拟交换节点的出端口包括UE侧的端口和UPF侧的端口,如UE侧发送下行数据的端,UPF侧发送上行数据的端口(下行端口)。
CUC网元,用于获取数据终端的TSN能力,即获取数据终端的端口数量、每个数据终端的端口的MAC地址,以及每个端口支持的802.1能力。在此基础上CUC网元可以收集数据终端的流创建请求,在匹配发送端和接收端的流创建请求之后,向CNC网元请求创建数据流,并对CNC网元生成的转发信息进行确认。其中匹配发送端和接收端的流创建请求,指的是发送端和接收端各自向CUC网元发送的流创建请求,流创建请求包括一些信息,例如请求的数据流的目的MAC地址,CUC网元将流创建请求与不同的数据终端请求的数据流的目的MAC地址进行匹配,如果两个数据终端所请求的数据流的目的MAC地址相同,则这两个数据终端请求的同一条数据流,匹配成功,可以创建数据流,否则只有发送端或接收端的流创建请求,无法创建数据流。
可以理解的是,CNC网元和CUC网元为TSN中的控制面网元。
TSN中的交换节点除了进行数据或报文转发,还需要具有其他功能,例如具有拓扑发现功能,确定交换机标识及交换机端口标识,支持链路层发现协议(link layer discovery protocol,LLDP)等协议,又例如可以确定传输时延,并在检测到交换节点的内部传输时延后,向配置网元上报检测到的传输时延。
如图4a所示,为本申请适用的一种网络架构示意图,其中,结合了第五代移动通信(5 th-generation,5G)系统和TSN的网络架构。如图4a所示的网络架构示意图,在AF网元上增加TSN适配功能的控制面,在UPF网元上增加TSN适配功能的用户面(user plane,UP)1,在UE上增加TSN适配功能的UP2,这三者与5G系统一起组成逻辑交换节点,即虚拟交换节点,作为TSN中的交换节点。虽然图4a中,UPF与UP1,UE与UP2是分开画的,但是实际上UP1和UP2是用户面TSN适配功能的逻辑功能,UP1可以部署在UPF网元上,或者UP1可以是UPF网元的内部功能模块;同理UP2可以部署在UE上,或者UP2可以是UE的内部功能模块。
其中,TSN适配功能指的是将5G网络的特征和信息适配成TSN要求的信息,通过TSN定义的接口与TSN中的网元通信。
其中,AF网元作为5G系统和TSN的连接节点,AF网元可以TSN中的CNC网元交互,按照TSN交换节点的要求向CNC网元提供逻辑交换节点的信息,TSN适配功能的用户面向TSN适配功能的控制面提供必要的信息,即UP1可以向AF网元提供必要的信息,例如提供TSN中交换节点的信息,可以识别CNC网元所属的TSN,还可以向5G系统中的PCF网元提供TSN的DNN。
需要说明的是,在本申请实施例中,虚拟交换节点所包括的UE侧的端口可以是UE或者UP2的物理端口,可以包括一个或多个UE侧的物理端口。UE侧的端口可以是基于UE粒度的,即一个UE对应一个端口,不同的UE对应不同的端口;也可以是基于PDU会话粒度的,即一个会话对应一个端口,不同的会话对应不同的端口;还可以是基于TSN粒度的,即一个TSN域对应一个或多个端口,同一个虚拟端口不能对应不同的TSN 域。
虚拟交换节点所包括的UPF侧的端口为UPF或者UP1的物理端口。一个UPF或者UP1上可以包括多个物理端口,UPF或者UP1的一个物理端口对应一个虚拟交换节点,但是一个虚拟交换节点可以包括一个UPF或者UP1的多个物理端口,也可以包括多个UPF或者UP1的多个物理端口。
如图4b所示,为本申请适用的另一种网络架构示意图,图4b中,UE上部署有TSN适配功能的用户面或TSN适配功能的用户面是UE的内部功能模块,即图4a中的UP2,UP2用于获取UE的端口信息,并通过控制面发送到AF网元。
需要说明的是,在图4a和4b所示的网络框架中,SMF网元可以通过PCF网元或NEF网元与AF网元交互,也可以和AF网元直接交互,本申请实施例并不限定。
图4b中,AF网元是逻辑网元,可以是其他逻辑网元内的组件(例如SMF网元内的组件),也可以是其他控制面功能网元,这里并不限定其名称。在图4b中,虚拟交换节点中包括两个UE,分别为UE1和UE2。数据终端1和UE1侧的端口(如端口1)连接,数据终端2和UE2侧的端口(如端口2)连接。UPF网元通过UPF侧的端口(如端口3)与其他数据终端(如数据终端3)或交换节点连接。需要说明的是,在图4b中以UE侧连接的设备为数据终端为例,事实上,UE侧也可以连接交换节点,本申请实施例并不限定。
在5G系统与TSN结合的网络架构中,数据流在TSN网络中基于TSN的定义进行传输,而在经过5G用户面时,使用5G系统的传输机制进行传输。在5G系统中,数据流由5G网络侧发往UE侧为下行流,该下行流可以承载在UE的会话中,具体的,该下行流可以是该UE的会话中的一个QoS流;数据流由UE侧发往5G网络侧为上行流,该上行流可以承载在UE的会话中,具体的,该上行流可以是该UE的会话中的一个QoS流,为方便区分,下行流可以称为下行流,上行流可以称为上行流。
在本申请实施例中,数据流为从UE到UE的数据流,该数据流包括由5G网络侧发往UE侧的下行流以及由UE侧发往5G网络侧的上行流。该上行流和下行流分别承载在UE的会话中,在本申请实施例中,以承载上行流的会话为第一会话,承载下行流的会话为第二会话。
需要说明的是,图4a~4b所示的网络架构仅以5G系统与TSN结合的网络架构,在下面介绍中,基于图4a~4b所示的网络架构示意图对本申请实施例中涉及的通信方法进行介绍,事实上,本申请实施例并不限定其他通信系统与TSN结合,当其他通信系统虚拟为TSN中的交换节点时,其他通信系统中设置有可以实现相关功能的网元(如可以实现本申请实施例中终端设备、会话管理网元或移动接入管理网元等功能的网元),以保证其他通信系统具有交换节点的功能,具体实现方式可参见本申请实施例。
以如图4a~4b所示的网络架构为例,对5G系统与TSN互通的网络架构中配置UE和DN侧之间数据流的转发信息的方式进行说明。
AF网元可以先从CNC网元获取数据流的转发信息,该数据流的转发信息包括有数据流的流标识,该数据流的入端口标识和该数据流的出端口标识。其中,入端口标识用于指示虚拟交换节点接收数据流的端口,入端口可以是UE侧的端口,也可以是UPF侧的端口;出端口标识用于指示虚拟交换节点发送数据流的端口,出端口可以是UE侧的端口,也可以是UPF侧的端口。AF网元可以包括保存一个或者多个UE侧端口的标识和协 议数据单元(protocol data unit,PDU)会话的关联关系。当AF网元接收到该数据流的转发信息后,可以根据该数据流的转发信息中的数据流的出端口标识或数据流的入端口标识确定对应的PDU会话Y,之后,AF网元向PCF网元发送PDU会话Y的标识(如PDU会话Y对应的MAC地址)、数据流的目的MAC地址;可选的,还可以发送数据流的出端口标识和/或入端口标识;可选的,还可以发送数据流方向(上行数据流或者下行数据流)。触发PCF网元发起该PDU会话Y的策略和计费控制规则(policy and charging control rule,PCC rule)创建/修改流程,创建或修改该PDU会话中的服务质量(quality of service,QoS)流;并将创建或修改后的PCC规则的相关信息(如QoS流的5QI的等信息)发送给SMF网元,由SMF网元根据PCC规则的相关信息创建PDU会话Y的转发规则。
目前,在5G系统与TSN互通的网络架构中,PCF网元在接收到AF网元的指示后,在对应的PDU会话中创建/修改UE到UPF网元的QoS流,也就是建立一个上行流或一个下行流。而对于UE到UE的数据流,由于同时涉及到上行流和下行流,还没有一种方式能够实现UE到UE的数据流的创建。
为此本申请实施例提供了一种通信方法,用于创建UE到UE的数据流,在本申请实施例中,应用功能网元可以在接收到携带有数据流对应的入口信息和数据流对应的出口信息的数据流的转发信息后,根据数据流的转发信息确定该数据流为终端设备间的数据流,之后,触发核心网设备为入口信息对应的第一会话和出口信息对应的第二会话的PPC规则。之后,会话管理网元在接收到来自策略控制功能网元的转发规则创建请求后,根据该转发规则中携带的指示信息(如第一指示信息或第二指示信息)确定的数据流为终端设备间的数据流,根据转发规则创建请求配置第一会话和第二会话的转发规则为本地转发,进而创建终端设备间的数据流。
下面结合附图对本申请实施例提供的一种通信方法进行说明,参见图5,该方法包括:
步骤501:应用功能网元获取数据流的转发信息,数据流的转发信息包括数据流对应的入口信息和数据流对应的出口信息。
本申请并不限定应用功能网元获取数据流的转发信息的方式,例如,当集中网络配置网元接收到用于请求创建该数据流的流创建请求后,生成该数据流的传输路径、以及数据终端和各交换节点上该数据流的转发信息,之后将应用功能网元所在的虚拟交换节点上该数据流的转发信息发送给应用功能网元。又例如,数据流的转发信息可以是预先配置在应用功能网元的。又例如,应用功能网元可以从其他网络获取该数据流的转发信息。
其中,数据流对应的入口信息指示该数据流进入该虚拟交换节点的入口。数据流对应的入口信息中可以包括下列信息的部分或全部:数据流的入端口标识、第一会话的标识。第一会话为该入口信息对应的会话,是承载该数据流(中的上行流)的会话。
数据流对应的出口信息指示该数据流流出该虚拟交换节点的出口。数据流对应的出口信息中可以包括下列信息的部分或全部:该数据流的出端口标识、第二会话的标识。第二会话为该出口信息对应的会话,是承载该数据流(中的下行流)的会话。
步骤502:应用功能网元基于数据流的转发信息确定数据流为终端设备间的数据流。
针对于数据流的转发信息中包括的信息组成不同,应用功能网元基于数据流的转发信息确定数据流为终端设备间的数据流的方式也不同,下面对应用功能网元确定数据流 为终端设备间的数据流的方式分别介绍:
方式一:数据流对应的入口信息包括数据流的入端口标识,数据流对应的出口信息包括数据流的出端口标识。
应用功能网元确定该入端口标识和该出端口标识分别与第一会话和第二会话关联,示例的,应用功能网元可以基于终端设备侧的端口标识与会话的关联关系,根据入端口标识和该出端口标识确定该出端口标识和入端口标识分别与会话对应,进而确定该数据流为终端设备间的数据流。其中,终端设备侧的端口标识与会话的关联关系可以是应用功能网元本地保存的,也可以是应用功能网元从其他网元(如会话管理网元)获取的,本申请实施例并不限定应用功能网元获取终端设备侧的端口标识与会话的关联关系的方式。
可选的,应用功能网元若确定该入端口标识为第一终端设备侧的端口标识,该出端口标识为第二终端设备侧的端口标识,则该数据流为第一终端设备到第二终端设备的数据流。也就是说,第一会话为第一终端设备的会话,第二数据为第二终端设备的会话,该数据流从第一终端设备侧的端口进入,从第二终端设备侧的端口流出。
应用功能网元确定该入端口标识为第一终端设备侧的端口标识以及该出端口标识为第二终端设备侧的端口标识的方式本申请实施例并不限定,例如,应用功能网元可以根据终端设备与端口的对应关系确定第一终端设备侧的端口标识以及该出端口标识为第二终端设备侧的端口标识,终端设备与端口的对应关系可以是应用功能网元本地保存的,也可以是应用功能网元从其他网元(如会话管理网元)获取的,本申请实施例并不限定应用功能网元获取终端设备侧的端口标识与会话的关联关系的方式。
方式二:数据流对应的入口信息包括第一会话的标识,数据流对应的出口信息包括第二会话的标识。
应用功能网元根据第一会话的标识和第二会话的标识直接确定该数据流为终端设备间的数据流。
之后,应用功能网元可以触发策略控制功能网元配置第一会话的PCC规则和第二会话的PCC规则。
应用功能网元在确定该数据流为终端设备间的数据流,可以触发策略控制功能网元配置发起两次PCC规则的创建/修改过程,分别为第一会话的PCC规则的创建/修改过程以及第二会话的PCC规则的创建/修改过程。
本申请实施例并不限定应用功能网元指示策略控制功能网元配置发起两次PCC规则的创建/修改过程的先后顺序,在本申请实施例中以应用功能网元先触发策略控制功能网元发起第一会话的PCC规则的创建/修改过程,之后再触发策略控制功能网元发起第二会话的PCC规则的创建/修改过程为例进行说明。
需要说明的是,配置第一会话的PCC规则实际上是配置第一会话中QoS流(也就是上行流)的PCC规则,配置第二会话的PCC规则实际上是配置第二会话中QoS流(也就是下行流)的PCC规则。
步骤503a:策略控制功能网元接收应用功能网元的第一消息,该第一消息包括有配置第一会话的PCC规则所需要的信息以及第一指示信息。该第一指示信息用于指示该数据流为终端设备间的数据流。
配置第一会话的PCC规则所需要的信息包括但不限于:该数据流的流标识、第一时 延信息、第一会话对应的端口的标识、第一会话的标识、数据流的方向、第二会话对应的端口标识信。
第一时延信息指示通过第一终端设备的第一会话传输数据流的报文时,在第一终端设备侧端口(在本申请实施例中此处第一终端设备侧端口为该数据流的入端口)和用户面网元之间转发报文的传输时延。因此,第一时延信息也可以称为第一会话的时延信息或第一终端设备的时延信息。
第一会话可以与第一终端设备侧的端口对应,第一会话对应的端口的标识可以是该第一终端设备侧的端口的标识。
本申请实施例并不限定第一指示信息指示该数据流为终端设备间的数据流的方式。例如,第一指示信息可以采用直接指示的方式,例如第一指示信息可以为预先约定的可指示该数据流为终端设备间的数据流的字符,又例如,第一指示信息可以采用间接指示的方式,第一指示信息可以包括第二会话的标识或数据流的出端口标识。
其中,应用功能网元在向策略控制功能网元发送第一消息之前,应用功能网元需要先获取第一时延信息,本申请实施例并不限定应用功能网元获取第一时延信息的方式。例如,应用功能网元可以直接从其他网元获取第一时延信息,应用功能网元也可以先获取计算第一时延信息所需的信息(如第一终端设备的驻留时延、第一终端设备和用户面网元之间的PDB),再利用计算第一时延信息所需的信息自行计算第一时延信息。该其他网元可以是会话管理网元(如会话管理网元通过策略控制功能网元发送第一时延信息或计算第一时延信息所需的信息),也可以是策略控制功能网元。
计算第一时延信息所需的信息包括第一终端设备的驻留时延、第一终端设备和用户面网元之间的报文时延预算(packet delay budget,PDB),第一终端设备的驻留时延是指第一终端设备和其对应的UP2之间转发报文的传输时延,PDB用于指示用户面节点(包括UE、接入网设备和UPF网元)之间传输数据流的最大时延预算。
需要说明的是,第一会话可以对应一个或多个第一终端设备侧的(如多个UP2的端口)端口,当多个第一终端设备侧的端口时,应用功能网元可以预先获取多个第一时延信息或计算多个第一时延信息所需的信息,每个第一传输时延可以是为一个第一终端设备侧的端口与用户面网元之间转发报文的传输时延。
策略控制功能网元可以根据第一消息,配置第一会话的PCC规则,其中包括根据第一时延信息确定该数据流中上行流的5G QoS指示符(5G QoS indicator,5QI)。
步骤504a:策略控制功能网元在配置了第一会话的PCC规则后,可以向会话管理网元发送第一转发规则创建请求,该第一转发规则创建请求用于指示创建第一会话的转发规则,第一转发规则创建请求中包括第一指示信息。
步骤505a:会话管理网元接收到第一转发规则创建请求后,可以根据第一指示信息确定该数据流为终端设备间的数据流。
第一指示信息的指示方式不同,会话管理网元确定该数据流为终端设备间的数据流的方式也不同:
若第一指示信息采用直接指示的方式,会话管理网元可以根据该第一指示信息直接确定该数据流为终端设备间的数据流。
若第一指示信息采用间接指示的方式,当第一指示信息包括第二会话的标识,会话管理网元可以确定该数据流的出口为终端设备,也就是说该数据流为终端设备间的数据 流。当第一指示信息包括数据流的出端口标识,会话管理网元可以根据终端设备侧的端口标识与会话的关联关系,确定该出端口标识与一个会话对应,进而确定数据流为终端设备间的数据流。
步骤506a:会话管理网元将第一会话的转发规则配置为本地转发。
对于上行流,本地转发是指配置第一会话的转发规则中的转发策略为将该上行流的报文发送到本地转发模块。示例性的,会话管理网元可以配置转发操作规则(forwarding action rule,FAR)中的目的接口为“内部接口(internal interface)”(这里不限定internal interface的具体名称)”。
至此第一会话的PCC规则的创建/修改过程完成。
步骤503b:策略控制功能网元接收应用功能网元的第二消息,该第二消息包括配置第二会话的PCC规则所需的信息和第二指示信息。该第二指示信息用于指示该数据流为终端设备间的数据流。
配置第二会话的PCC规则所需要的信息包括但不限于:该数据流的流标识、第二时延信息、第二会话对应的端口的标识、第二会话的标识、数据流的方向、第一会话对应的端口标识。
第二时延信息指示通过第二终端设备的第二会话传输数据流的报文时,在第二终端设备侧端口(在本申请实施例中此处第二终端设备侧端口为该数据流的入端口)和用户面网元之间转发报文的传输时延。因此,第二时延信息也可以称为第二会话的时延信息或第二终端设备的时延信息。
第二会话可以与第二终端设备侧的端口对应,第二会话对应的端口的标识可以是该第二终端设备侧的端口的标识。
本申请实施例并不限定第二指示信息指示该数据流为终端设备间的数据流的方式。例如,第二指示信息可以采用直接指示的方式,例如第二指示信息可以为预先约定的可指示该数据流为终端设备间的数据流的字符,又例如,第二指示信息可以采用间接指示的方式,第二指示信息可以包括第一会话的标识或数据流的出端口标识。
其中,应用功能网元在向策略控制功能网元发送第二消息之前,应用功能网元需要先获取第二时延信息,应用功能网元获取第二时延信息的方式与应用功能网元获取第一时延信息的方式相同,具体可参见前述内容,此处不再赘述。
需要说明的是,第二会话可以对应一个或多个第二终端设备侧的(如多个UP2的端口)端口,当多个第二终端设备侧的端口时,应用功能网元可以预先获取多个第二时延信息或计算多个第一时延信息所需的信息,每个第二传输时延可以是为一个第二终端设备侧的端口与用户面网元之间转发报文的传输时延。
策略控制功能网元可以根据第二消息,配置第二会话的PCC规则,其中包括根据第二时延信息确定该数据流中下行流的5QI。
步骤504b:策略控制功能网元在配置了第二会话的PCC规则后,可以向会话管理网元发送第二转发规则创建请求,该第二转发规则创建请求用于指示创建第二会话的转发规则,第一转发规则创建请求中包括第二指示信息。
步骤505b:会话管理网元接收到第二转发规则创建请求后,可以根据第二指示信息确定该数据流为终端设备间的数据流。会话管理网元根据第二指示信息确定该数据流为终端设备间的数据流的方式与会话管理网元根据第一指示信息确定该数据流为终端设备 间的数据流的方式相同,具体可参见前述内容,此处不再赘述。
步骤506b:会话管理网元将第二会话的转发规则配置为本地转发。
对于下行流,本地转发配置第二会话中的转发规则中的转发策略为从本地转发模块匹配报文。示例性的,会话管理网元可以配置报文检测规则(packet detection rule,PDR)中的源接口为“internal interface”(这里不限定internal interface的具体名称)。
至此第二会话的PCC规则的创建/修改过程完成。
需要说明的是,在应用功能网元在执行步骤503a以及步骤503b时,需要获取第一时延信息和第二时延信息。
本申请实施例并不限定应用功能网元获取第一时延信息和第二时延信息的先后顺序,下面以应用功能网元先获取第一时延信息为例进行说明。
当第一终端设备上线后,会话管理网元可以为第一终端设备建立第一会话,在建立第一会话时,确定第一终端设备的时延信息,将第一终端设备的时延信息(通过策略控制网元)发送给应用功能网元。
会话管理网元也可以将计算第一终端设备的时延信息所需的信息(通过策略控制网元)发送给应用功能网元。
之后,当与第一终端设备能够相互通信的第二终端设备上线后,会话管理网元可以为第二终端设备建立第二会话,在建立第二会话时,确定第二终端设备的时延信息,会话管理网元可以将第二终端设备的时延信息或计算第二终端设备的时延信息所需的信息发送给应用功能网元。
示例性的,当会话管理网元确定第一终端设备和第二终端设备能够相互通信,会话管理网元可以将第二终端设备的时延信息(或计算第二终端设备的时延信息)和第三指示信息发送给应用功能网元。第三指示信息用于指示第一终端设备侧的端口和第二终端设备侧的端口是端口对,也就是说第一终端设备与第二终端设备可进行通信。
第三指示信息指示方式本申请实施例并不限定,例如可以采用直接指示方式,第一指示信息为表示第一终端设备侧的端口和第二终端设备侧的端口是端口对的字符。又例如,第三指示信息也可以采用间接指示的方式,如第三指示信息可以是第一终端设备的标识信息,可以是第一终端设备的标识,也可以是第一终端设备侧的端口标识。
应用功能网元在第二终端设备的时延信息(或计算第二终端设备的时延信息)和第三指示信息,根据第三指示信息确定第一终端设备和第二终端设备能够进行通信,可以向TSN中的设备上报第一终端设备侧的端口与第二终端设备侧的端口间的传输时延(在本申请实施例中简称第三时延信息)。其中,第三时延信息是应用功能网元根据第一终端设备的时延信息与第二终端设备的时延信息的和值确定的。
可选的,会话管理网元也可以在发送第二时延信息时,不发送第三指示信息,应用功能网元可以根据群组信息确定第一终端设备与第二终端设备能够相互通信,第一终端设备与第二终端设备可进行通信。若确定第一终端设备与第二终端设备能够相互通信,应用功能网元可以向TSN中的设备上报第一终端设备侧的端口与第二终端设备侧的端口间的传输时延。
在上述说明中,以应用功能网元先获取第一时延信息为例,应用功能网元线先获取第二时延信息的情况与应用功能网元先获取第一时延信息的情况类似,也就是说,会话管理网元可以向应用功能网元发送第一时延信息和第四指示信息(如第二终端设备的标 识信息,第二终端设备的标识信息与第一终端设备的标识信息类似,可参见前述第一终端设备的标识信息的说明,此处不再赘述),应用功能网元根据第二终端设备的标识信息确定第一终端设备和第二终端设备能够通信,进而,确定第三时延信息并上报。
需要说明的是,第一终端设备的标识信息以及第二终端的标识信息实质上具备指示作用,指示第一终端设备和第二终端设备能够相互通信,能够进行通信。本申请实施例并不限定其他方式指示第一终端设备和第二终端设备能够进行通信,第一终端设备的标识信息以及第二终端的标识信息仅是举例说明。
作为一种可能的实施方式,应用功能网元也直接获取第三时延信息,应用功能网元获取第三时延信息的方式本申请实施例并不限定,应用功能网元可以先从其他按获取第三时延信息或计算第三时延信息所需要的信息,其中,计算第三时延信息所需要的信息包括第一终端设备的驻留时延、第一终端设备到用户面网元的PDB、第二终端设备的驻留时延以及第二终端设备到用户面网元的PDB。应用功能网元也可以在获取第一时延信息和第二时延信息之后,根据第一时延信息和第二时延信息确定第三时延信息。
应用功能网元在获取第三时延信息后,可以将第三时延信息发送给TSN。
可选的,应用功能网元在上报第三时延信息时,还可以发送第一终端设备侧的端口标识以及第二终端设备侧的端口标识,以指示第三时延信息为第一终端设备到第二终端设备的传输时延。
基于如图4b所示的网络架构,以应用功能网元为AF网元,会话管理网元为SMF网元,策略控制功能网元为PCF网元,集中网络配置网元为CNC网元为例,对如图5所示的实施例进行进一步介绍,如图6所示,该方法包括:
步骤601、AF网元从SMF网元获取UE1到DN的时延信息T1以及UE2到DN的时延信息T2。该时延信息T1用于指示UE1侧的端口与DN间的传输时延,该时延信息T2用于指示UE2侧的端口与DN间的传输时延。
可选的,AF网元还可以从SMF网元获取UE1侧的端口与UE2侧的端口的时延信息T。
本申请实施例仅是以AF网元从SMF网元获取T1、T2或T为例进行说明,AF网元可以从其他网元获取T1、T2或T,本申请实施例并不限定。
SMF网元可以直接向AF网元发送T1、T2或T,也可以向AF网元发送计算T1、T2或T所需的信息。
其中,计算T1所需的信息包括下面信息的部分或全部:UE1与UP2之间的驻留时延、UE1和UPF网元之间的时延预算(packet delay budget,PDB),计算T2所需的信息包括下面信息的部分或全部:UE2与UP2之间的驻留时延、UE2与UPF网元之间的PDB。计算T所需的信息包括下面信息的部分或全部:UE1与UP2之间的驻留时延、UE1和UPF之间的PDB、UE2与UP2之间的驻留时延、UE2与UPF之间的PDB。
SMF网元获取UE1与UP2之间的驻留时延、UE1与UPF之间的PDB、UE2与UP2之间的驻留时延以及UE2与UPF之间的PDB的方式本申请实施例并不限定,例如,UE1与UP2之间的驻留时延可以是UP2或者UE1在创建PDU会话过程中,UP2或者UE1发送给SMF网元的;也可以是UP2或者UE1在创建PDU会话后,UP2或者UE1发送给SMF网元的。类似的,UE2与UP2之间的驻留时延可以是UP2或者UE2在创建PDU会话的过程中,发送给SMF网元的;也可以是UP2或者UE2在创建PDU会话后发 送给SMF网元的。
又例如,UE1与UPF之间的PDB以及UE2与UPF之间的PDB可以是SMF网元本地保存的,也可以是SMF网元从PCF网元获取的。
在本申请实施例中,是以SMF网元将UE1与UPF之间的PDB以及UE2与UPF之间的PDB发送给AF网元为例进行说明的,作为一种可能的实施方式,UE1与UPF之间的PDB以及UE2与UPF之间的PDB也可以是由PCF网元直接发送到AF网元的。
需要说明的是,AF网元在获得T1和T2的情况下,可以根据T1和T2的和值计算T,进而获取T,这样,AF网元可以自行计算T,而不需要从SMF网元获取T,或计算T所需的信息。
作为一种可能的实施方式,AF网元在获取了T或,根据T1或T2计算获得T后,向CNC网元上报UE1到UE2的时延信息T。
AF网元上报UE1到UE2的时延信息T的前提是,AF网元能够确定UE1和UE2之间可以通信。AF网元能够确定UE1和UE2之间可以通信的方式有许多,例如,AF网元保存有群组以及群组成员的信息,AF网元通过查询群组以及群组成员的信息确定UE1和UE2属于同一群组,进而确定UE1和UE2之间可以通信。
又例如,SMF网元可以向AF网元发送用于指示UE1和UE2之间可以通信的信息。示例性的,若SMF网元确定UE2和UE1允许通信(例如,SMF网元根据本地保存的群组以及群组成员的信息查询到UE1和UE2属于同一个群组),那么,UE1侧的端口和UE2侧的端口可以构成端口对,SMF网元在向AF网元发送T2或计算T2所需的信息时,还可以向AF网元发送UE1的端口标识。
当AF网元在接收到T2或计算T2所需的信息时,若接收到UE1的端口标识,可以确定UE1侧的端口和UE2侧的端口能够构成端口对,也就是说,确定UE1和UE2之间可以通信,可以根据已接收到的T1(或计算T1所需的信息)和T2(或计算T2所需的信息)确定T,向CNC网元上报T。
类似的,SMF网元也可以在向AF网元发送T1或计算T1所需的信息时,还可以向AF网元发送UE2的端口标识。
当AF网元在接收到T1或计算T1所需的信息时,若接收到UE2的端口标识,确定UE1和UE2之间可以通信,AF网元可以根据已接收到的T2(或计算T2所需的信息)和T1(或计算T1所需的信息)确定T,向CNC网元上报UE1到UE 1之间的时延信息T。
步骤602:CUC网元在确定需要创建数据流时,向CNC网元发送流创建请求,该流创建请求中包括该数据流的数据终端的标识,该数据流的数据终端包括发起该数据流的数据终端以及接收该数据流的数据终端;可选的,还可以包括该数据流的流标识。
步骤603:CNC网元在接收到流创建请求后,生成数据流的传输路径、数据终端和各交换节点上该数据流的转发信息。
步骤604:若该数据流的传输路径上包括该虚拟交换节点,CNC网元向该虚拟交换节点中的AF网元发送该虚拟交换节点上该数据流的转发信息。该数据流的转发信息中包括数据流对应的入口信息,以及数据流对应的出口信息。
数据流对应的入口信息包括数据流的入端口标识,该入端口标识可以为UE1侧(或者UP2侧)的端口标识,数据流对应的出口信息包括数据流的出端口标识,该出端口标识可以为UE2侧(或者UP2侧)的端口标识。
在本申请实施例中,以AF网元从CNC网元获取数据流的转发信息为例进行说明,本申请实施例中并不限定AF网元采用其他方式获取数据流的转发信息。例如,AF网元也可以其他网络(如其他非TSN网络)中获取该数据流的转发信息。
又例如,用户可以在AF网元配置数据流对应的入口信息以及数据流对应的出口信息;配置的数据流对应的入口信息可以包括第一会话的标识。其中,第一会话为该入口信息对应的会话。可选的,入口信息还可以包括第一会话的端口信息。
配置的数据流对应的出口信息包括是第二会话的标识,其中,第二会话为该出口信息对应的会话。可选的,该出口信息还可以包括第二会话的端口信息。
其中,第一会话的端口信息可以是第一会话对应的UE1或者UP2侧的端口标识。第二会话的端口信息可以是第二会话对应的UE2或者UP2侧的端口标识。
第一会话的标识可以是第一会话对应的UE2(或UP2)的MAC地址或IP地址,也可以是为该第一会话已分配的标识(identity document,ID);第二会话的标识可以是第二会话对应的UE1(或UP2)的MAC地址或IP地址,也可以是为该第二会话已分配的ID。
步骤605:AF网元根据数据流的转发信息确定该数据流是UE间的数据流,AF网元还可以根据数据流的转发信息确定第一会话的标识以及第二会话的标识。
当该数据流的转发信息中包括的数据流的入端口标识以及第二会话的标识时,AF网元可以根据UE与会话的关联关系,确定该数据流为UE间的数据流,并确定该数据流为UE1到UE2的数据流。
例如,AF网元保存有如表1所示的UE的端口标识与会话的关联关系,其中会话的标识由会话对应的UE(或UP2)的MAC地址表示。若该数据流的入端口标识为1,该数据流的出端口标识为2,在表1中,标识为1的端口和标识为2分别对应一个会话的标识,说明出端口和入端口均为UE侧(或UP2侧)的端口,该数据流的接收端和发送端均为UE,由此AF网元可以确定该数据流为UE间的数据流。
表1
端口标识 会话标识
1 MAC1
2 MAC2
3  
当该数据流的转发信息中包括的第一会话的标识以及第二会话的标识时,AF网元可以根据第一会话的标识以及第一会话的标识直接确定该数据流的接收端和发送端均为UE,该数据流为UE间的数据流。
之后,AF网元触发PCF网元配置第一会话的PCC规则以及第二会话的PCC规则,并向PCF网元发送第一指示信息和第二指示信息。本申请实施例并不限定AF网元触发PCF网元配置第一会话的PCC规则以及第二会话的PCC规则的前后顺序,在本申请实施例中以AF网元先触发PCF网元配置第一会话的PCC规则,之后再触发PCF网元配置第二会话的PCC规则为例进行说明。
步骤606、AF网元向PCF网元发送配置第一会话的PCC规则所需的信息以及第一指示信息。
第一会话的PCC规则所需的信息包括T1、数据流的流标识等信息。
步骤607、PCF网元在接收到配置第一会话的PCC规则所需的信息后,PCF网元根 据T1获得匹配的PDB,确定该PDB对应的5QI,将该5QI作为上行流的5QI。
需要说明的是,在本申请实施例中以AF网元向PCF网元发送T1和T2为例进行说明,事实上,AF网元也可以根据T1匹配获得5QI,将该5QI发送给PCF网元;作为一种可能的实施方式,AF网元本地已配置有上行流的5QI,AF网元可以直接将5QI发送给PCF网元(采用这种方式AF网元就不需要获取T1和T2,也即不需要执行步骤601)。
步骤608、PCF网元向SMF网元发送第一转发规则创建请求,第一转发规则创建请求用于指示为第一会话的创建转发规则,第一转发规则创建请求中携带有SMF网元创建第一会话的转发规则所需的信息和第一指示信息,例如上行流的5QI、第一会话的标识(需要说明的是,第一会话的标识可以理解为第一会话对应的PCF网元和SMF网元之间的接口,通过该接口标识第一会话)。
在本申请实施例中并不限定第一指示信息的表征形式,参见前述内容,该第一指示信息可以采用直接指示的方式,例如,第一指示信息为该数据流为终端设备间的数据流的字符;也可以采用间接指示的方式。下面列举几种间接指示的方式:
方式一:该第一指示信息包括数据流的入端口标识以及数据流的出端口标识。
方式二:该第一指示信息包括数据流的出端口标识或第二会话的标识。
步骤609、SMF网元接收到第一转发规则创建请求后,SMF网元根据第一指示信息确定该数据流为UE间的数据流。
若该第一指示信息采用直接指示的方式,SMF网元可以根据该第一指示信息直接确定该数据流为UE间的数据流。
若该第一指示信息采用间接指示的方式中的方式一,SMF网元确定该数据流为UE间的数据流的方式与AF网元确定该数据流为UE间的数据流的方式相同,可以参见前述说明此处不再赘述。
若该第一指示信息采用间接指示的方式中的方式二,当第一指示信息为第二会话的标识,SMF网元可以根据第二会话的标识确定该数据流的接收端为UE2,进而确定该数据流为UE间的数据流。当第一指示信息为数据流的出端口标识,SMF网元可以根据UE与会话的关联关系,根据数据流的出端口标识确定该出端口标识与会话对应,进而确定该数据流为UE间的数据流。
步骤610:SMF网元在确定该数据流为UE间的数据流后,可以为第一会话创建转发规则,其中包括配置第一会话的转发规则为本地转发。
其中,第一会话的转发规则为本地转发是指UPF网元在后续传输该数据流时,需要将该数据流的报文发送到内部接口(internal interface)(这里不限定internal interface的具体名称)或者UPF网元的转发规则为将该数据流的报文通过UE2的会话发送。
步骤611:SMF网元将为第一会话创建的转发规则下发至UPF网元,UPF网元根据接收到的该转发规则配置第一会话。
步骤612:AF网元向PCF网元发送配置第二会话的PCC规则所需的信息以及第二指示信息。
步骤613、PCF网元在从AF网元接收到配置第二会话的PCC规则所需的信息后,PCF根据T2获得匹配的PDB,确定该PDB对应的5QI,将该5QI作为下行流的5QI。
需要说明的是,在本申请实施例中以AF网元向PCF网元发送T1和T2为例进行说 明,事实上,AF网元也可以根据T2匹配获得5QI,将该5QI发送给PCF网元;作为一种可能的实施方式,AF网元本地已配置有下行流的5QI,AF网元可以直接将5QI发送给PCF网元(采用这种方式AF网元就不需要获取T1和T2,也即不需要执行步骤601)。
步骤614、PCF网元向SMF网元发送第二转发规则创建请求,第二转发规则创建请求用于指示为第二会话的转发规则,第二转发规则创建请求中携带有SMF网元创建第二会话的转发规则所需的信息,如下行流的5QI、第二会话的标识(例如会话对应的PCF和SMF之间的接口。第二转发规则创建请求还包括第二指示信息。
在本申请实施例中,并不限定第二指示信息的表征形式,参见前述内容,该第二指示信息可以采用直接指示的方式,例如,第二指示信息为该数据流为终端设备间的数据流的字符;也可以采用间接指示的方式。下面列举几种间接指示的方式:
方式一:该第二指示信息包括数据流的入端口标识以及第二会话的出端口标识。
方式二:该第二指示信息包括数据流的入端口标识或第一会话的标识。
步骤615、SMF网元接收到第二转发规则创建请求后,SMF网元根据第二指示信息确定该数据流为UE间的数据流。
若该第二指示信息采用直接指示的方式,SMF网元可以根据该第二指示信息直接确定该数据流为UE间的数据流。
若该第二指示信息采用间接指示的方式中的方式一,SMF网元确定该数据流为UE间的数据流的方式与AF网元确定该数据流为UE间的数据流的方式相同,可以参见前述说明此处不再赘述。
若该第二指示信息采用间接指示的方式中的方式二,当第二指示信息为第一会话的标识,SMF网元可以根据第一会话的标识确定该数据流的发送端为UE1,进而确定该数据流为UE间的数据流。当第二指示信息为数据流的入端口标识,SMF网元可以根据UE与会话的关联关系,根据数据流的入端口标识确定该入端口标识与会话对应,进而确定该数据流为UE间的数据流。
步骤616:SMF网元在确定该数据流为UE间的数据流后,可以为第二会话创建转发规则,其中包括配置第二会话的转发规则为本地转发。
其中,第二会话的转发规则为本地转发是指UPF网元在后续传输该数据流时,从内部接口(internal interface)匹配该下行流的报文(这里不限定internal interface的具体名称)。
步骤617:SMF网元将为第二会话创建的转发规则下发至UPF网元,UPF网元根据接收到的该转发规则配置第二会话。
在如图5以及图6所示的实施例中是以AF网元确定该数据流为终端设备间的数据流为例进行说明,事实上,PCF网元也可以确定该数据流为终端设备间的数据流,下面对该种方式进行说明,参见图7,以应用功能网元指示策略控制功能网元配置第一会话的PCC规则为例,该方法包括:
步骤701:策略控制功能网元接收应用功能网元的第一消息,该第一消息包括配置承载数据流的第一会话的PCC规则所需的信息以及承载该数据流的第二会话的信息。
配置承载数据流的第一会话的PCC规则所需的信息包括数据流的入端口标识和第一时延信息,可选的,还可以包括第一会话的标识。
第二会话的信息包括下列信息的部分或全部:第二会话的标识、第二会话的端口标 识。
可选的,该第一消息可以包括第二时延信息、或第三时延信息。
策略控制功能网元接收到第一消息后,在配置第一会话的PCC规则时,可以根据第一时延信息确定该数据流中上行流的5QI。
若第一消息还包括第二时延信息,策略控制功能网元还可以根据第二时延信息确定该数据流中下行流的5QI。
若第一消息还包括第二时延信息或第三时延信息,策略控制功能网元还可以根据第三时延信息确定该数据流中下行流的5QI以及上行流的5QI。
步骤702:策略控制功能网元根据第二会话的信息确定该数据流为终端设备间的数据流。
策略控制功能网元确定该数据流为终端设备间的数据流的方式与如图5所示的实施例中会话管理网元确定该数据流为终端设备间的数据流的方式相同,具体可参见前述内容,此处不再赘述。
步骤703:策略控制功能网元分别发起第一会话的PCC规则的创建/修改过程和第二会话的PCC规则的创建/修改过程。
本申请实施例并不限定,策略控制功能网元发起第一会话的PCC规则的创建/修改过程和第二会话的PCC规则的创建/修改过程的先后顺序。
下面以策略控制功能网元发起第二会话的PCC规则的创建/修改过程为例进行说明,策略控制功能网元发起第一会话的PCC规则的创建/修改过程的过程与策略控制功能网元发起第二会话的PCC规则的创建/修改过程类似,此处不再赘述。
策略控制功能网元向会话管理网元发送第二转发规则创建请求,该第二转发规则创建请求用于指示创建第二会话的转发规则,该第二转发规则创建请求包括创建第二会话的转发规则所需的信息(如下行流的5QI等信息)。会话管理网元接收到第二转发规则创建请求后,将第二会话的转发规则配置为本地转发。具体可以参见步骤506b的相关说明,此处不再赘述。
在图7所示的实施例中,以策略控制功能网元接收配置承载数据流的第一会话的PCC规则所需的信息以及承载该数据流的第二会话的信息,其中,第一会话承载上行流,第二会话承载下行流为例进行说明,若第一会话承载下行流,第二会话承载上行流,图7所示的实施例可以同样适用,此处不再赘述。
事实上,SMF网元也可以确定该数据流为终端设备间的数据流,下面对该种方式进行说明,参见图8,以应用功能网元指示策略控制功能网元配置第一会话的PCC规则为例,该方法包括:
步骤801:策略控制功能网元接收应用功能网元的第一消息,该第一消息包括配置承载数据流的第一会话的PCC规则所需的信息以及承载该数据流的第二会话的信息。
配置承载数据流的第一会话的PCC规则所需的信息包括数据流的入端口标识和第一时延信息,可选的,还可以包括第一会话的标识。
第二会话的信息包括下列信息的部分或全部:第二会话的标识、第二会话的端口标识。
步骤802:策略控制功能网元配置第一会话的PCC规则,根据第一时延信息确定该数据流中上行流的5QI
步骤803:策略控制功能网元向会话管理网元发送第一转发规则创建请求,该第二转发规则创建请求用于指示创建第一会话的转发规则,该第一转发规则创建请求包括第二会话的信息以及创建第一会话的转发规则所需的信息(如上行流的5QI等信息)。
步骤804:会话管理网元根据第二会话的信息确定该数据流为终端设备间的数据流,具体可以参见步骤505b中当第二指示信息采用间接指示的方式时,会话管理网元确定该数据流为终端设备间的数据流的相关说明,此处不再赘述。
步骤805:会话管理网元将第一会话和第二会话的转发规则配置为本地转发。具体可以参见步骤506b和506a的相关说明,此处不再赘述。
其中,第二会话的信息包括第二会话的端口标识,会话管理网元可以根据保存的端口信息与会话的关联关系,根据第二会话的端口标识确定第二会话,第二会话的信息包括第二会话的标识,会话管理网元可以直接根据第一会话的标识确定第二会话。
基于如图4b所示的网络架构,以应用功能网元为AF网元,会话管理网元为SMF网元,策略控制功能网元为PCF网元,集中网络配置网元为CNC网元为例,对如图7所示的实施例进行进一步介绍,如图9所示,该方法包括:
步骤901:PCF网元获取UE侧的端口标识与PDU会话的关联关系,并保存UE侧的端口标识与PDU会话的关联关系。
UE侧的端口标识与PDU会话的关联关系可以是SMF网元发送给PCF网元的。
步骤902:同步骤601,具体可参见步骤601的相关描述此处不再赘述。
步骤903:同步骤602,具体可参见步骤602的相关描述此处不再赘述。
步骤904:同步骤603,具体可参见步骤603的相关描述此处不再赘述。
步骤905:同步骤604,具体可参见步骤604的相关描述此处不再赘述。
步骤906:AF网元向PCF网元发送第一消息,该第一消息包括配置第一会话的PCC规则所需的信息以及第二会话的信息。
配置第一会话的PCC规则所需的信息包括数据流的入端口标识以及UE1到UPF网元的时延信息T1;可选的,还可以包括第一会话的标识(也即UE1的会话的标识)。
可选的,该第一消息还可以包括UE2到UPF网元的时延信息T2或UE1到UE2的时延信息T3。
步骤907:PCF网元根据第二会话的信息确定该数据流为UE间的数据流。PCF网元确定该数据流为UE间的数据流的方式与步骤609中第一消息信息采用间接指示的方式下,SMF网元确定该数据流为UE间的数据流的方式相同,具体可参见前述说明,此处不再赘述。
步骤908:同步骤607,具体可参见步骤607的相关描述此处不再赘述。
可选的,若第一消息还包括T2,根据T2获得匹配的PDB,确定该PDB对应的5QI,将该5QI作为下行流的5QI。
若第一消息还包括T2或T3,根据T3(T3可以有T1和T2的和值确定)获得匹配的两个PDB,确定两个PDB对应的两个5QI,将两个5QI中的一个5Q1作为下行流的5QI,另一个5Q1作为上行流的5QI。
可选的,PCF网元也可以将上行流的5QI直接作为下行流的5QI。
步骤909:PCF网元向SMF网元发送第一转发规则创建请求,第一转发规则创建请求用于指示为第一会话的转发规则,第一转发规则创建请求中携带有SMF网元创建第一 会话的转发规则所需的信息。
步骤910~911:同步骤610~611,具体可参见步骤610~611的相关描述此处不再赘述。
步骤912:PCF网元向SMF网元发送第二转发规则创建请求,第二转发规则创建请求用于指示为第二会话创建转发规则,第二转发规则创建请求中携带有SMF网元创建第二会话的转发规则所需的信息。
步骤913~914:同步骤616~617,具体可参见步骤616~617的相关描述此处不再赘述。
在如图9所示的实施例中,以AF网元触发PCF网元配置第一会话的PCC规则为例进行说明,事实上,AF网元也可以触发PCF网元配置第二会话的PCC规则。AF网元在触发PCF网元配置第二会话的PCC规则情况下,PCF网元确定数据流为UE间的数据流,SMF网元在PCF网元的指示下创建第二会话和第一会话创建的转发规则的方式与实施例与如图9所示的实施例类似,此处不再赘述。
基于如图4b所示的网络架构,以应用功能网元为AF网元,会话管理网元为SMF网元,策略控制功能网元为PCF网元,集中网络配置网元为CNC网元为例,对如图8所示的实施例进行进一步介绍,如图10所示,该方法包括:
步骤1001:同步骤601,具体可参见步骤601的相关描述此处不再赘述。
步骤1002:同步骤602,具体可参见步骤602的相关描述此处不再赘述。
步骤1003:同步骤603,具体可参见步骤603的相关描述此处不再赘述。
步骤1004:同步骤604,具体可参见步骤604的相关描述此处不再赘述。
步骤1005:AF网元向PCF网元发送第一消息,该第一消息包括配置第一会话的PCC规则所需的信息以及第二会话的信息。
配置第一会话的PCC规则所需的信息包括数据流的入端口标识以及UE1到UPF网元的时延信息T1;可选的,还可以包括第一会话的标识(也即UE1的会话的标识)。
步骤1006:同步骤607,具体可参见步骤607的相关描述此处不再赘述。
步骤1007:PCF网元向SMF网元发送第一转发规则创建请求,请求为第一会话创建转发规则,第一转发规则创建请求中携带有SMF网元创建第一会话的转发规则所需的信息和第二会话信息,创建第一会话的转发规则所需的信息包括但不限于:上行流的5QI、第一会话的标识(例如会话对应的PCF网元和SMF网元之间的接口)。
步骤1008:SMF网元根据第二会话的信息确定该数据流为UE间的数据流。步骤1007与步骤609中第一消息信息采用间接指示的方式下,SMF网元确定该数据流为UE间的数据流的方式相同,具体可参见前述说明,此处不再赘述。
步骤1009:SMF网元分别为第一会话和第二会话创建转发规则,将第一会话和第二会话的规则配置为本地转发。
步骤1010:SMF网元分别将为第一会话和第二会话创建的转发规则下发至UPF网元,UPF网元根据接收到的该转发规则配置第一会话以及第二会话。
在如图10所示的实施例中,以AF网元触发PCF网元配置第一会话的PCC规则为例进行说明,事实上,AF网元也可以触发PCF网元配置第二会话的PCC规则。AF网元在触发PCF网元配置第二会话的PCC规则情况下,SMF网元确定数据流为UE间的数据流,SMF网元创建第二会话和第二会话的转发规则的方式与实施例与如图10所示的实施例类似,此处不再赘述。
结合图6和图9,本申请实施例还提供了一种通信方法,如图11所示,该方法包括:
步骤1101:同步骤602,具体可参见步骤602的相关描述此处不再赘述。
步骤1102:同步骤603,具体可参见步骤603的相关描述此处不再赘述。
步骤1103:同步骤604,具体可参见步骤604的相关描述此处不再赘述。
步骤1104:同步骤605,具体可参见步骤605的相关描述此处不再赘述。
步骤1105:AF网元分别触发PCF网元配置第一会话的PCC规则以及第二会话的PCC规则,向PCF网元发送第一会话的标识以及第二会话的标识。
其中,AF网元分别触发PCF网元配置第一会话的PCC规则以及第二会话的PCC规则是指,AF网元分别向PCF网元发送配置第一会话的PCC规则所需的信息以及配置第二会话的PCC规则所需的信息。AF网元可以在向PCF网元发送配置第一会话的PCC规则所需的信息时,发送第一会话的标识以及第二会话的标识,也可以在向PCF网元发送配置第二会话的PCC规则所需的信息时,发送第一会话的标识以及第二会话的标识,本申请实施例并不限定。
步骤1106:PCF网元根据第一会话的标识以及第二会话的标识确定该数据流为UE间的数据流。本申请实施例并不限定第二会话标识的数量,可以是一个也可以是多个。
步骤1107~1113:同步骤908~步骤914,具体可参见步骤908~步骤914的相关描述此处不再赘述。
基于与方法实施例同一发明构思,本申请实施例还提供了一种通信装置,用于执行上述如图5、6所示的方法实施例中所述AF网元执行的方法,相关特征可参见上述方法实施例,此处不再赘述,如图12所示,该装置包括接收单元1201和处理单元1202:
接收单元1201,用于获取数据流的转发信息,数据流的转发信息包括数据流对应的入口信息和数据流对应的出口信息。
处理单元1202,用于基于数据流的转发信息确定数据流为终端设备间的数据流;触发核心网设备为入口信息对应的第一会话以及出口信息对应的第二会话配置策略和计费控制PCC规则。
在一种可能的实施方式中,入口信息包括数据流的入端口标识,出口信息包括数据流的出端口标识;处理单元1202在基于数据流的转发信息确定数据流为终端设备间的数据流时,可以根据出端口标识和入端口标识确定数据流为第一终端设备和第二终端设备间的数据流,其中,出端口标识为第二终端设备侧的端口标识和入端口标识为第一终端设备侧的端口标识。
在一种可能的实施方式中,处理单元1202在根据出端口标识和入端口标识确定数据流为终端设备间的数据流时可以基于出端口标识和入端口标识分别与第一会话和第二会话相关联,确定数据流为终端设备间的数据流。
在一种可能的实施方式中,数据流为第一终端设备到第二终端设备的数据流,第一会话为第一终端设备建立的会话,第二会话为第二终端设备建立的会话。
在一种可能的实施方式中,该装置还包括发送单元1203,在接收单元1201获取数据流的转发信息之前,处理单元1202还可以确定第一终端设备与第二终端设备能够相互通信。
发送单元1203可以根据已获取的第一终端设备的时延信息和第二终端设备的时延信息向时延敏感网络中的设备上报第一终端设备侧的端口到第二终端设备侧的端口的传输时延;其中,第二终端设备的时延信息用于指示第二终端设备侧的端口与数据网络间的 传输时延,第一终端设备的时延信息用于指示一终端设备侧的端口与数据网络间的传输时延。
在一种可能的实施方式中,在接收单元1201获取数据流的转发信息之前,接收单元1201可以在第一终端设备建立第一会话时,接收第一终端设备的时延信息;在第二终端设备建立第二会话时,接收第二终端设备的时延信息和第三指示信息;第三指示信息用于指示第一终端设备侧的端口和第二终端设备侧的端口是端口对。
处理单元1202可以根据第三指示信息,确定第一终端设备与第二终端设备能够相互通信。
在一种可能的实施方式中,在接收单元1201获取数据流的转发信息之前,接收单元1201可以在第二终端设备建立第二会话时,接收第二终端设备的时延信息;在第一终端设备建立第一会话时,接收第一终端设备的时延信息和第四指示信息;第四指示信息用于指示第一终端设备侧的端口和第二终端设备侧的端口是端口对。
处理单元1202可以根据第四指示信息,确定第一终端设备与第二终端设备能够相互通信。
在一种可能的实施方式中,在接收单元1201获取数据流的转发信息之前,接收单元1201可以在第一终端设备建立第一会话时,接收第一终端设备的时延信息;在第二终端设备建立第二会话时,接收第二终端设备的时延信息。
处理单元1202在确定第一终端设备与第二终端设备能够相互通信时,可以根据群组信息,确定第一终端设备和第二终端设备能够相互通信。
在一种可能的实施方式中,发送单元1203可以向核心网设备发送第一指示信息,第一指示信息用于指示数据流为终端设备间的数据流。
在一种可能的实施方式中,第一指示信息指示数据流为终端设备间的数据流的方式有许多中,可以采用直接指示的方式,如第一指示信息为表征该数据流为终端设备间的数据流的字符,也可以采用间接指示的方式,下面列举其中几种间接指示的方式:
方式一、第一指示信息包括数据流的入端口标识和数据流的出端口标识。
方式二、第一指示信息包括第一会话的标识和第二会话的标识。
方式三、第一指示消息包括出端口标识或第二会话的标识。
在一种可能的实施方式中,发送单元1203还可以向核心网设备发送第二指示信息,第二指示信息用于指示数据流为终端设备间的数据流。
在一种可能的实施方式中,第二指示信息指示数据流为终端设备间的数据流的方式有许多中,可以采用直接指示的方式,如发送表征该数据流为终端设备间的数据流的字符,也可以采用间接指示的方式,下面列举其中几种间接指示的方式:
方式一、第二指示信息包括数据流的入端口标识和数据流的出端口标识。
方式二、第二指示信息包括第一会话的标识和第二会话的标识。
方式三、第二指示消息包括入端口标识或第一会话的标识。
在一种可能的实施方式中,入口信息包括第一会话的标识,出口信息包括第二会话的标识,处理单元1202基于数据流的转发信息确定数据流为终端设备间的数据流时,可以根据第一会话的标识和第二会话的标识确定数据流为终端设备间的数据流。
基于与方法实施例同一发明构思,本申请实施例还提供了一种通信装置,用于执行上述如图5、6所示的方法实施例中所述SMF执行的方法,相关特征可参见上述方法实施 例,此处不再赘述,如图13所示,该装置包括接收单元1301和处理单元1302:
接收单元1301,用于从策略控制功能网元接收第一转发规则创建请求,第一转发规则创建请求用于指示为承载数据流的第一会话创建转发规则,第一转发规则创建请求包括第一指示信息。
处理单元1302,用于根据第一指示信息,确定数据流为终端设备间的数据流;根据第一转发规则创建请求,配置第一会话的转发规则为本地转发。
在一种可能的实施方式中,第一指示消息的指示方式有多种,例如可以采用直接指示的方式,如第一指示信息为表征该数据流为终端设备间的数据流的字符,这样,处理单元1302可以直接根据第一指示信息确定数据流为终端设备间的数据流。又例如,第一指示消息也可以采用间接指示的方式,下面列举其中几种间接指示的方式下,处理单元1302可以直接根据第一指示信息确定数据流为终端设备间的数据流的方式:
方式一、第一指示信息包括数据流的入端口标识和数据流的出端口标识。
处理单元1302可以基于终端设备侧的端口标识与会话的关联关系,根据出端口标识与出端口标识均与会话关联,如出端口与第一会话关联,入端口与第二会话关联;进而确定数据流为终端设备间的数据流。
方式二、第一指示信息包括第一会话的标识和第二会话的标识。
处理单元1302可以基于第一会话的标识和第二会话的标识直接,该数据流承载在两个会话中,进而确定数据流为终端设备间的数据流。
方式三、第一指示消息包括出端口标识或承载数据流的第二会话的标识。
处理单元1302可以基于终端设备侧的端口标识与会话的关联关系,根据出端口标识确定数据流为终端设备间的数据流,其中,出端口标识为第二终端设备侧的端口标识;或根据承载数据流的第二会话的标识,确定数据流为终端设备间的数据流。
在一种可能的实施方式中,接收单元1301还可以从策略控制功能网元接收第二转发规则创建请求,第二转发规则创建请求用于指示为承载数据流的第二会话创建转发规则,第二转发规则创建请求包括第二指示信息。
处理单元1302可以根据第二指示信息,确定数据流为终端设备间的数据流根据第二转发规则创建请求,配置第二会话的转发规则为本地转发。
在一种可能的实施方式中,第二指示消息的指示方式有多种,例如可以采用直接指示的方式,如第二指示信息为表征该数据流为终端设备间的数据流的字符,这样,处理单元1302可以直接根据第二指示信息确定数据流为终端设备间的数据流。又例如,第二指示消息也可以采用间接指示的方式,下面列举其中几种间接指示的方式下,处理单元1302可以直接根据第二指示信息确定数据流为终端设备间的数据流的方式:
方式一、第二指示信息包括数据流的入端口标识和数据流的出端口标识。
处理单元1302可以基于终端设备侧的端口标识与会话的关联关系,根据出端口标识与出端口标识均与会话关联,如出端口与第一会话关联,入端口与第二会话关联;进而确定数据流为终端设备间的数据流。
方式二、第二指示信息包括第一会话的标识和第二会话的标识。
处理单元1302可以基于第一会话的标识和第二会话的标识直接,该数据流承载在两个会话中,进而确定数据流为终端设备间的数据流。
方式三、第二指示消息包括入端口标识或承载数据流的第一会话的标识。
处理单元1302可以基于终端设备侧的端口标识与会话的关联关系,根据入端口标识确定数据流为终端设备间的数据流,其中,入端口标识为第一终端设备侧的端口标识;或根据承载数据流的第一会话的标识,确定数据流为终端设备间的数据流。
在一种可能的实施方式中,数据流为第一终端设备到第二终端设备的数据流,入端口标识为第一终端设备侧的端口标识,出端口标识为第二终端设备侧的端口标识。装置还包括发送单元1303,该接收单元1301可以获取第二终端设备的时延信息。处理单元1302可以确定第二终端设备与第一终端设备能够相互通信;之后,发送单元1303向应用功能网元发送第二终端设备的时延信息以及第三指示信息;第三指示信息用于指示第一终端设备侧的端口和第二终端设备侧的端口是端口对。
在一种可能的实施方式中,数据流为第一终端设备到第二终端设备的数据流,入端口标识为第一终端设备侧的端口标识,出端口标识为第二终端设备侧的端口标识。该接收单元1301可以获取第一终端设备的时延信息。处理单元1302可以确定第二终端设备与第一终端设备能够相互通信;之后,发送单元1303向应用功能网元发送第一终端设备的时延信息以及第四指示信息;第四指示信息用于指示第一终端设备侧的端口和第二终端设备侧的端口是端口对。
基于与方法实施例同一发明构思,本申请实施例还提供了一种通信装置,用于执行上述如图7、9、11所示的方法实施例中所述PCF网元执行的方法,相关特征可参见上述方法实施例,此处不再赘述,如图14所示,该装置包括接收单元1401和处理单元1402。
接收单元1401,用于接收应用功能网元的第一消息,第一消息包括配置承载数据流的第一会话的PCC规则所需的信息以及承载数据流的第二会话的信息。
处理单元1402,用于根据第二会话的信息确定数据流为终端设备间的数据流;分别发起第一会话的策略和计费控制规则PCC规则的创建/修改过程和第二会话的PCC规则的创建/修改过程。
在一种可能的实施方式中,第二会话的信息包括第二会话的端口标识,处理单元1402在根据第二会话的信息确定数据流为终端设备间的数据流时,可以基于终端设备侧的端口标识与会话的对应关系,根据第二会话的端口标识确定数据流为终端设备间的数据流。
在一种可能的实施方式中,数据流为第一终端设备到第二终端设备的数据流,第一指示还下列信息的部分或全部:第一会话的时延信息、第二会话的时延信息,第三时延信息;
其中,第一会话的时延信息用于指示第一终端设备侧的端口到数据网元的传输时延,第二会话的时延信息用于指示第二终端设备侧的端口到数据网元的传输时延,第三时延信息,第三时延信息用于指示第一终端设备侧的端口到第二终端设备侧的端口的传输时延。
在一种可能的实施方式中,该装置还包括发送单元1403,处理单元1402分别发起第一会话的策略和计费控制规则PCC规则的创建/修改过程和第二会话的PCC规则的创建/修改过程时,可以根据第一指示确定第一会话和第二会话的5QI;
发送单元1403向会话管理网元发送第一会话和第二会话的5QI。
基于与方法实施例同一发明构思,本申请实施例还提供了一种通信装置,用于执行上述如图8、10、11所示的方法实施例中所述SMF网元执行的方法,相关特征可参见上 述方法实施例,此处不再赘述,如图15所示,该装置包括接收单元1501和处理单元1502。
接收单元1501,用于接收策略控制网元的转发规则创建请求,转发规则创建请求用于指示创建承载数据流的第一会话的转发规则,转发规则创建请求包括承载数据流的第二会话的信息;
处理单元1502,根据第二会话的信息确定数据流为终端设备间的数据流;分别配置第一会话和第二会话的转发规则为本地转发。
在一种可能的实施方式中,第二会话的信息包括第二会话的端口标识,处理单元1502根据第二会话的信息确定数据流为终端设备间的数据流时,可以基于终端设备侧的端口标识与会话的对应关系,根据第二会话的端口标识确定数据流为终端设备间的数据流。
在一种可能的实施方式中,第二会话的信息包括第二会话的会话标识,处理单元1502根据第二会话的信息确定数据流为终端设备间的数据流时,可以根据第二会话的标识确定数据流为终端设备间的数据流。
本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能单元可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台终端设备(可以是个人计算机,手机,或者网络设备等)或处理器(processor)执行本申请各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
在本申请实施例中,所述基站和所述终端设备均可以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。
在一个简单的实施例中,本领域的技术人员可以想到所述会话管理网元、应用功能网元以及策略控制功能可采用图16所示的形式。
如图16所示的通信装置1600,包括至少一个处理器1601、存储器1602,可选的,还可以包括通信接口1603。
存储器1602可以是易失性存储器,例如随机存取存储器;存储器也可以是非易失性存储器,例如只读存储器,快闪存储器,硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)、或者存储器1602是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器1602可以是上述存储器的组合。
本申请实施例中不限定上述处理器1601以及存储器1602之间的具体连接介质。本申请实施例在图中以存储器1602和处理器1601之间通过总线1604连接,总线1604在图中 以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。该总线1604可以分为地址总线、数据总线、控制总线等。为便于表示,图16中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
处理器1601可以具有数据收发功能,能够与其他设备进行通信,在如图16装置中,也可以设置独立的数据收发模块,例如通信接口1603,用于收发数据;处理器1601在与其他设备进行通信时,可以通过通信接口1603进行数据传输。
当所述会话管理网元采用图16所示的形式时,图16中的处理器1601可以通过调用存储器1602中存储的计算机执行指令,使得所述基站可以执行上述任一方法实施例中的所述基站执行的方法。
具体的,图13、图15中的发送单元、接收单元和处理单元的功能/实现过程均可以通过图16中的处理器1601调用存储器1602中存储的计算机执行指令来实现。或者,图13、图15中的处理单元的功能/实现过程可以通过图16中的处理器1601调用存储器1602中存储的计算机执行指令来实现,图13、图15的发送单元和接收单元的功能/实现过程可以通过图16中的通信接口1603来实现。
当所述应用功能网元采用图16所示的形式时,图16中的处理器1601可以通过调用存储器1602中存储的计算机执行指令,使得所述基站可以执行上述任一方法实施例中的所述基站执行的方法。
具体的,图12中的发送单元、接收单元和处理单元的功能/实现过程均可以通过图16中的处理器1601调用存储器1602中存储的计算机执行指令来实现。或者,图12中的处理单元的功能/实现过程可以通过图16中的处理器1601调用存储器1602中存储的计算机执行指令来实现,图12的发送单元和接收单元的功能/实现过程可以通过图16中的通信接口1603来实现。
当所述策略控制功能网元采用图16所示的形式时,图16中的处理器1601可以通过调用存储器1602中存储的计算机执行指令,使得所述基站可以执行上述任一方法实施例中的所述基站执行的方法。
具体的,图14中的发送单元和处理单元的功能/实现过程均可以通过图16中的处理器1601调用存储器1602中存储的计算机执行指令来实现。或者,图14中的处理单元的功能/实现过程可以通过图16中的处理器1601调用存储器1602中存储的计算机执行指令来实现,图14的发送单元的功能/实现过程可以通过图16中的通信接口1603来实现。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能 的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (53)

  1. 一种通信方法,其特征在于,所述方法包括:
    应用功能网元获取数据流的转发信息,所述数据流的转发信息包括所述数据流对应的入口信息和所述数据流对应的出口信息;
    所述应用功能网元基于数据流的转发信息确定所述数据流为终端设备间的数据流;
    所述应用功能网元触发核心网设备为所述入口信息对应的第一会话以及所述出口信息对应的第二会话配置策略和计费控制PCC规则。
  2. 如权利要求1所述的方法,其特征在于,所述入口信息包括所述数据流的入端口标识,所述出口信息包括所述数据流的出端口标识;所述应用功能网元基于数据流的转发信息确定所述数据流为终端设备间的数据流,包括:
    所述应用功能网元根据所述出端口标识和所述入端口标识确定所述数据流为第一终端设备和第二终端设备间的数据流,其中,所述出端口标识为所述第二终端设备侧的端口标识和所述入端口标识为所述第一终端设备侧的端口标识。
  3. 如权利要求2所述的方法,其特征在于,所述应用功能网元根据所述出端口标识和所述入端口标识确定所述数据流为终端设备间的数据流,具体包括:
    所述应用功能网元基于所述出端口标识和所述入端口标识分别与所述第一会话和所述第二会话相关联,确定所述数据流为终端设备间的数据流。
  4. 如权利要求2或3所述的方法,其特征在于,所述数据流为第一终端设备到第二终端设备的数据流,所述第一会话为所述第一终端设备建立的会话,所述第二会话为所述第二终端设备建立的会话。
  5. 如权利要求2-4任一所述的方法,其特征在于,在所述应用功能网元获取数据流的转发信息之前,所述方法还包括:
    所述应用功能网元确定所述第一终端设备与所述第二终端设备能够相互通信;
    所述应用功能网元根据已获取的第一终端设备的时延信息和所述第二终端设备的时延信息,向时延敏感网络中的设备上报所述第一终端设备侧的端口到所述第二终端设备侧的端口的传输时延。
  6. 如权利要求5所述的方法,其特征在于,在所述应用功能网元获取数据流的转发信息之前,所述方法还包括:
    在所述第一终端设备建立所述第一会话时,所述应用功能网元接收所述第一终端设备的时延信息;
    在所述第二终端设备建立所述第二会话时,所述应用功能网元接收所述第二终端设备的时延信息和第三指示信息;所述第三指示信息用于指示所述第一终端设备侧的端口和所述第二终端设备侧的端口是端口对;
    所述应用功能网元确定所述第一终端设备与所述第二终端设备能够相互通信,具体包括:
    所述应用功能网元根据所述第三指示信息,确定第一终端设备与所述第二终端设备能够相互通信。
  7. 如权利要求5所述的方法,其特征在于,在所述应用功能网元获取数据流的转发信息之前,所述方法还包括:
    在所述第二终端设备建立所述第二会话时,所述应用功能网元接收所述第二终端设备的时延信息;
    在所述第一终端设备建立所述第一会话时,所述应用功能网元接收所述第一终端设备的时延信息和第四指示信息;所述第三指示信息用于指示所述第一终端设备侧的端口和所述第二终端设备侧的端口是端口对;
    所述应用功能网元确定所述第一终端设备与所述第二终端设备能够相互通信,具体包括:
    所述应用功能网元根据所述第四指示信息,确定第一终端设备与所述第二终端设备能够相互通信。
  8. 如权利要求5所述的方法,其特征在于,在所述应用功能网元获取数据流的转发信息之前,所述方法还包括:
    在所述第一终端设备建立所述第一会话时,所述应用功能网元接收所述第一终端设备的时延信息;
    在所述第二终端设备建立所述第二会话时,所述应用功能网元接收所述第二终端设备的时延信息;
    所述应用功能网元确定所述第一终端设备与所述第二终端设备能够相互通信,具体包括:
    所述应用功能网元根据群组信息,确定所述第一终端设备和所述第二终端设备能够相互通信。
  9. 如权利要求2-8任一所述的方法,其特征在于,所述应用功能网元触发核心网设备为所述入口信息对应的第一会话配置策略和计费控制PCC规则,包括:
    所述应用功能网元向所述核心网设备发送第一指示信息,所述第一指示信息用于指示所述数据流为终端设备间的数据流。
  10. 如权利要求9所述的方法,其特征在于,所述第一指示消息包括下列三组信息任一组信息:
    第一组、所述出端口标识或所述第二会话的标识;第二组、所述第一会话的标识和所述第二会话的标识;第三组、所述数据流的入端口标识和所述数据流的出端口标识。
  11. 如权利要求2-8任一所述的方法,其特征在于,所述应用功能网元触发核心网设备为所述出口信息对应的第二会话配置策略和计费控制PCC规则,包括:
    所述应用功能网元向所述核心网设备发送第二指示信息,所述第二指示信息用于指示所述数据流为终端设备间的数据流。
  12. 如权利要求8所述的方法,其特征在于,所述第二指示消息包括下列三组信息任一组信息:
    第一组、所述入端口标识或所述第一会话的标识;第二组、所述第一会话的标识和所述第二会话的标识;第三组、所述数据流的入端口标识和所述数据流的出端口标识。
  13. 如权利要求1所述的方法,其特征在于,所述入口信息包括所述第一会话的标识,所述出口信息包括所述第二会话的标识,所述应用功能网元基于数据流的转发信息确定所述数据流为终端设备间的数据流,包括:
    所述应用功能网元根据所述第一会话的标识和所述第二会话的标识确定所述数据流为终端设备间的数据流。
  14. 一种通信方法,其特征在于,所述方法包括:
    会话管理网元从策略控制功能网元接收第一转发规则创建请求,所述第一转发规则创建请求用于指示为承载数据流的第一会话创建转发规则,所述第一转发规则创建请求包括第一指示信息;
    所述会话管理网元根据所述第一指示信息,确定所述数据流为终端设备间的数据流;
    所述会话管理网元根据所述第一转发规则创建请求,配置所述第一会话的转发规则为本地转发。
  15. 如权利要求14所述的方法,其特征在于,所述第一指示消息包括所述数据流的出端口标识或承载所述数据流的第二会话的标识,所述会话管理网元根据所述第一指示信息,确定所述数据流为终端设备间的数据流,包括:
    所述会话管理网元基于终端设备侧的端口标识与会话的关联关系,根据所述出端口标识确定所述数据流为终端设备间的数据流,其中,所述出端口标识为所述第二终端设备侧的端口标识;或
    所述会话管理网元根据所述承载所述数据流的所述第二会话的标识,确定所述数据流为终端设备间的数据流。
  16. 如权利要求14所述的方法,其特征在于,所述第一指示消息包括所述数据流的入端口标识和所述数据流的出端口标识,所述会话管理网元根据所述第一指示信息,确定所述数据流为终端设备间的数据流,包括:
    所述会话管理网元基于终端设备侧的端口标识与会话的关联关系,根据所述数据流的入端口标识与所述第二会话关联,所述数据流的出端口标识与所述第一会话关联,确定所述数据流为终端设备间的数据流。
  17. 如权利要求14所述的方法,其特征在于,所述第一指示消息包括所述第一会话的标识和所述第二会话的标识,所述会话管理网元根据所述第一指示信息,确定所述数据流为终端设备间的数据流,包括:
    所述会话管理网元基于所述第一会话的标识和所述第二会话的标识,确定所述数据流为终端设备间的数据流。
  18. 如权利要求14所述的方法,其特征在于,所述方法还包括:
    会话管理网元从策略控制功能网元接收第二转发规则创建请求,所述第二转发规则创建请求用于指示为承载所述数据流的第二会话创建转发规则,所述第二转发规则创建请求包括第二指示信息;
    所述会话管理网元根据所述第二指示信息,确定所述数据流为终端设备间的数据流;
    所述会话管理网元根据所述第二转发规则创建请求,配置所述第二会话的转发规则为本地转发。
  19. 如权利要求18所述的方法,其特征在于,所述第二指示消息包括所述数据流的入端口标识或承载所述数据流的第一会话的标识,所述会话管理网元根据所述第二指示信息,确定所述数据流为终端设备间的数据流,包括:
    所述会话管理网元基于终端设备侧的端口标识与会话的关联关系,根据所述入端口标识确定所述数据流为终端设备间的数据流,其中,所述入端口标识为所述第一终端设备侧的端口标识;或
    所述会话管理网元根据所述承载所述数据流的所述第二会话的标识,确定所述数据 流为终端设备间的数据流。
  20. 如权利要求18所述的方法,其特征在于,所述第二指示消息包括所述数据流的入端口标识和数据流的出端口标识,所述会话管理网元根据所述第二指示信息,确定所述数据流为终端设备间的数据流,包括:
    所述会话管理网元基于终端设备侧的端口标识与会话的关联关系,根据所述数据流的入出端口标识与所述第二会话关联,所述数据流的出端口标识与所述第一会话关联,确定所述数据流为终端设备间的数据流。
  21. 如权利要求18所述的方法,其特征在于,所述第二指示消息包括所述第一会话的标识和所述第二会话的标识,所述会话管理网元根据所述第二指示信息,确定所述数据流为终端设备间的数据流,包括:
    所述会话管理网元根据所述第一会话的标识和所述第二会话的标识,确定所述数据流为终端设备间的数据流。
  22. 如权利要求14~21任一所述的方法,其特征在于,所述数据流为第一终端设备到第二终端设备的数据流,所述入端口标识为所述第一终端设备侧的端口标识,所述出端口标识为所述第二终端设备侧的端口标识,所述方法还包括:
    所述会话管理网元获取第二终端设备的时延信息;
    所述会话管理网元在确定所述第二终端设备与第一终端设备能够相互通信后,向所述应用功能网元发送第二终端设备的时延信息以及第三指示信息;所述第三指示信息用于指示所述第一终端设备侧的端口和所述第二终端设备侧的端口是端口对。
  23. 如权利要求14~21任一所述的方法,其特征在于,所述数据流为第一终端设备到第二终端设备的数据流,所述入端口标识为所述第一终端设备侧的端口标识,所述出端口标识为所述第二终端设备侧的端口标识,所述方法还包括:
    所述会话管理网元获取第一终端设备的时延信息;
    所述会话管理网元在确定所述第二终端设备与第一终端设备能够相互通信后,向所述应用功能网元发送第一终端设备的时延信息以及第四指示信息;所述第四指示信息用于指示所述第一终端设备侧的端口和所述第二终端设备侧的端口是端口对。
  24. 一种通信方法,其特征在于,方法包括:
    策略控制功能网元接收应用功能网元的第一消息,所述第一消息包括配置承载数据流的第一会话的策略和计费控制规则PCC规则所需的信息以及承载数据流的第二会话的信息;
    所述策略控制功能网元根据所述第二会话的信息确定所述数据流为终端设备间的数据流;
    所述策略控制功能网元分别发起所述第一会话的PCC规则的创建/修改过程和所述第二会话的PCC规则的创建/修改过程。
  25. 如权利要求24所述的方法,其特征在于,所述第二会话的信息包括所述第二会话的端口标识,所述策略控制功能网元根据第二会话的信息确定数据流为终端设备间的数据流,包括:
    所述策略控制功能网元基于终端设备侧的端口标识与会话的关联关系,根据所述第二会话的端口标识确定所述数据流为终端设备间的数据流。
  26. 如权利要求24或25所述的方法,其特征在于,所述数据流为第一终端设备到第 二终端设备的数据流,所述第一消息还包括下列信息的部分或全部:所述第一会话的时延信息、所述第二会话的时延信息,第三时延信息。
  27. 如权利要求24~26任一所述的方法,其特征在于,所述策略控制功能网元分别发起第一会话的PCC规则的创建/修改过程和第二会话的PCC规则的创建/修改过程,包括:
    所述策略控制功能网元根据所述第一消息确定所述第一会话和所述第二会话的5G服务质量指示符5QI;
    所述策略控制功能网元向会话管理网元发送第一会话和第二会话的5QI。
  28. 如权利要求27所述的方法,其特征在于,若所述第一消息包括所述第一会话的时延信息;所述策略控制功能网元根据所述第一消息确定所述第一会话和所述第二会话的5QI,包括:
    所述策略控制功能网元根据第一会话的时延信息确定第一会话的5QI,将所述第二会话的5QI设置为第一会话的5QI;
    若所述第一消息包括所述第二会话的时延信息和所述第一会话的时延信息,所述策略控制功能网元根据所述第一消息确定所述第一会话和所述第二会话的5QI,包括:
    所述策略控制功能网元根据所述第一会话的时延信息确定所述第一会话的5QI,根据所述第二会话的时延信息确定所述第二会话的5QI;
    若所述第一消息包括所述第三时延信息,所述策略控制功能网元根据所述第一消息确定所述第一会话和所述第二会话的5QI,包括:
    所述策略控制功能网元根据第三时延信息确定所述第一会话和所述第二会话的5QI。
  29. 一种通信方法,其特征在于,所述方法包括:
    会话管理网元接收策略控制网元的转发规则创建请求,转发规则创建请求用于指示创建承载数据流的第一会话的转发规则,转发规则创建请求包括承载所述数据流的第二会话的信息;
    所述会话管理网元根据所述第二会话的信息确定数据流为终端设备间的数据流;
    所述会话管理网元分别配置所述第一会话和所述第二会话的转发规则为本地转发。
  30. 如权利要求29所述的方法,其特征在于,所述第二会话的信息包括第二会话的端口标识,所述会话管理网元根据第二会话的信息确定数据流为终端设备间的数据流,包括:
    所述会话管理网元基于终端设备侧的端口标识与会话的对应关系,根据所述第二会话的端口标识确定所述数据流为终端设备间的数据流。
  31. 如权利要求29所述的方法,其特征在于,所述第二会话的信息包括所述第二会话的会话标识,所述会话管理网元根据第二会话的信息确定数据流为终端设备间的数据流,包括:
    所述会话管理网元根据所述第二会话的标识确定所述数据流为终端设备间的数据流。
  32. 一种通信系统,其特征在于,该通信系统包括应用功能网元和会话管理网元,
    所述应用功能网元,用于获取数据流的转发信息,所述数据流的转发信息包括所述数据流对应的入口信息和所述数据流对应的出口信息;基于所述数据流的转发信息确定所述数据流为终端设备间的数据流;向策略控制功能网元发送第一指示消息;
    所述会话管理网元,用于从所述策略控制功能网元接收第一转发规则创建请求,所 述第一转发规则创建请求用于指示为承载所述数据流的第一会话创建转发规则,所述第一转发规则创建请求包括所述第一指示信息;根据所述第一指示信息,确定所述数据流为终端设备间的数据流;根据所述第一转发规则创建请求配置所述第一会话的转发规则为本地转发。
  33. 如权利要求32所述的通信系统,其特征在于,所述入口信息包括所述数据流的入端口标识,所述出口信息包括所述数据流的出端口标识;所述应用功能网元基于数据流的转发信息确定所述数据流为终端设备间的数据流,用于:
    根据所述出端口标识和所述入端口标识确定所述数据流为第一终端设备和第二终端设备间的数据流,其中,所述出端口标识为所述第二终端设备侧的端口标识和所述入端口标识为所述第一终端设备侧的端口标识。
  34. 如权利要求33所述的通信系统,其特征在于,所述应用功能网元根据所述出端口标识和所述入端口标识确定所述数据流为终端设备间的数据流,具体用于:
    基于所述出端口标识和所述入端口标识分别与所述第一会话和所述第二会话相关联,确定所述数据流为终端设备间的数据流。
  35. 如权利要求32或33所述的通信系统,其特征在于,所述数据流为第一终端设备到第二终端设备的数据流,所述第一会话为所述第一终端设备建立的会话,所述第二会话为所述第二终端设备建立的会话。
  36. 如权利要求32-35任一所述的通信系统,其特征在于,在所述应用功能网元获取数据流的转发信息之前,所述应用功能网元,还用于:
    确定所述第一终端设备与所述第二终端设备能够相互通信;
    根据已获取的第一终端设备的时延信息和所述第二终端设备的时延信息,向时延敏感网络中的设备上报所述第一终端设备侧的端口到所述第二终端设备侧的端口的传输时延。
  37. 如权利要求36所述的通信系统,其特征在于,
    所述会话管理网元还用于:
    获取第二终端设备的时延信息;在确定所述第二终端设备与第一终端设备能够相互通信后,向所述应用功能网元发送第二终端设备的时延信息以及所述第三指示信息,所述第三指示信息用于指示所述第一终端设备侧的端口和所述第二终端设备侧的端口是端口对;
    所述应用功能网元还用于:
    在所述第一终端设备建立所述第一会话时,接收所述第一终端设备的时延信息;在所述第二终端设备建立所述第二会话时,从所述会话管理网元接收所述第二终端设备的时延信息和第三指示信息;
    所述应用功能网元在确定所述第一终端设备与所述第二终端设备能够相互通信,具体用于:
    根据所述第三指示信息,确定第一终端设备与所述第二终端设备能够相互通信。
  38. 如权利要求36所述的通信系统,其特征在于,
    所述会话管理网元还用于:
    获取第一终端设备的时延信息;在确定所述第二终端设备与第一终端设备能够相互通信后,向所述应用功能网元发送第一终端设备的时延信息以及第四指示信息,所述第 四指示信息用于指示所述第一终端设备侧的端口和所述第二终端设备侧的端口是端口对;
    所述应用功能网元还用于:
    在所述第二终端设备建立所述第二会话时,接收所述第二终端设备的时延信息;在所述第一终端设备建立所述第一会话时,从所述会话管理网元接收所述第一终端设备的时延信息和所述第四指示信息;
    所述应用功能网元在确定所述第一终端设备与所述第二终端设备能够相互通信,具体用于:
    根据所述第四指示信息,确定第一终端设备与所述第二终端设备能够相互通信。
  39. 如权利要求32所述的通信系统,其特征在于,所述入口信息包括所述第一会话的标识,所述出口信息包括所述第二会话的标识,所述应用功能网元基于数据流的转发信息确定所述数据流为终端设备间的数据流,包括:
    所述应用功能网元根据所述第一会话的标识和所述第二会话的标识确定所述数据流为终端设备间的数据流。
  40. 如权利要求32所述的通信系统,其特征在于,所述第一指示消息包括所述出端口标识或所述第二会话的标识,所述会话管理网元根据所述第一指示信息,确定所述数据流为终端设备间的数据流,具体用于:
    基于终端设备侧的端口标识与会话的关联关系,根据所述出端口标识确定所述数据流为终端设备间的数据流,其中,所述出端口标识为所述第二终端设备侧的端口标识;或
    根据所述承载所述数据流的所述第二会话的标识,确定所述数据流为终端设备间的数据流。
  41. 如权利要求32所述的通信系统,其特征在于,
    所述应用功能网元,还用于通过所述策略控制功能网元向所述会话管理网元发送第二指示消息;
    会话管理网元,用于从所述策略控制功能网元接收第二转发规则创建请求,所述第二转发规则创建请求用于指示为承载所述数据流的第二会话创建转发规则,所述第二转发规则创建请求包括第二指示信息;根据所述第二指示信息,确定所述数据流为终端设备间的数据流;根据所述第二转发规则创建请求,配置所述第二会话的转发规则为本地转发。
  42. 如权利要求40所述的通信系统,其特征在于,所述第二指示消息包括所述数据流的入端口标识或承载所述数据流的第一会话的标识,所述会话管理网元根据所述第二指示信息,确定所述数据流为终端设备间的数据流,用于:
    基于终端设备侧的端口标识与会话的关联关系,根据所述入端口标识确定所述数据流为终端设备间的数据流,其中,所述入端口标识为所述第一终端设备侧的端口标识;或
    根据所述承载所述数据流的所述第二会话的标识,确定所述数据流为终端设备间的数据流。
  43. 一种通信装置,其特征在于,用于实现如权利要求1至13任一项所述的方法。
  44. 一种通信装置,其特征在于,用于实现如权利要求14至23任一项所述的方法。
  45. 一种通信装置,其特征在于,用于实现如权利要求24至28任一项所述的方法。
  46. 一种通信装置,其特征在于,用于实现如权利要求29至31任一项所述的方法。
  47. 一种通信装置,其特征在于,包括处理器和存储器,所述存储器中存储有指令,所述处理器执行所述指令时,使得所述装置执行权利要求1至13任一项所述的方法。
  48. 一种通信装置,其特征在于,包括处理器和存储器,所述存储器中存储有指令,所述处理器执行所述指令时,使得所述装置执行权利要求14至23任一项所述的方法。
  49. 一种通信装置,其特征在于,包括处理器和存储器,所述存储器中存储有指令,所述处理器执行所述指令时,使得所述装置执行权利要求24至28任一项所述的方法。
  50. 一种通信装置,其特征在于,包括处理器和存储器,所述存储器中存储有指令,所述处理器执行所述指令时,使得所述装置执行权利要求29至31任一项所述的方法。
  51. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行权利要求1至31任一项所述的方法。
  52. 一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行权利要求1至31任一项所述的方法。
  53. 一种计算机芯片,其特征在于,所述芯片与存储器相连,所述芯片用于读取并执行所述存储器中存储的软件程序,执行权利要求1至31任一项所述的方法。
PCT/CN2020/127293 2019-11-08 2020-11-06 一种通信方法、装置及系统 WO2021089017A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2022526461A JP7472279B2 (ja) 2019-11-08 2020-11-06 通信方法、装置、およびシステム
CA3160808A CA3160808A1 (en) 2019-11-08 2020-11-06 Communication method, apparatus, and system
EP20885795.3A EP4044506A4 (en) 2019-11-08 2020-11-06 COMMUNICATION METHOD, DEVICE AND SYSTEM
AU2020379793A AU2020379793C1 (en) 2019-11-08 2020-11-06 Communication method, apparatus and system
US17/738,778 US20220264355A1 (en) 2019-11-08 2022-05-06 Communication Method, Apparatus, and System

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911090227.9 2019-11-08
CN201911090227.9A CN112787827A (zh) 2019-11-08 2019-11-08 一种通信方法、装置及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/738,778 Continuation US20220264355A1 (en) 2019-11-08 2022-05-06 Communication Method, Apparatus, and System

Publications (1)

Publication Number Publication Date
WO2021089017A1 true WO2021089017A1 (zh) 2021-05-14

Family

ID=75748515

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/127293 WO2021089017A1 (zh) 2019-11-08 2020-11-06 一种通信方法、装置及系统

Country Status (7)

Country Link
US (1) US20220264355A1 (zh)
EP (1) EP4044506A4 (zh)
JP (1) JP7472279B2 (zh)
CN (1) CN112787827A (zh)
AU (1) AU2020379793C1 (zh)
CA (1) CA3160808A1 (zh)
WO (1) WO2021089017A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101384076A (zh) * 2007-09-04 2009-03-11 华为技术有限公司 一种策略和计费控制的处理方法、切换方法、系统及设备
CN106453138A (zh) * 2016-11-25 2017-02-22 杭州华三通信技术有限公司 一种报文处理方法和装置
WO2019166081A1 (en) * 2018-02-28 2019-09-06 Nokia Technologies Oy Transparent integration of 3gpp network into tsn based industrial network
CN110267312A (zh) * 2019-06-17 2019-09-20 腾讯科技(深圳)有限公司 数据传输的方法、管理服务质量流的方法、设备及介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324152B (zh) * 2018-03-30 2021-05-11 华为技术有限公司 策略和计费控制规则获取方法、装置及系统
CN113301518A (zh) 2018-04-09 2021-08-24 华为技术有限公司 通信方法及装置
WO2019197426A1 (en) * 2018-04-10 2019-10-17 NEC Laboratories Europe GmbH System and method of application function influence on traffic routing in enhanced topology of smf and upf in 5g networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101384076A (zh) * 2007-09-04 2009-03-11 华为技术有限公司 一种策略和计费控制的处理方法、切换方法、系统及设备
CN106453138A (zh) * 2016-11-25 2017-02-22 杭州华三通信技术有限公司 一种报文处理方法和装置
WO2019166081A1 (en) * 2018-02-28 2019-09-06 Nokia Technologies Oy Transparent integration of 3gpp network into tsn based industrial network
CN110267312A (zh) * 2019-06-17 2019-09-20 腾讯科技(深圳)有限公司 数据传输的方法、管理服务质量流的方法、设备及介质

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LG ELECTRONICS, NTT DOCOMO, KPN, ERICSSON: "Conclusion of Solution#8", 3GPP DRAFT; S2-1810858_WAS10843_WAS10286_EV2X_SOL8_CONCLUSION, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Dongguan, P. R. China; 20181015 - 20181019, 18 October 2018 (2018-10-18), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051539798 *
See also references of EP4044506A4 *

Also Published As

Publication number Publication date
EP4044506A4 (en) 2022-11-23
JP7472279B2 (ja) 2024-04-22
CN112787827A (zh) 2021-05-11
CA3160808A1 (en) 2021-05-14
AU2020379793C1 (en) 2023-08-10
US20220264355A1 (en) 2022-08-18
EP4044506A1 (en) 2022-08-17
AU2020379793B2 (en) 2023-01-19
AU2020379793A1 (en) 2022-06-09
JP2023500941A (ja) 2023-01-11

Similar Documents

Publication Publication Date Title
WO2020103842A1 (zh) 一种通信方法及装置
US11917498B2 (en) Communication method and communications apparatus
US11864019B2 (en) Time-sensitive networking communication method and apparatus
WO2020220747A1 (zh) 一种tsn业务的处理方法、装置及系统
US11528239B2 (en) Time-sensitive networking communication method and apparatus for configuring virtual switching node
WO2020221266A1 (zh) 一种通信方法及装置
US20210274418A1 (en) Information Transmission Method and Apparatus
WO2021089018A1 (zh) 一种通信方法、装置及系统
WO2021227559A1 (zh) 通信方法、装置及系统
US20230019215A1 (en) TSC-5G QoS MAPPING WITH CONSIDERATION OF ASSISTANCE TRAFFIC INFORMATION AND PCC RULES FOR TSC TRAFFIC MAPPING AND 5G QoS FLOWS BINDING
WO2020220799A1 (zh) 一种通信方法、装置及系统
WO2022021971A1 (zh) 通信方法、第一策略控制网元及通信系统
CN113973322A (zh) 一种通信方法及装置
WO2022222817A1 (zh) 一种边缘应用服务器的选择方法及装置
WO2022067700A1 (zh) 通信方法、装置及系统
WO2020248709A1 (zh) 一种mdbv的确定方法、装置及系统
WO2021089017A1 (zh) 一种通信方法、装置及系统
WO2022067699A1 (zh) 业务数据流的传输方法、通信装置及通信系统
TWI821882B (zh) 丟包率的檢測方法、通信裝置及通信系統
US20240080716A1 (en) Wireless communication method, communication apparatus, and communication system
WO2023061207A1 (zh) 一种通信方法、通信装置及通信系统
CN115696462A (zh) 一种网络编码方法及装置

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: 20885795

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022526461

Country of ref document: JP

Kind code of ref document: A

Ref document number: 3160808

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 2020885795

Country of ref document: EP

Effective date: 20220509

WWE Wipo information: entry into national phase

Ref document number: 788595

Country of ref document: NZ

ENP Entry into the national phase

Ref document number: 2020379793

Country of ref document: AU

Date of ref document: 20201106

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE