Information transmission method, communication device and storage medium

By performing specific operations in communication equipment and utilizing time-sensitive network adapters, the latency and jitter problems in time-sensitive data transmission are solved, achieving effective time synchronization management and meeting the needs of time-sensitive communication.

CN114915988BActive Publication Date: 2025-12-19VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110185556.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-10
Publication Date
2025-12-19
Estimated Expiration
2041-02-10

AI Technical Summary

Technical Problem

In the Industrial Internet, the transmission of time-sensitive data is subject to latency and jitter. Existing technologies struggle to effectively manage time synchronization, thus failing to meet the needs of time-sensitive communication.

Method used

Time synchronization management is achieved by performing specific operations in communication devices, such as sending or rejecting specific types of messages, selecting a master clock, rejecting QoS guarantees, and discarding or skipping unnecessary information transmissions, using time-sensitive network adapters.

Benefits of technology

It improves the management of time synchronization, ensuring that time-sensitive data can be reliably transmitted under different architectures, thus meeting the requirements of time-sensitive communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114915988B_ABST
    Figure CN114915988B_ABST
Patent Text Reader

Abstract

The application provides an information transmission method, a communication device and a storage medium. The method comprises: performing a first operation, wherein the first operation comprises at least one of the following: only sending a first type message and / or a second type message to a first interface, not sending the first type message and / or the second type message to a terminal, selecting a master clock for the terminal; rejecting a request for requesting a first synchronization; rejecting a first QoS guarantee for a first service or a first data flow; wherein the first synchronization comprises at least one of the following: the terminal and / or the first network synchronizing with a master clock outside the first network, the terminal and / or the first network synchronizing with the master clock outside the first network based on a second protocol, the terminal synchronizing with the master clock of the first network, synchronizing based on reference time information, and time synchronization with a first time precision. The application can improve the management effect of time synchronization.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of wireless communication, and in particular to an information transmission method, a communication device and a storage medium. BACKGROUND

[0002] Many vertical industries have the demand of time sensitive communication. In the industrial internet, there is time sensitive data, such as robot instructions, which needs to be executed in sequence within a specified time. However, network transmission resources are shared, and data transmission has latency and jitter, which cannot support time sensitive data. In addition, in the data network, more and more services or applications are sensitive to transmission latency. Therefore, a time sensitive communication is proposed to support the transmission of time sensitive data. However, how to improve the management effect of time synchronization, such as determining whether to apply time synchronization and how to support time synchronization under different architectures, is a technical problem to be solved at present. SUMMARY

[0003] Embodiments of the present application relate to an information transmission method, a communication device and a storage medium, to solve the problem of how to improve the management effect of time synchronization.

[0004] In a first aspect, the embodiments of the present application provide an information transmission method, executed by a first communication device, comprising:

[0005] performing a first operation, wherein the first operation comprises at least one of the following:

[0006] only sending a first type message and / or a second type message to a first interface,

[0007] not sending the first type message and / or the second type message to a terminal,

[0008] selecting a master clock for the terminal;

[0009] rejecting a request for requesting a first synchronization;

[0010] rejecting a first Quality of Service (QoS) guarantee for a first service or a first data flow;

[0011] wherein,

[0012] the first synchronization comprises at least one of the following: the terminal and / or the first network synchronizes with a master clock outside the first network, the terminal and / or the first network synchronizes with the master clock outside the first network based on a second protocol, the terminal synchronizes with the master clock of the first network, synchronizes based on reference time information, and time synchronization of a first time precision;

[0013] the first type message is used to send related information of a clock;

[0014] The second type of message is a related message of a time synchronization protocol;

[0015] The first interface includes: an interface connected to a data network, a port on a network-side time sensitive network translator (NW-TT);

[0016] The first QoS guarantee includes at least one of the following: time sensitive communication guarantee, latency guarantee, and guarantee of the first data flow or the second data channel according to time sensitive communication auxiliary information;

[0017] The second data channel is a data channel for transmitting first service data or first data flow data.

[0018] In a second aspect, an embodiment of the present application provides an information transmission method, executed by a second communication device, including:

[0019] performing a second operation, wherein the second operation includes at least one of the following:

[0020] sending first information;

[0021] skipping or discarding sending of second information;

[0022] The first information includes at least one of the following: a Medium Access Control (MAC) address of the terminal or an IP address of the terminal; a residence time of the terminal; first indication information; fourth indication information;

[0023] The first indication information is used to indicate at least one of the following:

[0024] The terminal is a terminal end of first service or first data flow, or the terminal is not a terminal end of first service or first data flow;

[0025] The terminal is co-located with a device-side time sensitive network translator (DS-TT);

[0026] The terminal supports or does not support a DS-TT function;

[0027] The terminal supports or does not support a first type of message;

[0028] The terminal supports or does not support a first protocol, and the first protocol is a protocol for selecting a master clock;

[0029] The terminal supports or does not support a second type of message;

[0030] The terminal supports or does not support time synchronization based on the second protocol;

[0031] The terminal supports or does not support obtaining reference time information;

[0032] The terminal supports or does not support time synchronization based on the reference time information;

[0033] The terminal supports or does not support time synchronization of the first time precision;

[0034] The fourth indication information is used for indicating at least one of the following:

[0035] The first service or the first data flow needs or does not need the first synchronization;

[0036] The first QoS guarantee needs or does not need the first synchronization;

[0037] The first service or the first data flow contains or does not contain a time-related parameter in the feature;

[0038] The first service or the first data flow requires or does not require the terminal to be synchronized with a master clock of the first network;

[0039] The second information includes at least one of the following:

[0040] Residence time between the terminal and the DS-TT;

[0041] MAC address of the DS-TT port.

[0042] In a third aspect, an information transmission method is provided, which is executed by a third communication device and includes the following steps.

[0043] Receiving at least one of a first type message and a second type message, wherein the first type message is used for sending related information of a clock, and the second type message is a related message of a time synchronization protocol;

[0044] Performing a third operation according to at least one of the first type message and the second type message, wherein the third operation includes at least one of the following:

[0045] Discarding or ignoring the received first type message;

[0046] Discarding or ignoring the received second type message;

[0047] Selecting a master clock according to the first type message;

[0048] Performing time synchronization according to the second type message;

[0049] Skipping a third type of operation, wherein the third type of operation comprises at least one of the following:

[0050] operating on the received second type of message;

[0051] sending the operated second type of message to a downstream communication device.

[0052] In a fourth aspect, an embodiment of the present application provides an information transmission method, executed by a fourth communication device, comprising:

[0053] performing a fourth operation, wherein the fourth operation comprises:

[0054] sending fourth information, wherein the fourth information comprises at least one of the following: second indication information, third indication information, a synchronization period, information in a time domain, service description information, description information of data traffic, and a first time precision;

[0055] wherein,

[0056] the second indication information is used to indicate at least one of the following: a requirement for a terminal to acquire reference time information, a requirement for the terminal to perform time synchronization based on the acquired reference time information, and a requirement for the terminal to perform time synchronization with a radio access network (RAN) at a first time precision;

[0057] the third indication information is used to request a terminal camping time.

[0058] In a fifth aspect, an embodiment of the present application provides an information transmission method, executed by a fifth communication device, comprising:

[0059] acquiring fourth information, wherein the fourth information comprises at least one of the following: second indication information and / or third indication information, a synchronization period, information in a time domain, service description information, description information of data traffic, and a first time precision;

[0060] performing a fifth operation according to the fourth information, wherein the fifth operation comprises:

[0061] acquiring reference time information,

[0062] performing time synchronization based on the acquired reference time information,

[0063] performing time synchronization with a RAN at a first time precision;

[0064] sending a terminal camping time;

[0065] wherein,

[0066] The second indication information is used to indicate at least one of the following: requiring the terminal to acquire reference time information, requiring the terminal to perform time synchronization based on the acquired reference time information, and requiring the terminal to perform time synchronization with a radio access network (RAN) at a first time precision.

[0067] The third indication information is used to request the terminal to perform a residence time.

[0068] In a sixth aspect, an embodiment of the present application provides an information transmission method, executed by a sixth communication device, including:

[0069] performing a sixth operation, the sixth operation including one of the following:

[0070] sending reference time information and first description information,

[0071] sending the reference time information, and the reference time information does not include the first description information;

[0072] sending the reference time information, and the reference time information includes the first description information.

[0073] The first description information includes at least one of the following: service description information, and data flow description information.

[0074] In a seventh aspect, an embodiment of the present application provides a communication device, which is a first communication device, including:

[0075] an execution module, configured to perform a first operation, the first operation including at least one of the following:

[0076] sending only a first type of message and / or a second type of message to a first interface,

[0077] not sending the first type of message and / or the second type of message to a terminal,

[0078] selecting a master clock for the terminal;

[0079] rejecting a request for first synchronization;

[0080] rejecting first quality of service (QoS) guarantee for a first service or a first data flow;

[0081] The first synchronization includes at least one of the following: synchronization between the terminal and / or the first network and a master clock outside the first network, synchronization between the terminal and / or the first network and the master clock outside the first network based on a second protocol, synchronization between the terminal and a master clock of the first network, synchronization based on reference time information, and time synchronization at a first time precision.

[0082] The first synchronization includes at least one of the following: synchronization between the terminal and / or the first network and a master clock outside the first network, synchronization between the terminal and / or the first network and the master clock outside the first network based on a second protocol, synchronization between the terminal and a master clock of the first network, synchronization based on reference time information, and time synchronization at a first time precision.

[0083] The first type of message is used to send related information of a clock;

[0084] The second type of message is a related message of a time synchronization protocol;

[0085] The first interface includes an interface connected to a data network, and a port on a network side time sensitive network adapter (NW-TT);

[0086] The first QoS guarantee includes at least one of the following: time sensitive communication guarantee, latency guarantee, and guarantee of the first data flow or the second data channel according to time sensitive communication auxiliary information;

[0087] The second data channel is a data channel for transmitting first service data or first data flow data.

[0088] In an eighth aspect, an embodiment of the present application provides a communication device, which is a second communication device, including:

[0089] An execution module configured to execute a second operation, wherein the second operation includes at least one of the following:

[0090] Send first information;

[0091] Skip or discard sending of the second information;

[0092] The first information includes at least one of the following: a MAC address of the terminal or an IP address of the terminal; a residence time of the terminal; first indication information; fourth indication information;

[0093] The first indication information is used to indicate at least one of the following:

[0094] The terminal is a terminal end of first service or first data flow, or the terminal is not a terminal end of first service or first data flow;

[0095] The terminal is collocated with a DS-TT;

[0096] The terminal supports or does not support a DS-TT function;

[0097] The terminal supports or does not support a first type of message;

[0098] The terminal supports or does not support a first protocol, which is a protocol used to select a master clock;

[0099] The terminal supports or does not support a second type of message;

[0100] The terminal supports or does not support time synchronization based on a second protocol;

[0101] The terminal supports or does not support obtaining reference time information;

[0102] the terminal supports or does not support time synchronization based on reference time information;

[0103] the terminal supports or does not support time synchronization of a first time precision;

[0104] The fourth indication information is used to indicate at least one of the following:

[0105] The first service or first data flow needs or does not need first synchronization;

[0106] The first QoS guarantee needs or does not need first synchronization;

[0107] The first service or first data flow contains or does not contain a time-related parameter in the feature;

[0108] The first service or first data flow requires or does not require the terminal to be synchronized with the master clock of the first network;

[0109] The second information includes at least one of the following:

[0110] Residence time between the terminal and the DS-TT;

[0111] MAC address of the DS-TT port.

[0112] In a ninth aspect, the embodiments of the present application provide a communication device, which is a third communication device, comprising:

[0113] The receiving module is configured to receive at least one of a first type message and a second type message, wherein the first type message is used to send related information of a clock, and the second type message is a related message of a time synchronization protocol;

[0114] The execution module is configured to execute a third operation according to at least one of the first type message and the second type message, wherein the third operation includes at least one of the following:

[0115] Discard or ignore the received first type message;

[0116] Discard or ignore the received second type message;

[0117] Select a master clock according to the first type message;

[0118] Perform time synchronization according to the second type message;

[0119] Skip a type of third operation, wherein the type of third operation includes at least one of the following:

[0120] operating on a received second type message;

[0121] sending the operated second type message to a downstream communication device.

[0122] In a tenth aspect, an embodiment of the present application provides a communication device, the communication device being a fourth communication device, comprising:

[0123] an execution module configured to perform a fourth operation, the fourth operation comprising:

[0124] a sending module configured to send fourth information, the fourth information comprising at least one of the following: second indication information, third indication information, a synchronization period, information in a time domain, service description information, description information of data traffic, and a first time precision;

[0125] wherein,

[0126] the second indication information is used to indicate at least one of the following: a requirement for the terminal to acquire reference time information, a requirement for the terminal to perform time synchronization based on the acquired reference time information, and a requirement for the terminal to perform time synchronization with a radio access network (RAN) at a first time precision;

[0127] the third indication information is used to request a terminal camping time.

[0128] In an eleventh aspect, an embodiment of the present application provides a communication device, the communication device being a fifth communication device, comprising:

[0129] an acquisition module configured to acquire fourth information, the fourth information comprising at least one of the following: second indication information and / or third indication information, a synchronization period, information in a time domain, service description information, description information of data traffic, and a first time precision;

[0130] an execution module configured to perform a fifth operation according to the fourth information, wherein the fifth operation comprises:

[0131] acquiring reference time information,

[0132] performing time synchronization based on the acquired reference time information,

[0133] performing time synchronization with a RAN at a first time precision;

[0134] sending a terminal camping time;

[0135] wherein,

[0136] the second indication information is used to indicate at least one of the following: a requirement for the terminal to acquire reference time information, a requirement for the terminal to perform time synchronization based on the acquired reference time information, and a requirement for the terminal to perform time synchronization with a radio access network (RAN) at a first time precision;

[0137] The third indication information is used for requesting a terminal camping time.

[0138] In a twelfth aspect, an embodiment of the present application provides a communication device, which is a sixth communication device, including:

[0139] The execution module is configured to execute a sixth operation, the sixth operation including one of the following:

[0140] The sending module is configured to send reference time information and first description information,

[0141] The reference time information does not include the first description information.

[0142] The reference time information includes the first description information.

[0143] The first description information includes at least one of the following: service description information, and data flow description information.

[0144] In a thirteenth aspect, an embodiment of the present application provides a communication device including a processor, a memory, and a computer program stored in the memory and executable on the processor, when the computer program is executed by the processor, the steps of the information transmission method on the side of the first communication device, or the steps of the information transmission method on the side of the second communication device, or the steps of the information transmission method on the side of the third communication device, or the steps of the information transmission method on the side of the fourth communication device, or the steps of the information transmission method on the side of the fifth communication device, or the steps of the information transmission method on the side of the sixth communication device are implemented.

[0145] In a fourteenth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium storing a computer program, when the computer program is executed by a processor, the steps of the information transmission method on the side of the first communication device, or the steps of the information transmission method on the side of the second communication device, or the steps of the information transmission method on the side of the third communication device, or the steps of the information transmission method on the side of the fourth communication device, or the steps of the information transmission method on the side of the fifth communication device, or the steps of the information transmission method on the side of the sixth communication device are implemented.

[0146] In the embodiments of the present application, the first operation is performed, wherein the first operation comprises at least one of the following: sending only the first type message and / or the second type message to the first interface, not sending the first type message and / or the second type message to the terminal, selecting a master clock for the terminal; rejecting a request for requesting the first synchronization; rejecting the first quality of service (QoS) guarantee for the first service or the first data flow; wherein the first synchronization comprises at least one of the following: the terminal and / or the first network synchronizing with a master clock outside the first network, the terminal and / or the first network synchronizing with the master clock outside the first network based on a second protocol, the terminal synchronizing with the master clock of the first network, synchronizing based on reference time information, time synchronization of the first time precision; the first type message is used to send related information of the clock; the second type message is a related message of the time synchronization protocol; the first interface comprises: an interface connected to a data network, a port on a network side time sensitive network adapter (NW-TT); the first QoS guarantee comprises at least one of the following: time sensitive communication guarantee, delay guarantee, guaranteeing the first data flow or the second data channel according to time sensitive communication auxiliary information; the second data channel is a data channel for transmitting data of the first service or the first data flow. In this way, the management effect of the time synchronization can be improved by performing the above first operation. BRIEF DESCRIPTION OF DRAWINGS

[0147] Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The accompanying drawings are included to provide a description of the preferred embodiments and are not intended to limit the scope of the application. Moreover, the same reference numerals are intended to denote the same components throughout the accompanying drawings. In the drawings:

[0148] Figure 1-A An architecture schematic diagram of a wireless communication system applicable to embodiments of the present application is provided;

[0149] Figure 1-B An architecture schematic diagram of a wireless communication system applicable to embodiments of the present application is provided;

[0150] Figure 1-C An architecture schematic diagram of a wireless communication system applicable to embodiments of the present application is provided;

[0151] Figure 2 A flowchart of an information transmission method according to embodiments of the present application is provided;

[0152] Figure 3 A flowchart of another information transmission method according to embodiments of the present application is provided;

[0153] Figure 4 A flowchart of another information transmission method according to embodiments of the present application is provided;

[0154] Figure 5 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0155] Figure 6 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0156] Figure 7 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0157] Figure 8 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0158] Figure 9 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0159] Figure 10 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0160] Figure 11 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0161] Figure 12 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0162] Figure 13 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0163] Figure 14 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0164] Figure 15 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application;

[0165] Figure 16 FIG. 2 is a flowchart of another information transmission method provided by an embodiment of the present application. DETAILED DESCRIPTION

[0166] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.

[0167] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a particular order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second" are generally of a kind, and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / " generally indicates that the objects before and after are in a "and / or" relationship.

[0168] It is worth pointing out that the technology described in the embodiments of the present application is not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used in the above mentioned systems and radio technologies, as well as in other systems and radio technologies. However, the following description describes a New Radio (NR) system for example purposes, and NR terminology is used in most of the following description, although these technologies can also be applied to applications other than NR system applications, such as 6th Generation (6G) communication systems. th Generation,6G) communication systems.

[0169] In the embodiments of the present application, time sensing can also be referred to as periodic deterministic. Time sensitive communication can also be referred to as periodic deterministic communication. Time sensitive data flow can also be referred to as periodic deterministic data flow. A time sensitive network technology is, for example, IEEE TSN (Time Sensing Network). Periodic deterministic communication is data transmission in a periodic manner with a transmission interval.

[0170] The embodiments of the present application include, but are not limited to, the following architectures:

[0171] Figure 1-A A block diagram of a wireless communication system to which the embodiments of the present application are applicable is shown. The wireless communication system includes a terminal of service or data traffic, a DS-TT, a terminal, a first network, a data network and an application function (AF). As described above, the terminal is not a terminal of service or data traffic. The terminal is connected to the terminal of service or data traffic through the DS-TT. Figure 1-A

[0172] Figure 1-B A block diagram of another wireless communication system to which the embodiments of the present application are applicable is shown. The wireless communication system includes a terminal, a first network, a data network and an AF. As described above, the terminal is a terminal of service or data traffic, but the DS-TT is not supported on the terminal Figure 1-B

[0173] Figure 1-C A block diagram of another wireless communication system to which the embodiments of the present application are applicable is shown. The wireless communication system includes a terminal, a first network, a data network and an application function (AF), wherein the terminal is collocated with a DS-TT. As described above, the terminal is a terminal of service or data traffic, and the DS-TT function is supported on the terminal. Figure 1-C

[0174] ​​​In the embodiments of the present application, the terminal can be a mobile phone, a Tablet Personal Computer, a Laptop Computer, a Personal Digital Assistant (PDA), a palm computer, a netbook, an ultra-mobile personal computer (UMPC), a Mobile Internet Device (MID), a wearable device, or a vehicle user equipment (VUE), a pedestrian user equipment (PUE), and the like. The wearable device includes a bracelet, an earphone, glasses, and the like. It should be noted that the specific type of the terminal 11 is not limited in the embodiments of the present application.

[0175] In the embodiments of the present application, the first network includes a RAN network element and a core network network element (CN network element).

