WO2021089018A1 - Communication method, apparatus and system - Google Patents

Communication method, apparatus and system Download PDF

Info

Publication number
WO2021089018A1
WO2021089018A1 PCT/CN2020/127295 CN2020127295W WO2021089018A1 WO 2021089018 A1 WO2021089018 A1 WO 2021089018A1 CN 2020127295 W CN2020127295 W CN 2020127295W WO 2021089018 A1 WO2021089018 A1 WO 2021089018A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
data stream
port
time information
plane network
Prior art date
Application number
PCT/CN2020/127295
Other languages
French (fr)
Chinese (zh)
Inventor
李汉成
周汉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021089018A1 publication Critical patent/WO2021089018A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • 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/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/70Virtual switches
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements

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 configuration network element in the TSN can indicate the control plane network element in the 5G system, and establish a data flow between the user equipment (UE) and the user plane network element.
  • the configuration network element in the TSN can configure the time information of the ingress and egress ports in the data stream. Taking this data flow as an upstream flow as an example, the configuration network element in TSN can configure the time information of the transmission class (traffic class) of the user plane network element side port.
  • the traffic class time information carries the user plane network element to send the The traffic class of the packet in the data stream.
  • the user plane network element buffers the packet in the data stream to the start time of the time window indicated by the traffic class, the buffered packet is sent within the time window.
  • the time information of a traffic class on the user-plane network element side port can correspond to multiple data streams, that is, within the time window indicated by the time information of the traffic class, the user-plane network element can send packets in multiple data streams. Text. As long as the current time reaches the time interval indicated by the time information of the traffic class, the user plane network element will send the buffered packets of the multiple data streams. The user plane network element cannot precisely control the data flow in any one of them. The transmission time of the outgoing port cannot guarantee the end-to-end transmission delay in TSN.
  • This application provides a communication method, device, and system to realize the deterministic transmission of data stream in TSN.
  • an embodiment of the present application provides a communication method.
  • the method includes: first, the control plane network element may first obtain the time information of the ingress port of the data stream, and the time information of the ingress port of the data stream indicates that the ingress port processes the data stream. The time window of the message in. After that, the control plane network element determines the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay. The time information of the outgoing port of the data stream indicates the time for the port to process the packets in the data stream. Window, the internal transmission delay is the transmission delay between the ingress port and the egress port. Then, the control plane network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port.
  • the control plane network element After the control plane network element receives the time information of the ingress port of the data stream, it can determine the time information of the egress port of the data stream. For a single data stream, the outgoing port of the data stream can be determined more accurately. The time window during which the port sends the packet in the data flow, so that the network element corresponding to the outgoing port can process the packet in the data flow according to the time information of the outgoing port of the data flow.
  • control plane network element may be an application function network element.
  • the application function network element can send the time information of the outgoing port of the data stream to the policy control function network element, and the policy control function network element sends the outgoing port of the data stream to the session management network element. Time information of the port.
  • the session management network element may send the time information of the egress port of the data stream to the network element corresponding to the egress port of the data stream.
  • the application function network element After the application function network element receives the time information of the ingress port of the data stream, it can perform pre-processing to determine the time information of the egress port of the data stream, and then send it to the session management network element for convenience.
  • the subsequent session management network element may directly send the time information of the outgoing port of the data stream.
  • the application function network element when the application function network element sends the time information of the outgoing port of the data stream to the session management network element through the policy control function network element, it can also send identification information to identify the outgoing port of the data stream.
  • the time information is for the data stream or the outgoing port.
  • the identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
  • the application function network element can identify the time information of the outgoing port of the data stream by sending the identification information, so that the session management network element can easily identify the time information of the outgoing port of the data stream and the data stream or the outgoing port. .
  • control plane network element can also be a policy control function network element.
  • policy control function network element sends the time information of the data flow out port to the network element corresponding to the data flow out port
  • the policy control function The functional network element may send the time information of the egress port of the data stream to the session management network element; after that, the session management network element sends the time information of the egress port of the data stream to the network element corresponding to the egress port of the data stream.
  • the policy control function network element After the policy control function network element receives the time information of the ingress port of the data stream, it can perform pre-processing to determine the time information of the egress port of the data stream, and then send it to the session management network element, It is convenient for the subsequent session management network element to directly send time information to the outgoing port of the data stream.
  • the policy control function network element when it sends the time information of the outgoing port of the data stream to the session management network element, it can send identification information at the same time to identify that the time information of the outgoing port of the data stream is specific to the Of the data stream or the outgoing port.
  • the identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
  • the policy control function network element can identify the time information of the outgoing port of the data stream by sending the identification information, so that the session management network element can easily identify that the time information of the outgoing port of the data stream corresponds to the data stream or the outgoing port. .
  • the policy control function network element may send the time information of the outgoing port of the data stream to the session management network element, which is not limited in the embodiment of the present application.
  • the policy control function network element The rule creation request may be forwarded to the session management network element.
  • the forwarding rule creation request is used to request the creation of a forwarding rule for the session carrying the data stream, and the forwarding rule creation request includes the time information of the outgoing port of the data stream.
  • the control plane network element may also be a session management network element, and the session management network element determines the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay; after that, Send the time information of the egress port of the data flow to the network element corresponding to the egress port.
  • the session management network element receives the time information of the ingress port of the data stream, it can be based on the corresponding relationship between the stream characteristics, the egress port identifier, and the ingress port identifier of the data stream stored in advance (the corresponding relationship may be from the application function network).
  • the data flow is obtained by determining the outgoing port of the data stream, and then determining the network element corresponding to the outgoing port of the data stream, and sending the time information of the outgoing port of the data stream to the network element corresponding to the port.
  • the session management network element After the session management network element receives the time information of the ingress port of the data stream, it can conveniently determine the time information of the egress port of the data stream based on the internal transmission delay.
  • the control plane network element when the control plane network element sends the time information of the outgoing port of the data stream to the network element corresponding to the ingress port, it can send identification information at the same time to identify that the time information of the outgoing port of the data stream is for Of the data stream or of the outgoing port.
  • the identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
  • control plane network element is an application function network element
  • the application function network element sends the time information and identification information of the outgoing port of the data flow to the policy control function network element, and then the policy control function network element sends the data to the session management network element The time information and identification information of the outgoing port of the stream; the session management network element then sends the time information and identification information of the outgoing port of the data stream to the network element corresponding to the ingress port.
  • control plane network element is a policy control function network element
  • the policy control function network element sends the time information and identification information of the outgoing port of the data flow to the session management network element; the session management network element then sends the information to the network element corresponding to the ingress port Time information and identification information of the outgoing port of the data stream.
  • the session management network element sends the time information and identification information of the outgoing port of the data flow to the network element corresponding to the ingress port.
  • control plane network element can identify the time information of the outgoing port of the data stream by sending the identification information, so that the session management network element can easily identify that the time information of the outgoing port of the data stream corresponds to the data stream or the outgoing port.
  • time information of the ingress port of the data stream indicates the time window for the ingress port to process the packets in the data stream. Two of them are listed below:
  • the time information of the ingress port of the data stream includes the first reference time of the gating period and the first gating list, and the first gating list is used to indicate the gating state of the time window included in the gating period.
  • the second type the time information of the ingress port of the data stream includes the earliest time and the latest time that the data stream arrives at the ingress port.
  • the time information of the ingress port of the data stream has multiple indication methods, and the applicable scenarios are more flexible and the scope is wider.
  • the time information of the outgoing port of the data stream indicates that there are many ways for the port to process the time window of the packet in the data stream. Three of them are listed below:
  • the time information of the outgoing port of the data stream includes: the second reference time of the gating period and the gating list, and the second reference time is determined according to the first reference time and the internal transmission delay.
  • the second type, the time information of the outgoing port of the data stream includes: the time information of the incoming port of the data stream and the internal transmission delay.
  • the time information of the outgoing port of the data stream includes: the first reference time of the gating period and the second gating list, and the second gating list is determined according to the first gating list and the internal transmission delay.
  • the time information of the outgoing port of the data flow includes part or all of the following: the earliest time that the data flow reaches the outgoing port, and the latest time that the data flow reaches the outgoing port.
  • the time information of the outgoing port of the data stream has a variety of different and flexible indication methods, which is effectively applicable to a variety of different scenarios and expands the scope of application.
  • the control plane network element can be based on the data flow
  • the time information of the ingress port and the first transmission delay determine the time information of the user plane network element.
  • the first transmission delay is used to indicate the transmission delay between the first terminal device and the user plane network element, and the time of the user plane network element
  • the information indicates the time window for the user plane network element to process the message in the data stream; after that, the control plane network element sends the user plane network element time information to the user plane network element.
  • control plane network element can effectively control the time window for the user plane network element to process the packets in the data stream by sending the user plane network element time information to the user plane network element, thereby enabling more accurate time data flow Deterministic transmission.
  • the control plane network element may also determine the user plane network based on the time information of the outgoing port of the data flow and the second transmission delay.
  • the second transmission delay is used to indicate the transmission delay between the second terminal device and the user-plane network element, and the time information of the user-plane network element side port indicates how the user-plane network element processes packets in the data stream. Time window; after that, the control plane network element sends the time information of the user plane network element to the user plane network element.
  • control plane network element can effectively control the time window for the user plane network element to process the packets in the data stream by sending the user plane network element time information to the user plane network element, thereby enabling the data stream to be implemented more accurately Deterministic transmission.
  • the control plane network element can send the data flow to the user plane network element Time information of the outgoing port.
  • the control plane network element may send the time information of the outgoing port of the data stream to the second terminal device.
  • an embodiment of the present application provides a communication method, the method includes: a terminal device receives time information of an outgoing port of a data stream, and the time information of the outgoing port of the data stream instructs the outgoing port of the data stream to process a report in the data stream.
  • the time window of the message the terminal device can first buffer the messages in the data stream until the time window is reached, and then process the messages in the data stream within the time window.
  • the terminal device after receiving the time information of the outgoing port of the data stream, the terminal device can process the packets in the data stream according to the time information of the outgoing port of the data stream to realize the deterministic transmission of the data stream.
  • the terminal device buffers the packets in the data stream, and after reaching the time window (for example, reaching the start time of the time window or reaching a certain time in the time window), the data stream can be The message in the data stream can be sent directly within the time window, or the message can be sent to the egress queue within the time window, and the message is sent based on the scheduling rule of the egress queue.
  • the terminal device can flexibly process the packets in the data stream within the time window in different ways.
  • the terminal device when the terminal device receives the time information of the outgoing port of the data stream, it can also receive identification information.
  • the identification information is used for the time information of the outgoing port of the data stream. Out of the port.
  • the identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
  • the terminal device After receiving the identification information, the terminal device can determine the port according to the identification information; wherein, when the identification information is the flow feature of the data stream, the terminal device can determine the corresponding relationship according to the flow feature of the data stream and the outgoing port identifier.
  • the corresponding relationship may be sent to the terminal device in advance by the application function network element through the session management network element, and this embodiment of the present application does not limit the manner in which the terminal device obtains the corresponding relationship.
  • the terminal device can easily identify that the time information of the outgoing port of the data stream corresponds to the data stream or the outgoing port.
  • an embodiment of the present application provides a communication method.
  • the method includes: a user plane network element receives time information of an outgoing port of a data stream, and the time information of the outgoing port of the data stream indicates that the outgoing port of the data stream is sending the data stream.
  • the time window of the message the user plane network element can first buffer the message in the data stream until the time window is reached; after that, the user plane network element processes the message in the data stream in the time window.
  • the user plane network element after receiving the time information of the outgoing port of the data stream, the user plane network element can process the packets in the data stream according to the time information of the outgoing port of the data stream to realize deterministic transmission of the data stream.
  • the user plane network element processes the packets in the data stream in the time window, and can directly send the packets in the data stream within the time window of the data stream, or it can also transfer the packets in the buffered data stream.
  • the message is sent to the egress queue of the egress port, and the message is sent based on the scheduling rule of the egress queue.
  • the user plane network element can use different ways to flexibly process the packets in the data stream within the time window.
  • the user plane network element when it receives the time information of the outgoing port of the data stream, it can also receive identification information.
  • the identification information is used for the time information of the outgoing port of the data stream.
  • the time information is specific to the data stream. Or the outgoing port.
  • the identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application.
  • the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
  • the user plane network element After the user plane network element receives the identification information, it can determine the out port according to the identification information; where, when the identification information is the flow feature of the data flow, the user plane network element can identify the port according to the flow feature of the data flow and the egress port.
  • the corresponding relationship determines the port. It should be noted that the corresponding relationship may be pre-sent to the user plane network element by the application function network element through the session management network element. This embodiment of the application does not limit the manner in which the user plane network element obtains the corresponding relationship. .
  • the user plane network element can easily identify that the time information of the outgoing port of the data stream corresponds to the data stream or outgoing port.
  • the embodiments of the present application also provide a communication system.
  • the communication system includes control plane network elements and user plane network elements.
  • the control plane network element is used to obtain the time information of the ingress port of the data stream.
  • the time information of the ingress port of the data stream indicates the time window for the ingress port to process packets in the data stream; according to the time information and internal information of the ingress port of the data stream
  • the transmission delay determines the time information of the outgoing port of the data stream.
  • the time information of the outgoing port of the data stream indicates the time window for the port to process packets in the data stream.
  • the internal transmission delay is used to indicate the transmission between the ingress port and the egress port. Time delay; sending the time information of the outgoing port of the data flow to the network element corresponding to the outgoing port of the data flow;
  • the network element corresponding to the outgoing port of the data stream is used to receive the time information of the outgoing port of the data stream; buffer the packets in the data stream until the time window is reached; process the data in the time window indicated by the time information of the outgoing port of the data stream Packets in the stream.
  • the network element corresponding to the outgoing port of the data flow is the terminal device;
  • the network element corresponding to the outgoing port of the data flow is the user plane network element.
  • the network element corresponding to the outgoing port of the data flow sends the packets in the buffered data flow to the egress queue of the outgoing port in the time window indicated by the time information of the outgoing port of the data flow, based on the egress queue The scheduling rules for sending packets.
  • control plane network element is an application function network element, and when the control plane network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port of the data stream, it is specifically used for:
  • the time information of the outgoing port of the data stream is sent to the network element corresponding to the outgoing port of the data stream.
  • the policy control function network element when the policy control function network element sends the time information of the outgoing port of the data stream to the network element corresponding to the data outgoing port through the session management network element, it is specifically used for:
  • the time information and identification information of the outgoing port of the data flow are sent to the session management network element.
  • the identification information includes part or all of the following: flow characteristics of the data flow and identification of the outgoing port.
  • control plane network element is a policy control function network element.
  • control plane network element sends the time information of the data flow out port to the network element corresponding to the data flow out port, it is specifically used for: policy control
  • the functional network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port of the data stream through the session management network element.
  • the policy control function network element when the policy control function network element sends the time information of the outgoing port of the data stream to the session management network element, it is specifically used for:
  • the time information and identification information of the outgoing port of the data flow are sent to the session management network element.
  • the identification information includes some or all of the following: the flow characteristics of the data flow and the identification of the outgoing port.
  • the policy control function network element when the policy control function network element sends the time information of the outgoing port of the data stream to the network element corresponding to the data outgoing port through the session management network element, it is specifically used for:
  • the rule creation request is forwarded to the session management network element.
  • the forwarding rule creation request is used to request the creation of a forwarding rule of the session carrying the data stream.
  • the forwarding rule creation request includes the time information of the outgoing port of the data stream.
  • control plane network element is a session management network element.
  • the time information of the ingress port of the data stream includes the first reference time of the gating period and the first gating list, and the first gating list is used to indicate the gates of the time window included in the gating period.
  • the time information of the outgoing port of the data stream includes: the second reference time of the gating period and the first gating list, and the second reference time is determined according to the first reference time and the internal transmission delay.
  • the time information of the outgoing port of the data stream includes: the time information of the incoming port of the data stream and the internal transmission delay.
  • the time information of the ingress port of the data stream includes the first reference time of the gating period and the first gating list, and the first gating list is used to indicate the gates of the time window included in the gating period.
  • Control status the time information of the outgoing port of the data stream includes: the first reference time of the gating period and the second gating list, and the second gating list is determined according to the first gating list and the internal transmission delay.
  • control plane network element when the control plane network element sends the time information of the egress port of the data stream to the network element corresponding to the egress port, it is specifically used for:
  • the time information and identification information of the outgoing port of the data flow are sent to the network element corresponding to the outgoing port.
  • the identification information includes some or all of the following: flow characteristics of the data flow, and identification of the outgoing port.
  • the communication system further includes a user plane network element
  • the control plane network element is also used to determine the time information of the user plane network element according to the time information of the ingress port of the data stream and the first transmission delay.
  • the first transmission delay is used to indicate the connection between the first terminal device and the user plane network element.
  • the time information of the user plane network element indicates the time window for the user plane network element to process the packet in the data stream; the time information of the user plane network element is sent to the user plane network element.
  • the user plane network element is used to receive the time information of the user plane network element, and process the packets in the data stream in the time window indicated by the time information of the user plane network element.
  • the communication system when the data flow is a data flow from the first terminal device to the second terminal device, the communication system further includes a user plane network element;
  • the control plane network element is also used to determine the time information of the user plane network element according to the time information of the outgoing port of the data stream and the second transmission delay.
  • the second transmission delay is used to indicate the connection between the second terminal device and the user plane network element.
  • the time information of the port on the user-plane network element side indicates the time window for the user-plane network element to process packets in the data stream; the time information of the user-plane network element is sent to the user-plane network element;
  • the user plane network element is used to receive the time information of the user plane network element, and process the packets in the data stream in the time window indicated by the time information of the user plane network element.
  • an embodiment of the present application also provides a communication device, which is applied to a control plane 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, a sending unit, and a processing unit. These units can perform the corresponding functions in the method example of the first aspect. For details, please refer to the detailed description in the method example. Do repeats.
  • the embodiments of the present application also provide a communication device, the communication device is applied to a terminal device, and the beneficial effects can be referred to the description of the second aspect and 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, a sending unit, and a processing unit. These units can perform the corresponding functions in the method example of the second aspect. For details, please refer to the detailed description in the method example. Do repeats.
  • an embodiment of the present application also provides a communication device, which is applied to a user plane 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, a sending unit, and a processing unit. These units can perform the corresponding functions in the method example of the third aspect. For details, please refer to the detailed description in the method example. Do repeats.
  • 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 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 perform the corresponding functions in the above-mentioned method in the first 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.
  • the embodiments of the present application also provide a communication device, the communication device is applied to a terminal device, 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 functions in the method of the second 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 user plane 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 transceiver for communicating with other devices.
  • the present application also provides a computer-readable storage medium having instructions stored in the computer-readable storage medium, which when run on a computer, cause 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.
  • FIG. 5 is a schematic diagram of the transmission of a data stream provided by an embodiment of this application.
  • 6 to 10 are schematic diagrams of a communication method provided by embodiments of this application.
  • 11 to 15 are schematic diagrams of the structure of a communication device provided by an embodiment of this application.
  • This application provides a communication method and device for more accurate deterministic transmission of data streams.
  • 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 (AMF) network elements, 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 network element unified data repository (UDR) 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 forwarding rules created. 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 and the scheduling method for switching nodes to forward data streams (a data stream is composed of one or more packets, and the data terminal and switching node forward the data stream. That is, one or more packets are transmitted, and the packets can become packets in the data stream), so as to achieve reliable time-delayed transmission.
  • the switching node in the TSN uses the destination media access control address (MAC) address, Internet Protocol (IP) address or other message characteristics of the message as the flow characteristics of the data flow, according to
  • MAC media access control address
  • IP Internet Protocol
  • 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 rules on the data terminal and each switching node, and then the switching node
  • the forwarding rules (such as the flow characteristics of the data flow, the identification of the ingress and egress port during data transmission, etc.) and scheduling information (such as the time information of the ingress port, the information of the flow classification corresponding to the egress port, etc.) are issued to the corresponding Switch node.
  • the time information of the ingress port and the information of the flow classification corresponding to the egress port can be seen in the related description below.
  • the information of the switching node includes the port information of the switching node (such as the ingress and egress of data transmission) and the delay information (such as the internal transmission delay of the switching node), and the information of the switching node can be pre-defined by the switching node. Reported to the CNC network element.
  • the time information of the ingress port is based on the data stream, which means that it supports the definition of 802.1Qci.
  • 802.1Qci the size of the gating period is specified, and the gating period is divided into multiple small time windows.
  • the time information of the ingress port includes the start time of the gating period (also called the first reference time) and The first gate control list, the first gate control list indicates the gate control state of each small time window in the gate control period, the gate control state is open or closed, and the gate control state is open means that it is in the small time window Able to process (inbound port processing refers to receiving messages or buffering messages) messages in the data stream, and the gating state being closed means that the transmission of messages in the data stream is prohibited within the small time window.
  • the flow classification information corresponding to the egress port uses traffic class as the granularity, that is, it supports the definition of 802.1Qbv.
  • the flow classification information corresponding to the egress port includes the flow classification of the egress port and the gate corresponding to the flow classification. Control list.
  • 802.1Qbv multiple traffic classes are predefined. Each traffic class indicates a time window, and different traffic classes indicate different time windows.
  • the gate control list corresponding to the flow classification indicates that the traffic class indicates the gate control status of a time window, the gate control status is open or closed, and the gate control status is open means that it can be processed within the time window (outgoing port processing refers to sending Message or buffered message)
  • the gating state is closed means that the processing of the messages in the data stream is prohibited within the time window.
  • a time window indicated by a traffic class can aggregate multiple data streams. In other words, packets in multiple data streams can be transmitted within a time window indicated by a traffic class.
  • 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 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 rules 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 (such as port 3) on the UPF network element side.
  • the device connected to the UE side is a data terminal as an example. In fact, 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 UPF network element side to the UE side is a downstream stream, which can be carried in the session of the UE; and the data stream sent from the UE side to the UPF network element side is an upstream stream.
  • 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 this application does not limit the combination of other communication systems and 5G systems.
  • the 5G system can obtain relevant information for transmitting the data stream from other communication systems (such as this application). The time information of the ingress port of the data stream in the embodiment, etc.).
  • CNC network element configures the time information of the ingress port of the data stream for the ingress port of the data stream, and configures the corresponding egress port for the egress port of the data stream. Traffic classification information.
  • the time information of the outgoing port of the data stream and the time information of the flow classification corresponding to the ingress port of the data stream are delivered to the UE or the UPF network element.
  • the flow classification information corresponding to the outgoing port of the data flow is delivered to the UPF network element, and the time information of the incoming port of the data flow can be delivered to the UE.
  • the time information of the ingress port of the data stream can be delivered to the UPF network element, and the flow classification information corresponding to the egress port of the data stream can be delivered to the UE.
  • the outgoing port of the 5G system can not only send the packets in the data flow, but also Sending other data stream packets causes the 5G system to be unable to distinguish the exact time window for sending one of the data streams.
  • the virtual switching node that is, the 5G system
  • data stream 1 and data stream 2 there are two data streams that need to pass through the virtual switching node (that is, the 5G system), namely data stream 1 and data stream 2, and data stream 1.
  • the ingress port of data stream 2 is port A
  • the ingress port of data stream 2 is port B
  • the outgoing ports of data stream 1 and data stream 2 are both port C.
  • the CNC network element knows in advance that the internal transmission delay of the 5G system is 5 milliseconds (ms). Based on this, the CNC network element configures the time information of port A for data stream 1 and data stream 2, the time information of port B, and the corresponding port C Traffic classification information. The time information of port A and the time information of port B and the flow classification information corresponding to port C are delivered to the corresponding network element through the control plane in 5G.
  • the time information of port A indicates that the time window for data stream 1 to arrive at port A is 0 to 1 ms.
  • the time information of port B indicates that the time window for data stream 2 to arrive at port B is 1 to 2 ms.
  • the flow classification information corresponding to port C indicates that the gating status of the time window indicated by flow classification 1 is open, where the time window indicated by flow classification 1 is 5 to 7 ms, and the time window indicated by flow classification 1 has been pre-configured in the UE and UPF side.
  • the time window for the data stream 1 to reach port C should be 5-6 ms, and this time window belongs to the time window indicated by flow classification 1. If the transmission delay of data stream 2 within the 5G system meets the pre-reported internal transmission delay, the time window for the data stream 2 to reach port C should be 6-7 ms, and this time window belongs to the time window indicated by flow classification 1.
  • the transmission delay of the data stream within the 5G system is not necessarily equal to the internal transmission delay reported in advance.
  • the actual transmission delay of data stream 1 inside the 5G system is 5ms, which meets the internal transmission delay reported in advance; the actual transmission delay of data stream 2 inside the 5G system is 3ms, which does not meet the internal transmission delay reported in advance .
  • the time window for the data stream 1 to actually reach the port C should be 5-6ms, and the time window for the data stream 2 to reach the port C should be 4-5ms.
  • the network element corresponding to port C transmits the packets in the data stream in the time window indicated by flow classification 1, according to the instructions of the flow classification information corresponding to port C, and the packets of data flow 2 will precede those of data flow 1.
  • the message is sent out from port C.
  • the actual transmission delay in the 5G system during the transmission of the data stream 2 does not meet the pre-reported internal transmission delay, and the deterministic transmission of the data stream 2 cannot be realized.
  • the embodiments of the present application provide a communication method for realizing deterministic transmission of data in a 5G system.
  • the control plane network element first obtains the time information of the ingress port of the data stream, and determines the time information of the egress port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay, where The internal transmission delay is the transmission delay from the ingress port of the data stream to the egress port of the data stream; the control plane network element then sends the time information of the egress port of the data stream to the corresponding network element; the corresponding network element After receiving the time information of the outgoing port of the data stream, the packets in the data stream can be in the time window indicated by the time information of the outgoing port of the data stream.
  • the time information of the egress port of the data stream can be determined according to the internal transmission delay, and then the time information can be targeted for a data stream.
  • Stream clearly determine the port processing time of the packet in the data stream, and then ensure the deterministic transmission of the data stream.
  • the method includes:
  • Step 601 The control plane network element obtains the time information of the ingress port of the data stream, and the time information of the ingress port of the data stream indicates the time window for the ingress port to receive the packet in the data stream.
  • control plane network element does not limit the manner in which the control plane network element obtains the time information of the ingress port of the data stream.
  • control plane network element can be obtained from the TSN (such as the centralized network configuration network element in the TSN) or from Obtained from other networks, or pre-configured locally.
  • the information included in the time information of the ingress port of the data stream is not limited in this embodiment of the application.
  • the time information of the ingress port of the data stream may include the first reference time of the gating period and the first gating list.
  • the time information of the ingress port of the data stream may include the earliest time and the latest time for the packets in the data stream to arrive at the ingress port.
  • the earliest arrival time and the latest arrival time constitute a time window for the ingress port to receive the packets in the data stream. Any method that can indicate the time window for the ingress port to receive the packet in the data stream is applicable to the embodiments of the present application.
  • Step 602 The control plane network element determines the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay.
  • the time information of the outgoing port of the data stream indicates that the port sends the packet in the data stream.
  • Time window, the internal transmission delay is used to indicate the transmission delay from the ingress port to the egress port.
  • the internal transmission delay may be pre-stored by the control plane network element, or it may be obtained by the control plane network element from other control plane network elements.
  • the control plane network element may be an application function network element.
  • the function network element may store the internal transmission delay locally, or it may be obtained from the session management network element through the policy control function network element.
  • the information included in the time information of the outgoing port of the data stream is not limited in the embodiment of the present application, and several of them are listed below:
  • the first type if the time information of the ingress port of the data stream can include the first reference time of the gating period and the first gating list, the time information of the egress port of the data stream can include the second reference time of the gating period and The first gated list.
  • the control plane network element may determine the second reference time of the gating period according to the first reference time of the gating period and the internal transmission delay. For example, the control plane network element uses the sum of the first reference time of the gating period and the internal transmission delay as the second reference time of the gating period.
  • the second type if the time information of the ingress port of the data stream can include the first reference time of the gating period and the first gating list, the time information of the egress port of the data stream can include the first reference time of the gating period and This second gated list.
  • the control plane network element may determine the second gating list according to the first gating list and the internal transmission delay. For example, the control plane network element delays the time window in the first gate control list whose gate control state is open according to the internal transmission delay to obtain the second gate control list.
  • the first gating list indicates that the gating status of the 3rd, 5th, and 10th time windows is open, and the length of the internal transmission delay is the size of the 2 time windows in the gating period, then the second gating list indicates the 5th The gate control status of the 7, 12 time windows is open.
  • the time window in the first gating control list whose gating state is open is delayed according to the internal transmission delay, and the second gating control list can be obtained.
  • the internal transmission delay can be a non-integer multiple of the time window in the gating period. In this case, the time window in the first gating list whose gated state is open is delayed according to the internal transmission delay.
  • the third type: the time information of the outgoing port of the data stream may include part or all of the following information: the earliest time that the packets in the data stream arrive at the outgoing port, and the latest time that the packets in the data stream arrive at the outgoing port .
  • the control plane network element determines the earliest and latest time for the packets in the data stream to arrive at the egress port. Time to explain:
  • the control plane network element may determine the earliest time for the packet in the data stream to reach the ingress port according to the first reference time of the gating period and the first gating list. Exemplarily, the control plane network element may determine that the gate control state recorded in the first gate control list is the earliest time window opened, and calculate the start time of the time window according to the first reference time of the gate control period. The start time of the time window is the earliest time for the packets in the data stream to reach the ingress port.
  • control plane network element determines the earliest time for the packet in the data stream to reach the outgoing port according to the start time of the time window and the internal transmission delay.
  • the first reference time of the gating period is 1 o'clock
  • the pre-configured gating period size is 10 milliseconds, which can be converted into 100 time windows, so that the length of each time window is 100 microseconds.
  • the first gate control list indicates that the gate control status of the 3rd, 5th, and 10th time windows is on.
  • the earliest time window in which the gate control state recorded in the first gate control list is open is the third time window.
  • the start time of the third time window is 1:200 microseconds. If the internal transmission delay is 5 microseconds, the earliest time for the packet in the data stream to reach the outgoing port is equal to the sum of the start time of the third time window and the internal transmission delay, which is 1:205 microseconds.
  • the control plane network element may determine the latest time for the packet in the data stream to arrive at the ingress port according to the first reference time of the gating period and the first gating list. Exemplarily, the control plane network element may determine that the gate control state recorded in the first gate control list is the latest time window opened, and calculate the end time of the time window according to the first reference time of the gate control period. The end time of the time window is the latest time that the packets in the data stream arrive at the ingress port.
  • control plane network element determines the latest time for the packets in the data flow to reach the outgoing port according to the latest time for the packets in the data flow to reach the ingress port and the internal transmission delay.
  • the first reference time of the gating period is 1 o'clock
  • the pre-configured gating period size is 10 milliseconds, which can be converted into 100 time windows, so that the length of each time window is 100 microseconds.
  • the first gate control list indicates that the gate control status of the 3rd, 5th, and 10th time windows is on.
  • the earliest time window in which the gate control state recorded in the first gate control list is open is the third time window.
  • the start time of the third time window is 1:200 microseconds. If the internal transmission delay is 5 microseconds, the earliest time for the packet in the data stream to reach the outgoing port is equal to the sum of the start time of the third time window and the internal transmission delay, which is 1:205 microseconds.
  • the latest time window in which the gate control state recorded in the first gate control list is opened is the 10th time window.
  • the end time of the tenth time window is 1:1 millisecond. If the internal transmission delay is 5 microseconds, the latest time for the packets in the data stream to reach the outgoing port is equal to the sum of the end time of the tenth time window and the internal transmission delay, which is 1:1 ms, 5 microseconds. second.
  • the fourth type the time information of the outgoing port of the data stream includes the time information of the outgoing port of the data stream and the internal transmission delay.
  • the control plane network element may also take the time information of the outgoing port of the data stream and the internal transmission delay as the time information of the outgoing port of the data stream without any processing, and the network element corresponding to the outgoing port of the data stream receives the data stream.
  • the time information of the outgoing port is used to determine the earliest time and the latest time at which the packets in the data stream arrive at the outgoing port.
  • Step 603 The control plane network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port.
  • control plane network element when the control plane network element sends the time information of the egress port of the data stream to the network element corresponding to the ingress port, it can also send identification information at the same time to identify that the time information of the egress port of the data stream is for the data stream. Or the outgoing port.
  • the identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
  • the outgoing port is a port on the user plane network element side, and the control plane network element sends the time information of the outgoing port of the data flow to the user plane network element.
  • the outgoing port is a port on the terminal device side, and the control plane network element sends the time information of the outgoing port of the data flow to the terminal device.
  • the data flow is a data flow between terminal devices, for example, the data flow is a data flow from the first terminal device to the second terminal device, and the control plane network element sends the data flow to the second terminal device. Time information.
  • control plane network element is an application function network element.
  • the control plane network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port , Can be sent to the session management network element through the policy control function network element, and then sent to the network element corresponding to the outgoing port by the session management network element.
  • the application function network element may send the time information of the outgoing port of the data stream to the policy control function network element when the policy control function network element is triggered to configure the PCC rule of the session carrying the data stream, and the policy control function network element
  • the time information of the outgoing port of the data stream can be carried in the forwarding rule creation request, and the forwarding rule creation request is used to instruct the creation of a forwarding rule for the session carrying the data stream.
  • the application function network element When the application function network element sends the time information of the outgoing port of the data flow to the policy control function network element, it can also send identification information, such as sending the identification of the outgoing port (indicating that the time information of the outgoing port of the data flow is for the outgoing port ) Or the stream characteristics of the data stream (the time information indicating the outgoing port of the data stream is for the data stream).
  • identification information such as sending the identification of the outgoing port (indicating that the time information of the outgoing port of the data flow is for the outgoing port ) Or the stream characteristics of the data stream (the time information indicating the outgoing port of the data stream is for the data stream).
  • the application function network element determines the identification of the outgoing port and the flow characteristics of the data flow is not limited in this embodiment of the application.
  • the application function network element may obtain the time information of the ingress port of the data flow while simultaneously To obtain the flow characteristics of the data flow, the application function network element can determine the flow of the data flow according to the acquired forwarding rules of the data flow (which records the flow characteristics of the data flow, the outgoing port identifier, the incoming port identifier and other information) The ID of the outgoing port corresponding to the feature.
  • the policy control function network element When the time information of the outgoing port of the data flow and the flow characteristics of the data flow are used by the policy control function network element, the corresponding relationship between the flow characteristics of the data flow obtained from the application function network element and the identification of the incoming and outgoing ports of the data flow may be used. Determine the outgoing port identifier, and then determine that the time information of the outgoing port of the data flow is for the outgoing port.
  • the policy control function network element After the policy control function network element sends the time information of the outgoing port of the data stream to the session management network element, it may also send identification information. The session management network element then sends the time information and identification information of the egress port of the data stream to the network element corresponding to the egress port.
  • the manner in which the session management network element determines the port identifier based on the flow characteristics of the data flow is the same as the manner in which the policy control function network element determines the port identifier based on the flow characteristics of the data flow, which is not limited in this embodiment of the application.
  • control plane network element is a policy control function network element.
  • the policy control function network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port, it may send the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port. It is sent to the session management network element, and then sent by the session management network element to the network element corresponding to the outgoing port.
  • the policy control function network element when the policy control function network element sends a forwarding rule creation request to the session management network element, it can carry the time information of the outgoing port of the data stream in the forwarding rule creation request, and the forwarding rule creation request is used to instruct the creation of the bearer The forwarding rule of the session of the data stream.
  • the policy control function network element When the policy control function network element sends the time information of the egress port of the data stream to the session management network element, it can also send the identifier of the egress port (indicating that the time information of the egress port of the data stream is for the egress port) or the data The flow characteristics of the flow (the time information indicating the outgoing port of the data flow is for the data flow).
  • the method for the policy control function network element to determine the identification of the outgoing port and the flow characteristics of the data stream is not limited in the embodiment of the application.
  • the data can be obtained at the same time when the time information of the ingress port of the data stream is obtained.
  • the flow characteristics of the flow or the identification of the outgoing port If the policy control function network element obtains the flow characteristics of the data flow, the policy control function network element can determine the flow characteristics of the data flow based on the flow characteristics, outgoing port identification, ingress port identification and other information of the data flow obtained from the application function network element Corresponding outgoing port ID.
  • the session management network element When the session management network element receives the time information of the outgoing port of the data flow and the flow characteristics of the data flow, it can control the flow characteristics of the data flow obtained from the policy control function network element (or application function network element) and the data flow The corresponding relationship between the ingress and egress port identifiers of the flow is determined, and the egress port identifier is determined, and then the time information of the egress port of the data stream is determined for the egress port.
  • control plane network element may also be a session management network element, and the session management network element may, after determining the time information of the outgoing port of the data flow, send the time information of the outgoing port of the data flow to the outgoing port The corresponding network element.
  • the session management network element may carry the time information of the outgoing port of the data stream in the session creation/modification request, and send the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port.
  • the session management network element When the session management network element sends the time information of the egress port of the data stream to the network element corresponding to the egress port, it may also send identification information.
  • the specific type of the identification information may be different, for example, the application function network element
  • the policy control function network element sends the flow characteristics of the data flow. After the policy control function network element determines the out port identifier according to the flow characteristics of the data flow, it can send the out port identifier to the session management network element, and then send the out port identifier to the session management network element. The corresponding network element sends out the port ID.
  • Step 604 The network element corresponding to the outgoing port receives the time information of the outgoing port of the data stream, and may send the packet in the data stream according to the time window indicated by the time information of the outgoing port of the data stream.
  • the network element corresponding to the outgoing port may first buffer the packets in the data stream after receiving the packets in the data stream, and when the time window is buffered, send the packets in the buffered data stream. Message.
  • the network element corresponding to the outgoing port When the network element corresponding to the outgoing port sends the buffered packets in the data stream, it can directly send the packets in the data stream through the outgoing port, or it can send the buffered packets in the data stream to the outgoing port.
  • the sending queue In the sending queue, the sending queue is scheduled based on the flow classification information.
  • the network element corresponding to the egress port as the user plane network element as an example, the manner in which the network element corresponding to the egress port determines the time window indicated by the time information of the egress port of the data flow is described:
  • the user plane network element can be based on the second reference time of the gating period and the first gating list.
  • the gate control list determines the earliest time that the packets in the data flow reach the outgoing port and the latest time that the packets in the data flow reach the outgoing port, and then determines the time window indicated by the time information of the outgoing port of the data flow .
  • the manner in which the user plane network element determines the earliest time for the packets in the data flow to reach the outgoing port and the latest time for the packets in the data flow to reach the outgoing port is determined by the control plane network element according to the first time of the gating period.
  • a reference time and the first gating list determine the earliest time and the latest time for the packets in the data stream to arrive at the ingress port in a similar manner. For details, please refer to the foregoing content, which will not be repeated here.
  • the user plane network element may also directly execute the gating state indicated by the first gating list according to the second reference time of the gating period and the first gating list.
  • the user plane network element can be based on the first reference time of the gating period and the second gating list.
  • the gate control list determines the earliest time that the packets in the data flow reach the outgoing port and the latest time that the packets in the data flow reach the outgoing port, and then determines the time window indicated by the time information of the outgoing port of the data flow .
  • the manner in which the user plane network element determines the earliest time for the packets in the data flow to reach the outgoing port and the latest time for the packets in the data flow to reach the outgoing port is determined by the control plane network element according to the first time of the gating period.
  • a reference time and the first gating list determine the earliest time and the latest time for the packets in the data stream to arrive at the ingress port in a similar manner. For details, please refer to the foregoing content, which will not be repeated here.
  • the user plane network element may also directly execute the gating state indicated by the first gating list according to the first reference time of the gating period and the second gating list.
  • time information of the outgoing port of the data stream includes the earliest time that the packets in the data stream arrive at the outgoing port and the latest time that the packets in the data stream arrive at the outgoing port, the time can be directly determined window.
  • the user plane network element can determine the sending time of the data stream, based on the sending time of the data stream and the The earliest time that a message in the data stream reaches the outgoing port determines the latest time that a message in the data stream reaches the outgoing port, and then the time window is obtained.
  • the user plane network element can also determine the sending period of the data stream (the sending period of the data stream can indicate the periodic interval at which the sending device of the data stream sends the data stream, that is, the start and end time of sending the data stream), and the data stream The time from the earliest time that the message in the message arrives at the outgoing port to the end of the sending period is used as the time window.
  • the manner in which the user plane network element determines the sending duration of the data stream is not limited in this embodiment of the application.
  • the user plane network element can predict the data volume of the data stream and the bandwidth of the user plane network element to receive packets.
  • the sending duration of the data stream is estimated.
  • the sending duration of the data stream may be a preset value.
  • the sending period of the data stream may be pre-configured or sent by other network elements to the user plane network element. This embodiment of the present application does not limit the user plane network element to determine the sending period of the data stream.
  • the user plane network element can determine the sending time of the data stream, based on the sending time of the data stream and The latest time at which a message in the data stream arrives at the outgoing port determines the earliest time at which a message in the data stream reaches the outgoing port, and then the time window is obtained.
  • the user plane network element can also determine the transmission period of the data stream (the transmission period of the data stream can indicate the transmission time of the data stream from the ingress port to the egress port), and start the transmission period to the arrival of the packets in the data stream.
  • the latest time of the outgoing port is used as the time window.
  • the user plane network element determines the arrival of the packet in the data stream according to the time information of the ingress port of the data stream The earliest time and the latest time of the ingress port, and then the user plane network element then determines the earliest time that the packets in the data stream arrive at the outgoing port according to the earliest time of the packets in the data stream arriving at the ingress port and the internal transmission delay. According to the latest time that the packets in the data stream arrive at the ingress port and the internal transmission delay, the latest time for the packets in the data stream to arrive at the egress port is determined.
  • the user plane network element may also determine a time window, add the first reference time to the internal transmission delay, and execute the first gate control list to indicate the gate control state.
  • the method for the terminal device to determine the time window indicated by the time information of the outgoing port of the data stream is the same as the way the user plane network element determines the time window indicated by the time information of the outgoing port of the data stream.
  • the method is the same. For details, please refer to the foregoing content, which will not be repeated here.
  • the control plane network element determines that the data stream can be a data stream from the first terminal device to the second terminal device, that is, the user plane network element needs to be among the data streams received from one terminal device.
  • the message is sent to another terminal device.
  • the control plane network element can determine the time information of the user network element, and the user plane network element is used to indicate the time window for the user plane network element to process packets in the data stream, and send the time information of the user plane network element to User plane network element.
  • the embodiment of the present application does not limit the manner in which the control plane network element determines that the data flow is a data flow between terminal devices. According to different types of control plane network elements, the manner in which the data flow is determined to be a data flow between terminal devices will be described. :
  • the control plane network element is an application function network element.
  • the application function network element can determine that the data stream is a data stream between terminal devices according to the forwarding information of the data stream, where the forwarding information of the data stream includes the first data stream carrying the data stream.
  • the second session is a session established by the second terminal device, and the information of the second session may be the identifier of the second session, or may be the port identifier of the second terminal device side corresponding to the second session.
  • the application function network element can determine that the data stream is a data stream between terminal devices according to the forwarding information of the data stream. After determining that the data stream is a data stream between terminal devices, it can send to the policy control function network element or the session management network element Indication information, the indication information is used to indicate that the data stream is a data stream between terminal devices.
  • the embodiment of the present application does not limit the manner in which the indication information indicates that the data stream is a data stream between terminal devices, and a direct indication method can be used (For example, to indicate that the data flow is free of data flow between terminal devices), indirect instructions can also be used, such as carrying the port identifier of the first terminal device corresponding to the first session and the second terminal corresponding to the second session.
  • the port identifier on the device side for example, when the application function network element triggers the policy control function network element to initiate the creation/modification process of the PCC rule of the first session, it sends the identifier of the second session or the second terminal device side corresponding to the second session The port ID.
  • the policy control function network element or the session management network element may determine that the data flow is a data flow between terminal devices according to the instruction information.
  • the policy control function network element receives the second session identifier and can determine that the data flow is a data flow between terminal devices; it receives the port on the second terminal device side corresponding to the second session Identification. If it is determined that the port identification on the second terminal device side is associated with the second session, it can be determined that the data flow is a data flow between terminal devices.
  • the session management network element receives the second session identifier, and can determine that the data flow is a data flow between terminal devices; it receives the port identifier on the second terminal device side corresponding to the second session If it is determined that the port identifier on the second terminal device side is associated with the second session, it can be determined that the data stream is a data stream between terminal devices.
  • the control plane network element is a policy control function network element or a session management network element.
  • the way that the policy control function network element or session management network element determines that the data flow is a data flow between terminal devices can be found in the control plane network element as an application function In the case of a network element, when the indication information is an indirect indication, the policy control function network element or the session management network element determines that the data flow is a data flow between terminal devices, which will not be repeated here.
  • control plane network element determines the time information of the user plane network element
  • the control plane network element determines the time information of the user plane network element according to the time information of the ingress port of the data stream, and the ingress port is the port on the first terminal device side (that is, the port on the terminal device side in the session).
  • the control plane network element may first obtain the first transmission delay, and the first transmission delay is the transmission delay between the first terminal device and the user plane network element.
  • the embodiment of the present application does not limit the manner in which the control plane network element obtains the first transmission delay.
  • the first transmission delay may be recorded locally by the control plane network element or sent to the control plane network element by other control plane network elements.
  • the control plane network element is a session management network element, and the session management network element may obtain the first delay information from a policy control function network element, or may obtain it from an application function network element through a policy control function network element.
  • control plane network element obtains the time information of the user plane network element according to the time information of the ingress port of the data stream and the first transmission delay.
  • the control plane network element obtains the time information of the user plane network element according to the time information of the ingress port of the data flow and the first transmission delay, and the control plane network element obtains the data according to the time information of the ingress port of the data flow and the internal transmission delay.
  • the method of the time information of the outgoing port of the stream is similar. For details, please refer to the foregoing content, which will not be repeated here.
  • the control plane network element determines the time information of the user plane network element according to the time information of the outgoing port of the data stream.
  • the control plane network element may first obtain the second transmission delay, and the second transmission delay is the transmission delay between the second terminal device and the user plane network element.
  • the manner in which the control plane network element obtains the second transmission delay is the same as the manner in which the control plane network element obtains the first transmission delay. For details, please refer to the foregoing content, which will not be repeated here.
  • control plane network element obtains the time information of the user plane network element according to the time information of the outgoing port of the data stream and the second transmission delay.
  • the control plane network element obtains the time information of the user plane network element according to the time information of the outgoing port of the data stream and the second transmission delay, and the control plane network element obtains the data according to the time information of the ingress port of the data stream and the internal transmission delay.
  • the method of the time information of the outgoing port of the stream is similar. For details, please refer to the foregoing content, which will not be repeated here.
  • the time information of the user plane network element includes the third reference time of the gating period and the first gating list, where the time information of the gating period The third reference time is determined according to the first reference time of the gating period and the first transmission delay (the sum), or according to the second reference time of the gating period and the second transmission delay (the difference) of.
  • the time information of the user plane network element may include part or all of the following information: the earliest time that a message in the data flow reaches the user plane network element, and the latest that a message in the data flow reaches the user plane network element time.
  • the method executed by the user plane network element after receiving the time information of the user plane network element is similar to the method executed by the user plane network element after receiving the time information of the outgoing port of the data stream. For details, please refer to the foregoing content 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 701 The CNC network element configures a first strategy, and the first strategy indicates that the first gating list in the time information of different data flows into the port is different.
  • each gate control list corresponds to a gate ID
  • the first strategy indicates that the first gate control list in the ingress port time information of different data streams is different, which can be understood as the ingress ports of different data streams.
  • the gate ID in the time information is different.
  • the embodiment of the present application does not limit the manner in which the CNC network element configures the first strategy.
  • the first strategy may be set by default; it may also be configured by the CNC network element under the instructions of other network elements.
  • the AF network element in the 5G system may send a first indication to the CNC network element, where the first indication indicates that the ingress port of the data stream does not reuse the same gate ID.
  • the embodiment of this application does not limit the first indication method. For example, it can indicate that the data stream does not reuse the same gate ID through pre-appointed characters; it can also indicate the number of time information supported by the port of the virtual switching node and the data stream supported. The number of is the same, which indirectly indicates that the data stream does not reuse the same gate ID.
  • the embodiment of the application does not limit the way the AF network element obtains the first indication.
  • the first indication may be generated by the AF, or sent by the UPF network element or the UE network element to the PCF through the SMF network element.
  • the network element it can also be generated by the SMF network element and sent to the PCF network element, and then sent by the PCF network element to the AF network element. It can also be directly generated by the PCF network element and sent to the AF directly or through the NEF network element. Network element.
  • Step 702 After receiving the flow creation request, the CNC network element determines the transmission path of the data flow, the data terminal and the forwarding rules on each switching node (such as the flow characteristics of the data flow, the ingress port identification of the data flow, and the data flow).
  • the time information of the ingress port of the data stream on any switching node is used to indicate the ingress port processing of the data stream (the processing of the ingress port can be understood as receiving or buffering the packets in the data stream. )
  • the time window of the message in the data stream is used to indicate the ingress port processing of the data stream.
  • the CNC network element can send to the AF network element the forwarding rule of the data stream on the virtual switching node, the correspondence between the stream identifier of the data stream and the stream characteristics of the data stream, and also
  • the time information of the ingress port of the data flow on the virtual switching node (hereinafter referred to as the time information of the ingress port of the data stream) can be sent to the AF network element.
  • the data stream may be an upstream stream.
  • the time information of the ingress port of the data stream is the time information of the UE-side port of the data stream.
  • the data stream may be a downstream stream.
  • the time information of the ingress port of the data stream is the time information of the UPF side port of the data stream.
  • the AF network element obtains the time information of the ingress port of the data stream from the CNC network element as an example for description.
  • the AF network element can also obtain the data stream’s ingress port information in other ways.
  • the time information for example, the time information of the ingress port of the data stream is pre-configured in the AF network element or calculated and generated by the AF network element.
  • the embodiment shown in FIG. 7 is applied to a network architecture that uses a 5G system as a virtual switching node in the TSN (the architecture shown in FIG. 4a or 4b).
  • the embodiment shown in FIG. 6 can also be applied to other network architectures.
  • the embodiment of this application is not limited.
  • the time information acquired by the AF network element in step 702 may not be the time information of the ingress port. , It can be time information for PDU session or UE.
  • Step 703 The AF network element determines the time information of the outgoing port of the data flow according to the time information of the ingress port of the data flow and the internal transmission delay, and the time information of the outgoing port of the data flow is used to indicate the outgoing port of the data flow
  • the time window for processing the packets in the data stream (the processing of the packets in the data stream by the egress port can be understood as sending or buffering the packets in the data stream).
  • the internal transmission delay is the transmission delay of the 5G system during data transmission. It is the transmission delay when data is transmitted between the UE (or UP2) and the UPF network element (or UP1 side), and is reported to the CNC network element from the 5G system.
  • the internal transmission delay is the same.
  • the embodiment of the present application does not limit the indication mode of the time information of the ingress port of the data flow, and several of them are listed below:
  • the first type the time information of the outgoing port of the data flow includes part or all of the following information: the earliest time for the packets in the data flow to reach the outgoing port, and the latest time for the packets in the data flow to reach the outgoing port.
  • the AF network element can determine the earliest time for the packet in the data flow to reach the outgoing port according to the sum of the earliest time for the packet in the data flow to reach the ingress port and the internal transmission delay.
  • the data The earliest time for a packet in a stream to arrive at the outgoing port may also be referred to as the earliest time for the outgoing port of the data stream to process the packets in the data stream or the earliest time for the packets in the data stream to be sent from the outgoing port.
  • the AF network element can determine the latest time that the packets in the data flow arrive at the outgoing port according to the sum of the latest time that the packets in the data flow arrive at the ingress port and the internal transmission delay.
  • the latest time for the packets in the data flow to reach the outgoing port can also be called the latest time for the outgoing port of the data flow to process the packets in the data flow or the latest time for the packets in the data flow to be sent from the outgoing port. time.
  • the time information of the outgoing port of the data flow can include the latest time and the latest time for the packets in the data flow to reach the outgoing port at the same time, that is, the latest time and the latest time for the packets in the data flow to reach the outgoing port. It can be used as the time window for the outgoing port of the data stream to send the packets in the data stream, and the outgoing port of the data stream can process the packets in the data stream within the time window.
  • the second type the time information of the outgoing port of the data stream includes the second reference time of the ingress port gating period and the first gating list of the ingress port of the data stream.
  • the second reference time of the ingress port gating period is determined according to the first reference time of the ingress port gating period and the internal transmission delay.
  • the first reference time of the ingress port gating period is the pre-defined start time of the ingress port gating period.
  • the third type the time information of the outgoing port of the data stream includes the first reference time of the ingress port gating period and the second gating list.
  • the second gate control list is determined according to the first gate control list and the internal transmission delay.
  • the first reference time of the ingress port gating period is the pre-defined start time of the ingress port gating period.
  • the fourth type the time information of the outgoing port of the data stream includes the time information of the incoming port of the data stream and the internal transmission delay.
  • the AF network element can directly use the time information of the ingress port of the data stream and the internal transmission delay as the time information of the egress port of the data stream without processing.
  • Step 704 The AF network element triggers the PCF network element to initiate the PCC rule creation/modification process of the PDU session carrying the data flow, and sends the information required to create/modify the PCC rule of the PDU session to the PCF network element, and transfer the data flow The time information of the outgoing port is sent to the PCF network element.
  • the information required to configure the PCC rules of the PDU session includes but is not limited to: the flow characteristics of the data flow, the delay information of the session, the identifier of the session, and so on.
  • the AF network element when it sends the time information of the outgoing port of the data flow to the PCF network element, it can also send the identification of the outgoing port (indicating that the time information of the outgoing port of the data flow is for the outgoing port) or the The flow characteristics of the data flow (the time information indicating the outgoing port of the data flow is for the data flow).
  • the CNC network element when it sends the time information of the ingress port of the data stream to the AF network element, it can send the ID of the data stream at the same time, and the AF network element can send the data stream according to the pre-received data stream.
  • the correspondence between the characteristics, the ingress port identifier, the egress port identifier, and the ID of the data flow determines the egress port identifier and the flow characteristic of the data flow.
  • the AF network element may adopt the following two information sending methods:
  • Method 1 The time information of the ingress port of the data stream and the internal transmission delay are sent to the PCF network element through the port management container of the egress port.
  • port management containers defined between AF network elements and PCF network elements, PCF network elements and SMF network elements, SMF network elements and UPF network elements, SMF network elements and UE, respectively, which have port management containers for ingress ports and egress ports.
  • the above two network elements can send the time information of the ingress port defined by 802.1Qci through the port management container of the ingress port, and the time information of the outgoing port defined by 802.1Qbv can be sent between the two network elements through the port management container of the egress port. Time information.
  • the AF network element may send the time information of the ingress port of the data stream and the internal transmission delay through the port management container of the egress port.
  • the AF network element can only send the time information of the ingress port of the data stream through the port management container of the egress port.
  • the information required to calculate the internal transmission delay includes, but is not limited to, the residence delay of the terminal device (the residence delay of the terminal device is the transmission delay of the message forwarded between the terminal device and its corresponding UP2) and the terminal Packet delay budget (PDB) from the device to the UPF network element.
  • the residence delay of the terminal device is the transmission delay of the message forwarded between the terminal device and its corresponding UP2
  • PDB terminal Packet delay budget
  • Method 2 The time information of the ingress port of the data stream and the internal transmission delay are sent to the PCF network element through the port management container of the ingress port. This method is similar to the first method. For details, please refer to the foregoing content, which will not be repeated here.
  • Step 705 The PCF network element sends a forwarding rule creation request to the SMF network element, instructing to create a forwarding rule for the PDU session carrying the data flow.
  • the forwarding rule creation request includes the time information of the outgoing port of the data flow and the creation of a forwarding rule to carry the data Information required by the forwarding rules of the PDU session of the flow (such as information such as the 5QI of the PDU session QoS flow).
  • the PCF network element when the PCF network element sends the time information of the outgoing port of the data flow to the SMF network element, it can also send the identification of the outgoing port (indicating that the time information of the outgoing port of the data flow is for the outgoing port) or the The flow characteristics of the data flow (the time information indicating the outgoing port of the data flow is for the data flow).
  • the PCF network element in the fourth way of indicating the time information of the outgoing port of the data stream, can use the following two information sending methods:
  • Method 1 The time information of the ingress port of the data stream and the internal transmission delay are sent to the SMF network element through the port management container of the egress port. This method is similar to the first method adopted by the PCF network element. For details, please refer to the foregoing content, which will not be repeated here.
  • the PCF network element can only send the time information of the ingress port of the data stream through the port management container of the egress port.
  • Method 2 The time information of the ingress port of the data stream and the internal transmission delay are sent to the PCF network element through the port management container of the ingress port. This method is similar to the second method adopted by the PCF network element. For details, please refer to the foregoing content, which will not be repeated here.
  • Step 706 After receiving the forwarding rule creation request, the SMF network element sends the network element corresponding to the port according to the time information of the outgoing port of the data stream.
  • the SMF network element Before the SMF network element sends the time information of the outgoing port of the data stream to the corresponding network element, it also needs to determine the outgoing port of the data stream, and then determine the network element corresponding to the outgoing port.
  • the embodiment of the present application does not limit the manner in which the SMF network element determines the outgoing port of the data flow. For example, when the SMF network element receives the time information of the outgoing port of the data stream, it receives the identifier of the outgoing port.
  • the SMF network element can determine the network corresponding to the outgoing port according to the correspondence between the port identifier stored locally and the PDU session.
  • the element is a UE or a UPF network element.
  • the network element corresponding to the egress port is a UPF network element; if it corresponds to a PDU session, the network element corresponding to the egress port is a UE.
  • the SMF network element sends the time information of the outgoing port of the data stream to the UPF network element.
  • the UPF network element may send the packet in the data stream according to the time window indicated by the time information of the outgoing port of the data stream.
  • the manner in which the UPF network element determines the time window according to the time information of the outgoing port of the data stream can be referred to the foregoing content, and will not be repeated here.
  • the UPF network element may first buffer the received message in the data stream, and when the time window is buffered, send the buffered message in the data stream.
  • the UPF network element When the UPF network element sends the buffered packets in the data flow, it can first send the buffered packets in the data flow to the sending queue of the outgoing port.
  • the sending queue of the outgoing port is based on the flow of the outgoing port. Sort information for scheduling.
  • the time window indicated by the flow classification whose gate control status is open can be later than the time window indicated by the time information of the egress port.
  • the time window indicated by the time information of the outgoing port is 6-7 ms
  • the time window indicated by the flow classification is 8-10 ms.
  • the UPF network element can buffer the buffered packets in the data flow for 6-7ms, and then send the buffered packets in the data flow to the sending queue of the outgoing port, and send the packets in the time window indicated by the flow classification. Packets in the data stream.
  • the UPF network element When the UPF network element sends the buffered packets in the data stream, it can also directly send the packets in the data stream through the outgoing port.
  • the time window indicated by the flow classification whose gate control state is open includes the time window indicated by the time information of the egress port.
  • the time window indicated by the time information of the outgoing port is 6-7 ms
  • the time window indicated by the flow classification is 5-10 ms.
  • the UPF network element may directly send the buffered packets in the data stream in the time window indicated by the time information of the outgoing port.
  • the SMF network element sends the time information of the outgoing port of the data stream to the UE.
  • the UE network element may send the packet in the data stream according to the time window indicated by the time information of the outgoing port of the data stream.
  • the UE sends the packets in the data stream according to the time window indicated by the time information of the outgoing port of the data stream and the manner in which the UPF network element sends the packets in the data stream according to the time window indicated by the time information of the outgoing port of the data stream is similar
  • the foregoing content please refer to the foregoing content, which will not be repeated here.
  • the AF network element determines the time information of the outgoing port of the data flow as an example.
  • other network elements may also determine the time information of the outgoing port of the data flow. .
  • a communication method provided by an embodiment of this application in which the PCF network element generates time information of the outgoing port of the data stream, the method includes:
  • Step 801 Same as step 701, please refer to the related description of step 701, which will not be repeated here.
  • Step 802 the same as step 702, please refer to the related description of step 702, which will not be repeated here.
  • Step 803 The AF network element triggers the PCF network element to initiate the PCC rule creation/modification process, creates/modifies the PCC rule of the PDU session carrying the data flow, and uses the port management container of the ingress port to manage the time information of the data flow’s ingress port Sent to the PCF network element.
  • Step 804 The PCF network element determines the time information of the outgoing port of the data flow according to the time information of the ingress port of the data flow with internal transmission delay.
  • the manner in which the PCF network element determines the time information of the outgoing port of the data stream can refer to the related description of step 603, which is different from the execution subject of step 603 as the AF network element, and the execution subject of step 803 is the PCF network element.
  • Step 805 same as step 705, please refer to the related description of step 705, which will not be repeated here.
  • Step 806 same as step 706, please refer to the related description of step 706, which will not be repeated here.
  • a communication method provided by an embodiment of this application in which the SMF network element generates time information of the outgoing port of the data stream, the method includes:
  • Step 901 same as step 701, please refer to the related description of step 701, which will not be repeated here.
  • Step 902 Same as step 702, please refer to the related description of step 702, which will not be repeated here.
  • Step 903 the same as step 803, please refer to the related description of step 803, which will not be repeated here.
  • Step 904 The PCF network element sends a forwarding rule creation request to the SMF, and sends the time information of the ingress port of the data flow to the SMF network element through the port management container of the ingress port.
  • Step 905 The SMF network element determines the time information of the outgoing port of the data flow according to the time information of the incoming port of the data flow and the internal transmission delay stored locally.
  • the SMF network element also needs to determine the outgoing port of the data stream.
  • the embodiment of the present application does not limit the manner in which the SMF network element determines the outgoing port of the data flow.
  • the information sent by the PCF network element to the SMF network element carries the identification of the outgoing port.
  • the SMF network element locally stores the correspondence between data flow information (such as flow characteristics) and the outgoing port, and the SMF network element may Based on the correspondence between the data stream and the outgoing port, the outgoing port of the data stream is determined according to the information of the data stream carried in the PCC rule creation/modification request.
  • Step 906 the same as step 706, please refer to the related description of step 706, which will not be repeated here.
  • the data flow is a data flow between the UE and the UPF network element, that is, the data flow is an upstream flow or a downstream flow, and the method provided in the embodiments of this application is also applicable to
  • the data flow is the case of the data flow between UEs, that is, it can be applied to the network architecture as shown in FIG. 4b.
  • the data stream is the data stream from UE1 to UE2, and the data stream includes UE1 to UPF network elements.
  • the upstream flow from the UPF network element to the UE2 and the downstream flow from the UPF network element to UE2 are described as examples.
  • the internal transmission delay of the data flow includes the first transmission delay and the second transmission delay, and the first transmission delay is from UE1 to UPF.
  • the transmission delay of the network element, and the second transmission delay is the transmission delay from UE2 to the UPF network element.
  • Step 1001 Same as step 901, please refer to the related description of step 901, which will not be repeated here.
  • Step 1002 Same as step 902, please refer to the related description of step 902, which will not be repeated here.
  • Step 1003 Same as step 903, please refer to the related description of step 903, which will not be repeated here.
  • Step 1004 the same as step 904, please refer to the related description of step 904, which will not be repeated here.
  • Step 1005 The SMF network element generates the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay. If the data stream is a data stream between UEs, the data stream The time information of the egress port is the time information of the UE2 side port, and the time information of the UE2 side port indicates the time window for the UE to send the packet in the data stream.
  • the SMF network element When performing this step, the SMF network element needs to determine the outgoing port of the data stream.
  • the method for determining the outgoing port of the data stream by the SMF network element can refer to the embodiment shown in FIG. 6 for the method for determining the outgoing port of the SMF network element. Please refer to the foregoing content, which will not be repeated here.
  • the SMF network element also needs to obtain the internal transmission delay.
  • the internal transmission delay may be recorded by the SMF network element, obtained from the AF network element through the PCF network element, or obtained from the PCF network element.
  • the SMF network element may directly obtain the internal transmission delay, or may obtain the first transmission delay and the second transmission delay. If the SMF network element records the first transmission delay locally, the SMF network element can only have the second transmission delay. Similarly, if the SMF network element records the second transmission delay locally, the SMF network element can only have the second transmission delay. 1. Transmission delay.
  • Step 1006 The SMF network element determines the time information of the UPF network element according to the time information of the ingress port of the data stream or the time information of the egress port of the data stream.
  • the time information of the UPF network element is the same as the information indicated by the time information of the outgoing port of the data flow when the data flow is an upstream flow in the embodiment shown in FIG. 6.
  • the SMF network element may determine the time information of the UPF network element according to the time information of the ingress port of the data flow and the first transmission delay. If the SMF network element obtains the time information of the outgoing port of the data stream, the SMF network element may determine the time information of the UPF network element according to the time information of the ingress port of the data stream and the second transmission delay. For the SMF network element to determine the time information of the UPF network element, refer to the manner in which the AF network element determines the time information of the outgoing port of the data flow in the embodiment shown in FIG. 6, which will not be repeated here.
  • the UPF network element and the UE may be in different clock domains, and the time information of the UPF network element side port generated by the SMF network element needs to be the time information of the port under the clock domain where the UPF network element is located.
  • the SMF network element may first determine the time information of the ingress port of the data stream and The first transmission delay is converted into the time information of the ingress port of the data stream under the clock domain where the UPF network element is located and the first transmission delay, and then according to the time information of the ingress port of the data stream under the clock domain where the UPF network element is located and The first transmission delay determines the time information of the UPF network element.
  • the SMF network element can determine the time information of the UPF network element of the UE in the clock domain according to the time information of the ingress port of the data stream and the first transmission delay, and then, according to the clock between the clock domain where the UE is located and the clock domain where the UPF is located.
  • the offset (and frequency offset) converts the time information of the UPF network element of the UE in the clock domain into the time information of the UPF network element side port in the clock domain where the UPF network element is located.
  • the frequency offset indicates the difference of the clock frequency in the two clock domains.
  • the clock offset and the frequency offset may be obtained by the SMF network element from the PCF network element.
  • the time information of the ingress port of the data stream indicates that the start time of the gating period is 1, the length of the gating period is 10 milliseconds (ms), and the offset of 2ms-3ms within the gating period is the open state of the gating state .
  • the clock domain where the UPF network element is located and the clock domain of the UE have a clock offset of 5ms based on 1 point, the frequency offset is 2 (indicating that the clock of the clock domain where the UPF network element is located is faster than the clock of the clock domain where the UE is located 1 times), the first transmission clock domain is recorded under the UE clock domain, and the size is 5ms.
  • the size of the first transmission delay in the UPF clock domain needs to be doubled, and the size is 10ms.
  • the start time of the gating period in the clock domain where the UPF is located is 1:00 15ms (the gating under the clock domain where the UE is located)
  • the length of the gating period is doubled to 20ms
  • the gating state with an offset of 4-6ms within the gating period is turn on.
  • Step 1007 The SMF network element sends a first session creation/modification request to the UPF network element, where the first session creation/modification request includes the time information of the UPF network element.
  • the first session creation/modification request may instruct to configure the forwarding rule of the session that sends the data stream or instruct to configure the forwarding rule of the session that receives the data stream.
  • the SMF network element sends the time information of the UPF network element to the UPF network element through the first session creation/modification request as an example.
  • the embodiment of this application does not limit the SMF network element to the UPF network element.
  • the time information of the element is carried in other information and sent to the UPF network element.
  • the UPF network element After the UPF network element receives the time information of the UPF network element, it can buffer the packets in the data stream to the time interval indicated by the time information of the UPF network element and forward the packets in the data stream, that is, within the time interval Send the buffered packets in the data stream to UE2.
  • Step 1008 The SMF network element sends a second session creation/modification request to UE2, and the second session creation/modification request includes time information of the outgoing port of the data stream.
  • the second session creation/modification request may indicate to configure the forwarding rule of the session that sends the data stream.
  • UE2 After UE2 receives the second session creation/modification request, it can buffer the packets in the data stream to the time window indicated by the time information of the outgoing port of the data stream and forward the packets in the data stream, that is, at this time The buffered packets in the data stream are sent out in the window.
  • the embodiment of the application also provides a communication device for executing the control plane network element (such as AF network element, PCF network element) in the method embodiment shown in FIGS. 6-9. , SMF network element).
  • control plane network element such as AF network element, PCF network element
  • FIGS. 6-9. SMF network element
  • the device includes a receiving unit 1101, a processing unit 1102, and a sending unit 1103.
  • the receiving unit 1101 is configured to obtain the time information of the ingress port of the data stream, and the time information of the ingress port of the data stream indicates the time window for the ingress port to process the packets in the data stream.
  • the processing unit 1102 is used for the control plane network element to determine the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay.
  • the time information of the outgoing port of the data stream indicates that the out port processes the data in the data stream.
  • the time window of the message, the internal transmission delay is the transmission delay between the ingress port and the egress port.
  • the sending unit 1103 is configured to send time information of the outgoing port of the data stream to the network element corresponding to the outgoing port.
  • the control plane network element is an application function network element.
  • the sending unit 1103 sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port of the data stream, it can send to the policy control function network.
  • the element sends the time information of the outgoing port of the data stream
  • the policy control function network element sends the time information of the outgoing port of the data stream to the session management network element.
  • the session management network element may send the time information of the egress port of the data stream to the network element corresponding to the egress port of the data stream.
  • the control plane network element is a policy control function network element.
  • the sending unit 1103 sends the time information of the data stream's egress port to the network element corresponding to the data stream's egress port, it sends to the session management network element Send the time information of the outgoing port of the data stream; then, the session management network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port of the data stream.
  • the sending unit 1103 may send the session information to the session management network element.
  • the management network element forwarding rule creation request is used to request the creation of a forwarding rule of the session carrying the data stream, and the forwarding rule creation request includes the time information of the outgoing port of the data stream.
  • control plane network element is a session management network element
  • the processing unit 1102 determines the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay; after that, the sending unit 1103 sends the time information of the egress port of the data flow to the network element corresponding to the egress port.
  • the processing unit 1102 may perform the corresponding relationship between the stream characteristics, the egress port identifier, and the ingress port identifier of the data stream stored in advance (the corresponding relationship may be from the application).
  • the functional network element determines the outgoing port of the data stream, and then determines the network element corresponding to the outgoing port of the data stream, and the sending unit 1103 sends the time information of the outgoing port of the data stream to the network element corresponding to the port.
  • the sending unit 1103 may send identification information at the same time to identify that the time information of the outgoing port of the data stream is for Of the data stream or of the outgoing port.
  • the identification information may be the flow feature of the data flow or the identification of the outgoing port.
  • the sending unit 1103 sends the time information and identification information of the outgoing port of the data flow to the policy control function network element, and then the policy control function network element sends the data flow to the session management network element The time information and identification information of the outgoing port; the session management network element then sends the time information and identification information of the outgoing port of the data flow to the network element corresponding to the ingress port.
  • the sending unit 1103 sends the time information and identification information of the outgoing port of the data stream to the session management network element; the session management network element then sends the data stream to the network element corresponding to the ingress port The time information and identification information of the outgoing port.
  • the sending unit 1103 sends the time information and identification information of the outgoing port of the data flow to the network element corresponding to the ingress port.
  • the time information of the ingress port of the data stream indicates that there are many ways for the ingress port to process the time window of the packet in the data stream. Two of them are listed below:
  • the time information of the ingress port of the data stream includes the first reference time of the gating period and the first gating list, and the first gating list is used to indicate the gating state of the time window included in the gating period.
  • the second type the time information of the ingress port of the data stream includes the earliest time and the latest time that the data stream arrives at the ingress port.
  • the time information of the outgoing port of the data stream indicates that there are many ways for the port to process the time window of the packet in the data stream, three of which are listed below:
  • the time information of the outgoing port of the data stream includes: the second reference time of the gating period and the gating list, and the second reference time is determined according to the first reference time and the internal transmission delay.
  • the second type, the time information of the outgoing port of the data stream includes: the time information of the incoming port of the data stream and the internal transmission delay.
  • the time information of the outgoing port of the data stream includes: the first reference time of the gating period and the second gating list, and the second gating list is determined according to the first gating list and the internal transmission delay.
  • the time information of the outgoing port of the data flow includes part or all of the following: the earliest time that the data flow reaches the outgoing port, and the latest time that the data flow reaches the outgoing port.
  • the processing unit 1102 may determine the user according to the time information of the ingress port of the data stream and the first transmission delay.
  • the first transmission delay is used to indicate the transmission delay between the first terminal device and the user plane network element.
  • the time information of the user plane network element indicates how the user plane network element processes packets in the data stream. Time window; after that, the sending unit 1103 sends the time information of the user plane network element to the user plane network element.
  • the processing unit 1102 may also determine according to the time information of the outgoing port of the data stream and the second transmission delay.
  • the time information of the user plane network element, the second transmission delay is used to indicate the transmission delay between the second terminal device and the user plane network element, and the time information of the user plane network element side port indicates the data flow in the user plane network element processing The time window of the message; after that, the sending unit 1103 sends the time information of the user plane network element to the user plane network element.
  • the network element corresponding to the outgoing port is the user plane network element, and the sending unit 1103 may send the data to the user plane network element. Time information of the outgoing port that sends the data stream.
  • the sending unit 1103 may send the time information of the outgoing port of the data stream to the second terminal device.
  • an embodiment of the application also provides a communication device for executing the method executed by the terminal device in the method embodiment shown in FIGS. 6-9.
  • the device includes a receiving unit 1201, a processing unit 1202, and a sending unit 1203.
  • the receiving unit 1201 is configured to receive time information of the outgoing port of the data stream, and the time information of the outgoing port of the data stream indicates the time window for the outgoing port of the data stream to process packets in the data stream;
  • the processing unit 1202 is configured to buffer the packets in the data stream until the time window is reached.
  • the sending unit 1203 processes the packets in the data stream within the time window.
  • the processing unit 1202 buffers the packets in the data stream, and after the time window is reached, the sending unit 1203 can directly send the packets in the data stream within the time window of the data stream, and the sending unit 1203 can also send the message to the egress queue within the time window, and send the message based on the scheduling rule of the egress queue.
  • the receiving unit 1201 may also receive identification information when receiving the time information of the outgoing port of the data stream.
  • the identification information may be the flow characteristic of the data stream or the identification of the outgoing port.
  • the processing unit 1202 can determine the output port according to the identification information; wherein, when the identification information is the stream characteristic of the data stream, the processing unit 1202 can determine the output port according to the stream characteristic and the output port identifier of the data stream. The corresponding relationship determines the port.
  • an embodiment of the application also provides a communication device for executing the method executed by the UPF network element described in the method embodiment shown in FIGS. 6-9.
  • the device includes a receiving unit 1301, a processing unit 1302, and a sending unit 1303.
  • the receiving unit 1301 is configured to receive time information of the outgoing port of the data stream, and the time information of the outgoing port of the data stream indicates a time window for the outgoing port of the data stream to send packets in the data stream.
  • the processing unit 1302 is configured to buffer the packets in the data stream until the time window is reached.
  • the sending unit 1303 is configured to process packets in the data stream in a time window.
  • the sending unit 1303 processes the packets in the data stream in the time window, and can directly send the packets in the data stream within the time window of the data stream, or can transfer the packets in the buffered data stream.
  • the message is sent to the egress queue of the egress port, and the message is sent based on the scheduling rule of the egress queue.
  • the receiving unit 1301 may also receive identification information when receiving the time information of the outgoing port of the data stream.
  • the identification information may be the flow feature of the data stream or the identification of the outgoing port.
  • the receiving unit 1301 may determine the output port according to the identification information; wherein, when the identification information is the flow characteristic of the data flow, the processing unit 1302 may determine the corresponding relationship between the flow characteristics of the data flow and the identification of the outgoing port. Determine the out port.
  • 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.
  • control plane network element may adopt the form shown in FIG. 14.
  • the communication device 1400 shown in FIG. 14 includes at least one processor 1401, a memory 1402, and optionally, a communication interface 1403.
  • the memory 1402 may be a volatile memory, such as a random access memory; the memory may also be a non-volatile memory, such as read-only memory, flash memory, hard disk drive (HDD) or solid-state drive (solid-state drive, SSD) or memory 1402 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 1402 may be a combination of the above-mentioned memories.
  • the specific connection medium between the foregoing processor 1401 and the memory 1402 is not limited in the embodiment of the present application.
  • the memory 1402 and the processor 1401 are connected through a bus 1404 in the figure, and the bus 1404 is represented by a thick line in the figure. Is limited.
  • the bus 1404 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. 14, but it does not mean that there is only one bus or one type of bus.
  • the processor 1401 may have data transceiving functions and be able to communicate with other devices.
  • an independent data transceiving module such as a communication interface 1403, can also be set to send and receive data; the processor 1401 is communicating with other devices. During communication, data transmission can be performed through the communication interface 1403.
  • the processor 1401 in FIG. 14 can call the computer execution instructions stored in the memory 1402, so that the base station can execute all of the above-mentioned method embodiments. Describes the execution method of the control plane network element.
  • the functions/implementation processes of the sending unit, the receiving unit, and the processing unit in FIG. 11 may all be implemented by the processor 1401 in FIG. 14 calling a computer execution instruction stored in the memory 1402.
  • the function/implementation process of the processing unit in FIG. 11 may be implemented by the processor 1401 in FIG. 14 calling computer execution instructions stored in the memory 1402
  • the function/implementation process of the sending unit and the receiving unit in FIG. 11 may be implemented by referring to FIG. 14.
  • the communication interface 1403 In the communication interface 1403 to achieve.
  • the terminal device may adopt the form shown in FIG. 15.
  • the communication device 1500 shown in FIG. 15 includes at least one processor 1501, a memory 1502, and optionally, a transceiver 1503.
  • the memory 1502 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 memory 1502 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 1502 may be a combination of the above-mentioned memories.
  • connection medium between the foregoing processor 1501 and the memory 1502 is not limited in the embodiment of the present application.
  • the memory 1502 and the processor 1501 are connected by a bus 1504 in the figure, and the bus 1504 is represented by a thick line in the figure.
  • the connection mode between other components is only for schematic illustration and is not quoted. Is limited.
  • the bus 1504 can be divided into an address bus, a data bus, a control bus, and so on. For ease of presentation, only one thick line is used in FIG. 15 to represent it, but it does not mean that there is only one bus or one type of bus.
  • the processor 1501 may have a function of data transceiving and can communicate with other devices.
  • an independent data transceiving module such as a transceiver 1503, can be set to send and receive data; the processor 1501 is communicating with other devices.
  • the transceiver 1503 can be used for data transmission.
  • the processor 1501 in FIG. 15 can call the computer execution instructions stored in the memory 1502, so that the terminal device can execute the terminal device in any of the foregoing method embodiments. method.
  • the functions/implementation processes of the sending unit, the receiving unit, and the processing unit in FIG. 13 may all be implemented by the processor 1501 in FIG. 15 calling a computer execution instruction stored in the memory 1502.
  • the function/implementation process of the processing unit in FIG. 13 may be implemented by the processor 1501 in FIG. 15 calling a computer execution instruction stored in the memory 1502
  • the function/implementation process of the sending unit and the receiving unit in FIG. 13 may be implemented by The transceiver 1503 in FIG. 15 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)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A communication method, apparatus and system, wherein in the present application, a control plane network element may acquire time information of an ingress port of a data stream, and the time information of the ingress port of the data stream indicates a time window for the ingress port to process messages in the data stream. After that, according to the time information of the ingress port of the data stream and an internal transmission delay, time information of an egress port of the data stream is determined. The time information of the egress port of the data stream indicates a time window for the egress port to process the messages in the data stream. The internal transmission delay is a transmission delay between the ingress port and the egress port. Then, the time information of the egress port is sent to a network element corresponding to the egress port. The network element corresponding to the egress port buffers the messages in the data stream until the time window indicated by the time information, and processes the messages in the data stream within the time window. By using the foregoing manner, the time window during which the egress port of the data stream processes the messages in the data stream may be determined more accurately, and the deterministic transmission of the data stream in TSN may be achieved.

