WO2023109267A1 - 信息测量方法及装置 - Google Patents
信息测量方法及装置 Download PDFInfo
- Publication number
- WO2023109267A1 WO2023109267A1 PCT/CN2022/124210 CN2022124210W WO2023109267A1 WO 2023109267 A1 WO2023109267 A1 WO 2023109267A1 CN 2022124210 W CN2022124210 W CN 2022124210W WO 2023109267 A1 WO2023109267 A1 WO 2023109267A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network device
- deviation
- cycle
- scheduling
- period
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
- H04L43/0858—One way delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/56—Queue scheduling implementing delay-aware scheduling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
- H04L43/087—Jitter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
Definitions
- Embodiments of the present invention relate to the field of network communication, and in particular, to an information measurement method and device.
- the Time Sensitive Networking (TSN) working group proposed the Cyclic Queuing and Forwarding (CQF) technology, which requires all devices in the time-sensitive network to realize the time Synchronize.
- CQF Cyclic Queuing and Forwarding
- the Deterministic Network (DetNet) working group proposed a large-scale deterministic IP network technology (Large-scale Deterministic IP Network, LDN) ) and Cycle Specified Queuing and Forwarding (Cycle Specified Queuing and Forwarding, CSQF) technologies do not require time synchronization across the entire network, only frequency synchronization is required.
- a definite forwarding path and precise periodic scheduling are required, and due to time asynchrony, there are different phase differences between network devices, which will inevitably cause network devices.
- the scheduling cycle is not aligned, and there is a certain cycle deviation.
- the control plane plans a path that satisfies time determinism and performs precise periodic scheduling
- the CSQF scheme based on SR uses SID (SR Identifier, segment routing identifier) to indicate that the packet needs to be in the Which specified period is sent out, and the period sequence that the deterministic service message needs to be forwarded along the road is indicated through the SID list.
- SID SR Identifier, segment routing identifier
- the embodiment of the present invention provides an information measurement method and device to at least solve the problem of determining the forwarding period that meets the end-to-end delay and is applicable to each hop device when realizing low-latency and low-jitter services in related technologies. It is necessary to determine the problem of scheduling cycle deviation among network devices.
- an information measurement method including: a second network device receives a period deviation measurement message sent by its adjacent first network device at the beginning of the scheduling period, wherein the period The deviation measurement message includes a field indicating the size of the scheduling cycle; the second network device according to the receiving time of receiving the cycle deviation measurement message, the size of the scheduling cycle, and the distance between the first network device and the second network device
- the link delay is used to determine the cycle deviation of the scheduling cycle between the first network device and the second network device, wherein the receiving moment is the time when the scheduling cycle has been running in the current cycle.
- the first network device before the first network device sends the cycle deviation measurement message at the beginning of the scheduling cycle, it further includes: activating the first network device to specify a scheduling cycle or a plurality of scheduling cycles The periodic deviation measurement function, and set the number of periodic deviation measurement messages.
- activating the cycle deviation measurement function of multiple scheduling periods of the first network device includes: if the first network device has a multi-cycle scheduling capability, activating each scheduling cycle corresponding to the multi-cycle The cycle deviation measurement function.
- the time interval between the first network device and the second network device is determined.
- the period deviation of the scheduling period includes: the second network device records the receiving time of receiving the period deviation measurement message, and determines the scheduling period according to the difference between the receiving time and the size of the scheduling period The remaining time of the current cycle in the second network device; use the sum of the link delay and the remaining time of the current cycle to take the modulus of the scheduling cycle size to obtain the distance between the first network device and the second network device Period deviation of the scheduling period.
- determining the periodic deviation of the scheduling period between the first network device and the second network device includes: obtaining the periodic deviation corresponding to each Periodic deviations corresponding to periodic deviation measurement messages; determining the average value of multiple periodic deviations as the periodic deviation of the scheduling period between the first network device and the second network device.
- the periodic deviation information notification message after determining the period deviation of the scheduling period between the first network device and the second network device, it further includes: storing the period deviation in a period deviation information notification message, and sending The periodic deviation information notification message is announced to other nodes or controllers in the whole network, and if multi-period scheduling is supported, the periodic deviation information notification message corresponding to each scheduling period is reported to other nodes or controllers in the whole network announcement.
- the period deviation information notification message includes the address or interface of the first network device, the address or interface of the second network device, the size of the scheduling period, and the period deviation.
- announcing the periodic deviation information notification message to other nodes or controllers in the entire network includes: for a distributed control model, the periodic deviation information notification message is passed through an extended interior gateway protocol (Interior Gateway Protocol (IGP) or Border Gateway Protocol Link-state (BGP-LS) attributes are notified within and between domains; for the centralized control model, the periodic deviation information notification message passes through the controller The southbound interface between the network device and the network device is used to obtain or report.
- IGP Interior Gateway Protocol
- BGP-LS Border Gateway Protocol Link-state
- the periodic deviation measurement message is a new sub-TLV in a performance measurement message of Operation Administration and Maintenance (OAM), and the encapsulation of the periodic deviation measurement message
- the format includes: a field indicating that the sub-TLV is a measurement period deviation type; a field indicating the length of the sub-TLV; and a field indicating the size of the scheduling period.
- the periodic deviation information notification message is a link attribute sub-TLV newly added through protocol extension
- the encapsulation format of the periodic deviation information notification message includes: indicating that the sub-TLV is A field of the period deviation attribute type; a field indicating the length of the sub-TLV; a field indicating the size of the scheduling period; a field indicating the period deviation.
- an information measurement device which is applied to the second network device, including: a receiving module, configured to receive the period sent by the adjacent first network device at the beginning of the scheduling period A deviation measurement message, wherein the periodic deviation measurement message includes a field indicating the size of the scheduling period; the determination module is configured to receive the periodic deviation measurement message according to the receiving time, the size of the scheduling period, and the first network
- the link delay between the device and the second network device determines the cycle deviation of the scheduling period between the first network device and the second network device, wherein the receiving moment is when the scheduling cycle is in the current round The elapsed time in the loop.
- the measurement device further includes: a storage module configured to store the periodic deviation into a periodic deviation information report message, and send the periodic deviation information report message to other nodes in the entire network Or the controller makes an announcement. If multi-cycle scheduling is supported, it is also set to announce the cycle deviation information notification message corresponding to each scheduling cycle to other nodes or the controller in the whole network.
- an information measurement device which is applied to a first network device, including: a sending module, configured to send a cycle deviation measurement to an adjacent second network device at the beginning of a scheduling period message, wherein, the cycle deviation measurement message includes a field indicating the size of the scheduling cycle, so that the second network device can use
- the link delay between the two network devices determines the cycle deviation of the scheduling cycle between the first network device and the second network device.
- the measuring device further includes: an activating module configured to activate the cycle deviation measurement function of a specified scheduling period or a plurality of scheduling cycles; a setting module configured to set individual values of the cycle deviation measurement message number.
- a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to perform any one of the above methods when running Steps in the examples.
- an electronic device including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above Steps in the method examples.
- Fig. 1 is a block diagram of the hardware structure of a computer terminal running an information measurement method according to an embodiment of the present invention
- Fig. 2 is a flowchart of an information measurement method according to an embodiment of the present invention.
- Fig. 3 is a structural block diagram of an information measuring device according to an embodiment of the present invention.
- Fig. 4 is a structural block diagram of an information measuring device according to another embodiment of the present invention.
- Fig. 5 is a structural block diagram of an information measuring device according to yet another embodiment of the present invention.
- FIG. 6 is a flow chart of a method for measuring periodic deviations between network devices according to an embodiment of the present invention.
- Fig. 7 is a schematic diagram of periodic deviation calculation according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of the cooperative relationship between modules in the device for measuring period deviation between network devices according to an embodiment of the present invention.
- Fig. 9 is a flow chart of a method for measuring period deviation between different devices according to an embodiment of the present invention.
- Fig. 10 is a schematic diagram of periodic deviation measurement between different devices A and B according to an embodiment of the present invention.
- FIG. 11 is a schematic diagram of the encapsulation structure of a periodic deviation measurement message according to an embodiment of the present invention.
- Fig. 12 is a schematic diagram of an encapsulation structure of a cycle deviation information notification message according to an embodiment of the present invention.
- FIG. 1 is a block diagram of a hardware structure of a computer terminal running an information measurement method according to an embodiment of the present invention.
- the computer terminal can include one or more (only one is shown in Figure 1) processor 102 (processor 102 can include but not limited to microprocessor (Central Processing Unit, MCU) or programmable logic device (Field Programmable Gate Array, FPGA) and other processing devices) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions.
- processor 102 can include but not limited to microprocessor (Central Processing Unit, MCU) or programmable logic device (Field Programmable Gate Array, FPGA) and other processing devices
- memory 104 for storing data
- the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions.
- FIG. 1 is only for illustration, and it does not limit the structure of the above computer terminal.
- the computer terminal may also include more or fewer components than shown in FIG. 1 , or have a different configuration than that shown in FIG. 1 .
- the memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the information measurement method in the embodiment of the present invention, and the processor 102 executes various functions by running the computer programs stored in the memory 104 A functional application and data processing, that is, to realize the above-mentioned method.
- the memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
- the memory 104 may further include a memory that is remotely located relative to the processor 102, and these remote memories may be connected to a computer terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the transmission device 106 is used to receive or transmit data via a network.
- the specific example of the above-mentioned network may include a wireless network provided by the communication provider of the computer terminal.
- the transmission device 106 includes a network interface controller (NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet.
- the transmission device 106 may be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet in a wireless manner.
- RF Radio Frequency
- Fig. 2 is the flow chart of the information measurement method according to the embodiment of the present invention, as shown in Fig. 2, this process includes the following steps:
- Step S202 the second network device receives a period deviation measurement message sent by its adjacent first network device at the beginning of the scheduling period, wherein the period deviation measurement message includes a field indicating the size of the scheduling period;
- Step S204 the second network device determines the first network time interval according to the receiving time of receiving the cycle deviation measurement message, the size of the scheduling period, and the link delay between the first network device and the second network device.
- the cycle deviation of the scheduling cycle between the device and the second network device, wherein the receiving moment is the time when the scheduling cycle has run in the current cycle.
- step S202 of this embodiment before the first network device sends the cycle deviation measurement message at the beginning of the scheduling cycle, it may further include: activating the first network device to specify a scheduling cycle or multiple The periodic deviation measurement function is scheduled, and the number of periodic deviation measurement messages is set.
- activating the period deviation measurement function of multiple scheduling periods of the first network device may further include: if the first network device has the multi-period scheduling capability, activating each corresponding to the multi-period The cycle deviation measurement function of the scheduling cycle.
- step S204 of this embodiment it may further include: the second network device records the receiving time when the period deviation measurement message is received, and determines the time interval according to the difference between the receiving time and the size of the scheduling period. The remaining time of the current cycle of the scheduling cycle in the second network device; use the sum of the link delay and the remaining time of the current cycle to take the modulus of the scheduling cycle size to obtain the first network device and the second network The cycle skew of the scheduling cycle between devices.
- determining the periodic deviation of the scheduling period between the first network device and the second network device includes: obtaining the periodic deviation corresponding to each Periodic deviations corresponding to periodic deviation measurement messages; determining the average value of multiple periodic deviations as the periodic deviation of the scheduling period between the first network device and the second network device.
- step S204 of this embodiment also includes: storing the periodic deviation in the periodic deviation information notification message, and announcing the periodic deviation information notification message to other nodes or controllers in the whole network, if supported For multi-cycle scheduling, the cycle deviation information notification message corresponding to each scheduling cycle is announced to other nodes or controllers in the entire network.
- the period deviation information notification message includes the address or interface of the first network device, the address or interface of the second network device, the size of the scheduling period, and the period deviation.
- announcing the periodic deviation information notification message to other nodes or controllers in the whole network may further include: for a distributed control model, the periodic deviation information notification message is transmitted through an extended IGP or Attributes of the BGP-LS are notified within and between domains; for the centralized control model, the periodic deviation information notification message is obtained or reported through the southbound interface between the controller and the network device.
- the period deviation measurement message is a new sub-TLV in the OAM performance measurement message
- the encapsulation format of the period deviation measurement message includes: indicating the sub-TLV It is a field of the measurement cycle deviation type; a field indicating the length of the sub-TLV; and a field indicating the size of the scheduling cycle.
- the periodic deviation information notification message is a new link attribute sub-TLV through protocol extension
- the encapsulation format of the periodic deviation information notification message includes: indicating that the sub-TLV TLV is a field of cycle deviation attribute type; a field indicating the length of the sub-TLV; a field indicating the size of the scheduling cycle; and a field indicating the cycle deviation.
- the second network device receives the period deviation measurement message sent by its adjacent first network device at the beginning of the scheduling period, and according to the period measurement message and the relationship between the first network device and the second network device Link delay, so that the cycle deviation of the scheduling cycle between the first network device and the second network device can be determined, and further, the forwarding cycle applicable to each hop device that conforms to the end-to-end delay can be obtained. Therefore, it can solve the problem in related technologies that when realizing low-latency and low-jitter services, it is necessary to determine the forwarding period that meets the end-to-end delay and is applicable to each hop device, and it is necessary to first determine that there is a scheduling cycle deviation between network devices , to achieve the effect of ensuring the accuracy of the scheduling cycle.
- This embodiment also provides a device for measuring scheduling cycle deviations between network devices.
- the device is used to implement the above embodiments and preferred implementation modes, and those that have already been described will not be repeated.
- the term "module” may be a combination of software and/or hardware that realizes a predetermined function.
- the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
- FIG. 3 is a structural block diagram of an information measurement device according to an embodiment of the present invention. As shown in FIG. 3 , the The device includes: a receiving module 21 and a determining module 22 .
- the receiving module 21 is configured to receive a cycle deviation measurement message sent by its adjacent first network device at the beginning of the scheduling period, wherein the cycle deviation measurement message includes a field indicating the size of the scheduling cycle;
- the determining module 22 is configured to determine the first network device and the second network device according to the receiving time of receiving the cycle deviation measurement message, the size of the scheduling cycle, and the link delay between the first network device and the second network device.
- the cycle deviation of the scheduling cycle between the two network devices, wherein the receiving moment is the time when the scheduling cycle has been running in the current cycle.
- Fig. 4 is a structural block diagram of an information measuring device according to an embodiment of the present invention. As shown in Fig. 4, the device includes not only all the modules shown in Fig. 3 but also:
- the storage module 23 is configured to store the periodic deviation in the periodic deviation information notification message, and announce the periodic deviation information notification message to other nodes or controllers in the whole network. If multi-period scheduling is supported, set In order to announce the cycle deviation information notification message corresponding to each scheduling cycle to other nodes or controllers in the whole network.
- FIG. 5 is a structural block diagram of an information measurement device according to an embodiment of the present invention. As shown in FIG. 5 , the The device includes: a sending module 31 , an activation module 32 and a setting module 33 .
- the sending module 31 is configured to send a period deviation measurement message to an adjacent second network device at the beginning of the scheduling period, wherein the period deviation measurement message includes a field indicating the size of the scheduling period, so that the second network
- the device determines the time interval between the first network device and the second network device according to the receiving time of the cycle deviation message, the size of the scheduling period, and the link delay between the first network device and the second network device.
- the cycle deviation of the scheduling cycle is configured to send a period deviation measurement message to an adjacent second network device at the beginning of the scheduling period, wherein the period deviation measurement message includes a field indicating the size of the scheduling period, so that the second network
- the device determines the time interval between the first network device and the second network device according to the receiving time of the cycle deviation message, the size of the scheduling period, and the link delay between the first network device and the second network device.
- the cycle deviation of the scheduling cycle is configured to send a period deviation measurement message to an adjacent second network device at the beginning of the scheduling period, wherein the period deviation measurement
- the activation module 32 is configured to activate the cycle deviation measurement function of a specified scheduling cycle or a plurality of scheduling cycles.
- the setting module 33 is configured to set the number of periodic deviation measurement messages.
- the above-mentioned modules can be realized by software or hardware. For the latter, it can be realized by the following methods, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules can be combined in any combination The forms of are located in different processors.
- FIG. 6 is a flow chart of a method for measuring periodic deviations between network devices according to an embodiment of the present invention.
- Network devices At the beginning of each period, the measurement message corresponding to the period is sent to the adjacent network device, and the adjacent network device records the time when the measurement message is received, and the distance between the two adjacent devices is calculated by a certain method. Periodic deviation between.
- the above-mentioned period deviation measurement method includes the following steps:
- Step S601 Activate the cycle deviation measurement function of the first network device.
- Step S602 the first network device sends a cycle measurement message to its adjacent second network device at the beginning of each cycle, and the message content includes at least a field indicating the cycle size.
- Step S603 The second network device records the time when the cycle deviation measurement message sent by the first network device is received, and the current remaining time of the corresponding cycle can be obtained through the field indicating the cycle size carried in the message, that is, the received message The time between the moment of the text and the start of the next new cycle;
- Step S604 The second network device, according to the current remaining time of the cycle obtained in step S603, the cycle size, and the known delay of the link between the first network device and the second network device for sending the above-mentioned measurement message, through A certain calculation method can calculate the difference of the period between the first network device and the second network device for a single time;
- Step S605 The second network device stores the finally measured cycle deviation value, which contains at least the address and interface that can identify the local network device, the address and interface that can identify the peer network device, the corresponding cycle size, and the difference between the two. cycle deviation.
- the cycle deviation measurement function is activated, which may be activated globally. If the device has multi-cycle scheduling capability, the cycle deviation measurement function of each corresponding cycle is activated; or only the specified Periodic measurement function; further, the number of measurement messages can also be set, sent at the beginning of each period, and sent for multiple periods;
- step S603 of this embodiment the second network device receives the measurement message, obtains the cycle size field carried in the message, and finds that the device does not support the scheduling of the cycle, then does not perform subsequent calculations, and the measurement ends;
- FIG. 7 is a schematic diagram of cycle deviation calculation according to an embodiment of the present invention. As shown in FIG. 7, the deviation ⁇ T corresponding to the cycle between two devices can be obtained by the following formula 1:
- T represents the cycle size
- W represents the time between the time of receiving the measurement message recorded in S603 and the start point of the next new corresponding cycle
- D represents the link delay between the first network device and the second network device
- MOD is a modulo function, which returns the remainder after dividing two numbers
- step S605 of this embodiment the finally obtained cycle deviation value between the two devices is the average value of multiple measurement results, and the number of measurements is determined by the number of measurement packets set in step S601.
- a method of announcing the periodic deviation is also proposed. After measuring the periodic deviation between two adjacent nodes, the network device can notify the periodic deviation to other nodes or controllers in the whole network for path calculation Components such as the unit/controller can obtain this information, and perform precise path planning, traffic scheduling, etc. based on this information and other required information.
- the advertised cycle deviation information must at least include the address or interface that can identify the local network device, the address or interface that can identify the peer network device, the cycle size, and the relative distance between the local device and the peer device for the above cycle.
- the cycle deviation value, etc. If the network device supports multi-period scheduling, it will be notified separately for different periods; for the distributed control model, the above-mentioned period deviation information can be extended by extending the IGP (for example: Open Shortest Path First (Open Shortest Path First, OSPF) protocol, intermediate system To the intermediate system (Intermediate System to Intermediate System, ISIS) protocol), BGP-LS attributes, advertised within and between domains.
- IGP Open Shortest Path First
- ISIS Intermediate System to Intermediate System
- BGP-LS attributes advertised within and between domains.
- the above-mentioned periodic deviation information of each node can be acquired/reported through a southbound interface (such as NETCONF, BGP-LS, etc.) between the controller and the network device.
- a device for measuring the period deviation between network devices which includes the following modules: message sending module 81, message receiving module 82, period deviation calculation module 83, period measurement management and storage module 84 , the collaborative relationship between each module is shown in Figure 8, and the functions of each module are as follows:
- Message sending module 81 sending a cycle measurement message to adjacent devices, the message content includes at least a field indicating the cycle size; the message sending module 81 is functionally equivalent to the sending module 31 in the above-mentioned embodiment.
- Message receiving module 82 receive the cycle measurement message sent by the adjacent equipment, record the moment when the message is received, obtain the cycle size identifier in the information, and obtain the remaining time of the cycle in this cycle; the message receiving module 82 is functionally equivalent to the receiving module 21 in the above embodiment.
- Periodic deviation calculation module 83 calculate according to the calculation formula to obtain the measured period deviation value; the period deviation calculation module 83 is functionally equivalent to the determination module 22 in the above-mentioned embodiment.
- Period measurement management and storage module 84 activate the global or specified period measurement function, set the number of measurement messages, etc.; calculate the average value of multiple measurement results, and store the final period deviation value between the two devices.
- the period measurement management and storage module 84 functionally includes the functions of the activation module 32 and the setting module 33 in the above embodiment, and part of the functions of the storage module 23 .
- FIG. 9 is a flowchart of a method for measuring a period deviation between different devices according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram of measuring the period deviation between different devices A and B, As shown in Figure 10, assuming that the link delay between network devices A and B is 35us, and the periodic scheduling window size of the two devices is 10us, the method for measuring the periodic deviation between A and B devices includes the following steps:
- Step S901 activating the cycle deviation measurement function of the A device.
- the number of measurement packets can be set to 5.
- Step S902 device A sends a cycle deviation measurement message to device B at the beginning of each cycle, and the message carries a field of cycle size;
- device A sends a periodic deviation measurement message to device B at the beginning of each 10us period, and the message carries a field of 10us period, indicating that the measurement is a period deviation of 10us period; a total of 5 measurement messages are sent ;
- Step S903 device B receives the measurement message sent by device A, records the time when the message is received, and analyzes the field of the specified period size carried in the message, knowing that the local 10us period has 7us remaining at the current moment before ending this period. round-robin;
- Step S904 calculating the cycle deviation of a single measurement.
- the period deviation of B equipment relative to A equipment ⁇ T MOD((35+7), 10), the calculated period deviation of a single measurement is 2us;
- Step S905 taking an average of the periodic deviations measured for multiple times.
- Table 1 is an example of cycle deviation data stored by device B and device A.
- FIG. 11 is a schematic diagram of the encapsulation structure of a periodic deviation measurement message according to an embodiment of the present invention, wherein the type field is used to indicate that the sub-TLV is the measurement period deviation type, the specific value is to be determined, and the length field indicates the length of the sub-TLV , the cycle field is used to specify the cycle to be measured, and the unit is microseconds, for example, 10 means to measure the deviation of a cycle of 10us.
- FIG. 12 is a schematic diagram of the encapsulation structure of a periodic deviation information notification message according to an embodiment of the present invention, wherein the type field uses a specific value to indicate that this sub-TLV is a periodic deviation attribute type, and the length field Indicates the length of the sub-TLV.
- the cycle field is used to specify the cycle size in microseconds. For example, 10 indicates that the cycle is 10us.
- the cycle-offset field indicates the offset value of the current node relative to the peer node for the cycle, and the unit is For example, 3 means that the 10us cycle of the local node is 3us later than that of the peer node.
- sub-TLV extended cycle-offset sub-TLV
- It can be a sub-TLV of link attributes or a sub-TLV of node attributes, as long as it contains the sub-TLV that can identify the local node and the peer node information, as well as the period and its corresponding period deviation.
- Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.
- the above-mentioned computer-readable storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.
- ROM read-only memory
- RAM random access memory
- mobile hard disk magnetic disk or optical disk and other media that can store computer programs.
- An embodiment of the present invention also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.
- the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
- each module or each step of the above-mentioned embodiments of the present invention can be implemented by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed among multiple computing devices. They may be implemented in program code executable by a computing device, stored in a storage device, executed by a computing device, and in some cases executed in an order different from that described herein.
- the steps shown or described are realized by making them into respective integrated circuit modules, or making multiple modules or steps among them into a single integrated circuit module.
- embodiments of the invention are not limited to any specific combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
Claims (16)
- 一种信息测量方法,包括:第二网络设备接收其邻接的第一网络设备在调度周期的起始时刻发送的周期偏差测量报文,其中,所述周期偏差测量报文中包括表示该调度周期大小的字段;所述第二网络设备根据接收到所述周期偏差测量报文的接收时刻、调度周期大小以及第一网络设备与第二网络设备之间的链路时延,确定所述第一网络设备与第二网络设备之间所述调度周期的周期偏差。
- 根据权利要求1所述的方法,其中,在所述第一网络设备在调度周期的起始时刻发送所述周期偏差测量报文之前,还包括:激活所述第一网络设备指定调度周期或多个调度周期的周期偏差测量功能,并设置所述周期偏差测量报文的个数。
- 根据权利要求2所述的方法,其中,激活第一网络设备多个调度周期的周期偏差测量功能,包括:如果所述第一网络设备具有多周期调度能力,则激活与多周期相对应的每个调度周期的周期偏差测量功能。
- 根据权利要求1所述的方法,其中,根据所述接收时刻、调度周期大小以及第一网络设备与第二网络设备之间的链路时延,确定所述第一网络设备与第二网络设备之间所述调度周期的周期偏差,包括:所述第二网络设备记录接收到所述周期偏差测量报文的接收时刻,并根据所述接收时刻与所述调度周期大小的差值确定所述调度周期在第二网络设备中本轮循环的剩余时间;用所述链路时延与本轮循环剩余时间的和值对调度周期大小进行取模得到所述第一网络设备与第二网络设备之间调度周期的周期偏差。
- 根据权利要求4所述的方法,其中,在所述周期偏差测量报文为多个的情况下,确定所述第一网络设备与第二网络设备之间所述调度周期的周期偏差,包括:获取与每个周期偏差测量报文对应的周期偏差;将多个周期偏差的平均值确定为所述第一网络设备与第二网络设备之间调度周期的周期偏差。
- 根据权利要求1所述的方法,其中,确定所述第一网络设备与第二网络设备之间的调度周期的周期偏差之后,还包括:将所述周期偏差存储至周期偏差信息通告报文中,并将所述周期偏差信息通告报文向全网其他节点或者控制器进行公告,若支持多周期调度,则分别将每个调度周期相对应的周期偏差信息通告报文向全网其他节点或者控制器进行公告。
- 根据权利要求6所述的方法,其中,其中,所述周期偏差信息通告报文中包括第一网 络设备的地址或接口、第二网络设备的地址或接口、调度周期大小、周期偏差。
- 根据权利要求6所述的方法,其中,将所述周期偏差信息通告报文向全网其他节点或者控制器进行公告包括:对于分布式控制模型,所述周期偏差信息通告报文通过扩展IGP或BGP-LS的属性,在域内和域间进行通告;对于集中式控制模型,所述周期偏差信息通告报文通过控制器和网络设备之间的南向接口进行获取或上报。
- 根据权利要求1所述的方法,其中,其中,所述周期偏差测量报文为OAM的性能测量报文中新增sub-TLV,所述周期偏差测量报文的封装格式包括:指示该sub-TLV为测量周期偏差类型的字段;表示所述sub-TLV的长度的字段;指示调度周期大小的字段。
- 根据权利要求6所述的方法,其中,其中,所述周期偏差信息通告报文为通过协议扩展新增链路属性sub-TLV,所述周期偏差信息通告报文的封装格式包括:指示该sub-TLV为周期偏差属性类型的字段;表示该sub-TLV的长度的字段;指示调度周期大小的字段;表示所述周期偏差的字段。
- 一种信息测量装置,应用于第二网络设备上,包括:接收模块,设置为接收其邻接的第一网络设备在调度周期的起始时刻发送的周期偏差测量报文,其中,所述周期偏差测量报文中包括表示该调度周期大小的字段;确定模块,设置为根据接收到所述周期偏差测量报文的接收时刻、调度周期大小以及第一网络设备与第二网络设备之间的链路时延,确定所述第一网络设备与第二网络设备之间所述调度周期的周期偏差。
- 根据权利要求11所述的装置,其中,还包括:存储模块,设置为将所述周期偏差存储至周期偏差信息通告报文中,并将所述周期偏差信息通告报文向全网其他节点或者控制器进行公告,若支持多周期调度,还设置为分别将每个调度周期相对应的周期偏差信息通告报文向全网其他节点或者控制器进行公告。
- 一种信息测量装置,应用于第一网络设备上,包括:发送模块,设置为在调度周期的起始时刻向邻接的第二网络设备发送周期偏差测量报文,其中,所述周期偏差测量报文中包括表示该调度周期大小的字段,以便第二网络设备根据接收到所述周期偏差报文的接收时刻、调度周期大小以及第一网络设备与第二网络设备之间的链路时延,确定所述第一网络设备与第二网络设备之间所述调度周期的周期偏差。
- 根据权利要求13所述的装置,还包括:激活模块,设置为激活指定调度周期或多个调度周期的周期偏差测量功能;设置模块,设置为设置所述周期偏差测量报文的个数。
- 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被处理器执行时实现所述权利要求1至10任一项中所述的方法的步骤。
- 一种电子装置,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述权利要求1至10任一项中所述的方法的步骤。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP22906019.9A EP4436124B1 (en) | 2021-12-17 | 2022-10-09 | Information measurement method and apparatus |
| US18/720,778 US20250055778A1 (en) | 2021-12-17 | 2022-10-09 | Information Measurement Method and Apparatus |
| JP2024535963A JP7817406B2 (ja) | 2021-12-17 | 2022-10-09 | 情報測定方法及び装置 |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111556771.5A CN116266818A (zh) | 2021-12-17 | 2021-12-17 | 信息测量方法及装置 |
| CN202111556771.5 | 2021-12-17 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023109267A1 true WO2023109267A1 (zh) | 2023-06-22 |
Family
ID=86743936
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/124210 Ceased WO2023109267A1 (zh) | 2021-12-17 | 2022-10-09 | 信息测量方法及装置 |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US20250055778A1 (zh) |
| EP (1) | EP4436124B1 (zh) |
| JP (1) | JP7817406B2 (zh) |
| CN (1) | CN116266818A (zh) |
| WO (1) | WO2023109267A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116530141A (zh) * | 2021-12-29 | 2023-08-01 | 新华三技术有限公司 | 确定性流传输方法及设备 |
| CN120263750A (zh) * | 2024-01-02 | 2025-07-04 | 中兴通讯股份有限公司 | 转发周期保持恒定时刻的方法和装置 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080225896A1 (en) * | 2005-11-24 | 2008-09-18 | Fujitsu Limited | Receiving device |
| CN102171966A (zh) * | 2011-04-11 | 2011-08-31 | 华为技术有限公司 | 模拟现网包时延抖动方法和装置 |
| CN104113386A (zh) * | 2014-07-09 | 2014-10-22 | 北京东土科技股份有限公司 | 一种监控以太网时钟同步的方法及装置 |
| CN107483136A (zh) * | 2017-08-09 | 2017-12-15 | 北京纳飞时空信息技术有限公司 | 一种固定通信设备间的时钟同步方法 |
| CN111294131A (zh) * | 2018-12-07 | 2020-06-16 | 华为技术有限公司 | 通信方法及装置 |
| CN111628914A (zh) * | 2020-06-19 | 2020-09-04 | 西安微电子技术研究所 | 一种周期通信网络的链路延时测量方法、系统及fpga |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7668243B2 (en) * | 2004-05-18 | 2010-02-23 | Texas Instruments Incorporated | Audio and video clock synchronization in a wireless network |
| US9137751B2 (en) * | 2011-08-17 | 2015-09-15 | Mediatek Inc. | Concurrent control method for a communication device embedded with Wi-Fi direct |
| CN109150722B (zh) * | 2017-06-16 | 2021-03-30 | 华为技术有限公司 | 一种业务转发的方法及网络设备 |
| JP7040209B2 (ja) | 2018-03-27 | 2022-03-23 | 富士通株式会社 | パケット処理装置及びパケット処理方法 |
| CN112583510B (zh) * | 2019-09-30 | 2025-01-10 | 华为技术有限公司 | 一种报文转发方法、设备及系统 |
-
2021
- 2021-12-17 CN CN202111556771.5A patent/CN116266818A/zh active Pending
-
2022
- 2022-10-09 WO PCT/CN2022/124210 patent/WO2023109267A1/zh not_active Ceased
- 2022-10-09 EP EP22906019.9A patent/EP4436124B1/en active Active
- 2022-10-09 US US18/720,778 patent/US20250055778A1/en active Pending
- 2022-10-09 JP JP2024535963A patent/JP7817406B2/ja active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080225896A1 (en) * | 2005-11-24 | 2008-09-18 | Fujitsu Limited | Receiving device |
| CN102171966A (zh) * | 2011-04-11 | 2011-08-31 | 华为技术有限公司 | 模拟现网包时延抖动方法和装置 |
| CN104113386A (zh) * | 2014-07-09 | 2014-10-22 | 北京东土科技股份有限公司 | 一种监控以太网时钟同步的方法及装置 |
| CN107483136A (zh) * | 2017-08-09 | 2017-12-15 | 北京纳飞时空信息技术有限公司 | 一种固定通信设备间的时钟同步方法 |
| CN111294131A (zh) * | 2018-12-07 | 2020-06-16 | 华为技术有限公司 | 通信方法及装置 |
| CN111628914A (zh) * | 2020-06-19 | 2020-09-04 | 西安微电子技术研究所 | 一种周期通信网络的链路延时测量方法、系统及fpga |
Non-Patent Citations (2)
| Title |
|---|
| HUAWEI, HISILICON: "Latency Analysis for Uu based V2V transport", 3GPP DRAFT; R2-156834 LATENCY ANALYSIS OF UU BASED V2V TRANSPORT, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. Anaheim, USA; 20151116 - 20151120, 16 November 2015 (2015-11-16), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051006130 * |
| See also references of EP4436124A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7817406B2 (ja) | 2026-02-18 |
| JP2024542861A (ja) | 2024-11-15 |
| EP4436124A1 (en) | 2024-09-25 |
| CN116266818A (zh) | 2023-06-20 |
| EP4436124A4 (en) | 2025-03-26 |
| US20250055778A1 (en) | 2025-02-13 |
| EP4436124B1 (en) | 2025-12-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11843535B2 (en) | Key performance indicators (KPI) for tracking and correcting problems for a network-under-test | |
| US10637597B2 (en) | Time determination of distributed events without distribution of reference time, phase, or frequency | |
| CN102904775B (zh) | 网络丢包测量方法、设备和系统 | |
| CN106716886B (zh) | 通信网络节点和其中执行的方法 | |
| WO2016045098A1 (zh) | 交换机、控制器、系统及链路质量检测方法 | |
| CN103181105A (zh) | 用于同步分组交换网络的主时钟和从时钟的非介入式方法以及关联的同步设备 | |
| WO2023109267A1 (zh) | 信息测量方法及装置 | |
| WO2016029862A1 (zh) | 一种链路状态信息通告方法和设备 | |
| US10334539B2 (en) | Metered interface | |
| US11909623B2 (en) | Device presence method and system for mesh network management | |
| CN116684313B (zh) | 一种确定性业务的传输方法、装置、控制器及存储介质 | |
| CN106455042B (zh) | 一种节点间时间同步方法、无线传感网络及其节点 | |
| US9203934B2 (en) | Synchronization of clocks between two communication terminals using TCP/IP | |
| CN116782365A (zh) | 时间同步方法、装置、计算机设备和存储介质 | |
| CN116208547A (zh) | 一种报文传输方法及装置 | |
| US10554319B2 (en) | Wireless communications with time synchronization processing | |
| CN114650566A (zh) | 一种提供确定性服务质量的边缘计算网络架构 | |
| CN118748579A (zh) | 一种时间同步方法及环网系统 | |
| WO2024066311A1 (zh) | 确定相位差的方法、装置、存储介质及电子装置 | |
| WO2024230272A1 (zh) | 测量周期偏差的方法、网络设备和可读存储介质 | |
| CN118074839A (zh) | 时钟同步方法、装置和系统 | |
| US20260005938A1 (en) | Traffic forwarding method and apparatus | |
| EP4586577A1 (en) | Method for determining node delay, and storage medium and electronic device | |
| WO2025001359A1 (zh) | 确定性链路属性的通告方法、电子设备以及存储介质 | |
| CN121842078A (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: 22906019 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2024535963 Country of ref document: JP Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18720778 Country of ref document: US |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022906019 Country of ref document: EP |
|
| REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112024012113 Country of ref document: BR |
|
| ENP | Entry into the national phase |
Ref document number: 2022906019 Country of ref document: EP Effective date: 20240618 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 112024012113 Country of ref document: BR Kind code of ref document: A2 Effective date: 20240614 |
|
| WWG | Wipo information: grant in national office |
Ref document number: 2022906019 Country of ref document: EP |