[0176] The core network element (CN element) may include, but is not limited to, at least one of the following: core network equipment, core network node, core network function, core network element, Mobility Management Entity (MME), Access Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Serving Gateway (SGW), PDN Gateway (PDN Gateway), Policy Control Function (PCF), Time Sensing Network Application Function (TSN AF), Policy and Charging Rules Function (PCRF), Serving GPRS Support Node (SGSN), Gateway GPRS Support Node (GGSN), Unified Data Management (UDM), Unified Data Repository (UDR), and Network Exposure. The network functions include: Network Function (NEF), Home Subscriber Server (HSS), Application Function (AF), and Centralized Network Configuration (CNC). The UPF can be co-located with the NW-TT, although in some embodiments, they may not be co-located.

[0177] It should be noted that, Figure 1-A , 1-B The first network in 1-C is merely an example, and the network architecture of the first network is not limited in the embodiments of this application.

[0178] In the embodiments of the present application, the RAN network element can include but is not limited to at least one of the following: a radio access network device, a radio access network node, a radio access network function, a radio access network unit, a Third Generation Partnership Project (3GPP) radio access network, a non-3GPP radio access network, a centralized unit (CU), a distributed unit (DU), a base station, an evolved Node B (eNB), a 5G base station (gNB), a radio network controller (RNC), a base station (NodeB), a non-3GPP interworking function (N3IWF), an access controller (AC) node, an access point (AP) device or a wireless local area network (WLAN) node, a non-3GPP interworking function (N3IWF).

[0179] The embodiments of the present application can at least solve the following technical problems:

[0180] Problem one: when a 5G grand master (GM) is used, the NW-TT generates an announcement message and sends it to the DS-TT, which is sent to external devices through its port. However, when the terminal is an end station, the terminal has already obtained the 5G system (5GS) clock from the RAN, and does not need to obtain the announcement message again.

[0181] The NW-TT can identify this situation and not send the announcement message to the end station terminal.

[0182] Problem two: when the terminal grand master clock is a 5G clock, the terminal synchronizes to the 5G clock from the RAN node. The terminal needs to skip the process of generating gPTP / PTP messages.

[0183] Question 3: For a normal IP protocol data unit session (IP PDU Session), the AF triggers time-sensitive services. The AF triggers time-sensitive services may use three types of clocks: 1) 5G GM; 2) external GM; and 3) a mechanism other than gPTP or PTP, such as Network Time Protocol (NTP). How does the terminal know which type of 5G GM it should listen to.

[0184] In an embodiment of the present application, optionally, obtaining or acquiring can be understood as obtaining from configuration, receiving, receiving after requesting, acquiring through self-learning, acquiring according to un-received information, or acquiring after processing received information, which can be determined according to actual needs, and the present application does not limit this. For example, when a certain capability indication information sent by a device is not received, it can be inferred that the device does not support the capability.

[0185] Optionally, sending can include broadcasting, broadcasting in a system message, and returning after responding to a request.

[0186] In an optional embodiment of the present application, the communication device can include at least one of a communication network element and a terminal.

[0187] In an embodiment of the present application, the communication network element can include at least one of a core network element and a radio access network element.

[0188] In an embodiment of the present application, the port can be one of an Ethernet port and an IP port.

[0189] In an optional embodiment of the present application, the channel can include but is not limited to one of a PDU session, a PDN connection, a QoS flow, a bearer, and an Internet Protocol Security (IPsec) channel. The bearer can be an Evolved Radio Access Bearer (E-RAB), an Evolved Radio Access Bearer (RAB), a Data Radio Bearer (DRB), a signalling radio bearer (SRB), and the like.

[0190] In an optional embodiment of the present application, the port of the TT, the port on the TT, and the port on the TT side all represent the same meaning and can be used interchangeably.

[0191] In an alternative embodiment of the application, the terminal-to-DS-TT residence time (also referred to as terminal-to-DS-TT latency) comprises a time required for a data packet to pass through the terminal and the DS-TT.

[0192] In an alternative embodiment of the application, the terminal residence time comprises one of: a time required for a data packet to pass through the terminal, a time required for a data packet to pass through the terminal from an application client, and a time required for data to pass through the terminal to an application client.

[0193] In an alternative embodiment of the application, the terminal not supporting the DS-TT comprises at least one of: the terminal not supporting a DS-TT function, and the terminal not supporting a connection with the DS-TT. The DS-TT function comprises at least one of: a first type of message, a first protocol, a second protocol, a second type of message, supporting obtaining reference time information, supporting time synchronization based on the reference time information, and supporting time synchronization with a first time precision.

[0194] In an alternative embodiment of the application, the reference time information or the reference time is provided by a RAN network element.

[0195] In an alternative embodiment of the application, the first service or the first data flow can be used to refer to a service in general, or to refer to one or more services.

[0196] In an alternative embodiment of the application, the first service or the first data flow comprises at least one of: a time-sensitive service, a service requiring time synchronization, and a service requiring time synchronization with a first time precision.

[0197] In an alternative embodiment of the application, the end station (e.g., End Station) comprises at least one of: a consumer of a service, a performer of a service, and data of the service not being further delivered.

[0198] In an alternative embodiment of the application, the residence time can also be referred to as at least one of: a link latency, a link time overhead, and a residence time overhead.

[0199] In an alternative embodiment of the application, the terminal being an end station for the first service or the first data flow comprises an application (e.g., an application client) in the terminal being an end station for the first service or the first data flow

[0200] The first type of message is a first type of message directly generated by the first communication device or a first type of message generated based on a received first type of message outside the first network

[0201] In an optional embodiment of the present application, the service description information comprises at least one of the following: type information of the service, identification information of the service. The type information of the service comprises at least one of the following: time-sensitive service, service guaranteed based on TSCAI, time synchronization service, time-sensitive network, etc.

[0202] In an optional embodiment of the present application, the description information of the data flow comprises at least one of the following: description information of the application, target IP address, target port, source IP address, source port, protocol number, data domain DNN, non-IP description information, domain description information, connection capability.

[0203] In an optional embodiment of the present application, the description information of the application comprises at least one of the following: identification information of the operating system, identification information of the application.

[0204] In an optional embodiment of the present application, the domain description information comprises at least one of the following: domain name description, FQDN.

[0205] In an optional embodiment of the present application, time synchronization and clock synchronization have the same meaning. They can be used interchangeably.

[0206] In an optional embodiment of the present application, time precision and time granularity have the same meaning. Time precision can be used to represent time unit.

[0207] In an optional embodiment of the present application, the reference time information comprises at least one of the following:

[0208] Reference time, reference time with first time precision;

[0209] Type information of the reference time (e.g., UTC, or DST, or GPS, or local time);

[0210] Precision (or granularity) of the reference time (e.g., 1 ns, 10 ns, 1 us, 1 ms, 10 ms, or 1 s);

[0211] Time domain information of the reference time;

[0212] Description information of the data flow to which the reference time applies;

[0213] Time precision of the reference time;

[0214] Synchronization period of the reference time.

[0215] In an implementation, the reference time information is equivalent to the reference time.

[0216] In an optional embodiment of the present application, the operation of determining the master clock comprises determining the optimal master clock

[0217] In an optional embodiment of the application, the second protocol comprises at least one of: a generalized precision time protocol gPTP, a precision time protocol PTP, a network time protocol NTP.

[0218] In an optional embodiment of the application, the second type of message comprises at least one of: a message related to a generalized precision time protocol gPTP, a message related to a precision time protocol PTP, a message related to a network time protocol NTP.

[0219] In an optional embodiment of the application, the first type of message comprises an announce message in a BMCA (best master clock algorithm) protocol. The announce message can be used to send characteristic information of a clock, which is used by other devices in the time domain for the best master clock algorithm.

[0220] In an optional embodiment of the application, the time-sensitive communication guarantee comprises guaranteeing according to time-sensitive communication characteristic information. Time-sensitive communication auxiliary information can be generated according to the time-sensitive communication characteristic information. The time-sensitive communication auxiliary information can comprise one or more of the time-sensitive communication characteristic information.

[0221] In an optional embodiment of the application, the time-sensitive communication characteristic information and / or the time-sensitive communication auxiliary information comprises one of: a data packet arrival time, an interval period between data packets, a direction, a data packet size, a latency requirement, a transmission rate requirement, information of a time domain, fourth indication information, a synchronization period, information of a time domain, service description information, data flow description information, a first time precision. In an implementation, the interval period between data packets is calculated from the time when the data packet is sent. The interval period between data packets can also be referred to as a data packet arrival period or a data packet sending period.

[0222] In an optional embodiment of the application, the port state is a port state of a port of a bridge constituted by a communication network. The first bridge can be a bridge constituted by a communication network.

[0223] As shown in Figure 1-A , the bridge can be constituted by a DS-TT, a UE and a first network. If Figure 1-B , the bridge can be constituted by a first network. If Figure 1-C , the bridge can be constituted by a first network and a DS-TT. The first network can support a NW-TT or not support a NW-TT.

[0224] In an alternative embodiment of the application, the terminal synchronizing with the master clock of the first network comprises at least one of the following: the terminal obtaining reference time information of the first network, and synchronizing according to the reference time information. In an implementation, the reference time information is provided by a RAN network element of the first network.

[0225] Reference is made to Figure 2 The embodiments of the application provide an information transmission method, which is executed by a first communication device. The first communication device includes but is not limited to a RAN network element or a core network network element (such as one of the following: NW-TT, a gateway (such as UPF), PCF, NEF, and AF); the RAN network element or the core network network element can be a communication device in a first network, and the method comprises the following steps:

[0226] Step 201: performing a first operation, wherein the first operation includes at least one of the following:

[0227] only sending a first type of message and / or a second type of message to a first interface,

[0228] not sending the first type of message and / or the second type of message to the terminal,

[0229] selecting a master clock for the terminal;

[0230] rejecting a request for requesting first synchronization;

[0231] rejecting first QoS guarantee for first service or first data flow;

[0232] wherein,

[0233] the first synchronization includes at least one of the following: the terminal and / or the first network synchronizing with a master clock outside the first network, the terminal and / or the first network synchronizing with the master clock outside the first network based on a second protocol, the terminal synchronizing with a master clock of the first network, synchronizing based on reference time information, and time synchronization with a first time precision;

[0234] the first type of message is used for sending related information of a clock;

[0235] the second type of message is a related message of a time synchronization protocol;

[0236] the first interface includes: an interface connected to a data network, and a port on the NW-TT;

[0237] the first QoS guarantee includes at least one of the following: time-sensitive communication guarantee, delay guarantee, and guaranteeing the first data flow or a second data channel according to time-sensitive communication auxiliary information;

[0238] the second data channel is a data channel for transmitting first service data or first data flow data.

[0239] In an implementation form, the first interface is an interface or port on the gateway, such as a port of the NW-TT.

[0240] In an implementation form, the sending of the first type of message and / or the second type of message only to the first interface can comprise sending the first type of message and / or the second type of message only to the data network.

[0241] In an implementation form, the sending of the first type of message and / or the second type of message only to the first interface can be sending the first type of message and / or the second type of message only via the port of the NW-TT.

[0242] In an implementation form, the sending of the first type of message and / or the second type of message only to the first interface can be sending the first type of message and / or the second type of message only to the data network and via the port of the NW-TT.

[0243] In an implementation form, the first type of message can be an announce message.

[0244] In an implementation form, the first type of message can be used for determining a master clock, such as for determining an optimal master clock.

[0245] Optionally, the first communication device comprises the AF, the UPF and / or the NW-TT, and the first operation can comprise at least one of the following.

[0246] sending the first type of message and / or the second type of message only to the first interface,

[0247] not sending the first type of message and / or the second type of message to the terminal,

[0248] selecting a master clock for the terminal.

[0249] Optionally, the first communication device comprises the NEF, and the first operation can comprise at least one of the following.

[0250] rejecting a request for requesting the first synchronization;

[0251] rejecting the first QoS guarantee for the first service or the first data traffic.

[0252] Optionally, the first type of message comprises service description information or data traffic description information associated with the first type of message;

[0253] and / or

[0254] the second type of message comprises service description information or data traffic description information associated with the second type of message;

[0255] and / or

[0256] In the case of sending the first type of message, the service description information or the description information of the data flow associated with the first type of message is also sent.

[0257] In the case of sending the second type of message, the service description information or the description information of the data flow associated with the second type of message is also sent.

[0258] In an implementation, the suffix field of the first type of message contains the description information of the data flow.

[0259] In an implementation, in the case of sending the first type of message to the terminal, the service description information or the description information of the data flow associated with the first type of message is also sent to the terminal.

[0260] In an implementation, in the case of sending the second type of message to the terminal, the service description information or the description information of the data flow associated with the second type of message is also sent to the terminal.

[0261] In an implementation, in the case of sending the first type of message to the first interface, the service description information or the description information of the data flow associated with the first type of message is also sent to the first interface.

[0262] In an implementation, in the case of sending the second type of message to the first interface, the service description information or the description information of the data flow associated with the second type of message is also sent to the first interface.

[0263] Optionally, the second protocol includes at least one of the following: Generalized Precision Time Protocol (gPTP), Precision Time Protocol (PTP), Network Time Protocol (NTP).

[0264] and / or

[0265] The second type of message includes at least one of the following: a related message of gPTP, a related message of PTP, and a related message of NTP.

[0266] In an implementation, the above selecting a master clock for the terminal can be selecting a 5G master clock or a 6G master clock, or a master clock of other wireless communication networks, for the terminal.

[0267] Optionally, the rejecting the request for requesting the first synchronization can be rejecting the request for the first synchronization sent by at least one of: the AF, the terminal, the RAN network element, or the core network network element. In this case, the first communication device can be the NEF.

[0268] In an implementation, the first data flow can be a first service or a first data traffic of the terminal, which can be a service currently used by the terminal.

[0269] Optionally, the rejecting the request for requesting the first synchronization can be rejecting the first QoS guarantee for the first service or the first data traffic sent by at least one of: the AF, the terminal, the RAN network element, or the core network network element. In this case, the first communication device can be the NEF.

[0270] In an implementation, the rejecting the first QoS guarantee for the first data flow can include one of: giving up the QoS guarantee for the first data flow, or adopting another QoS guarantee for the first data flow. In an implementation, the first synchronization can be the terminal synchronizing with a master clock outside the first network, and / or the terminal synchronizing with the master clock outside the first network based on a second protocol.

[0271] In an implementation, the first synchronization can be the first network synchronizing with a master clock outside the first network, and / or the first network synchronizing with the master clock outside the first network based on a second protocol.

[0272] In an implementation, the first synchronization can be the terminal synchronizing with a master clock outside the first network, and the first network synchronizing with the master clock outside the first network; and / or the terminal synchronizing with the master clock outside the first network based on a second protocol, and the first network synchronizing with the master clock outside the first network based on the second protocol.

[0273] In an implementation, the first synchronization can be synchronizing based on reference time information, for example, synchronizing based on at least one of:

[0274] reference time, including reference time of the first time precision;

[0275] type information of the reference time (e.g., UTC, or DST, or GPS, or local time);

[0276] precision (or granularity) of the reference time (e.g., 1 ns, 10 ns, 1 us, 1 ms, 10 ms, or 1 s);

[0277] time domain information of the reference time;

[0278] description information of data traffic to which the reference time applies;

[0279] a time precision of a reference time;

[0280] a synchronization period of a reference time.

[0281] In an implementation, the first synchronization can be a time synchronization of a first time precision, wherein the first time precision comprises one of: 1 nanosecond, 10 nanoseconds, 100 nanoseconds, 1 microsecond, 10 microseconds, 100 microseconds, 1 millisecond, 10 milliseconds, 100 milliseconds, 1 second.

[0282] In an implementation, the master clock outside the first network can be one of: a master clock of a data network, a master clock provided by the AF.

[0283] In an implementation, the second data channel comprises a QoS flow; the first data channel comprises at least one of: a PDU session, a QoS flow.

[0284] In an implementation, the second data channel is the same as or different from the first data channel.

[0285] In an implementation, the first QoS guarantee requires the first synchronization. In another implementation, the first QoS guarantee does not require the first synchronization.

[0286] Optionally, the not sending the first type of message to the terminal comprises:

[0287] skipping the step of sending the first type of message to the terminal or discarding the first type of message prepared to be sent to the terminal.

[0288] In an implementation, the skipping the step of sending the first type of message to the terminal can be, in some scenarios, the step of sending the first type of message to the terminal is configured, and the step is skipped when the first operation is performed.

[0289] In an implementation, the discarding the first type of message prepared to be sent to the terminal can be, in some scenarios, the first type of message prepared to be sent to the terminal, and the step is skipped when the first operation is performed.

[0290] Optionally, in the case where the first condition is met, the first operation comprises at least one of:

[0291] only sending the first type of message and / or the second type of message to the first interface, and not sending the first type of message and / or the second type of message to the terminal;

[0292] wherein the first condition comprises at least one of:

[0293] the terminal is a termination point of the first service or the first data flow;

[0294] The terminal is associated with a device-side time-sensitive network adapter DS-TT;

[0295] The context of the first data channel of the terminal indicates that the terminal is a termination point of the first service or first data traffic;

[0296] The terminal does not support the DS-TT;

[0297] The first communication device is responsible for determining the port state or is configured with the port state on the first communication device;

[0298] The terminal does not support the first type of message;

[0299] The terminal does not support selecting a master clock or does not support a first protocol, which is a protocol for selecting a master clock;

[0300] The terminal does not support the second type of message;

[0301] The terminal does not support time synchronization based on a second protocol;

[0302] The master clock of the first service or first data traffic is determined to be the master clock of the first network;

[0303] The terminal does not support obtaining reference time information;

[0304] The terminal does not support time synchronization based on reference time information;

[0305] The terminal does not support time synchronization of the first time precision;

[0306] The first service or first data traffic does not require the first synchronization;

[0307] The first QoS guarantee does not require the first synchronization;

[0308] The first service or first data traffic does not contain a time-related parameter in its characteristics.

[0309] The first data channel is used to transmit at least one of the following: data of the first service or first data traffic, a first type of message related to the first service or first data traffic, and a second type of message related to the first service or first data traffic.

[0310] In an implementation, when the tenth condition is met, if the eleventh condition is also met, the first operation includes at least one of the following: only sending the first type of message and / or the second type of message to the first interface, and not sending the first type of message and / or the second type of message to the terminal;

[0311] The tenth condition includes at least one of the following:

[0312] The first service or first data flow requires the first synchronization;

[0313] The first QoS guarantee requires the first synchronization;

[0314] The first service or first data flow contains a time-related parameter in its characteristics.

[0315] The eleventh condition includes at least one of the following:

[0316] The terminal does not support obtaining reference time information;

[0317] The terminal does not support time synchronization based on reference time information;

[0318] The terminal does not support time synchronization with a first time precision;

[0319] The terminal does not support a first type of message;

[0320] The terminal does not support selecting a master clock or the terminal does not support a first protocol, which is a protocol for selecting a master clock;

[0321] The terminal does not support a second type of message;

[0322] The terminal does not support time synchronization based on a second protocol;

[0323] The master clock of the first service or first data flow is determined to be the master clock of the first network.

[0324] In an implementation form, the first data flow is a data flow of the first service or first data flow.

[0325] In an implementation form, the time-related parameter includes at least one of the following: a data packet arrival time, an interval period between data packets.

[0326] In an implementation form, the port is a port of the first network bridge; and the port state is a port state of the first network bridge.

[0327] In an implementation form, the first network bridge includes one of the following:

[0328] A network bridge constituted by the first network;

[0329] A network bridge constituted by the first network and the terminal, and the DS-TT;

[0330] In the first network, the NW-TT can be included or not included.

[0331] In an embodiment, when the first network constitutes a first bridge, the ports of the first bridge can include at least one of the following: the first interface, a UU interface. When the first network constitutes a first bridge, the terminal (e.g. an application or an application client on the terminal) is a terminal end point.

[0332] In an embodiment, when the first network constitutes a bridge with the terminal and a DS-TT, the ports of the first bridge can include at least one of the following: the first interface, a port on the DS-TT. In this case, in an embodiment, the terminal is not a service end point, and the terminal is connected to the DS-TT. The communication device connected to the DS-TT is the end point (as shown in FIG. 1). In another embodiment, the terminal is a service end point. The terminal and the DS-TT are co-located, and the application on the terminal can communicate with the DS-TT on the terminal (as shown in FIG. 1).

[0333] In an embodiment, when the following conditions are met, the first type of message is not sent to the terminal, the conditions including at least one of the following: the terminal does not support the first type of message; the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock.

[0334] In an embodiment, when the following conditions are met, the second type of message is not sent to the terminal, the conditions including at least one of the following: the terminal supports time synchronization based on a second protocol; the terminal supports time synchronization based on a second protocol.