Description

一种通信方法、装置及系统Communication method, device and system
相关申请的交叉引用Cross-references to related applications
本申请要求在2019年11月08日提交中国专利局、申请号为201911090502.7、申请名称为“一种通信方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201911090502.7, and the application name is "a communication method, device, and system" on November 8, 2019. The entire content is incorporated into this application by reference. in.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种通信方法、装置及系统。This application relates to the field of communication technology, and in particular to a communication method, device and system.
背景技术Background technique
区别于传统以太网不能提供高可靠性的数据传输以及保障时延传输的弊端,在传统以太网的基础上产生了时延敏感网络(time sensitive networking,TSN),TSN兼具了实时性和确定性,能够保障业务数据传输的可靠性,同时也可以预测数据传输过程中端到端的传输时延。Different from the disadvantages of traditional Ethernet that cannot provide high-reliability data transmission and guarantee delay transmission, a delay-sensitive network (TSN) is created on the basis of traditional Ethernet. TSN has both real-time and certainty. It can guarantee the reliability of service data transmission, and it can also predict the end-to-end transmission delay in the data transmission process.
为了在第五代移动通信(5th-generation,5G)系统中,借助TSN实现端到端的可靠性数据传输,将5G系统虚拟为TSN中的一个交换节点,形成了5G系统与TSN互通的网络架构,在该种网络架构中,TSN中的配置网元能够指示5G系统中的控制面网元,在用户设备(user equipment,UE)与用户面网元建立数据流。In order to use TSN to realize end-to-end reliable data transmission in the fifth-generation mobile communication (5th-generation, 5G) system, 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 In this type of network architecture, the configuration network element in the TSN can indicate the control plane network element in the 5G system, and establish a data flow between the user equipment (UE) and the user plane network element.
而为了保证该数据流的传输时延,TSN中的配置网元可以配置该数据流中出入端口的时间信息。以该数据流为上行流为例,TSN中的配置网元可以配置用户面网元侧端口的传输等级(traffic class)的时间信息,该traffic class的时间信息中携带了用户面网元发送该数据流中报文的traffic class,当用户面网元对该数据流中的报文缓存至该traffic class指示的时间窗口的起始时间时,在该时间窗口内发送缓存的报文。In order to ensure the transmission delay of the data stream, the configuration network element in the TSN can configure the time information of the ingress and egress ports in the data stream. Taking this data flow as an upstream flow as an example, the configuration network element in TSN can configure the time information of the transmission class (traffic class) of the user plane network element side port. The traffic class time information carries the user plane network element to send the The traffic class of the packet in the data stream. When the user plane network element buffers the packet in the data stream to the start time of the time window indicated by the traffic class, the buffered packet is sent within the time window.
但对于用户面网元侧端口的一个traffic class的时间信息可以对应多个数据流,就是说在该traffic class的时间信息指示的时间窗口内,用户面网元可以发送多个数据流中的报文。只要当前的时间到达了traffic class的时间信息指示的时间区间,用户面网元会发送该多个数据流的中已缓存的报文,用户面网元并不能精确的控制其中任一个数据流在出端口的传输时间,不能较好的保证TSN中端到端的传输时延。However, the time information of a traffic class on the user-plane network element side port can correspond to multiple data streams, that is, within the time window indicated by the time information of the traffic class, the user-plane network element can send packets in multiple data streams. Text. As long as the current time reaches the time interval indicated by the time information of the traffic class, the user plane network element will send the buffered packets of the multiple data streams. The user plane network element cannot precisely control the data flow in any one of them. The transmission time of the outgoing port cannot guarantee the end-to-end transmission delay in TSN.
发明内容Summary of the invention
本申请提供一种通信方法、装置及系统,用以实现数据流在TSN中的确定性传输。This application provides a communication method, device, and system to realize the deterministic transmission of data stream in TSN.
第一方面,本申请实施例提供了一种通信方法,方法包括:首先,控制面网元可以先获取数据流的入端口的时间信息,数据流的入端口的时间信息指示入端口处理数据流中的报文的时间窗口。之后,控制面网元根据数据流的入端口的时间信息和内部传输时延确定数据流的出端口的时间信息,数据流的出端口的时间信息指示出端口处理数据流中的报文的时间窗口,内部传输时延为入端口与出端口间的传输时延。然后,控制面网元向出端口对应的网元发送数据流的出端口的时间信息。In the first aspect, an embodiment of the present application provides a communication method. The method includes: first, the control plane network element may first obtain the time information of the ingress port of the data stream, and the time information of the ingress port of the data stream indicates that the ingress port processes the data stream. The time window of the message in. After that, the control plane network element determines the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay. The time information of the outgoing port of the data stream indicates the time for the port to process the packets in the data stream. Window, the internal transmission delay is the transmission delay between the ingress port and the egress port. Then, the control plane network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port.
通过上述方法,控制面网元在接收到该数据流的入端口的时间信息后,可以确定该数据流的出端口的时间信息,针对单个数据流,可以较为精确的确定出该数据流的出端口发送该数据流中的报文的时间窗口,以便后续该出端口对应的网元可以按照该数据流的出端口的时间信息处理该数据流中的报文。Through the above method, after the control plane network element receives the time information of the ingress port of the data stream, it can determine the time information of the egress port of the data stream. For a single data stream, the outgoing port of the data stream can be determined more accurately. The time window during which the port sends the packet in the data flow, so that the network element corresponding to the outgoing port can process the packet in the data flow according to the time information of the outgoing port of the data flow.
在一种可能的设计中,控制面网元的具体类型本申请实施例并不限定,例如该控制面网元可以为应用功能网元,当应用功能网元向数据流的出端口对应的网元发送数据流的出端口的时间信息时,应用功能网元可以向策略控制功能网元发送该数据流的出端口的时间信息,策略控制功能网元再向会话管理网元发送数据流的出端口的时间信息。然后,会话管理网元可以向数据流的出端口对应的网元发送数据流的出端口的时间信息。In a possible design, the specific type of the control plane network element is not limited in this embodiment of the application. For example, the control plane network element may be an application function network element. When the element sends the time information of the outgoing port of the data stream, the application function network element can send the time information of the outgoing port of the data stream to the policy control function network element, and the policy control function network element sends the outgoing port of the data stream to the session management network element. Time information of the port. Then, the session management network element may send the time information of the egress port of the data stream to the network element corresponding to the egress port of the data stream.
通过上述方法,应用功能网元在接收到该数据流的入端口的时间信息后,可以进行预先的处理,以确定该数据流的出端口的时间信息,之后在发送给会话管理网元,便于后续会话管理网元可以直接发送给数据流的出端口的时间信息。Through the above method, after the application function network element receives the time information of the ingress port of the data stream, it can perform pre-processing to determine the time information of the egress port of the data stream, and then send it to the session management network element for convenience. The subsequent session management network element may directly send the time information of the outgoing port of the data stream.
在一种可能的设计中,应用功能网元在通过策略控制功能网元向会话管理网元发送数据流的出端口的时间信息时,可以同时发送标识信息,以标识该数据流的出端口的时间信息是针对该数据流或该出端口的。该标识信息本申请实施例并不限定,凡是能够标识该数据流或该出端口的信息均适用于本申请实施例,示例性的,该标识信息可以是数据流的流特征或出端口的标识。In a possible design, when the application function network element sends the time information of the outgoing port of the data stream to the session management network element through the policy control function network element, it can also send identification information to identify the outgoing port of the data stream. The time information is for the data stream or the outgoing port. The identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
通过上述方法,应用功能网元通过发送标识信息可以标识数据流的出端口的时间信息,便于会话管理网元可以方便的识别出数据流的出端口的时间信与该数据流或出端口对应的。Through the above method, the application function network element can identify the time information of the outgoing port of the data stream by sending the identification information, so that the session management network element can easily identify the time information of the outgoing port of the data stream and the data stream or the outgoing port. .
在一种可能的设计中,控制面网元也可以为策略控制功能网元,当策略控制功能网元向数据流的出端口对应的网元发送数据流的出端口的时间信息时,策略控制功能网元可以向会话管理网元发送数据流的出端口的时间信息;之后,会话管理网元向数据流的出端口对应的网元发送数据流的出端口的时间信息。In a possible design, the control plane network element can also be a policy control function network element. When the policy control function network element sends the time information of the data flow out port to the network element corresponding to the data flow out port, the policy control function The functional network element may send the time information of the egress port of the data stream to the session management network element; after that, the session management network element sends the time information of the egress port of the data stream to the network element corresponding to the egress port of the data stream.
通过上述方法,策略控制功能网元在接收到该数据流的入端口的时间信息后,可以进行预先的处理,以确定该数据流的出端口的时间信息,之后在发送给会话管理网元,便于后续会话管理网元可以直接发送给数据流的出端口的时间信息。Through the above method, after the policy control function network element receives the time information of the ingress port of the data stream, it can perform pre-processing to determine the time information of the egress port of the data stream, and then send it to the session management network element, It is convenient for the subsequent session management network element to directly send time information to the outgoing port of the data stream.
在一种可能的设计中,策略控制功能网元在向会话管理网元发送数据流的出端口的时间信息时,可以同时发送标识信息,以标识该数据流的出端口的时间信息是针对该数据流的或该出端口的。该标识信息本申请实施例并不限定,凡是能够标识该数据流或该出端口的信息均适用于本申请实施例,示例性的,该标识信息可以是数据流的流特征或出端口的标识。In a possible design, when the policy control function network element sends the time information of the outgoing port of the data stream to the session management network element, it can send identification information at the same time to identify that the time information of the outgoing port of the data stream is specific to the Of the data stream or the outgoing port. The identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
通过上述方法,策略控制功能网元通过发送标识信息可以标识数据流的出端口的时间信息,便于会话管理网元可以方便的识别出数据流的出端口的时间信息与该数据流或出端口对应。Through the above method, the policy control function network element can identify the time information of the outgoing port of the data stream by sending the identification information, so that the session management network element can easily identify that the time information of the outgoing port of the data stream corresponds to the data stream or the outgoing port. .
在一种可能的设计中,策略控制功能网元向会话管理网元发送数据流的出端口的时间信息的方式有许多种,本申请实施例并不限定,示例性的,策略控制功能网元可以向会话管理网元转发规则创建请求,转发规则创建请求用于请求创建承载数据流的会话的转发规则,转发规则创建请求包括数据流的出端口的时间信息。In a possible design, there are many ways for the policy control function network element to send the time information of the outgoing port of the data stream to the session management network element, which is not limited in the embodiment of the present application. For example, the policy control function network element The rule creation request may be forwarded to the session management network element. The forwarding rule creation request is used to request the creation of a forwarding rule for the session carrying the data stream, and the forwarding rule creation request includes the time information of the outgoing port of the data stream.
通过上述方法,将数据流的出端口的时间信息携带在转发规则创建请求可以有效节约 信令。Through the above method, carrying the time information of the outgoing port of the data stream in the forwarding rule creation request can effectively save signaling.
在一种可能的设计中,控制面网元也可以为会话管理网元,会话管理网元根据数据流的入端口的时间信息和内部传输时延确定数据流的出端口的时间信息;之后,向出端口对应的网元发送所述数据流的出端口的时间信息。其中,会话管理网元在接收到数据流的入端口的时间信息后,可以根据预先保存的数据流的流特征、出端口标识以及入端口标识的对应关系(该对应关系可以是从应用功能网元获取的)确定该数据流的出端口,进而确定该数据流的出端口对应的网元,将数据流的出端口的时间信息发送给出端口对应的网元。In a possible design, the control plane network element may also be a session management network element, and the session management network element determines the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay; after that, Send the time information of the egress port of the data flow to the network element corresponding to the egress port. Among them, after the session management network element receives the time information of the ingress port of the data stream, it can be based on the corresponding relationship between the stream characteristics, the egress port identifier, and the ingress port identifier of the data stream stored in advance (the corresponding relationship may be from the application function network). The data flow is obtained by determining the outgoing port of the data stream, and then determining the network element corresponding to the outgoing port of the data stream, and sending the time information of the outgoing port of the data stream to the network element corresponding to the port.
通过上述方法,会话管理网元接收到该数据流的入端口的时间信息后,能基于内部传输时延较为方便的确定该数据流的出端口的时间信息。Through the above method, after the session management network element receives the time information of the ingress port of the data stream, it can conveniently determine the time information of the egress port of the data stream based on the internal transmission delay.
在一种可能的设计中,控制面网元在向入端口对应的网元发送数据流的出端口的时间信息时,可以同时发送标识信息,以标识该数据流的出端口的时间信息是针对该数据流的或该出端口的。该标识信息本申请实施例并不限定,凡是能够标识该数据流或该出端口的信息均适用于本申请实施例,示例性的,该标识信息可以是数据流的流特征或出端口的标识。In a possible design, when the control plane network element sends the time information of the outgoing port of the data stream to the network element corresponding to the ingress port, it can send identification information at the same time to identify that the time information of the outgoing port of the data stream is for Of the data stream or of the outgoing port. The identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
若控制面网元为应用功能网元,应用功能网元向策略控制功能网元发送该数据流的出端口的时间信息和标识信息,之后,策略控制功能网元向会话管理网元发送该数据流的出端口的时间信息和标识信息;会话管理网元再向入端口对应的网元发送该数据流的出端口的时间信息和标识信息。If the control plane network element is an application function network element, the application function network element sends the time information and identification information of the outgoing port of the data flow to the policy control function network element, and then the policy control function network element sends the data to the session management network element The time information and identification information of the outgoing port of the stream; the session management network element then sends the time information and identification information of the outgoing port of the data stream to the network element corresponding to the ingress port.
若控制面网元为策略控制功能网元,策略控制功能网元向会话管理网元发送该数据流的出端口的时间信息和标识信息;会话管理网元再向入端口对应的网元发送该数据流的出端口的时间信息和标识信息。If the control plane network element is a policy control function network element, the policy control function network element sends the time information and identification information of the outgoing port of the data flow to the session management network element; the session management network element then sends the information to the network element corresponding to the ingress port Time information and identification information of the outgoing port of the data stream.
若控制面网元为会话管理网元,会话管理网元在向入端口对应的网元发送该数据流的出端口的时间信息和标识信息。If the control plane network element is a session management network element, the session management network element sends the time information and identification information of the outgoing port of the data flow to the network element corresponding to the ingress port.
通过上述方法,控制面网元通过发送标识信息可以标识数据流的出端口的时间信息,便于会话管理网元可以方便的识别出数据流的出端口的时间信息与该数据流或出端口对应。Through the above method, the control plane network element can identify the time information of the outgoing port of the data stream by sending the identification information, so that the session management network element can easily identify that the time information of the outgoing port of the data stream corresponds to the data stream or the outgoing port.
在一种可能的设计中,数据流的入端口的时间信息指示入端口处理数据流中的报文的时间窗口的方式有许多种,下面列举其中两种:In a possible design, there are many ways in which the time information of the ingress port of the data stream indicates the time window for the ingress port to process the packets in the data stream. Two of them are listed below:
第一种、数据流的入端口的时间信息包括门控周期的第一基准时间和第一门控列表,第一门控列表用于指示门控周期中包括的时间窗口的门控状态。In the first type, the time information of the ingress port of the data stream includes the first reference time of the gating period and the first gating list, and the first gating list is used to indicate the gating state of the time window included in the gating period.
第二种、数据流的入端口的时间信息包括该数据流到达入端口的最早时间和最晚时间。The second type, the time information of the ingress port of the data stream includes the earliest time and the latest time that the data stream arrives at the ingress port.
通过上述方法,数据流的入端口的时间信息有多种指示方式,适用的场景更灵活,范围更广泛。Through the above method, the time information of the ingress port of the data stream has multiple indication methods, and the applicable scenarios are more flexible and the scope is wider.
在一种可能的设计中,数据流的出端口的时间信息指示出端口处理数据流中的报文的时间窗口的方式有许多种,下面列举其中三种:In a possible design, the time information of the outgoing port of the data stream indicates that there are many ways for the port to process the time window of the packet in the data stream. Three of them are listed below:
第一种、数据流的出端口的时间信息包括:门控周期的第二基准时间和门控列表,第二基准时间是根据第一基准时间和内部传输时延确定的。In the first type, the time information of the outgoing port of the data stream includes: the second reference time of the gating period and the gating list, and the second reference time is determined according to the first reference time and the internal transmission delay.
第二种、数据流的出端口的时间信息包括:数据流的入端口的时间信息和内部传输时延。The second type, the time information of the outgoing port of the data stream includes: the time information of the incoming port of the data stream and the internal transmission delay.
第三种、数据流的出端口的时间信息包括:门控周期的第一基准时间和第二门控列表, 第二门控列表是根据第一门控列表和内部传输时延确定的。In the third type, the time information of the outgoing port of the data stream includes: the first reference time of the gating period and the second gating list, and the second gating list is determined according to the first gating list and the internal transmission delay.
第四种、数据流的出端口的时间信息包括下列的部分或全部:该数据流到达出端口的最早时间、该数据流到达出端口的最晚时间。Fourth, the time information of the outgoing port of the data flow includes part or all of the following: the earliest time that the data flow reaches the outgoing port, and the latest time that the data flow reaches the outgoing port.
通过上述方法,数据流的出端口的时间信息有多种不同的灵活的指示方式,有效的适用于多种不同的场景,扩展了适用范围。Through the above method, the time information of the outgoing port of the data stream has a variety of different and flexible indication methods, which is effectively applicable to a variety of different scenarios and expands the scope of application.
在一种可能的设计中,若数据流为第一终端设备到第二终端设备的数据流,由于该数据流中的报文中间会传输至用户面网元,控制面网元可以根据数据流的入端口的时间信息和第一传输时延确定用户面网元的时间信息,第一传输时延用于指示第一终端设备和用户面网元间的传输时延,用户面网元的时间信息指示用户面网元处理数据流中的报文的时间窗口;之后,控制面网元向用户面网元发送用户面网元的时间信息。In a possible design, if the data flow is a data flow from the first terminal device to the second terminal device, since the packets in the data flow will be transmitted to the user plane network element in the middle, the control plane network element can be based on the data flow The time information of the ingress port and the first transmission delay determine the time information of the user plane network element. The first transmission delay is used to indicate the transmission delay between the first terminal device and the user plane network element, and the time of the user plane network element The information indicates the time window for the user plane network element to process the message in the data stream; after that, the control plane network element sends the user plane network element time information to the user plane network element.
通过上述方法,控制面网元通过向用户面网元发送用户面网元的时间信息,可以有效控制用户面网元处理该数据流中的报文的时间窗口,进而能够更加准确的时间数据流的确定性传输。Through the above method, the control plane network element can effectively control the time window for the user plane network element to process the packets in the data stream by sending the user plane network element time information to the user plane network element, thereby enabling more accurate time data flow Deterministic transmission.
在一种可能的设计中,若数据流为第一终端设备到第二终端设备的数据流,控制面网元也可以根据数据流的出端口的时间信息和第二传输时延确定用户面网元的时间信息,第二传输时延用于指示第二终端设备和用户面网元间的传输时延,用户面网元侧端口的时间信息指示用户面网元处理数据流中的报文的时间窗口;之后,控制面网元向用户面网元发送用户面网元的时间信息。In a possible design, if the data flow is a data flow from the first terminal device to the second terminal device, the control plane network element may also determine the user plane network based on the time information of the outgoing port of the data flow and the second transmission delay. The second transmission delay is used to indicate the transmission delay between the second terminal device and the user-plane network element, and the time information of the user-plane network element side port indicates how the user-plane network element processes packets in the data stream. Time window; after that, the control plane network element sends the time information of the user plane network element to the user plane network element.
通过上述方法,控制面网元通过向用户面网元发送用户面网元的时间信息,可以有效控制用户面网元处理该数据流中的报文的时间窗口,进而能够更加准确的实现数据流的确定性传输。Through the above method, the control plane network element can effectively control the time window for the user plane network element to process the packets in the data stream by sending the user plane network element time information to the user plane network element, thereby enabling the data stream to be implemented more accurately Deterministic transmission.
在一种可能的设计中,若数据流为第一终端设备到用户面网元的数据流,出端口对应的网元为用户面网元,控制面网元可以向用户面网元发送数据流的出端口的时间信息。In a possible design, if the data flow is the data flow from the first terminal device to the user plane network element, the network element corresponding to the outgoing port is the user plane network element, and the control plane network element can send the data flow to the user plane network element Time information of the outgoing port.
在一种可能的设计中,若数据流为用户面网元到第二终端设备的数据流或为第一终端设备到第二终端设备的数据流,出端口对应的网元为第二终端设备,控制面网元可以向第二终端设备发送数据流的出端口的时间信息。In a possible design, if the data flow is a data flow from a user plane network element to the second terminal device or a data flow from the first terminal device to the second terminal device, the network element corresponding to the outgoing port is the second terminal device , The control plane network element may send the time information of the outgoing port of the data stream to the second terminal device.
第二方面,本申请实施例提供了一种通信方法,方法包括:终端设备接收数据流的出端口的时间信息,数据流的出端口的时间信息指示数据流的出端口处理数据流中的报文的时间窗口;终端设备可以先缓存该数据流中的报文,直至达到该时间窗口,之后,在该时间窗口内处理数据流中的报文。In the second aspect, an embodiment of the present application provides a communication method, the method includes: a terminal device receives time information of an outgoing port of a data stream, and the time information of the outgoing port of the data stream instructs the outgoing port of the data stream to process a report in the data stream. The time window of the message; the terminal device can first buffer the messages in the data stream until the time window is reached, and then process the messages in the data stream within the time window.
通过上述方法,终端设备在接收到数据流的出端口的时间信息后,可以按照该数据流的出端口的时间信息指示处理该数据流中的报文,实现数据流的确定性传输。Through the above method, after receiving the time information of the outgoing port of the data stream, the terminal device can process the packets in the data stream according to the time information of the outgoing port of the data stream to realize the deterministic transmission of the data stream.
在一种可能的设计中,终端设备缓存该数据流中的报文,达到时间窗口后(如达到该时间窗口的起始时间或达到该时间窗口内的某一时间),可以在该数据流的时间窗口内直接发送该数据流中的报文,也可以在时间窗口内将报文发送到出口队列,基于出口队列的调度规则发送报文。In a possible design, the terminal device buffers the packets in the data stream, and after reaching the time window (for example, reaching the start time of the time window or reaching a certain time in the time window), the data stream can be The message in the data stream can be sent directly within the time window, or the message can be sent to the egress queue within the time window, and the message is sent based on the scheduling rule of the egress queue.
通过上述方法,终端设备可以采用不同的方式灵活的在时间窗口内处理该数据流中的报文。Through the above method, the terminal device can flexibly process the packets in the data stream within the time window in different ways.
在一种可能的设计中,终端设备在接收数据流的出端口的时间信息时,还可以接收标识信息,该标识信息用于该数据流的出端口的时间信息是针对该数据流的或该出端口的。 该标识信息本申请实施例并不限定,凡是能够标识该数据流或该出端口的信息均适用于本申请实施例,示例性的,该标识信息可以是数据流的流特征或出端口的标识。In a possible design, when the terminal device receives the time information of the outgoing port of the data stream, it can also receive identification information. The identification information is used for the time information of the outgoing port of the data stream. Out of the port. The identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
终端设备在接收到标识信息后,可以根据标识信息确定出端口;其中,当标识信息为该数据流的流特征时,终端设备可以根据该数据流的流特征、出端口标识的对应关系确定出端口,需要说明的是该对应关系可以是应用功能网元通过会话管理网元预先发送给终端设备的,本申请实施例并不限定终端设备获取该对应关系的方式。After receiving the identification information, the terminal device can determine the port according to the identification information; wherein, when the identification information is the flow feature of the data stream, the terminal device can determine the corresponding relationship according to the flow feature of the data stream and the outgoing port identifier. For ports, it should be noted that the corresponding relationship may be sent to the terminal device in advance by the application function network element through the session management network element, and this embodiment of the present application does not limit the manner in which the terminal device obtains the corresponding relationship.
通过上述方法,终端设备可以方便的识别出数据流的出端口的时间信与该数据流或出端口对应的。Through the above method, the terminal device can easily identify that the time information of the outgoing port of the data stream corresponds to the data stream or the outgoing port.
第三方面,本申请实施例提供了一种通信方法,方法包括:用户面网元接收数据流的出端口的时间信息,数据流的出端口的时间信息指示数据流的出端口发送数据流中的报文的时间窗口;用户面网元可以先缓存数据流中的报文,直至到达时间窗口;之后,用户面网元在时间窗口处理数据流中的报文。In a third aspect, an embodiment of the present application provides a communication method. The method includes: a user plane network element receives time information of an outgoing port of a data stream, and the time information of the outgoing port of the data stream indicates that the outgoing port of the data stream is sending the data stream. The time window of the message; the user plane network element can first buffer the message in the data stream until the time window is reached; after that, the user plane network element processes the message in the data stream in the time window.
通过上述方法,用户面网元在接收到数据流的出端口的时间信息后,可以按照该数据流的出端口的时间信息指示处理该数据流中的报文,实现数据流的确定性传输。With the above method, after receiving the time information of the outgoing port of the data stream, the user plane network element can process the packets in the data stream according to the time information of the outgoing port of the data stream to realize deterministic transmission of the data stream.
在一种可能的设计中,用户面网元在时间窗口处理数据流中的报文,可以在该数据流的时间窗口内直接发送该数据流中的报文,也可以将缓存的数据流中的报文发送至出端口的出口队列,基于出口队列的调度规则发送报文。In a possible design, the user plane network element processes the packets in the data stream in the time window, and can directly send the packets in the data stream within the time window of the data stream, or it can also transfer the packets in the buffered data stream. The message is sent to the egress queue of the egress port, and the message is sent based on the scheduling rule of the egress queue.
通过上述方法,用户面网元可以采用不同的方式灵活的在时间窗口内处理该数据流中的报文。Through the above method, the user plane network element can use different ways to flexibly process the packets in the data stream within the time window.
在一种可能的设计中,用户面网元在接收数据流的出端口的时间信息时,还可以接收标识信息,该标识信息用于该数据流的出端口的时间信息是针对该数据流的或该出端口的。该标识信息本申请实施例并不限定,凡是能够标识该数据流或该出端口的信息均适用于本申请实施例,示例性的,该标识信息可以是数据流的流特征或出端口的标识。In a possible design, when the user plane network element receives the time information of the outgoing port of the data stream, it can also receive identification information. The identification information is used for the time information of the outgoing port of the data stream. The time information is specific to the data stream. Or the outgoing port. The identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
用户面网元在接收到标识信息后,可以根据标识信息确定出端口;其中,当标识信息为该数据流的流特征时,用户面网元可以根据该数据流的流特征、出端口标识的对应关系确定出端口,需要说明的是该对应关系可以是应用功能网元通过会话管理网元预先发送给用户面网元的,本申请实施例并不限定用户面网元获取该对应关系的方式。After the user plane network element receives the identification information, it can determine the out port according to the identification information; where, when the identification information is the flow feature of the data flow, the user plane network element can identify the port according to the flow feature of the data flow and the egress port. The corresponding relationship determines the port. It should be noted that the corresponding relationship may be pre-sent to the user plane network element by the application function network element through the session management network element. This embodiment of the application does not limit the manner in which the user plane network element obtains the corresponding relationship. .
通过上述方法,用户面网元可以方便的识别出数据流的出端口的时间信与该数据流或出端口对应的。Through the above method, the user plane network element can easily identify that the time information of the outgoing port of the data stream corresponds to the data stream or outgoing port.
第四方面,本申请实施例还提供了一种通信系统,有益效果可以参见第一方面、第二方法以及第三方面的描述此处不再赘述。该通信系统包括控制面网元和用户面网元。In the fourth aspect, the embodiments of the present application also provide a communication system. For beneficial effects, reference may be made to the description of the first aspect, the second method, and the third aspect, which will not be repeated here. The communication system includes control plane network elements and user plane network elements.
控制面网元,用于获取数据流的入端口的时间信息,数据流的入端口的时间信息指示入端口处理数据流中的报文的时间窗口;根据数据流的入端口的时间信息和内部传输时延确定数据流的出端口的时间信息,数据流的出端口的时间信息指示出端口处理数据流中的报文的时间窗口,内部传输时延用于指示入端口与出端口间的传输时延;向数据流的出端口对应的网元发送数据流的出端口的时间信息;The control plane network element is used to obtain the time information of the ingress port of the data stream. The time information of the ingress port of the data stream indicates the time window for the ingress port to process packets in the data stream; according to the time information and internal information of the ingress port of the data stream The transmission delay determines the time information of the outgoing port of the data stream. The time information of the outgoing port of the data stream indicates the time window for the port to process packets in the data stream. The internal transmission delay is used to indicate the transmission between the ingress port and the egress port. Time delay; sending the time information of the outgoing port of the data flow to the network element corresponding to the outgoing port of the data flow;
数据流的出端口对应的网元,用于接收数据流的出端口的时间信息;缓存数据流中的报文,直至到达时间窗口;在数据流的出端口的时间信息指示的时间窗口处理数据流中的报文。The network element corresponding to the outgoing port of the data stream is used to receive the time information of the outgoing port of the data stream; buffer the packets in the data stream until the time window is reached; process the data in the time window indicated by the time information of the outgoing port of the data stream Packets in the stream.
在一种可能的设计中,在数据流为终端设备间的数据流、或数据流为用户面网元到终 端设备的数据流的情况下,数据流的出端口对应的网元为终端设备;在数据流为终端设备到用户面网元间的数据流的情况下,数据流的出端口对应的网元为用户面网元。In a possible design, when the data flow is a data flow between terminal devices, or a data flow is a data flow from a user plane network element to a terminal device, the network element corresponding to the outgoing port of the data flow is the terminal device; When the data flow is a data flow from a terminal device to a user plane network element, the network element corresponding to the outgoing port of the data flow is the user plane network element.
在一种可能的设计中,数据流的出端口对应的网元在数据流的出端口的时间信息指示的时间窗口将缓存的数据流中的报文发送至出端口的出口队列,基于出口队列的调度规则发送报文。In a possible design, the network element corresponding to the outgoing port of the data flow sends the packets in the buffered data flow to the egress queue of the outgoing port in the time window indicated by the time information of the outgoing port of the data flow, based on the egress queue The scheduling rules for sending packets.
在一种可能的设计中,控制面网元为应用功能网元,控制面网元向数据流的出端口对应的网元发送数据流的出端口的时间信息时,具体用于:In a possible design, the control plane network element is an application function network element, and when the control plane network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port of the data stream, it is specifically used for:
通过策略控制功能网元和会话管理网元向数据流的出端口对应的网元发送数据流的出端口的时间信息。Through the policy control function network element and the session management network element, the time information of the outgoing port of the data stream is sent to the network element corresponding to the outgoing port of the data stream.
在一种可能的设计中,策略控制功能网元通过会话管理网元向数据流出端口对应的网元发送数据流的出端口的时间信息时,具体用于:In a possible design, when the policy control function network element sends the time information of the outgoing port of the data stream to the network element corresponding to the data outgoing port through the session management network element, it is specifically used for:
通过策略控制功能网元向会话管理网元发送数据流的出端口的时间信息和标识信息,标识信息包括下列的部分或全部:数据流的流特征、出端口的标识。Through the policy control function network element, the time information and identification information of the outgoing port of the data flow are sent to the session management network element. The identification information includes part or all of the following: flow characteristics of the data flow and identification of the outgoing port.
在一种可能的设计中,控制面网元为策略控制功能网元,控制面网元向数据流的出端口对应的网元发送数据流的出端口的时间信息时,具体用于:策略控制功能网元通过会话管理网元向数据流的出端口对应的网元发送数据流的出端口的时间信息。In a possible design, the control plane network element is a policy control function network element. When the control plane network element sends the time information of the data flow out port to the network element corresponding to the data flow out port, it is specifically used for: policy control The functional network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port of the data stream through the session management network element.
在一种可能的设计中,策略控制功能网元向会话管理网元发送数据流的出端口的时间信息时,具体用于:In a possible design, when the policy control function network element sends the time information of the outgoing port of the data stream to the session management network element, it is specifically used for:
向会话管理网元发送数据流的出端口的时间信息和标识信息,标识信息包括下列的部分或全部:数据流的流特征、出端口的标识。The time information and identification information of the outgoing port of the data flow are sent to the session management network element. The identification information includes some or all of the following: the flow characteristics of the data flow and the identification of the outgoing port.
在一种可能的设计中,策略控制功能网元通过会话管理网元向数据流出端口对应的网元发送数据流的出端口的时间信息时,具体用于:In a possible design, when the policy control function network element sends the time information of the outgoing port of the data stream to the network element corresponding to the data outgoing port through the session management network element, it is specifically used for:
向会话管理网元转发规则创建请求,转发规则创建请求用于请求创建承载数据流的会话的转发规则,转发规则创建请求包括数据流的出端口的时间信息。The rule creation request is forwarded to the session management network element. The forwarding rule creation request is used to request the creation of a forwarding rule of the session carrying the data stream. The forwarding rule creation request includes the time information of the outgoing port of the data stream.
在一种可能的设计中,控制面网元为会话管理网元。In one possible design, the control plane network element is a session management network element.
在一种可能的设计中,数据流的入端口的时间信息包括门控周期的第一基准时间和第一门控列表,第一门控列表用于指示门控周期中包括的时间窗口的门控状态,数据流的出端口的时间信息包括:门控周期的第二基准时间和第一门控列表,第二基准时间是根据第一基准时间和内部传输时延确定的。In a possible design, the time information of the ingress port of the data stream includes the first reference time of the gating period and the first gating list, and the first gating list is used to indicate the gates of the time window included in the gating period. In the control state, the time information of the outgoing port of the data stream includes: the second reference time of the gating period and the first gating list, and the second reference time is determined according to the first reference time and the internal transmission delay.
在一种可能的设计中,数据流的出端口的时间信息包括:数据流的入端口的时间信息和内部传输时延。In a possible design, the time information of the outgoing port of the data stream includes: the time information of the incoming port of the data stream and the internal transmission delay.
在一种可能的设计中,数据流的入端口的时间信息包括门控周期的第一基准时间和第一门控列表,第一门控列表用于指示门控周期中包括的时间窗口的门控状态,数据流的出端口的时间信息包括:门控周期的第一基准时间和第二门控列表,第二门控列表是根据第一门控列表和内部传输时延确定的。In a possible design, the time information of the ingress port of the data stream includes the first reference time of the gating period and the first gating list, and the first gating list is used to indicate the gates of the time window included in the gating period. Control status, the time information of the outgoing port of the data stream includes: the first reference time of the gating period and the second gating list, and the second gating list is determined according to the first gating list and the internal transmission delay.
在一种可能的设计中,控制面网元向出端口对应的网元发送数据流的出端口的时间信息时,具体用于:In a possible design, when the control plane network element sends the time information of the egress port of the data stream to the network element corresponding to the egress port, it is specifically used for:
向出端口对应的网元发送数据流的出端口的时间信息和标识信息,标识信息包括下列的部分或全部:数据流的流特征、出端口的标识。The time information and identification information of the outgoing port of the data flow are sent to the network element corresponding to the outgoing port. The identification information includes some or all of the following: flow characteristics of the data flow, and identification of the outgoing port.
在一种可能的设计中,在数据流为第一终端设备到第二终端设备的数据流的情况下, 该通信系统,还包括用户面网元;In a possible design, in a case where the data flow is a data flow from the first terminal device to the second terminal device, the communication system further includes a user plane network element;
控制面网元,还用于根据数据流的入端口的时间信息和第一传输时延确定用户面网元的时间信息,第一传输时延用于指示第一终端设备和用户面网元间的传输时延,用户面网元的时间信息指示用户面网元处理数据流中的报文的时间窗口;向用户面网元发送用户面网元的时间信息。The control plane network element is also used to determine the time information of the user plane network element according to the time information of the ingress port of the data stream and the first transmission delay. The first transmission delay is used to indicate the connection between the first terminal device and the user plane network element The time information of the user plane network element indicates the time window for the user plane network element to process the packet in the data stream; the time information of the user plane network element is sent to the user plane network element.
用户面网元,用于接收用户面网元的时间信息,在用户面网元的时间信息指示的时间窗口处理数据流中的报文。The user plane network element is used to receive the time information of the user plane network element, and process the packets in the data stream in the time window indicated by the time information of the user plane network element.
在一种可能的设计中,在数据流为第一终端设备到第二终端设备的数据流的情况下,该通信系统,还包括用户面网元;In a possible design, when the data flow is a data flow from the first terminal device to the second terminal device, the communication system further includes a user plane network element;
控制面网元,还用于根据数据流的出端口的时间信息和第二传输时延确定用户面网元的时间信息,第二传输时延用于指示第二终端设备和用户面网元间的传输时延,用户面网元侧端口的时间信息指示用户面网元处理数据流中的报文的时间窗口;向用户面网元发送用户面网元的时间信息;The control plane network element is also used to determine the time information of the user plane network element according to the time information of the outgoing port of the data stream and the second transmission delay. The second transmission delay is used to indicate the connection between the second terminal device and the user plane network element. The time information of the port on the user-plane network element side indicates the time window for the user-plane network element to process packets in the data stream; the time information of the user-plane network element is sent to the user-plane network element;
用户面网元,用于接收用户面网元的时间信息,在用户面网元的时间信息指示的时间窗口处理数据流中的报文。The user plane network element is used to receive the time information of the user plane network element, and process the packets in the data stream in the time window indicated by the time information of the user plane network element.
第五方面,本申请实施例还提供了一种通信装置,所述通信装置应用于控制面网元,有益效果可以参见第一方面的描述此处不再赘述。该装置具有实现上述第一方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,所述装置的结构中包括接收单元、发送单元和处理单元,这些单元可以执行上述第一方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In the fifth aspect, an embodiment of the present application also provides a communication device, which is applied to a control plane 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. In a possible design, the structure of the device includes a receiving unit, a sending unit, and a processing unit. These units can perform the corresponding functions in the method example of the first aspect. For details, please refer to the detailed description in the method example. Do repeats.
第六方面,本申请实施例还提供了一种通信装置,所述通信装置应用于终端设备,有益效果可以参见第二方面的描述此处不再赘述。该装置具有实现上述第二方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,所述装置的结构中包括接收单元、发送单元和处理单元,这些单元可以执行上述第二方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In the sixth aspect, the embodiments of the present application also provide a communication device, the communication device is applied to a terminal device, and the beneficial effects can be referred to the description of the second aspect and 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. In a possible design, the structure of the device includes a receiving unit, a sending unit, and a processing unit. These units can perform the corresponding functions in the method example of the second aspect. For details, please refer to the detailed description in the method example. Do repeats.
第七方面,本申请实施例还提供了一种通信装置,所述通信装置应用于用户面网元,有益效果可以参见第三方面的描述此处不再赘述。该装置具有实现上述第三方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,所述装置的结构中包括接收单元、发送单元和处理单元,这些单元可以执行上述第三方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In a seventh aspect, an embodiment of the present application also provides a communication device, which is applied to a user plane 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. In a possible design, the structure of the device includes a receiving unit, a sending unit, and a processing unit. These units can perform the corresponding functions in the method example of the third aspect. For details, please refer to the detailed description in the method example. Do repeats.
第八方面,本申请实施例还提供了一种通信装置,所述通信装置应用于会话管理网元,有益效果可以参见第一方面的描述此处不再赘述。所述通信装置的结构中包括处理器和存储器,所述处理器被配置为支持所述基站执行上述第一方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述通信装置必要的程序指令和数据。所述通信装置的结构中还包括通信接口,用于与其他设备进行通信。In an eighth aspect, 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 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 perform the corresponding functions in the above-mentioned method in the first 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.
第九方面,本申请实施例还提供了一种通信装置,所述通信装置应用于终端设备,有益效果可以参见第二方面的描述此处不再赘述。所述通信装置的结构中包括处理器和存储 器,所述处理器被配置为支持所述基站执行上述第二方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述通信装置必要的程序指令和数据。所述通信装置的结构中还包括通信接口,用于与其他设备进行通信。In the ninth aspect, the embodiments of the present application also provide a communication device, the communication device is applied to a terminal device, 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 functions in the method of the second 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.
第十方面,本申请实施例还提供了一种通信装置,所述通信装置应用于用户面网元,有益效果可以参见第三方面的描述此处不再赘述。所述通信装置的结构中包括处理器和存储器,所述处理器被配置为支持所述基站执行上述第三方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述通信装置必要的程序指令和数据。所述通信装置的结构中还包括收发器,用于与其他设备进行通信。In a tenth aspect, an embodiment of the present application also provides a communication device, the communication device is applied to a user plane 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 transceiver for communicating with other devices.
第十一方面,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In an eleventh aspect, the present application also provides a computer-readable storage medium having instructions stored in the computer-readable storage medium, which when run on a computer, cause the computer to execute the methods described in the above aspects.
第十二方面,本申请还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In the twelfth aspect, 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.
第十三方面,本申请还提供一种计算机芯片,所述芯片与存储器相连,所述芯片用于读取并执行所述存储器中存储的软件程序,执行上述各方面所述的方法。In a thirteenth aspect, 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.
附图说明Description of the drawings
图1为5G系统的网络架构示意图;Figure 1 is a schematic diagram of the network architecture of the 5G system;
图2为TSN的网络拓扑示意图;Figure 2 is a schematic diagram of the network topology of TSN;
图3为TSN的集中管理架构示意图;Figure 3 is a schematic diagram of TSN's centralized management architecture;
图4a为本申请实施例提供的一种网络架构示意图;Figure 4a is a schematic diagram of a network architecture provided by an embodiment of this application;
图4b为本申请实施例提供的一种网络架构示意图;FIG. 4b is a schematic diagram of a network architecture provided by an embodiment of this application;
图5为本申请实施例提供的一数据流的传输示意图;FIG. 5 is a schematic diagram of the transmission of a data stream provided by an embodiment of this application;
图6~图10为本申请实施例提供的一种通信方法的示意图;6 to 10 are schematic diagrams of a communication method provided by embodiments of this application;
图11~图15为本申请实施例提供的一种通信装置的结构示意图。11 to 15 are schematic diagrams of the structure of a communication device provided by an embodiment of this application.
具体实施方式Detailed ways
本申请提供了一种通信方法及装置,用以较为精确的实现数据流的确定性传输。This application provides a communication method and device for more accurate deterministic transmission of data streams.
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,在本申请的描述中,除非另有说明,“/”表示前后关联的对象是一种“或”的关系,例如,A/B可以表示A或B;本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。In order to make the purpose, technical solutions and advantages of the application more clear, the application will be further described in detail below in conjunction with the accompanying drawings. In the description of the application, unless otherwise specified, "/" indicates that the associated objects are a kind of The "or" relationship, for example, A/B can mean A or B; the "and/or" in this application is only an association relationship describing the associated objects, which means that there can be three relationships, for example, A and/or B can mean: A alone exists, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. Also, in the description of this application, unless otherwise specified, "plurality" means two or more than two.
本申请实施例涉及到5G系统与TSN结合,将5G系统虚拟成TSN中一个交换节点的通信方法,下面先对本申请实施例所涉及的5G系统、TSN及本申请实施例适用的网络架构进行说明。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. .
请参见图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)等。Please refer to Figure 1, which is a schematic diagram of the network architecture of the 5G system. The network architecture is a 5G network architecture. The network elements in the 5G architecture include terminal equipment. In FIG. 1, the terminal equipment is the UE as an example. The network architecture also includes radio access network (RAN), access and mobility management function (AMF) network elements, 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的主要功能是控制用户通过无线接入到移动通信网络。RAN是移动通信系统的一部分。它实现了一种无线接入技术。从概念上讲,它驻留某个设备之间(如移动电话、一台计算机,或任何远程控制机),并提供与其核心网的连接。AMF网元负责终端的接入管理和移动性管理,在实际应用中,其包括了LTE中网络框架中MME里的移动性管理功能,并加入了接入管理功能。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.
SMF网元负责会话管理,如用户的会话建立等。The SMF network element is responsible for session management, such as user session establishment.
UPF网元是用户面的功能网元,主要负责连接外部网络,其包括了LTE的服务网关(serving gateway,SGW)和公用数据网网关(public data network GateWay,PDN-GW)的相关功能。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).
DN负责为终端提供服务的网络,如一些DN为终端提供上网功能,另一些DN为终端提供短信功能等等。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网元的主要功能是执行策略控制,类似于LTE中的策略与计费规则功能(policy and charging rules function,PCRF)网元,主要负责策略授权,服务质量以及计费规则的生成,并将相应规则通过SMF网元下发至UPF网元,完成相应策略及规则的安装。The main function of the PCF network element is to perform policy control, similar to the policy and charging rules function (PCRF) network element in LTE, which is mainly responsible for the generation of policy authorization, service quality and charging rules, and Corresponding rules are issued to UPF network elements through SMF network elements to complete the installation of corresponding policies and rules.
AF网元可以是第三方的应用控制平台,也可以是运营商自己的设备,AF网元可以为多个应用服务器提供服务,AF网元是可以提供各种业务服务的功能网元,能够通过NEF网元与核心网交互,以及能够和策略管理框架交互进行策略管理。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.
此外,尽管未示出,核心网控制面功能网元还包括网络开放功能(network exposure function,NEF)、统一数据管理(unified data management,UDM)、网元统一数据仓储(unified data repository,UDR)网元,NEF网元用于提供网络能力开放相关的框架、鉴权和接口,在5G系统网络功能和其他网络功能之间传递信息;UDR网元主要用来存储用户相关的签约数据、策略数据、用于开放的结构化数据、应用数据;UDM网元可存储用户的签约信息,实现类似于4G中的HSS的后端。In addition, although not shown, the core network control plane function network elements also include network exposure function (NEF), unified data management (unified data management, UDM), and network element unified data repository (UDR) 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.
本申请中的终端设备,又称之为用户设备(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)中的无线终端等。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.). Terminal devices can be mobile phones, tablets, computers with wireless transceiver functions, virtual reality (VR) terminals, augmented reality (AR) terminals, industrial control (industrial control) The wireless terminal in the self-driving (self-driving), the wireless terminal in the remote medical (remote medical), the wireless terminal in the smart grid (smart grid), the wireless terminal in the transportation safety (transportation safety), the smart Wireless terminals in the city (smart city), wireless terminals in the smart home (smart home), etc.
下面对TSN进行介绍,TSN一般包括交换节点(bridge)、数据终端(end station),数据终端和交换节点可以形成网络拓扑结构,交换节点可通过其配置或创建的转发规则来转发报文,将报文转发给数据终端或其他交换节点。The TSN is introduced below. 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 forwarding rules created. Forward the message to the data terminal or other switching node.
数据终端和交换节点形成网络拓扑结构有多种,可以根据应用场景进行配置,请参见图2,为TSN的一种简单网络拓扑结构示意图,其中包括多个数据终端和交换节点。There are multiple network topologies formed by data terminals and switching nodes, which can be configured according to application scenarios. Refer to Figure 2, which is a schematic diagram of a simple network topology of TSN, which includes multiple data terminals and switching nodes.
TSN基于二层传输,TSN标准定义了数据终端和交换节点的行为以及交换节点转发数 据流的调度方式(数据流是由一个或多个报文构成的,数据终端以及交换节点转发该数据流,也就是传输一个或多个报文,该报文也就可以成为数据流中的报文),从而实现可靠时延传输。TSN中的交换节点以报文的目的媒体存取控制位址(media access control address,MAC)地址、网际互连协议(Internet Protocol,IP)地址或其他报文特征为数据流的流特征,根据数据流的时延需求进行资源预留以及调度规划,从而根据生成的调度策略保障可靠性和传输时延。TSN is based on Layer 2 transmission. The TSN standard defines the behavior of data terminals and switching nodes and the scheduling method for switching nodes to forward data streams (a data stream is composed of one or more packets, and the data terminal and switching node forward the data stream. That is, one or more packets are transmitted, and the packets can become packets in the data stream), so as to achieve reliable time-delayed transmission. The switching node in the TSN uses the destination media access control address (MAC) address, Internet Protocol (IP) address or other message characteristics of the message as the flow characteristics of the data flow, according to 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.
数据终端可分为发送端(talker)和接收端(listener)其中,将数据流(stream)的发送者称为发送端(talker),数据流的接收者称为接收端(listener);当发送端或接收端将数据流需求发送给TSN时,TSN配置会启动,TSN配置包括配置从发送端到接收端所经路径上的交换节点。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); When the end or the receiving end sends a data stream request to the TSN, the TSN configuration will start. The TSN configuration includes configuring the switching node on the path from the sending end to the receiving end.
可选的,TSN还可以包括配置网元,用于实现TSN配置,如集中网络配置(centralized network configuration,CNC)网元、集中用户配置(centralized user configuration,CUC)网元。Optionally, 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.
请参见图3,为TSN的集中管理架构示意图,该集中管理架构为TSN标准中的802.1qcc定义的三种架构中的一种,该集中管理架构包括发送端、接收端、交换节点、CNC网元和CUC网元。需要说明的是,图3所示的网元的数量和网络拓扑结构仅是示例,本申请实施例并不限定。Please refer to Figure 3, which 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.
其中,交换节点按照TSN标准的定义为数据流预留资源,并对数据报文进行调度和转发。Among them, the switching node reserves resources for data streams according to the definition of the TSN standard, and schedules and forwards data packets.
CNC网元,负责管理TSN用户面的拓扑以及交换节点的信息,并根据CUC网元提供的流创建请求,生成数据流的传输路径以及数据终端和各交换节点上的转发规则,之后将交换节点上的转发规则(如数据流的流特征、进行数据传输时的出入端口的标识等信息)以及调度信息(如入端口的时间信息、出端口对应的流分类的信息等信息)下发到对应的交换节点。其中,入端口的时间信息和出端口对应的流分类的信息可见下文中的相关描述。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 rules on the data terminal and each switching node, and then the switching node The forwarding rules (such as the flow characteristics of the data flow, the identification of the ingress and egress port during data transmission, etc.) and scheduling information (such as the time information of the ingress port, the information of the flow classification corresponding to the egress port, etc.) are issued to the corresponding Switch node. Among them, the time information of the ingress port and the information of the flow classification corresponding to the egress port can be seen in the related description below.
其中,交换节点的信息包括交换节点的端口信息(如数据传输的入端口、出端口等信息)和时延信息(如交换节点的内部传输时延),交换节点的信息可以由该交换节点预先上报给CNC网元的。Among them, the information of the switching node includes the port information of the switching node (such as the ingress and egress of data transmission) and the delay information (such as the internal transmission delay of the switching node), and the information of the switching node can be pre-defined by the switching node. Reported to the CNC network element.
在TSN中,入端口的时间信息以数据流为粒度,也即支持802.1Qci的定义。802.1Qci中,规定了门控周期的大小,并将门控周期划分为多个小的时间窗口,入端口的时间信息包括该门控周期的起始时间(也可以称为第一基准时间)和第一门控列表,第一门控列表指示该门控周期内每个小的时间窗口的门控状态,门控状态为打开或关闭,门控状态为打开是指在该小的时间窗口内能够处理(入端口的处理是指接收报文或缓存报文)该数据流中的报文,门控状态为关闭是指在该小的时间窗口内禁止传输该数据流中的报文。In TSN, the time information of the ingress port is based on the data stream, which means that it supports the definition of 802.1Qci. In 802.1Qci, the size of the gating period is specified, and the gating period is divided into multiple small time windows. The time information of the ingress port includes the start time of the gating period (also called the first reference time) and The first gate control list, the first gate control list indicates the gate control state of each small time window in the gate control period, the gate control state is open or closed, and the gate control state is open means that it is in the small time window Able to process (inbound port processing refers to receiving messages or buffering messages) messages in the data stream, and the gating state being closed means that the transmission of messages in the data stream is prohibited within the small time window.
在TSN中,出端口对应的流分类信息以流分类(traffic class)为粒度,也即支持802.1Qbv的定义,出端口对应的流分类信息中包括该出端口的流分类以及流分类对应的门控列表。802.1Qbv中,预先定义了多个traffic class,每个traffic class指示一个时间窗口,不同的traffic class指示的时间窗口不同。流分类对应的门控列表指示该traffic class指示一个时间窗口的门控状态,门控状态为打开或关闭,门控状态为打开是指在该时间窗口内能够处理(出端口的处理是指发送报文或缓存报文)该数据流中的报文,门控状态为关闭是指在该时间窗口内禁止处理该数据流中的报文。在802.1Qbv下,一个traffic class所指示的时间窗口能 够汇聚多个数据流。也就是说,多个数据流中的报文能够在一个traffic class所指示时间窗口内传输。In TSN, the flow classification information corresponding to the egress port uses traffic class as the granularity, that is, it supports the definition of 802.1Qbv. The flow classification information corresponding to the egress port includes the flow classification of the egress port and the gate corresponding to the flow classification. Control list. In 802.1Qbv, multiple traffic classes are predefined. Each traffic class indicates a time window, and different traffic classes indicate different time windows. The gate control list corresponding to the flow classification indicates that the traffic class indicates the gate control status of a time window, the gate control status is open or closed, and the gate control status is open means that it can be processed within the time window (outgoing port processing refers to sending Message or buffered message) For messages in the data stream, the gating state is closed means that the processing of the messages in the data stream is prohibited within the time window. Under 802.1Qbv, a time window indicated by a traffic class can aggregate multiple data streams. In other words, packets in multiple data streams can be transmitted within a time window indicated by a traffic class.
在本申请实施例中,5G系统可以作为虚拟交换节点,虚拟交换节点的信息也包括虚拟交换节点的端口信息和时延信息。In the embodiment of the present application, 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.
具体的,虚拟交换节点的端口分为传输上下行数据的入端口和出端口,虚拟交换节点的入端口包括UE侧的端口和UPF侧的端口,如UE侧接收上行数据的端口,UPF侧接收下行数据的端口,虚拟交换节点的出端口包括UE侧的端口和UPF侧的端口,如UE侧发送下行数据的端,UPF侧发送上行数据的端口(下行端口)。Specifically, 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. For example, the ports on the UE side receive uplink data, and 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).
CUC网元,用于获取数据终端的TSN能力,即获取数据终端的端口数量、每个端口的MAC地址,以及每个端口支持的802.1能力。在此基础上CUC网元可以收集数据终端的流创建请求,在匹配发送端和接收端的流创建请求之后,向CNC网元请求创建数据流,并对CNC网元生成的转发规则进行确认。其中匹配发送端和接收端的流创建请求,指的是发送端和接收端各自向CUC网元发送的流创建请求,流创建请求包括一些信息,例如请求的数据流的目的MAC地址,CUC网元将流创建请求与不同的数据终端请求的数据流的目的MAC地址进行匹配,如果两个数据终端所请求的数据流的目的MAC地址相同,则这两个数据终端请求的同一条数据流,匹配成功,可以创建数据流,否则只有发送端或接收端的流创建请求,无法创建数据流。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 port, and the 802.1 capability supported by each port. On this basis, 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 rules 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. Match the flow creation request with the destination MAC addresses of the data flows requested by different data terminals. If the destination MAC addresses of the data flows requested by the two data terminals are the same, the same data flow requested by the two data terminals will match If it succeeds, the data stream can be created. Otherwise, there is only a stream creation request from the sender or receiver, and the data stream cannot be created.
可以理解的是,CNC网元和CUC网元为TSN中的控制面网元。It is understandable that CNC network elements and CUC network elements are control plane network elements in TSN.
TSN中的交换节点除了进行数据或报文转发,还需要具有其他功能,例如具有拓扑发现功能,确定交换机标识及交换机端口标识,支持链路层发现协议(link layer discovery protocol,LLDP)等协议,又例如可以确定传输时延,并在检测到交换节点的内部传输时延后,向配置网元上报检测到的传输时延。In addition to data or message forwarding, 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. For another example, 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.
如图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的内部功能模块。 As shown in 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. As shown in Figure 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. Although in Figure 4a, UPF and UP1, UE and UP2 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.
其中,TSN适配功能指的是将5G网络的特征和信息适配成TSN要求的信息,通过TSN定义的接口与TSN中的网元通信。Among them, 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.
其中,AF网元作为5G系统和TSN的连接节点,AF网元可以TSN中的CNC网元交互,按照TSN交换节点的要求向CNC网元提供逻辑交换节点的信息,TSN适配功能的用户面向TSN适配功能的控制面提供必要的信息,即UP1可以向AF网元提供必要的信息,例如提供TSN中交换节点的信息,可以识别CNC网元所属的TSN,还可以向5G系统中的PCF网元提供TSN的DNN。Among them, 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.
需要说明的是,在本申请实施例中,虚拟交换节点所包括的UE侧的端口可以是UE或者UP2的物理端口,可以包括一个或多个UE侧的物理端口。UE侧的端口可以是基于UE粒度的,即一个UE对应一个端口,不同的UE对应不同的端口;也可以是基于PDU 会话粒度的,即一个会话对应一个端口,不同的会话对应不同的端口;还可以是基于TSN粒度的,即一个TSN域对应一个或多个端口,同一个虚拟端口不能对应不同的TSN域。It should be noted that, in this embodiment of the present application, 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.
虚拟交换节点所包括的UPF侧的端口为UPF或者UP1的物理端口。一个UPF或者UP1上可以包括多个物理端口,UPF或者UP1的一个物理端口对应一个虚拟交换节点,但是一个虚拟交换节点可以包括一个UPF或者UP1的多个物理端口,也可以包括多个UPF或者UP1的多个物理端口。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.
如图4b所示,为本申请适用的另一种网络架构示意图,图4b中,UE上部署有TSN适配功能的用户面或TSN适配功能的用户面是UE的内部功能模块,即图4a中的UP2,UP2用于获取UE的端口信息,并通过控制面发送到AF网元。As shown in Figure 4b, it is a schematic diagram of another network architecture applicable to this application. In Figure 4b, 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.
需要说明的是,在图4a和4b所示的网络框架中,SMF网元可以通过PCF网元或NEF网元与AF网元交互,也可以和AF网元直接交互,本申请实施例并不限定。It should be noted that in the network framework shown in Figures 4a and 4b, 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.
图4b中,AF网元是逻辑网元,可以是其他逻辑网元内的组件(例如SMF网元内的组件),也可以是其他控制面功能网元,这里并不限定其名称。在图4b中,虚拟交换节点中包括两个UE,分别为UE1和UE2。数据终端1和UE1侧的端口(如端口1)连接,数据终端2和UE2侧的端口(如端口2)连接。UPF网元通过UPF网元侧的端口(如端口3)与其他数据终端(如数据终端3)或交换节点连接。需要说明的是,在图4b中以UE侧连接的设备为数据终端为例,事实上,UE侧也可以连接交换节点,本申请实施例并不限定。In FIG. 4b, 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. In Figure 4b, 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 (such as port 3) on the UPF network element side. It should be noted that in FIG. 4b, the device connected to the UE side is a data terminal as an example. In fact, the UE side can also be connected to a switching node, which is not limited in this embodiment of the application.
在5G系统与TSN结合的网络架构中,数据流在TSN网络中基于TSN的定义进行传输,而在经过5G用户面时,使用5G系统的传输机制进行传输。在5G系统中,数据流由UPF网元侧发往UE侧为下行流,该下行流可以承载在UE的会话中;由UE侧发往UPF网元侧为上行流。In the network architecture where the 5G system and TSN are combined, 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. In the 5G system, the data stream sent from the UPF network element side to the UE side is a downstream stream, which can be carried in the session of the UE; and the data stream sent from the UE side to the UPF network element side is an upstream stream.
需要说明的是,图4a~4b所示的网络架构仅以5G系统与TSN结合的网络架构,在下面介绍中,基于图4a~4b所示的网络架构示意图对本申请实施例中涉及的通信方法进行介绍,事实上,本申请实施例并不限定其他通信系统与5G系统结合,当其他通信系统与5G系统结合时,5G系统能够从其他通信系统获取传输该数据流的相关信息(如本申请实施例中的数据流的入端口的时间信息等)。It should be noted that the network architecture shown in FIGS. 4a to 4b is only a network architecture in which the 5G system and TSN are combined. In the following introduction, 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. Introduce, in fact, the embodiment of this application does not limit the combination of other communication systems and 5G systems. When other communication systems are combined with 5G systems, the 5G system can obtain relevant information for transmitting the data stream from other communication systems (such as this application). The time information of the ingress port of the data stream in the embodiment, etc.).
目前,5G系统与TSN互通的网络架构中,为了实现确定性传输,CNC网元为该数据流的入端口配置数据流的入端口的时间信息,为该数据流的出端口配置该出端口对应的流分类信息。并通过5G系统中的控制面网元将该数据流的出端口的时间信息以及该数据流的入端口对应的流分类的时间信息下发给UE或UPF网元。例如对于上行流,该数据流的出端口对应的流分类信息下发至UPF网元,该数据流的入端口的时间信息可以下发至UE。例如对于下行流,该数据流的入端口的时间信息可以下发至UPF网元,该数据流的出端口对应的流分类信息下发至UE。At present, in the network architecture of 5G system and TSN intercommunication, in order to realize deterministic transmission, CNC network element configures the time information of the ingress port of the data stream for the ingress port of the data stream, and configures the corresponding egress port for the egress port of the data stream. Traffic classification information. And through the control plane network element in the 5G system, the time information of the outgoing port of the data stream and the time information of the flow classification corresponding to the ingress port of the data stream are delivered to the UE or the UPF network element. For example, for an upstream flow, the flow classification information corresponding to the outgoing port of the data flow is delivered to the UPF network element, and the time information of the incoming port of the data flow can be delivered to the UE. For example, for a downstream stream, the time information of the ingress port of the data stream can be delivered to the UPF network element, and the flow classification information corresponding to the egress port of the data stream can be delivered to the UE.
但由于该数据流对应的流分类的出端口的时间信息是以traffic class为粒度的,在一个traffic class对应的时间区间内,5G系统的出端口除了发送该数据流中的报文,还能够发送其他数据流报文,导致5G系统并不能区分发送其中一个数据流的准确的时间窗口。However, because the time information of the outgoing port of the flow classification corresponding to the data flow is based on the traffic class, within the time interval corresponding to a traffic class, the outgoing port of the 5G system can not only send the packets in the data flow, but also Sending other data stream packets causes the 5G system to be unable to distinguish the exact time window for sending one of the data streams.
举例来说,如图5所示,在5G系统与TSN互通的网络架构中有两条数据流需要通过虚拟交换节点(也即5G系统),分别为数据流1和数据流2,数据流1的入端口为端口A,数据流2的入端口为端口B,数据流1和数据流2的出端口均为端口C。For example, as shown in Figure 5, in the network architecture of the 5G system and TSN intercommunication, there are two data streams that need to pass through the virtual switching node (that is, the 5G system), namely data stream 1 and data stream 2, and data stream 1. The ingress port of data stream 2 is port A, the ingress port of data stream 2 is port B, and the outgoing ports of data stream 1 and data stream 2 are both port C.
CNC网元预先获知5G系统的内部传输时延为5毫秒(ms),基于此,CNC网元为数 据流1和数据流2配置的端口A的时间信息、端口B的时间信息以及端口C对应的流分类信息。并通过5G中的控制面将端口A的时间信息端口B的时间信息以及端口C对应的流分类信息下发至对应的网元。The CNC network element knows in advance that the internal transmission delay of the 5G system is 5 milliseconds (ms). Based on this, the CNC network element configures the time information of port A for data stream 1 and data stream 2, the time information of port B, and the corresponding port C Traffic classification information. The time information of port A and the time information of port B and the flow classification information corresponding to port C are delivered to the corresponding network element through the control plane in 5G.
端口A的时间信息指示数据流1到达端口A的时间窗口为0~1ms。端口B的时间信息指示数据流2到达端口B的时间窗口为1~2ms。端口C对应的流分类信息指示流分类1指示的时间窗口的门控状态为打开,其中,流分类1指示的时间窗口为5~7ms,流分类1指示的时间窗口已预先配置在UE和UPF侧。The time information of port A indicates that the time window for data stream 1 to arrive at port A is 0 to 1 ms. The time information of port B indicates that the time window for data stream 2 to arrive at port B is 1 to 2 ms. The flow classification information corresponding to port C indicates that the gating status of the time window indicated by flow classification 1 is open, where the time window indicated by flow classification 1 is 5 to 7 ms, and the time window indicated by flow classification 1 has been pre-configured in the UE and UPF side.
若数据流1在5G系统内部传输的时延满足预先上报的内部传输时延,该数据流1到达端口C的时间窗口应为5~6ms,该时间窗口属于流分类1指示的时间窗口。若数据流2在5G系统内部传输的时延满足预先上报的内部传输时延,该数据流2到达端口C的时间窗口应为6~7ms,该时间窗口属于流分类1指示的时间窗口。If the transmission delay of data stream 1 within the 5G system meets the pre-reported internal transmission delay, the time window for the data stream 1 to reach port C should be 5-6 ms, and this time window belongs to the time window indicated by flow classification 1. If the transmission delay of data stream 2 within the 5G system meets the pre-reported internal transmission delay, the time window for the data stream 2 to reach port C should be 6-7 ms, and this time window belongs to the time window indicated by flow classification 1.
但由于5G系统的特殊性,数据流在5G系统内部的传输时延并不一定等于预先上报的内部传输时延。例如,数据流1在5G系统内部实际传输的时延为5ms,满足预先上报的内部传输时延;数据流2在5G系统内部实际传输的时延为3ms,不满足预先上报的内部传输时延。However, due to the particularity of the 5G system, the transmission delay of the data stream within the 5G system is not necessarily equal to the internal transmission delay reported in advance. For example, the actual transmission delay of data stream 1 inside the 5G system is 5ms, which meets the internal transmission delay reported in advance; the actual transmission delay of data stream 2 inside the 5G system is 3ms, which does not meet the internal transmission delay reported in advance .
则该数据流1实际到达端口C的时间窗口应为5~6ms,该数据流2到达端口C的时间窗口应为4~5ms。这种情况下端口C对应的网元按照端口C对应的流分类信息的指示,在流分类1指示的时间窗口传输数据流中的报文,数据流2的报文会先于数据流1的报文从端口C中发送出去。Then the time window for the data stream 1 to actually reach the port C should be 5-6ms, and the time window for the data stream 2 to reach the port C should be 4-5ms. In this case, the network element corresponding to port C transmits the packets in the data stream in the time window indicated by flow classification 1, according to the instructions of the flow classification information corresponding to port C, and the packets of data flow 2 will precede those of data flow 1. The message is sent out from port C.
数据流2的传输过程中在5G系统中实际传输的时延不满足预先上报的内部传输时延,针对于并不能实现对数据流2的确定性传输。The actual transmission delay in the 5G system during the transmission of the data stream 2 does not meet the pre-reported internal transmission delay, and the deterministic transmission of the data stream 2 cannot be realized.
为此本申请实施例提供了一种通信方法,用于实现5G系统中数据的确定性传输。在本申请实施例中,控制面网元先获取该数据流的入端口的时间信息,根据该数据流的入端口的时间信息和内部传输时延确定该数据流的出端口的时间信息,其中内部传输时延为该数据流的入端口到该数据流的出端口的传输时延;控制面网元之后将该数据流的出端口的时间信息发送给对应的网元;该对应的网元接收到该数据流的出端口的时间信息后,可以在该数据流的出端口的时间信息指示的时间窗口该数据流中的报文。在本申请实施例中,针对任一数据流,在获取在数据流的入端口的时间信息的情况下,可以根据内部传输时延确定该数据流的出端口的时间信息,进而能够针对一个数据流,明确确定出端口处理该数据流中报文的时间,进而保证该数据流的确定性传输。For this reason, the embodiments of the present application provide a communication method for realizing deterministic transmission of data in a 5G system. In the embodiment of the present application, the control plane network element first obtains the time information of the ingress port of the data stream, and determines the time information of the egress port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay, where The internal transmission delay is the transmission delay from the ingress port of the data stream to the egress port of the data stream; the control plane network element then sends the time information of the egress port of the data stream to the corresponding network element; the corresponding network element After receiving the time information of the outgoing port of the data stream, the packets in the data stream can be in the time window indicated by the time information of the outgoing port of the data stream. In the embodiment of the present application, for any data stream, in the case of acquiring the time information at the ingress port of the data stream, the time information of the egress port of the data stream can be determined according to the internal transmission delay, and then the time information can be targeted for a data stream. Stream, clearly determine the port processing time of the packet in the data stream, and then ensure the deterministic transmission of the data stream.
下面结合附图对,本申请实施例提供的一种通信方法进行说明,参见图6,该方法包括:The following describes a communication method provided by an embodiment of the present application with reference to the accompanying drawings. Referring to FIG. 6, the method includes:
步骤601:控制面网元获取数据流的入端口的时间信息,数据流的入端口的时间信息指示入端口接收数据流中的报文的时间窗口。Step 601: The control plane network element obtains the time information of the ingress port of the data stream, and the time information of the ingress port of the data stream indicates the time window for the ingress port to receive the packet in the data stream.
本申请实施例并不限定控制面网元获取数据流的入端口的时间信息的方式,例如,控制面网元可以从TSN中(如TSN中的集中网络配置网元)获取,也可以是从其他网络中获取,还可以是本地预先配置的。The embodiment of this application does not limit the manner in which the control plane network element obtains the time information of the ingress port of the data stream. For example, the control plane network element can be obtained from the TSN (such as the centralized network configuration network element in the TSN) or from Obtained from other networks, or pre-configured locally.
数据流的入端口的时间信息中包括的信息本申请实施例并不限定,例如,数据流的入端口的时间信息可以包括门控周期的第一基准时间以及第一门控列表,又例如,数据流的入端口的时间信息可以包括数据流中的报文到达入端口的最早时间和最晚时间,最早到达 时间和最晚到达时间构成入端口接收数据流中的报文的时间窗口。凡是能够指示入端口接收数据流中的报文的时间窗口的方式均适用于本申请实施例。The information included in the time information of the ingress port of the data stream is not limited in this embodiment of the application. For example, the time information of the ingress port of the data stream may include the first reference time of the gating period and the first gating list. For another example, The time information of the ingress port of the data stream may include the earliest time and the latest time for the packets in the data stream to arrive at the ingress port. The earliest arrival time and the latest arrival time constitute a time window for the ingress port to receive the packets in the data stream. Any method that can indicate the time window for the ingress port to receive the packet in the data stream is applicable to the embodiments of the present application.
步骤602:控制面网元根据数据流的入端口的时间信息和内部传输时延确定数据流的出端口的时间信息,数据流的出端口的时间信息指示出端口发送数据流中的报文的时间窗口,内部传输时延用于指示入端口到出端口的传输时延。Step 602: The control plane network element determines the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay. The time information of the outgoing port of the data stream indicates that the port sends the packet in the data stream. Time window, the internal transmission delay is used to indicate the transmission delay from the ingress port to the egress port.
本申请实施例中内部传输时延可以是控制面网元预先保存的,也可以是该控制面网元从其他控制面网元获取的,例如该控制面网元可以是应用功能网元,应用功能网元可以本地保存该内部传输时延,也可以通过策略控制功能网元从会话管理网元获取的。In the embodiment of this application, the internal transmission delay may be pre-stored by the control plane network element, or it may be obtained by the control plane network element from other control plane network elements. For example, the control plane network element may be an application function network element. The function network element may store the internal transmission delay locally, or it may be obtained from the session management network element through the policy control function network element.
在本申请实施例中,数据流的出端口的时间信息包括的信息本申请实施例并不限定,下面列举其中几种:In the embodiment of the present application, the information included in the time information of the outgoing port of the data stream is not limited in the embodiment of the present application, and several of them are listed below:
第一种:若数据流的入端口的时间信息可以包括门控周期的第一基准时间以及第一门控列表,数据流的出端口的时间信息可以包括该门控周期的第二基准时间以及该第一门控列表。The first type: if the time information of the ingress port of the data stream can include the first reference time of the gating period and the first gating list, the time information of the egress port of the data stream can include the second reference time of the gating period and The first gated list.
其中,控制面网元可以根据门控周期的第一基准时间与内部传输时延确定门控周期的第二基准时间。例如,控制面网元将门控周期的第一基准时间与内部传输时延的和值作为门控周期的第二基准时间。The control plane network element may determine the second reference time of the gating period according to the first reference time of the gating period and the internal transmission delay. For example, the control plane network element uses the sum of the first reference time of the gating period and the internal transmission delay as the second reference time of the gating period.
第二种:若数据流的入端口的时间信息可以包括门控周期的第一基准时间以及第一门控列表,数据流的出端口的时间信息可以包括该门控周期的第一基准时间以及该第二门控列表。The second type: if the time information of the ingress port of the data stream can include the first reference time of the gating period and the first gating list, the time information of the egress port of the data stream can include the first reference time of the gating period and This second gated list.
其中,控制面网元可以根据第一门控列表与内部传输时延确定该第二门控列表。例如,控制面网元根据内部传输时延将延后该第一门控列表中门控状态为打开的时间窗口获得第二门控列表。该第一门控列表指示第3、5、10个时间窗口的门控状态为打开,内部传输时延的时长为门控周期中2个时间窗口的大小,则第二门控列表指示第5、7、12个时间窗口的门控状态为打开。也就是说,将第一门控列表中门控状态为打开的时间窗口按照内部传输时延向后推迟,可以获得第二门控列表。内部传输时延可以是门控周期中时间窗口的非整数倍,在这种情况下将第一门控列表中门控状态为打开的时间窗口按照内部传输时延向后推迟的方式,本申请实施例并不限定。Wherein, the control plane network element may determine the second gating list according to the first gating list and the internal transmission delay. For example, the control plane network element delays the time window in the first gate control list whose gate control state is open according to the internal transmission delay to obtain the second gate control list. The first gating list indicates that the gating status of the 3rd, 5th, and 10th time windows is open, and the length of the internal transmission delay is the size of the 2 time windows in the gating period, then the second gating list indicates the 5th The gate control status of the 7, 12 time windows is open. In other words, the time window in the first gating control list whose gating state is open is delayed according to the internal transmission delay, and the second gating control list can be obtained. The internal transmission delay can be a non-integer multiple of the time window in the gating period. In this case, the time window in the first gating list whose gated state is open is delayed according to the internal transmission delay. This application The embodiment is not limited.
第三种:数据流的出端口的时间信息可以包括下面信息的部分或全部:该数据流中的报文到达出端口的最早时间,该数据流中的报文到达该出端口的最晚时间。The third type: the time information of the outgoing port of the data stream may include part or all of the following information: the earliest time that the packets in the data stream arrive at the outgoing port, and the latest time that the packets in the data stream arrive at the outgoing port .
以数据流的入端口的时间信息可以包括门控周期的第一基准时间以及第一门控列表为例,对控制面网元确定该数据流中的报文到达出端口的最早时间和最晚时间进行说明:Taking the time information of the ingress port of the data stream may include the first reference time of the gating period and the first gating list as an example, the control plane network element determines the earliest and latest time for the packets in the data stream to arrive at the egress port. Time to explain:
1、该数据流中的报文到达出端口的最早时间1. The earliest time that a packet in the data stream reaches the outgoing port
控制面网元可以根据门控周期的第一基准时间以及第一门控列表确定该数据流中的报文到达入端口的最早时间。示例性的,控制面网元可以确定该第一门控列表中记录的门控状态为打开的最早的时间窗口,根据门控周期的第一基准时间计算出该时间窗口的起始时间,该时间窗口的起始时间为该数据流中的报文到达入端口的最早时间。The control plane network element may determine the earliest time for the packet in the data stream to reach the ingress port according to the first reference time of the gating period and the first gating list. Exemplarily, the control plane network element may determine that the gate control state recorded in the first gate control list is the earliest time window opened, and calculate the start time of the time window according to the first reference time of the gate control period. The start time of the time window is the earliest time for the packets in the data stream to reach the ingress port.
之后控制面网元根据该时间窗口的起始时间和内部传输时延确定该数据流中的报文到达出端口的最早时间。After that, the control plane network element determines the earliest time for the packet in the data stream to reach the outgoing port according to the start time of the time window and the internal transmission delay.
例如,门控周期的第一基准时间为1点,预先配置的门控周期大小为10毫秒,可化为100个时间窗口,这样每个时间窗口的长度为100微秒。若第一门控列表指示第3、5、 10个时间窗口的门控状态为开启状态。则该第一门控列表中记录的门控状态为打开的最早的时间窗口为第3个时间窗口。第三个时间窗口的起始时间为1点200微秒。若内部传输时延为5微秒,则该数据流中的报文到达出端口的最早时间就等于第三个时间窗口的起始时间与内部传输时延和值,为1点205微秒。For example, the first reference time of the gating period is 1 o'clock, and the pre-configured gating period size is 10 milliseconds, which can be converted into 100 time windows, so that the length of each time window is 100 microseconds. If the first gate control list indicates that the gate control status of the 3rd, 5th, and 10th time windows is on. Then the earliest time window in which the gate control state recorded in the first gate control list is open is the third time window. The start time of the third time window is 1:200 microseconds. If the internal transmission delay is 5 microseconds, the earliest time for the packet in the data stream to reach the outgoing port is equal to the sum of the start time of the third time window and the internal transmission delay, which is 1:205 microseconds.
2、该数据流中的报文到达出端口的最晚时间2. The latest time that the packets in the data stream arrive at the outgoing port
控制面网元可以根据门控周期的第一基准时间以及第一门控列表确定该数据流中的报文到达入端口的最晚时间。示例性的,控制面网元可以确定该第一门控列表中记录的门控状态为打开的最晚的时间窗口,根据门控周期的第一基准时间计算出该时间窗口的结束时间,该时间窗口的结束时间为该数据流中的报文到达入端口的最晚时间。The control plane network element may determine the latest time for the packet in the data stream to arrive at the ingress port according to the first reference time of the gating period and the first gating list. Exemplarily, the control plane network element may determine that the gate control state recorded in the first gate control list is the latest time window opened, and calculate the end time of the time window according to the first reference time of the gate control period. The end time of the time window is the latest time that the packets in the data stream arrive at the ingress port.
之后控制面网元根据该数据流中的报文到达入端口的最晚时间和内部传输时延确定该数据流中的报文到达出端口的最晚时间。Then, the control plane network element determines the latest time for the packets in the data flow to reach the outgoing port according to the latest time for the packets in the data flow to reach the ingress port and the internal transmission delay.
例如,门控周期的第一基准时间为1点,预先配置的门控周期大小为10毫秒,可化为100个时间窗口,这样每个时间窗口的长度为100微秒。若第一门控列表指示第3、5、10个时间窗口的门控状态为开启状态。该第一门控列表中记录的门控状态为打开的最早的时间窗口为第3个时间窗口。第三个时间窗口的起始时间为1点200微秒。若内部传输时延为5微秒,则该数据流中的报文到达出端口的最早时间就等于第三个时间窗口的起始时间与内部传输时延和值,为1点205微秒。该第一门控列表中记录的门控状态为打开的最晚的时间窗口为第10个时间窗口。第10个时间窗口的结束时间为1点1毫秒。若内部传输时延为5微秒,则该数据流中的报文到达出端口的最晚时间就等于第10个时间窗口的结束时间与内部传输时延和值,为1点1毫秒5微秒。For example, the first reference time of the gating period is 1 o'clock, and the pre-configured gating period size is 10 milliseconds, which can be converted into 100 time windows, so that the length of each time window is 100 microseconds. If the first gate control list indicates that the gate control status of the 3rd, 5th, and 10th time windows is on. The earliest time window in which the gate control state recorded in the first gate control list is open is the third time window. The start time of the third time window is 1:200 microseconds. If the internal transmission delay is 5 microseconds, the earliest time for the packet in the data stream to reach the outgoing port is equal to the sum of the start time of the third time window and the internal transmission delay, which is 1:205 microseconds. The latest time window in which the gate control state recorded in the first gate control list is opened is the 10th time window. The end time of the tenth time window is 1:1 millisecond. If the internal transmission delay is 5 microseconds, the latest time for the packets in the data stream to reach the outgoing port is equal to the sum of the end time of the tenth time window and the internal transmission delay, which is 1:1 ms, 5 microseconds. second.
第四种:数据流的出端口的时间信息包括数据流的出端口的时间信息和内部传输时延。The fourth type: the time information of the outgoing port of the data stream includes the time information of the outgoing port of the data stream and the internal transmission delay.
控制面网元也可以不进行任何处理将数据流的出端口的时间信息和内部传输时延作为数据流的出端口的时间信息,在该数据流的出端口对应的网元接收到数据流的出端口的时间信息,自行确定该数据流中的报文到达出端口的最早时间和最晚时间。The control plane network element may also take the time information of the outgoing port of the data stream and the internal transmission delay as the time information of the outgoing port of the data stream without any processing, and the network element corresponding to the outgoing port of the data stream receives the data stream. The time information of the outgoing port is used to determine the earliest time and the latest time at which the packets in the data stream arrive at the outgoing port.
步骤603:控制面网元向出端口对应的网元发送数据流的出端口的时间信息。Step 603: The control plane network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port.
可选的,控制面网元在向入端口对应的网元发送数据流的出端口的时间信息时,还可以同时发送标识信息,以标识该数据流的出端口的时间信息是针对该数据流的或该出端口的。该标识信息本申请实施例并不限定,凡是能够标识该数据流或该出端口的信息均适用于本申请实施例,示例性的,该标识信息可以是数据流的流特征或出端口的标识。Optionally, when the control plane network element sends the time information of the egress port of the data stream to the network element corresponding to the ingress port, it can also send identification information at the same time to identify that the time information of the egress port of the data stream is for the data stream. Or the outgoing port. The identification information is not limited in this embodiment of the application. Any information that can identify the data flow or the outgoing port is applicable to the embodiments of this application. Illustratively, the identification information may be the flow characteristics of the data flow or the identification of the outgoing port. .
若该数据流为上行流,该出端口为用户面网元侧的端口,控制面网元向用户面网元发送该数据流的出端口的时间信息。若该数据流为下行流,该出端口为终端设备侧的端口,控制面网元向终端设备发送该数据流的出端口的时间信息。若数据流为终端设备间的数据流,示例性的,该数据流为第一终端设备到第二终端设备侧的数据流,控制面网元向第二终端设备发送该数据流的出端口的时间信息。If the data flow is an upstream flow, the outgoing port is a port on the user plane network element side, and the control plane network element sends the time information of the outgoing port of the data flow to the user plane network element. If the data flow is a downstream flow, the outgoing port is a port on the terminal device side, and the control plane network element sends the time information of the outgoing port of the data flow to the terminal device. If the data flow is a data flow between terminal devices, for example, the data flow is a data flow from the first terminal device to the second terminal device, and the control plane network element sends the data flow to the second terminal device. Time information.
本申请实施例并不限定控制面网元的类型,例如,该控制面网元为应用功能网元,该应用功能网元在向出端口对应的网元发送数据流的出端口的时间信息时,可以通过策略控制功能网元发送给会话管理网元,之后,由会话管理网元发送给该出端口对应的网元。The embodiment of the present application does not limit the type of control plane network element. For example, the control plane network element is an application function network element. When the application function network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port , Can be sent to the session management network element through the policy control function network element, and then sent to the network element corresponding to the outgoing port by the session management network element.
示例性的,应用功能网元可以在触发策略控制功能网元配置承载该数据流的会话的PCC规则时,将数据流的出端口的时间信息发送给策略控制功能网元,策略控制功能网元在向会话管理网元发送转发规则创建请求时,可以将数据流的出端口的时间信息携带在转 发规则创建请求中,转发规则创建请求用于指示创建承载该数据流的会话的转发规则。Exemplarily, the application function network element may send the time information of the outgoing port of the data stream to the policy control function network element when the policy control function network element is triggered to configure the PCC rule of the session carrying the data stream, and the policy control function network element When sending a forwarding rule creation request to the session management network element, the time information of the outgoing port of the data stream can be carried in the forwarding rule creation request, and the forwarding rule creation request is used to instruct the creation of a forwarding rule for the session carrying the data stream.
应用功能网元向策略控制功能网元发送数据流的出端口的时间信息时,还可以发送标识信息,如发送该出端口的标识(指示该数据流的出端口的时间信息是针对该出端口的)或该数据流的流特征(指示该数据流的出端口的时间信息是针对该数据流的)。When the application function network element sends the time information of the outgoing port of the data flow to the policy control function network element, it can also send identification information, such as sending the identification of the outgoing port (indicating that the time information of the outgoing port of the data flow is for the outgoing port ) Or the stream characteristics of the data stream (the time information indicating the outgoing port of the data stream is for the data stream).
其中,应用功能网元确定该出端口的标识和该数据流的流特征的方式本申请实施例并不限定,例如,应用功能网元可以在获取该数据流的入端口的时间信息时,同时获取该数据流的流特征,应用功能网元可以根据以获取的该数据流的转发规则(其中记录了数据流的流特征、出端口标识、入端口标识等信息),确定该数据流的流特征对应的出端口标识。The manner in which the application function network element determines the identification of the outgoing port and the flow characteristics of the data flow is not limited in this embodiment of the application. For example, the application function network element may obtain the time information of the ingress port of the data flow while simultaneously To obtain the flow characteristics of the data flow, the application function network element can determine the flow of the data flow according to the acquired forwarding rules of the data flow (which records the flow characteristics of the data flow, the outgoing port identifier, the incoming port identifier and other information) The ID of the outgoing port corresponding to the feature.
策略控制功能网元在数据流的出端口的时间信息和该数据流的流特征时,可以根据从应用功能网元获取的数据流的流特征、以及该数据流的出入端口标识的对应关系,确定出端口标识,进而确定该数据流的出端口的时间信息是针对该出端口的。When the time information of the outgoing port of the data flow and the flow characteristics of the data flow are used by the policy control function network element, the corresponding relationship between the flow characteristics of the data flow obtained from the application function network element and the identification of the incoming and outgoing ports of the data flow may be used. Determine the outgoing port identifier, and then determine that the time information of the outgoing port of the data flow is for the outgoing port.
策略控制功能网元之后向会话管理网元发送数据流的出端口的时间信息时,还可以发送标识信息。会话管理网元再向出端口对应的网元发送数据流的出端口的时间信息和标识信息。After the policy control function network element sends the time information of the outgoing port of the data stream to the session management network element, it may also send identification information. The session management network element then sends the time information and identification information of the egress port of the data stream to the network element corresponding to the egress port.
其中,会话管理网元根据该数据流的流特征确定出端口标识的方式与策略控制功能网元根据该数据流的流特征确定出端口标识的方式相同,本申请实施例并不限定。The manner in which the session management network element determines the port identifier based on the flow characteristics of the data flow is the same as the manner in which the policy control function network element determines the port identifier based on the flow characteristics of the data flow, which is not limited in this embodiment of the application.
又例如,该控制面网元为策略控制功能网元,该策略控制功能网元在向出端口对应的网元发送数据流的出端口的时间信息时,可以将数据流的出端口的时间信息发送给会话管理网元,之后,由会话管理网元发送给该出端口对应的网元。For another example, the control plane network element is a policy control function network element. When the policy control function network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port, it may send the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port. It is sent to the session management network element, and then sent by the session management network element to the network element corresponding to the outgoing port.
示例性的,策略控制功能网元在向会话管理网元发送转发规则创建请求时,可以将数据流的出端口的时间信息携带在转发规则创建请求中,转发规则创建请求用于指示创建承载该数据流的会话的转发规则。Exemplarily, when the policy control function network element sends a forwarding rule creation request to the session management network element, it can carry the time information of the outgoing port of the data stream in the forwarding rule creation request, and the forwarding rule creation request is used to instruct the creation of the bearer The forwarding rule of the session of the data stream.
策略控制功能网元向会话管理网元发送数据流的出端口的时间信息时,还可以发送该出端口的标识(指示该数据流的出端口的时间信息是针对该出端口的)或该数据流的流特征(指示该数据流的出端口的时间信息是针对该数据流的)。When the policy control function network element sends the time information of the egress port of the data stream to the session management network element, it can also send the identifier of the egress port (indicating that the time information of the egress port of the data stream is for the egress port) or the data The flow characteristics of the flow (the time information indicating the outgoing port of the data flow is for the data flow).
其中,策略控制功能网元确定该出端口的标识和该数据流的流特征的方式本申请实施例并不限定,例如,可以在获取该数据流的入端口的时间信息时,同时获取该数据流的流特征或出端口的标识。若策略控制功能网元获取该数据流的流特征,策略控制功能网元可以根据从应用功能网元获取数据流的流特征、出端口标识、入端口标识等信息,确定该数据流的流特征对应的出端口标识。Wherein, the method for the policy control function network element to determine the identification of the outgoing port and the flow characteristics of the data stream is not limited in the embodiment of the application. For example, the data can be obtained at the same time when the time information of the ingress port of the data stream is obtained. The flow characteristics of the flow or the identification of the outgoing port. If the policy control function network element obtains the flow characteristics of the data flow, the policy control function network element can determine the flow characteristics of the data flow based on the flow characteristics, outgoing port identification, ingress port identification and other information of the data flow obtained from the application function network element Corresponding outgoing port ID.
会话管理网元在接收到数据流的出端口的时间信息和该数据流的流特征时,可以根据从策略控制功能网元(或应用功能网元)获取的数据流的流特征、以及该数据流的出入端口标识的对应关系,确定出端口标识,进而确定该数据流的出端口的时间信息是针对该出端口的。When the session management network element receives the time information of the outgoing port of the data flow and the flow characteristics of the data flow, it can control the flow characteristics of the data flow obtained from the policy control function network element (or application function network element) and the data flow The corresponding relationship between the ingress and egress port identifiers of the flow is determined, and the egress port identifier is determined, and then the time information of the egress port of the data stream is determined for the egress port.
又例如,该控制面网元也可以为会话管理网元,会话管理网元可以在确定了该数据流的出端口的时间信息后,将该数据流的出端口的时间信息发送给该出端口对应的网元。For another example, the control plane network element may also be a session management network element, and the session management network element may, after determining the time information of the outgoing port of the data flow, send the time information of the outgoing port of the data flow to the outgoing port The corresponding network element.
示例性的,会话管理网元可以将数据流的出端口的时间信息携带在会话创建/修改请求中,将数据流的出端口的时间信息发送给该出端口对应的网元。Exemplarily, the session management network element may carry the time information of the outgoing port of the data stream in the session creation/modification request, and send the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port.
会话管理网元向该出端口对应的网元发送数据流的出端口的时间信息时,还可以发送标识信息。When the session management network element sends the time information of the egress port of the data stream to the network element corresponding to the egress port, it may also send identification information.
需要说明的是,应用功能网元、策略控制功能网元、会话管理网元以及出端口对应的网元之间在发送标识信息时,标识信息的具体类型可以不同,例如,应用功能网元向策略控制功能网元发送该数据流的流特征,策略控制功能网元根据该数据流的流特征确定出端口标识后,可以向会话管理网元发送出端口标识,向会话管理网元向出端口对应的网元发送出端口标识。It should be noted that when the identification information is sent between the application function network element, the policy control function network element, the session management network element, and the network element corresponding to the outgoing port, the specific type of the identification information may be different, for example, the application function network element The policy control function network element sends the flow characteristics of the data flow. After the policy control function network element determines the out port identifier according to the flow characteristics of the data flow, it can send the out port identifier to the session management network element, and then send the out port identifier to the session management network element. The corresponding network element sends out the port ID.
步骤604:出端口对应的网元接收到数据流的出端口的时间信息,可以根据该数据流的出端口的时间信息指示的时间窗口发送该数据流中的报文。示例性的,出端口对应的网元可以在接收到该数据流中的报文后,可以先缓存该数据流中的报文,将缓存到该时间窗口时,发送缓存的该数据流中的报文。Step 604: The network element corresponding to the outgoing port receives the time information of the outgoing port of the data stream, and may send the packet in the data stream according to the time window indicated by the time information of the outgoing port of the data stream. Exemplarily, the network element corresponding to the outgoing port may first buffer the packets in the data stream after receiving the packets in the data stream, and when the time window is buffered, send the packets in the buffered data stream. Message.
出端口对应的网元在发送缓存的该数据流中的报文时,可以直接通过出端口发送该数据流中的报文,也可以将缓存的该数据流中的报文发送到出端口的发送队列中,该发送队列是基于流分类信息进行调度的。When the network element corresponding to the outgoing port sends the buffered packets in the data stream, it can directly send the packets in the data stream through the outgoing port, or it can send the buffered packets in the data stream to the outgoing port. In the sending queue, the sending queue is scheduled based on the flow classification information.
以出端口对应的网元为用户面网元为例,对出端口对应的网元确定该数据流的出端口的时间信息指示的时间窗口的方式进行说明:Taking the network element corresponding to the egress port as the user plane network element as an example, the manner in which the network element corresponding to the egress port determines the time window indicated by the time information of the egress port of the data flow is described:
(1)、若数据流的出端口的时间信息包括该门控周期的第二基准时间以及该第一门控列表,用户面网元可以根据该门控周期的第二基准时间以及该第一门控列表确定该数据流中的报文到达出端口的最早时间以及该数据流中的报文到达该出端口的最晚时间,进而确定,该数据流的出端口的时间信息指示的时间窗口。(1) If the time information of the outgoing port of the data stream includes the second reference time of the gating period and the first gating list, the user plane network element can be based on the second reference time of the gating period and the first The gate control list determines the earliest time that the packets in the data flow reach the outgoing port and the latest time that the packets in the data flow reach the outgoing port, and then determines the time window indicated by the time information of the outgoing port of the data flow .
其中,用户面网元确定该数据流中的报文到达出端口的最早时间以及该数据流中的报文到达该出端口的最晚时间的方式与控制面网元确定根据门控周期的第一基准时间以及第一门控列表确定该数据流中的报文到达入端口的最早时间和最晚时间的方式类似,具体可参见前述内容,此处不再赘述。Among them, the manner in which the user plane network element determines the earliest time for the packets in the data flow to reach the outgoing port and the latest time for the packets in the data flow to reach the outgoing port is determined by the control plane network element according to the first time of the gating period. A reference time and the first gating list determine the earliest time and the latest time for the packets in the data stream to arrive at the ingress port in a similar manner. For details, please refer to the foregoing content, which will not be repeated here.
可选的,用户面网元也可以直接根据该门控周期的第二基准时间以及该第一门控列表执行该第一门控列表指示的门控状态。Optionally, the user plane network element may also directly execute the gating state indicated by the first gating list according to the second reference time of the gating period and the first gating list.
(2)、若数据流的出端口的时间信息包括该门控周期的第一基准时间以及该第二门控列表,用户面网元可以根据该门控周期的第一基准时间以及该第二门控列表确定该数据流中的报文到达出端口的最早时间以及该数据流中的报文到达该出端口的最晚时间,进而确定,该数据流的出端口的时间信息指示的时间窗口。(2) If the time information of the outgoing port of the data stream includes the first reference time of the gating period and the second gating list, the user plane network element can be based on the first reference time of the gating period and the second The gate control list determines the earliest time that the packets in the data flow reach the outgoing port and the latest time that the packets in the data flow reach the outgoing port, and then determines the time window indicated by the time information of the outgoing port of the data flow .
其中,用户面网元确定该数据流中的报文到达出端口的最早时间以及该数据流中的报文到达该出端口的最晚时间的方式与控制面网元确定根据门控周期的第一基准时间以及第一门控列表确定该数据流中的报文到达入端口的最早时间和最晚时间的方式类似,具体可参见前述内容,此处不再赘述。Among them, the manner in which the user plane network element determines the earliest time for the packets in the data flow to reach the outgoing port and the latest time for the packets in the data flow to reach the outgoing port is determined by the control plane network element according to the first time of the gating period. A reference time and the first gating list determine the earliest time and the latest time for the packets in the data stream to arrive at the ingress port in a similar manner. For details, please refer to the foregoing content, which will not be repeated here.
可选的,用户面网元也可以直接根据该门控周期的第一基准时间以及该第二门控列表执行该第一门控列表指示的门控状态。Optionally, the user plane network element may also directly execute the gating state indicated by the first gating list according to the first reference time of the gating period and the second gating list.
(3)、若数据流的出端口的时间信息包括该数据流中的报文到达出端口的最早时间和该数据流中的报文到达该出端口的最晚时间,则可以直接确定该时间窗口。(3) If the time information of the outgoing port of the data stream includes the earliest time that the packets in the data stream arrive at the outgoing port and the latest time that the packets in the data stream arrive at the outgoing port, the time can be directly determined window.
(4)、若数据流的出端口的时间信息包括该数据流中的报文到达出端口的最早时间,用户面网元可以确定该数据流的发送时长,根据该数据流的发送时长和该数据流中的报文到达出端口的最早时间确定该数据流中的报文到达出端口的最晚时间,进而取得该时间窗口。用户面网元也可以确定该数据流的发送周期(该数据流的发送周期可以指示数据流的 发送设备发送该数据流的周期间隔,也就是该数据流发送的起止时间),将该数据流中的报文到达出端口的最早时间到该发送周期结束内的时间作为该时间窗口。(4) If the time information of the outgoing port of the data stream includes the earliest time for the packets in the data stream to reach the outgoing port, the user plane network element can determine the sending time of the data stream, based on the sending time of the data stream and the The earliest time that a message in the data stream reaches the outgoing port determines the latest time that a message in the data stream reaches the outgoing port, and then the time window is obtained. The user plane network element can also determine the sending period of the data stream (the sending period of the data stream can indicate the periodic interval at which the sending device of the data stream sends the data stream, that is, the start and end time of sending the data stream), and the data stream The time from the earliest time that the message in the message arrives at the outgoing port to the end of the sending period is used as the time window.
其中,用户面网元确定该数据流的发送时长的方式本申请实施例并不限定,例如用户面网元可以根据该数据流的数据量大小以及用户面网元接收报文的带宽等信息预估该数据流的发送时长,又例如,该数据流的发送时长可以为预设值。该数据流的发送周期可以是预先配置的,也可以是其他网元发送给用户面网元的,本申请实施例并不限定用户面网元确定该数据流的发送周期。The manner in which the user plane network element determines the sending duration of the data stream is not limited in this embodiment of the application. For example, the user plane network element can predict the data volume of the data stream and the bandwidth of the user plane network element to receive packets. The sending duration of the data stream is estimated. For another example, the sending duration of the data stream may be a preset value. The sending period of the data stream may be pre-configured or sent by other network elements to the user plane network element. This embodiment of the present application does not limit the user plane network element to determine the sending period of the data stream.
(5)、若数据流的出端口的时间信息包括该数据流中的报文到达出端口的最晚时间,用户面网元可以确定该数据流的发送时长,根据该数据流的发送时长和该数据流中的报文到达出端口的最晚时间确定该数据流中的报文到达出端口的最早时间,进而取得该时间窗口。用户面网元也可以确定该数据流的发送周期(该数据流的发送周期可以指示该数据流从入端口到出端口的传输时间),将该发送周期开始到该数据流中的报文到达出端口的最晚时间到作为该时间窗口。(5) If the time information of the outgoing port of the data stream includes the latest time for the packets in the data stream to arrive at the outgoing port, the user plane network element can determine the sending time of the data stream, based on the sending time of the data stream and The latest time at which a message in the data stream arrives at the outgoing port determines the earliest time at which a message in the data stream reaches the outgoing port, and then the time window is obtained. The user plane network element can also determine the transmission period of the data stream (the transmission period of the data stream can indicate the transmission time of the data stream from the ingress port to the egress port), and start the transmission period to the arrival of the packets in the data stream. The latest time of the outgoing port is used as the time window.
(6)、若数据流的出端口的时间信息包括数据流的入端口的时间信息和内部传输时延,用户面网元根据数据流的入端口的时间信息确定该数据流中的报文到达入端口的最早时间和最晚时间,之后用户面网元再根据该数据流中的报文到达入端口的最早时间和内部传输时延确定该数据流中的报文到达出端口的最早时间,根据该数据流中的报文到达入端口的最晚时间和内部传输时延确定该数据流中的报文到达出端口的最晚时间。(6) If the time information of the outgoing port of the data stream includes the time information of the ingress port of the data stream and the internal transmission delay, the user plane network element determines the arrival of the packet in the data stream according to the time information of the ingress port of the data stream The earliest time and the latest time of the ingress port, and then the user plane network element then determines the earliest time that the packets in the data stream arrive at the outgoing port according to the earliest time of the packets in the data stream arriving at the ingress port and the internal transmission delay. According to the latest time that the packets in the data stream arrive at the ingress port and the internal transmission delay, the latest time for the packets in the data stream to arrive at the egress port is determined.
需要说明的是,用户面网元也可以确定时间窗口,将第一基准时间增加内部传输时延后执行该第一门控列表指示门控状态。It should be noted that the user plane network element may also determine a time window, add the first reference time to the internal transmission delay, and execute the first gate control list to indicate the gate control state.
出端口对应的网元为终端设备的情况,对终端设备确定该数据流的出端口的时间信息指示的时间窗口的方式与用户面网元确定该数据流的出端口的时间信息指示的时间窗口的方式相同,具体可以参见前述内容,此处不再赘述。When the network element corresponding to the outgoing port is a terminal device, the method for the terminal device to determine the time window indicated by the time information of the outgoing port of the data stream is the same as the way the user plane network element determines the time window indicated by the time information of the outgoing port of the data stream. The method is the same. For details, please refer to the foregoing content, which will not be repeated here.
作为一种可能的实施方式,控制面网元若确定数据流可以为第一终端设备到第二终端设备的数据流,也就是说,用户面网元需要将从一个终端设备接收的数据流中的报文发送给另一个终端设备。控制面网元可以确定该用户网元的时间信息,该用户面网元用于指示该用户面网元处理数据流中的报文的时间窗口,并将该用户面网元的时间信息发送给用户面网元。As a possible implementation manner, if the control plane network element determines that the data stream can be a data stream from the first terminal device to the second terminal device, that is, the user plane network element needs to be among the data streams received from one terminal device. The message is sent to another terminal device. The control plane network element can determine the time information of the user network element, and the user plane network element is used to indicate the time window for the user plane network element to process packets in the data stream, and send the time information of the user plane network element to User plane network element.
本申请实施例并不限定控制面网元确定该数据流为终端设备间的数据流的方式,根据控制面网元的不同类型,对确定该数据流为终端设备间的数据流的方式进行说明:The embodiment of the present application does not limit the manner in which the control plane network element determines that the data flow is a data flow between terminal devices. According to different types of control plane network elements, the manner in which the data flow is determined to be a data flow between terminal devices will be described. :
1、控制面网元为应用功能网元,应用功能网元可以根据该数据流的转发信息确定该数据流为终端设备间的数据流,其中该数据流的转发信息包括承载该数据流的第一会话的信息以及承载该数据流第二会话的信息,其中,第一会话为第一终端设备建立的会话,第一会话的信息可以是第一会话的标识,也可以是第一会话对应的第一终端设备侧的端口标识。第二会话为第二终端设备建立的会话,第二会话的信息可以是第二会话的标识,也可以是第二会话对应的第二终端设备侧的端口标识。1. The control plane network element is an application function network element. The application function network element can determine that the data stream is a data stream between terminal devices according to the forwarding information of the data stream, where the forwarding information of the data stream includes the first data stream carrying the data stream. Information about a session and information about a second session that carries the data stream, where the first session is the session established by the first terminal device, and the information about the first session may be the identifier of the first session, or may be corresponding to the first session The port identifier on the side of the first terminal device. The second session is a session established by the second terminal device, and the information of the second session may be the identifier of the second session, or may be the port identifier of the second terminal device side corresponding to the second session.
应用功能网元可以根据该数据流的转发信息确定该数据流为终端设备间的数据流在确定该数据流为终端设备间的数据流后,可以向策略控制功能网元或会话管理网元发送指示信息,该指示信息用于指示该数据流为终端设备间的数据流,本申请实施例并不限定该指示信息指示该数据流为终端设备间的数据流的方式,可以采用直接指示的方式(如为表 示该数据流为终端设备间的数据流的自如),也可以采用间接指示的方式,例如携带第一会话对应的第一终端设备侧的端口标识和第二会话对应的第二终端设备侧的端口标识,又例如应用功能网元在触发策略控制功能网元发起第一会话的PCC规则的创建/修改过程时,发送第二会话的标识或第二会话对应的第二终端设备侧的端口标识。The application function network element can determine that the data stream is a data stream between terminal devices according to the forwarding information of the data stream. After determining that the data stream is a data stream between terminal devices, it can send to the policy control function network element or the session management network element Indication information, the indication information is used to indicate that the data stream is a data stream between terminal devices. The embodiment of the present application does not limit the manner in which the indication information indicates that the data stream is a data stream between terminal devices, and a direct indication method can be used (For example, to indicate that the data flow is free of data flow between terminal devices), indirect instructions can also be used, such as carrying the port identifier of the first terminal device corresponding to the first session and the second terminal corresponding to the second session The port identifier on the device side, for example, when the application function network element triggers the policy control function network element to initiate the creation/modification process of the PCC rule of the first session, it sends the identifier of the second session or the second terminal device side corresponding to the second session The port ID.
策略控制功能网元或会话管理网元接收到指示信息后,可以根据指示信息确定该数据流为终端设备间的数据流。After receiving the instruction information, the policy control function network element or the session management network element may determine that the data flow is a data flow between terminal devices according to the instruction information.
策略控制功能网元在第一会话的PCC规则配置过程中,接收到第二会话标识,可以确定该数据流为终端设备间的数据流;接收到第二会话对应的第二终端设备侧的端口标识,若确定第二终端设备侧的端口标识与第二会话关联,可以确定该数据流为终端设备间的数据流。During the PCC rule configuration process of the first session, the policy control function network element receives the second session identifier and can determine that the data flow is a data flow between terminal devices; it receives the port on the second terminal device side corresponding to the second session Identification. If it is determined that the port identification on the second terminal device side is associated with the second session, it can be determined that the data flow is a data flow between terminal devices.
会话管理网元在第一会话的转发规则的过程中,接收到第二会话标识,可以确定该数据流为终端设备间的数据流;接收到第二会话对应的第二终端设备侧的端口标识,若确定第二终端设备侧的端口标识与第二会话关联,可以确定该数据流为终端设备间的数据流。In the process of the forwarding rule of the first session, the session management network element receives the second session identifier, and can determine that the data flow is a data flow between terminal devices; it receives the port identifier on the second terminal device side corresponding to the second session If it is determined that the port identifier on the second terminal device side is associated with the second session, it can be determined that the data stream is a data stream between terminal devices.
2、控制面网元为策略控制功能网元或会话管理网元,策略控制功能网元或会话管理网元确定该数据流为终端设备间的数据流的方式可以参见控制面网元为应用功能网元时,指示信息为间接指示的方式下,策略控制功能网元或会话管理网元确定该数据流为终端设备间的数据流的方式,此处不再赘述。2. The control plane network element is a policy control function network element or a session management network element. The way that the policy control function network element or session management network element determines that the data flow is a data flow between terminal devices can be found in the control plane network element as an application function In the case of a network element, when the indication information is an indirect indication, the policy control function network element or the session management network element determines that the data flow is a data flow between terminal devices, which will not be repeated here.
下面列举两种控制面网元确定该用户面网元的时间信息的方式:The following lists two ways for the control plane network element to determine the time information of the user plane network element:
方式一、控制面网元根据数据流的入端口的时间信息确定该用户面网元的时间信息,该入端口为第一终端设备侧的端口(也即会话中终端设备侧的端口)。Manner 1: The control plane network element determines the time information of the user plane network element according to the time information of the ingress port of the data stream, and the ingress port is the port on the first terminal device side (that is, the port on the terminal device side in the session).
控制面网元可以先获取第一传输时延,该第一传输时延为第一终端设备到用户面网元间的传输时延。本申请实施例并不限定控制面网元获取第一传输时延的方式,第一传输时延可以是控制面网元本地记录的,也可以是其他控制面网元发送给该控制面网元的。例如,该控制面网元为会话管理网元,会话管理网元可以从策略控制功能网元获取该第一时延信息,也可以是通过策略控制功能网元从应用功能网元获取。The control plane network element may first obtain the first transmission delay, and the first transmission delay is the transmission delay between the first terminal device and the user plane network element. The embodiment of the present application does not limit the manner in which the control plane network element obtains the first transmission delay. The first transmission delay may be recorded locally by the control plane network element or sent to the control plane network element by other control plane network elements. of. For example, the control plane network element is a session management network element, and the session management network element may obtain the first delay information from a policy control function network element, or may obtain it from an application function network element through a policy control function network element.
之后,控制面网元根据数据流的入端口的时间信息和第一传输时延获取该用户面网元的时间信息。控制面网元根据数据流的入端口的时间信息和第一传输时延获取该用户面网元的时间信息与控制面网元根据数据流的入端口的时间信息和内部传输时延获取该数据流的出端口的时间信息的方式类似,具体可以参见前述内容,此处不再赘述。After that, the control plane network element obtains the time information of the user plane network element according to the time information of the ingress port of the data stream and the first transmission delay. The control plane network element obtains the time information of the user plane network element according to the time information of the ingress port of the data flow and the first transmission delay, and the control plane network element obtains the data according to the time information of the ingress port of the data flow and the internal transmission delay. The method of the time information of the outgoing port of the stream is similar. For details, please refer to the foregoing content, which will not be repeated here.
方式二、控制面网元根据数据流的出端口的时间信息确定该用户面网元的时间信息。Manner 2: The control plane network element determines the time information of the user plane network element according to the time information of the outgoing port of the data stream.
控制面网元可以先获取第二传输时延,该第二传输时延为第二终端设备到用户面网元间的传输时延。控制面网元获取第二传输时延的方式与控制面网元获取第一传输时延的方式相同,具体可以参见前述内容,此处不再赘述。The control plane network element may first obtain the second transmission delay, and the second transmission delay is the transmission delay between the second terminal device and the user plane network element. The manner in which the control plane network element obtains the second transmission delay is the same as the manner in which the control plane network element obtains the first transmission delay. For details, please refer to the foregoing content, which will not be repeated here.
之后,控制面网元根据数据流的出端口的时间信息和第二传输时延获取该用户面网元的时间信息。控制面网元根据数据流的出端口的时间信息和第二传输时延获取该用户面网元的时间信息与控制面网元根据数据流的入端口的时间信息和内部传输时延获取该数据流的出端口的时间信息的方式类似,具体可以参见前述内容,此处不再赘述。After that, the control plane network element obtains the time information of the user plane network element according to the time information of the outgoing port of the data stream and the second transmission delay. The control plane network element obtains the time information of the user plane network element according to the time information of the outgoing port of the data stream and the second transmission delay, and the control plane network element obtains the data according to the time information of the ingress port of the data stream and the internal transmission delay. The method of the time information of the outgoing port of the stream is similar. For details, please refer to the foregoing content, which will not be repeated here.
本申请实施例并不限定用户面网元的时间信息的具体构成,例如,用户面网元的时间信息包括门控周期的第三基准时间以及该第一门控列表,其中,门控周期的第三基准时间是根据门控周期的第一基准时间与第一传输时延(的和值)确定的,或根据门控周期的第 二基准时间与第二传输时延(的差值)确定的。又例如,用户面网元的时间信息可以包括下面信息的部分或全部:该数据流中的报文到达用户面网元的最早时间,该数据流中的报文到达用户面网元的最晚时间。The embodiment of the present application does not limit the specific composition of the time information of the user plane network element. For example, the time information of the user plane network element includes the third reference time of the gating period and the first gating list, where the time information of the gating period The third reference time is determined according to the first reference time of the gating period and the first transmission delay (the sum), or according to the second reference time of the gating period and the second transmission delay (the difference) of. For another example, the time information of the user plane network element may include part or all of the following information: the earliest time that a message in the data flow reaches the user plane network element, and the latest that a message in the data flow reaches the user plane network element time.
用户面网元接收到用户面网元的时间信息后执行的方法与用户面网元接收到该数据流的出端口的时间信息后执行的方法类似,具体可参见前述内容,此处不再赘述。The method executed by the user plane network element after receiving the time information of the user plane network element is similar to the method executed by the user plane network element after receiving the time information of the outgoing port of the data stream. For details, please refer to the foregoing content and will not be repeated here. .
基于如图4a~4b所示的网络架构,以应用功能网元为AF网元,会话管理网元为SMF网元,策略控制功能网元为PCF网元,集中网络配置网元为CNC网元为例,结合图7对如图6所示的通信方法进行进一步介绍:Based on the network architecture shown in Figures 4a to 4b, 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, and the centralized network configuration network element is the CNC network element. As an example, the communication method shown in Figure 6 will be further introduced in conjunction with Figure 7:
步骤701:CNC网元配置第一策略,该第一策略指示不同数据流入端口时间信息中的第一门控列表不同。Step 701: The CNC network element configures a first strategy, and the first strategy indicates that the first gating list in the time information of different data flows into the port is different.
需要说明的是,每个门控列表都对应一个门控标识(gate ID),第一策略指示不同数据流的入端口时间信息中的第一门控列表不同可以理解为不同数据流的入端口时间信息中的gate ID不同。It should be noted that each gate control list corresponds to a gate ID, and the first strategy indicates that the first gate control list in the ingress port time information of different data streams is different, which can be understood as the ingress ports of different data streams. The gate ID in the time information is different.
本申请实施例并不限定CNC网元配置第一策略的方式,第一策略可以是默认设置的;也可以是CNC网元在其他网元的指示下配置的。The embodiment of the present application does not limit the manner in which the CNC network element configures the first strategy. The first strategy may be set by default; it may also be configured by the CNC network element under the instructions of other network elements.
示例性的,5G系统中的AF网元可以向CNC网元发送第一指示,该第一指示指示数据流的入端口不复用同一gate ID。本申请实施例并不限定第一指示的指示方式,例如可以通过预先约定的字符指示数据流不复用同一gate ID;也可以指示虚拟交换节点的端口支持的时间信息的数量与支持的数据流的数量相同,间接指示数据流不复用同一gate ID。Exemplarily, the AF network element in the 5G system may send a first indication to the CNC network element, where the first indication indicates that the ingress port of the data stream does not reuse the same gate ID. The embodiment of this application does not limit the first indication method. For example, it can indicate that the data stream does not reuse the same gate ID through pre-appointed characters; it can also indicate the number of time information supported by the port of the virtual switching node and the data stream supported. The number of is the same, which indirectly indicates that the data stream does not reuse the same gate ID.
另外,需要说明的是,本申请实施例并不限定AF网元获取第一指示的方式,第一指示可以是AF生成的,也可以是UPF网元或者UE网元通过SMF网元发送到PCF网元的,还可以是SMF网元生成发送给PCF网元,之后由PCF网元发送给AF网元的,还可以是PCF直接生成后,由PCF网元直接或者通过NEF网元发送到AF网元的。In addition, it should be noted that the embodiment of the application does not limit the way the AF network element obtains the first indication. The first indication may be generated by the AF, or sent by the UPF network element or the UE network element to the PCF through the SMF network element. For the network element, it can also be generated by the SMF network element and sent to the PCF network element, and then sent by the PCF network element to the AF network element. It can also be directly generated by the PCF network element and sent to the AF directly or through the NEF network element. Network element.
步骤702:CNC网元在接收到流创建请求后,确定数据流的传输路径、数据终端和各交换节点上的转发规则(如该数据流的流特征、该数据流的入端口标识以及该数据流的出端口的标识)、该数据流的流标识(identity document,ID)以及各交换节点上该数据流的入端口的时间信息。其中任一交换节点上该数据流的入端口的时间信息用于指示该数据流的入端口处理(入端口的处理该数据流中的报文可以理解为接收或缓存该数据流中的报文)该数据流中的报文的时间窗口。Step 702: After receiving the flow creation request, the CNC network element determines the transmission path of the data flow, the data terminal and the forwarding rules on each switching node (such as the flow characteristics of the data flow, the ingress port identification of the data flow, and the data flow). The identification of the outgoing port of the flow), the flow identification (identity document, ID) of the data flow, and the time information of the ingress port of the data flow on each switching node. The time information of the ingress port of the data stream on any switching node is used to indicate the ingress port processing of the data stream (the processing of the ingress port can be understood as receiving or buffering the packets in the data stream. ) The time window of the message in the data stream.
若数据流的传输路径中包括虚拟交换节点,CNC网元可以向AF网元发送该虚拟交换节点上数据流的转发规则、该数据流的流标识与该数据流的流特征的对应关系,还可以向AF网元发送该虚拟交换节点上该数据流的入端口的时间信息(后续简称为该数据流的入端口的时间信息)。If the transmission path of the data stream includes a virtual switching node, the CNC network element can send to the AF network element the forwarding rule of the data stream on the virtual switching node, the correspondence between the stream identifier of the data stream and the stream characteristics of the data stream, and also The time information of the ingress port of the data flow on the virtual switching node (hereinafter referred to as the time information of the ingress port of the data stream) can be sent to the AF network element.
该数据流可以是上行流,相应的,该数据流的入端口的时间信息即为该数据流UE侧端口的时间信息。The data stream may be an upstream stream. Correspondingly, the time information of the ingress port of the data stream is the time information of the UE-side port of the data stream.
该数据流可以是下行流,相应的,该数据流的入端口的时间信息即为该数据流UPF侧端口的时间信息。The data stream may be a downstream stream. Correspondingly, the time information of the ingress port of the data stream is the time information of the UPF side port of the data stream.
在本申请实施例中是以AF网元从CNC网元获取该数据流的入端口的时间信息为例进行说明的,事实上,AF网元也可以采用其他方式获取该数据流的入端口的时间信息,例如,该数据流的入端口的时间信息是预先配置在AF网元的或者由AF网元计算生成的。In the embodiment of this application, the AF network element obtains the time information of the ingress port of the data stream from the CNC network element as an example for description. In fact, the AF network element can also obtain the data stream’s ingress port information in other ways. The time information, for example, the time information of the ingress port of the data stream is pre-configured in the AF network element or calculated and generated by the AF network element.
需要说明的是,在如图7所示的实施例应用于以5G系统作为TSN中的虚拟交换节点的网络架构(如图4a或4b所示的架构)。如图6所示的实施例也可应用于其他网络架构,本申请实施例并不限定,当应用于其他网络架构时,AF网元在步骤702中获取的时间信息可以不是入端口的时间信息,可以是针对PDU会话或者UE的时间信息。It should be noted that the embodiment shown in FIG. 7 is applied to a network architecture that uses a 5G system as a virtual switching node in the TSN (the architecture shown in FIG. 4a or 4b). The embodiment shown in FIG. 6 can also be applied to other network architectures. The embodiment of this application is not limited. When applied to other network architectures, the time information acquired by the AF network element in step 702 may not be the time information of the ingress port. , It can be time information for PDU session or UE.
步骤703:AF网元根据该数据流的入端口的时间信息和内部传输时延确定该数据流的出端口的时间信息,该数据流的出端口的时间信息用于指示该数据流的出端口处理该数据流中的报文的时间窗口(出端口的处理该数据流中的报文可以理解为发送或缓存该数据流中的报文)。Step 703: The AF network element determines the time information of the outgoing port of the data flow according to the time information of the ingress port of the data flow and the internal transmission delay, and the time information of the outgoing port of the data flow is used to indicate the outgoing port of the data flow The time window for processing the packets in the data stream (the processing of the packets in the data stream by the egress port can be understood as sending or buffering the packets in the data stream).
内部传输时延为5G系统在进行数据传输时的传输时延是从UE(或者UP2)与UPF网元(或者UP1侧)之间传输数据时的传输时延,与5G系统上报给CNC网元的内部传输时延相同。The internal transmission delay is the transmission delay of the 5G system during data transmission. It is the transmission delay when data is transmitted between the UE (or UP2) and the UPF network element (or UP1 side), and is reported to the CNC network element from the 5G system. The internal transmission delay is the same.
本申请实施例并不限定该数据流的入端口的时间信息的指示方式,下面列举其中几种:The embodiment of the present application does not limit the indication mode of the time information of the ingress port of the data flow, and several of them are listed below:
第一种:该数据流的出端口的时间信息包括下列信息的部分或全部:该数据流中的报文到达出端口的最早时间、该数据流中的报文到达出端口的最晚时间。The first type: the time information of the outgoing port of the data flow includes part or all of the following information: the earliest time for the packets in the data flow to reach the outgoing port, and the latest time for the packets in the data flow to reach the outgoing port.
AF网元可以根据该数据流中的报文到达入端口的最早时间与内部传输时延的和值确定该数据流中的报文到达出端口的最早时间,在本申请实施例中,该数据流中的报文到达出端口的最早时间也可称为该数据流的出端口处理该数据流中的报文的最早时间或该数据流中的报文最早从出端口发出的时间。The AF network element can determine the earliest time for the packet in the data flow to reach the outgoing port according to the sum of the earliest time for the packet in the data flow to reach the ingress port and the internal transmission delay. In this embodiment of the application, the data The earliest time for a packet in a stream to arrive at the outgoing port may also be referred to as the earliest time for the outgoing port of the data stream to process the packets in the data stream or the earliest time for the packets in the data stream to be sent from the outgoing port.
AF网元可以根据该数据流中的报文到达入端口的最晚时间与内部传输时延的和值确定该数据流中的报文到达出端口的最晚时间,在本申请实施例中,该数据流中的报文到达出端口的最晚时间也可称为该数据流的出端口处理该数据流中的报文的最晚时间或该数据流中的报文最晚从出端口发出的时间。The AF network element can determine the latest time that the packets in the data flow arrive at the outgoing port according to the sum of the latest time that the packets in the data flow arrive at the ingress port and the internal transmission delay. In this embodiment of the application, The latest time for the packets in the data flow to reach the outgoing port can also be called the latest time for the outgoing port of the data flow to process the packets in the data flow or the latest time for the packets in the data flow to be sent from the outgoing port. time.
该数据流的出端口的时间信息中可以同时包括数据流中的报文到达出端口的最晚时间和最晚时间,也即数据流中的报文到达出端口的最晚时间和最晚时间可以作为该数据流的出端口发送该数据流中的报文的时间窗口,该数据流的出端口可以在该时间窗口内处理该数据流中的报文。The time information of the outgoing port of the data flow can include the latest time and the latest time for the packets in the data flow to reach the outgoing port at the same time, that is, the latest time and the latest time for the packets in the data flow to reach the outgoing port. It can be used as the time window for the outgoing port of the data stream to send the packets in the data stream, and the outgoing port of the data stream can process the packets in the data stream within the time window.
第二种:数据流的出端口的时间信息包括入端口门控周期的第二基准时间、以及数据流的入端口的第一门控列表。其中,入端口门控周期的第二基准时间是根据入端口门控周期的第一基准时间以及内部传输时延确定的。入端口门控周期的第一基准时间是预先定义的入端口门控周期的起始时间。The second type: the time information of the outgoing port of the data stream includes the second reference time of the ingress port gating period and the first gating list of the ingress port of the data stream. Wherein, the second reference time of the ingress port gating period is determined according to the first reference time of the ingress port gating period and the internal transmission delay. The first reference time of the ingress port gating period is the pre-defined start time of the ingress port gating period.
第三种:数据流的出端口的时间信息包括入端口门控周期的第一基准时间、以及第二门控列表。其中,第二门控列表是根据第一门控列表以及内部传输时延确定的。入端口门控周期的第一基准时间是预先定义的入端口门控周期的起始时间。The third type: the time information of the outgoing port of the data stream includes the first reference time of the ingress port gating period and the second gating list. Wherein, the second gate control list is determined according to the first gate control list and the internal transmission delay. The first reference time of the ingress port gating period is the pre-defined start time of the ingress port gating period.
第四种:数据流的出端口的时间信息包括数据流的入端口的时间信息和内部传输时延。The fourth type: the time information of the outgoing port of the data stream includes the time information of the incoming port of the data stream and the internal transmission delay.
AF网元可以不做处理,直接将数据流的入端口的时间信息和内部传输时延作为数据流的出端口的时间信息。The AF network element can directly use the time information of the ingress port of the data stream and the internal transmission delay as the time information of the egress port of the data stream without processing.
步骤704:AF网元触发PCF网元发起承载该数据流的PDU会话的PCC规则创建/修改过程,向PCF网元发送创建/修改该PDU会话的PCC规则所需的信息,并将该数据流的出端口的时间信息发送给PCF网元。Step 704: The AF network element triggers the PCF network element to initiate the PCC rule creation/modification process of the PDU session carrying the data flow, and sends the information required to create/modify the PCC rule of the PDU session to the PCF network element, and transfer the data flow The time information of the outgoing port is sent to the PCF network element.
配置PDU会话的PCC规则所需要的信息包括但不限于:该数据流的流特征、该会话 的时延信息、会话的标识等。The information required to configure the PCC rules of the PDU session includes but is not limited to: the flow characteristics of the data flow, the delay information of the session, the identifier of the session, and so on.
可选的,AF网元向PCF网元发送数据流的出端口的时间信息时,还可以发送该出端口的标识(指示该数据流的出端口的时间信息是针对该出端口的)或该数据流的流特征(指示该数据流的出端口的时间信息是针对该数据流的)。Optionally, when the AF network element sends the time information of the outgoing port of the data flow to the PCF network element, it can also send the identification of the outgoing port (indicating that the time information of the outgoing port of the data flow is for the outgoing port) or the The flow characteristics of the data flow (the time information indicating the outgoing port of the data flow is for the data flow).
需要说明的是,由于CNC网元在向AF网元发送该数据流的入端口的时间信息的信息时,可以同时发送该数据流的ID,AF网元可以根据预先接收的该数据流的流特征、该入端口标识、出端口标识、该数据流的ID之间的对应关系确定该出端口标识和该数据流的流特征。It should be noted that, when the CNC network element sends the time information of the ingress port of the data stream to the AF network element, it can send the ID of the data stream at the same time, and the AF network element can send the data stream according to the pre-received data stream. The correspondence between the characteristics, the ingress port identifier, the egress port identifier, and the ID of the data flow determines the egress port identifier and the flow characteristic of the data flow.
作为一种可能的实施方式,在第四种数据流的出端口的时间信息的指示方式下,AF网元可以采用如下两种信息发送方式:As a possible implementation manner, in the fourth way of indicating the time information of the outgoing port of the data stream, the AF network element may adopt the following two information sending methods:
方式一:将数据流的入端口的时间信息和内部传输时延通过出端口的端口管理容器发送给PCF网元。Method 1: The time information of the ingress port of the data stream and the internal transmission delay are sent to the PCF network element through the port management container of the egress port.
目前,AF网元与PCF网元、PCF网元与SMF网元、SMF网元与UPF网元、SMF网元与UE之间定义有端口管理容器,分别有入端口的端口管理容器和出端口的端口管理容器。上述两个网元之间可以通过入端口的端口管理容器发送802.1Qci定义下的入端口的时间信息,两个网元之间可以通过出端口的端口管理容器发送802.1Qbv定义下的出端口的时间信息。At present, there are port management containers defined between AF network elements and PCF network elements, PCF network elements and SMF network elements, SMF network elements and UPF network elements, SMF network elements and UE, respectively, which have port management containers for ingress ports and egress ports. The port management container. The above two network elements can send the time information of the ingress port defined by 802.1Qci through the port management container of the ingress port, and the time information of the outgoing port defined by 802.1Qbv can be sent between the two network elements through the port management container of the egress port. Time information.
在本申请实施例中,AF网元可以通过出端口的端口管理容器发送数据流的入端口的时间信息和内部传输时延。In the embodiment of the present application, the AF network element may send the time information of the ingress port of the data stream and the internal transmission delay through the port management container of the egress port.
需要说明的是,PCF网元若保存有内部传输时延或计算内部传输时延所需的信息,AF网元可以通过出端口的端口管理容器只发送数据流的入端口的时间信息。其中,计算内部传输时延所需的信息包括但不限于终端设备的驻留时延(终端设备的驻留时延为终端设备和其对应的UP2之间转发报文的传输时延)以及终端设备到UPF网元的报文时延预算(packet delay budget,PDB)。It should be noted that if the PCF network element stores the internal transmission delay or the information required for calculating the internal transmission delay, the AF network element can only send the time information of the ingress port of the data stream through the port management container of the egress port. Among them, the information required to calculate the internal transmission delay includes, but is not limited to, the residence delay of the terminal device (the residence delay of the terminal device is the transmission delay of the message forwarded between the terminal device and its corresponding UP2) and the terminal Packet delay budget (PDB) from the device to the UPF network element.
方式二:将数据流的入端口的时间信息和内部传输时延通过入端口的端口管理容器发送给PCF网元。该种方式与方式一类似,具体可参见前述内容,此处不再赘述。Method 2: The time information of the ingress port of the data stream and the internal transmission delay are sent to the PCF network element through the port management container of the ingress port. This method is similar to the first method. For details, please refer to the foregoing content, which will not be repeated here.
步骤705:PCF网元向SMF网元发送转发规则创建请求,指示创建承载该数据流的PDU会话的转发规则,该转发规则创建请求中包括该数据流的出端口的时间信息以及创建承载该数据流的PDU会话的转发规则所需的信息(如PDU会话QoS流的5QI等信息)。Step 705: The PCF network element sends a forwarding rule creation request to the SMF network element, instructing to create a forwarding rule for the PDU session carrying the data flow. The forwarding rule creation request includes the time information of the outgoing port of the data flow and the creation of a forwarding rule to carry the data Information required by the forwarding rules of the PDU session of the flow (such as information such as the 5QI of the PDU session QoS flow).
可选的,PCF网元向SMF网元发送数据流的出端口的时间信息时,还可以发送该出端口的标识(指示该数据流的出端口的时间信息是针对该出端口的)或该数据流的流特征(指示该数据流的出端口的时间信息是针对该数据流的)。Optionally, when the PCF network element sends the time information of the outgoing port of the data flow to the SMF network element, it can also send the identification of the outgoing port (indicating that the time information of the outgoing port of the data flow is for the outgoing port) or the The flow characteristics of the data flow (the time information indicating the outgoing port of the data flow is for the data flow).
类似的,作为一种可能的实施方式,在第四种数据流的出端口的时间信息的指示方式下,PCF网元可以采用如下两种信息发送方式:Similarly, as a possible implementation, in the fourth way of indicating the time information of the outgoing port of the data stream, the PCF network element can use the following two information sending methods:
方式一:将数据流的入端口的时间信息和内部传输时延通过出端口的端口管理容器发送给SMF网元。该种方式与PCF网元采用的方式一类似,具体可参见前述内容,此处不再赘述。Method 1: The time information of the ingress port of the data stream and the internal transmission delay are sent to the SMF network element through the port management container of the egress port. This method is similar to the first method adopted by the PCF network element. For details, please refer to the foregoing content, which will not be repeated here.
需要说明的是,SMF网元若保存有内部传输时延或计算内部传输时延所需的信息,PCF网元可以通过出端口的端口管理容器只发送数据流的入端口的时间信息。It should be noted that if the SMF network element stores internal transmission delay or information required for calculating the internal transmission delay, the PCF network element can only send the time information of the ingress port of the data stream through the port management container of the egress port.
方式二:将数据流的入端口的时间信息和内部传输时延通过入端口的端口管理容器发 送给PCF网元。该种方式与PCF网元采用的方式二类似,具体可参见前述内容,此处不再赘述。Method 2: The time information of the ingress port of the data stream and the internal transmission delay are sent to the PCF network element through the port management container of the ingress port. This method is similar to the second method adopted by the PCF network element. For details, please refer to the foregoing content, which will not be repeated here.
步骤706:SMF网元在接收到转发规则创建请求后,根据将该数据流的出端口的时间信息发送给出端口对应的网元。Step 706: After receiving the forwarding rule creation request, the SMF network element sends the network element corresponding to the port according to the time information of the outgoing port of the data stream.
SMF网元在将该数据流的出端口的时间信息发送给对应的网元之前,还需要确定该数据流的出端口,进而确定该出端口对应的网元。本申请实施例并不限定SMF网元确定该数据流的出端口的方式。例如,SMF网元在接收到该数据流的出端口的时间信息时,接收到该出端口的标识,SMF网元可以根据本地保存的端口标识与PDU会话的对应关系确定该出端口对应的网元为UE或UPF网元,当该出端口标识不对应PDU会话,则该出端口对应的网元为UPF网元;若对应PDU会话,则该出端口对应的网元为UE。Before the SMF network element sends the time information of the outgoing port of the data stream to the corresponding network element, it also needs to determine the outgoing port of the data stream, and then determine the network element corresponding to the outgoing port. The embodiment of the present application does not limit the manner in which the SMF network element determines the outgoing port of the data flow. For example, when the SMF network element receives the time information of the outgoing port of the data stream, it receives the identifier of the outgoing port. The SMF network element can determine the network corresponding to the outgoing port according to the correspondence between the port identifier stored locally and the PDU session. The element is a UE or a UPF network element. When the egress port identifier does not correspond to a PDU session, the network element corresponding to the egress port is a UPF network element; if it corresponds to a PDU session, the network element corresponding to the egress port is a UE.
1)、SMF网元向UPF网元发送该数据流的出端口的时间信息。1) The SMF network element sends the time information of the outgoing port of the data stream to the UPF network element.
UPF网元在接收到数据流的出端口的时间信息后,可以根据数据流的出端口的时间信息指示的时间窗口发送该数据流中的报文。UPF网元根据数据流的出端口的时间信息确定该时间窗口的方式可参见前述内容,此处不再赘述。After receiving the time information of the outgoing port of the data stream, the UPF network element may send the packet in the data stream according to the time window indicated by the time information of the outgoing port of the data stream. The manner in which the UPF network element determines the time window according to the time information of the outgoing port of the data stream can be referred to the foregoing content, and will not be repeated here.
UPF网元在接收到该数据流中的报文后,可以先缓存接收到的该数据流中的报文,在缓存到该时间窗口时,发送缓存的该数据流中的报文。After receiving the message in the data stream, the UPF network element may first buffer the received message in the data stream, and when the time window is buffered, send the buffered message in the data stream.
UPF网元在发送缓存的该数据流中的报文时,可以先将缓存的该数据流中的报文发送到该出端口的发送队列中,该出端口的发送队列是基于出端口的流分类信息进行调度。When the UPF network element sends the buffered packets in the data flow, it can first send the buffered packets in the data flow to the sending queue of the outgoing port. The sending queue of the outgoing port is based on the flow of the outgoing port. Sort information for scheduling.
这种方式下,出端口的流分类信息中门控状态为打开的流分类指示的时间窗口可以比出端口的时间信息指示的时间窗口靠后。例如,出端口的时间信息指示的时间窗口是6-7ms,流分类指示的时间窗口是8-10ms。UPF网元可以将缓存的该数据流中的报文缓存至6-7ms,之后在将缓存的该数据流中的报文发送到该出端口的发送队列,在流分类指示的时间窗口发送该数据流中的报文。In this manner, in the flow classification information of the egress port, the time window indicated by the flow classification whose gate control status is open can be later than the time window indicated by the time information of the egress port. For example, the time window indicated by the time information of the outgoing port is 6-7 ms, and the time window indicated by the flow classification is 8-10 ms. The UPF network element can buffer the buffered packets in the data flow for 6-7ms, and then send the buffered packets in the data flow to the sending queue of the outgoing port, and send the packets in the time window indicated by the flow classification. Packets in the data stream.
UPF网元在发送缓存的该数据流中的报文时,也可以直接通过出端口发送该数据流中的报文。这种方式下,出端口的流分类信息中门控状态为打开的流分类指示的时间窗口包括该出端口的时间信息指示的时间窗口靠后。例如,出端口的时间信息指示的时间窗口是6-7ms,流分类指示的时间窗口是5-10ms。UPF网元可以直接在出端口的时间信息指示的时间窗口中发送缓存的该数据流中的报文。When the UPF network element sends the buffered packets in the data stream, it can also directly send the packets in the data stream through the outgoing port. In this manner, in the flow classification information of the egress port, the time window indicated by the flow classification whose gate control state is open includes the time window indicated by the time information of the egress port. For example, the time window indicated by the time information of the outgoing port is 6-7 ms, and the time window indicated by the flow classification is 5-10 ms. The UPF network element may directly send the buffered packets in the data stream in the time window indicated by the time information of the outgoing port.
2)、SMF网元向UE发送该数据流的出端口的时间信息。2) The SMF network element sends the time information of the outgoing port of the data stream to the UE.
UE网元在接收到数据流的出端口的时间信息后,可以根据数据流的出端口的时间信息指示的时间窗口发送该数据流中的报文。UE根据数据流的出端口的时间信息指示的时间窗口发送该数据流中的报文与UPF网元根据数据流的出端口的时间信息指示的时间窗口发送该数据流中的报文的方式类似,具体可参见前述内容,此处不再赘述。After receiving the time information of the outgoing port of the data stream, the UE network element may send the packet in the data stream according to the time window indicated by the time information of the outgoing port of the data stream. The UE sends the packets in the data stream according to the time window indicated by the time information of the outgoing port of the data stream and the manner in which the UPF network element sends the packets in the data stream according to the time window indicated by the time information of the outgoing port of the data stream is similar For details, please refer to the foregoing content, which will not be repeated here.
如图7所示的实施例中以AF网元确定该数据流的出端口的时间信息为例,作为一种可能的实施方式,也可以由其他网元确定该数据流的出端口的时间信息。下面分别进行说明:In the embodiment shown in FIG. 7, the AF network element determines the time information of the outgoing port of the data flow as an example. As a possible implementation manner, other network elements may also determine the time information of the outgoing port of the data flow. . Explained separately as follows:
如图8所示,为本申请实施例提供的一种通信方法,该方法中PCF网元生成该数据流的出端口的时间信息,该方法包括:As shown in FIG. 8, a communication method provided by an embodiment of this application, in which the PCF network element generates time information of the outgoing port of the data stream, the method includes:
步骤801:与步骤701相同,可参见步骤701的相关描述,此处不再赘述。Step 801: Same as step 701, please refer to the related description of step 701, which will not be repeated here.
步骤802:与步骤702相同,可参见步骤702的相关描述,此处不再赘述。Step 802: the same as step 702, please refer to the related description of step 702, which will not be repeated here.
步骤803:AF网元触发PCF网元发起PCC rule创建/修改过程,创建/修改承载该数据流的PDU会话的PCC规则,并通过入端口的端口管理容器将该数据流的入端口的时间信息发送给PCF网元。Step 803: The AF network element triggers the PCF network element to initiate the PCC rule creation/modification process, creates/modifies the PCC rule of the PDU session carrying the data flow, and uses the port management container of the ingress port to manage the time information of the data flow’s ingress port Sent to the PCF network element.
步骤804:PCF网元根据该数据流的入端口的时间信息以内部传输时延确定该数据流的出端口的时间信息。PCF网元确定该数据流的出端口的时间信息的方式可以参见步骤603的相关说明,区别在与步骤603的执行主体为AF网元,步骤803的执行主体为PCF网元。Step 804: The PCF network element determines the time information of the outgoing port of the data flow according to the time information of the ingress port of the data flow with internal transmission delay. The manner in which the PCF network element determines the time information of the outgoing port of the data stream can refer to the related description of step 603, which is different from the execution subject of step 603 as the AF network element, and the execution subject of step 803 is the PCF network element.
步骤805:与步骤705相同,可参见步骤705的相关描述,此处不再赘述。Step 805: same as step 705, please refer to the related description of step 705, which will not be repeated here.
步骤806:与步骤706相同,可参见步骤706的相关描述,此处不再赘述。Step 806: same as step 706, please refer to the related description of step 706, which will not be repeated here.
如图9所示,为本申请实施例提供的一种通信方法,该方法中SMF网元生成该数据流的出端口的时间信息,该方法包括:As shown in FIG. 9, a communication method provided by an embodiment of this application, in which the SMF network element generates time information of the outgoing port of the data stream, the method includes:
步骤901:与步骤701相同,可参见步骤701的相关描述,此处不再赘述。Step 901: same as step 701, please refer to the related description of step 701, which will not be repeated here.
步骤902:与步骤702相同,可参见步骤702的相关描述,此处不再赘述。Step 902: Same as step 702, please refer to the related description of step 702, which will not be repeated here.
步骤903:与步骤803相同,可参见步骤803的相关描述,此处不再赘述。Step 903: the same as step 803, please refer to the related description of step 803, which will not be repeated here.
步骤904:PCF网元向SMF发送转发规则创建请求,并通过入端口的端口管理容器将该数据流的入端口的时间信息发送给SMF网元。Step 904: The PCF network element sends a forwarding rule creation request to the SMF, and sends the time information of the ingress port of the data flow to the SMF network element through the port management container of the ingress port.
步骤905:SMF网元根据该数据流的入端口的时间信息以本地保存的内部传输时延确定该数据流的出端口的时间信息。Step 905: The SMF network element determines the time information of the outgoing port of the data flow according to the time information of the incoming port of the data flow and the internal transmission delay stored locally.
在步骤中,SMF网元还先需要确定该数据流的出端口。本申请实施例并不限定SMF网元确定该数据流的出端口的方式。例如,PCF网元发送给SMF网元的信息中携带有该出端口的标识,又例如,SMF网元本地保存有数据流的信息(如流特征)与出端口的对应关系,SMF网元可以基于数据流与出端口的对应关系,根据PCC rule创建/修改请求携带的数据流的信息确定该数据流的出端口。In the step, the SMF network element also needs to determine the outgoing port of the data stream. The embodiment of the present application does not limit the manner in which the SMF network element determines the outgoing port of the data flow. For example, the information sent by the PCF network element to the SMF network element carries the identification of the outgoing port. For another example, the SMF network element locally stores the correspondence between data flow information (such as flow characteristics) and the outgoing port, and the SMF network element may Based on the correspondence between the data stream and the outgoing port, the outgoing port of the data stream is determined according to the information of the data stream carried in the PCC rule creation/modification request.
步骤906:与步骤706相同,可参见步骤706的相关描述,此处不再赘述。Step 906: the same as step 706, please refer to the related description of step 706, which will not be repeated here.
在如图6~9所示的实施例中,该数据流为UE到UPF网元之间的数据流,也即该数据流为上行流或下行流,本申请实施例提供的方法也适用于该数据流为UE间的数据流的情况,也即可以应用于如图4b所示的网络架构中。In the embodiments shown in Figures 6-9, the data flow is a data flow between the UE and the UPF network element, that is, the data flow is an upstream flow or a downstream flow, and the method provided in the embodiments of this application is also applicable to The data flow is the case of the data flow between UEs, that is, it can be applied to the network architecture as shown in FIG. 4b.
下面结合图10对本申请实施例提供的另一种通信方法进行说明,在如图10所示的实施例中,以数据流为UE1到UE2的数据流,该数据流中包括UE1到UPF网元的上行流以及UPF网元到UE2的下行流为例进行说明,其中,该数据流的内部传输时延包括第一传输时延以及第二传输时延,其中第一传输时延为UE1到UPF网元的传输时延,第二传输时延为UE2到UPF网元的传输时延。The following describes another communication method provided by an embodiment of the present application with reference to FIG. 10. In the embodiment shown in FIG. 10, the data stream is the data stream from UE1 to UE2, and the data stream includes UE1 to UPF network elements. The upstream flow from the UPF network element to the UE2 and the downstream flow from the UPF network element to UE2 are described as examples. The internal transmission delay of the data flow includes the first transmission delay and the second transmission delay, and the first transmission delay is from UE1 to UPF. The transmission delay of the network element, and the second transmission delay is the transmission delay from UE2 to the UPF network element.
步骤1001:与步骤901相同,可参见步骤901的相关描述,此处不再赘述。Step 1001: Same as step 901, please refer to the related description of step 901, which will not be repeated here.
步骤1002:与步骤902相同,可参见步骤902的相关描述,此处不再赘述。Step 1002: Same as step 902, please refer to the related description of step 902, which will not be repeated here.
步骤1003:与步骤903相同,可参见步骤903的相关描述,此处不再赘述。Step 1003: Same as step 903, please refer to the related description of step 903, which will not be repeated here.
步骤1004:与步骤904相同,可参见步骤904的相关描述,此处不再赘述。Step 1004: the same as step 904, please refer to the related description of step 904, which will not be repeated here.
步骤1005:SMF网元根据该数据流的入端口的时间信息以及内部传输时延生成该数据流的出端口的时间信息,在该数据流为UE间的数据流的情况下,该数据流的出端口的时间信息为UE2侧端口的时间信息,UE2侧端口的时间信息指示了UE发送该数据流中的报文的时间窗口。Step 1005: The SMF network element generates the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay. If the data stream is a data stream between UEs, the data stream The time information of the egress port is the time information of the UE2 side port, and the time information of the UE2 side port indicates the time window for the UE to send the packet in the data stream.
执行该步骤时,SMF网元需要确定数据流的出端口,SMF网元确定该数据流的出端口的方式可以参见如图6所示的实施例中,SMF网元确定出端口的方法,具体可参见前述内容,此处不再赘述。另外,SMF网元还需要获取内部传输时延,该内部传输时延可以是SMF网元记录的,也可以通过PCF网元从AF网元获取的,也可以从PCF网元获取的。When performing this step, the SMF network element needs to determine the outgoing port of the data stream. The method for determining the outgoing port of the data stream by the SMF network element can refer to the embodiment shown in FIG. 6 for the method for determining the outgoing port of the SMF network element. Please refer to the foregoing content, which will not be repeated here. In addition, the SMF network element also needs to obtain the internal transmission delay. The internal transmission delay may be recorded by the SMF network element, obtained from the AF network element through the PCF network element, or obtained from the PCF network element.
SMF网元可以直接获取内部传输时延,也可以获取第一传输时延以及第二传输时延。若SMF网元本地记录了第一传输时延以,则SMF网元可以只第二传输时延,类似的,若SMF网元本地记录了第二传输时延以,则SMF网元可以只第一传输时延。The SMF network element may directly obtain the internal transmission delay, or may obtain the first transmission delay and the second transmission delay. If the SMF network element records the first transmission delay locally, the SMF network element can only have the second transmission delay. Similarly, if the SMF network element records the second transmission delay locally, the SMF network element can only have the second transmission delay. 1. Transmission delay.
步骤1006:SMF网元根据该数据流的入端口的时间信息或该数据流的出端口的时间信息确定UPF网元的时间信息。该UPF网元的时间信息与如图6所示的实施例中,该数据流为上行流时该数据流的出端口的时间信息指示的信息相同。Step 1006: The SMF network element determines the time information of the UPF network element according to the time information of the ingress port of the data stream or the time information of the egress port of the data stream. The time information of the UPF network element is the same as the information indicated by the time information of the outgoing port of the data flow when the data flow is an upstream flow in the embodiment shown in FIG. 6.
若SMF网元获取该数据流的入端口的时间信息,SMF网元可以根据该数据流的入端口的时间信息以及第一传输时延确定UPF网元的时间信息。若SMF网元获取该数据流的出端口的时间信息,SMF网元可以根据该数据流的入端口的时间信息以及第二传输时延确定UPF网元的时间信息。SMF网元确定UPF网元的时间信息可以参见如图6所示的实施例中AF网元确定该数据流的出端口的时间信息的方式,此处不再赘述。If the SMF network element obtains the time information of the ingress port of the data flow, the SMF network element may determine the time information of the UPF network element according to the time information of the ingress port of the data flow and the first transmission delay. If the SMF network element obtains the time information of the outgoing port of the data stream, the SMF network element may determine the time information of the UPF network element according to the time information of the ingress port of the data stream and the second transmission delay. For the SMF network element to determine the time information of the UPF network element, refer to the manner in which the AF network element determines the time information of the outgoing port of the data flow in the embodiment shown in FIG. 6, which will not be repeated here.
需要说明的是,UPF网元和UE可以处于不同的时钟域内,SMF网元生成的UPF网元侧端口的时间信息需要是UPF网元所在时钟域下的端口的时间信息。It should be noted that the UPF network element and the UE may be in different clock domains, and the time information of the UPF network element side port generated by the SMF network element needs to be the time information of the port under the clock domain where the UPF network element is located.
具体的,以SMF网元根据该数据流的入端口的时间信息以及第一传输时延确定UPF网元侧端口的时间信息为例,SMF网元可以先将数据流的入端口的时间信息以及第一传输时延转换为UPF网元所在时钟域下的数据流的入端口的时间信息以及第一传输时延,之后再根据UPF网元所在时钟域下的数据流的入端口的时间信息以及第一传输时延确定UPF网元的时间信息。SMF网元可以根据数据流的入端口的时间信息以及第一传输时延确定UE在时钟域下的UPF网元的时间信息,之后,在根据UE所在时钟域与UPF所在时钟域之间的时钟偏移(以及频率偏移)将UE在时钟域下的UPF网元的时间信息转换为UPF网元所在时钟域下的UPF网元侧端口的时间信息。其中,频率偏移指示两个时钟域中时钟频率的差异。时钟偏移以及频率偏移可以是SMF网元从PCF网元中获取的。Specifically, taking the SMF network element to determine the time information of the UPF network element side port according to the time information of the ingress port of the data stream and the first transmission delay as an example, the SMF network element may first determine the time information of the ingress port of the data stream and The first transmission delay is converted into the time information of the ingress port of the data stream under the clock domain where the UPF network element is located and the first transmission delay, and then according to the time information of the ingress port of the data stream under the clock domain where the UPF network element is located and The first transmission delay determines the time information of the UPF network element. The SMF network element can determine the time information of the UPF network element of the UE in the clock domain according to the time information of the ingress port of the data stream and the first transmission delay, and then, according to the clock between the clock domain where the UE is located and the clock domain where the UPF is located The offset (and frequency offset) converts the time information of the UPF network element of the UE in the clock domain into the time information of the UPF network element side port in the clock domain where the UPF network element is located. Among them, the frequency offset indicates the difference of the clock frequency in the two clock domains. The clock offset and the frequency offset may be obtained by the SMF network element from the PCF network element.
例如,该数据流的入端口的时间信息指示门控周期的起始时间为1点,门控周期长度为10毫秒(ms),门控周期内偏移2ms-3ms为门控状态的打开状态。若UPF网元所在时钟域和UE所述时钟域的时钟偏移为基于1点偏移5ms,频率偏移为2(指示UPF网元所在的时钟域的时钟比UE所在的时钟域的时钟快1倍),第一传输时钟域是以UE时钟域下记录的,大小为5ms。For example, the time information of the ingress port of the data stream indicates that the start time of the gating period is 1, the length of the gating period is 10 milliseconds (ms), and the offset of 2ms-3ms within the gating period is the open state of the gating state . If the clock domain where the UPF network element is located and the clock domain of the UE have a clock offset of 5ms based on 1 point, the frequency offset is 2 (indicating that the clock of the clock domain where the UPF network element is located is faster than the clock of the clock domain where the UE is located 1 times), the first transmission clock domain is recorded under the UE clock domain, and the size is 5ms.
第一传输时延在UPF时钟域下的大小,需要扩大1倍,大小为10ms,UPF所在的时钟域下的门控周期的起始时间为1点零15ms(UE所在时钟域下的门控起始时间1点加上时钟偏移以及UPF网元所在时钟域的第一传输时延),门控周期长度扩大1倍,为20ms,门控周期内偏移4-6ms的门控状态为打开。The size of the first transmission delay in the UPF clock domain needs to be doubled, and the size is 10ms. The start time of the gating period in the clock domain where the UPF is located is 1:00 15ms (the gating under the clock domain where the UE is located) The start time 1 point plus the clock offset and the first transmission delay of the clock domain where the UPF network element is located), the length of the gating period is doubled to 20ms, and the gating state with an offset of 4-6ms within the gating period is turn on.
步骤1007:SMF网元向UPF网元发送第一会话创建/修改请求,该第一会话创建/修改请求中包括UPF网元的时间信息。第一会话创建/修改请求可以指示配置发送该数据流的会话的转发规则或指示配置接收该数据流的会话的转发规则。Step 1007: The SMF network element sends a first session creation/modification request to the UPF network element, where the first session creation/modification request includes the time information of the UPF network element. The first session creation/modification request may instruct to configure the forwarding rule of the session that sends the data stream or instruct to configure the forwarding rule of the session that receives the data stream.
需要说明的是,在步骤1005中以SMF网元通过第一会话创建/修改请求向UPF网元发送UPF网元的时间信息为例进行说明,本申请实施例并不限定SMF网元将UPF网元的 时间信息携带在其他信息中发送给UPF网元。It should be noted that, in step 1005, the SMF network element sends the time information of the UPF network element to the UPF network element through the first session creation/modification request as an example. The embodiment of this application does not limit the SMF network element to the UPF network element. The time information of the element is carried in other information and sent to the UPF network element.
UPF网元接收到UPF网元的时间信息后,可以将该数据流中的报文缓存至UPF网元的时间信息指示的时间区间转发该数据流中的报文,也即在该时间区间内将缓存的该数据流中的报文发送至UE2。After the UPF network element receives the time information of the UPF network element, it can buffer the packets in the data stream to the time interval indicated by the time information of the UPF network element and forward the packets in the data stream, that is, within the time interval Send the buffered packets in the data stream to UE2.
步骤1008:SMF网元向UE2发送第二会话创建/修改请求,该第二会话创建/修改请求中包括该数据流的出端口的时间信息。第二会话创建/修改请求可以指示配置发送该数据流的会话的转发规则。Step 1008: The SMF network element sends a second session creation/modification request to UE2, and the second session creation/modification request includes time information of the outgoing port of the data stream. The second session creation/modification request may indicate to configure the forwarding rule of the session that sends the data stream.
UE2接收到第二会话创建/修改请求后,可以将该数据流中的报文缓存至该数据流的出端口的时间信息指示的时间窗口转发该数据流中的报文,也即在该时间窗口内将缓存的该数据流中的报文发出。After UE2 receives the second session creation/modification request, it can buffer the packets in the data stream to the time window indicated by the time information of the outgoing port of the data stream and forward the packets in the data stream, that is, at this time The buffered packets in the data stream are sent out in the window.
基于与方法实施例同一发明构思,本申请实施例还提供了一种通信装置,用于执行上述如图6~9所示的方法实施例中控制面网元(如AF网元、PCF网元、SMF网元)执行的方法,相关特征可参见上述方法实施例,此处不再赘述,如图11所示,该装置包括接收单元1101、处理单元1102以及发送单元1103。Based on the same inventive concept as the method embodiment, the embodiment of the application also provides a communication device for executing the control plane network element (such as AF network element, PCF network element) in the method embodiment shown in FIGS. 6-9. , SMF network element). Related features can be found in the foregoing method embodiments, which will not be repeated here. As shown in FIG. 11, the device includes a receiving unit 1101, a processing unit 1102, and a sending unit 1103.
接收单元1101,用于获取数据流的入端口的时间信息,数据流的入端口的时间信息指示入端口处理数据流中的报文的时间窗口。The receiving unit 1101 is configured to obtain the time information of the ingress port of the data stream, and the time information of the ingress port of the data stream indicates the time window for the ingress port to process the packets in the data stream.
处理单元1102,用于控制面网元根据数据流的入端口的时间信息和内部传输时延确定数据流的出端口的时间信息,数据流的出端口的时间信息指示出端口处理数据流中的报文的时间窗口,内部传输时延为入端口与出端口间的传输时延。The processing unit 1102 is used for the control plane network element to determine the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay. The time information of the outgoing port of the data stream indicates that the out port processes the data in the data stream. The time window of the message, the internal transmission delay is the transmission delay between the ingress port and the egress port.
发送单元1103,用于向出端口对应的网元发送数据流的出端口的时间信息。The sending unit 1103 is configured to send time information of the outgoing port of the data stream to the network element corresponding to the outgoing port.
在一种可能的实施方式中,控制面网元为应用功能网元,当发送单元1103向数据流的出端口对应的网元发送数据流的出端口的时间信息时,可以向策略控制功能网元发送该数据流的出端口的时间信息,策略控制功能网元再向会话管理网元发送数据流的出端口的时间信息。然后,会话管理网元可以向数据流的出端口对应的网元发送数据流的出端口的时间信息。In a possible implementation manner, the control plane network element is an application function network element. When the sending unit 1103 sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port of the data stream, it can send to the policy control function network. The element sends the time information of the outgoing port of the data stream, and the policy control function network element sends the time information of the outgoing port of the data stream to the session management network element. Then, the session management network element may send the time information of the egress port of the data stream to the network element corresponding to the egress port of the data stream.
在一种可能的实施方式中,控制面网元为策略控制功能网元,当发送单元1103向数据流的出端口对应的网元发送数据流的出端口的时间信息时,向会话管理网元发送数据流的出端口的时间信息;之后,会话管理网元向数据流的出端口对应的网元发送数据流的出端口的时间信息。In a possible implementation manner, the control plane network element is a policy control function network element. When the sending unit 1103 sends the time information of the data stream's egress port to the network element corresponding to the data stream's egress port, it sends to the session management network element Send the time information of the outgoing port of the data stream; then, the session management network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port of the data stream.
在一种可能的实施方式中,发送单元1103向会话管理网元发送数据流的出端口的时间信息的方式有许多种,本申请实施例并不限定,示例性的,发送单元1103可以向会话管理网元转发规则创建请求,转发规则创建请求用于请求创建承载数据流的会话的转发规则,转发规则创建请求包括数据流的出端口的时间信息。In a possible implementation manner, there are many ways for the sending unit 1103 to send the time information of the outgoing port of the data stream to the session management network element, which is not limited in the embodiment of the present application. As an example, the sending unit 1103 may send the session information to the session management network element. The management network element forwarding rule creation request, the forwarding rule creation request is used to request the creation of a forwarding rule of the session carrying the data stream, and the forwarding rule creation request includes the time information of the outgoing port of the data stream.
在一种可能的实施方式中,控制面网元为会话管理网元,处理单元1102根据数据流的入端口的时间信息和内部传输时延确定数据流的出端口的时间信息;之后,发送单元1103向出端口对应的网元发送所述数据流的出端口的时间信息。其中,接收单元1101在接收到数据流的入端口的时间信息后,处理单元1102可以根据预先保存的数据流的流特征、出端口标识以及入端口标识的对应关系(该对应关系可以是从应用功能网元获取的)确定该数据流的出端口,进而确定该数据流的出端口对应的网元,发送单元1103将数据流的出端口的时间信息发送给出端口对应的网元。In a possible implementation manner, the control plane network element is a session management network element, and the processing unit 1102 determines the time information of the outgoing port of the data stream according to the time information of the ingress port of the data stream and the internal transmission delay; after that, the sending unit 1103 sends the time information of the egress port of the data flow to the network element corresponding to the egress port. Among them, after the receiving unit 1101 receives the time information of the ingress port of the data stream, the processing unit 1102 may perform the corresponding relationship between the stream characteristics, the egress port identifier, and the ingress port identifier of the data stream stored in advance (the corresponding relationship may be from the application The functional network element determines the outgoing port of the data stream, and then determines the network element corresponding to the outgoing port of the data stream, and the sending unit 1103 sends the time information of the outgoing port of the data stream to the network element corresponding to the port.
在一种可能的实施方式中,发送单元1103在向入端口对应的网元发送数据流的出端口的时间信息时,可以同时发送标识信息,以标识该数据流的出端口的时间信息是针对该数据流的或该出端口的。示例性的,该标识信息可以是数据流的流特征或出端口的标识。In a possible implementation manner, when sending the time information of the outgoing port of the data stream to the network element corresponding to the ingress port, the sending unit 1103 may send identification information at the same time to identify that the time information of the outgoing port of the data stream is for Of the data stream or of the outgoing port. Exemplarily, the identification information may be the flow feature of the data flow or the identification of the outgoing port.
若控制面网元为应用功能网元,发送单元1103向策略控制功能网元发送该数据流的出端口的时间信息和标识信息,之后,策略控制功能网元向会话管理网元发送该数据流的出端口的时间信息和标识信息;会话管理网元再向入端口对应的网元发送该数据流的出端口的时间信息和标识信息。If the control plane network element is an application function network element, the sending unit 1103 sends the time information and identification information of the outgoing port of the data flow to the policy control function network element, and then the policy control function network element sends the data flow to the session management network element The time information and identification information of the outgoing port; the session management network element then sends the time information and identification information of the outgoing port of the data flow to the network element corresponding to the ingress port.
若控制面网元为策略控制功能网元,发送单元1103向会话管理网元发送该数据流的出端口的时间信息和标识信息;会话管理网元再向入端口对应的网元发送该数据流的出端口的时间信息和标识信息。If the control plane network element is a policy control function network element, the sending unit 1103 sends the time information and identification information of the outgoing port of the data stream to the session management network element; the session management network element then sends the data stream to the network element corresponding to the ingress port The time information and identification information of the outgoing port.
若控制面网元为会话管理网元,发送单元1103在向入端口对应的网元发送该数据流的出端口的时间信息和标识信息。If the control plane network element is a session management network element, the sending unit 1103 sends the time information and identification information of the outgoing port of the data flow to the network element corresponding to the ingress port.
在一种可能的实施方式中,数据流的入端口的时间信息指示入端口处理数据流中的报文的时间窗口的方式有许多种,下面列举其中两种:In a possible implementation manner, the time information of the ingress port of the data stream indicates that there are many ways for the ingress port to process the time window of the packet in the data stream. Two of them are listed below:
第一种、数据流的入端口的时间信息包括门控周期的第一基准时间和第一门控列表,第一门控列表用于指示门控周期中包括的时间窗口的门控状态。In the first type, the time information of the ingress port of the data stream includes the first reference time of the gating period and the first gating list, and the first gating list is used to indicate the gating state of the time window included in the gating period.
第二种、数据流的入端口的时间信息包括该数据流到达入端口的最早时间和最晚时间。The second type, the time information of the ingress port of the data stream includes the earliest time and the latest time that the data stream arrives at the ingress port.
在一种可能的实施方式中,数据流的出端口的时间信息指示出端口处理数据流中的报文的时间窗口的方式有许多种,下面列举其中三种:In a possible implementation manner, the time information of the outgoing port of the data stream indicates that there are many ways for the port to process the time window of the packet in the data stream, three of which are listed below:
第一种、数据流的出端口的时间信息包括:门控周期的第二基准时间和门控列表,第二基准时间是根据第一基准时间和内部传输时延确定的。In the first type, the time information of the outgoing port of the data stream includes: the second reference time of the gating period and the gating list, and the second reference time is determined according to the first reference time and the internal transmission delay.
第二种、数据流的出端口的时间信息包括:数据流的入端口的时间信息和内部传输时延。The second type, the time information of the outgoing port of the data stream includes: the time information of the incoming port of the data stream and the internal transmission delay.
第三种、数据流的出端口的时间信息包括:门控周期的第一基准时间和第二门控列表,第二门控列表是根据第一门控列表和内部传输时延确定的。In the third type, the time information of the outgoing port of the data stream includes: the first reference time of the gating period and the second gating list, and the second gating list is determined according to the first gating list and the internal transmission delay.
第四种、数据流的出端口的时间信息包括下列的部分或全部:该数据流到达出端口的最早时间、该数据流到达出端口的最晚时间。Fourth, the time information of the outgoing port of the data flow includes part or all of the following: the earliest time that the data flow reaches the outgoing port, and the latest time that the data flow reaches the outgoing port.
在一种可能的实施方式中,在数据流为第一终端设备到第二终端设备的数据流的情况下,处理单元1102可以根据数据流的入端口的时间信息和第一传输时延确定用户面网元的时间信息,第一传输时延用于指示第一终端设备和用户面网元间的传输时延,用户面网元的时间信息指示用户面网元处理数据流中的报文的时间窗口;之后,发送单元1103向用户面网元发送用户面网元的时间信息。In a possible implementation manner, when the data stream is a data stream from the first terminal device to the second terminal device, the processing unit 1102 may determine the user according to the time information of the ingress port of the data stream and the first transmission delay. The time information of the plane network element. The first transmission delay is used to indicate the transmission delay between the first terminal device and the user plane network element. The time information of the user plane network element indicates how the user plane network element processes packets in the data stream. Time window; after that, the sending unit 1103 sends the time information of the user plane network element to the user plane network element.
在一种可能的实施方式中,在数据流为第一终端设备到第二终端设备的数据流的情况下,处理单元1102也可以根据数据流的出端口的时间信息和第二传输时延确定用户面网元的时间信息,第二传输时延用于指示第二终端设备和用户面网元间的传输时延,用户面网元侧端口的时间信息指示用户面网元处理数据流中的报文的时间窗口;之后,发送单元1103向用户面网元发送用户面网元的时间信息。In a possible implementation manner, when the data stream is a data stream from the first terminal device to the second terminal device, the processing unit 1102 may also determine according to the time information of the outgoing port of the data stream and the second transmission delay. The time information of the user plane network element, the second transmission delay is used to indicate the transmission delay between the second terminal device and the user plane network element, and the time information of the user plane network element side port indicates the data flow in the user plane network element processing The time window of the message; after that, the sending unit 1103 sends the time information of the user plane network element to the user plane network element.
在一种可能的实施方式中,在数据流为第一终端设备到用户面网元的数据流的情况下,出端口对应的网元为用户面网元,发送单元1103可以向用户面网元发送数据流的出端口的时间信息。In a possible implementation manner, when the data flow is a data flow from the first terminal device to the user plane network element, the network element corresponding to the outgoing port is the user plane network element, and the sending unit 1103 may send the data to the user plane network element. Time information of the outgoing port that sends the data stream.
在一种可能的实施方式中,在数据流为用户面网元到第二终端设备的数据流或为第一终端设备到第二终端设备的数据流的情况下,出端口对应的网元为第二终端设备,发送单元1103可以向第二终端设备发送数据流的出端口的时间信息。In a possible implementation manner, when the data flow is a data flow from a user plane network element to the second terminal device or a data flow from the first terminal device to the second terminal device, the network element corresponding to the outgoing port is For the second terminal device, the sending unit 1103 may send the time information of the outgoing port of the data stream to the second terminal device.
基于与方法实施例同一发明构思,本申请实施例还提供了一种通信装置,用于执行上述如图6~9所示的方法实施例中所述终端设备执行的方法,相关特征可参见上述方法实施例,此处不再赘述,如图12所示,该装置包括接收单元1201、处理单元1202以及发送单元1203。Based on the same inventive concept as the method embodiment, an embodiment of the application also provides a communication device for executing the method executed by the terminal device in the method embodiment shown in FIGS. 6-9. For related features, see the above The method embodiments will not be repeated here. As shown in FIG. 12, the device includes a receiving unit 1201, a processing unit 1202, and a sending unit 1203.
接收单元1201,用于接收数据流的出端口的时间信息,数据流的出端口的时间信息指示数据流的出端口处理数据流中的报文的时间窗口;The receiving unit 1201 is configured to receive time information of the outgoing port of the data stream, and the time information of the outgoing port of the data stream indicates the time window for the outgoing port of the data stream to process packets in the data stream;
处理单元1202,用于缓存该数据流中的报文,直至达到该时间窗口。The processing unit 1202 is configured to buffer the packets in the data stream until the time window is reached.
发送单元1203,在该时间窗口内处理数据流中的报文。The sending unit 1203 processes the packets in the data stream within the time window.
在一种可能的实施方式中,处理单元1202缓存该数据流中的报文,达到时间窗口后,发送单元1203可以在该数据流的时间窗口内直接发送该数据流中的报文,发送单元1203也可以在时间窗口内将报文发送到出口队列,基于出口队列的调度规则发送报文。In a possible implementation manner, the processing unit 1202 buffers the packets in the data stream, and after the time window is reached, the sending unit 1203 can directly send the packets in the data stream within the time window of the data stream, and the sending unit 1203 can also send the message to the egress queue within the time window, and send the message based on the scheduling rule of the egress queue.
在一种可能的实施方式中,接收单元1201在接收数据流的出端口的时间信息时,还可以接收标识信息,示例性的,该标识信息可以是数据流的流特征或出端口的标识。In a possible implementation manner, the receiving unit 1201 may also receive identification information when receiving the time information of the outgoing port of the data stream. Exemplarily, the identification information may be the flow characteristic of the data stream or the identification of the outgoing port.
接收单元1201在接收到标识信息后,处理单元1202可以根据标识信息确定出端口;其中,当标识信息为该数据流的流特征时,处理单元1202可以根据该数据流的流特征、出端口标识的对应关系确定出端口。After the receiving unit 1201 receives the identification information, the processing unit 1202 can determine the output port according to the identification information; wherein, when the identification information is the stream characteristic of the data stream, the processing unit 1202 can determine the output port according to the stream characteristic and the output port identifier of the data stream. The corresponding relationship determines the port.
基于与方法实施例同一发明构思,本申请实施例还提供了一种通信装置,用于执行上述如图6~9所示的方法实施例中所述UPF网元执行的方法,相关特征可参见上述方法实施例,此处不再赘述,如图13所示,该装置包括接收单元1301、处理单元1302以及发送单元1303。Based on the same inventive concept as the method embodiment, an embodiment of the application also provides a communication device for executing the method executed by the UPF network element described in the method embodiment shown in FIGS. 6-9. For related features, see The foregoing method embodiments will not be repeated here. As shown in FIG. 13, the device includes a receiving unit 1301, a processing unit 1302, and a sending unit 1303.
接收单元1301,用于接收数据流的出端口的时间信息,数据流的出端口的时间信息指示数据流的出端口发送数据流中的报文的时间窗口。The receiving unit 1301 is configured to receive time information of the outgoing port of the data stream, and the time information of the outgoing port of the data stream indicates a time window for the outgoing port of the data stream to send packets in the data stream.
处理单元1302,用于缓存数据流中的报文,直至到达时间窗口。The processing unit 1302 is configured to buffer the packets in the data stream until the time window is reached.
发送单元1303,用于在时间窗口处理数据流中的报文。The sending unit 1303 is configured to process packets in the data stream in a time window.
在一种可能的实施方式中,发送单元1303在时间窗口处理数据流中的报文,可以在该数据流的时间窗口内直接发送该数据流中的报文,也可以将缓存的数据流中的报文发送至出端口的出口队列,基于出口队列的调度规则发送报文。In a possible implementation manner, the sending unit 1303 processes the packets in the data stream in the time window, and can directly send the packets in the data stream within the time window of the data stream, or can transfer the packets in the buffered data stream. The message is sent to the egress queue of the egress port, and the message is sent based on the scheduling rule of the egress queue.
在一种可能的实施方式中,接收单元1301在接收数据流的出端口的时间信息时,还可以接收标识信息,示例性的,该标识信息可以是数据流的流特征或出端口的标识。In a possible implementation, the receiving unit 1301 may also receive identification information when receiving the time information of the outgoing port of the data stream. Exemplarily, the identification information may be the flow feature of the data stream or the identification of the outgoing port.
接收单元1301在接收到标识信息后,可以根据标识信息确定出端口;其中,当标识信息为该数据流的流特征时,处理单元1302可以根据该数据流的流特征、出端口标识的对应关系确定出端口。After receiving the identification information, the receiving unit 1301 may determine the output port according to the identification information; wherein, when the identification information is the flow characteristic of the data flow, the processing unit 1302 may determine the corresponding relationship between the flow characteristics of the data flow and the identification of the outgoing port. Determine the out port.
本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能单元可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。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. In addition, 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.
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以 存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台终端设备(可以是个人计算机,手机,或者网络设备等)或处理器(processor)执行本申请各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If 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. Based on this understanding, 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 .
在本申请实施例中,所述基站和所述终端设备均可以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。In the embodiment of the present application, 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.
在一个简单的实施例中,本领域的技术人员可以想到所述控制面网元可采用图14所示的形式。In a simple embodiment, those skilled in the art can imagine that the control plane network element may adopt the form shown in FIG. 14.
如图14所示的通信装置1400,包括至少一个处理器1401、存储器1402,可选的,还可以包括通信接口1403。The communication device 1400 shown in FIG. 14 includes at least one processor 1401, a memory 1402, and optionally, a communication interface 1403.
存储器1402可以是易失性存储器,例如随机存取存储器;存储器也可以是非易失性存储器,例如只读存储器,快闪存储器,硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)、或者存储器1402是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器1402可以是上述存储器的组合。The memory 1402 may be a volatile memory, such as a random access memory; the memory may also be a non-volatile memory, such as read-only memory, flash memory, hard disk drive (HDD) or solid-state drive (solid-state drive, SSD) or memory 1402 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 1402 may be a combination of the above-mentioned memories.
本申请实施例中不限定上述处理器1401以及存储器1402之间的具体连接介质。本申请实施例在图中以存储器1402和处理器1401之间通过总线1404连接,总线1404在图中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。该总线1404可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the foregoing processor 1401 and the memory 1402 is not limited in the embodiment of the present application. In the embodiment of the present application, the memory 1402 and the processor 1401 are connected through a bus 1404 in the figure, and the bus 1404 is represented by a thick line in the figure. Is limited. The bus 1404 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. 14, but it does not mean that there is only one bus or one type of bus.
处理器1401可以具有数据收发功能,能够与其他设备进行通信,在如图14装置中,也可以设置独立的数据收发模块,例如通信接口1403,用于收发数据;处理器1401在与其他设备进行通信时,可以通过通信接口1403进行数据传输。The processor 1401 may have data transceiving functions and be able to communicate with other devices. In the device shown in Figure 14, an independent data transceiving module, such as a communication interface 1403, can also be set to send and receive data; the processor 1401 is communicating with other devices. During communication, data transmission can be performed through the communication interface 1403.
当所述控制面网元采用图14所示的形式时,图14中的处理器1401可以通过调用存储器1402中存储的计算机执行指令,使得所述基站可以执行上述任一方法实施例中的所述控制面网元执行的方法。When the control plane network element adopts the form shown in FIG. 14, the processor 1401 in FIG. 14 can call the computer execution instructions stored in the memory 1402, so that the base station can execute all of the above-mentioned method embodiments. Describes the execution method of the control plane network element.
具体的,图11中的发送单元、接收单元和处理单元的功能/实现过程均可以通过图14中的处理器1401调用存储器1402中存储的计算机执行指令来实现。或者,图11的处理单元的功能/实现过程可以通过图14中的处理器1401调用存储器1402中存储的计算机执行指令来实现,图11的发送单元和接收单元的功能/实现过程可以通过图14中的通信接口1403来实现。Specifically, the functions/implementation processes of the sending unit, the receiving unit, and the processing unit in FIG. 11 may all be implemented by the processor 1401 in FIG. 14 calling a computer execution instruction stored in the memory 1402. Alternatively, the function/implementation process of the processing unit in FIG. 11 may be implemented by the processor 1401 in FIG. 14 calling computer execution instructions stored in the memory 1402, and the function/implementation process of the sending unit and the receiving unit in FIG. 11 may be implemented by referring to FIG. 14. In the communication interface 1403 to achieve.
在一个简单的实施例中,本领域的技术人员可以想到所述终端设备可采用图15所示的形式。In a simple embodiment, those skilled in the art can imagine that the terminal device may adopt the form shown in FIG. 15.
如图15所示的通信装置1500,包括至少一个处理器1501、存储器1502,可选的,还可以包括收发器1503。The communication device 1500 shown in FIG. 15 includes at least one processor 1501, a memory 1502, and optionally, a transceiver 1503.
存储器1502可以是易失性存储器,例如随机存取存储器;存储器也可以是非易失性 存储器,例如只读存储器,快闪存储器,硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)、或者存储器1502是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器1502可以是上述存储器的组合。The memory 1502 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 memory 1502 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 1502 may be a combination of the above-mentioned memories.
本申请实施例中不限定上述处理器1501以及存储器1502之间的具体连接介质。本申请实施例在图中以存储器1502和处理器1501之间通过总线1504连接,总线1504在图中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。该总线1504可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the foregoing processor 1501 and the memory 1502 is not limited in the embodiment of the present application. In the embodiment of the present application, the memory 1502 and the processor 1501 are connected by a bus 1504 in the figure, and the bus 1504 is represented by a thick line in the figure. The connection mode between other components is only for schematic illustration and is not quoted. Is limited. The bus 1504 can be divided into an address bus, a data bus, a control bus, and so on. For ease of presentation, only one thick line is used in FIG. 15 to represent it, but it does not mean that there is only one bus or one type of bus.
处理器1501可以具有数据收发功能,能够与其他设备进行通信,在如图15装置中,也可以设置独立的数据收发模块,例如收发器1503,用于收发数据;处理器1501在与其他设备进行通信时,可以通过收发器1503进行数据传输。The processor 1501 may have a function of data transceiving and can communicate with other devices. In the device shown in Figure 15, an independent data transceiving module, such as a transceiver 1503, can be set to send and receive data; the processor 1501 is communicating with other devices. During communication, the transceiver 1503 can be used for data transmission.
当终端设备采用图15所示的形式时,图15中的处理器1501可以通过调用存储器1502中存储的计算机执行指令,使得所述终端设备可以执行上述任一方法实施例中的终端设备执行的方法。When the terminal device adopts the form shown in FIG. 15, the processor 1501 in FIG. 15 can call the computer execution instructions stored in the memory 1502, so that the terminal device can execute the terminal device in any of the foregoing method embodiments. method.
具体的,图13中的发送单元、接收单元和处理单元的功能/实现过程均可以通过图15中的处理器1501调用存储器1502中存储的计算机执行指令来实现。或者,图13中的处理单元的功能/实现过程可以通过图15中的处理器1501调用存储器1502中存储的计算机执行指令来实现,图13中的发送单元和接收单元的功能/实现过程可以通过图15中的收发器1503来实现。Specifically, the functions/implementation processes of the sending unit, the receiving unit, and the processing unit in FIG. 13 may all be implemented by the processor 1501 in FIG. 15 calling a computer execution instruction stored in the memory 1502. Alternatively, the function/implementation process of the processing unit in FIG. 13 may be implemented by the processor 1501 in FIG. 15 calling a computer execution instruction stored in the memory 1502, and the function/implementation process of the sending unit and the receiving unit in FIG. 13 may be implemented by The transceiver 1503 in FIG. 15 is implemented.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present 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.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This application is described with reference to the flowcharts and/or block diagrams of the methods, equipment (systems), and computer program products according to the application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes 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 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.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和 范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims (37)

  1. 一种通信方法,其特征在于,该方法包括:A communication method, characterized in that the method includes:
    控制面网元获取数据流的入端口的时间信息,所述数据流的入端口的时间信息指示所述入端口对应的网元处理所述数据流中的报文的时间窗口;The control plane network element obtains the time information of the ingress port of the data stream, and the time information of the ingress port of the data stream indicates the time window for the network element corresponding to the ingress port to process the packet in the data stream;
    所述控制面网元根据数据流的入端口的时间信息和内部传输时延确定所述数据流的出端口的时间信息,所述数据流的出端口的时间信息指示所述出端口对应的网元处理所述数据流中的报文的时间窗口,所述内部传输时延用于指示所述入端口与所述出端口间的传输时延;The control plane network element determines the time information of the outgoing port of the data flow according to the time information of the incoming port of the data flow and the internal transmission delay, and the time information of the outgoing port of the data flow indicates the network corresponding to the outgoing port. Meta processing time window of the message in the data stream, the internal transmission delay is used to indicate the transmission delay between the ingress port and the egress port;
    所述控制面网元向所述出端口对应的网元发送所述数据流的出端口的时间信息。The control plane network element sends the time information of the egress port of the data flow to the network element corresponding to the egress port.
  2. 如权利要求1所述的方法,其特征在于,所述控制面网元为应用功能网元,所述控制面网元向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息,包括:The method according to claim 1, wherein the control plane network element is an application function network element, and the control plane network element sends the output of the data stream to the network element corresponding to the output port of the data stream. Time information of the port, including:
    所述应用功能网元通过策略控制功能网元和会话管理网元向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息。The application function network element sends the time information of the egress port of the data stream to the network element corresponding to the egress port of the data stream through the policy control function network element and the session management network element.
  3. 如权利要求1所述的方法,其特征在于,所述控制面网元为策略控制功能网元,所述控制面网元向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息,包括:The method according to claim 1, wherein the control plane network element is a policy control function network element, and the control plane network element sends the data flow to the network element corresponding to the outgoing port of the data flow. Time information of the outgoing port, including:
    策略控制功能网元通过会话管理网元向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息。The policy control function network element sends the time information of the egress port of the data stream to the network element corresponding to the egress port of the data stream through the session management network element.
  4. 如权利要求3所述的方法,其特征在于,所述策略控制功能网元通过会话管理网元向所述数据流出端口对应的网元发送所述数据流的出端口的时间信息,包括:The method according to claim 3, wherein the policy control function network element sending time information of the egress port of the data stream to the network element corresponding to the data egress port through the session management network element comprises:
    所述策略控制功能网元向所述会话管理网元转发规则创建请求,所述转发规则创建请求用于请求创建承载所述数据流的会话的转发规则,所述转发规则创建请求包括所述数据流的出端口的时间信息。The policy control function network element forwards a rule creation request to the session management network element, the forwarding rule creation request is used to request the creation of a forwarding rule for the session carrying the data stream, and the forwarding rule creation request includes the data Time information of the outgoing port of the flow.
  5. 如权利要求1所述的方法,其特征在于,所述控制面网元为所述会话管理网元。The method according to claim 1, wherein the control plane network element is the session management network element.
  6. 如权利要求1~5任一所述的方法,其特征在于,所述数据流的入端口的时间信息包括下列两种信息任一种:The method according to any one of claims 1 to 5, wherein the time information of the ingress port of the data stream includes any one of the following two types of information:
    第一种、门控周期的第一基准时间和第一门控列表,所述第一门控列表用于指示门控周期中包括的时间窗口的门控状态;The first type is the first reference time of the gating period and the first gating list, where the first gating list is used to indicate the gating state of the time window included in the gating period;
    第二种、所述数据流到达入端口的最早时间和最晚时间;The second type, the earliest time and the latest time that the data stream arrives at the ingress port;
    所述数据流的出端口的时间信息包括下列四种信息任一种:The time information of the outgoing port of the data stream includes any one of the following four types of information:
    第一种、所述门控周期的第二基准时间和所述第一门控列表,所述第二基准时间是根据所述第一基准时间和所述内部传输时延确定的;The first type is the second reference time of the gating period and the first gating list, where the second reference time is determined according to the first reference time and the internal transmission delay;
    第二种、所述数据流的入端口的时间信息和内部传输时延;The second type is the time information and internal transmission delay of the ingress port of the data stream;
    第三种、所述门控周期的第一基准时间和第二门控列表,所述第二门控列表是根据第一门控列表和内部传输时延确定的;The third type, the first reference time of the gating period and the second gating list, the second gating list is determined according to the first gating list and the internal transmission delay;
    第四种、所述数据流到达出端口的最早时间、所述数据流到达出端口的最晚时间中的部分或全部。Fourth, part or all of the earliest time when the data flow reaches the outgoing port and the latest time when the data flow reaches the outgoing port.
  7. 如权利要求1~6任一所述的方法,其特征在于,所述控制面网元向所述出端口对应的网元发送所述数据流的出端口的时间信息,包括:The method according to any one of claims 1 to 6, wherein the control plane network element sending the time information of the egress port of the data stream to the network element corresponding to the egress port comprises:
    所述控制面网元向所述出端口对应的网元发送所述数据流的出端口的时间信息和标识信息,所述标识信息包括下列的部分或全部:所述数据流的流特征、所述出端口的标识。The control plane network element sends the time information and identification information of the outgoing port of the data flow to the network element corresponding to the outgoing port, and the identification information includes some or all of the following: flow characteristics of the data flow, all State the identification of the port.
  8. 如权利要求1~6任一所述的方法,其特征在于,在所述数据流为第一终端设备到第二终端设备的数据流的情况下,所述方法还包括:The method according to any one of claims 1 to 6, wherein, when the data stream is a data stream from a first terminal device to a second terminal device, the method further comprises:
    所述控制面网元根据所述数据流的入端口的时间信息和第一传输时延确定用户面网元的时间信息,所述第一传输时延用于指示所述第一终端设备和用户面网元间的传输时延,所述用户面网元的时间信息指示所述用户面网元处理所述数据流中的报文的时间窗口;The control plane network element determines the time information of the user plane network element according to the time information of the ingress port of the data stream and the first transmission delay, and the first transmission delay is used to indicate the first terminal device and the user Transmission delay between network elements on the plane, and the time information of the user plane network element indicates a time window for the user plane network element to process the packets in the data stream;
    所述控制面网元向所述用户面网元发送所述用户面网元的时间信息。The control plane network element sends the time information of the user plane network element to the user plane network element.
  9. 如权利要求1~6任一所述的方法,其特征在于,在所述数据流为第一终端设备到第二终端设备的数据流的情况下,所述方法还包括:The method according to any one of claims 1 to 6, wherein, when the data stream is a data stream from a first terminal device to a second terminal device, the method further comprises:
    所述控制面网元根据所述数据流的出端口的时间信息和第二传输时延确定用户面网元的时间信息,所述第二传输时延用于指示所述第二终端设备和用户面网元间的传输时延,所述用户面网元侧端口的时间信息指示所述用户面网元处理所述数据流中的报文的时间窗口;The control plane network element determines the time information of the user plane network element according to the time information of the outgoing port of the data stream and the second transmission delay, and the second transmission delay is used to indicate the second terminal device and the user The transmission delay between the plane network elements, and the time information of the user plane network element side port indicates the time window for the user plane network element to process the packets in the data stream;
    所述控制面网元向所述用户面网元发送所述用户面网元的时间信息。The control plane network element sends the time information of the user plane network element to the user plane network element.
  10. 如权利要求1~6任一所述的方法,其特征在于,在所述数据流为第一终端设备到用户面网元的数据流的情况下,所述控制面网元向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息,包括:The method according to any one of claims 1 to 6, wherein when the data flow is a data flow from a first terminal device to a user plane network element, the control plane network element sends data to the data flow The time information of the outgoing port of the data stream sent by the network element corresponding to the outgoing port includes:
    所述控制面网元向所述用户面网元发送所述数据流的出端口的时间信息。The control plane network element sends the time information of the outgoing port of the data stream to the user plane network element.
  11. 如权利要求1~6任一所述的方法,其特征在于,在所述数据流为用户面网元到第二终端设备的数据流或为第一终端设备到所述第二终端设备的数据流的情况下,所述控制面网元向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息,包括:The method according to any one of claims 1 to 6, wherein the data flow is a data flow from a user plane network element to a second terminal device or a data flow from a first terminal device to the second terminal device In the case of a flow, the control plane network element sending time information of the outgoing port of the data flow to the network element corresponding to the outgoing port of the data flow includes:
    所述控制面网元向所述第二终端设备发送所述数据流的出端口的时间信息。The control plane network element sends the time information of the outgoing port of the data stream to the second terminal device.
  12. 一种通信方法,其特征在于,该方法包括:A communication method, characterized in that the method includes:
    接收数据流的出端口的时间信息,所述数据流的出端口的时间信息指示所述数据流的出端口处理所述数据流中的报文的时间窗口;Receiving time information of an egress port of a data stream, where the time information of the egress port of the data stream indicates a time window for the egress port of the data stream to process packets in the data stream;
    缓存所述数据流中的报文,直至到达所述时间窗口Buffer the packets in the data stream until the time window is reached
    在所述时间窗口处理所述数据流中的报文。Process the packets in the data stream in the time window.
  13. 如权利要求12所述的方法,其特征在于,在所述时间窗口处理所述数据流中的报文,包括:The method of claim 12, wherein processing the packets in the data stream in the time window comprises:
    在所述时间窗口内将报文发送到出口队列,基于出口队列的调度规则发送报文。The message is sent to the egress queue within the time window, and the message is sent based on the scheduling rule of the egress queue.
  14. 如权利要求12或13所述的方法,其特征在于,所述接收数据流的出端口的时间信息,包括:The method according to claim 12 or 13, wherein the time information of the outgoing port that receives the data stream comprises:
    接收数据流的出端口的时间信息和收标识信息,所述标识信息用于指示所述数据流的出端口的时间信息是针对所述数据流的或所述数据流的出端口的;Receiving time information of the outgoing port of the data stream and receiving identification information, where the identification information is used to indicate that the time information of the outgoing port of the data stream is for the data stream or the outgoing port of the data stream;
    根据标识信息确定所述数据流的出端口。Determine the outgoing port of the data stream according to the identification information.
  15. 一种通信方法,其特征在于,该方法包括:A communication method, characterized in that the method includes:
    用户面网元接收数据流的出端口的时间信息,所述数据流的出端口的时间信息指示所述数据流的出端口发送所述数据流中的报文的时间窗口;The user plane network element receives the time information of the outgoing port of the data stream, where the time information of the outgoing port of the data stream indicates the time window for the outgoing port of the data stream to send the packet in the data stream;
    所述用户面网元缓存所述数据流中的报文,直至到达所述时间窗口;The user plane network element buffers the packets in the data stream until the time window is reached;
    所述用户面网元在所述时间窗口处理所述数据流中的报文。The user plane network element processes the packets in the data stream in the time window.
  16. 如权利要求15所述的方法,其特征在于,所述用户面网元在所述时间窗口处理所述数据流中的报文,包括:The method according to claim 15, wherein the processing of the packets in the data stream by the user plane network element in the time window comprises:
    所述用户面网元在所述时间窗口将缓存的所述数据流中的报文发送至所述出端口的出口队列,基于出口队列的调度规则发送报文。The user plane network element sends the buffered packets in the data stream to the egress queue of the egress port in the time window, and sends the packets based on the scheduling rule of the egress queue.
  17. 如权利要求15或16所述的方法,其特征在于,所述用户面网元接收数据流的出端口的时间信息,包括:The method according to claim 15 or 16, wherein the user plane network element receives time information of the outgoing port of the data stream, comprising:
    所述用户面网元接收所述数据流的出端口的时间信息和标识信息,所述标识信息用于指示所述数据流的出端口的时间信息是针对所述数据流的或所述数据流的出端口的;The user plane network element receives the time information and identification information of the outgoing port of the data flow, where the identification information is used to indicate that the time information of the outgoing port of the data flow is for the data flow or the data flow Of the outgoing port;
    所述用户面网元根据所述标识信息确定所述数据流的出端口。The user plane network element determines the outgoing port of the data flow according to the identification information.
  18. 一种控制数据流传输的通信系统,其特征在于,该通信系统包括控制面网元和所述数据流的出端口对应的网元:A communication system for controlling data stream transmission, characterized in that the communication system includes a control plane network element and a network element corresponding to the outgoing port of the data stream:
    所述控制面网元,用于获取数据流的入端口的时间信息,所述数据流的入端口的时间信息指示所述入端口处理所述数据流中的报文的时间窗口;根据所述数据流的入端口的时间信息和内部传输时延确定数据流的出端口的时间信息,所述数据流的出端口的时间信息指示所述出端口处理所述数据流中的报文的时间窗口,所述内部传输时延用于指示所述入端口与所述出端口间的传输时延;向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息;The control plane network element is configured to obtain the time information of the ingress port of the data stream, and the time information of the ingress port of the data stream indicates the time window for the ingress port to process the packets in the data stream; The time information of the ingress port of the data stream and the internal transmission delay determine the time information of the egress port of the data stream, and the time information of the egress port of the data stream indicates the time window for the egress port to process the packets in the data stream The internal transmission delay is used to indicate the transmission delay between the ingress port and the egress port; sending the time information of the egress port of the data stream to the network element corresponding to the egress port of the data stream;
    所述数据流的出端口对应的网元,用于接收所述数据流的出端口的时间信息;缓存所述数据流中的报文,直至到达所述时间窗口;在所述数据流的出端口的时间信息指示的时间窗口处理所述数据流中的报文。The network element corresponding to the outgoing port of the data stream is used to receive the time information of the outgoing port of the data stream; buffer the packets in the data stream until the time window is reached; and at the outgoing port of the data stream The time window indicated by the time information of the port processes the packets in the data stream.
  19. 如权利要求18所述的通信系统,其特征在于,所述数据流的出端口对应的网元,具体用于:The communication system according to claim 18, wherein the network element corresponding to the outgoing port of the data stream is specifically used for:
    在所述数据流的出端口的时间信息指示的时间窗口将缓存的所述数据流中的报文发送至所述出端口的出口队列,基于出口队列的调度规则发送报文。Send the buffered messages in the data flow to the egress queue of the egress port in the time window indicated by the time information of the egress port of the data flow, and send the message based on the scheduling rule of the egress queue.
  20. 如权利要求18所述的通信系统,其特征在于,所述控制面网元为应用功能网元,所述控制面网元向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息时,具体用于:The communication system according to claim 18, wherein the control plane network element is an application function network element, and the control plane network element sends the data flow to the network element corresponding to the outgoing port of the data flow. When exporting the time information of the port, it is specifically used for:
    通过策略控制功能网元和会话管理网元向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息。The time information of the egress port of the data stream is sent to the network element corresponding to the egress port of the data stream through the policy control function network element and the session management network element.
  21. 如权利要求18所述的通信系统,其特征在于,所述控制面网元为策略控制功能网元,所述控制面网元向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息时,具体用于:通过会话管理网元向所述数据流的出端口对应的网元发送所述数据流的出端口的时间信息。The communication system according to claim 18, wherein the control plane network element is a policy control function network element, and the control plane network element sends the data stream to the network element corresponding to the outgoing port of the data stream The time information of the egress port of the data stream is specifically used to send the time information of the egress port of the data stream to the network element corresponding to the egress port of the data stream through the session management network element.
  22. 如权利要求21所述的通信系统,其特征在于,所述策略控制功能网元通过会话管理网元向所述数据流出端口对应的网元发送所述数据流的出端口的时间信息时,具体用于:The communication system according to claim 21, wherein when the policy control function network element sends the time information of the outgoing port of the data stream to the network element corresponding to the data outgoing port through the session management network element, the specific Used for:
    向所述会话管理网元转发规则创建请求,所述转发规则创建请求用于请求创建承载所述数据流的会话的转发规则,所述转发规则创建请求包括所述数据流的出端口的时间信息。A rule creation request is forwarded to the session management network element, the forwarding rule creation request is used to request the creation of a forwarding rule for the session carrying the data flow, and the forwarding rule creation request includes time information of the outgoing port of the data flow .
  23. 如权利要求18所述的通信系统,其特征在于,所述控制面网元为所述会话管理 网元。The communication system according to claim 18, wherein the control plane network element is the session management network element.
  24. 如权利要求18~23任一所述的通信系统,其特征在于,所述数据流的入端口的时间信息包括门控周期的第一基准时间和第一门控列表,所述第一门控列表用于指示门控周期中包括的时间窗口的门控状态,所述数据流的出端口的时间信息包括:所述门控周期的第二基准时间和所述第一门控列表,所述第二基准时间是根据所述第一基准时间和所述内部传输时延确定的。The communication system according to any one of claims 18 to 23, wherein the time information of the ingress port of the data stream includes the first reference time of the gating period and the first gating list, and the first gating The list is used to indicate the gating status of the time window included in the gating period, and the time information of the outgoing port of the data stream includes: the second reference time of the gating period and the first gating list, the The second reference time is determined according to the first reference time and the internal transmission delay.
  25. 如权利要求18~23任一所述的通信系统,其特征在于,所述控制面网元向所述出端口对应的网元发送所述数据流的出端口的时间信息时,具体用于:The communication system according to any one of claims 18 to 23, wherein when the control plane network element sends the time information of the outgoing port of the data stream to the network element corresponding to the outgoing port, it is specifically used for:
    向所述出端口对应的网元发送所述数据流的出端口的时间信息和标识信息,所述标识信息包括下列的部分或全部:所述数据流的流特征、所述出端口的标识。The time information and identification information of the outgoing port of the data flow are sent to the network element corresponding to the outgoing port, where the identification information includes part or all of the following: the flow characteristics of the data flow and the identification of the outgoing port.
  26. 如权利要求18~24任一所述的通信系统,其特征在于,在所述数据流为终端设备间的数据流,或所述数据流为用户面网元到终端设备的数据流的情况下,所述数据流的出端口对应的网元为所述终端设备,在所述数据流为终端设备到用户面网元间的数据流的情况下,所述数据流的出端口对应的网元为用户面网元。The communication system according to any one of claims 18 to 24, wherein the data flow is a data flow between terminal devices, or the data flow is a data flow from a user plane network element to a terminal device , The network element corresponding to the outgoing port of the data stream is the terminal device, and in the case that the data stream is a data stream from the terminal device to the user plane network element, the network element corresponding to the outgoing port of the data stream It is a user plane network element.
  27. 如权利要求18~26任一所述的通信系统,其特征在于,在所述数据流为第一终端设备到第二终端设备的数据流的情况下,所述通信系统还包括用户面网元;The communication system according to any one of claims 18 to 26, wherein when the data stream is a data stream from a first terminal device to a second terminal device, the communication system further includes a user plane network element ;
    所述控制面网元,还用于根据所述数据流的入端口的时间信息和第一传输时延确定用户面网元的时间信息,所述第一传输时延用于指示所述第一终端设备和用户面网元间的传输时延,所述用户面网元的时间信息指示所述用户面网元处理所述数据流中的报文的时间窗口;向所述用户面网元发送所述用户面网元的时间信息;The control plane network element is further configured to determine the time information of the user plane network element according to the time information of the ingress port of the data stream and the first transmission delay, and the first transmission delay is used to indicate the first transmission delay. The transmission delay between the terminal device and the user plane network element, where the time information of the user plane network element indicates the time window for the user plane network element to process the packet in the data stream; and send to the user plane network element The time information of the user plane network element;
    所述用户面网元,用于接收所述用户面网元的时间信息,在所述用户面网元的时间信息指示的所述时间窗口处理所述数据流中的报文。The user plane network element is configured to receive time information of the user plane network element, and process the packets in the data stream in the time window indicated by the time information of the user plane network element.
  28. 如权利要求18~26任一所述的通信系统,其特征在于,在所述数据流为第一终端设备到第二终端设备的数据流的情况下,所述通信系统还包括用户面网元;The communication system according to any one of claims 18 to 26, wherein when the data stream is a data stream from a first terminal device to a second terminal device, the communication system further includes a user plane network element ;
    所述控制面网元,还用于根据所述数据流的出端口的时间信息和第二传输时延确定用户面网元的时间信息,所述第二传输时延用于指示所述第二终端设备和用户面网元间的传输时延,所述用户面网元侧端口的时间信息指示所述用户面网元处理所述数据流中的报文的时间窗口;向所述用户面网元发送所述用户面网元的时间信息;The control plane network element is further configured to determine the time information of the user plane network element according to the time information of the outgoing port of the data stream and the second transmission delay, and the second transmission delay is used to indicate the second transmission delay. The transmission delay between the terminal device and the user plane network element, the time information of the user plane network element side port indicates the time window for the user plane network element to process the packets in the data stream; Sending the time information of the user plane network element;
    所述用户面网元,用于接收所述用户面网元的时间信息,在所述用户面网元的时间信息指示的所述时间窗口处理所述数据流中的报文。The user plane network element is configured to receive time information of the user plane network element, and process the packets in the data stream in the time window indicated by the time information of the user plane network element.
  29. 一种通信装置,其特征在于,用于实现如权利要求1至11任一项所述的方法。A communication device, characterized by being used to implement the method according to any one of claims 1 to 11.
  30. 一种通信装置,其特征在于,用于实现如权利要求12至14任一项所述的方法。A communication device, characterized in that it is used to implement the method according to any one of claims 12 to 14.
  31. 一种通信装置,其特征在于,用于实现如权利要求15至17任一项所述的方法。A communication device, characterized by being used to implement the method according to any one of claims 15 to 17.
  32. 一种通信装置,其特征在于,包括处理器和存储器,所述存储器中存储有指令,所述处理器执行所述指令时,使得所述装置执行权利要求1至11任一项所述的方法。A communication device, characterized by comprising a processor and a memory, the memory stores instructions, and when the processor executes the instructions, the device executes the method according to any one of claims 1 to 11 .
  33. 一种通信装置,其特征在于,包括处理器和存储器,所述存储器中存储有指令,所述处理器执行所述指令时,使得所述装置执行权利要求12至14任一项所述的方法。A communication device, comprising a processor and a memory, the memory stores instructions, and when the processor executes the instructions, the device executes the method according to any one of claims 12 to 14 .
  34. 一种通信装置,其特征在于,包括处理器和存储器,所述存储器中存储有指令,所述处理器执行所述指令时,使得所述装置执行权利要求15至17任一项所述的方法。A communication device, comprising a processor and a memory, the memory stores instructions, and when the processor executes the instructions, the device executes the method according to any one of claims 15 to 17 .
  35. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令, 当其在计算机上运行时,使得计算机执行权利要求1至17任一项所述的方法。A computer-readable storage medium, characterized in that instructions are stored in the computer-readable storage medium, which when run on a computer, cause the computer to execute the method according to any one of claims 1 to 17.
  36. 一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行权利要求1至17任一项所述的方法。A computer program product containing instructions, which is characterized in that when it runs on a computer, it causes the computer to execute the method according to any one of claims 1 to 17.
  37. 一种计算机芯片,其特征在于,所述芯片与存储器相连,所述芯片用于读取并执行所述存储器中存储的软件程序,执行权利要求1至17任一项所述的方法。A computer chip, characterized in that the chip is connected to a memory, and the chip is used to read and execute a software program stored in the memory, and execute the method according to any one of claims 1 to 17.
