WO2021233313A1 - 配置端口状态的方法、装置、系统及存储介质 - Google Patents
配置端口状态的方法、装置、系统及存储介质 Download PDFInfo
- Publication number
- WO2021233313A1 WO2021233313A1 PCT/CN2021/094458 CN2021094458W WO2021233313A1 WO 2021233313 A1 WO2021233313 A1 WO 2021233313A1 CN 2021094458 W CN2021094458 W CN 2021094458W WO 2021233313 A1 WO2021233313 A1 WO 2021233313A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- port
- data set
- ports
- message
- converter
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 117
- 238000004891 communication Methods 0.000 claims abstract description 105
- 238000004590 computer program Methods 0.000 claims description 13
- 239000008186 active pharmaceutical agent Substances 0.000 claims 2
- 230000008569 process Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 7
- 230000008520 organization Effects 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 108700009949 PTP protocol Proteins 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 235000008694 Humulus lupulus Nutrition 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/12—Arrangements providing for calling or supervisory signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0641—Change of the master or reference, e.g. take-over or failure of the master
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
Definitions
- This application relates to the field of communications, and in particular to a method, device, system, and storage medium for configuring port status.
- 5G networks can carry time-sensitive network (TSN) services.
- TSN time-sensitive network
- the 5G network is connected to multiple TSN devices, and the 5G network is required to support the transmission of 1588 packets of TSN devices.
- the first TSN device is connected to the first converter of the 5G network
- the second TSN device is connected to the second converter of the 5G network.
- the 5G network needs to pass the time carried in the 1588 packet sent by the first TSN device to the first converter.
- Two TSN equipment Two TSN equipment.
- the first TSN device is connected to a port in the first converter
- the second TSN device is connected to a port in the second converter.
- the technician needs to manually set the port status of the first converter connected to the first TSN device to the slave state, and manually Groundly set the state of the port connected to the second TSN device in the second converter to the master state.
- the first converter can receive the 1588 packet from the first TSN device through the port in the Slave state, and the second converter sends the 1588 packet to the second TSN device through the port in the Master state.
- the current technicians manually set the port status of the converter in the 5G network not only the efficiency of the setting is low, but the port status may also be inaccurate. And if a port status needs to change, the method of manually setting the port status cannot automatically modify the port status.
- the present application provides a method, device, system, and storage medium for configuring port status, so as to realize automatic configuration of port status and improve configuration accuracy.
- the technical solution is as follows:
- an embodiment of the present application provides a method for configuring port status.
- a configuration device obtains port data sets of M ports in N converters, where N is an integer greater than 1, and M is An integer greater than 1, N converters are integrated in at least two independent devices, M ports are M precision time protocol ports, and the port data set is a precision time protocol port data set.
- the configuration device configures the port states of the M ports according to the port data sets of the M ports, and the port states are the precise time protocol port states.
- N converters are integrated in at least two independent devices
- the configuration device obtains the port data sets of the M ports of the N converter, and configures the port states of the M ports according to the port data sets of the M ports, thereby Realize automatic configuration of port status and improve configuration accuracy. Since the port status can be automatically configured, the port status can be modified in time when the port status of the converter changes.
- the configuration device configures the port states of M ports according to the port data sets and preset data sets of M ports.
- the preset data set is the preset precise time protocol data set, and the implementation is based on the M
- Each port data set configures the port status of M ports.
- the configuration device selects the optimal data set in the port data set of M ports; when the optimal data set is better than the preset data set, the configuration device generates the target data according to the optimal data set Set, the value of the hop count parameter in the target data set is 1 greater than the value of the hop count parameter in the optimal data set, the preset data set is the preset precise time protocol data set, and the target data set is the precise time protocol data set.
- the device is configured to use the preset data set as the target data set. In this way, the configuration device can find the optimal data set from the M port data sets and the preset data set, obtain the target data set based on the optimal data set, and improve the accuracy of the target data set.
- the configuration device determines the port status of each of the M ports.
- the configuration device sends the port status of each port to the converter containing each port.
- the method of sending the port status includes sending by sending a message, so as to ensure that each converter obtains the port status of its own port. And set the port status of the respective ports.
- the configuration device sends the target data set to N converters, where the method of sending the target data set includes sending by sending a message, so that the converter can obtain the target data set.
- the clock parameter in the Announce message sent by the converter can be the clock parameter in the target data set issued by the configuration device to provide the corresponding scenario.
- the target data set and the method of sending the port status are both sent by sending a message
- the target data set and the port status are carried in the same message, or, Are carried in different messages.
- the preset data set is a data set of a virtual device of a communication network
- the communication network is a network including N converters.
- the method for configuring the device to obtain the port data set includes obtaining through the port data set message.
- the configuration device determines the port identifier of each of the M ports, and sends the port identifier of each port to the converter containing each port, where the port identifier is sent
- the method includes sending by sending a message, and the port identifier of each port is a precise time protocol port identifier, so that each converter obtains the port identifier of its own port, so that the port identifier can be used to request the configuration of the device to configure the port state.
- the configuration device determines the port identifier of each port according to the port number of each port and the virtual device identifier of the communication network.
- the communication network is a network containing N converters, and the The port number is a precise time protocol port number, so that the port identification of each port can be configured.
- the configuration device sends the system-level parameters of the virtual device of the communication network to N converters.
- the communication network is a network containing N converters, and the system-level parameter is a precise time protocol system-level parameter. Parameters, so that when the converter sends a Sync packet, the system-level parameters in the Sync packet sent by the converter can be the system-level parameters issued by the configuration device, so that the corresponding scenario can be met.
- the converter is a network-side delay-sensitive network switch NW-TT or a terminal-side delay-sensitive network switch DS-TT.
- NW-TT is an independent device, or NW-TT is integrated in a user plane function UPF device;
- DS-TT is an independent device, or DS-TT is integrated in a user-side device UE.
- the configuration device is deployed in a communication network used to connect TSN devices in a delay-sensitive network.
- the configuration device is an independent device, or integrated in one of the N converters, or located in the same device as one or more of the N converters .
- the port state includes a slave state, a master state or a passive state.
- this application provides a method for configuring port states.
- a first converter among N converters obtains port data sets of W ports in the first converter, and W is greater than or equal to An integer of 1, N is an integer greater than 1, and the port data set is a precise time protocol port data set.
- the first converter sends the port data set of W ports to the configuration device, and the port data set is used to configure the device according to the port data set of the W ports and the port data set of the ports on the other converters among the N converters,
- the N converters are integrated in at least two independent devices, and the port status of the W ports is the precise time protocol port status.
- N converters are integrated in at least two independent devices, for the first converter of the N converters, the port data set of the W ports in the first converter is acquired and sent to the configuration device.
- the other N-1 converters in the converter also send the port data set to the configuration device.
- the configuration device can obtain the port data set of the port of the N converter, and configure the port status of the W ports according to the received port data set, thereby realizing automatic configuration of the port status and improving the configuration accuracy. Since the port status can be automatically configured, the port status can be modified in time when the port status of the converter changes.
- the W ports include the first port, and the port data set of the first port includes the port identification of the first port, or the port identification and the clock parameter, and the clock parameter is a precision time protocol clock parameter; the clock parameter For the clock parameter sent by the first device and received by the first port, the first device is connected to the first converter.
- the method of sending the port data set includes sending by sending a message.
- the first converter receives the port status of the W ports sent by the configuration device, where receiving the port status includes receiving by receiving a message.
- the first converter sets the port states of the W ports according to the received port states of the W ports, so that the port states of the W ports can be automatically set, which improves the setting efficiency and accuracy.
- the first converter receives the target data set sent by the configuration device, the target data set is a data set determined by the configuration device according to the port data set received by the configuration device and the preset data set, and the preset data Both the set and the target data set are precise time protocol data sets; among them, the method of receiving the target data set includes receiving by receiving a message. In this way, the first converter can obtain the target data set.
- the clock parameter in the Announce message sent by the first converter can be the clock parameter in the target data set issued by the configuration device to provide the corresponding scenario s solution.
- the first converter receives the port identifiers of the W ports sent by the management device of the communication network, and the port identifiers of the W ports are determined by the management device according to the virtual device identifier of the communication network and the W ports.
- the port number is generated, where the communication network is a network including N converters, and the port numbers of the W ports are the precise time protocol port numbers; among them, the way of receiving the port identification includes receiving by receiving the message.
- the first converter receives the clock identifier of the virtual device of the communication network sent by the management device, and generates port identifiers of W ports according to the clock identifier of the virtual device and the port numbers of the W ports.
- the clock identifier of the virtual device is generated by the management device according to the virtual device identifier of the communication network.
- the management device of the communication network is the configuration device.
- the first converter receives the system-level parameters of the virtual device of the communication network sent by the configuration device, and the system-level parameters are precision time protocol system-level parameters; when the first converter sends the message , Fill in the system-level parameters in the message, which is a precise time protocol message; among them, the communication network is a network that includes N converters.
- the system-level parameters in the Sync message sent by the first converter may be the system-level parameters issued by the configuration device, which can satisfy the solution of the corresponding scenario.
- the target data set is filled into the first Announce message; the first converter The first Announce message is sent through the port in the master state.
- the first converter receives the second Announce message sent by the second converter, and the second Announce message includes the hop count parameter; the first converter generates the third Announce message according to the second Announce message.
- Announce message where the source port identifier in the third Announce message is the port identifier of the third Announce message sent by the first converter.
- the first converter writes the port ID of the port that sends the third Announce message into the source port ID field of the Announce message to be sent, so that the TSN device connected to the first converter can know the third Announce sent by the repeater.
- the port identification of the message so as to facilitate fault location.
- the second Announce message includes the hop count parameter
- the first converter adds 1 to the value of the hop count parameter
- the third Announce message includes the hop count parameter whose value is increased by 1.
- the port state includes a slave state, a master state or a passive state.
- an embodiment of the present application provides a device for configuring a port state, which is used to execute the first aspect or the method in any one of the possible implementation manners of the first aspect.
- the device includes a unit for executing the method in the first aspect or any one of the possible implementation manners of the first aspect.
- an embodiment of the present application provides a device for configuring a port state, which is used to execute the second aspect or the method in any one of the possible implementation manners of the second aspect.
- the device includes a unit for executing the second aspect or the method in any one of the possible implementation manners of the second aspect.
- an embodiment of the present application provides a device for configuring a port state, and the device includes a transceiver, a processor, and a memory.
- the transceiver, the processor, and the memory may be connected through an internal connection.
- the memory is used to store programs, instructions or codes
- the processor is used to execute the programs, instructions or codes in the memory and cooperate with the transceiver, so that the device can complete the first aspect or any possible implementation of the first aspect The method in the way.
- an embodiment of the present application provides a device for configuring a port state, and the device includes a transceiver, a processor, and a memory.
- the transceiver, the processor, and the memory may be connected through an internal connection.
- the memory is used to store programs, instructions or codes
- the processor is used to execute the programs, instructions or codes in the memory and cooperate with the transceiver, so that the device can complete the second aspect or any possible implementation of the second aspect The method in the way.
- an embodiment of the present application provides a computer program product, the computer program product includes a computer program stored in a computer-readable storage medium, and the calculation program is loaded by a processor to implement the above-mentioned first aspect ,
- the second aspect any possible implementation manner of the first aspect, or any possible implementation manner of the second aspect.
- the embodiments of the present application provide a computer-readable storage medium for storing a computer program, which is loaded by a processor to execute any possible aspect of the first aspect, the second aspect, and the first aspect.
- the embodiments of the present application provide a system for configuring port status, which includes the device described in the third aspect and the device described in the fourth aspect, or includes the device described in the fifth aspect and the sixth aspect The device described.
- FIG. 1 is a schematic diagram of a network architecture provided by an embodiment of the present application.
- FIG. 2 is a schematic diagram of another network architecture provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of another network architecture provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of another network architecture provided by an embodiment of the present application.
- FIG. 5 is a flowchart of a method for configuring port status according to an embodiment of the present application
- FIG. 6 is a flowchart of a Pdelay message transmission provided by an embodiment of the present application.
- FIG. 7 is a flowchart of sending PTP time according to an embodiment of the present application.
- FIG. 8 is another flow chart of sending PTP time according to an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of a device for configuring port status according to an embodiment of the present application.
- FIG. 10 is a schematic structural diagram of another device for configuring port states according to an embodiment of the present application.
- FIG. 11 is a schematic structural diagram of another device for configuring port states according to an embodiment of the present application.
- FIG. 12 is a schematic structural diagram of another device for configuring port states according to an embodiment of the present application.
- FIG. 13 is a schematic structural diagram of a system for configuring port status according to an embodiment of the present application.
- the terminology in the embodiment of the present invention includes the port of the converter, the port data set of the converter, the port state of the converter, the preset data set, the optimal data set, the target data set, the port identification of the converter, the port status of the converter
- the port number, system-level parameters, and clock parameters are all applicable to the precision time protocol (PTP) (in the IEEE 1588 protocol, and the corresponding 1588 profile, such as IEEE 802.1AS).
- an embodiment of the present application provides a network architecture.
- the network architecture includes a communication network and at least two TSNs, and each TSN is connected to the communication network.
- the communication network includes N converters, where N is an integer greater than 1, and each TSN device is connected to a converter included in the communication network. For any two converters included in the communication network, a network connection can be established between the two converters, so that the TSN devices connected to the two converters can communicate through the communication network.
- the communication network is a power network, a 4G network, a 5G network, or the like.
- TSN is an Ethernet network, and TSN includes at least one TSN device.
- the converter For each converter in the communication network, the converter includes at least one port, and the at least one port is a PTP port.
- the connection of the TSN to the communication network means that the TSN device in the TSN is connected to a port of the converter.
- the converter can be an independent device or a dedicated device, or the converter is a module and integrated in one device, the above converter includes at least one port, which means that the device where the converter is located includes at least one port.
- the network architecture shown in FIG. 1 includes a first TSN and a second TSN, and the communication network includes a first converter and a second converter.
- the first TSN includes the first TSN device
- the second TSN includes the second TSN device.
- the first TSN device is connected to the port of the first converter
- the second TSN device is connected to the port of the second converter
- a network connection is established between the first converter and the second converter, so that the first TSN device and The second TSN device can communicate through the first converter and the second converter.
- the TSN includes at least one TSN device.
- the first TSN device in the first TSN includes a first end station (end station), and the first end station is connected to the port of the first converter.
- the second TSN device in the second TSN includes a TSN switch (TSN bridge), a TSN GM, and a second terminal.
- the TSN switch is connected to the port of the second converter, the TSN GM is connected to the TSN switch, and the second terminal is connected to the port of the second switch.
- the TSN switch is connected to the TSN GM.
- the communication network also includes equipment such as user equipment (UE), user plane function (UPF), general base station (general NodeB, gNB), and grandmaster (5G GM).
- equipment such as user equipment (UE), user plane function (UPF), general base station (general NodeB, gNB), and grandmaster (5G GM).
- UE user equipment
- UPF user plane function
- general base station general NodeB
- gNB general base station
- 5G GM grandmaster
- one or more converters may be integrated in the UE, or, referring to Figs. 3 and 4, the UE may be connected to one or more converters.
- one or more converters can be integrated in the UPF, or, referring to Figure 4, the UPF can be connected to one or more converters.
- a network connection is established between the UPF and the UE. In this way, the network connection between the two converters in the communication network can be connected through the network connection between the UE and the UPF.
- the converter is a network-side time-sensitive network translator (NW-TT) or a terminal-side delay-sensitive network converter (device -side time sensitive network translator, DS-TT).
- NW-TT network-side time-sensitive network translator
- DS-TT terminal-side delay-sensitive network converter
- the first converter is DS-TT
- the second converter is NW-TT
- the TSN switch in the second TSN is connected to the port of NW-TT
- the first converter in the first TSN is The terminal station is connected to the DS-TT port.
- NW-TT can be a stand-alone device, or NW-TT is integrated in a UPF device; DS-TT is a stand-alone device, or, DS-TT is integrated in a UE.
- the communication network further includes a configuration device, which is an independent device or integrated on one of the N converters (not shown in the figure), or , And one or more of the N converters are located in the same device (not shown in the figure).
- the configuration device may be a 5g-general precise time protocol (5g-gPTP) device of the fifth generation mobile communication technology.
- the configuration device can be integrated in the NW-TT, or integrated in the DS-TT.
- the configuration device and one or more converters are located in the same device, the configuration device and one or more NW-TTs are integrated in the UPF, or the configuration device and one or more DS-TTs are integrated in the UE .
- FIGS. 2 to 4 only show one DS-TT and one NW-TT
- the communication network may include multiple DS-TTs and multiple NW-TTs. There can also be multiple TSN switches and terminal stations.
- the configuration device Before each first TSN device in the first TSN and each second TSN device in the second TSN communicate through the first converter and the second converter, the configuration device needs to configure the port of the port included in the first converter Status, and the port status of the port included in the second converter.
- the embodiment of the present application provides a method for automatically configuring the port status of the first converter and the second converter, wherein the detailed implementation process of configuring the port status of the device configuration port will be described in detail in the subsequent embodiment shown in FIG. 5 Note, I won't introduce it here.
- the communication network further includes a management device that configures the port identifiers of the ports included in each converter in the communication network; or, the configuration device configures the ports included in each converter in the communication network.
- the port ID of the port is configured to configure the port identifiers of the ports included in each converter in the communication network.
- the management device or the configuration device may be integrated in a session management function (SMF) or UPF.
- SMF session management function
- the management device or the configuration device can also be integrated in other devices of the communication network.
- SMF is a management device of the communication network.
- the management device and the configuration device can be one device or two independent devices.
- an embodiment of the present application provides a method for configuring port status. This method can be applied to the network architecture described in any one of the embodiments of Figs.
- a TSN is connected to the communication network, including:
- Step 501 The first converter obtains port identifiers of W ports included in itself, where W is an integer greater than 0, the first converter is any one of the N converters in the communication network, and N is an integer greater than 1,
- the N converters are integrated in at least two independent devices.
- the W ports are PTP ports, and the port identifiers of the W ports are PTP port identifiers.
- W can be the number of all PTP ports in the first converter, or a part of the number of PTP ports in the first converter. For example, there are 10 PTP ports in the first converter, and W may be less than or equal to 10.
- the first converter can obtain the port identifiers of the W ports included in the first converter through the following two methods, and the port identifiers of the W ports are PTP port identifiers, and the two methods are:
- Manner 1 The first converter receives the port identifiers of the W ports sent by the configuration device or the management device, and the port identifiers of the W ports are generated by the configuration device or the management device.
- the configuration device or the management device generates the port identifiers of the W ports according to the virtual device identifier of the communication network and the port numbers of the W ports, and sends the W ports to the first converter.
- the first converter receives the port identifiers of the W ports.
- the port numbers of the W ports are PTP port numbers.
- the value of the PTP port number may be the same as or different from the value of other protocol port numbers.
- the communication network can be virtualized as a virtual device.
- the virtual device may be called 5G System Bridge (referred to as 5GS Bridge for short).
- the virtual device identifier of the communication network is the identifier of the virtual device.
- the virtual device identifier may be a media access control (MAC) address or an organizational unique identifier (OUI) code, etc.
- the management device or the configuration device includes the port numbers of the W ports in the first converter.
- the port numbers of the W ports are configured by the management device or the configuration device to the first converter in advance, or the management device or the configuration device is obtained from the first converter.
- the configuration device or the management device generates the clock identifier of the virtual device of the communication network according to the virtual device identifier of the communication network, and generates the W according to the clock identifier and the port numbers of the W ports. Port ID of each port.
- the configuration device or the management device constitutes the port identifier of the port by the clock identifier of the virtual device and the port number of the port, and the length of the port identifier of the port is equal to that of the virtual device The sum of the length of the clock identifier and the length of the port number of the port.
- the configuration device or management device For the remaining W-1 ports, the configuration device or management device generates the port identifiers of the remaining W-1 ports in the same manner as described above.
- the management device or the configuration device composes the clock ID of the virtual device and the port number of the port into a port ID with a length of 10 bytes.
- the manner in which the management device sends the port identification to the first converter includes sending by sending a port identification message.
- the management device when the management device generates the port identifications of the W ports of the first converter, it sends a port identification message to the first converter, and the port identification message carries the port identification and port identification of each port of the first converter. No. In this way, the first converter receives the port identification message, and sets the port identifications of the W ports according to the port identifications and port numbers of the W ports carried in the port identification message.
- the configuration device and the first converter may be located in the same device or in a different device.
- the configuration device when the configuration device and the first converter are located in the same device, the configuration device may be integrated with the first converter, or the configuration device and the first converter may be integrated in the UE or UPF, and the configuration device and The first converters are connected through internal connections; in this case, when the configuration device generates the port identifications of the W ports of the first converter, it sends the port identifications of the W ports to the first converter through the internal connection And port number.
- the first converter receives the port identifiers and port numbers of the W ports through the internal connection, and sets the port identifiers of the W ports according to the port identifiers and port numbers of the W ports.
- the manner in which the configuration device sends the port identification to the first converter includes sending a port identification message; that is, the configuration device is generating the first When the port identification of the W ports of the converter, a port identification message is sent to the first converter, and the port identification message carries the port identification and the port number.
- the first converter receives the port identification message, and sets the port identifications of the W ports according to the port identifications and port numbers of the W ports carried in the port identification message.
- the port identification message includes a message header and a payload part.
- the message header includes a MAC header and an Internet Protocol (IP) header, or only MAC header, the IP header or the destination address included in the MAC header is the address of the first converter.
- IP Internet Protocol
- the payload part includes the corresponding relationship between the port number of each of the W ports and the corresponding port identifier.
- Table 1 below.
- two adjacent fields are used to carry the record, that is, for the two adjacent fields, one of the fields is used to carry the port number of the one port, and the other is used.
- the field carries the port identifier of the one port.
- the port identification message may include the port numbers of multiple ports and the corresponding multiple port identifications, it is avoided that the management device or the configuration device needs to separately send the port identification message to each port of the first converter.
- each of the N-1 converters obtains the port identifiers of the respective ports contained in the above-mentioned way one.
- the first converter receives the clock identifier of the virtual device of the communication network sent by the configuration device or the management device, and generates the port identifiers of the W ports according to the clock identifier and the port numbers of the W ports.
- the configuration device or the management device generates the clock ID of the virtual device of the communication network according to the virtual device ID of the communication network, and sends the clock ID of the virtual device to the first converter.
- the first converter receives the clock identifier of the virtual device, and generates the port identifiers of the W ports according to the clock identifier of the virtual device and the port numbers of the W ports.
- the first converter forms the port identifier of the port by the clock identifier of the virtual device and the port number of the port, and the length of the port identifier of the port is equal to that of the virtual device. The sum of the length of the clock identifier and the length of the port number of the port. For the remaining W-1 ports, the first converter generates the port identifiers of the remaining W-1 ports in the same manner as described above.
- the manner in which the management device sends the clock identification to the first converter includes sending by sending a clock identification message. That is, when the management device generates the clock identification, it sends a clock identification message to the first converter, and the clock identification message carries the clock identification of the virtual device.
- the configuration device and the first converter may be located in the same device or in a different device.
- the configuration device and the first converter are connected through an internal connection; in this case, when the configuration device generates the clock identifier of the virtual device, the A converter sends the clock identification.
- the method for the configuration device to send the clock identification to the first converter includes sending by sending a clock identification message; that is, when the configuration device generates the clock identification of the virtual device , Sending a clock identification message to the first converter, where the clock identification message carries the clock identification of the virtual device.
- the clock identification message includes a message header and a payload part.
- the message header includes a MAC header and an IP header, or only a MAC header.
- the IP header or The destination address included in the MAC header is the address of the first converter, and the payload part includes the clock identifier of the virtual device.
- the clock identification message does not need to carry the port identification and port number of each port, thereby reducing the amount of sending messages. Length reduces the occupation of network resources.
- the configuration device or the management device For the remaining N-1 converters in the communication network, the configuration device or the management device also sends the clock identifier of the virtual device to each of the N-1 converters. In this way, each of the N-1 converters obtains the port identifier of the port included in the converter in the second manner.
- the port status of the M ports can be configured through the following process.
- the port status of each port is the PTP port status.
- Step 502 The first converter obtains its own port data set of W ports, the W ports include the first port, and the port data set of the first port includes the port identifier of the first port, or the port identifier of the first port And clock parameters.
- the clock parameter is a PTP clock parameter.
- the port data sets of the W ports are PTP port data sets.
- the first port of the first converter is connected to the first device. If the first port of the first converter receives the Announce message sent by the first device, the Announce message carries the clock parameter, The port data set of the first port acquired by the converter includes the port identifier of the first port and the clock parameter carried in the Announce message. If the first port of the first converter does not receive the Announce sent by the first device, the port data set of the first port acquired by the first converter includes the port identifier of the first port, and in this case, the port of the first port The clock parameter in the data set can be an empty set.
- the first device is a TSN device connected to the first port.
- the first device connected to the first port of NW-TT may be a TSN switch, and the first port of NW-TT may receive the Announce carrying clock parameters sent by the TSN switch. It is also possible that the Announce message carrying the clock parameter sent by the TSN switch has not been received, and the NW-TT obtains the port data set of the first port according to the reception of the Announce message by the first port.
- the first device connected to the first port of DS-TT may be the end station, and the first port of DS-TT may receive the end station
- the sent Announce message carrying the clock parameter may not receive the Announce message carrying the clock parameter sent by the end station, and the DS-TT obtains the port data set of the first port according to the receiving of the Announce by the first port.
- the clock parameters include the domain number (dominNumber), the version number of the PTP protocol (MinorVersionPTP, version PTP), the standard organization main identifier (majorSdoId), the standard organization minor identifier (minorSdoId), grandparent clock priority 1 (grandmasterPriority1), Grandfather clock identification (grandmasterIdentity), grandfather clock level (grandmasterClockQuality), grandmaster clock priority 2 (grandmasterPriority2), hop count (stepsRemoved), source port identification (sourcePortIdentity), flags, current leap second value (currentUtcOffset), time One or more of the source (timeSource) and the trace path identifier (Path trace TLV).
- the manner in which the first converter obtains the port data set of the first port is the same.
- each of the N-1 converters performs the operation of this step as the first converter to obtain the port data set of the respective port.
- Step 503 The first converter sends the port data set of the W ports of the first converter to the configuration device.
- the configuration device and the first converter are located in the same device, the configuration device and the first converter are connected through an internal connection; in this case, the first converter sends the first converter to the configuration device through the internal connection.
- a port data set of W ports of a converter is optionally located in the same device.
- the manner in which the first converter sends the port data set to the configuration device includes sending by sending a message.
- the first converter sends a port data set message of the first port to the configuration device, and the port data set message carries the port data of the first port set.
- the first converter sends the port data set message of each port to the configuration device, like the first port.
- the first converter may also send the port data sets of multiple ports among the included W ports through the same message.
- the structure of the port data set message sent by the first converter is shown in Table 3 below, and the port data set message includes The message header and the payload part, the message header includes the MAC header and the IP header, or only the MAC header, the payload part includes the port identification and clock parameters of the first port, and the payload part also includes the flag bit (Flag), The flag bit is used to identify that the port data set of the first port includes the received clock parameter.
- the flag bit is used to identify that the port data set of the first port includes the received clock parameter.
- the structure of the port data set message sent by the first converter is shown in Table 4 below
- the port data set message includes a message header and a payload part.
- the message header includes a MAC header and an IP header, or only a MAC header.
- the payload part includes the port identifier of the first port and the flag bit Flag.
- the port data set used to identify the first port does not include the clock parameter (that is, the clock parameter is an empty set).
- the payload part is used to carry the field of the clock parameter to carry an empty set.
- the so-called empty set carried in this field means that the value of each bit in this field is a value of 0 or 1, etc.
- the first converter may not send the port data set of the first port to the configuration device, thereby reducing the number of messages exchanged between the first converter and the configuration device .
- each of the N-1 converters performs the operation of this step the same as the first converter to send to the configuration device the information of the respective ports included.
- Port data set The number of port data sets sent by the N converters is M, that is, the N converters send port data sets of M ports in total, and M is an integer greater than 1.
- Step 504 The configuration device receives port data sets of M ports in the N converters.
- first converter when the configuration device and the first converter are located in the same device, the configuration device and the first converter are connected through an internal connection, and the configuration device receives the first converter through the internal connection.
- the port data set of the W ports of the converter When the configuration device and the first converter are located in different devices, the configuration device receives the port data set message of the W ports sent by the first converter, and obtains the port data set message of each port from the port data set message of each port. data set.
- the port data sets of multiple ports can be combined into one port data set message and sent.
- the configuration device receives the port data set sent by each of the N-1 converters in a manner of receiving the port data set of the first converter.
- Step 505 The configuration device determines the port state of the M ports according to the port data set of the M ports, and the port state of the M ports is the PTP port state.
- the configuration device determines the port status of the M ports according to the port data set and the preset data set of the M ports.
- the preset data set is a preset PTP data set, and the preset data set includes clock parameters but does not include port identifiers.
- the preset data set is a data set of a virtual device of the communication network.
- the preset data set is stored locally in the configuration device, and when the port status is determined, the configuration device obtains the preset data set locally.
- the preset data set is stored in a device other than the configuration device.
- the other device may be a server or the like.
- the configuration device obtains the preset data set from the other device.
- the following example of determining the port status is listed in this step, and the example may be:
- the configuration device selects the optimal data set in the port data set of the M ports, and compares the optimal data set with the preset data set; when it is determined that the optimal data set is better than the preset data set, the configuration device determines the optimal data set
- the port state of the port corresponding to the optimal data set is the slave state (Slave), and the state of each of the other M-1 ports is determined as the master state (Master) or the passive state (Passive).
- the configuration device determines that the state of each of the M ports is a master state (Master) or a passive state (Passive).
- the configuration device selects the optimal data set from the port data sets of the M ports through the BMC algorithm, and compares the optimal data set with the preset data set.
- the configuration device can also perform the following operations when determining the port status of the M ports:
- the configuration device When the optimal data set is better than the preset data set, the configuration device generates the target data set according to the optimal data set.
- the value of the hop count parameter in the target data set is greater than the value of the hop count parameter of the optimal data set by 1, and the target data
- the set is a precise time protocol data set; when the preset data set is better than the optimal data set, the preset data set is used as the target data set.
- the operation of configuring the device to generate the target data set according to the optimal data set can be:
- the configuration device adds 1 to the value of the hop count parameter of the optimal data set and removes the port identifier in the optimal data set, and then uses the optimal data set as the target data set. Or, the configuration device uses the optimal data set as the target data set, adds 1 to the value of the hop count parameter in the target data set, and removes the port identifier in the target data set.
- Step 506 For the M ports, the configuration device sends the port status of each port to the converter including each port, where the configuration device sends the port status by sending a message.
- the first converter includes W ports, and the implementation process of configuring the device to send the port states of the W ports to the first converter may be:
- the configuration device and the first converter are located in the same device, the configuration device and the first converter are connected through an internal connection, and the configuration device sends the information of each of the W ports to the first converter through the internal connection. Port status and port identification, or port status and port number of each port.
- the configuration device sends a configuration message to the first converter.
- the configuration message carries the port status of each of the W ports and the corresponding port identifier. The corresponding relationship, or the corresponding relationship between the port status of each port and the corresponding port number.
- two adjacent fields are used in the configuration message to carry the record, that is, for the two adjacent fields, one of the fields is used to carry the port identifier of the one port, and the other field is used to carry the one port.
- Port status or,
- two adjacent fields are used in the configuration message to carry the record, that is, for the two adjacent fields, one of the fields is used to carry the port number of the one port, and the other field is used to carry the one port. Port status.
- the configuration device also sends the target data set to the N converters, where the method of sending the target data set includes sending by sending a message.
- the target data set and the determined port status are carried in the same message, or in different messages.
- the process of sending the target data set is still described by taking the above-mentioned first converter as an example.
- first converter For other N-1 converters, reference may be made to the description of the first converter.
- the implementation process of configuring the device to send the target data set to the first converter can be:
- the configuration device When the configuration device and the first converter are located in the same device, the configuration device sends the target data set to the first converter through an internal connection.
- the configuration device sends a data set configuration message to the first converter, and the data set configuration message carries the target data set; or, the configuration device sends a configuration to the first converter Message, the configuration message not only carries the port status and port identifier of each of the W ports, but also carries the target data set; or, the configuration message not only carries the port status and port identifier of each of the W ports
- the port status and port number also carry the target data set.
- Step 507 For the first converter included in the N converters, the first converter receives the port status of its own W ports, and sets the W ports according to the port status of the W ports.
- the first converter receives the port status and port identifier of each of the W ports through the internal connection; according to each port received Set the port status of each port and port ID.
- the first converter receives the port status and port number of each of the W ports through the internal connection; and sets the port status of each port according to the received port status and port number of each port.
- the configuration device also sends the target data set through the internal connection and saves the target data set.
- the first converter receives a configuration message sent by the configuration device, and the configuration message carries the port status and port identifiers of the W ports, according to each configuration message in the configuration message. Port status and port identification of each port, and set the port status of each port. Or, the configuration message carries the port status and port number of the W ports, and the port status of each port is set according to the port status and port number of each port in the configuration message;
- the configuration message further includes a target data set, and the first converter also saves the target data set.
- the first converter may also receive a data set configuration message sent by the configuration device, where the data set configuration message carries the target data set.
- the first converter may also save the target data set.
- the configuration device also obtains the system-level parameters of the virtual devices of the communication network, and also sends the system-level parameters to the N converters.
- system-level parameter is a PTP system-level parameter.
- system-level parameters of the virtual device may be information defined by the communication protocol used by the configuration device, and the configuration device may store the system-level parameters of the virtual device when it leaves the factory.
- the technician configures the system-level parameters of the virtual device on the configuration device in advance, and the configuration device saves the system-level parameters of the virtual device.
- the above-mentioned first converter is still taken as an example to illustrate the process of configuring the device to send system-level parameters.
- the process can be: when the configuration device and the first converter are located in the same device, the configuration device sends the system-level parameters to the first converter through the internal connection, and the first converter receives and saves the system-level parameters from the internal connection. parameter.
- the configuration device sends a parameter message to the first converter, and the parameter message carries the system-level parameter.
- the first converter receives the parameter message and saves the parameter message.
- system-level parameters include the domain number (dominNumber), the version number of the PTP protocol (MinorVersionPTP, version PTP), the standard organization main identifier (majorSdoId), the standard organization minor identifier (minorSdoId), the source port identifier (sourcePortIdentity), and One or more of the flags.
- the system-level parameter is filled in the message, the message is a PTP message, and the message is sent to the TSN device connected to it.
- the message is an Announce message, a synchronization (Sync) message, a follow-up message, or a Pdelay message.
- Pdelay messages include Pdelay_request messages, Pdelay_response messages, and Pdelay_response_Follow_up messages.
- the first converter may send a Pdelay message to the TSN device connected to it, and the Pdelay message is used to measure the time delay and frequency offset between the first converter and the TSN device.
- the process includes: the first converter sends a Pdelay_request message to the TSN device, obtains the first time stamp, and records Is t1, and the first timestamp t1 is the timestamp for sending the Pdelay_request message, and the Pdelay_request message carries the system-level parameter.
- the TSN device receives the Pdelay_request message, obtains the second timestamp, which is marked as t2, and the second timestamp t2 is the timestamp of receiving the Pdelay_request message, and sends the Pdelay_response message to the first converter to obtain the third timestamp, which is marked as t3, the first timestamp t3 is the timestamp for sending the Pdelay_response message.
- the first converter receives the Pdelay_response message, obtains the fourth timestamp, which is recorded as t4, and the fourth timestamp t4 is the timestamp of receiving the Pdelay_response message, and sends the Pdelay_response_Follow_up message to the TSN device.
- the Pdelay_response_Follow_up message carries the system level parameter.
- the TSN device receives the Pdelay_response_Follow_up message, and calculates the time delay between the first converter and the TSN device as [(t4-t1)-(t3-t2)]/2. or,
- the port state of the port is a master state, a slave state, or a passive state.
- system-level parameter is carried in the header of the Pdelay message.
- the first converter is NW-TT, and the TSN device is a TSN switch; or, the first converter is DS-TT, and the TSN device is a terminal station.
- the first converter may generate the Sync message, and send the Sync message to the TSN device through the port in the master state, and the TSN device is connected to the port.
- the system-level parameter is carried in the header of the Sync message.
- the first converter after sending the Sync message, the first converter immediately generates a Follow up message, and sends the Follow up message to the TSN device through the port in the master state.
- This system-level parameter is carried in the header of the Follow up message.
- the first converter can generate the first Announce message, the first Announce message carries the system-level parameters and the target data set, and sends the first Announce message to the TSN device through the port in the main state.
- the TSN device communicates with the TSN device.
- the port is connected.
- the header of the first Announce message carries the system-level parameter, and the payload part of the first Announce message carries the target data set.
- the first converter is DS-TT
- the TSN device is the terminal station
- the terminal station is connected to the main state port of the DS-TT.
- the first converter may also receive a message sent by the second converter, the message including system-level parameters, and the second converter is another conversion of the N converters except the first converter. Device.
- the first converter can save the system-level parameters sent by the second converter.
- the system-level parameters carried in the generated message can be the system-level parameters sent by the configuration device or The received system-level parameters in the message sent by the second converter.
- the configuration device can receive the port data sets of the M ports, and determine the port data sets according to the port data sets of the M ports.
- the port status of the M ports is sent to the converter including each port, so that the port status of the M ports is automatically configured for the N converters, which improves the configuration efficiency and Accuracy of configuration.
- the TSN device After configuring the port status of the M ports in the N converters, the TSN device can obtain the time and quality level of the TSN device through the converter in the communication network, and the time and quality level can be transmitted by including the PTP message.
- the first TSN device is connected to the port of the first converter
- the second TSN device is connected to the port of the second converter.
- the port is the port in the master state
- the port on the second converter connected to the second TSN device is the port in the slave state, so that the second TSN device can send the second TSN device to the first TSN device through the second converter and the first converter.
- the time and quality level of the TSN device, or the time and quality level of the tracking source of the second TSN device is the time and quality level of the tracking source of the second TSN device.
- the first converter is DS-TT
- the first TSN device is the terminal station
- the second converter is NW-TT
- the second TSN device is a TSN switch; that is, the NW-TT is connected to the TSN switch
- the port is in the slave state
- the port connected to the terminal on the DS-TT is the port in the master state, so that the TSN switch can send the time and quality level of the TSN switch to the terminal through NW-TT and DS-TT, or The time and quality level of the trace source of the TSN switch.
- the first converter is NW-TT
- the first TSN device is a TSN switch
- the second converter is DS-TT
- the second TSN device is a terminal station or a TSN switch or TSN GM; that is, the device on the NW-TT
- the port connected to the TSN switch is the port in the master state
- the port connected to the terminal station on the DS-TT is the port in the slave state, so that the second TSN device can send the second TSN to the TSN switch through DS-TT and NW-TT
- the process of the second TSN device sending the PTP time to the first TSN device through the second converter and the first converter may be:
- Step 701 The second TSN device sends a first Sync message to the second converter, where the first Sync message carries the system-level parameters of the second TSN device.
- the second TSN device After the second TSN device sends the first Sync message to the second converter, it also sends a first Follow up message to the second converter.
- the first Follow up message also carries the system-level parameters of the second TSN device.
- the PTP header of the first Sync message carries the system-level parameters of the second TSN device, and the PTP header of the first Follow-up message also carries the system-level parameters of the second TSN device.
- Step 702 The second converter receives the first Sync message, and sends the first Sync message to the first converter.
- the second converter encapsulates the first Sync message, that is, the first Sync message is used as the payload part, and the message header is added to the payload part.
- the header includes a MAC header and/or an IP header, and sends the encapsulated first Sync message to the first converter.
- the second converter may also receive the first Follow-up message, and encapsulate the first Follow-up message, that is, the first Follow-up message is used as the payload part.
- a message header is added on the basis of the payload part, the message header includes a MAC header and/or an IP header, and the encapsulated first Followup message is sent to the first converter.
- Step 703 The first converter receives the encapsulated first Sync message, and sends a second Sync message to the first TSN device through the first port.
- the source port identifier of the second Sync message is the port identifier of the first port.
- the second Sync message carries system-level parameters, and the first port is a port on the first converter connected to the first TSN device.
- the first converter receives the encapsulated first Sync message, decapsulates the encapsulated first Sync message to obtain the first Sync message, and generates the second Sync message, the second Sync message
- the source port identifier is the port identifier of the first port
- the system-level parameters carried in the PTP header of the second Sync message are the system-level parameters carried in the PTP header of the first Sync message, or the second Sync message
- the system-level parameters carried in the PTP header of the text are the system-level parameters sent by the configuration device received by the first converter.
- the first converter may also receive the encapsulated first Follow-up message, and after receiving the encapsulated first Follow-up message, decapsulate the encapsulated first Follow-up message to obtain the first follow-up message.
- follow up message generate a second Follow up message
- the source port identifier of the second Follow up message is the port identifier of the first port
- the system-level parameter carried in the PTP header of the second follow up message is the first
- the system-level parameters carried in the PTP header of the follow-up message, or the system-level parameters carried in the PTP header of the second Follow-up message are the system-level parameters sent by the configuration device received by the first converter.
- Step 704 The first TSN device receives the second Snyc message.
- the first TSN device also receives a second Follow up message.
- the port identifier of the port that sends the Sync message is written into the source port identifier field of the Sync message to be sent, so that the first TSN device can know the first repeater
- the port identifier for sending the Sync message so as to facilitate fault location;
- the system-level parameters in the Sync message sent by the first converter may be in the Sync message sent by the second converter received by the first converter
- the system-level parameters can also be system-level parameters issued by the configuration device, which can meet different scenarios.
- the process for the second TSN device to send the PTP time of the second TSN device to the first TSN device through the second converter and the first converter may be:
- Step 801 The second TSN device sends a second Announce message to the second converter, where the second Announce message carries the system-level parameters and clock parameters of the second TSN device.
- the PTP header of the second Announce message carries system-level parameters of the second TSN device
- the payload part of the second Announce message carries the clock parameters of the second TSN device
- the clock parameters include hop count parameters
- Step 802 The second converter receives the second Announce message through the second port, and sends the second Announce message to the first converter.
- the second port is the slave port of the second converter connected to the second TSN device. .
- the second converter adds 1 to the value of the hop count parameter in the second Announce message, and then sends a second Announce message in which the value of the hop count parameter is increased by 1 to the first converter.
- the second converter encapsulates the second Announce message, that is, the second Announce message is used as the payload part, and the message header is added to the payload part.
- the header includes a MAC header and/or an IP header, and sends the encapsulated second Announce message to the first converter.
- Step 803 The first converter receives the second Announce message, and sends a third Announce message to the first TSN device through the first port.
- the source port identifier of the third Announce message is the port identifier of the first port. It is the port on the first converter that is connected to the first TSN device.
- the first converter receives the encapsulated second Announce message, decapsulates the encapsulated second Announce message to obtain the second Announce message, and generates the third Announce message according to the second Announce message ,
- the source port identifier of the third Announce message is the port identifier of the first port.
- the first converter adds the value of the hop count parameter included in the clock parameter in the second Announce message Add 1 to generate a third Announce message, and the payload part of the third Announce message carries the clock parameter of the number of hops plus 1;
- the first converter extracts the clock parameter from the second Announce message to generate a third Announce message
- the payload part of the third Announce message carries the extracted clock parameters
- the first converter generates a third Announce message, and the payload part of the third Announce message carries the target data set.
- the system-level parameter carried in the PTP header of the third Announce message is the system-level parameter carried in the PTP header of the second Announce message, or the system-level parameter carried in the header of the third Announce message is the first A converter receives the system-level parameters sent by the configuration device.
- Step 804 The first TSN device receives the third Announce message.
- the first converter when the first converter sends the Announce message, it writes the port identifier of the port that sends the Announce message into the source port identifier field of the Announce message to be sent, so that the first TSN device can know the first repeater The port identifier for sending the Announce message, so as to facilitate fault location.
- the clock parameter in the Announce message sent by the first converter may be the clock parameter in the Announce message sent by the second converter received by the first converter, or may be the target data set sent by the configuration device The clock parameter; and the action of adding 1 to the value of the hop parameter can be executed by the second converter or by the first converter, providing solutions that meet different scenarios.
- an embodiment of the present application provides an apparatus 900 for configuring port status.
- the apparatus 900 is deployed in the configuration device provided in any of the foregoing embodiments, for example, in the configuration device provided in the embodiments shown in FIGS. 1 to 8. Include:
- the obtaining unit 901 is configured to obtain port data sets of M ports in N converters, where N is an integer greater than 1, and M is an integer greater than 1.
- the N converters are integrated in at least two independent devices,
- the M ports are M precision time protocol ports, and the port data set is a precision time protocol port data set;
- the processing unit 902 is configured to configure the port states of the M ports according to the port data sets of the M ports, where the port state is a precise time protocol port state.
- step 504 for the detailed implementation process of obtaining the port data sets of the M ports by the obtaining unit 901, reference may be made to related content in step 504 in the embodiment shown in FIG. 5, which will be described in detail here.
- processing unit 902 is configured to:
- the preset data set is a preset precise time protocol data set.
- processing unit 902 is further configured to:
- a target data set is generated according to the optimal data set, and the value of the hop number parameter in the target data set is greater than the value of the hop number parameter of the optimal data set. If the value is greater than 1, the preset data set is a preset precise time protocol data set, and the target data set is a precise time protocol data set;
- the preset data set is used as the target data set.
- it further includes a first sending unit 903,
- the processing unit 902 is configured to determine the port status of each of the M ports;
- the first sending unit 903 is configured to send the port status of each port to a converter including each port, where the method of sending the port status includes sending by sending a message.
- the detailed implementation process for the processing unit 902 to determine the port states of the M ports may refer to the optional content in step 505 in the embodiment shown in FIG. 5, which will be described in detail here.
- it further includes a second sending unit 904,
- the second sending unit 904 is configured to send the target data set to the N converters, where the method of sending the target data set includes sending by sending a message.
- the target data set and the port status are both sent by sending a message
- the target data set and the port status are carried in the same message, or are carried In different messages.
- the preset data set is a data set of a virtual device of a communication network
- the communication network is a network including the N converters.
- the manner in which the obtaining unit obtains the port data set includes obtaining through a port data set message.
- it further includes a third sending unit 905,
- the processing unit 902 is further configured to determine the port identifier of each of the M ports,
- the third sending unit 905 is further configured to send the port identification of each port to the converter including each port, wherein the method of sending the port identification includes sending by sending a message.
- the port identifier of each port is a precise time protocol port identifier.
- step 501 for the detailed implementation process of the processing unit 902 determining the port identifier, reference may be made to related content in step 501 in the embodiment shown in FIG. 5, which will be described in detail here.
- processing unit 902 is configured to:
- the communication network is a network containing the N converters, and the port number of each port It is the port number of the precise time protocol.
- it further includes a fourth sending unit 906,
- the fourth sending unit 906 is configured to send system-level parameters of virtual devices of the communication network to the N converters, where the communication network is a network including the N converters, and the system-level parameters It is a system-level parameter of the precise time protocol.
- the converter is a network-side delay-sensitive network switch NW-TT or a terminal-side delay-sensitive network switch DS-TT.
- the NW-TT is an independent device, or the NW-TT is integrated in a user plane function UPF device; the DS-TT is an independent device, or the DS-TT is integrated in a user-side device UE .
- the device is deployed in a communication network used to connect TSN devices in a delay-sensitive network.
- the device is an independent device, or integrated in one of the N converters, or located in the same device as one or more of the N converters.
- the port state includes a slave state, a master state or a passive state.
- the processing unit configures the port data set according to the M ports
- the port status of M ports can automatically configure the port status and improve the configuration accuracy. Since the port status can be automatically configured, the port status can be modified in time when the port status of the converter changes.
- an embodiment of the present application provides an apparatus 1000 for configuring port status.
- the apparatus 1000 is deployed in the first converter provided in any of the foregoing embodiments, for example, in the embodiment shown in FIGS. 1 to 8.
- the device 1000 includes:
- the processing unit 1001 is configured to obtain port data sets of W ports in the device 1000, where W is an integer greater than or equal to 1, and N is an integer greater than 1, the port data set is a precise time protocol port data set, so The device is one of N converters;
- the sending unit 1002 is configured to send the port data sets of the W ports to a configuration device, where the port data sets are used by the configuration device according to the port data sets of the W ports and the N converters
- the port data set of the ports on the other converters determines the port status of the W ports, the N converters are integrated in at least two independent devices, and the port status of the W ports is a precise time protocol port state.
- the W ports include a first port, and the port data set of the first port includes a port identifier of the first port, or the port identifier and a clock parameter, and the clock parameter is a precise time protocol Clock parameters:
- the clock parameter is a clock parameter sent by a first device received by the first port, and the first device is connected to the apparatus.
- the method for the sending unit 1002 to send the port data set includes sending by sending a message.
- it further includes a first receiving unit 1003,
- the first receiving unit 1003 is configured to receive the port status of the W ports sent by the configuration device, where receiving the port status includes receiving by receiving a message;
- the processing unit 1001 is further configured to set the port states of the W ports according to the received port states of the W ports.
- it further includes a second receiving unit 1004,
- the second receiving unit 1004 is configured to receive a target data set sent by the configuration device, where the target data set is a data set determined by the configuration device according to the port data set received by the configuration device and a preset data set ,
- the preset data set and the target data set are both accurate time protocol data sets;
- the manner in which the second receiving unit 1004 receives the target data set includes receiving by receiving a message.
- it further includes a third receiving unit 1005,
- the third receiving unit 1005 is configured to receive the port identifiers of the W ports sent by the management device of the communication network, where the port identifiers of the W ports are the virtual device identifiers of the communication network and The port numbers of the W ports are generated, wherein the communication network is a network including the N converters, and the port numbers of the W ports are precision time protocol port numbers; wherein, the third receiver The manner in which the unit receives the port identifier includes receiving by receiving a message; or,
- the third receiving unit 1005 is configured to receive the clock identifier of the virtual device of the communication network sent by the management device, and the processing unit is further configured to receive the clock identifier of the virtual device and the W
- the port numbers of each port respectively generate port identifiers of the W ports, and the clock identifier of the virtual device is generated by the management device according to the virtual device identifier of the communication network.
- the management device of the communication network is the configuration device.
- the device further includes a fourth receiving unit 1006,
- the fourth receiving unit 1006 is configured to receive system-level parameters of virtual devices of the communication network sent by the configuration device, where the system-level parameters are precision time protocol system-level parameters;
- the processing unit 1006 is further configured to fill in the system-level parameters in the message when the sending unit 1002 sends a message, and the message is a precise time protocol message;
- the communication network is a network including the N converters.
- step 507 for the detailed implementation process of the fourth receiving unit 1006 receiving system-level parameters, refer to the related content in step 507 in the embodiment shown in FIG. 5, which will not be described in detail here.
- the processing unit 1001 is configured to fill the target data set into the first Announce message when the sending unit 1002 sends the first Announce message through the port in the master state;
- the sending unit 1002 is further configured to send the first Announce message through the port in the master state.
- it further includes a fifth receiving unit 1007,
- the fifth receiving unit 1007 is configured to receive a second Announce message sent by a second converter, where the second Announce message includes a hop count parameter;
- the processing unit 1001 is further configured to generate a third Announce message according to the second Announce message, where the source port identifier in the third Announce message is used by the sending unit to send the third Announce message Port ID.
- step 803 for the detailed implementation process of the processing unit 1001 generating the third Announce message, reference may be made to related content in step 803 in the embodiment shown in FIG. 8, which is not described in detail here.
- the processing unit 1001 is further configured to increase the value of the hop count parameter by 1, and the third Announce message includes the hop count parameter whose value is increased by 1.
- the port state includes a slave state, a master state or a passive state.
- the processing unit obtains the port data set of the W ports in the first converter, and the sending unit sends it to the configuration device, and the other N-1 converters among the N converters also send ports to the configuration device. data set.
- the configuration device can obtain the port data set of the port of the N converter, and configure the port status of the W ports according to the received port data set, thereby realizing automatic configuration of the port status and improving the configuration accuracy. Since the port status can be automatically configured, the port status can be modified in time when the port status of the converter changes.
- an embodiment of the present application provides a schematic diagram of an apparatus 1100 for configuring a port state.
- the apparatus 1100 may be the configuration device in any of the foregoing embodiments.
- the device 1100 includes at least one processor 1101, an internal connection 1102, a memory 1103, and at least one transceiver 1104.
- the device 1100 is a device with a hardware structure, and can be used to implement the functional modules in the device 900 described in FIG. 9.
- the acquiring unit 901 and the processing unit 902 in the device 900 shown in FIG. 9 can be implemented by calling the code in the memory 1103 by the at least one processor 1101.
- the first sending unit 903, the second sending unit 904, the third sending unit 905, and the fourth sending unit 906 can be implemented by the transceiver 1104.
- the apparatus 1100 may also be used to implement the function of configuring the device in any of the foregoing embodiments.
- processor 1101 may be a general central processing unit (CPU), network processor (NP), microprocessor, application-specific integrated circuit (ASIC) , Or one or more integrated circuits used to control the execution of the program of this application.
- CPU central processing unit
- NP network processor
- ASIC application-specific integrated circuit
- the aforementioned internal connection 1102 may include a path for transferring information between the aforementioned components.
- the internal connection 1102 is a single board or a bus.
- the above transceiver 1104 is used to communicate with other devices or communication networks.
- the aforementioned memory 1103 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions.
- the type of dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical disk storage, optical discs Storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by Any other medium accessed by the computer, but not limited to this.
- the memory can exist independently and is connected to the processor through a bus.
- the memory can also be integrated with the processor.
- the memory 1103 is used to store application program codes for executing the solutions of the present application, and the processor 1101 controls the execution.
- the processor 1101 is configured to execute the application program code stored in the memory 1103 and cooperate with at least one transceiver 1104, so that the device 1100 realizes the functions in the method of the present patent.
- the processor 1101 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 11.
- the apparatus 1100 may include multiple processors, such as the processor 1101 and the processor 1107 in FIG. 11. Each of these processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor.
- the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
- an embodiment of the present application provides a schematic diagram of an apparatus 1200 for configuring a port state.
- the device 1200 may be the first converter in any of the above-mentioned embodiments.
- the device 1200 includes at least one processor 1201, an internal connection 1202, a memory 1203, and at least one transceiver 1204.
- the device 1200 is a device with a hardware structure, and can be used to implement the functional modules in the device 1000 described in FIG. 10.
- the processing unit 1001 in the device 1000 shown in FIG. 10 can be implemented by the at least one processor 1201 calling codes in the memory 1203, and the sending unit 1002 in the device 1000 shown in FIG.
- the first receiving unit 1003, the second receiving unit 1004, the third receiving unit 1005, the fourth receiving unit 1006, and the fifth receiving unit 1007 can be implemented by the transceiver 1204.
- the device 1200 can also be used to implement the function of the first converter in any of the foregoing embodiments.
- processor 1201 may be a general-purpose central processing unit (central processing unit, CPU), network processor (NP), microprocessor, application-specific integrated circuit (ASIC) , Or one or more integrated circuits used to control the execution of the program of this application.
- CPU central processing unit
- NP network processor
- ASIC application-specific integrated circuit
- the internal connection 1202 may include a path for transferring information between the components.
- the internal connection 1202 is a single board or a bus.
- the above transceiver 1204 is used to communicate with other devices or communication networks.
- the aforementioned memory 1203 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), or other types that can store information and instructions.
- the type of dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical disk storage, optical discs Storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by Any other medium accessed by the computer, but not limited to this.
- the memory can exist independently and is connected to the processor through a bus.
- the memory can also be integrated with the processor.
- the memory 1203 is used to store application program codes for executing the solutions of the present application, and the processor 1201 controls the execution.
- the processor 1201 is configured to execute application program codes stored in the memory 1203 and cooperate with at least one transceiver 1204, so that the device 1200 realizes the functions in the method of the present patent.
- the processor 1201 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 12.
- the apparatus 1200 may include multiple processors, such as the processor 1201 and the processor 1207 in FIG. 12. Each of these processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor.
- the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
- an embodiment of the present application provides a system 1300 for configuring port status.
- the system 1300 includes the device 900 as shown in FIG. 9 and N devices 1000 as shown in FIG.
- the apparatus 900 as shown in FIG. 9 and the apparatus 1100 as shown in FIG. 11 may be configured with a device 1301, and the apparatus 1000 as shown in FIG. 10 and the apparatus 1200 as shown in FIG. 12 may be a converter 1302, which includes N There are two converters 1302, and the N converters 1302 are integrated in at least two independent devices.
- the program can be stored in a computer-readable storage medium.
- the storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Communication Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Small-Scale Networks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
Claims (59)
- 一种配置端口状态的方法,其特征在于,所述方法包括:配置设备获取N个转换器中的M个端口的端口数据集,N为大于1的整数,M为大于1的整数,所述N个转换器集成在至少两个独立设备中,所述M个端口为M个精确时间协议端口,所述端口数据集为精确时间协议端口数据集;所述配置设备根据所述M个端口的端口数据集,配置所述M个端口的端口状态,所述端口状态为精确时间协议端口状态。
- 如权利要求1所述的方法,其特征在于,所述配置设备根据所述M个端口的端口数据集,配置所述M个端口的端口状态,包括:所述配置设备根据所述M个端口的端口数据集和预设数据集,配置所述M个端口的端口状态,所述预设数据集为预设精确时间协议数据集。
- 如权利要求1或2所述的方法,其特征在于,还包括:在所述M个端口的端口数据集中选出最优数据集;在所述最优数据集优于预设数据集时,所述配置设备根据所述最优数据集生成目标数据集,所述目标数据集中的跳数参数的值比所述最优数据集的跳数参数的值大1,所述预设数据集为预设精确时间协议数据集,所述目标数据集为精确时间协议数据集;在所述预设数据集优于所述最优数据集时,所述配置设备将所述预设数据集作为目标数据集。
- 如权利要求1-3任一项所述的方法,其特征在于,所述配置设备配置所述M个端口的端口状态,包括:所述配置设备确定所述M个端口中每个端口的端口状态;所述配置设备将所述每个端口的端口状态发送至包含所述每个端口的转换器,其中,发送端口状态的方式包括通过发送报文的方式发送。
- 如权利要求1-4任一项所述的方法,其特征在于,还包括:所述配置设备将所述目标数据集发送至所述N个转换器,其中,发送目标数据集的方式包括通过发送报文的方式发送。
- 如权利要求5所述的方法,其特征在于,当发送目标数据集的方式和发送端口状态的方式均为通过发送报文的方式发送时,所述目标数据集和所述端口状态被携带在同一报文中,或者,被携带在不同报文中。
- 如权利要求2-6任一项所述的方法,其特征在于,所述预设数据集为通信网络的虚拟设 备的数据集,所述通信网络为包含所述N个转换器的网络。
- 如权利要求1-7任一项所述的方法,其特征在于,所述配置设备获取端口数据集的方式,包括通过端口数据集报文的方式获取。
- 如权利要求1-8任一项所述的方法,其特征在于,还包括:所述配置设备确定所述M个端口中的每个端口的端口标识,将所述每个端口的端口标识,分别发送给包含所述每个端口的转换器,其中,发送端口标识的方式,包括通过发送报文的方式发送,所述每个端口的端口标识为精确时间协议端口标识。
- 如权利要求9所述的方法,其特征在于,所述配置设备确定所述M个端口的端口标识,包括:所述配置设备根据所述每个端口的端口号和通信网络的虚拟设备标识,确定所述每个端口的端口标识,所述通信网络是包含所述N个转换器的网络,所述每个端口的端口号为精确时间协议端口号。
- 如权利要求1-10任一项所述的方法,其特征在于,还包括:所述配置设备将通信网络的虚拟设备的系统级参数,发送给所述N个转换器,所述通信网络为包含所述N个转换器的网络,所述系统级参数为精确时间协议系统级参数。
- 如权利要求1-11任一项所述的方法,其特征在于,所述转换器为网络侧时延敏感网络转换器NW-TT或终端侧时延敏感网络转换器DS-TT。
- 如权利要求12所述的方法,其特征在于,所述NW-TT是独立设备,或所述NW-TT集成在用户面功能UPF设备中;所述DS-TT是独立设备,或所述DS-TT集成在用户侧设备UE中。
- 如权利要求1-13任一项所述的方法,其特征在于,所述配置设备部署在用于连接时延敏感网络TSN设备的通信网络中。
- 如权利要求1-14任一项所述的方法,其特征在于,所述配置设备是独立的设备,或集成于所述N个转换器中的一个转换器中,或与所述N个转换器中的一个或多个转换器位于同一个设备中。
- 如权利要求1-15任一项所述的方法,其特征在于,所述端口状态包括从状态,主状态或被动状态。
- 一种配置端口状态的方法,其特征在于,所述方法包括:N个转换器中的第一转换器获取所述第一转换器中的W个端口的端口数据集,W为大于 等于1的整数,N为大于1的整数,所述端口数据集为精确时间协议端口数据集;所述第一转换器将所述W个端口的端口数据集发送给配置设备,所述端口数据集用于所述配置设备根据所述W个端口的端口数据集和所述N个转换器中的其他转换器上的端口的端口数据集,确定所述W个端口的端口状态,所述N个转换器集成在至少两个独立设备中,所述W个端口的端口状态为精确时间协议端口状态。
- 如权利要求17所述的方法,其特征在于,所述W个端口包括第一端口,所述第一端口的端口数据集包括所述第一端口的端口标识,或所述端口标识和时钟参数,所述时钟参数为精确时间协议时钟参数:所述时钟参数为所述第一端口接收的第一设备发送的时钟参数,所述第一设备与所述第一转换器相连。
- 如权利要求17或18所述的方法,其特征在于,发送端口数据集的方式,包括通过发送报文的方式发送。
- 如权利要求17-19任一项所述的方法,其特征在于,还包括:所述第一转换器接收配置设备发送的所述W个端口的端口状态,其中,接收所述端口状态包括通过接收报文的方式接收;所述第一转换器根据所述接收到的W个端口的端口状态,设置所述W个端口的端口状态。
- 如权利要求17-20任一项所述的方法,其特征在于,还包括:所述第一转换器接收所述配置设备发送的目标数据集,所述目标数据集是所述配置设备根据所述配置设备接收的端口数据集和预设数据集确定的数据集,所述预设数据集和所述目标数据集均为精确时间协议数据集;其中,接收所述目标数据集的方式,包括通过接收报文的方式接收。
- 如权利要求17至21任一项所述的方法,其特征在于,还包括:所述第一转换器接收通信网络的管理设备发送的所述W个端口的端口标识,所述W个端口的端口标识是所述管理设备根据所述通信网络的虚拟设备标识和所述W个端口的端口号生成的,其中,所述通信网络是包含所述N个转换器的网络,所述W个端口的端口号是精确时间协议端口号;其中,接收所述端口标识的方式,包括通过接收报文的方式接收;或者,所述第一转换器接收所述管理设备发送的所述通信网络的虚拟设备的时钟标识,根据所述虚拟设备的时钟标识和所述W个端口的端口号分别生成所述W个端口的端口标识,所述虚拟设备的时钟标识是所述管理设备根据所述通信网络的虚拟设备标识生成的。
- 如权利要求22所述的方法,其特征在于,所述通信网络的管理设备为所述配置设备。
- 如权利要求17-23任一项所述的方法,其特征在于,所述方法还包括:所述第一转换器接收所述配置设备发送的通信网络的虚拟设备的系统级参数,所述系统级参数为精确时间协议系统级参数;所述第一转换器发送报文时,将所述系统级参数填写在所述报文中,所述报文为精确时间协议报文;其中,所述通信网络是包含所述N个转换器的网络。
- 如权利要求21所述的方法,其特征在于,所述方法还包括:所述第一转换器通过处于主状态的端口发送第一通知Announce报文时,将所述目标数据集填到所述第一Announce报文中;所述第一转换器通过所述处于主状态的端口发送所述第一Announce报文。
- 如权利要求17至25任一项所述的方法,其特征在于,所述方法还包括:所述第一转换器接收第二转换器发送的第二Announce报文,所述第二Announce报文包括跳数参数;所述第一转换器根据所述第二Announce报文生成第三Announce报文,其中,第三Announce报文中的源端口标识是所述第一转换器发送所述第三Announce报文的端口标识。
- 如权利要求26所述的方法,其特征在于,所述第二Announce报文包括跳数参数,所述第一转换器根据所述第二Announce报文生成第三Announce报文,还包括:所述第一转换器把所述跳数参数的值加1,所述第三Announce报文包括值加1后的跳数参数。
- 如权利要求17-27任一项所述的方法,其特征在于,所述端口状态包括从状态,主状态或被动状态。
- 一种配置端口状态的装置,其特征在于,所述装置包括:获取单元,用于获取N个转换器中的M个端口的端口数据集,N为大于1的整数,M为大于1的整数,所述N个转换器集成在至少两个独立设备中,所述M个端口为M个精确时间协议端口,所述端口数据集为精确时间协议端口数据集;处理单元,用于根据所述M个端口的端口数据集,配置所述M个端口的端口状态,所述端口状态为精确时间协议端口状态。
- 如权利要求29所述的装置,其特征在于,所述处理单元,用于:根据所述M个端口的端口数据集和预设数据集,配置所述M个端口的端口状态,所述预设数据集为预设精确时间协议数据集。
- 如权利要求29或30所述的装置,其特征在于,所述处理单元,还用于:在所述M个端口的端口数据集中选出最优数据集;在所述最优数据集优于预设数据集时,根据所述最优数据集生成目标数据集,所述目标数据集中的跳数参数的值比所述最优数据集的跳数参数的值大1,所述预设数据集为预设精确时间协议数据集,所述目标数据集为精确时间协议数据集;在所述预设数据集优于所述最优数据集时,将所述预设数据集作为目标数据集。
- 如权利要求29-31任一项所述的装置,其特征在于,还包括第一发送单元,所述处理单元,用于确定所述M个端口中每个端口的端口状态;所述第一发送单元,用于将所述每个端口的端口状态发送至包含所述每个端口的转换器,其中,发送端口状态的方式包括通过发送报文的方式发送。
- 如权利要求29-32任一项所述的装置,其特征在于,还包括第二发送单元,所述第二发送单元,用于将所述目标数据集发送至所述N个转换器,其中,发送目标数据集的方式包括通过发送报文的方式发送。
- 如权利要求33所述的装置,其特征在于,当发送目标数据集的方式和发送端口状态的方式均为通过发送报文的方式发送时,所述目标数据集和所述端口状态被携带在同一报文中,或者,被携带在不同报文中。
- 如权利要求30-34任一项所述的装置,其特征在于,所述预设数据集为通信网络的虚拟设备的数据集,所述通信网络为包含所述N个转换器的网络。
- 如权利要求29-35任一项所述的装置,其特征在于,所述获取单元获取端口数据集的方式,包括通过端口数据集报文的方式获取。
- 如权利要求29-36任一项所述的装置,其特征在于,还包括第三发送单元,所述处理单元,还用于确定所述M个端口中的每个端口的端口标识,所述第三发送单元,还用于将所述每个端口的端口标识,分别发送给包含所述每个端口的转换器,其中,发送端口标识的方式,包括通过发送报文的方式发送,所述每个端口的端口标识为精确时间协议端口标识。
- 如权利要求37所述的装置,其特征在于,所述处理单元,用于:据所述每个端口的端口号和通信网络的虚拟设备标识,确定所述每个端口的端口标识,所述通信网络是包含所述N个转换器的网络,所述每个端口的端口号为精确时间协议端口号。
- 如权利要求29-38任一项所述的装置,其特征在于,还包括第四发送单元,所述第四发送单元,用于将通信网络的虚拟设备的系统级参数,发送给所述N个转换器,所述通信网络为包含所述N个转换器的网络,所述系统级参数为精确时间协议系统级参数。
- 如权利要求29-39任一项所述的装置,其特征在于,所述转换器为网络侧时延敏感网 络转换器NW-TT或终端侧时延敏感网络转换器DS-TT。
- 如权利要求40所述的装置,其特征在于,所述NW-TT是独立设备,或所述NW-TT集成在用户面功能UPF设备中;所述DS-TT是独立设备,或所述DS-TT集成在用户侧设备UE中。
- 如权利要求29-41任一项所述的装置,其特征在于,所述装置部署在用于连接时延敏感网络TSN设备的通信网络中。
- 如权利要求29-42任一项所述的装置,其特征在于,所述装置是独立的设备,或集成于所述N个转换器中的一个转换器中,或与所述N个转换器中的一个或多个转换器位于同一个设备中。
- 如权利要求29-43任一项所述的装置,其特征在于,所述端口状态包括从状态,主状态或被动状态。
- 一种配置端口状态的装置,其特征在于,所述装置包括:处理单元,用于获取所述装置中的W个端口的端口数据集,W为大于等于1的整数,N为大于1的整数,所述端口数据集为精确时间协议端口数据集,所述装置是N个转换器中的一个;发送单元,用于将所述W个端口的端口数据集发送给配置设备,所述端口数据集用于所述配置设备根据所述W个端口的端口数据集和所述N个转换器中的其他转换器上的端口的端口数据集,确定所述W个端口的端口状态,所述N个转换器集成在至少两个独立设备中,所述W个端口的端口状态为精确时间协议端口状态。
- 如权利要求45所述的装置,其特征在于,所述W个端口包括第一端口,所述第一端口的端口数据集包括所述第一端口的端口标识,或所述端口标识和时钟参数,所述时钟参数为精确时间协议时钟参数:所述时钟参数为所述第一端口接收的第一设备发送的时钟参数,所述第一设备与所述装置相连。
- 如权利要求45或46所述的装置,其特征在于,所述发送单元发送端口数据集的方式,包括通过发送报文的方式发送。
- 如权利要求45-47任一项所述的装置,其特征在于,还包括第一接收单元,所述第一接收单元,用于接收配置设备发送的所述W个端口的端口状态,其中,接收所述端口状态包括通过接收报文的方式接收;所述处理单元,还用于根据所述接收到的W个端口的端口状态,设置所述W个端口的端口状态。
- 如权利要求45-48任一项所述的装置,其特征在于,还包括第二接收单元,所述第二接收单元,用于接收所述配置设备发送的目标数据集,所述目标数据集是所述配置设备根据所述配置设备接收的端口数据集和预设数据集确定的数据集,所述预设数据集和所述目标数据集均为精确时间协议数据集;其中,所述第二接收单元接收所述目标数据集的方式,包括通过接收报文的方式接收。
- 如权利要求45至49任一项所述的装置,其特征在于,还包括第三接收单元,所述第三接收单元,用于接收通信网络的管理设备发送的所述W个端口的端口标识,所述W个端口的端口标识是所述管理设备根据所述通信网络的虚拟设备标识和所述W个端口的端口号生成的,其中,所述通信网络是包含所述N个转换器的网络,所述W个端口的端口号是精确时间协议端口号;其中,所述第三接收单元接收所述端口标识的方式,包括通过接收报文的方式接收;或者,所述第三接收单元,用于接收所述管理设备发送的所述通信网络的虚拟设备的时钟标识,以及,所述处理单元,还用于根据所述虚拟设备的时钟标识和所述W个端口的端口号分别生成所述W个端口的端口标识,所述虚拟设备的时钟标识是所述管理设备根据所述通信网络的虚拟设备标识生成的。
- 如权利要求50所述的装置,其特征在于,所述通信网络的管理设备为所述配置设备。
- 如权利要求45-51任一项所述的装置,其特征在于,所述装置还包括第四接收单元,所述第四接收单元,用于接收所述配置设备发送的通信网络的虚拟设备的系统级参数,所述系统级参数为精确时间协议系统级参数;所述处理单元,还用于在所述发送单元发送报文时,将所述系统级参数填写在所述报文中,所述报文为精确时间协议报文;其中,所述通信网络是包含所述N个转换器的网络。
- 如权利要求49所述的装置,其特征在于,所述处理单元,用于在所述发送单元通过处于主状态的端口发送第一通知Announce报文时,将所述目标数据集填到所述第一Announce报文中;所述发送单元,还用于通过所述处于主状态的端口发送所述第一Announce报文。
- 如权利要求45至53任一项所述的装置,其特征在于,所述装置还包括第五接收单元,所述第五接收单元,用于接收第二转换器发送的第二Announce报文,所述第二Announce报文包括跳数参数;所述处理单元,还用于根据所述第二Announce报文生成第三Announce报文,其中,第三Announce报文中的源端口标识是所述发送单元发送所述第三Announce报文的端口标识。
- 如权利要求54所述的装置,其特征在于,所述处理单元,还用于把所述跳数参数的 值加1,所述第三Announce报文包括值加1后的跳数参数。
- 如权利要求45-55任一项所述的装置,其特征在于,所述端口状态包括从状态,主状态或被动状态。
- 一种配置端口状态的系统,其特征在于,所述系统包括如权利要求29至44任一项所述的装置和N个如权利要求45至56任一项所述的装置,N为大于1的整数,所述N个装置集成在至少两个独立设备中。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被计算机执行时,实现如权利要求1-28任一项所述的方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括在计算机可读存储介质中存储的计算机程序,并且所述计算程序通过处理器进行加载来实现如权利要求1-28任一项所述的方法。
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022570486A JP2023526843A (ja) | 2020-05-20 | 2021-05-18 | ポート状態設定方法、装置、およびシステム、ならびに記憶媒体 |
MX2022014659A MX2022014659A (es) | 2020-05-20 | 2021-05-18 | Método, aparato y sistema de configuración de estado de puerto, y medio de almacenamiento. |
BR112022023556A BR112022023556A2 (pt) | 2020-05-20 | 2021-05-18 | Método de configuração de status de porta, aparelho, sistema e meio de armazenamento |
AU2021277366A AU2021277366A1 (en) | 2020-05-20 | 2021-05-18 | Port status configuration method, apparatus,and system, and storage medium |
KR1020227044137A KR20230012565A (ko) | 2020-05-20 | 2021-05-18 | 포트 상태 구성 방법, 장치, 시스템 및 저장 매체 |
EP21808782.3A EP4145729A4 (en) | 2020-05-20 | 2021-05-18 | METHOD, APPARATUS, SYSTEM AND STORAGE MEDIUM FOR CONFIGURING A PORT STATUS |
US17/990,089 US20230091501A1 (en) | 2020-05-20 | 2022-11-18 | Port status configuration method, apparatus, and system, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010432875.4A CN113708869B (zh) | 2020-05-20 | 2020-05-20 | 配置端口状态的方法、装置及系统 |
CN202010432875.4 | 2020-05-20 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/990,089 Continuation US20230091501A1 (en) | 2020-05-20 | 2022-11-18 | Port status configuration method, apparatus, and system, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021233313A1 true WO2021233313A1 (zh) | 2021-11-25 |
Family
ID=78645363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/094458 WO2021233313A1 (zh) | 2020-05-20 | 2021-05-18 | 配置端口状态的方法、装置、系统及存储介质 |
Country Status (9)
Country | Link |
---|---|
US (1) | US20230091501A1 (zh) |
EP (1) | EP4145729A4 (zh) |
JP (1) | JP2023526843A (zh) |
KR (1) | KR20230012565A (zh) |
CN (2) | CN115021852B (zh) |
AU (1) | AU2021277366A1 (zh) |
BR (1) | BR112022023556A2 (zh) |
MX (1) | MX2022014659A (zh) |
WO (1) | WO2021233313A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115915098A (zh) * | 2023-02-15 | 2023-04-04 | 鹏城实验室 | 一种5g与tsn跨域ptp中bmca实现方法 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114827056B (zh) * | 2022-04-13 | 2024-03-19 | 华南理工大学 | 基于5g移动通信中时间敏感网络传输的系统及方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457346A (zh) * | 2010-10-29 | 2012-05-16 | 中兴通讯股份有限公司 | 时间同步实现方法及时钟节点 |
CN103051486A (zh) * | 2011-10-14 | 2013-04-17 | 华东电力试验研究院有限公司 | 基于网络通信分布式精确时间同步协议的主时钟测试方法 |
WO2013143112A1 (en) * | 2012-03-30 | 2013-10-03 | Telefonaktiebolaget L M Ericsson(Publ) | Method and system for robust precision time protocol synchronization |
CN104410170A (zh) * | 2014-12-19 | 2015-03-11 | 重庆大学 | 一种适用于电力通信sdn技术 |
CN106533600A (zh) * | 2016-10-14 | 2017-03-22 | 瑞斯康达科技发展股份有限公司 | 一种时钟同步方法及设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017130034A1 (en) * | 2016-01-27 | 2017-08-03 | Telefonaktiebolaget Lm Ericsson (Publ) | A method of timing loop prevention for the precision time protocol (ptp) with g.8275.1 profile |
WO2020081060A1 (en) * | 2018-10-16 | 2020-04-23 | Nokia Technologies Oy. | Synchronization in wireless networks for supporting ieee tsn-based industrial automation |
CN110113127B (zh) * | 2019-06-05 | 2021-08-20 | 深圳市英特瑞半导体科技有限公司 | 一种基于1588协议传递时间的方法及其系统 |
CN110611924B (zh) * | 2019-09-27 | 2021-08-24 | 腾讯科技(深圳)有限公司 | 实现时间敏感网络的数据传输的方法、相关设备及介质 |
-
2020
- 2020-05-20 CN CN202210629640.3A patent/CN115021852B/zh active Active
- 2020-05-20 CN CN202010432875.4A patent/CN113708869B/zh active Active
-
2021
- 2021-05-18 MX MX2022014659A patent/MX2022014659A/es unknown
- 2021-05-18 EP EP21808782.3A patent/EP4145729A4/en active Pending
- 2021-05-18 BR BR112022023556A patent/BR112022023556A2/pt unknown
- 2021-05-18 KR KR1020227044137A patent/KR20230012565A/ko not_active Application Discontinuation
- 2021-05-18 WO PCT/CN2021/094458 patent/WO2021233313A1/zh unknown
- 2021-05-18 JP JP2022570486A patent/JP2023526843A/ja active Pending
- 2021-05-18 AU AU2021277366A patent/AU2021277366A1/en active Pending
-
2022
- 2022-11-18 US US17/990,089 patent/US20230091501A1/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457346A (zh) * | 2010-10-29 | 2012-05-16 | 中兴通讯股份有限公司 | 时间同步实现方法及时钟节点 |
CN103051486A (zh) * | 2011-10-14 | 2013-04-17 | 华东电力试验研究院有限公司 | 基于网络通信分布式精确时间同步协议的主时钟测试方法 |
WO2013143112A1 (en) * | 2012-03-30 | 2013-10-03 | Telefonaktiebolaget L M Ericsson(Publ) | Method and system for robust precision time protocol synchronization |
CN104410170A (zh) * | 2014-12-19 | 2015-03-11 | 重庆大学 | 一种适用于电力通信sdn技术 |
CN106533600A (zh) * | 2016-10-14 | 2017-03-22 | 瑞斯康达科技发展股份有限公司 | 一种时钟同步方法及设备 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4145729A4 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115915098A (zh) * | 2023-02-15 | 2023-04-04 | 鹏城实验室 | 一种5g与tsn跨域ptp中bmca实现方法 |
CN115915098B (zh) * | 2023-02-15 | 2023-06-06 | 鹏城实验室 | 一种5g与tsn跨域ptp中bmca实现方法 |
Also Published As
Publication number | Publication date |
---|---|
EP4145729A1 (en) | 2023-03-08 |
CN113708869A (zh) | 2021-11-26 |
AU2021277366A1 (en) | 2023-01-05 |
BR112022023556A2 (pt) | 2023-01-03 |
JP2023526843A (ja) | 2023-06-23 |
US20230091501A1 (en) | 2023-03-23 |
KR20230012565A (ko) | 2023-01-26 |
EP4145729A4 (en) | 2023-11-08 |
CN115021852B (zh) | 2023-11-03 |
CN113708869B (zh) | 2024-04-12 |
MX2022014659A (es) | 2023-02-14 |
CN115021852A (zh) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11909652B2 (en) | Method, device and storage medium for quality of service (QoS) flow management of time sensitive data for transmission of ethernet packet filter sets | |
JP7183416B2 (ja) | 時間依存ネットワーキング通信方法及び装置 | |
US20210006421A1 (en) | Method and device for controlling qos, smf, upf, ue, pcf and an | |
CN114189905B (zh) | 一种报文处理方法及相关设备 | |
WO2021233313A1 (zh) | 配置端口状态的方法、装置、系统及存储介质 | |
CN111585862A (zh) | 一种EtherCAT与TSN网络互通的实现方法及装置 | |
WO2022027666A1 (zh) | 一种时间同步方法及装置 | |
CN113825251A (zh) | 会话建立方法、装置、系统及计算机存储介质 | |
JP2024504466A (ja) | パケット転送方法、パケット処理方法、およびデバイス | |
CN111385131A (zh) | 网络设备的配置方法、装置、设备及系统 | |
WO2021163901A1 (zh) | 一种会话处理方法及其装置 | |
US20220393784A1 (en) | Communication method, apparatus, and system | |
CN114650566A (zh) | 一种提供确定性服务质量的边缘计算网络架构 | |
CN114697269A (zh) | 数据通信方法、装置、设备和介质 | |
CN114389733A (zh) | Ptp主时钟设备、时钟同步方法及存储介质 | |
US20240195731A1 (en) | Software defined network controller, network device, method and apparatus of determining resources | |
WO2023246118A1 (zh) | 报文的转发方法、装置、存储介质及电子装置 | |
CN111107046B (zh) | 一种数据流的传输方法及装置 | |
US20230262625A1 (en) | Time Synchronization Fault Processing Method, Apparatus, And System | |
WO2024067520A1 (zh) | 一种网络时延或抖动处理方法及装置、通信设备 | |
WO2021168773A1 (zh) | 通信方法和通信装置 | |
CN117500000A (zh) | 基于移动边缘计算的算力资源调度方法、设备及存储介质 | |
CN115696490A (zh) | 局域网通信方法、装置、终端、电子设备和存储介质 | |
TW202337165A (zh) | 時鐘狀態同步方法及通信裝置 | |
CN116599871A (zh) | 一种网络时延的确定方法和相关装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21808782 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2022570486 Country of ref document: JP Kind code of ref document: A |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112022023556 Country of ref document: BR |
|
ENP | Entry into the national phase |
Ref document number: 2021808782 Country of ref document: EP Effective date: 20221202 |
|
ENP | Entry into the national phase |
Ref document number: 20227044137 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 112022023556 Country of ref document: BR Kind code of ref document: A2 Effective date: 20221118 |
|
ENP | Entry into the national phase |
Ref document number: 2021277366 Country of ref document: AU Date of ref document: 20210518 Kind code of ref document: A |