[0335] In an embodiment, when the following conditions are met, the second type of message is not sent to the terminal, the conditions including at least one of the following: the terminal does not support the first type of message; the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock.

[0336] It is not difficult to understand that, in an embodiment, even if the terminal supports the second type of message and / or the second protocol, the second type of message sent to the terminal is invalid in the case of not supporting the selection of the master clock.

[0337] In an embodiment, the first network selects the master clock instead of the terminal, so that the second type of message can be sent to the terminal for synchronization even if the terminal does not support the selection of the master clock.

[0338] Optionally, the context of the first data channel of the terminal indicates that the terminal is an end point of the first service or the first data flow, including:

[0339] The context of the first data channel can indicate that the terminal is an end point of the first service or the first data flow without including at least one of the following:

[0340] a terminal-DS-TT residence time, and a MAC address of a DS-TT port.

[0341] In an implementation, the terminal-DS-TT residence time can be a link overhead time of the terminal with the DS-TT.

[0342] In an implementation, when the context of the first data channel does not include at least one of the terminal-DS-TT residence time and the MAC address of the DS-TT port, the first communication device can determine that the terminal is a termination point of the first service or the first data flow.

[0343] Optionally, the performing the first operation comprises:

[0344] selecting a master clock for the terminal in a case where a second condition is met;

[0345] wherein the second condition comprises at least one of:

[0346] the terminal is a termination point of the first service or the first data flow;

[0347] the terminal is co-located with the DS-TT;

[0348] a context of a first data channel of the terminal indicates that the terminal is a termination point of the first service or the first data flow;

[0349] the terminal does not support the DS-TT;

[0350] the terminal does not support a port state or the first communication device is configured with the port state; and the terminal does not support a first type of message;

[0351] the terminal does not support selecting a master clock or the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0352] the terminal supports obtaining reference time information;

[0353] the terminal supports time synchronization based on the reference time information;

[0354] the terminal supports time synchronization with a first time precision;

[0355] the first service or the first data flow requires the first synchronization;

[0356] the first QoS guarantee requires the first synchronization;

[0357] a time-related parameter is included in a characteristic of the first service or the first data flow;

[0358] The first data channel is configured to transmit at least one of the following: data of the first service or first data flow, a first type message related to the first service or first data flow, and a second type message related to the first service or first data flow.

[0359] In an implementation, the terminal not supporting selecting a master clock can be that the terminal does not support autonomously selecting a master clock.

[0360] In an implementation, the terminal not supporting the first protocol can be that the terminal does not use the first protocol for selecting a master clock.

[0361] Optionally, the performing the first operation comprises:

[0362] In a case where the third condition is met, at least one of the following is performed: rejecting a request for requesting the first synchronization; and rejecting the first QoS guarantee for the first data flow.

[0363] The third condition comprises at least one of the following:

[0364] The terminal is a terminal end of the first service or first data flow;

[0365] The terminal is co-located with the DS-TT.

[0366] A context of the first data channel of the terminal indicates that the terminal is a terminal end of the first service or first data flow.

[0367] The terminal does not support the DS-TT.

[0368] The first communication device is responsible for determining the port state or is configured with the port state on the first communication device.

[0369] The terminal does not support the first type message.

[0370] The terminal does not support selecting a master clock or the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock.

[0371] The terminal does not support the second type message.

[0372] The terminal does not support time synchronization based on a second protocol.

[0373] A master clock of the terminal is determined to be a master clock outside the first network.

[0374] It is determined that synchronization with the master clock outside the first network based on a second protocol is needed or that a second type message is to be sent to the terminal for synchronization with the master clock outside the first network.

[0375] The terminal does not support obtaining reference time information.

[0376] the terminal does not support time synchronization based on reference time information;

[0377] the terminal does not support time synchronization with the first time precision;

[0378] the first service or the first data flow needs the first synchronization;

[0379] the first QoS guarantee needs the first synchronization;

[0380] the first service or the first data flow contains time-related parameters in the characteristics;

[0381] In an implementation form, the determining that the first communication device needs to synchronize with the master clock outside the first network based on the second protocol can be determining that the first communication device needs to synchronize with the master clock outside the first network based on the second protocol.

[0382] In an implementation form, the determining that the second type of message needs to be sent to the terminal to synchronize with the master clock outside the first network can be determining that the first communication device needs to send the second type of message to the terminal to synchronize with the master clock outside the first network.

[0383] In an implementation form, the terminal can support at least one of the following to synchronize time based on the second protocol: supporting obtaining reference time information; supporting time synchronization based on reference time information; supporting time synchronization with the first time precision.

[0384] Optionally, the performing the first operation comprises:

[0385] In a case where the first information is obtained, performing the first operation, wherein the first information comprises at least one of the following: a MAC address of the terminal or an IP address of the terminal; a residence time of the terminal; first indication information; fourth indication information;

[0386] The first indication information is used to indicate at least one of the following:

[0387] the terminal is a terminal end of the first service or the first data flow or the terminal is not a terminal end of the first service or the first data flow;

[0388] the terminal is collocated with a DS-TT;

[0389] the terminal supports or does not support a DS-TT function;

[0390] the terminal supports or does not support the first type of message;

[0391] the terminal supports or does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0392] the terminal supports or does not support the second type of message;

[0393] the terminal supports or does not support time synchronization based on the second protocol;

[0394] the terminal supports or does not support obtaining reference time information;

[0395] the terminal supports or does not support time synchronization based on the reference time information;

[0396] the terminal supports or does not support time synchronization of the first time precision;

[0397] The fourth indication information is used to indicate at least one of the following:

[0398] the first service or the first data flow needs or does not need the first synchronization;

[0399] the first QoS guarantee needs or does not need the first synchronization;

[0400] the first service or the first data flow contains or does not contain a time-related parameter in the feature;

[0401] the first service or the first data flow requires or does not require the terminal to be synchronized with the master clock of the first network.

[0402] In an embodiment, one or more of the first information can be obtained from one or more first target terminals, for example: one or more of the first information (such as the MAC address of the terminal or the IP address of the terminal; the residence time of the terminal; the first indication information) is obtained in the PDU session request or the PDU session modification request initiated by the terminal; or one or more of the first information (such as the fourth indication information) is obtained from the AF. The above-mentioned first target terminals include at least one of the following: the terminal, the RAN network element, the AF, or an entity outside the network.

[0403] In an embodiment, the first information can be obtained from the terminal.

[0404] In another embodiment, at least one of the following can be obtained from the RAN: the terminal supports or does not support obtaining reference time information; the terminal supports or does not support time synchronization based on the reference time information; the terminal supports or does not support time synchronization of the first time precision.

[0405] In another embodiment, the fourth indication information can be obtained from an entity outside the network or the AF.

[0406] In another implementation, it is determined from the characteristics of the first service or first data traffic sent by the entity or AF outside the network whether the time-related parameter is included in the characteristics of the first service or first data traffic.

[0407] Optionally, the performing the first operation in the case of obtaining the first information comprises:

[0408] performing the first operation in the case of obtaining the first information and satisfying a first condition, wherein the first condition comprises at least one of the following:

[0409] the terminal is a terminal point of the first service or first data traffic;

[0410] the terminal is combined with the DS-TT;

[0411] a context of a first data channel of the terminal indicates that the terminal is a terminal point of the first service or first data traffic;

[0412] the terminal does not support the DS-TT;

[0413] the first communication device is responsible for determining the port state or the first communication device is configured with the port state;

[0414] the terminal does not support the first type of message;

[0415] the terminal does not support selecting a master clock or the terminal does not support a first protocol, wherein the first protocol is a protocol for selecting a master clock;

[0416] the terminal does not support the second type of message;

[0417] the terminal does not support time synchronization based on the second protocol;

[0418] determining that a master clock of the first service or first data traffic is a master clock of the first network;

[0419] the terminal does not support obtaining reference time information;

[0420] the terminal does not support time synchronization based on the reference time information;

[0421] the terminal does not support time synchronization of the first time precision;

[0422] the first service or first data traffic does not need the first synchronization;

[0423] the first QoS guarantee does not need the first synchronization;

[0424] the characteristics of the first service or first data traffic do not include the time-related parameter.

[0425] The first data channel is configured to transmit at least one of the following: data of the first service or the first data flow, a first type of message related to the first service or the first data flow, and a second type of message related to the first service or the first data flow.

[0426] In an implementation, the first operation is performed only when the first information is acquired and the first condition is met.

[0427] In an implementation, the first condition is described in the corresponding description of the implementation, which is not repeated here.

[0428] Optionally, the performing of the first operation in the case of acquiring the first information comprises:

[0429] In the case of acquiring the first information and meeting a second condition, a master clock is selected for the terminal, wherein the second condition comprises at least one of the following:

[0430] The terminal is a terminal end of the first service or the first data flow;

[0431] The terminal is collocated with the DS-TT;

[0432] A context of a first data channel of the terminal indicates that the terminal is a terminal end of the first service or the first data flow;

[0433] The terminal does not support the DS-TT;

[0434] The terminal does not support a first type of message, and the first communication device is responsible for determining the port state or the port state is configured on the first communication device;

[0435] The terminal does not support selecting a master clock or the terminal does not support a first protocol, wherein the first protocol is a protocol for selecting a master clock;

[0436] The terminal supports acquiring reference time information;

[0437] The terminal supports time synchronization based on the reference time information;

[0438] The terminal supports time synchronization with a first time precision;

[0439] The first service or the first data flow needs to be synchronized;

[0440] The first QoS guarantee needs to be synchronized;

[0441] The first service or the first data flow contains a time-related parameter in a feature thereof.

[0442] The first data channel is configured to transmit at least one of the following: data of the first service or the first data flow, a first type of message related to the first service or the first data flow, and a second type of message related to the first service or the first data flow.

[0443] In an implementation, the first operation is performed only when the first information is acquired and the second condition is met.

[0444] In an implementation, the second condition is described in the corresponding description of the above-mentioned implementation, and is not repeated here.

[0445] Optionally, the performing the first operation in the case of acquiring the first information comprises:

[0446] In the case of acquiring the first information and meeting a third condition, at least one of the following is performed: rejecting a request for requesting the first synchronization; and rejecting the first QoS guarantee for the first data flow.

[0447] The third condition comprises at least one of the following:

[0448] The terminal is a terminal end of the first service or the first data flow.

[0449] The terminal is combined with the DS-TT.

[0450] The context of the first data channel of the terminal indicates that the terminal is a terminal end of the first service or the first data flow.

[0451] The terminal does not support the DS-TT.

[0452] The first communication device is responsible for determining the port state or the port state is configured on the first communication device.

[0453] The terminal does not support the first type of message.

[0454] The terminal does not support selecting a master clock or the terminal does not support a first protocol, which is a protocol for selecting a master clock.

[0455] The terminal does not support the second type of message.

[0456] The terminal does not support time synchronization based on a second protocol.

[0457] The master clock of the terminal is determined to be a master clock outside the first network.

[0458] It is determined that synchronization with the master clock outside the first network based on the second protocol is needed or that the second type of message is to be sent to the terminal for synchronization with the master clock outside the first network.

[0459] The terminal does not support obtaining reference time information;

[0460] The terminal does not support time synchronization based on reference time information;

[0461] The terminal does not support time synchronization of the first time precision;

[0462] The first service or first data flow needs first synchronization;

[0463] The first QoS guarantee needs first synchronization;

[0464] The first service or first data flow contains time-related parameters in its characteristics.

[0465] An embodiment only executes the first operation when the first information is obtained and the third condition is met.

[0466] An embodiment, please refer to the corresponding description in the above embodiment, which is not repeated here.

[0467] In the embodiments of the present application, the first operation is executed, thereby improving the management effect of the master clock. For example, the first operation can avoid sending the first type message and / or the second type message to the terminal to save resource overhead; for another example, the first operation can refuse the first synchronization to improve the time synchronization effect of the terminal; for another example, the first operation can accurately select the master clock for the terminal to improve the time synchronization effect of the terminal.

[0468] Please refer to Figure 3 The embodiments of the present application also provide an information transmission method, which is executed by a second communication device. The second communication device can be at least one of the following: a terminal, an AF, or an entity outside the network, a core network element (such as AMF, SMF, NEF, PCF), and a RAN network element. The method comprises:

[0469] Step 301, executing a second operation, wherein the second operation comprises at least one of the following:

[0470] Sending first information;

[0471] Skipping or discarding the sending of second information;

[0472] The first information comprises at least one of the following: the MAC address of the terminal or the IP address of the terminal; the residence time of the terminal; first indication information; fourth indication information;

[0473] The first indication information is used to indicate at least one of the following:

[0474] The terminal is a terminal end of the first service or the first data flow or the terminal is not a terminal end of the first service or the first data flow;

[0475] The terminal is collocated with the DS-TT;

[0476] The terminal supports or does not support the DS-TT function;

[0477] The terminal supports or does not support the first type of message;

[0478] The terminal supports or does not support the first protocol, which is a protocol for selecting a master clock;

[0479] The terminal supports or does not support the second type of message;

[0480] The terminal supports or does not support time synchronization based on the second protocol;

[0481] The terminal supports or does not support obtaining reference time information;

[0482] The terminal supports or does not support time synchronization based on reference time information;

[0483] The terminal supports or does not support time synchronization of the first time precision;

[0484] The fourth indication information is used to indicate at least one of the following:

[0485] The first service or the first data flow needs or does not need the first synchronization;

[0486] The first QoS guarantee needs or does not need the first synchronization;

[0487] The first service or the first data flow contains or does not contain a time-related parameter in the feature;

[0488] The first service or the first data flow requires or does not require the terminal to be synchronized with the master clock of the first network;

[0489] The second information includes at least one of the following:

[0490] Residence time between the terminal and the DS-TT;

[0491] MAC address of the DS-TT port.

[0492] Optionally, the second communication device includes at least one of the following: AF, entity outside the network, NEF, PCF, SMF, and the first information includes at least one of the following:

[0493] The first service or the first data flow needs or does not need the first synchronization;

[0494] The first QoS guarantee requires or does not require first synchronization;

[0495] The first service or first data flow contains or does not contain a time-related parameter in the characteristics.

[0496] Optionally, when the second communication device comprises at least one of the following: a terminal, an AMF, an SMF, the first information can comprise at least one of the following:

[0497] A MAC address of the terminal or an IP address of the terminal;

[0498] Residence time of the terminal;

[0499] First indication information, the first indication information is used to indicate at least one of the following:

[0500] The terminal is a terminal end of the first service or first data flow or the terminal is not a terminal end of the first service or first data flow;

[0501] The terminal is co-located with a DS-TT;

[0502] The terminal supports or does not support a DS-TT function;

[0503] The terminal supports or does not support a first type of message;

[0504] The terminal supports or does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0505] The terminal supports or does not support a second type of message;

[0506] The terminal supports or does not support time synchronization based on a second protocol;

[0507] The terminal supports or does not support obtaining reference time information.

[0508] In an implementation form, the above-mentioned sending the first information can be that the terminal sends the first information. For example, the terminal can send the first information in a PDU session establishment request or a PDU session modification request.

[0509] In another implementation form, the above-mentioned sending the first information can be that the RAN network element sends at least one of the following: the terminal supports or does not support obtaining reference time information; the terminal supports or does not support time synchronization based on reference time information; the terminal supports or does not support time synchronization of a first time precision.

[0510] In another implementation form, an entity or an AF outside the network sends the fourth indication information.

[0511] In another embodiment, it is determined from the characteristics of the first traffic or first data flow sent by the entity or AF outside the network whether the characteristics of the first traffic or first data flow contain or do not contain a time-related parameter

[0512] In an embodiment, the skipping or discarding of the sending of the second information can be the skipping or discarding of the sending of the second information in sending the PDU session establishment request or the PDU session modification request.

[0513] In an embodiment, the second information comprises at least one of the following: a residence time between the terminal and the DS-TT, a MAC address of a port of the DS-TT.

[0514] In an embodiment, when the first network constitutes a first bridge, the port of the first bridge can comprise at least one of the following: the first interface, a UU interface. When the first network constitutes the first bridge, the terminal (such as an application or an application client on the terminal) is a terminal end point.

[0515] In an embodiment, when the first network constitutes a bridge with the terminal and the DS-TT, the port of the first bridge can comprise at least one of the following: the first interface, a port on the DS-TT. In this case, in an embodiment, the terminal is not a service end point, and the terminal is connected to the DS-TT. The communication device connected to the DS-TT is the end point (as shown in FIG. 1). In another embodiment, the terminal is a service end point. The terminal and the DS-TT are integrated, and the application on the terminal can communicate with the DS-TT on the terminal (as shown in FIG. 1).

[0516] In an embodiment, the first information is sent when a condition is met, and the condition comprises at least one of the following: the terminal does not support a first type of message; the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock.

[0517] In an embodiment, the first information is sent when a condition is met, and the condition comprises at least one of the following: the terminal supports time synchronization based on a second protocol; the terminal supports time synchronization based on a second protocol.

[0518] In an embodiment, the first information is sent when a condition is met, and the condition comprises at least one of the following: the terminal does not support a first type of message; the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock.

[0519] Optionally, the performing the second operation comprises:

[0520] The second operation is performed when a fourth condition is met, and the fourth condition comprises at least one of the following:

[0521] The terminal is the endpoint of the first service or the first data traffic;

[0522] The terminal is co-located with DS-TT or the terminal does not support DS-TT;

[0523] The context of the first data channel of the terminal indicates that the terminal is the endpoint of the first service or the first data traffic.

[0524] Obtain first request information, which is used to request the second operation;

[0525] The first service is a time-sensitive communication service;

[0526] The first data traffic is time-sensitive communication data traffic;

[0527] The first data channel is used to transmit at least one of the following: data of a first service or a first data traffic, a first type of message related to the first service or the first data traffic, and a second type of message related to the first service or the first data traffic.

[0528] Optionally, the context of the first data channel, excluding at least one of the following, can indicate that the terminal is the endpoint of the first service or the first data traffic:

[0529] The dwell time between the terminal and DS-TT, and the media access control MAC address of the DS-TT port.

[0530] Optionally, sending the first information includes:

[0531] The first information is sent via relevant signaling through the data channel; or

[0532] The first information is sent through the relevant signaling of the first data channel.

[0533] In one embodiment, the data channel described above is used as a channel for data transmission.

[0534] In one implementation, the first data channel includes at least one of the following: a PDU session and a QoS stream.

[0535] In this embodiment, by performing the second operation described above, the first communication device can execute based on the first information, or the second communication device can skip or discard the second information. Figure 2 The first operation of the illustrated embodiment improves the management efficiency of the master clock.

[0536] Please refer to Figure 4 This invention also provides an information transmission method, executed by a third communication device. The third communication device can be a terminal, and the method includes:

[0537] receiving at least one of a first type message and a second type message, wherein the first type message is used to send information related to a clock, and the second type message is a message related to a time synchronization protocol;

[0538] performing a third operation based on the at least one of the first type message and the second type message, wherein the third operation comprises at least one of:

[0539] discarding or ignoring the received first type message;

[0540] discarding or ignoring the received second type message;

[0541] selecting a master clock according to the first type message;

[0542] performing time synchronization according to the second type message;

[0543] skipping a type of the third operation, wherein the type of the third operation comprises at least one of:

[0544] operating on the received second type message;

[0545] sending the operated second type message to a downstream communication device.

[0546] In an embodiment, the receiving at least one of the first type message and the second type message can be receiving at least one of the first type message and the second type message sent by a core network element or a RAN network element.

[0547] In an embodiment, the discarding or ignoring the received first type message can be not determining a master clock based on the first type message, such as not determining an optimal master clock based on the first type message.

[0548] In an embodiment, the discarding or ignoring the received second type message can be not performing time synchronization based on the second type message.

[0549] Optionally, the operating on the received second type message comprises at least one of:

[0550] deleting an ingress timestamp added by a first network in a suffix field included in the received second type message;

[0551] converting a first residence time based on a master clock of the first network into a first residence time based on a master clock of a second network;

[0552] adding the first residence time based on the master clock of the second network into a residence time of a correction field in the second type message.

[0553] wherein,

[0554] the first residence time is a time required for transmission of the second type message in the first network or the first bridge;

[0555] the second master clock is a corresponding master clock in the second type message.

[0556] In an implementation, the above-mentioned ingress timestamp can be a timestamp (TS) i, i.e., TS i.

[0557] In an implementation, the above-mentioned first bridge can be a time-sensitive network bridge.

[0558] Optionally, the time synchronization according to the second type message comprises:

[0559] creating an egress timestamp according to a time of receiving the second type message;

[0560] calculating the first residence time according to a time difference between the egress timestamp or the time of receiving the second type message and the ingress timestamp in the second type message;

[0561] synchronizing time with a second master clock, the second master clock being a corresponding master clock in the second type message;

[0562] wherein, the first residence time is a time required for transmission of the second type message in the first network or the first bridge.

[0563] In an implementation, the above-mentioned first residence time can be calculated according to a time difference between the egress timestamp and the ingress timestamp in the second type message, or can be calculated according to a time difference between the time of receiving the second type message and the ingress timestamp in the second type message.

[0564] Optionally, the discarding or ignoring the received first type message comprises:

[0565] in a case where a fifth condition is met, discarding or ignoring the received first type message, wherein the fifth condition comprises at least one of:

[0566] the terminal is a termination point of the first service or the first data flow;

[0567] the terminal is collocated with the DS-TT or the terminal does not support a DS-TT function;

[0568] the terminal does not support the first protocol and / or does not support the first type message;

[0569] receiving the first type message from a first data path or control plane signaling;

[0570] The first type message is a first type message related to a first service or first data traffic.

[0571] In an implementation, the terminal is a termination point of the first service or first data traffic, and a context of a first data path including the terminal indicates that the terminal is the termination point of the first service or first data traffic, for example, the context of the first data path indicates that the terminal is the termination point of the first service or first data traffic without including at least one of the following:

[0572] Residence time between the terminal and the DS-TT, MAC address of a DS-TT port.

[0573] Optionally, the discarding or ignoring the received second type message includes:

[0574] In a case where a sixth condition is met, discarding or ignoring the received first type message, wherein the sixth condition includes at least one of the following:

[0575] The terminal is a termination point of the first service or first data traffic;

[0576] The terminal does not support a DS-TT function;

[0577] The terminal does not support time synchronization based on a second protocol and / or does not support a second type message;

[0578] receiving the second type message from a first data path or control plane signaling;

[0579] The second type message is a second type message related to a first service or first data traffic;

[0580] The terminal does not support obtaining reference time information;

[0581] The terminal does not support time synchronization based on reference time information;

[0582] The terminal does not support time synchronization of a first time precision;

[0583] The first service or first data traffic does not need first synchronization;

[0584] The first QoS guarantee does not need first synchronization;

[0585] The first service or first data traffic does not include a time-related parameter in a feature of the first service or first data traffic;

[0586] wherein,

[0587] The first QoS guarantee comprises at least one of: a time-sensitive communication guarantee, a latency guarantee, and a guarantee on the first data traffic or the second data channel according to time-sensitive communication assistance information.

[0588] The second data channel is a data channel for transmitting or the first service data or the first data traffic.

[0589] In an implementation, the second data channel comprises a QoS flow; and the first data channel comprises at least one of: a PDU session, and a QoS flow.

[0590] In an implementation, the second data channel is the same as or different from the first data channel.

[0591] In an implementation, the first QoS guarantee requires the first synchronization. In another implementation, the first QoS guarantee does not require the first synchronization.

[0592] In an implementation, the DS-TT function comprises supporting synchronization based on the second protocol. Therefore, in the case of not supporting the DS-TT function, the synchronization based on the second protocol is implicitly not supported.

[0593] Optionally, the selecting the master clock according to the first type of message comprises:

[0594] In the case of satisfying a seventh condition, the master clock is selected according to the first type of message, wherein the seventh condition comprises at least one of:

[0595] The terminal is a termination point of the first service or the first data traffic;

[0596] The terminal is co-located with the DS-TT or the terminal supports the DS-TT function;

[0597] The terminal supports the first protocol and / or supports the first type of message;

[0598] The first type of message is received from the first data channel or control plane signaling;

[0599] The first type of message is a first type of message related to the first service or the first data traffic;

[0600] The terminal supports obtaining reference time information;

[0601] The terminal supports time synchronization based on the reference time information;

[0602] The terminal supports time synchronization with the first time precision;

[0603] The first service or the first data traffic requires the first synchronization;

[0604] The first QoS guarantee requires the first synchronization.

[0605] The first service or first data traffic comprises a time-related parameter in its characteristics.

[0606] In an implementation, the first protocol comprises a protocol for best master clock selection.

[0607] In an implementation, when the tenth condition is met, if an eleventh condition is also met, the third operation comprises at least one of the following: the discarding or ignoring of the received second type message;

[0608] The tenth condition comprises at least one of the following:

[0609] The first service or first data traffic requires the first synchronization;

[0610] The first QoS guarantee requires the first synchronization;

[0611] The first service or first data traffic comprises a time-related parameter in its characteristics.

[0612] The eleventh condition comprises at least one of the following:

[0613] The terminal does not support obtaining reference time information;

[0614] The terminal does not support time synchronization based on reference time information;

[0615] The terminal does not support time synchronization with a first time precision;

[0616] The terminal does not support a first type message;

[0617] The terminal does not support selecting a master clock or the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0618] The terminal does not support a second type message;

[0619] The terminal does not support time synchronization based on a second protocol;

[0620] The master clock of the first service or first data traffic is determined to be a master clock of the first network.

[0621] Optionally, the third operation comprises at least one of the following: time synchronization according to the second type message and skipping a type of operation of the third operation, when an eighth condition is met, wherein the eighth condition comprises at least one of the following:

[0622] The terminal is a terminal end point of the first service or first data traffic;

[0623] The terminal is combined with the DS-TT or the terminal supports the DS-TT function;

[0624] The terminal supports synchronization based on the second protocol;

[0625] The terminal receives the second type of message from the first data channel or control plane signaling;

[0626] The second type of message is a second type of message related to the first service or the first data flow.

[0627] In the embodiments of the present application, the third operation can improve the management effect of time synchronization.

[0628] Please refer to Figure 5 The embodiments of the present application also provide an information transmission method, which is executed by a fourth communication device. The fourth communication device includes but is not limited to: a RAN network element, a core network network element (one of the following in the first network: NW-TT, SMF, UPF, UPF, PCF, NEF, AF), and the method includes:

[0629] Step 501, performing a fourth operation, the fourth operation includes:

[0630] Send the fourth information, the fourth information includes at least one of the following: second indication information, third indication information, synchronization period, information in time domain, service description information, data flow description information, first time precision;

[0631] Among them,

[0632] The second indication information is used to indicate at least one of the following: requiring the terminal to obtain reference time information, requiring the terminal to perform time synchronization based on the obtained reference time information, and requiring the terminal to perform time synchronization with the radio access network (RAN) at a first time precision;

[0633] The third indication information is used to request the terminal to camp on.

[0634] In an embodiment, the reference time information is obtained from the RAN.

[0635] In an embodiment, the fourth information is sent to the terminal.

[0636] In an embodiment, the first time precision includes one of the following: 1 nanosecond, 10 nanoseconds, 100 nanoseconds, 1 microsecond, 10 microseconds, 100 microseconds, 1 millisecond, 10 milliseconds, 100 milliseconds, 1 second.

[0637] In an embodiment, the second indication information is used to indicate that the terminal performs time synchronization with the RAN at a first time precision, or to indicate that the terminal performs time synchronization with the RAN.

[0638] In an implementation, the RAN is a RAN node or a cell under a RAN node that the terminal currently accesses.

[0639] In an implementation, the time synchronization of the first time precision comprises a master time synchronization with the first network.

[0640] In an implementation, the terminal residence time is a terminal residence time related to the first service or the first data traffic. It can be understood that the terminal residence time can be the same or different for different first service or first data traffic.

[0641] Optionally, the terminal obtaining the reference time information comprises at least one of:

[0642] The terminal sending, to the network, the terminal tendency to be configured with the reference time information or the terminal requesting the network to configure the terminal with the reference time information;

[0643] The terminal reading a system message comprising the reference time information;

[0644] The terminal performing time synchronization based on the obtained reference time information.

[0645] Optionally, the synchronization period comprises at least one of: a period of the terminal performing time synchronization with the RAN at the first time precision, a period of the terminal sending, to the network, the terminal tendency to be configured with the reference time information, and a period of the terminal requesting the network to configure the terminal with the reference time information.

[0646] Optionally, the information of the time domain comprises at least one of: a time domain to which a synchronization clock of the terminal performing time synchronization with the RAN at the first time precision belongs, the reference time information, and a time domain to which the reference time belongs.

[0647] Optionally, the service description information is used to indicate one of: a service to which the reference time information or the reference time is applicable, and a service to be synchronized based on the reference time information.

[0648] Optionally, the description information of the data traffic is used to indicate one of: data traffic to which the reference time information or the reference time is applicable, and data traffic to be synchronized based on the reference time information.

[0649] Optionally, the description information of the data traffic comprises application description information, and the application description information is used to indicate one of: an application to which the reference time information or the reference time is applicable, and an application to be synchronized based on the reference time information.

[0650] Optionally, the performing the fourth operation comprises:

[0651] In the case of satisfying the ninth condition, the fourth operation is performed, wherein the ninth condition comprises at least one of:

[0652] The terminal is a terminal point of the first service or the first data flow;

[0653] The terminal is collocated with the DS-TT or does not support the DS-TT;

[0654] The context of the first data channel of the terminal indicates that the terminal is a terminal point of the first service or the first data flow;

[0655] The clock of the first network is determined as the master clock;

[0656] It is determined that the first service or the first data flow of the terminal needs time synchronization of the first time precision;

[0657] It is determined that the first service or the first data flow of the terminal needs time synchronization based on time reference information;

[0658] It is determined that the first data flow or the second data channel needs to be guaranteed according to time sensitive communication auxiliary information;

[0659] The time sensitive communication auxiliary information contains time related parameters;

[0660] It is determined that the first network delay or the delay of the first network bridge needs to be publicly disclosed;

[0661] It is determined that the terminal residence time needs to be the data channel of the first service or the first data flow of the first data flow.

[0662] In an implementation manner, the first data flow can be data of the first service or the first data flow.

[0663] In an implementation manner, the second data channel comprises a QoS flow.

[0664] In an implementation manner, the second data channel can be the same as or different from the first data channel.

[0665] Optionally, the time related parameters comprise at least one of:

[0666] Data packet arrival time:

[0667] Interval period between data packets.

[0668] In an implementation, the terminal has not requested the first network bridge latency for the first service or the first data flow when the terminal establishes the first service or the first data flow data channel (PDU session or QoS flow) in the first network. Therefore, the first network can send the second indication information to the terminal according to the request of the AF. The first network can generate the first network bridge latency according to the terminal residence time.

[0669] Optionally, the context of the first data channel can indicate that the terminal is a terminal endpoint of the first service or the first data flow without including at least one of the following:

[0670] The terminal and the DS-TT inter-residence time, the MAC address of the DS-TT port.

[0671] In the embodiments of the present application, the fourth operation is performed to improve the time synchronization effect or the time synchronization management effect of the terminal.

[0672] Please refer to Figure 6 The embodiments of the present application also provide an information transmission method, which is executed by a fifth communication device. The fifth communication device can be at least one of the following: a terminal, a RAN network element, an AF, or an entity outside the network. The method comprises:

[0673] Step 601, obtaining fourth information, wherein the fourth information comprises at least one of the following: the second indication information and / or the third indication information, the synchronization period, the information in the time domain, the service description information, the data flow description information, and the first time precision;

[0674] Step 602, performing a fifth operation according to the fourth information, wherein the fifth operation comprises:

[0675] obtaining reference time information,

[0676] performing time synchronization based on the obtained reference time information,

[0677] performing time synchronization with the RAN at the first time precision;

[0678] sending the terminal residence time.

[0679] wherein,

[0680] The second indication information is used to indicate at least one of the following: requiring the terminal to obtain reference time information, requiring the terminal to perform time synchronization based on the obtained reference time information, and requiring the terminal to perform time synchronization with the RAN at the first time precision;

[0681] The third indication information is used to request the terminal residence time.

[0682] In an implementation, at least one of the synchronization period, the information of the time domain, the service description information, the data flow description information, and the first time accuracy can be used to filter the reference time information.

[0683] In an implementation, the first time accuracy comprises one of the following: 1 nanosecond, 10 nanoseconds, 100 nanoseconds, 1 microsecond, 10 microseconds, 100 microseconds, 1 millisecond, 10 milliseconds, 100 milliseconds, and 1 second.

[0684] In an implementation, the terminal residence time is a terminal residence time related to the first service or the first data flow. It can be understood that the terminal residence time can be the same or different for different first services or first data flows.

[0685] Optionally, the obtaining the reference time information comprises at least one of the following:

[0686] sending a notification that the terminal is inclined to be configured with the reference time information or sending a request for the terminal to be configured with the reference time information;

[0687] reading a system message comprising the reference time information;

[0688] performing time synchronization based on the obtained reference time information;

[0689] The sending of the notification that the terminal is inclined to be configured with the reference time information or the sending of the request for the terminal to be configured with the reference time information comprises sending the notification that the terminal is inclined to be configured with the reference time information or the request for the terminal to be configured with the reference time information to a RAN network element.

[0690] Optionally, the sending of the notification that the terminal is inclined to be configured with the reference time information or the sending of the request for the terminal to be configured with the reference time information comprises: filtering information of the reference time information, used to filter reference time information that meets the filtering information.

[0691] wherein

[0692] The filtering condition of the reference time information comprises at least one of the following: the synchronization period, the information of the time domain, the service description information, the data flow description information, and the first time accuracy.

[0693] Optionally, the synchronization period comprises at least one of the following: a period of time for the terminal to perform time synchronization with the RAN at the first time accuracy, a period of time for the terminal to send a notification that the terminal is inclined to be configured with the reference time information to the network, and a period of time for the terminal to request the network to configure the terminal with the reference time information.

[0694] Optionally, the information of the time domain comprises at least one of the following: a time domain to which a synchronization clock belongs, used for the terminal to perform time synchronization with the RAN at the first time accuracy, and a time domain to which the reference time information or the reference time belongs.

[0695] Optionally, the service description information is used to indicate one of the following: a service applicable to the reference time information or the reference time, or a service synchronized based on the reference time information.

[0696] Optionally, the data flow description information is used to indicate one of the following: a data flow applicable to the reference time information or the reference time, or a data flow synchronized based on the reference time information.

[0697] Optionally, the data flow description information includes application description information, and the application description information is used to indicate one of the following: an application applicable to the reference time information or the reference time, or an application synchronized based on the reference time information.

[0698] Optionally, the obtaining the fourth information includes one of the following: obtaining the fourth information from a layer above an access stratum (AS) layer of the fifth communication device, obtaining the fourth information from a non-access stratum (NAS) layer of the fifth communication device, or obtaining the fourth information from NAS signaling of the network.

[0699] In an implementation form, at least one of the fourth information can be obtained from a layer above an AS layer of the fifth communication device, at least one of the fourth information can be obtained from a layer above a NAS layer of the fifth communication device, or at least one of the fourth information can be obtained from NAS signaling of the network.

[0700] In the embodiments of the present application, the fifth operation is performed to improve the time synchronization effect or the time synchronization management effect of the terminal.

[0701] Please refer to Figure 7 The embodiments of the present application also provide an information transmission method, which is executed by a sixth communication device. The sixth communication device can be at least one of the following: a RAN network element, or the sixth communication device includes at least one of the following: a terminal, a core network network element, an AF, or an entity outside the network. The method includes:

[0702] Step 701, performing a sixth operation, the sixth operation including one of the following:

[0703] sending the reference time information and the first description information,

[0704] sending the reference time information, and the reference time information does not include the first description information;

[0705] sending the reference time information, and the reference time information includes the first description information.

[0706] The first description information includes at least one of the following: service description information, and data flow description information.

[0707] Optionally, the data flow description information is used to indicate that the reference time information is applicable to the data flow.

[0708] And / or

[0709] The service description information is used to indicate that the reference time information is applicable to the service.

[0710] Optionally, before the sixth operation is performed, the method further includes:

[0711] Obtaining sixth information, the sixth information including at least one of the following: the first description information, and reference time information associated with the first description information; wherein the reference time information associated with the first description information includes or does not include the first description information.

[0712] According to the sixth message, one of the following is performed:

[0713] The reference time information and the data flow description information are sent.

[0714] The data flow description information is added to the reference time information, and the modified reference time information is sent.

[0715] The reference time information is sent, and the reference time information includes the data flow description information.

[0716] Optionally, before the sixth operation is performed, the method further includes:

[0717] Obtaining a notification that a terminal tends to be configured with reference time information, or a request to configure the terminal with reference time information.

[0718] The sixth operation is performed according to the obtained information.

[0719] Optionally, the notification that a terminal tends to be configured with reference time information, or the request to configure the terminal with reference time information includes filtering information of the reference time information, used to filter reference time information that meets the filtering information.

[0720] Wherein

[0721] The filtering condition of the reference time information includes at least one of the following: a synchronization period, information in a time domain, service description information, data flow description information, and a first time precision.

[0722] Optionally, the reference time information and the data flow description information are sent through an RRC message, or

[0723] Reference time information is sent via RRC messages, and the reference time information includes a description of the data traffic.

[0724] In one implementation, the RRC message includes at least one of the following: a system message, and a terminal-related RRC message. The system message may be a SIB9 protocol-defined message.

[0725] In this embodiment of the application, performing the sixth operation described above helps to improve the time synchronization management effect.

[0726] The information transmission method provided in this application is illustrated below through several embodiments:

[0727] Example 1:

[0728] The implementation is, for example Figure 8 As shown, it includes the following steps:

[0729] Step 801: The terminal performs the second operation, which can be specifically as follows: Figure 3 As described in the embodiment, the terminal sends a NAS message, which may include a PDU session establishment request or a PDU session modification request. The NAS message or the related signaling of the PDU session may include one or more first pieces of information; for example, it may include at least one of the following:

[0730] The terminal's MAC address;

[0731] UE residence time;

[0732] First instruction message;

[0733] The terminal can be identified as the endpoint of the first service or the first data traffic if the aforementioned NAS message does not include at least one of the following:

[0734] The dwell time between the terminal and DS-TT, and the media access control MAC address of the DS-TT port.

[0735] The first indication information is used to indicate at least one of the following:

[0736] The terminal is the endpoint of the first service or the first data traffic, or the terminal is not the endpoint of the first service or the first data traffic.

[0737] The terminal is co-located with DS-TT;

[0738] The terminal may or may not support the DS-TT function;

[0739] The terminal may or may not support the first type of message;

[0740] The terminal supports or does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0741] The terminal supports or does not support a second type of message;

[0742] The terminal supports or does not support time synchronization based on a second protocol.

[0743] Step 802, the AMF sends an update session management context request of the PDU session to the SMF.

[0744] Step 803, the SMF sends a session modification request to the UPF / NW-TT.

[0745] Optionally, the session modification request contains first information.

[0746] Step 804, the UPF / NW-TT sends a session modification response to the SMF.

[0747] The UPF / NW-TT performs a first operation, specifically as Figure 2 Embodiments described.

[0748] Alternatively, the UPF / NW-TT performs a first operation according to the received first information, specifically as Figure 2 Embodiments described.

[0749] Step 805, the SMF triggers a session management policy association modification request to the PCF.

[0750] Step 806, the PCF sends an event notification to the AF to notify the port related information container.

[0751] Step 807, the AF returns an event notification response to the PCF.

[0752] Step 808, the PCF sends a session management policy association modification response to the SMF.

[0753] Step 809, the SMF sends an update session context response of the PDU session to the AMF.

[0754] Step 810, the AMF sends a NAS message to the terminal, the NAS message including a PDU session resource modification acceptance.

[0755] Embodiment 2:

[0756] The embodiment includes the following steps as Figure 9 shown:

[0757] Step 901, the AF sends a session creation request to the NEF, the request including one or more of time-sensitive communication feature information and / or first information. Exemplarily, the first information is fourth indication information.

[0758] Step 902, the NEF sends a policy authorization creation request to the PCF, the request including the bridge container. In one embodiment, the first information is included in the request; in another embodiment, the first information is included in the bridge container.

[0759] Step 903, the PCF sends a session management policy modification request to the SMF. Optionally, the request includes the first information.

[0760] Step 904, the SMF sends a session modification request to the UPF / NW-TT. Optionally, the request includes the first information. In one embodiment, the first information sent by the SMF includes the first information received from the AMF and / or the PCF.

[0761] Step 905, the UPF / NW-TT generates a first type message, wherein, according to whether the terminal is a terminal, the following operations are performed in this step:

[0762] No notification message is sent to the terminal, and only the first type message is sent to the NW-TT port (such as Figure 2 as described in the embodiments, which will not be repeated here); or

[0763] Still send a notification message to the terminal, but the terminal as a terminal ignores or discards the received first type message (such as Figure 4 as described in the embodiments, which will not be repeated here).

[0764] Step 906, the UPF / NW-TT sends a session modification response to the SMF.

[0765] Step 907, the SMF sends a session management policy association modification response to the PCF.

[0766] Step 908, the PCF sends a policy authorization creation response to the NEF.

[0767] Step 909, the NEF sends a session creation response to the AF.

[0768] Step 910, the SMF sends an updated session management context of the PDU session to the AMF, which is used for 5G GM synchronization.

[0769] Step 911, the AMF sends a NAS message to the terminal to perform 5G GM synchronization.

[0770] Referring to Figure 10The embodiment of the present application provides a communication device, which is a first communication device, and the first communication device includes but is not limited to a terminal, a TT (such as one of the following: a DS-TT, a NW-TT, a first DS-TT, a second DS-TT, a first NW-TT, and a second NW-TT), a CN network element (such as one of the following: an SMF, an UPF, a PCF, an NEF, and an AF), and a RAN network element. Figure 10 The communication device 1000 includes:

[0771] The execution module 1001 is configured to perform a first operation, and the first operation includes at least one of the following:

[0772] only sending the first type of message and / or the second type of message to the first interface,

[0773] not sending the first type of message and / or the second type of message to the terminal,

[0774] selecting a master clock for the terminal;

[0775] rejecting a request for requesting the first synchronization;

[0776] rejecting first quality of service (QoS) guarantee for the first service or the first data flow;

[0777] The first synchronization includes at least one of the following: the terminal and / or the first network is synchronized with a master clock outside the first network, the terminal and / or the first network is synchronized with the master clock outside the first network based on a second protocol, the terminal is synchronized with the master clock of the first network, the synchronization is performed based on reference time information, and the time synchronization of the first time precision;

[0778] The first type of message is used for sending related information of a clock;

[0779] The second type of message is a related message of a time synchronization protocol;

[0780] The first interface includes an interface connected to a data network and a port on a network side time sensitive network adapter (NW-TT);

[0781] The first QoS guarantee includes at least one of the following: time sensitive communication guarantee, delay guarantee, and guarantee for the first data flow or a second data channel according to time sensitive communication auxiliary information;

[0782] The second data channel is a data channel for transmitting data of the first service or the first data flow.

[0783] Optionally, when the first condition is met, the first operation includes at least one of the following:

[0784]

[0785] ​only sending the first type of message and / or the second type of message to the first interface, and not sending the first type of message and / or the second type of message to the terminal;

[0786] The first condition comprises at least one of:

[0787] The terminal is a termination point of the first service or the first data flow;

[0788] The terminal is collocated with a device-side time-sensitive network adapter (DS-TT);

[0789] The context of the first data channel of the terminal indicates that the terminal is a termination point of the first service or the first data flow;

[0790] The terminal does not support DS-TT;

[0791] The first communication device is responsible for determining the port state or is configured with the port state on the first communication device;

[0792] The terminal does not support the first type of message;

[0793] The terminal does not support selecting a master clock or does not support a first protocol, which is a protocol for selecting a master clock;

[0794] The terminal does not support the second type of message;

[0795] The terminal does not support time synchronization based on a second protocol;

[0796] Determining that a master clock of the first service or the first data flow is a master clock of the first network;

[0797] The terminal does not support obtaining reference time information;

[0798] The terminal does not support time synchronization based on reference time information;

[0799] The terminal does not support time synchronization of the first time precision;

[0800] The first service or the first data flow does not require the first synchronization;

[0801] The first QoS guarantee does not require the first synchronization;

[0802] The first service or the first data flow does not contain a time-related parameter in its characteristics.

[0803] The first data channel is used to transmit at least one of the following: data of the first service or the first data flow, the first type of message related to the first service or the first data flow, and the second type of message related to the first service or the first data flow.

[0804] Optionally, the performing the first operation comprises:

[0805] selecting a master clock for the terminal in case that a second condition is met;

[0806] wherein the second condition comprises at least one of:

[0807] the terminal is a termination point of the first service or the first data flow;

[0808] the terminal is collocated with the DS-TT;

[0809] a context of a first data path of the terminal indicates that the terminal is a termination point of the first service or the first data flow;

[0810] the terminal does not support the DS-TT;

[0811] the terminal does not support a first type of message;

[0812] the terminal does not support selecting a master clock or the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0813] the terminal supports obtaining reference time information;

[0814] the terminal supports time synchronization based on the reference time information;

[0815] the terminal supports time synchronization with a first time precision;

[0816] the first service or the first data flow requires the first synchronization;

[0817] the first QoS guarantee requires the first synchronization;

[0818] a feature of the first service or the first data flow comprises a time related parameter;

[0819] wherein the first data path is used to transmit at least one of: data of the first service or the first data flow, a first type of message related to the first service or the first data flow, a second type of message related to the first service or the first data flow.

[0820] Optionally, the performing the first operation comprises:

[0821] in case that a third condition is met, performing at least one of: rejecting a request for requesting the first synchronization; rejecting the first QoS guarantee for the first data flow;

[0822] wherein the third condition comprises at least one of:

[0823] the terminal is a termination point of the first service or the first data flow;

[0824] the terminal is collocated with the DS-TT;

[0825] a context of a first data channel of the terminal indicates that the terminal is a termination point of the first service or the first data flow;

[0826] the terminal does not support the DS-TT;

[0827] the first communication device is responsible for determining the port state or the first communication device is configured with the port state;

[0828] the terminal does not support the first type of message;

[0829] the terminal does not support selecting a master clock or the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0830] the terminal does not support the second type of message;

[0831] the terminal does not support time synchronization based on a second protocol;

[0832] a master clock of the terminal is determined to be a master clock outside the first network;

[0833] it is determined that the terminal needs to be synchronized with a master clock outside the first network based on a second protocol or it is determined that a second type of message needs to be sent to the terminal for synchronization with the master clock outside the first network;

[0834] the terminal does not support obtaining reference time information;

[0835] the terminal does not support time synchronization based on reference time information;

[0836] the terminal does not support time synchronization of a first time precision;

[0837] the first service or the first data flow needs to be synchronized;

[0838] the first QoS guarantee needs to be synchronized;

[0839] a time-related parameter is included in a feature of the first service or the first data flow.

[0840] Optionally, the performing the first operation comprises:

[0841] in a case where first information is obtained, performing the first operation, wherein the first information comprises at least one of the following: a MAC address of the terminal or an IP address of the terminal; a residence time of the terminal; first indication information; fourth indication information;

[0842] wherein the first indication information is used for indicating at least one of:

[0843] the terminal is a termination point of the first service or the first data flow or the terminal is not a termination point of the first service or the first data flow;

[0844] the terminal is collocated with a DS-TT;

[0845] the terminal supports or does not support a DS-TT function;

[0846] the terminal supports or does not support a first type of message;

[0847] the terminal supports or does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0848] the terminal supports or does not support a second type of message;

[0849] the terminal supports or does not support time synchronization based on a second protocol;

[0850] the terminal supports or does not support obtaining reference time information;

[0851] the terminal supports or does not support time synchronization based on reference time information;

[0852] the terminal supports or does not support time synchronization with a first time precision;

[0853] wherein the fourth indication information is used for indicating at least one of:

[0854] the first service or the first data flow needs or does not need first synchronization;

[0855] the first QoS guarantee needs or does not need first synchronization;

[0856] the first service or the first data flow contains or does not contain a time-related parameter in a characteristic of the first service or the first data flow;

[0857] the first service or the first data flow requires or does not require the terminal to synchronize with a master clock of the first network.

[0858] Optionally, the performing the first operation in the case of obtaining the first information comprises:

[0859] the performing the first operation in the case of obtaining the first information and satisfying a first condition, wherein the first condition comprises at least one of:

[0860] the terminal is a termination point of the first service or the first data flow;

[0861] the terminal is collocated with a DS-TT;

[0862] the context of the first data channel of the terminal indicates that the terminal is a termination point of the first service or the first data flow;

[0863] the terminal does not support DS-TT;

[0864] the first communication device is responsible for determining the port state or the port state is configured on the first communication device;

[0865] the terminal does not support the first type of message;

[0866] the terminal does not support selecting a master clock or the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0867] the terminal does not support the second type of message;

[0868] the terminal does not support time synchronization based on a second protocol;

[0869] determining that a master clock of the first service or the first data flow is a master clock of the first network;

[0870] the terminal does not support obtaining reference time information;

[0871] the terminal does not support time synchronization based on reference time information;

[0872] the terminal does not support time synchronization of the first time precision;

[0873] the first service or the first data flow does not require the first synchronization;

[0874] the first QoS guarantee does not require the first synchronization;

[0875] the first service or the first data flow does not contain a time-related parameter in the characteristics of the first service or the first data flow.

[0876] The first data channel is used to transmit at least one of the following: data of the first service or the first data flow, a first type of message related to the first service or the first data flow, and a second type of message related to the first service or the first data flow.

[0877] Optionally, the first operation includes:

[0878] In the case where the first information is obtained and a second condition is met, the master clock is selected for the terminal, wherein the second condition includes at least one of the following:

[0879] the terminal is a termination point of the first service or the first data flow;

[0880] The terminal is combined with the DS-TT;

[0881] The context of the first data channel of the terminal indicates that the terminal is a terminal end point of the first service or the first data flow;

[0882] The terminal does not support the DS-TT;

[0883] The first communication device is responsible for determining the port state or the port state is configured on the first communication device; and the terminal does not support the first type of message;

[0884] The terminal does not support selecting a master clock or the terminal does not support a first protocol, which is a protocol for selecting a master clock;

[0885] The terminal supports obtaining reference time information;

[0886] The terminal supports time synchronization based on reference time information;

[0887] The terminal supports time synchronization with a first time precision;

[0888] The first service or the first data flow needs the first synchronization;

[0889] The first QoS guarantee needs the first synchronization;

[0890] The first service or the first data flow includes a time-related parameter in the feature.

[0891] The first data channel is used to transmit at least one of the following: data of the first service or the first data flow, a first type of message related to the first service or the first data flow, and a second type of message related to the first service or the first data flow.

[0892] Optionally, in the case of obtaining the first information, the first operation includes:

[0893] In the case of obtaining the first information and satisfying a third condition, at least one of the following is performed: rejecting a request for requesting the first synchronization; and rejecting the first QoS guarantee for the first data flow;

[0894] The third condition includes at least one of the following:

[0895] The terminal is a terminal end point of the first service or the first data flow;

[0896] The terminal is combined with the DS-TT;

[0897] The context of the first data channel of the terminal indicates that the terminal is a terminal end point of the first service or the first data flow;

[0898] The terminal does not support DS-TT;

[0899] The first communication device is responsible for determining the port state or the port state configured on the first communication device;

[0900] The terminal does not support the first type of message;

[0901] The terminal does not support selecting a master clock or the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0902] The terminal does not support the second type of message;

[0903] The terminal does not support time synchronization based on a second protocol;

[0904] The master clock of the terminal is determined to be a master clock outside the first network;

[0905] It is determined that synchronization with the master clock outside the first network based on a second protocol is required or that a second type of message is to be sent to the terminal for synchronization with the master clock outside the first network;

[0906] The terminal does not support obtaining reference time information;

[0907] The terminal does not support time synchronization based on reference time information;

[0908] The terminal does not support time synchronization of a first time precision;

[0909] The first service or first data flow requires first synchronization;

[0910] The first QoS guarantee requires first synchronization;

[0911] The first service or first data flow includes a time-related parameter in its characteristics.

[0912] Optionally, the first type of message is not sent to the terminal, including:

[0913] Skipping the step of sending the first type of message to the terminal or discarding the first type of message prepared to be sent to the terminal.

[0914] Optionally, the context of the first data channel of the terminal indicates that the terminal is a terminal endpoint for the first service or first data flow, including:

[0915] The context of the first data channel can indicate that the terminal is a terminal endpoint for the first service or first data flow without including at least one of the following:

[0916] Residence time between the terminal and the DS-TT, MAC address of the DS-TT port.

[0917] Optionally, the first type of message comprises service description information or data flow description information associated with the first type of message.

[0918] And / or

[0919] The second type of message comprises service description information or data flow description information associated with the second type of message.

[0920] And / or

[0921] When the first type of message is sent, the service description information or the data flow description information associated with the first type of message is also sent.

[0922] When the second type of message is sent, the service description information or the data flow description information associated with the second type of message is also sent.

[0923] Optionally, the second protocol comprises at least one of: a generalized precision time protocol (gPTP), a precision time protocol (PTP), and a network time protocol (NTP).

[0924] And / or

[0925] The second type of message comprises at least one of: a related message of the gPTP, a related message of the PTP, and a related message of the NTP.

[0926] The communication device 1000 can implement each process implemented by the first communication device in the method embodiment of the present application, and achieve the same beneficial effects. To avoid repetition, details are not repeated here.

[0927] Please refer to Figure 11 The embodiment of the present application provides another communication device, which is a second communication device. The second communication device includes but is not limited to a terminal, a DS-TT, a NW-TT, a CN network element (such as one of the following: SMF, UPF, PCF, NEF, and AF), and a RAN network element, such as Figure 11 As shown in FIG. 11, the communication device 1100 comprises:

[0928] The execution module 1101 is configured to execute a second operation, wherein the second operation comprises at least one of the following:

[0929] Skipping or discarding the sending of the second information;

[0930] The first information comprises at least one of the following: a MAC address of the terminal or an IP address of the terminal; a residence time of the terminal; first indication information; and fourth indication information.

[0931] The first indication information is used to indicate at least one of the following:

[0932] the terminal is or is not a termination point of the first service or the first data flow;

[0933] the terminal is collocated with a DS-TT;

[0934] the terminal supports or does not support a DS-TT function;

[0935] the terminal supports or does not support a first type of message;

[0936] the terminal supports or does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[0937] the terminal supports or does not support a second type of message;

[0938] the terminal supports or does not support time synchronization based on a second protocol;

[0939] the terminal supports or does not support obtaining reference time information;

[0940] the terminal supports or does not support time synchronization based on reference time information;

[0941] the terminal supports or does not support time synchronization with a first time precision;

[0942] The fourth indication information is used to indicate at least one of the following:

[0943] the first service or the first data flow needs or does not need first synchronization;

[0944] the first QoS guarantee needs or does not need first synchronization;

[0945] the first service or the first data flow contains or does not contain a time-related parameter in the characteristics of the first service or the first data flow;

[0946] the first service or the first data flow requires or does not require the terminal to be synchronized with a master clock of the first network.

[0947] The second information includes at least one of the following:

[0948] residence time between the terminal and the DS-TT;

[0949] MAC address of the DS-TT port.

[0950] Optionally, the execution of the second operation includes:

[0951] In the case of satisfying a fourth condition, the second operation is executed, wherein the fourth condition includes at least one of the following:

[0952] the terminal is a termination point of the first service or the first data traffic;

[0953] the terminal is co-located with the DS-TT or the terminal does not support the DS-TT;

[0954] a context of the first data channel of the terminal indicates that the terminal is a termination point of the first service or the first data traffic;

[0955] obtaining first request information, the first request information being used to request a second operation;

[0956] the first service is a time-sensitive communication service;

[0957] the first data traffic is time-sensitive communication data traffic;

[0958] The first data channel is used to transmit at least one of the following: data of the first service or the first data traffic, a first type of message related to the first service or the first data traffic, and a second type of message related to the first service or the first data traffic.

[0959] Optionally, the context of the first data channel can indicate that the terminal is a termination point of the first service or the first data traffic without including at least one of the following:

[0960] a media access control (MAC) address of a DS-TT port or a residence time between the terminal and the DS-TT.

[0961] Optionally, the sending of the first information includes:

[0962] sending the first information through related signaling of a data channel; or

[0963] sending the first information through related signaling of a first data channel.

[0964] The communication device 1100 can implement each process of the second communication device in the method embodiment of the present application and achieve the same beneficial effects. To avoid repetition, details are not repeated here.

[0965] Please refer to Figure 12 The embodiment of the present application provides another communication device, which is a third communication device. The third communication device includes but is not limited to a terminal, a DS-TT, a NW-TT, a CN network element (such as one of the following: SMF, UPF, PCF, NEF, AF), and a RAN network element, such as Figure 12 As shown in FIG. 12, the communication device 1200 includes:

[0966] The receiving module 1201 is configured to receive at least one of a first type message and a second type message, wherein the first type message is used to send related information of a clock, and the second type message is a related message of a time synchronization protocol.

[0967] The performing module 1202 is configured to perform a third operation according to the at least one of the first type message and the second type message, wherein the third operation includes at least one of the following:

[0968] Discarding or ignoring the received first type message;

[0969] Discarding or ignoring the received second type message;

[0970] Selecting a master clock according to the first type message;

[0971] Performing time synchronization according to the second type message;

[0972] Skipping a type of the third operation, wherein the type of the third operation includes at least one of the following:

[0973] Operating on the received second type message;

[0974] Sending the operated second type message to a downstream communication device.

[0975] Optionally, the operating on the received second type message includes at least one of the following:

[0976] Deleting a first network-added entry timestamp contained in a suffix field of the received second type message;

[0977] Converting a first residence time based on a master clock of a first network into a first residence time based on a second master clock;

[0978] Adding the first residence time based on the second master clock into a residence time of a correction field in the second type message;

[0979] Wherein,

[0980] The first residence time is a time required for transmission of the second type message in the first network or the first bridge;

[0981] The second master clock is a corresponding master clock in the second type message.

[0982] Optionally, the performing time synchronization according to the second type message includes:

[0983] Creating an exit timestamp according to a time of receiving the second type message;

[0984] calculating the first residence time according to a time difference between an egress timestamp or a time when the second type message is received and an ingress timestamp in the second type message;

[0985] synchronizing time with a second master clock, the second master clock being a corresponding master clock in the second type message;

[0986] wherein the first residence time is a time required for transmission of the second type message in the first network or the first bridge.

[0987] Optionally, the discarding or ignoring the received first type message comprises:

[0988] discarding or ignoring the received first type message in a case that a fifth condition is met, wherein the fifth condition comprises at least one of:

[0989] the terminal being a termination point of the first service or the first data flow;

[0990] the terminal being collocated with a DS-TT or the terminal not supporting a DS-TT function;

[0991] the terminal not supporting the first protocol and / or not supporting the first type message;

[0992] the first type message being received from a first data channel or control plane signaling;

[0993] the first type message being a first type message related to the first service or the first data flow.

[0994] Optionally, the discarding or ignoring the received second type message comprises:

[0995] discarding or ignoring the received first type message in a case that a sixth condition is met, wherein the sixth condition comprises at least one of:

[0996] the terminal being a termination point of the first service or the first data flow;

[0997] the terminal not supporting a DS-TT function;

[0998] the terminal not supporting time synchronization based on a second protocol and / or not supporting the second type message;

[0999] the second type message being received from a first data channel or control plane signaling;

[1000] the second type message being a second type message related to the first service or the first data flow;

[1001] the terminal not supporting obtaining reference time information;

[1002] the terminal does not support time synchronization based on reference time information;

[1003] the terminal does not support time synchronization of the first time precision;

[1004] the first service or the first data flow does not need the first synchronization;

[1005] the first QoS guarantee does not need the first synchronization;

[1006] the first service or the first data flow does not need the first synchronization;

[1007] wherein,

[1008] the first QoS guarantee includes at least one of the following: time-sensitive communication guarantee, latency guarantee, and guarantee of the first data flow or the second data channel according to time-sensitive communication auxiliary information;

[1009] the second data channel is a data channel for transmitting or the first service or the first data flow.

[1010] Optionally, the selecting a master clock according to the first type of message comprises:

[1011] the seventh condition includes at least one of the following:

[1012] the terminal is a terminal for the first service or the first data flow;

[1013] the terminal is co-located with a DS-TT or the terminal supports a DS-TT function;

[1014] the terminal supports the first protocol and / or supports the first type of message;

[1015] the first type of message is received from the first data channel or control plane signaling;

[1016] the first type of message is a first type of message related to the first service or the first data flow;

[1017] the terminal supports obtaining reference time information;

[1018] the terminal supports time synchronization based on reference time information;

[1019] the terminal supports time synchronization of the first time precision;