PCT/CN2020/127295 2019-11-08 2020-11-06 Communication method, apparatus and system WO2021089018A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911090502.7A CN112787838A (en) 2019-11-08 2019-11-08 Communication method, device and system
CN201911090502.7 2019-11-08

Publications (1)

Publication Number Publication Date
WO2021089018A1 true WO2021089018A1 (en) 2021-05-14

Family

ID=75749384

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/127295 WO2021089018A1 (en) 2019-11-08 2020-11-06 Communication method, apparatus and system

Country Status (2)

Country Link
CN (1) CN112787838A (en)
WO (1) WO2021089018A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070776A (en) * 2021-11-02 2022-02-18 中国联合网络通信集团有限公司 Improved time-sensitive network data transmission method, device and equipment
CN115065646A (en) * 2022-04-29 2022-09-16 中国电子技术标准化研究院 Message timing sending method and device based on software and hardware cooperation

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379504A (en) * 2021-05-18 2022-11-22 华为技术有限公司 Wireless communication method, communication device and communication system
CN115696372A (en) * 2021-07-23 2023-02-03 华为技术有限公司 Communication method and device
CN114710811A (en) * 2022-04-07 2022-07-05 中国联合网络通信集团有限公司 Data stream forwarding method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527687A (en) * 2008-04-03 2009-09-09 中国人民解放军国防科学技术大学 Time-pressure-based time deterministic data exchange device
CN101827098A (en) * 2010-03-31 2010-09-08 中兴通讯股份有限公司 Processing method and device for time synchronization
US20180184438A1 (en) * 2016-12-28 2018-06-28 Intel Corporation Persistent scheduling and forwarding while receiving in wireless time sensitive networks
CN108712224A (en) * 2018-05-10 2018-10-26 西安电子科技大学 The maximum matched time triggered traffic scheduling table generating method of minimal time delay
KR20190005553A (en) * 2017-07-07 2019-01-16 한양대학교 산학협력단 Method for receiving and transmitting message of vehicle based on tsn
CN109787919A (en) * 2018-12-27 2019-05-21 瑞斯康达科技发展股份有限公司 A kind of method, apparatus, computer storage medium and the terminal of information transmission

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4236255A1 (en) * 2017-11-06 2023-08-30 Huawei Technologies Co., Ltd. Packet forwarding method, forwarding device, and network device
US10986528B2 (en) * 2018-02-15 2021-04-20 Huawei Technologies Co., Ltd. Tracking QoS violated events

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527687A (en) * 2008-04-03 2009-09-09 中国人民解放军国防科学技术大学 Time-pressure-based time deterministic data exchange device
CN101827098A (en) * 2010-03-31 2010-09-08 中兴通讯股份有限公司 Processing method and device for time synchronization
US20180184438A1 (en) * 2016-12-28 2018-06-28 Intel Corporation Persistent scheduling and forwarding while receiving in wireless time sensitive networks
KR20190005553A (en) * 2017-07-07 2019-01-16 한양대학교 산학협력단 Method for receiving and transmitting message of vehicle based on tsn
CN108712224A (en) * 2018-05-10 2018-10-26 西安电子科技大学 The maximum matched time triggered traffic scheduling table generating method of minimal time delay
CN109787919A (en) * 2018-12-27 2019-05-21 瑞斯康达科技发展股份有限公司 A kind of method, apparatus, computer storage medium and the terminal of information transmission

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070776A (en) * 2021-11-02 2022-02-18 中国联合网络通信集团有限公司 Improved time-sensitive network data transmission method, device and equipment
CN115065646A (en) * 2022-04-29 2022-09-16 中国电子技术标准化研究院 Message timing sending method and device based on software and hardware cooperation
CN115065646B (en) * 2022-04-29 2024-04-02 中国电子技术标准化研究院 Message timing sending method and device based on software and hardware cooperation