[1020] the first service or the first data flow needs the first synchronization;

[1021] the first QoS guarantee needs the first synchronization;

[1022] The time-related parameter is included in the characteristics of the first service or the first data flow.

[1023] Optionally, the third operation comprises at least one of time synchronization and skipping a type of operation in the third operation according to the second type of message, when an eighth condition is met, wherein the eighth condition comprises at least one of:

[1024] The terminal is a terminal point of the first service or the first data flow.

[1025] The terminal is combined with the DS-TT or the terminal supports the DS-TT function.

[1026] The terminal supports synchronization based on the second protocol.

[1027] The terminal point receives the second type of message from the first data channel or the control plane signaling.

[1028] The second type of message is a second type of message related to the first service or the first data flow.

[1029] The communication device 1200 can implement each process of the third communication device in the method embodiment of the application and achieve the same beneficial effects. To avoid repetition, details are not repeated here.

[1030] Please refer to Figure 13 The embodiment of the application provides another communication device, which is a fourth communication device. The fourth communication device includes but is not limited to a terminal, a DS-TT, a NW-TT, a CN network element (such as one of the following: SMF, UPF, PCF, NEF, AF), a RAN network element, such as Figure 14 As shown in the figure, the communication device 1300 includes:

[1031] The execution module 1301 is configured to execute a fourth operation, and the fourth operation includes:

[1032] The fourth information includes at least one of the following: second indication information, third indication information, a synchronization period, information in a time domain, service description information, data flow description information, and a first time precision.

[1033] The fourth information includes at least one of the following: second indication information, third indication information, a synchronization period, information in a time domain, service description information, data flow description information, and a first time precision.

[1034] The second indication information is used to indicate at least one of the following: requiring the terminal to obtain reference time information, requiring the terminal to perform time synchronization based on the obtained reference time information, and requiring the terminal to perform time synchronization with a radio access network (RAN) at a first time precision.

[1035] The third indication information is used to request a terminal camping time.

[1036] Optionally, the terminal obtains reference time information including at least one of the following:

[1037] The terminal sends information to the network indicating that it prefers to be configured with a reference time, or the terminal requests the network to configure reference time information for the terminal.

[1038] The terminal reads a system message that includes reference time information;

[1039] The terminal performs time synchronization based on the acquired reference time information.

[1040] Optionally, the synchronization period includes at least one of the following: a period for the terminal to perform time synchronization with the RAN with a first time accuracy, a period for sending terminal-preferred-to-be-configured reference time information to the network, and a period for the terminal to request the network to configure reference time information for the terminal.

[1041] and / or

[1042] The information in the time domain includes at least one of the following: the time domain to which the synchronization clock for time synchronization between the terminal and the RAN with the first time accuracy belongs, the reference time information or the time domain to which the reference time belongs;

[1043] and / or

[1044] The service description information is used to indicate one of the following: services that apply the reference time information or the reference time, and services that are synchronized based on the reference time information;

[1045] and / or

[1046] The description information of the data traffic is used to indicate one of the following: data traffic that applies the reference time information or the reference time, or data traffic that is synchronized based on the reference time information;

[1047] and / or

[1048] The description information of the data traffic includes application description information, which indicates one of the following: an application that applies the reference time information or the reference time, or an application that performs synchronization based on the reference time information.

[1049] Optionally, performing the fourth operation includes:

[1050] If the ninth condition is met, the fourth operation is performed, wherein the ninth condition includes at least one of the following:

[1051] The terminal is the endpoint of the first service or the first data traffic;

[1052] The terminal is co-located with the DS-TT or does not support the DS-TT.

[1053] The context of the first data channel of the terminal indicates that the terminal is a terminal end point of the first service or the first data flow;

[1054] It is determined that the clock of the first network is used as a master clock;

[1055] It is determined that the first service or the first data flow of the terminal needs time synchronization of the first time precision;

[1056] It is determined that the first service or the first data flow of the terminal needs time synchronization based on time reference information;

[1057] It is determined that the first data flow or the second data channel needs to be guaranteed according to time sensitive communication auxiliary information;

[1058] The time sensitive communication auxiliary information includes time related parameters;

[1059] It is determined that the first network delay or the delay of the first network bridge needs to be publicly disclosed;

[1060] It is determined that the terminal needs to reside in the time second data channel, which is a data channel for transmitting the first data flow or the first service or the first data flow;

[1061] Optionally, the context of the first data channel can indicate that the terminal is a terminal end point of the first service or the first data flow without including at least one of the following:

[1062] The terminal and the DS-TT are co-located, and the media access control (MAC) address of the DS-TT port.

[1063] Optionally, the time related parameters include at least one of the following:

[1064] Packet arrival time:

[1065] Interval period between data packets.

[1066] The communication device 1300 can implement each process of the fourth communication device in the method embodiment of the application, and achieve the same beneficial effects. To avoid repetition, details are not repeated here.

[1067] Please refer to Figure 14 The embodiment of the application provides another communication device, which is a fifth communication device. The fifth communication device includes but is not limited to a terminal, a DS-TT, a NW-TT, a CN network element (such as one of the following: SMF, UPF, PCF, NEF, AF), a RAN network element, such as Figure 14 As shown in the figure, the communication device 1400 includes:

[1068] The acquisition module 1401 is used to acquire fourth information, which includes at least one of the following: second indication information and / or third indication information, synchronization period, time domain information, service description information, data traffic description information, and first time precision;

[1069] Execution module 1402 is configured to perform a fifth operation based on the fourth information, wherein the fifth operation includes:

[1070] Obtain reference time information.

[1071] Time synchronization is performed based on the obtained reference time information.

[1072] Time synchronization with RAN with first-precision time accuracy;

[1073] Terminal dwell time;

[1074] in,

[1075] The second indication information is used to indicate at least one of the following: requesting the terminal to obtain reference time information, requesting the terminal to perform time synchronization based on the obtained reference time information, and requesting the terminal to perform time synchronization with the radio access network RAN ​​with a first time accuracy.

[1076] The third indication information is used to request the terminal's dwell time.

[1077] Optionally, obtaining the reference time information includes at least one of the following:

[1078] Send a notification that the terminal is inclined to be configured with reference time information or send a request to configure reference time information for the terminal;

[1079] Read system messages that include reference time information;

[1080] Time synchronization is performed based on the obtained reference time information.

[1081] Optionally, sending a notification that the terminal is inclined to be configured with reference time information or sending a request to configure reference time information for the terminal includes: filtering information for reference time information, used to filter reference time information that matches the filtering information;

[1082] in,

[1083] The filtering criteria for the reference time information include at least one of the following: synchronization period, time domain information, business description information, data traffic description information, and first time accuracy.

[1084] Optionally, the synchronization period comprises at least one of the following: a period in which the terminal performs time synchronization with the RAN at a first time precision, a period in which the terminal sends the network the reference time information to which the terminal tends to be configured, and a period in which the terminal requests the network to configure the reference time information for the terminal.

[1085] and / or

[1086] The information of the time domain comprises at least one of the following: a time domain to which a synchronization clock belongs, the terminal performing time synchronization with the RAN at a first time precision, and a time domain to which the reference time information or the reference time belongs.

[1087] and / or

[1088] The service description information is used to indicate one of the following: a service to which the reference time information or the reference time is applicable, and a service that is synchronized based on the reference time information.

[1089] and / or

[1090] The description information of the data flow is used to indicate one of the following: a data flow to which the reference time information or the reference time is applicable, and a data flow that is synchronized based on the reference time information.

[1091] and / or

[1092] The description information of the data flow comprises application description information, and the application description information is used to indicate one of the following: an application to which the reference time information or the reference time is applicable, and an application that is synchronized based on the reference time information.

[1093] Optionally, the obtaining of the fourth information comprises one of the following: obtaining the fourth information from a layer above an access stratum (AS) layer of the fifth communication device, obtaining the fourth information from a non-access stratum (NAS) layer of the fifth communication device, and obtaining the fourth information from NAS signaling of the network.

[1094] The communication device 1400 can implement each process implemented by the fifth communication device in the method embodiment of the present application, and achieve the same beneficial effects. To avoid repetition, details are not described here.

[1095] Please refer to Figure 15 The embodiment of the present application provides another communication device, which is a sixth communication device. The sixth communication device includes but is not limited to a terminal, a DS-TT, a NW-TT, a CN network element (such as one of the following: SMF, UPF, PCF, NEF, and AF), and a RAN network element (such as one of the following: a gNB, an eNB, and a gNB-CU). Figure 16 As shown in

[1096] The execution module 1501 is configured to perform the sixth operation, including one of the following:

[1097] sending the reference time information and the first description information,

[1098] sending the reference time information, and the reference time information does not contain the first description information;

[1099] sending the reference time information, and the reference time information contains the first description information.

[1100] The first description information includes at least one of the following: service description information, data flow description information.

[1101] Optionally, the data flow description information is used to indicate that the reference time information is applicable to the data flow.

[1102] And / or

[1103] The service description information is used to indicate that the reference time information is applicable to the service.

[1104] Optionally, the device further includes:

[1105] The first acquisition module is configured to acquire sixth information, and the sixth information includes at least one of the following: the first description information, and the reference time information associated with the first description information; wherein the reference time information associated with the first description information contains the first description information or does not contain the first description information.

[1106] According to the sixth message, one of the following is performed:

[1107] sending the reference time information and the data flow description information;

[1108] adding the data flow description information in the reference time information, and sending the modified reference time information;

[1109] sending the reference time information, and the reference time information contains the data flow description information.

[1110] Optionally, the device further includes:

[1111] The second acquisition module is configured to acquire a notification that a terminal tends to be configured with reference time information or a request to configure the terminal with reference time information.

[1112] The sixth operation is performed according to the acquired information.

[1113] Optionally, the notification that a terminal tends to be configured with reference time information or the request to configure the terminal with reference time information includes filtering information of the reference time information, which is used to filter the reference time information that meets the filtering information.

[1114] The screening condition of the reference time information includes at least one of a synchronization period, time domain information, service description information, data flow description information, and a first time precision.

[1115] Optionally, the reference time information and the data flow description information are sent through an RRC message.

[1116] Or

[1117] The reference time information is sent through an RRC message, and the reference time information includes the data flow description information.

[1118] The communication device 500 can implement each process of the sixth communication device in the method embodiment of the present application and achieve the same beneficial effects. To avoid repetition, details are not described herein.

[1119] Referring to Figure 16 , Figure 16 is a structural diagram of another communication device provided by the embodiment of the present application. As shown in Figure 16 , the communication device 1600 includes a memory 1601, a processor 1602, and a computer program 16011 stored in the memory 1601 and capable of running on the processor 1602.

[1120] When the communication device 1600 behaves as the first communication device in the above method embodiment, the computer program 16011 is implemented by the processor 1602 as follows when executed:

[1121] performing a first operation, wherein the first operation includes at least one of the following:

[1122] sending only the first type message and / or the second type message to the first interface,

[1123] not sending the first type message and / or the second type message to the terminal,

[1124] selecting a master clock for the terminal;

[1125] rejecting a request for requesting the first synchronization;

[1126] rejecting first quality of service (QoS) guarantee for the first service or the first data flow;

[1127] wherein,

[1128] the first synchronization includes at least one of the following: synchronization of the terminal and / or the first network with a master clock outside the first network, synchronization of the terminal and / or the first network with the master clock outside the first network based on a second protocol, synchronization of the terminal with the master clock of the first network, synchronization based on the reference time information, and time synchronization of the first time precision;

[1129] The first type of message is used to send related information of a clock;

[1130] The second type of message is a related message of a time synchronization protocol;

[1131] The first interface comprises: an interface connected to a data network, a port on a network-side time-sensitive network adapter NW-TT;

[1132] The first QoS guarantee comprises at least one of the following: time-sensitive communication guarantee, latency guarantee, and guarantee of the first data flow or the second data channel according to time-sensitive communication auxiliary information;

[1133] The second data channel is a data channel for transmitting first service data or first data flow data.

[1134] Optionally, when the first condition is met, the first operation comprises at least one of the following:

[1135] Only the first type of message and / or the second type of message is sent to the first interface, and the first type of message and / or the second type of message is not sent to the terminal;

[1136] The first condition comprises at least one of the following:

[1137] The terminal is a terminal point of the first service or the first data flow;

[1138] The terminal is combined with a device-side time-sensitive network adapter DS-TT;

[1139] The context of the first data channel of the terminal indicates that the terminal is a terminal point of the first service or the first data flow;

[1140] The terminal does not support the DS-TT;

[1141] The first communication device is responsible for determining the port state or is configured with the port state on the first communication device;

[1142] The terminal does not support the first type of message;

[1143] The terminal does not support selecting a master clock or the terminal does not support a first protocol, the first protocol being a protocol for selecting a master clock;

[1144] The terminal does not support the second type of message;

[1145] The terminal does not support time synchronization based on a second protocol;

[1146] The master clock of the first service or the first data flow is determined to be a master clock of the first network;

[1147] The terminal does not support obtaining reference time information;

[1148] The terminal does not support time synchronization based on reference time information;

[1149] The terminal does not support time synchronization of the first time precision;

[1150] The first service or first data flow does not need the first synchronization;

[1151] The first QoS guarantee does not need the first synchronization;

[1152] The first service or first data flow does not contain time-related parameters in its characteristics.

[1153] The first data channel is used to transmit at least one of the following: data of the first service or first data flow, a first type of message related to the first service or first data flow, and a second type of message related to the first service or first data flow.

[1154] Optionally, the first operation includes:

[1155] In the case of meeting the second condition, the master clock is selected for the terminal;

[1156] The second condition includes at least one of the following:

[1157] The terminal is the terminal point of the first service or first data flow;

[1158] The terminal is combined with the DS-TT;

[1159] The context of the first data channel of the terminal indicates that the terminal is the terminal point of the first service or first data flow;

[1160] The terminal does not support the DS-TT;

[1161] The first communication device is responsible for determining the port state or the port state is configured on the first communication device; the terminal does not support the first type of message;

[1162] The terminal does not support selecting the master clock or the terminal does not support the first protocol, which is a protocol for selecting the master clock;

[1163] The terminal supports obtaining reference time information;

[1164] The terminal supports time synchronization based on reference time information;

[1165] The terminal supports time synchronization of the first time precision;

[1166] The first service or first data flow needs the first synchronization;

[1167] The first QoS guarantee requires the first synchronization;

[1168] The first service or the first data flow comprises a time-related parameter in the characteristic;

[1169] The first data channel is configured to transmit at least one of the following: data of the first service or the first data flow, a first type message related to the first service or the first data flow, and a second type message related to the first service or the first data flow.

[1170] Optionally, the first operation comprises:

[1171] In a case where a third condition is met, at least one of the following is performed: rejecting a request for requesting the first synchronization; and rejecting the first QoS guarantee for the first data flow;

[1172] The third condition comprises at least one of the following:

[1173] The terminal is a terminal end of the first service or the first data flow;

[1174] The terminal is combined with the DS-TT;

[1175] The context of the first data channel of the terminal indicates that the terminal is a terminal end of the first service or the first data flow;

[1176] The terminal does not support the DS-TT;

[1177] The first communication device is responsible for determining the port state or is configured with the port state on the first communication device;

[1178] The terminal does not support the first type message;

[1179] The terminal does not support selecting a master clock or does not support a first protocol used for selecting the master clock;

[1180] The terminal does not support the second type message;

[1181] The terminal does not support time synchronization based on a second protocol;

[1182] The master clock of the terminal is determined to be a master clock outside the first network;

[1183] It is determined that synchronization with the master clock outside the first network based on the second protocol is required or that the second type message is to be sent to the terminal for synchronization with the master clock outside the first network;

[1184] The terminal does not support obtaining reference time information;

[1185] The terminal does not support time synchronization based on reference time information;

[1186] The terminal does not support time synchronization of the first time precision;

[1187] The first service or first data flow needs first synchronization;

[1188] The first QoS guarantee needs first synchronization;

[1189] The first service or first data flow contains time-related parameters in the characteristics.

[1190] Optionally, the first operation includes:

[1191] In the case of obtaining the first information, the first operation is executed, wherein the first information includes at least one of the MAC address of the terminal or the IP address of the terminal;

[1192] Residence time of the terminal; first indication information; fourth indication information;

[1193] The first indication information is used to indicate at least one of:

[1194] The terminal is the terminal end of the first service or first data flow or the terminal is not the terminal end of the first service or first data flow;

[1195] The terminal is combined with the DS-TT;

[1196] The terminal supports or does not support the DS-TT function;

[1197] The terminal supports or does not support the first type message;

[1198] The terminal supports or does not support the first protocol, which is a protocol for selecting a master clock;

[1199] The terminal supports or does not support the second type message;

[1200] The terminal supports or does not support time synchronization based on the second protocol;

[1201] The terminal supports or does not support obtaining reference time information;

[1202] The terminal supports or does not support time synchronization based on reference time information;

[1203] The terminal supports or does not support time synchronization of the first time precision;

[1204] The fourth indication information is used to indicate at least one of:

[1205] The first service or first data flow needs or does not need first synchronization;

[1206] The first QoS guarantee needs or does not need first synchronization;

[1207] The first service or first data flow contains or does not contain a time-related parameter in its characteristics;

[1208] The first service or first data flow requires or does not require the terminal to synchronize with the master clock of the first network.

[1209] Optionally, in the case where the first information is acquired, the first operation is executed, including:

[1210] In the case where the first information is acquired and the first condition is met, the first operation is executed, wherein the first condition includes at least one of the following:

[1211] The terminal is a terminal point of the first service or first data flow;

[1212] The terminal is combined with the DS-TT;

[1213] The context of the first data channel of the terminal indicates that the terminal is a terminal point of the first service or first data flow;

[1214] The terminal does not support the DS-TT;

[1215] The first communication device is responsible for determining the port state or the port state is configured on the first communication device;

[1216] The terminal does not support the first type of message;

[1217] The terminal does not support selecting a master clock or the terminal does not support a first protocol, which is a protocol for selecting a master clock;

[1218] The terminal does not support the second type of message;

[1219] The terminal does not support time synchronization based on the second protocol;

[1220] The master clock of the first service or first data flow is determined to be the master clock of the first network;

[1221] The terminal does not support acquiring reference time information;

[1222] The terminal does not support time synchronization based on the reference time information;

[1223] The terminal does not support time synchronization of the first time precision;

[1224] The first service or first data flow does not need first synchronization;

[1225] The first QoS guarantee does not require the first synchronization;

[1226] The first service or first data flow does not contain a time-related parameter in the characteristics.

[1227] The first data channel is used to transmit at least one of the following: data of the first service or first data flow, a first type of message related to the first service or first data flow, and a second type of message related to the first service or first data flow.

[1228] Optionally, the first operation includes:

[1229] In a case where the first information is acquired and a second condition is met, a master clock is selected for the terminal, wherein the second condition includes at least one of the following:

[1230] The terminal is a terminal point of the first service or first data flow;

[1231] The terminal is collocated with the DS-TT;

[1232] A context of a first data channel of the terminal indicates that the terminal is a terminal point of the first service or first data flow;

[1233] The terminal does not support the DS-TT;

[1234] The first communication device is responsible for determining the port state or the port state is configured on the first communication device; and the terminal does not support the first type of message;

[1235] The terminal does not support the master clock selection or the terminal does not support a first protocol, wherein the first protocol is a protocol for selecting the master clock;

[1236] The terminal supports acquiring the reference time information;

[1237] The terminal supports time synchronization based on the reference time information;

[1238] The terminal supports time synchronization with the first time precision;

[1239] The first service or first data flow requires the first synchronization;

[1240] The first QoS guarantee requires the first synchronization;

[1241] The first service or first data flow contains a time-related parameter in the characteristics.

[1242] The first data channel is configured to transmit at least one of the following: data of the first service or the first data flow, a first type of message related to the first service or the first data flow, and a second type of message related to the first service or the first data flow.

[1243] Optionally, the first operation comprises the following in the case that the first information is acquired:

[1244] In the case that the first information is acquired and a third condition is met, at least one of the following is performed: rejecting a request for requesting the first synchronization; and rejecting the first QoS guarantee for the first data flow.

[1245] The third condition comprises at least one of the following:

[1246] The terminal is a terminal end of the first service or the first data flow;

[1247] The terminal is combined with the DS-TT;

[1248] The context of the first data channel of the terminal indicates that the terminal is a terminal end of the first service or the first data flow;

[1249] The terminal does not support the DS-TT;

[1250] The first communication device is responsible for determining the port state or the port state is configured on the first communication device;

[1251] The terminal does not support the first type of message;

[1252] The terminal does not support the selection of the master clock or the terminal does not support a first protocol, the first protocol being a protocol for selecting the master clock;

[1253] The terminal does not support the second type of message;

[1254] The terminal does not support time synchronization based on a second protocol;

[1255] The master clock of the terminal is determined to be a master clock outside the first network;

[1256] It is determined that the terminal needs to be synchronized with the master clock outside the first network based on a second protocol or that the terminal needs to be sent a second type of message for synchronization with the master clock outside the first network;

[1257] The terminal does not support the acquisition of the reference time information;

[1258] The terminal does not support time synchronization based on the reference time information;

[1259] The terminal does not support time synchronization of the first time precision;

[1260] The first service or first data traffic requires the first synchronization;

[1261] The first QoS guarantee requires the first synchronization;

[1262] The first service or first data traffic comprises a time-related parameter in its characteristics.

[1263] Optionally, the not sending the first type of message to the terminal comprises:

[1264] Skipping the step of sending the first type of message to the terminal or discarding the first type of message prepared to be sent to the terminal.

[1265] Optionally, the context of the first data channel of the terminal indicates that the terminal is a terminal end point of the first service or first data traffic comprises:

[1266] The context of the first data channel can indicate that the terminal is a terminal end point of the first service or first data traffic without including at least one of:

[1267] Residence time between the terminal and the DS-TT, MAC address of the DS-TT port.

[1268] Optionally, the first type of message comprises service description information or data traffic description information associated with the first type of message;

[1269] And / or

[1270] The second type of message comprises service description information or data traffic description information associated with the second type of message;

[1271] And / or

[1272] When the first type of message is sent, the service description information or data traffic description information associated with the first type of message is also sent;

[1273] When the second type of message is sent, the service description information or data traffic description information associated with the second type of message is also sent.

[1274] Optionally, the second protocol comprises at least one of: gPTP, PTP, NTP;

[1275] And / or

[1276] The second type of message comprises at least one of: a related message of gPTP, a related message of PTP, a related message of NTP.

[1277] When the communication device 1600 is the second communication device in the above method embodiments, the computer program 16011 is executed by the processor 1602 to implement the following steps:

[1278] performing a second operation, wherein the second operation comprises at least one of:

[1279] sending the first information;

[1280] skipping or discarding the sending of the second information;

[1281] wherein the first information comprises at least one of: a MAC address of the terminal or an IP address of the terminal; a residence time of the terminal; first indication information; fourth indication information;

[1282] wherein the first indication information is used to indicate at least one of:

[1283] the terminal is a terminal end of the first service or the first data flow or the terminal is not a terminal end of the first service or the first data flow;

[1284] the terminal is collocated with a DS-TT;

[1285] the terminal supports or does not support a DS-TT function;

[1286] the terminal supports or does not support a first type of message;

[1287] the terminal supports or does not support a first protocol, which is a protocol for selecting a master clock;

[1288] the terminal supports or does not support a second type of message;

[1289] the terminal supports or does not support time synchronization based on a second protocol;

[1290] the terminal supports or does not support obtaining reference time information;

[1291] the terminal supports or does not support time synchronization based on reference time information;

[1292] the terminal supports or does not support time synchronization of a first time precision;

[1293] wherein the fourth indication information is used to indicate at least one of:

[1294] the first service or the first data flow needs or does not need first synchronization;

[1295] the first QoS guarantee needs or does not need first synchronization;

[1296] The first service or the first data traffic comprises or does not comprise a time-related parameter in the characteristic;

[1297] The first service or the first data traffic requires or does not require the terminal to be synchronized with a master clock of the first network.

[1298] The second information comprises at least one of the following:

[1299] Residence time between the terminal and the DS-TT;

[1300] MAC address of the DS-TT port.

[1301] Optionally, the performing the second operation comprises:

[1302] The fourth condition comprises at least one of the following:

[1303] The terminal is a terminal point of the first service or the first data traffic;

[1304] The terminal is co-located with the DS-TT or the terminal does not support the DS-TT;

[1305] Context of the first data channel of the terminal indicates that the terminal is a terminal point of the first service or the first data traffic;

[1306] Obtaining first request information, the first request information is used to request a second operation;

[1307] The first service is a time-sensitive communication service;

[1308] The first data traffic is time-sensitive communication data traffic;

[1309] The first data channel is used to transmit at least one of the following: data of the first service or the first data traffic, a first type of message related to the first service or the first data traffic, and a second type of message related to the first service or the first data traffic.

[1310] Optionally, the context of the first data channel can indicate that the terminal is a terminal point of the first service or the first data traffic without comprising at least one of the following:

[1311] Residence time between the terminal and the DS-TT, and MAC address of the DS-TT port.

[1312] Optionally, the sending the first information comprises:

[1313] The first information is sent through related signaling of the data channel; or

[1314] The first information is transmitted through a first data channel by related signaling.

[1315] When the communication device 1600 behaves as the third communication device in the above method embodiments, the computer program 16011 is executed by the processor 1602 to realize the following steps:

[1316] Receiving at least one of a first type message and a second type message, wherein the first type message is used to transmit related information of a clock, and the second type message is a related message of a time synchronization protocol;

[1317] Performing a third operation according to at least one of the first type message and the second type message, wherein the third operation includes at least one of the following:

[1318] Discarding or ignoring the received first type message;

[1319] Discarding or ignoring the received second type message;

[1320] Selecting a master clock according to the first type message;

[1321] Performing time synchronization according to the second type message;

[1322] Skipping a type of third operation, wherein the type of third operation includes at least one of the following:

[1323] Operating on the received second type message;

[1324] Transmitting the operated second type message to a downstream communication device.

[1325] Optionally, the step of operating on the received second type message includes at least one of the following:

[1326] Deleting an ingress timestamp added by a first network in a suffix field included in the received second type message;

[1327] Converting a first residence time based on a master clock of the first network into a first residence time based on a second master clock;

[1328] Adding the first residence time based on the second master clock into a residence time of a correction field in the second type message;

[1329] Wherein,

[1330] The first residence time is a time required for transmission of the second type message in the first network or the first bridge;

[1331] The second master clock is a corresponding master clock in the second type message.

[1332] Optionally, the time synchronization according to the second type message comprises:

[1333] creating an egress timestamp according to the time of receiving the second type message;

[1334] calculating the first residence time according to the time difference between the egress timestamp or the time of receiving the second type message and the ingress timestamp in the second type message;

[1335] time synchronizing with a second master clock, the second master clock being a corresponding master clock in the second type message;

[1336] wherein the first residence time is the time required for the second type message to be transmitted in the first network or the first bridge.

[1337] Optionally, the discarding or ignoring the received first type message comprises:

[1338] discarding or ignoring the received first type message in the case of satisfying a fifth condition, wherein the fifth condition comprises at least one of:

[1339] the terminal being a termination point of the first service or the first data flow;

[1340] the terminal being collocated with a DS-TT or the terminal not supporting a DS-TT function;

[1341] the terminal not supporting the first protocol and / or not supporting the first type message;

[1342] the first type message being received from a first data channel or control plane signaling;

[1343] the first type message being a first type message related to the first service or the first data flow.

[1344] Optionally, the discarding or ignoring the received second type message comprises:

[1345] discarding or ignoring the received first type message in the case of satisfying a sixth condition, wherein the sixth condition comprises at least one of:

[1346] the terminal being a termination point of the first service or the first data flow;

[1347] the terminal not supporting a DS-TT function;

[1348] the terminal not supporting time synchronization based on the second protocol and / or not supporting the second type message;

[1349] the second type message being received from a first data channel or control plane signaling;

[1350] the second type of message is a second type of message related to the first service or the first data traffic;

[1351] the terminal does not support obtaining reference time information;

[1352] the terminal does not support time synchronization based on reference time information;

[1353] the terminal does not support time synchronization of the first time precision;

[1354] the first service or the first data traffic does not require the first synchronization;

[1355] the first QoS guarantee does not require the first synchronization;

[1356] the first service or the first data traffic does not contain time-related parameters in its characteristics;

[1357] wherein,

[1358] the first QoS guarantee includes at least one of the following: time-sensitive communication guarantee, latency guarantee, and guarantee of the first data traffic or the second data channel according to time-sensitive communication auxiliary information;

[1359] the second data channel is a data channel that transmits data of the first service or the first data traffic.

[1360] Optionally, the selecting a master clock according to the first type of message comprises:

[1361] selecting a master clock according to the first type of message in the case of satisfying a seventh condition, wherein the seventh condition includes at least one of the following:

[1362] the terminal is a terminal of the first service or the first data traffic;

[1363] the terminal is co-located with a DS-TT or the terminal supports a DS-TT function;

[1364] the terminal supports a first protocol and / or supports the first type of message;

[1365] receiving the first type of message from a first data channel or control plane signaling;

[1366] the first type of message is a first type of message related to the first service or the first data traffic;

[1367] the terminal supports obtaining reference time information;

[1368] the terminal supports time synchronization based on reference time information;

[1369] The terminal supports time synchronization of the first time precision;

[1370] The first service or first data flow requires the first synchronization;

[1371] The first QoS guarantee requires the first synchronization;

[1372] The first service or first data flow contains a time-related parameter in the feature.

[1373] Optionally, the third operation includes at least one of time synchronization according to the second type of message and skipping a type of operation in the third operation, when an eighth condition is met, wherein the eighth condition includes at least one of the following:

[1374] The terminal is a terminal point of the first service or first data flow;

[1375] The terminal is collocated with a DS-TT or the terminal supports a DS-TT function;

[1376] The terminal supports synchronization based on a second protocol;

[1377] The terminal point receives the second type of message from the first data channel or control plane signaling;

[1378] The second type of message is a second type of message related to the first service or first data flow.

[1379] When the communication device 1600 is the fourth communication device in the above method embodiments, the computer program 16011 is executed by the processor 1602 to implement the following steps:

[1380] Performing a fourth operation, the fourth operation includes:

[1381] Sending fourth information, the fourth information includes at least one of the following: second indication information, third indication information, synchronization period, information in the time domain, service description information, data flow description information, and first time precision;

[1382] Wherein,

[1383] The second indication information is used to indicate at least one of the following: requiring the terminal to obtain reference time information, requiring the terminal to perform time synchronization based on the obtained reference time information, and requiring the terminal to perform time synchronization of the first time precision with a radio access network (RAN);

[1384] The third indication information is used to request the terminal to camp on time.

[1385] Optionally, the terminal obtaining reference time information includes at least one of the following:

[1386] the terminal sends to the network that the terminal tends to be configured with reference time information or the terminal requests the network to configure the terminal with reference time information;

[1387] the terminal reads system message including reference time information;

[1388] the terminal performs time synchronization based on the obtained reference time information.

[1389] Optionally, the synchronization period comprises at least one of the following: a period of time synchronization between the terminal and the RAN with a first time precision, a period of sending to the network that the terminal tends to be configured with reference time information, a period of requesting the network to configure the terminal with reference time information;

[1390] and / or

[1391] the information of the time domain comprises at least one of the following: a time domain to which a synchronization clock of time synchronization between the terminal and the RAN with a first time precision belongs, a time domain to which the reference time information or the reference time belongs;

[1392] and / or

[1393] the service description information is used to indicate one of the following: a service to which the reference time information or the reference time is applicable, a service to be synchronized based on the reference time information;

[1394] and / or

[1395] the description information of the data flow is used to indicate one of the following: a data flow to which the reference time information or the reference time is applicable, a data flow to be synchronized based on the reference time information;

[1396] and / or

[1397] the description information of the data flow comprises application description information, and the application description information is used to indicate one of the following: an application to which the reference time information or the reference time is applicable, an application to be synchronized based on the reference time information.

[1398] Optionally, the performing the fourth operation comprises:

[1399] performing the fourth operation in a case where a ninth condition is met, wherein the ninth condition comprises at least one of the following:

[1400] the terminal is a terminal end for a first service or a first data flow;

[1401] the terminal is collocated with a DS-TT or does not support a DS-TT;

[1402] The context of the first data channel of the terminal indicates that the terminal is a terminal end of the first service or the first data flow;

[1403] Determine to adopt the clock of the first network as a master clock;

[1404] Determine that the first service or the first data flow of the terminal needs time synchronization of the first time precision;

[1405] Determine that the first service or the first data flow of the terminal needs time synchronization based on time reference information;

[1406] Determine that the first data flow or the second data channel needs to be guaranteed according to time sensitive communication auxiliary information;

[1407] The time sensitive communication auxiliary information includes time related parameters;

[1408] Determine that the first network delay or the delay of the first network bridge needs to be publicly disclosed;

[1409] Determine that the terminal residence time of the second data channel is a data channel of the first service or the first data flow conveying the first data flow.

[1410] Optionally, the context of the first data channel can indicate that the terminal is a terminal end of the first service or the first data flow without including at least one of the following:

[1411] The terminal and the DS-TT residence time, the media access control (MAC) address of the DS-TT port.

[1412] Optionally, the time related parameters include at least one of the following:

[1413] Packet arrival time:

[1414] Interval period between data packets.

[1415] When the communication device 1600 behaves as the fifth communication device in the above method embodiments, the computer program 16011 is executed by the processor 1602 to realize the following steps:

[1416] Obtain fourth information, the fourth information includes at least one of the following: second indication information and / or third indication information, synchronization period, information in time domain, service description information, description information of data flow, first time precision;

[1417] According to the fourth information, execute the fifth operation, wherein the fifth operation includes:

[1418] Obtain reference time information,

[1419] synchronizing time based on the obtained reference time information,

[1420] synchronizing time with the RAN at a first time precision;

[1421] sending a residence time of the terminal;

[1422] wherein,

[1423] the second indication information is used to indicate at least one of the following: requiring the terminal to obtain reference time information, requiring the terminal to synchronize time based on the obtained reference time information, and requiring the terminal to synchronize time with the RAN at a first time precision;

[1424] the third indication information is used to request a residence time of the terminal.

[1425] Optionally, the obtaining reference time information comprises at least one of the following:

[1426] sending a notification that the terminal is inclined to be configured with reference time information or sending a request for the terminal to be configured with reference time information;

[1427] reading system messages comprising reference time information;

[1428] synchronizing time based on the obtained reference time information.

[1429] Optionally, sending a notification that the terminal is inclined to be configured with reference time information or sending a request for the terminal to be configured with reference time information comprises: filtering information of reference time information, used to filter reference time information that meets the filtering information;

[1430] wherein,

[1431] the filtering condition of the reference time information comprises at least one of the following: a synchronization period, time domain information, service description information, data flow description information, and a first time precision.

[1432] Optionally, the synchronization period comprises at least one of the following: a period of synchronizing time of the terminal with the RAN at a first time precision, a period of sending a notification that the terminal is inclined to be configured with reference time information to the network, and a period of requesting the network to configure the terminal with reference time information.

[1433] and / or

[1434] the time domain information comprises at least one of the following: a time domain to which a synchronization clock belongs, used for synchronizing time of the terminal with the RAN at a first time precision, a time domain of the reference time information or the reference time;

[1435] and / or

[1436] The service description information is used for indicating one of the following: a service to which the reference time information or the reference time is applicable, and a service that is synchronized based on the reference time information.

[1437] and / or

[1438] The data flow description information is used for indicating one of the following: a data flow to which the reference time information or the reference time is applicable, and a data flow that is synchronized based on the reference time information.

[1439] and / or

[1440] The data flow description information includes application description information, and the application description information is used for indicating one of the following: an application to which the reference time information or the reference time is applicable, and an application that is synchronized based on the reference time information.

[1441] Optionally, the obtaining the fourth information includes one of the following: obtaining the fourth information from a layer above an access stratum (AS) layer of the fifth communication device, obtaining the fourth information from a non-access stratum (NAS) layer of the fifth communication device, and obtaining the fourth information from NAS signaling of the network.

[1442] When the communication device 1600 functions as the sixth communication device in the method embodiments, the computer program 16011 is executed by the processor 1602 to implement the following steps.

[1443] performing a sixth operation, and the sixth operation includes one of the following:

[1444] sending the reference time information and the first description information,

[1445] sending the reference time information, and the reference time information does not include the first description information;

[1446] sending the reference time information, and the reference time information includes the first description information.

[1447] The first description information includes at least one of the following: service description information, and data flow description information.

[1448] Optionally, the data flow description information is used for indicating that the reference time information is applicable to the data flow.

[1449] and / or

[1450] The service description information is used for indicating that the reference time information is applicable to the service.

[1451] Optionally, before performing the sixth operation, the computer program 16011 is executed by the processor 1602 to further implement the following steps.

[1452] obtaining sixth information, the sixth information comprising at least one of the following: the first description information, and reference time information associated with the first description information; wherein the reference time information associated with the first description information comprises or does not comprise the first description information.

[1453] performing one of the following according to the sixth message:

[1454] sending the reference time information and the description information of the data flow;

[1455] adding the description information of the data flow in the reference time information, and sending the modified reference time information;

[1456] sending the reference time information, and the reference time information comprises the description information of the data flow.

[1457] Optionally, before the sixth operation is performed, the computer program 16011 is executed by the processor 1602 to further implement the following steps:

[1458] obtaining a notification that the terminal tends to be configured with the reference time information or a request for configuring the terminal with the reference time information;

[1459] performing the sixth operation according to the obtained information.

[1460] Optionally, the notification that the terminal tends to be configured with the reference time information or the request for configuring the terminal with the reference time information comprises filtering information of the reference time information, used for screening the reference time information meeting the filtering information.

[1461] wherein

[1462] The screening condition of the reference time information comprises at least one of the following: a synchronization period, information in a time domain, service description information, description information of a data flow, and a first time precision.

[1463] Optionally, the reference time information and the description information of the data flow are sent through an RRC message, or

[1464] The reference time information is sent through an RRC message, and the reference time information comprises the description information of the data flow.

[1465] The communication device 1600 can implement each process implemented by the communication device in the above method embodiment, and thus details are not repeated here.

[1466] The embodiment of the present application provides a communication device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, when the computer program is executed by the processor, the steps of the information transmission method on the first communication device side provided by the embodiment of the present application are implemented, or the steps of the information transmission method on the second communication device side provided by the embodiment of the present application are implemented, or the steps of the information transmission method on the third communication device side provided by the embodiment of the present application are implemented, or the steps of the information transmission method on the fourth communication device side provided by the embodiment of the present application are implemented, or the steps of the information transmission method on the fifth communication device side provided by the embodiment of the present application are implemented, or the steps of the information transmission method on the sixth communication device side provided by the embodiment of the present application are implemented.

[1467] The embodiment of the present application provides a computer readable storage medium, the computer readable storage medium stores a computer program, when the computer program is executed by a processor, the steps of the information transmission method on the first communication device side provided by the embodiment of the present application are implemented, or the steps of the information transmission method on the second communication device side provided by the embodiment of the present application are implemented, or the steps of the information transmission method on the third communication device side provided by the embodiment of the present application are implemented, or the steps of the information transmission method on the fourth communication device side provided by the embodiment of the present application are implemented, or the steps of the information transmission method on the fifth communication device side provided by the embodiment of the present application are implemented, or the steps of the information transmission method on the sixth communication device side provided by the embodiment of the present application are implemented.

[1468] The embodiment of the present application also provides a program product, the program product is stored in a non-volatile storage medium, the program product is executed by at least one processor to implement the steps in the information transmission method on the first communication device side provided by the embodiment of the present application, or the program product is executed by at least one processor to implement the steps in the information transmission method on the second communication device side provided by the embodiment of the present application, or the program product is executed by at least one processor to implement the steps in the information transmission method on the third communication device side provided by the embodiment of the present application, or the program product is executed by at least one processor to implement the steps in the information transmission method on the fourth communication device side provided by the embodiment of the present application, or the program product is executed by at least one processor to implement the steps in the information transmission method on the fifth communication device side provided by the embodiment of the present application, or the program product is executed by at least one processor to implement the steps in the information transmission method on the sixth communication device side provided by the embodiment of the present application.

[1469] The processor is the processor in the terminal or the network device in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[1470] The chip provided in the embodiments of the present application includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used to run programs or instructions, realizes each process of the information transmission method embodiments provided by the first communication device, the second communication device, the third communication device, the fourth communication device, the fifth communication device or the sixth communication device side, and can achieve the same technical effects. To avoid repetition, it will not be described here.