Also Published As

Publication number Publication date
CN112787838A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
US11950127B2 (en) 5G system support for virtual TSN bridge management, QoS mapping and TSN Qbv scheduling
WO2021089018A1 (en) Communication method, apparatus and system
JP7183416B2 (en) Time-dependent networking communication method and apparatus
US11956157B2 (en) Activation of PDU session and QOS flows in 3GPP-based ethernet bridges
WO2021227559A1 (en) Communication method, apparatus, and system
US20230019215A1 (en) TSC-5G QoS MAPPING WITH CONSIDERATION OF ASSISTANCE TRAFFIC INFORMATION AND PCC RULES FOR TSC TRAFFIC MAPPING AND 5G QoS FLOWS BINDING
EP3962157A1 (en) Mdbv determining method, apparatus, and system
WO2021148152A1 (en) Mechanism to control forwarding of deterministic data flow
US9161376B2 (en) System and method for managing access point communication channel utilization
WO2022252651A1 (en) Wireless communication method and device
WO2021218321A1 (en) Method for processing data flow and communication apparatus
WO2021227798A1 (en) Communication method and device
WO2021089017A1 (en) Communication method, apparatus and system
WO2023142644A1 (en) Communication method and apparatus
WO2022242201A1 (en) Wireless communication method, communication apparatus and communication system
WO2024027633A1 (en) Service flow attribute configuration method, apparatus, and system
US20240195731A1 (en) Software defined network controller, network device, method and apparatus of determining resources
WO2022021109A1 (en) Traffic class handling
WO2024032603A1 (en) Communication method and apparatus
US20240113987A1 (en) End-to-End Latency Guarantee for Downlink Traffic
WO2023005728A1 (en) Communication method, apparatus, and system
WO2024022158A1 (en) Communication method and apparatus
JP2023539320A (en) Downlink transmission method and communication device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20884103

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20884103

Country of ref document: EP

Kind code of ref document: A1