[1471] It should be understood that the chip mentioned in the embodiments of the present application can also be referred to as a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[1472] It should be noted that in this paper, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to the order of functions shown or discussed, but can also include functions performed in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method can be performed in an order different from that described, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.

[1473] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the method described in each embodiment of the present application.

[1474] The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the above-described specific embodiments, and the above-described specific embodiments are merely illustrative, but not restrictive, and a person of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims.

Claims

1. An information transmission method, executed by a first communication device, characterized in that, Comprise: In the case of meeting a first condition, performing a first operation, wherein the first operation comprises at least one of: Only sending a first type message and / or a second type message to a first interface, Not sending the first type message and / or the second type message to a terminal; Wherein the first condition comprises: the terminal is a terminal point of a first service or a first data flow; The first type message is used to send related information of a clock; The second type message is a related message of a time synchronization protocol; The first interface comprises: an interface connected to a data network, a port on a network side time sensitive network adapter NW-TT; The not sending the first type message to the terminal comprises: Skipping the step of sending the first type message to the terminal or discarding the first type message prepared to be sent to the terminal.

2. The method of claim 1, wherein, The performing the first operation in the case of meeting the first condition comprises: In the case of meeting the first condition and obtaining first information, performing the first operation; Wherein the first information comprises first indication information, wherein the first indication information is used to indicate at least one of: The terminal is a terminal point of the first service or the first data flow or the terminal is not a terminal point of the first service or the first data flow; The terminal is collocated with a DS-TT; The terminal supports or does not support the first type message; The terminal supports or does not support the second type message.

3. The method of claim 1, wherein, The first operation further comprises at least one of: Selecting a master clock for the terminal; Refusing a request for requesting a first synchronization; Refusing a first quality of service QoS guarantee for the first service or the first data flow; Wherein the first synchronization comprises at least one of: the terminal and / or the first network synchronizing with a master clock outside the first network, the terminal and / or the first network synchronizing with the master clock outside the first network based on a second protocol, the terminal synchronizing with the master clock of the first network, synchronizing based on reference time information, time synchronization of a first time precision; The first QoS guarantee comprises at least one of: time sensitive communication guarantee, delay guarantee, guaranteeing the first data flow or a second data channel according to time sensitive communication auxiliary information; The second data channel is a data channel conveying data of the first service or data of the first data flow.

4. The method of any one of claims 1 to 3, wherein, The first condition further comprises at least one of: The terminal is collocated with a device side time sensitive network adapter DS-TT; A context of a first data channel of the terminal indicates that the terminal is a terminal point of the first service or the first data flow; The terminal does not support the first type message; The terminal does not support the DS-TT; The first communication device is responsible for determining a port state or is configured with the port state on the first communication device; The terminal does not support selecting a master clock or does not support a first protocol for selecting a master clock; The terminal does not support time synchronization based on a second protocol; A master clock of the first service or the first data flow is determined as a master clock of the first network; The terminal does not support obtaining reference time information; The terminal does not support time synchronization based on reference time information; The terminal does not support time synchronization of a first time precision; The first service or first data flow does not need the first synchronization; The first QoS guarantee does not need the first synchronization; The first service or first data flow does not contain a time-related parameter in its characteristics; The first data channel is configured to transmit at least one of the following: data of the first service or first data flow, a first type of message related to the first service or first data flow, and a second type of message related to the first service or first data flow.

5. The method of claim 3, wherein, The selecting of the master clock for the terminal includes: The selecting of the master clock for the terminal includes: The second condition includes at least one of the following: The terminal is a terminal point of the first service or first data flow; The terminal is co-located with a DS-TT; The context of the first data channel of the terminal indicates that the terminal is a terminal point of the first service or first data flow; The terminal does not support a DS-TT; The first communication device is responsible for determining a port state or is configured with a port state; and the terminal does not support a first type of message; The terminal does not support selecting a master clock or does not support a first protocol, which is a protocol for selecting a master clock; The terminal supports obtaining reference time information; The terminal supports time synchronization based on reference time information; The terminal supports time synchronization with a first time precision; The first service or first data flow needs the first synchronization; The first QoS guarantee needs the first synchronization; The first service or first data flow contains a time-related parameter in its characteristics; The first data channel is configured to transmit at least one of the following: data of the first service or first data flow, a first type of message related to the first service or first data flow, and a second type of message related to the first service or first data flow.

6. The method of claim 3, wherein, The performing of the first operation satisfies the following: The performing of the first operation satisfies the following: The third condition includes at least one of the following: The terminal is a terminal point of the first service or first data flow; The terminal is co-located with a DS-TT; The context of the first data channel of the terminal indicates that the terminal is a terminal point of the first service or first data flow; The terminal does not support a DS-TT; The first communication device is responsible for determining a port state or is configured with a port state; The terminal does not support a first type of message; The terminal does not support selecting a master clock or does not support a first protocol, which is a protocol for selecting a master clock; The terminal does not support a second type of message; The terminal does not support time synchronization based on a second protocol; The master clock of the terminal is determined to be a master clock outside a first network; It is determined that the terminal needs to be synchronized with the master clock outside the first network based on a second protocol or that a second type of message needs to be sent to the terminal to synchronize with the master clock outside the first network; The terminal does not support obtaining reference time information; The terminal does not support time synchronization based on reference time information; The terminal does not support time synchronization with a first time precision; The first service or first data flow needs the first synchronization; The first QoS guarantee needs the first synchronization; The first service or first data flow contains time-related parameters in its characteristics.

7. The method of claim 2, wherein, The first information further comprises at least one of the following: a MAC address of the terminal or an IP address of the terminal; a residence time of the terminal; fourth indication information; The first indication information further indicates at least one of the following: The terminal supports or does not support a DS-TT function; The terminal supports or does not support a first protocol, which is a protocol for selecting a master clock; The terminal supports or does not support time synchronization based on a second protocol; The terminal supports or does not support obtaining reference time information; The terminal supports or does not support time synchronization based on reference time information; The terminal supports or does not support time synchronization of a first time precision; The fourth indication information indicates at least one of the following: The first service or first data flow needs or does not need the first synchronization; The first QoS guarantee needs or does not need the first synchronization; The first service or first data flow contains or does not contain time-related parameters in its characteristics; The first service or first data flow requires or does not require the terminal to synchronize with a master clock of the first network.

8. The method of claim 2, wherein, The first condition further comprises at least one of the following: The terminal is collocated with a DS-TT; A context of a first data channel of the terminal indicates that the terminal is a terminal endpoint of the first service or first data flow; The terminal does not support a DS-TT; The first communication device is responsible for determining a port state or a port state is configured on the first communication device; The terminal does not support a first type of message; The terminal does not support selecting a master clock or does not support a first protocol, which is a protocol for selecting a master clock; The terminal does not support a second type of message; The terminal does not support time synchronization based on a second protocol; A master clock of the first service or first data flow is determined to be a master clock of the first network; The terminal does not support obtaining reference time information; The terminal does not support time synchronization based on reference time information; The terminal does not support time synchronization of a first time precision; The first service or first data flow does not need the first synchronization; The first QoS guarantee does not need the first synchronization; The first service or first data flow does not contain time-related parameters in its characteristics. The first data channel is used to transmit at least one of the following: data of the first service or first data flow, a first type of message related to the first service or first data flow, and a second type of message related to the first service or first data flow.

9. The method of claim 3, wherein, The selecting of the master clock for the terminal comprises: In a case where the first information is obtained and a second condition is met, the master clock is selected for the terminal, wherein the second condition comprises at least one of the following: The terminal is a terminal endpoint of the first service or first data flow; The terminal is collocated with a DS-TT; A context of a first data channel of the terminal indicates that the terminal is a terminal endpoint of the first service or first data flow; The terminal does not support a DS-TT; The first communication device is responsible for determining the port state or the port state is configured on the first communication device; the terminal does not support the first type of message; The terminal does not support selecting a master clock or the terminal does not support a first protocol, which is a protocol for selecting a master clock; The terminal supports obtaining reference time information; The terminal supports time synchronization based on reference time information; The terminal supports time synchronization of a first time precision; The first service or first data flow needs first synchronization; The first QoS guarantee needs first synchronization; The first service or first data flow contains a time-related parameter in its characteristics. The first data channel is used to transmit at least one of the following: data of the first service or first data flow, a first type of message related to the first service or first data flow, and a second type of message related to the first service or first data flow.

10. The method of claim 3, wherein, The execution of the first operation satisfies the following: In the case of obtaining the first information and satisfying the third condition, at least one of the following is performed: rejecting a request for requesting first synchronization; and rejecting first QoS guarantee for the first data flow; The third condition includes at least one of the following: The terminal is a terminal node of the first service or first data flow; The terminal is co-located with the DS-TT; The context of the first data channel of the terminal indicates that the terminal is a terminal node of the first service or first data flow; The terminal does not support the DS-TT; The first communication device is responsible for determining the port state or the port state is configured on the first communication device; The terminal does not support the first type of message; The terminal does not support selecting a master clock or the terminal does not support a first protocol, which is a protocol for selecting a master clock; The terminal does not support the second type of message; The terminal does not support time synchronization based on the second protocol; It is determined that the master clock of the terminal is a master clock outside the first network; It is determined that synchronization with the master clock outside the first network based on the second protocol is needed or that a second type of message is to be sent to the terminal for synchronization with the master clock outside the first network; The terminal does not support obtaining reference time information; The terminal does not support time synchronization based on reference time information; The terminal does not support time synchronization of a first time precision; The first service or first data flow needs first synchronization; The first QoS guarantee needs first synchronization; The first service or first data flow contains a time-related parameter in its characteristics.

11. The method of claim 2, 3, 4, 5, 6, 8, 9, or 10, wherein, The context of the first data channel of the terminal indicates that the terminal is a terminal node of the first service or first data flow includes: The context of the first data channel can indicate that the terminal is a terminal node of the first service or first data flow without including at least one of the following: Residence time between the terminal and the DS-TT, and MAC address of the DS-TT port.

12. The method of claim 1, wherein The first type of message contains service description information or data flow description information associated with the first type of message; and / or The second type of message contains service description information or data flow description information associated with the second type of message. And / or When the first type of message is sent, the service description information or data flow description information associated with the first type of message is also sent. When the second type of message is sent, the service description information or data flow description information associated with the second type of message is also sent.

13. The method of claim 3, wherein, The second protocol includes at least one of: a generalized precision time protocol (gPTP), a precision time protocol (PTP), and a network time protocol (NTP).

14. An information transmission method, performed by a second communication device, comprising: Comprise: Performing a second operation, wherein the second operation includes: Sending first information to the first communication device, the first information being used by the first communication device to perform a first operation when a first condition is met, wherein the first operation includes at least one of: Sending the first type of message and / or the second type of message only to the first interface, Not sending the first type of message and / or the second type of message to the terminal; Wherein the first condition includes that the terminal is a terminal endpoint of the first service or the first data flow; Wherein the first information includes first indication information; Wherein the first indication information indicates at least one of: The terminal is a terminal endpoint of the first service or the first data flow or the terminal is not a terminal endpoint of the first service or the first data flow; The terminal is co-located with a DS-TT; The terminal supports or does not support a DS-TT function; The terminal supports or does not support the first type of message; The terminal supports or does not support the second type of message; Wherein the first type of message is used to send information related to a clock; The second type of message is a message related to a time synchronization protocol.

15. The method of claim 14, wherein, The second operation further includes: Skipping or discarding the sending of second information; Wherein the second information includes at least one of: Residence time between the terminal and the DS-TT; MAC address of the DS-TT port.

16. The method of claim 15, wherein, The first information further includes at least one of: MAC address of the terminal or IP address of the terminal; residence time of the terminal; fourth indication information; And the first indication information indicates at least one of: The terminal supports or does not support a DS-TT function; The terminal supports or does not support a first protocol, which is a protocol for selecting a master clock; The terminal supports or does not support time synchronization based on a second protocol; The terminal supports or does not support obtaining reference time information; The terminal supports or does not support time synchronization based on reference time information; The terminal supports or does not support time synchronization with a first time precision; Wherein the fourth indication information indicates at least one of: The first service or the first data flow needs or does not need first synchronization; First QoS guarantee needs or does not need first synchronization; The first service or the first data flow contains or does not contain a time-related parameter in its characteristics; The first service or the first data flow requires or does not require the terminal to synchronize with a master clock of the first network.

17. The method of claim 14, wherein, The performing of the second operation includes: In a case that a fourth condition is met, performing the second operation, wherein the fourth condition comprises at least one of: the terminal is a termination point of the first service or the first data traffic; the terminal is co-located with a DS-TT or the terminal does not support a DS-TT; a context of the first data channel of the terminal indicates that the terminal is a termination point of the first service or the first data traffic; obtaining first request information, the first request information being used to request a second operation; the first service is a time sensitive communication service; the first data traffic is a time sensitive communication data traffic; wherein the first data channel is used to transmit at least one of: data of the first service or the first data traffic, a first type message related to the first service or the first data traffic, a second type message related to the first service or the first data traffic.

18. The method of claim 17, wherein, the context of the first data channel is able to indicate that the terminal is a termination point of the first service or the first data traffic without including at least one of: a time of residence between the terminal and a DS-TT, a media access control (MAC) address of a DS-TT port.

19. The method of claim 14, wherein, the sending of the first information comprises: sending the first information through related signaling of a data channel; or sending the first information through related signaling of the first data channel.

20. An information transmission method, performed by a third communication device, comprising: comprises: receiving at least one of a first type message and a second type message, wherein the first type message is used to send related information of a clock, and the second type message is a related message of a time synchronization protocol; performing a third operation according to the at least one of the first type message and the second type message, wherein the third operation comprises at least one of: discarding or ignoring the received first type message; discarding or ignoring the received second type message; selecting a master clock according to the first type message; performing time synchronization according to the second type message; skipping a type of the third operation, wherein the type of the third operation comprises at least one of: operating on the received second type message; sending the operated second type message to a downstream communication device; wherein the at least one of the first type message and the second type message is sent in a case that a first condition is met; the first condition comprises that the terminal is a termination point of the first service or the first data traffic.

21. The method of claim 20, wherein, the operating on the received second type message comprises at least one of: deleting an ingress timestamp of a first network added in a suffix field of the received second type message; converting a first residence time based on a master clock of the first network into a first residence time based on a second master clock; adding the first residence time based on the second master clock into a residence time of a correction field in the second type message; wherein: the first residence time is a time required for transmission of the second type message in the first network or a first bridge; and the second master clock is a corresponding master clock in the second type message.

22. The method of claim 20, wherein, the performing time synchronization according to the second type message comprises: creating an egress timestamp according to a time at which the second type message is received; calculating a first residence time according to a time difference between an egress timestamp or a time of receiving the second type message and a time of an ingress timestamp in the second type message; synchronizing time with a second master clock, the second master clock being a corresponding master clock in the second type message; wherein the first residence time is a time required for transmission of the second type message in the first network or the first bridge.

23. The method of claim 20, wherein, the discarding or ignoring of the received first type message comprises: the discarding or ignoring of the received first type message comprises: the terminal is a terminal end of the first service or the first data flow; the terminal is collocated with a DS-TT or the terminal does not support a DS-TT function; the terminal does not support the first protocol and / or does not support the first type message; the first type message is received from a first data channel or control plane signaling; the first type message is a first type message related to the first service or the first data flow.

24. The method of claim 20, wherein, the discarding or ignoring of the received second type message comprises: the discarding or ignoring of the received first type message comprises: the terminal is a terminal end of the first service or the first data flow; the terminal does not support the DS-TT function; the terminal does not support time synchronization based on the second protocol and / or does not support the second type message; the second type message is received from a first data channel or control plane signaling; the second type message is a second type message related to the first service or the first data flow; the terminal does not support obtaining reference time information; the terminal does not support time synchronization based on reference time information; the terminal does not support time synchronization of the first time precision; the first service or the first data flow does not require the first synchronization; the first QoS guarantee does not require the first synchronization; a time-related parameter is not included in a feature of the first service or the first data flow; wherein the first QoS guarantee comprises at least one of the following: a time-sensitive communication guarantee, a time delay guarantee, and a guarantee of the first data flow or the second data channel according to time-sensitive communication auxiliary information; the second data channel is a data channel for transmitting data of the first service or the first data flow.

25. The method of claim 20, wherein, the selecting of the master clock according to the first type message comprises: the selecting of the master clock according to the first type message comprises: the terminal is a terminal end of the first service or the first data flow; the terminal is collocated with a DS-TT or the terminal supports a DS-TT function; the terminal supports the first protocol and / or supports the first type message; the first type message is received from a first data channel or control plane signaling; the first type message is a first type message related to the first service or the first data flow; the terminal supports obtaining reference time information; the terminal supports time synchronization based on reference time information; the terminal supports time synchronization of the first time precision; The first service or first data flow needs the first synchronization; The first QoS guarantee needs the first synchronization; The first service or first data flow contains a time-related parameter in its characteristics.

26. The method of claim 20, wherein, The third operation comprises at least one of time synchronization and skipping a type of operation in the third operation according to the second type message in a case where an eighth condition is met, and the eighth condition comprises at least one of the following: The terminal is a terminal end of the first service or first data flow; The terminal is collocated with a DS-TT or supports a DS-TT function; The terminal supports synchronization based on a second protocol; The terminal end receives the second type message from a first data channel or control plane signaling; The second type message is a second type message related to the first service or first data flow.

27. A communication device, the communication device being a first communication device, characterized in that Comprise: An execution module configured to execute a first operation in a case where a first condition is met, and the first operation comprises at least one of the following: Only sending a first type message and / or a second type message to a first interface, Not sending the first type message and / or the second type message to a terminal, Wherein the first condition comprises that the terminal is a terminal end of the first service or first data flow; The first type message is used to send related information of a clock; The second type message is a related message of a time synchronization protocol; The first interface comprises an interface connected to a data network and a port on a network side time sensitive network adapter (NW-TT); The not sending the first type message to the terminal comprises: Skipping a step of sending the first type message to the terminal or discarding the first type message that is ready to be sent to the terminal.

28. A communication device, the communication device being a second communication device, characterized in that Comprise: An execution module configured to execute a second operation, and the second operation comprises: Sending first information to a first communication device, and the first information is used for the first communication device to execute a first operation in a case where a first condition is met, and the first operation comprises at least one of the following: Only sending a first type message and / or a second type message to a first interface, Not sending the first type message and / or the second type message to a terminal, Wherein the first condition comprises that the terminal is a terminal end of the first service or first data flow; Wherein the first information comprises first indication information; Wherein the first indication information is used to indicate at least one of the following: The terminal is a terminal end of the first service or first data flow or the terminal is not a terminal end of the first service or first data flow; The terminal is collocated with a DS-TT; The terminal supports or does not support a DS-TT function; The terminal supports or does not support the first type message; The terminal supports or does not support the second type message; Wherein the first type message is used to send related information of a clock; The second type message is a related message of a time synchronization protocol.

29. A communication device, the communication device being a third communication device, characterized in that Comprise: A receiving module configured to receive at least one of a first type message and a second type message, wherein the first type message is used to send related information of a clock, and the second type message is a related message of a time synchronization protocol; performing a third operation according to at least one of the first type of message and the second type of message, wherein the third operation comprises at least one of: discarding or ignoring the received first type of message; discarding or ignoring the received second type of message; selecting a master clock according to the first type of message; performing time synchronization according to the second type of message; skipping a type of third operation, wherein the type of third operation comprises at least one of: operating on the received second type of message; sending the operated second type of message to a downstream communication device; wherein the at least one of the first type of message and the second type of message is sent under a first condition; the first condition comprises that the terminal is a terminal end point of a first service or a first data flow.

30. A communications device, characterized by A computer program product comprising a processor, a memory, and a computer program stored on the memory and loadable into the memory, the computer program, when executed by the processor, implements the steps of the information transmission method according to any one of claims 1 to 13, or the steps of the information transmission method according to any one of claims 14 to 19, or the steps of the information transmission method according to any one of claims 20 to 26.

31. A computer readable storage medium, characterized in that, A computer readable storage medium having stored thereon a computer program, the computer program, when executed by a processor, implements the steps of the information transmission method according to any one of claims 1 to 13, or the steps of the information transmission method according to any one of claims 14 to 19, or the steps of the information transmission method according to any one of claims 20 to 26.

Citation Information

Patent Citations

  • Method for realizing data transmission of time-sensitive network, related equipment and medium

    CN110611924A

  • Time synchronization method, UE, base station, equipment and computer readable storage medium

    CN111565083A