WO2024067482A1 - 报文传输方法、通信设备、存储介质及程序产品 - Google Patents
报文传输方法、通信设备、存储介质及程序产品 Download PDFInfo
- Publication number
- WO2024067482A1 WO2024067482A1 PCT/CN2023/121101 CN2023121101W WO2024067482A1 WO 2024067482 A1 WO2024067482 A1 WO 2024067482A1 CN 2023121101 W CN2023121101 W CN 2023121101W WO 2024067482 A1 WO2024067482 A1 WO 2024067482A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- time
- message
- transmission method
- code block
- target
- 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
Classifications
-
- 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/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- 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/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
-
- 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/0866—Checking the configuration
-
- 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/0866—Checking the configuration
- H04L41/0869—Validating the configuration within one network element
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
Definitions
- the embodiments of the present application relate to the field of communication technology, and in particular, to a message transmission method, communication equipment, computer storage medium, and computer program product.
- Ethernet technology is used to transmit customer information and has been widely used in industrial production lines, vehicle systems and other fields.
- Ethernet technology only transmits customer information in a best-effort manner, and cannot guarantee the accurate transmission of customer information, delay and jitter, which affects the communication quality.
- Embodiments of the present application provide a message transmission method, a communication device, a computer storage medium, and a computer program product.
- an embodiment of the present application provides a message transmission method, comprising: sending a target message carrying time deviation information to an intermediate node, so that the intermediate node determines the time when the intermediate node sends the target message according to the time deviation information.
- an embodiment of the present application provides a message transmission method, comprising: receiving a target message carrying time deviation information sent by a source node; sending the target message to a destination node, so that the destination node determines the time to send the target message to a user device based on the time deviation information.
- an embodiment of the present application provides a message transmission method, including: receiving a target message carrying time deviation information sent by an intermediate node, wherein the target message is pre-sent by a source node to the intermediate node; determining the time to send the target message to a user device based on the time deviation information.
- an embodiment of the present application provides a communication device, comprising: at least one processor; at least one memory for storing at least one program; and when at least one of the programs is executed by at least one of the processors, the message transmission method as described above is implemented.
- an embodiment of the present application provides a computer-readable storage medium, which stores a program executable by a processor, and the program executable by the processor is used to implement the message transmission method as described above when executed by the processor.
- an embodiment of the present application provides a computer program product, comprising a computer program or computer instructions, wherein the computer program or the computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or the computer instructions from the computer-readable storage medium, and the processor executes the computer program or the computer instructions, so that the computer device executes the message transmission method as described above.
- FIG1 is a schematic diagram of a network system for executing a message transmission method provided by an embodiment of the present application
- FIG2 is a schematic diagram of an Ethernet message provided in an embodiment of the present application.
- FIG3 is a flow chart of a message transmission method provided by an embodiment of the present application.
- FIG4 is a schematic diagram of sending a reference time position in a message transmission method provided in an embodiment of the present application.
- FIG. 5 is a schematic diagram of the positional relationship between a target message and a reference time provided in an embodiment of the present application
- FIG6 is a schematic diagram of the structure of an O code block as a flag code block provided in an embodiment of the present application.
- FIG7 is a schematic diagram of the structure of an S code block + a T code block as a flag code block provided in an embodiment of the present application;
- FIG8 is a schematic diagram of the structure of an S code block after Ethernet encoding provided by an embodiment of the present application.
- FIG9 is a schematic diagram of the structure of an S code block carrying header time information provided by an embodiment of the present application.
- FIG10 is a flowchart of a message transmission method provided by another embodiment of the present application.
- FIG. 11 is a schematic diagram of sending a feature code block or a target message at all positions in a message transmission method provided in an embodiment of the present application;
- FIG12 is a schematic diagram of the structure of an S code block carrying a sequence number value provided in an embodiment of the present application.
- FIG. 13 is a schematic diagram of the structure of an S code block carrying a sequence number value and a time reference position deviation value provided by an embodiment of the present application;
- FIG. 14 is a schematic diagram of the structure of a feature code block carrying a sequence number value and a time reference position deviation value provided by an embodiment of the present application;
- 15 is a schematic diagram of sending a reference time position in a message transmission method provided in another embodiment of the present application.
- FIG16 is a flowchart of a message transmission method provided by another embodiment of the present application.
- 17 is a flowchart of sending a target message to a sink node in a message transmission method provided in an embodiment of the present application
- FIG18 is a flowchart of a message transmission method provided by another embodiment of the present application.
- 19 is a flowchart of determining the time for sending a target message to a user equipment according to time deviation information in a message transmission method provided in an embodiment of the present application;
- 20 is a flowchart of determining the time for sending a target message to a user equipment according to the reference time and time deviation information of a source node in a message transmission method provided in an embodiment of the present application;
- 21 is a schematic diagram of generating a reference time position in a message transmission method provided in an embodiment of the present application.
- 22 is a flow chart after determining the time for sending a target message to a user equipment in a message transmission method provided in an embodiment of the present application;
- FIG23 is a schematic diagram of a process for deterministic forwarding of service messages provided in an embodiment of the present application.
- 24 is a schematic diagram of the structure of a service message carrying a message position deviation value provided by an embodiment of the present application.
- FIG. 25 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application.
- the communication network is the highway of the information age. Customer demand has prompted changes in the communication network.
- the Ethernet technology in the related art is based on the best-effort approach to transmit customer information, and cannot guarantee the transmission delay and jitter requirements of customer information.
- the Ethernet device in the related art uses a store-and-forward mode to process messages. The message needs to be looked up, parsed, limited, queued, cached, and scheduled in the device. The messages of all physical ports in the device share these resource modules. Therefore, the service time of these functional modules for the message of each physical port is uncertain, and the time to complete the processing is not fixed, resulting in uncertain delay time of the message inside each device. With the extensive use of Ethernet technology in industrial production lines and vehicles, high requirements are placed on the transmission quality of customer messages.
- the Ethernet technology in the related art forwards messages based on the best-effort idea, and cannot guarantee the characteristic requirements of bounded end-to-end delay and jitter in specific application scenarios.
- this application provides a time reference benchmark for the message delivery position, so as to realize the deterministic forwarding of messages based on the time reference benchmark.
- the transmission method of the present application can also be regarded as providing a position reference benchmark, which is called a position reference transmission method. Its principle is consistent with the time reference benchmark. To avoid redundancy, the following descriptions of the present application will only use the time reference benchmark as an example for explanation, but this does not serve as a limitation on the scope of protection of the present application.
- the present application provides a message transmission method, communication equipment, storage medium and program product, wherein the message transmission method sends a target message carrying time deviation information to an intermediate node, so that the intermediate node determines the time when the intermediate node sends the target message according to the time deviation information, so as to forward the target message at the determined time position, thereby realizing deterministic time forwarding of business messages and ensuring communication quality.
- WCDMA wideband code division multiple access mobile communication system
- E-UTRAN evolved universal terrestrial radio access network
- NG-RAN next generation radio access network
- LTE long term evolution
- WiMAX worldwide interoperability for microwave access
- 5G fifth generation
- NR new generation radio access technology
- 6G system future communication systems, such as 6G system.
- the technical solution of the embodiment of the present application can be applied to various communication technologies, such as microwave communication, optical wave communication, millimeter wave communication, etc.
- the embodiment of the present application does not limit the adopted technology and device form.
- FIG1 is a schematic diagram of a network system for executing a message transmission method provided by an embodiment of the present application, wherein the network system includes a source node 100, an intermediate node 200, and a sink node 300.
- the source node 100 forwards a client message to the intermediate node 200, and the intermediate node 200 further forwards the client message to the sink node 300.
- the sink node 300 is connected to an external user device for Forward the client message to the user device.
- a "node" can be a network device, a device group or a device system, etc., which is not limited here; the number of intermediate nodes 200 can be multiple, and the working principle of each intermediate node 200 is the same.
- the network system shown in Figure 1 and the following related embodiments are only illustrated and described with one intermediate node 200, but this should not be understood as a limitation on the embodiments of the present application.
- the user equipment may be referred to as an access terminal, a user equipment (UE), a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user device.
- UE user equipment
- the user equipment may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network or a future 5G or higher network, etc., and this embodiment does not limit this.
- SIP Session Initiation Protocol
- WLL Wireless Local Loop
- PDA Personal Digital Assistant
- FIG2 is a schematic diagram of an Ethernet message provided by an embodiment of the present application.
- Each Ethernet message is composed of a start code block (also called an S code block or S block), a plurality of data code blocks (also called a D code block or D block) and an end code block (also called a T code block or T block) after 64/66 encoding.
- the number n of D code blocks is not limited.
- the Institute of Electrical and Electronics Engineers (IEEE) 8.2.3 standard in the related art has formulated a 64/66 encoding rule. In the IEEE802.3 standard, there are 8 different types of T code blocks: T0, T1, T2, T3, T4, T5, T6, and T7.
- the T0 block does not carry any customer content
- the T1 block carries 1 byte of customer content
- the T2 block carries 2 bytes of customer content
- the T7 block carries 7 bytes of customer content.
- idle code blocks also called I code blocks or I blocks
- fault maintenance management code blocks also called O code blocks or O blocks
- Fig. 3 is a flow chart of a message transmission method provided by an embodiment of the present application. As shown in Fig. 3, the message transmission method can be applied to, but not limited to, the source node 100 in the network system shown in Fig. 1, and can include but not limited to step S1000.
- Step S1000 sending a target message carrying time deviation information to an intermediate node, so that the intermediate node determines the time when the intermediate node sends the target message according to the time deviation information.
- the source node sends a target message carrying time deviation information to the downstream intermediate node, so that the intermediate node determines the time to send the target message to the destination node based on the time deviation information in the target message, thereby locating the location where the business message is sent and ensuring the deterministic forwarding of the business message.
- the time deviation information represents the deviation value between the sending time of the target message and the reference time.
- the reference time can be multiple and set periodically.
- the time deviation information can be formally represented as the deviation value between the sending time of the target message and any reference time. Since the reference time is periodic, when the deviation value between the sending time of the target message and a reference time is determined, the deviation value between the sending time of the target message and other reference times can also be determined accordingly.
- the time at which the intermediate node sends the target message is determined by the reference time and the time offset information.
- the multiple reference times are periodically distributed, and the time when the intermediate node sends the target message is determined by the time deviation information and a reference time preset corresponding to the sending time of the target message, wherein the reference time preset corresponding to the sending time of the target message can be selected according to the specific situation, for example, it can be a reference time closest to the sending time of the target message, or a reference time second closest to the sending time of the target message, and so on; that is, the sending port of the source node can periodically send the reference time when sending the client message.
- the subsequent nodes can further locate the exact location of the message based on the customer message, so as to forward the customer message at a determined time and location according to the reference time and the time deviation information carried by the message, thereby realizing deterministic time forwarding of customer services.
- the message transmission method may also include but is not limited to step S2000.
- Step S2000 Sending flag information carrying a flag characteristic value to an intermediate node at a reference time, wherein the flag characteristic value is used to indicate the reference time.
- the source node sends a mark message carrying a mark characteristic value to the intermediate node at the reference time position, so that the intermediate node determines the position of the reference time through the mark characteristic value in the received mark message, combined with the target message carrying time deviation information sent by the source node.
- the time deviation information represents the deviation value between the sending time of the target message and the reference time. Therefore, the time to send the target message can be determined based on the determined reference time position and time deviation information.
- the flag information includes a flag code block for filling the flag characteristic value, and the flag code block includes one of the following: a first O code block; or a first S code block and a first T code block.
- the marker code block is a code block or a set of code blocks filled with a marker characteristic value, and by identifying the marker characteristic value of the marker code block, it can be determined that it is a marker code block representing a reference time position.
- the target message to be sent by the source node does not cross the position of the reference time, as shown in Figure 4, and only a flag code block (i.e., the "flag block” shown in Figure 4) is sent to the intermediate node at the reference time to ensure that the intermediate node receives the flag information.
- the Ethernet message is sent through the physical port after being encoded. Since the message sending time is uncertain, the message delay time cannot be determined.
- the reference time appears in a periodic form (with a period of T), and the relative position between the sending time of each customer message and the reference time can be used to determine the sending position relationship of each customer message.
- message 1 is located between the marks T1 and T2 of the reference time
- message 2 is located between the marks T2 and T3 of the reference time
- message 3 and message 4 are located between the marks T3 and T4 of the reference time
- message 5 and message 6 are located between the marks T4 and T5 of the reference time
- message 7 and message 8 are located between the marks T5 and T6 of the reference time.
- each message carries a message position deviation value ⁇ of the message from the time reference, which is used as the deviation value represented by the time deviation information. Then the message position deviation value of message 1 is ⁇ 1, the message position deviation value of message 2 is ⁇ 2, and so on, the message position deviation value of message 8 is ⁇ 8.
- the message can be sent at the corresponding determined time position, so that the message is sent out at the expected time.
- the delay jitter of the message can be reduced to 0 in theory, realizing deterministic delivery of services with less jitter.
- the first O code block when the flag code block includes a first O code block, includes at least one of the following: a first field for filling the flag characteristic value, wherein when a target byte or bit group exists in the first field, the flag characteristic value or bit group is filled in the target byte, and the target byte or bit group is a byte or bit combination that is not used or has not been applied for use; or a second field for filling the flag characteristic value, wherein when the value of the second field is not a first preset value, the second field is filled with the flag characteristic value.
- the structure of an O code block is shown in Figure 6, the first two bits of the O code block are 10, the control word content at byte1 is 0x4B, byte2-4 is 3 bytes of data: D1, D2, D3, and the first part of byte5 is The content of half a byte (4 bits) is the code block sequence value O0. 4 bits can represent 16 different numerical contents.
- the 0xC value is also being applied for use. Other values are not used.
- Other values can be defined as the mark characteristic value of the mark code block.
- the value of the O0 sequence value of 0x8 is used as the O code block of a specific mark, and the O code block of the specific mark is used as the mark code block.
- the second half byte of byte5 and bytes 6-8 in the O code block are all preset values 0.
- the second half byte of byte5 and bytes 6-8 in the O code block can also be set to other non-0 values as a specific mark to indicate that a specific O code block is used as a mark code block.
- the first preset value such as "0" in the above example, is not limited here and can be selected and set according to the specific situation.
- the T code block when an S code block + a T code block are used as a flag code block, the T code block may be, but is not limited to, a T0 type as an example, or other types of T code blocks may be used, which are not limited here. Since the Ethernet length is at least 48 bytes (generally more than 64 bytes), after 64/66 encoding, the Ethernet message consists of an S code block, at least 6 D code blocks and a T code block, so the S code block + the T code block does not meet the Ethernet message length requirement, but can be used as a specific flag code block for filling the flag feature value.
- the target message when the sending time of the target message crosses the reference time, the target message also carries message header time information corresponding to the message header, and the message header time information and time deviation information are used by the intermediate node to determine the reference time.
- the message header time information represents the deviation value between the sending time of the message header of the target message and the reference time.
- the source node sends the message header time information while sending the target message, so that the intermediate node determines the corresponding reference time according to the message header time information and the time deviation information. That is to say, if the client message is sent just across the reference time, that is, the client message is being sent at the reference time position, the flag code block corresponding to the reference time is not sent at this time.
- the client message header can be used as a temporary reference position, and the deviation value between the sending time of the client message header and the reference time is carried in the client message header and sent out.
- the receiving end can deduce the real position of the reference time according to the deviation value carried by the client message and the determined message header position.
- the time position of T3 is the reference time position, but the client message 2 is being sent.
- the time reference position offset value ⁇ 1 is obtained according to the header position and the time reference position of the client message 2, and the time reference position offset value ⁇ 1 is carried in the client message header position and sent out.
- the real time reference position T3 can be deduced according to the message header position and the time reference position offset value ⁇ 1.
- message 4 carries the time reference position offset value ⁇ 2
- message 5 carries the time reference position offset value ⁇ 3
- message 6 carries the time reference position offset value ⁇ 4.
- the message header time information includes one of the following:
- the time parameter information represents the time difference between the message head position and the preset reference time position, for example, it can represent the time difference between the message head position and the nearest reference time position
- the code block quantity information represents the number of code blocks between the message head position and the preset reference time position, for example, it can represent the number of code blocks between the message head position and the nearest reference time position.
- the start code block of the target message includes a first Message field, wherein, when the value of the first message field is not the second preset value, the first message field is filled with time parameter information or code block quantity information.
- the message structure consists of an S code block + a number of D code blocks + a T code block, wherein the S code block is the first code block, and the content of an S code block is shown in FIG8.
- the first two bits in the S code block are the synchronization header bit "10", the byte byte 1 content control word, the content is "0x78"; the content of bytes byte2-byte8 is "0x55", the content is the frame preamble byte content; the content of byte byte8 is "0xD5", which is the frame delimiter byte content.
- the content of byte2-byte8 in the S code block defined by the IEEE802.3 standard can be any data content, and the Ethernet message carries the preamble and frame delimiter in the 7-byte position of byte2-byte8, and the content is a fixed value. In the application, some byte positions of byte2-byte8 can also carry other special information content, such as the specific flag content shown in Figure 9.
- Byte6-byte7 is used to carry the time base position deviation value, which is the high bit of the deviation value and the low bit of the deviation value respectively.
- the value is the time base position deviation value.
- the maximum message length of Ethernet is 9600 bytes, and theoretically 1200 D code blocks (8 bytes in a D code block) are required to carry it.
- the deviation value is the number of code blocks representing the deviation, the content range of byte6-byte7 is not greater than 1200, and the maximum deviation value will not reach 21845 (i.e. 0x5555 in hexadecimal). As long as the content of byte6-byte7 value is less than or equal to 1200, it means that byte6-byte7 is the time base position deviation value.
- the message transmission method may further include but is not limited to step S3000 and step S4000 .
- Step S3000 sending a feature code block filled with feature information to an intermediate node during a time period when no target message is sent;
- Step S4000 within the time period of sending the target message, sending the target message filled with characteristic information and time deviation information to the intermediate node.
- feature code blocks i.e., the "flag blocks” shown in Figure 11
- target messages carrying feature information i.e., message 1, message 2, message 3, message 4, message 5, message 6, etc. shown in Figure 11
- feature code blocks i.e., the "flag blocks” shown in Figure 11
- target messages carrying feature information i.e., message 1, message 2, message 3, message 4, message 5, message 6, etc. shown in Figure 11
- feature code blocks i.e., the "flag blocks” shown in Figure 11
- target messages carrying feature information i.e., message 1, message 2, message 3, message 4, message 5, message 6, etc. shown in Figure 11
- the characteristic information includes a characteristic sequence number, which corresponds to a reference time; in the process of continuously sending characteristic code blocks and target messages to the intermediate node, each time a reference time passes, the value of the characteristic sequence number is added with a preset statistical value, that is, the value of the characteristic sequence number after different reference times is different, so the value of the characteristic sequence number can be used to distinguish which reference time the current reference time is, such as T1, T2 or T3, etc., without causing confusion; wherein the preset statistical value can be selected accordingly according to the actual application scenario and is not limited, for example, it can be set to 1, and the value of the characteristic sequence number is not limited to addition, but can also be calculated by subtraction, multiplication and division by the same multiple, etc., which all fall within the protection scope of the embodiments of the present application.
- the start code block of the target message includes a second message field for filling in the characteristic sequence number; or, the start code block of the target message includes a second message field for filling in the characteristic sequence number and a third message field for filling in the time deviation information; or, the characteristic code block includes a second fault maintenance management code block for filling in the characteristic sequence number and the time deviation information; or, the characteristic code block includes a second start code block and a second end code block for filling in the characteristic sequence number and the time deviation information; or, the characteristic code block includes a second end code block and a second start code block for filling in the characteristic sequence number and the time deviation information.
- the sequence number When passing through the time reference position, the change is increased by 1, so that the reference position of the time reference can be obtained through the change of the serial number value.
- All customer messages and feature code blocks with the same serial number value belong to the messages and feature code blocks between the same time reference positions.
- the specific value of the change can be transmitted through some fields in the S code block. As shown in Figure 12, the byte 5 byte position of the S code block carries the changing feature value SQ. Since the customer message has a certain length, the exact position of the time reference cannot be determined.
- the S code block can also carry the deviation value of the time reference at the same time, which are the high bit of the deviation value and the low bit of the deviation value, respectively, as shown in Figure 13, so that the time reference position can be accurately calculated.
- the feature value and the deviation value of the reference time position can also be carried in the feature code block.
- the O code block is used as a feature code block
- the feature value and the time reference position deviation value can be carried.
- the S code block + T code block is used as a feature code block
- the feature value and the time reference position deviation value can be carried on the S code block or the T code block.
- the message transmission method may also include but is not limited to step S5000.
- Step S5000 When it is determined that the target message arrives at the reference time, suspend sending the target message until a flag message carrying a flag characteristic value is sent to the intermediate node at the reference time, wherein the flag characteristic value is used to indicate the reference time.
- the current target message can be interrupted, and the flag information carrying the flag characteristic value is sent to the intermediate node at the reference time, and the target message is continued to be sent after the flag information is sent, that is, by pausing the sending of the target message at the reference time, so that in this case, the reference time can still be indicated by sending the flag information at the reference time.
- the IEEE802.3 standard provides a standard for a high-priority message to interrupt a low-priority message being sent.
- FIG. 15 The implementation in the embodiment of the present application is shown in Figure 15, that is, if the client message has not been sent to the end when the reference time position is reached, the current client message is interrupted, a specific flag code block (i.e., the "flag block” shown in Figure 15) is inserted to send the flag information, and the time reference position is given after the sending is completed, and then the remaining client messages are continued to be sent.
- the IEEE802.3 standard has given the definition format of the two segments of the message when the client message is interrupted during transmission. The encapsulation format definition content of each segment can be found. This part belongs to the technical content well known to those skilled in the art and will not be elaborated on.
- Fig. 16 is a flow chart of a message transmission method provided by an embodiment of the present application. As shown in Fig. 16, the message transmission method can be applied to, but not limited to, the intermediate node 200 in the network system shown in Fig. 1, and can include but not limited to step S6000 and step S7000.
- Step S6000 receiving a target message carrying time deviation information sent by a source node
- Step S7000 Send a target message to a sink node, so that the sink node determines the time to send the target message to the user equipment according to the time deviation information.
- the intermediate node receives the target message carrying time deviation information sent by the upstream source node, so as to determine the time to send the target message to the destination node according to the time deviation information in the target message, and further enables the destination node to determine the time to send the target message to the user equipment according to the time deviation information, thereby locating the sending position of the service message and ensuring the deterministic forwarding of the service message.
- the time deviation information represents the deviation value between the time when the source node sends the target message and the reference time.
- the reference time can be multiple and set periodically.
- the time deviation information can be formally represented as the deviation value between the time when the source node sends the target message and any reference time. Since the reference time is periodic, when the time deviation information is determined, By determining the deviation between the time when the source node sends the target message and a reference time, the deviation between the time when the source node sends the target message and other reference times can also be determined accordingly.
- step S7000 includes but is not limited to step S7100 and step S7200.
- Step S7100 for any two adjacent reference times, a group of forwarding data message groups is generated according to all target messages between the adjacent reference times;
- Step S7200 within the same reference time, all target messages in a group of forwarding data message groups are sent to the sink node.
- all target messages between any two adjacent reference times are integrated into a group of forwarding data message groups for overall forwarding, that is, within the same reference time, all target messages in the forwarding data message group are sent to the destination node, and these target messages maintain their original sequence relationship, which can ensure the integrity of the forwarding transmission of multiple target messages and the deterministic forwarding of business messages.
- the intermediate device regards all client messages between adjacent time references as a forwarding data message group according to the time reference position and the distribution of client messages in the time reference position sequence, and regards all client messages between adjacent reference times as a forwarding data message group for overall forwarding. That is, when the receiving port is located between adjacent reference times, all messages of the forwarding data message group are uniformly forwarded, and the sending port is also forwarded between the same adjacent reference times.
- the intermediate device forwards the client message as a whole, it also forwards it sequentially.
- the overall message between the previous reference time and the overall message between the next reference time at the receiving end have a sequential relationship in the receiving time, and the same sequential relationship is maintained at the sending end.
- the overall message between the previous reference time at the receiving end is first sent at the sending end, and then the overall message between the next time reference is sent as a whole between the next time reference at the sending end, maintaining the same sequential relationship. For example, if the message between the T1 time reference and the T2 time reference of the receiving end is forwarded and output between the T5 time reference and the T6 time reference of the sending end, and so on, the message between the T2 time reference and the T3 time reference of the receiving end is forwarded and output between the T6 time reference and the T7 time reference of the sending end.
- Fig. 18 is a flow chart of a message transmission method provided by an embodiment of the present application. As shown in Fig. 18, the message transmission method can be applied to, but not limited to, the sink node 300 in the network system shown in Fig. 1, and can include but not limited to step S8000 and step S9000.
- Step S8000 receiving a target message carrying time deviation information sent by an intermediate node, wherein the target message is sent in advance by the source node to the intermediate node;
- Step S9000 Determine the time for sending the target message to the user equipment according to the time deviation information.
- the destination node receives the target message carrying the time deviation information sent by the intermediate node. Since the target message is sent from the source node to the intermediate node in advance, the destination node can determine the time to send the target message to the user equipment based on the time deviation information, thereby locating the location where the service message is sent and ensuring the deterministic forwarding of the service message.
- the time deviation information represents the deviation value between the time when the source node sends the target message and a reference time.
- the reference time can be multiple and periodically set.
- the time deviation information can be formally represented as the deviation value between the time when the source node sends the target message and any reference time. Since the reference time is periodic, when the deviation value between the time when the source node sends the target message and a reference time is determined, the deviation value between the time when the source node sends the target message and other reference times can also be determined accordingly.
- step S9000 includes but is not limited to step S9100.
- Step S9100 Determine the time for sending the target message to the user equipment according to the reference time and time deviation information of the source node.
- the time for sending the target message to the user equipment is determined according to the reference time and time deviation information of the source node, so as to locate the sending position of the service message and ensure the deterministic forwarding of the service message.
- step S9100 when there are multiple reference times and the multiple reference times are periodically distributed, step S9100 includes but is not limited to step S9110.
- Step S9110 Determine the time for sending the target message to the user equipment according to the time deviation information and a reference time preset corresponding to the time for the source node to send the target message.
- the host node since the messages are forwarded between different nodes in a corresponding manner, the host node, based on the received time deviation information, if it further determines a reference time corresponding to the preset time when the source node sends the target message, can determine the time for sending the target message to the user device, locate the location where the service message is sent, and ensure the deterministic forwarding of the service message.
- step S9100 includes but is not limited to step S9120 and step S9130.
- Step S9120 Generate the current reference time according to the reference time of the source node
- Step S9130 Determine the time for sending the target message to the user equipment according to the current reference time and the time deviation information.
- the sink node can generate the current reference time accordingly, and then determine the time to send the target message to the user equipment according to the current reference time and the time deviation information.
- step S9120 includes but is not limited to one of the following:
- the current reference time corresponds to the reference time of the source node in terms of timing
- the current reference time is generated according to the reference time of the source node
- the current reference time is generated according to the frequency and period of the reference time of the source node.
- the current reference time can be generated accordingly according to whether the current reference time corresponds to the reference time of the source node in timing, which can meet the application requirements of various business message forwarding scenarios, so as to realize the positioning of the business message sending position and ensure the deterministic forwarding of the business message.
- "T" in Figure 21 represents the difference between adjacent reference times.
- the receiving port of the intermediate node device i.e., the intermediate node
- receives the time reference information sent by the upstream device and the time reference position is determined by the upstream device.
- the time reference position is determined by the upstream device.
- the sending port of this device when sending customer services, it is also necessary to generate and send a time reference.
- the device has two reference time generation modes: Mode 1, the time reference of the sending port and the time reference received by the receiving port are completely consistent in time.
- Mode 2 the time reference position received by the receiving port appears, the sending port also sends the time reference position.
- the sending port generates the sending port time reference position according to the time reference position from the upstream receiving port;
- Mode 2 the time reference of the sending port and the time reference position received by the receiving port have no relationship, that is, there is no need for position alignment, and the sending port generates the time reference position alone, which is equivalent to introducing the "time reference unit" shown in Figure 21, but the frequency of occurrence of the time reference of the sending port is consistent with the frequency of occurrence of the time reference position of the receiving port, the frequency of occurrence of the time reference is the same, and the time reference period is the same.
- each device sending port generates the time reference position of each device according to the same period.
- step S9100 also includes but is not limited to step S9200.
- Step S9200 When it is the predetermined time to send the target message to the user equipment, send the target message to the user equipment.
- the destination node determines the time to send the target message to the user device based on the time reference and the current reference time, it forwards the output target message to the user device at the determined sending time, so that the forwarding time of the target message is consistent with the time when the source node sends the target message, thereby realizing deterministic transmission of the target message.
- a process for implementing service deterministic delay forwarding is as follows: when a client message is sent on a source device in the network (device 1 as shown in FIG. 23 ), a code block indicating time reference information is sent at the same time, and the message position deviation value (i.e., time deviation information) of the current message from the previous time reference is carried in the client message.
- “T1", “T2", “T3”, etc. in FIG. 23 represent different reference times respectively, and "T” represents the difference between adjacent reference times.
- the message position deviation value can be carried on the second-layer VLAN position or the third-layer IP layer encapsulation of the service message.
- the message position deviation value gives the deviation position value of the service message sending time of the source node from the time reference.
- the message position deviation value is not perceived when passing through the network intermediate device (device 2 as shown in FIG. 23 ), and is directly transmitted through, and is retained in the message content until it is transmitted to the last destination device in the network (device 3 as shown in FIG. 23 ).
- the destination node and the intermediate node are different.
- the destination node extracts the time deviation information carried in the business message, determines the sending time of the message based on the reference time and the time deviation information, and forwards the message at the determined sending time to achieve deterministic transmission of the business message.
- FIG25 is a schematic diagram of the structure of a communication device provided by an embodiment of the present application.
- the communication device includes a memory 1100 and a processor 1200.
- the number of memories 1100 and processors 1200 may be one or more, and FIG25 takes one memory 1100 and one processor 1200 as an example; the memory 1100 and processor 1200 in the device may be connected via a bus or other means, and FIG25 takes the connection via a bus as an example.
- the memory 1100 is a computer-readable storage medium that can be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the message transmission method provided in any embodiment of the present application.
- the processor 1200 implements the above-mentioned message transmission method by running the software programs, instructions, and modules stored in the memory 1100.
- the memory 1100 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function.
- the memory 1100 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device.
- the memory 1100 may further include a memory remotely arranged relative to the processor 1200, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- An embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the message transmission method provided in any embodiment of the present application.
- An embodiment of the present application further provides a computer program product, including a computer program or a computer instruction, wherein the computer program or the computer instruction is stored in a computer-readable storage medium, a processor of a computer device reads the computer program or the computer instruction from the computer-readable storage medium, and the processor executes the computer program or the computer instruction, so that the computer device executes A message transmission method as provided in any embodiment of the present application.
- the message transmission method sends a target message carrying time deviation information to an intermediate node, so that the intermediate node determines the time when the intermediate node sends the target message according to the time deviation information, so as to forward the target message at the determined time position, thereby realizing deterministic time forwarding of business messages and ensuring communication quality.
- the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation.
- Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit.
- a processor such as a central processing unit, a digital signal processor or a microprocessor
- Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium).
- computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data).
- Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer.
- communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
- a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer.
- applications running on a computing device and a computing device can be components.
- One or more components may reside in a process or an execution thread, and a component may be located on a computer or distributed between two or more computers.
- these components may be executed from various computer-readable media having various data structures stored thereon.
- Components may communicate, for example, through a local or remote process based on a signal having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems through signals).
- a signal having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems through signals).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请实施例提供了一种报文传输方法、通信设备、存储介质及程序产品,其中,报文传输方法包括:向中间节点发送携带有时间偏差信息的目标报文,使得中间节点根据时间偏差信息确定中间节点发送目标报文的时间(S1000)。
Description
相关申请的交叉引用
本申请基于申请号为202211191278.2、申请日为2022年09月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本申请实施例涉及通信技术领域,尤其涉及一种报文传输方法、通信设备、计算机存储介质及计算机程序产品。
通讯网络是信息时代的高速公路,日益增长的客户需求不断促使通讯网络发生变化。相关技术中,以太网技术实现传递客户信息,在工业产线、车辆系统等领域得到大量应用,但是以太网技术仅基于尽力而为的方式传递客户信息,无法保证客户信息准确传递时延和抖动,影响通信质量。
发明内容
本申请实施例提供一种报文传输方法、通信设备、计算机存储介质及计算机程序产品。
第一方面,本申请实施例提供一种报文传输方法,包括:向中间节点发送携带有时间偏差信息的目标报文,使得所述中间节点根据所述时间偏差信息确定所述中间节点发送所述目标报文的时间。
第二方面,本申请实施例提供一种报文传输方法,包括:接收由源节点发送的携带有时间偏差信息的目标报文;向宿节点发送所述目标报文,使得所述宿节点根据所述时间偏差信息确定向用户设备发送所述目标报文的时间。
第三方面,本申请实施例提供一种报文传输方法,包括:接收由中间节点发送的携带有时间偏差信息的目标报文,其中,所述目标报文预先由源节点向所述中间节点发送;根据所述时间偏差信息确定向用户设备发送所述目标报文的时间。
第四方面,本申请实施例提供一种通信设备,包括:至少一个处理器;至少一个存储器,用于存储至少一个程序;当至少一个所述程序被至少一个所述处理器执行时实现如前面所述的报文传输方法。
第五方面,本申请实施例提供一种计算机可读存储介质,其中存储有处理器可执行的程序,所述处理器可执行的程序被处理器执行时用于实现如前面所述的报文传输方法。
第六方面,本申请实施例提供一种计算机程序产品,包括计算机程序或计算机指令,所述计算机程序或所述计算机指令存储在计算机可读存储介质中,计算机设备的处理器从所述计算机可读存储介质读取所述计算机程序或所述计算机指令,所述处理器执行所述计算机程序或所述计算机指令,使得所述计算机设备执行如前面所述的报文传输方法。
图1是本申请一实施例提供的用于执行报文传输方法的网络系统的示意图;
图2是本申请实施例提供的一种以太网报文的示意图;
图3是本申请一实施例提供的报文传输方法的流程图;
图4是本申请一实施例提供的报文传输方法中,发送基准时间位置的示意图;
图5是本申请一实施例提供的目标报文和基准时间之间的位置关系示意图;
图6是本申请一实施例提供的作为标志码块的O码块的结构示意图;
图7是本申请一实施例提供的作为标志码块的S码块+T码块的结构示意图;
图8是本申请一实施例提供的以太网编码后S码块的结构示意图;
图9是本申请一实施例提供的携带报文头时间信息的S码块的结构示意图;
图10是本申请另一实施例提供的报文传输方法的流程图;
图11是本申请一实施例提供的报文传输方法中,在所有位置发送特征码块或目标报文的示意图;
图12是本申请一实施例提供的携带序列号值的S码块的结构示意图;
图13是本申请一实施例提供的携带序列号值、时间基准位置偏差值的S码块的结构示意图;
图14是本申请一实施例提供的携带序列号值、时间基准位置偏差值的特征码块的结构示意图;
图15是本申请另一实施例提供的报文传输方法中,发送基准时间位置的示意图;
图16是本申请另一实施例提供的报文传输方法的流程图;
图17是本申请一实施例提供的报文传输方法中,向宿节点发送目标报文的流程图;
图18是本申请另一实施例提供的报文传输方法的流程图;
图19是本申请一实施例提供的报文传输方法中,根据时间偏差信息确定向用户设备发送目标报文的时间的流程图;
图20是本申请一实施例提供的报文传输方法中,根据源节点的基准时间和时间偏差信息确定向用户设备发送目标报文的时间的流程图;
图21是本申请一实施例提供的报文传输方法中,产生基准时间位置的示意图;
图22是本申请一实施例提供的报文传输方法中,确定向用户设备发送目标报文的时间之后的流程图;
图23是本申请一实施例提供的业务报文确定性转发过程的示意图;
图24是本申请一实施例提供的携带报文位置偏差值的业务报文的结构示意图;
图25是本申请一实施例提供的一种通信设备的结构示意图。
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的实施例仅用以解释本申请,并不用于限定
本申请。
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
本申请实施例中,“进一步地”、“示例性地”或者“可选地”等词用于表示作为例子、例证或说明,不应被解释为比其它实施例或设计方案更优选或更具有优势。使用“进一步地”、“示例性地”或者“可选地”等词旨在呈现相关概念。
通讯网络是信息时代的高速公路,客户需求促使通讯网络发生变化,相关技术中的以太网技术基于采用尽力而为的方式传递客户信息,无法保证客户信息的传递时延和抖动需求,相关技术中的以太网设备采用存储转发模式处理报文,报文在设备内需要进行查表、解析、限速、入队、缓存、调度等多个功能模块,设备中所有物理端口的报文共享这些资源模块,因此每个物理端口的报文获得这些功能模块的服务时间是不确定的,完成处理的时间不固定,导致报文在每台设备内部的延迟时间不确定。随着以太网技术在工业生产线、车辆内大量使用,对客户报文的传递质量提出很高的要求,而相关技术中的以太网技术基于尽力而为的思想转发报文,无法保证特定应用场景中有界端到端延迟、抖动的特性要求。为了解决报文延迟时间和抖动,需要确定的报文延迟变化情况,为此本申请为报文传递位置提供时间参考基准,以便于基于该时间参考基准实现报文的确定性转发。可以理解地是,在速度确定的情况下,时间与速度的乘积即为距离,因此本申请所的传输方式也可以看做提供位置参考基准,称为位置基准的传递方式,其原理与时间参考基准一致,为免冗余,在本申请以下各描述中仅以时间参考基准为例进行说明,但这并不作为对本申请的保护范围的一种限制。
基于此,本申请提供一种报文传输方法、通信设备、存储介质及程序产品,其中,报文传输方法向中间节点发送携带有时间偏差信息的目标报文,使得中间节点根据时间偏差信息确定中间节点发送目标报文的时间,以便于在所确定的时刻位置转发目标报文,实现业务报文的确定性时刻转发,保证了通信质量。
本申请实施例的技术方案可以应用于各种通信系统,例如:宽带码分多址移动通信系统(wideband code division multiple access,WCDMA)、演进的全球陆地无线接入网络(evolved universal terrestrial radio access network,E-UTRAN)系统、下一代无线接入网络(next generation radio access network,NG-RAN)系统、长期演进(long term evolution,LTE)系统、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、第五代(5th Generation,5G)系统、如新一代无线接入技术(new radio access technology,NR)、及未来的通信系统,如6G系统等。
本申请实施例的技术方案可以应用于各种通信技术,例如微波通信、光波通信、毫米波通信等。本申请实施例对采用的技术和设备形态不做限定。
图1是本申请一实施例提供的用于执行报文传输方法的网络系统的示意图,该网络系统包括源节点100、中间节点200以及宿节点300,源节点100向中间节点200转发客户报文,中间节点200进一步向宿节点300转发客户报文,宿节点300与外部的用户设备连接,用于
向用户设备转发客户报文。需要说明的是,“节点”可以为网络设备、设备组或设备系统等,此处不限定;中间节点200的数目可以为多个,各个中间节点200的工作原理相同,为免冗余,图1所示的网络系统及以下相关实施例中仅以一个中间节点200进行示意及说明,但这不应理解为对本申请实施例的一种限制。
在一实施例中,用户设备可以称为接入终端、用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、无线通信设备、用户代理或用户装置。例如,用户设备可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络或者未来5G以上网络中的终端设备等,本实施例对此并不作限定。
图2是本申请实施例提供的一种以太网报文的示意图,每个以太网报文经过64/66编码后由起始码块(也称S码块或S块)、若干个数据码块(也称D码块或D块)和结束码块(也称T码块或T块)组成,D码块的数量n不限定。相关技术中的电气与电子工程师协会(Institute of Electrical and Electronics Engineers,IEEE)8.2.3标准制定了64/66编码规则,在IEEE802.3标准中T码块有8种不同类型:T0、T1、T2、T3、T4、T5、T6、T7,其中T0块中不承载任何客户内容,T1块中承载1个字节的客户内容,T2块中承载2个字节的客户内容,以此类推,T7块中承载7个字节的客户内容。除了这三种码块外,还可以有空闲码块(也称I码块或I块)、故障维护管理码块(也称O码块或O块)。
图3为本申请一实施例提供的报文传输方法的流程图。如图3所示,该报文传输方法可以但不限于应用于图1所示网络系统中的源节点100,可以包括但不限于步骤S1000。
步骤S1000:向中间节点发送携带有时间偏差信息的目标报文,使得中间节点根据时间偏差信息确定中间节点发送目标报文的时间。
本步骤中,源节点通过向下游的中间节点发送携带有时间偏差信息的目标报文,使得中间节点根据目标报文中的时间偏差信息确定向宿节点发送目标报文的时间,实现业务报文发送位置的定位,保证业务报文的确定性转发。
在一实施例中,时间偏差信息表征目标报文的发送时间与基准时间的偏差值,一种情况下为,基准时间可以为多个且呈周期性设置,时间偏差信息在形式上可以表征为目标报文的发送时间与任意一个基准时间的偏差值,由于基准时间为周期性的,因此当确定目标报文的发送时间与一个基准时间的偏差值,那么也可以相应地确定目标报文的发送时间与其他基准时间的偏差值。
在一实施例中,中间节点发送目标报文的时间由基准时间和时间偏差信息确定。
在一实施例中,当基准时间为多个,多个基准时间呈周期性分布,中间节点发送目标报文的时间由时间偏差信息和与目标报文的发送时间预设对应的一个基准时间确定,其中,与目标报文的发送时间预设对应的一个基准时间可以根据具体情形进行选择,例如,可以为距目标报文的发送时间最近的一个基准时间,或者为距目标报文的发送时间次近的一个基准时间等,以此类推;也就是说,源节点的发送端口在发送客户报文时可以周期性地发送基准时
间,由于发送的客户报文中涵盖了报文发送时间距离基准时间的报文位置信息,使得后续节点能够进一步根据客户报文定位出报文的准确位置,以便于根据基准时间和报文携带的时间偏差信息在确定时刻位置转发客户报文,实现客户业务的确定性时刻转发。
本申请的一个实施例,报文传输方法还可以包括但不限于步骤S2000。
步骤S2000:在基准时间向中间节点发送携带有标志特征值的标志信息,其中,标志特征值用于指示基准时间。
本步骤中,源节点通过在基准时间位置向中间节点发送携带有标志特征值的标志信息,使得中间节点通过接收到的标志信息中的标志特征值确定基准时间的位置,结合由源节点发送的携带有时间偏差信息的目标报文,时间偏差信息表征目标报文的发送时间与基准时间的偏差值,因此可以基于所确定的基准时间的位置和时间偏差信息而确定发送目标报文的时间。
在一实施例中,标志信息包括用于填充标志特征值的标志码块,标志码块包括以下之一:第一O码块;或第一S码块和第一T码块。
需要说明的是,标志码块是填充标志特征值的一个码块或一组码块集合,通过识别标志码块的标志特征值可以判断其为表征基准时间位置的标志码块。
在一实施例中,在步骤S2000的应用场景中,源节点所要发送的目标报文并未跨越该基准时间的位置,如图4所示,在该基准时间仅向中间节点发送标志码块(即图4中所示的“标志块”),保证中间节点接收到标志信息。以太网报文经过编码后通过物理端口发送出去,由于报文发送时刻不确定,无法确定报文的延迟时间。源节点的物理端口在发送报文时,如果同时发送与报文关联的标志信息和携带于报文中的时间偏差信息,如图5所示,基准时间以周期性的形式(周期为T)出现,每个客户报文的发送时间与基准时间之间的相对位置可以用于确定每个客户报文的发送位置关系,例如,图5中报文1位于基准时间的标志T1和T2之间,报文2位于基准时间的标志T2和T3之间,报文3、报文4位于基准时间的标志T3和T4之间,报文5、报文6位于基准时间的标志T4和T5之间,报文7、报文8位于基准时间的标志T5和T6之间,考虑在每个设备中转发送客户报文时,客户报文和时间基准之间始终保持同样的位置对应关系,则客户报文在网络传递时能够保持稳定延迟时间,延迟抖动小于周期T,实现确定性业务转发。在一种情况下,在每个报文中携带报文距离时间基准的报文位置偏差值α,以之作为时间偏差信息所表征的偏差值,那么报文1的报文位置偏差值为α1,报文2的报文位置偏差值为α2,以此类推,报文8的报文位置偏差值为α8。在报文对应的宿节点处,在确定时间基准位置后,根据接收到的报文携带的报文位置偏差值α,则可以在对应确定的时刻位置上发送报文,从而将报文在期望时刻发送出去,报文的延迟抖动理论上可以降低为0,实现抖动更小的业务确定性传递。
在一实施例中,当标志码块包括第一O码块,第一O码块至少包括如下之一:用于填充标志特征值的第一字段,其中,当第一字段中存在目标字节或比特组,在目标字节填充标志特征值或比特组,目标字节或比特组为未使用或未被申请使用的字节或比特组合;或用于填充标志特征值的第二字段,其中,当第二字段取值不为第一预设值,第二字段填充标志特征值。例如,在IEEE802.3标准中,一种O码块的结构如图6所示,O码块前2个比特值为10,byte1位置的控制字内容是0x4B,byte2-4位置是3个字节的数据:D1、D2、D3,byte5的前
半个字节(4个比特)内容是码块序列值O0,4个比特可以表示16种不同数值内容,当前标准中已经确定0x0、0x1、0x2、0x5、0xF这些内容被使用,0xC值也正在被申请使用,其他数值都未被使用,可以定义其他值作为标志码块的标志特征值,比如采用O0序列值为0x8的值作为特定标志的O码块,该特定标志的O码块作为标志码块。在IEEE802.3标准中,O码块中byte5的后半个字节、byte6-8字节全部为预设值0,在应用中也可以将O码块中byte5的后半个字节、byte6-8字节内容设置为其他非0值,以之作为特定标志,用来表示特定的O码块作为标志码块。需要说明的是,第一预设值,例如上述示例中的“0”,此处不作限定,可以根据具体情况进行选择设置。
在一实施例中,如图7所示,采用S码块+T码块作为标志码块时,T码块可以但不限于采用T0类型作为示例,也可以采用其他类型的T码块,此处不限定。由于以太网长度至少为48字节(一般为64字节以上),经过64/66编码后以太网报文由S码块、至少6个D码块和T码块组成,因此S码块+T码块不符合以太网报文长度需求,但是可以作为填充标志特征值的特定的标志码块。
在一实施例中,在目标报文的发送时间跨越基准时间的情况下,目标报文还携带与报文头对应的报文头时间信息,报文头时间信息和时间偏差信息用于中间节点确定基准时间。
在一实施例中,报文头时间信息表征目标报文的报文头的发送时间与基准时间的偏差值,在这种情形下,源节点通过发送目标报文同时发送了报文头时间信息,以使得中间节点根据报文头时间信息和时间偏差信息确定相应的基准时间,也就是说,如果客户报文发送时正好跨越基准时间,即在该基准时间位置上正在发送客户报文,此时不发送基准时间对应的标志码块,在该场景下可以将客户报文头部作为临时参考位置,将客户报文头部的发送时刻和基准时间之间的偏差值携带在客户报文头部发送出去,接收端在提取出报文头部的偏差值之后,根据客户报文携带的偏差值和可以确定的报文头部位置,就可以推算出基准时间的真实位置。如图4所示,T3时刻位置为基准时间位置,但正在发送客户报文2,根据客户报文2的头部位置和时间基准位置获得时间基准位置偏置值Δ1,将时间基准位置偏置值Δ1携带在客户报文头部位置发送出去,在接收端根据报文头部位置和时间基准位置偏置值Δ1,可以推算出真实的时间基准位置T3,以此类推,在T4时刻报文4携带时间基准位置偏置值Δ2,在T5时刻报文5携带时间基准位置偏置值Δ3,在T6时刻报文6携带时间基准位置偏置值Δ4。在这种情况下,即使发送报文跨越基准时间位置,可以在报文头部携带报文头部位置距离预设的时间基准位置的偏差值,从而实现即使有客户报文跨越时间基准位置也能传递基准时间。
在一实施例中,报文头时间信息包括如下之一:
时间参数信息;或
码块数量信息。
其中,时间参数信息表征报文头部位置距离预设的基准时间位置的时间差值,例如可以表征报文头部位置距离最近的一个基准时间位置的时间差值;码块数量信息表征报文头部位置距离预设的基准时间位置之间间隔的码块数量,例如可以表征报文头部位置距离最近的一个基准时间位置之间间隔的码块数量。
在一实施例中,目标报文的起始码块包括用于填充时间参数信息或码块数量信息的第一
报文字段,其中,当第一报文字段取值不为第二预设值,第一报文字段填充时间参数信息或码块数量信息。以太网报文进行64/66编码后,报文结构由S码块+若干个D码块+T码块组成,其中S码块是首个码块,一种S码块的内容如图8所示,S码块中前2个比特是同步头比特为“10”,字节byte1内容控制字,内容为“0x78”;字节byte2-byte8的内容是“0x55”,内容是帧前导码字节内容;字节byte8内容是“0xD5”,是帧定界符字节内容。IEEE802.3标准定义的S码块中byte2-byte8内容可以是任何数据内容,以太网报文在byte2-byte8这7个字节位置承载前导码和帧定界符,内容为固定值。在应用中也可以将byte2-byte8的部分字节位置承载其他特殊信息内容,如图9中所示的特定标志内容,byte6-byte7用来承载时间基准位置偏差值,分别为偏差值高位和偏差值低位,在这种情况下,若byte6-byte7内容如果不为0x55,则表示该值是时间基准位置偏差值。以太网最大报文长度为9600字节,理论上需要1200个D码块(一个D码块中8个字节)承载。如果偏差值为表示偏差的码块数量值时,则byte6-byte7的内容范围不大于1200,偏差值最大值不会达到21845(即十六进制的0x5555),byte6-byte7值的内容只要小于或等于1200,则表示byte6-byte7为时间基准位置偏差值。
如图10所示,本申请的一个实施例,报文传输方法还可以包括但不限于步骤S3000和步骤S4000。
步骤S3000:在没有目标报文发送的时间段内,向中间节点发送填充有特征信息的特征码块;
步骤S4000:在目标报文发送的时间段内,向中间节点发送填充有特征信息和时间偏差信息的目标报文。
本步骤中,如图11所示,可以在所有位置发送特征码块(即图11中所示的“标志块”)或携带特征信息的目标报文(即图11中所示的报文1、报文2、报文3、报文4、报文5、报文6等),以实现持续性地传递时间基准信息,进而通过时间信息的变化位置确定基准时间的位置,即当没有客户报文需要发送时,则持续发送特定的特征码块,在特征码块中携带特定的特征信息;当有客户报文需要发送时,则只需在客户报文的码块中携带特定的特征信息。
在一实施例中,特征信息包括特征序列号,特征序列号与基准时间对应;在向中间节点持续发送特征码块和目标报文的过程中,每经过一个基准时间,特征序列号的取值加上一个预设统计值,也就是说,经过不同基准时间的特征序列号的值为不同的,因此可以通过特征序列号的值来区分目前的基准时间为第几个基准时间,比如为T1、T2还是T3等,不会产生混淆;其中,预设统计值可以根据实际应用场景进行相应选择,并不限定,例如可以设定为1,特征序列号的取值不仅仅局限于相加,也可以采用相减,同倍数乘、除等方式进行取值计算,这均属于本申请实施例的保护范围之内。
在一实施例中,目标报文的起始码块包括用于填充特征序列号的第二报文字段;或者,目标报文的起始码块包括用于填充特征序列号的第二报文字段和用于填充时间偏差信息的第三报文字段;或者,特征码块包括用于填充特征序列号和时间偏差信息的第二故障维护管理码块;或者,特征码块包括第二起始码块、用于填充特征序列号和时间偏差信息的第二结束码块;或者,特征码块包括第二结束码块、用于填充特征序列号和时间偏差信息的第二起始码块。例如,假设特征码块或客户报文携带的特定信息为序列号值(sequence,SQ),序列号
经过时间基准位置时进行加1变化,这样通过序列号值的变化就可以获得时间基准的参考位置,序列号值相同的所有客户报文、特征码块都属于同一前后时间基准位置之间的报文、特征码块。对于客户报文,可以通过S码块中部分字段传递变化的特定值,如图12所示,在S码块的byte5字节位置携带变化的特征值SQ。由于客户报文有一定长度,无法确定时间基准的准确位置,在S码块中除了携带特征值SQ之外,也可以同时携带时间基准的偏差值,分别为偏差值高位和偏差值低位,如图13所示,这样能够准确计算出时间基准位置。类似地,在特征码块中也可以携带特征值、基准时间位置的偏差值,如图14所示,O码块作为特征码块时可以携带特征值、时间基准位置偏差值,S码块+T码块作为特征码块时可以在S码块或T码块上携带特征值、时间基准位置偏差值。
本申请的一个实施例,报文传输方法还可以包括但不限于步骤S5000。
步骤S5000:在确定目标报文到达基准时间的情况下,暂停发送目标报文,直到在基准时间向中间节点发送携带有标志特征值的标志信息,其中,标志特征值用于指示基准时间。
本步骤中,当目标报文跨越基准时间发送时间偏差信息时,可以打断当前的目标报文的发送,而是在基准时间向中间节点发送携带有标志特征值的标志信息,待发送标志信息之后再继续发送目标报文,也就是说,通过在基准时间暂停发送目标报文,使得在这种情况下仍然可以采用在基准时间发送标志信息的方式来指示基准时间。例如,IEEE802.3标准中提供了一种高优先级报文打断正在发送的低优先级报文的标准。当一个低优先级报文正在发送且尚未发送结束时,如果高优先级报文达到需要发送,则暂停发送低优先级报文,插入发送高优先级报文,当高优先级报文发送结束后再继续发送剩余的低优先级报文。在本申请实施例中的实现情况如图15所示,即如果基准时间位置到达时,客户报文尚未发送结束,则中断当前的客户报文发送,插入特定的标志码块(即图15中所示的“标志块”)以发送标志信息,发送完成之后给出时间基准位置,然后再继续发送剩余的客户报文。在IEEE802.3标准中已经给出了客户报文发送时被打断的情况下前后两段报文的定义格式,可以查阅到每个片段的封装格式定义内容,这部分属于本领域技术人员所熟知的技术内容,不作赘述。
图16为本申请一实施例提供的报文传输方法的流程图。如图16所示,该报文传输方法可以但不限于应用于图1所示网络系统中的中间节点200,可以包括但不限于步骤S6000和步骤S7000。
步骤S6000:接收由源节点发送的携带有时间偏差信息的目标报文;
步骤S7000:向宿节点发送目标报文,使得宿节点根据时间偏差信息确定向用户设备发送目标报文的时间。
本步骤中,中间节点通过接收由上游的源节点发送的携带有时间偏差信息的目标报文,以便于根据目标报文中的时间偏差信息确定向宿节点发送目标报文的时间,进一步使得宿节点根据时间偏差信息确定向用户设备发送目标报文的时间,实现业务报文发送位置的定位,保证业务报文的确定性转发。
在一实施例中,时间偏差信息表征源节点发送目标报文的时间与基准时间的偏差值,一种情况下为,基准时间可以为多个且呈周期性设置,时间偏差信息在形式上可以表征为源节点发送目标报文的时间与任意一个基准时间的偏差值,由于基准时间为周期性的,因此当确
定源节点发送目标报文的时间与一个基准时间的偏差值,那么也可以相应地确定源节点发送目标报文的时间与其他基准时间的偏差值。
如图17所示,本申请的一个实施例,当基准时间为多个,多个基准时间呈周期性分布,步骤S7000包括但不限于步骤S7100和步骤S7200。
步骤S7100:对于任意相邻两个基准时间,根据处于相邻基准时间之间的所有目标报文,生成一组转发数据报文组;
步骤S7200:在同一个基准时间内,向宿节点发送一组转发数据报文组中的所有目标报文。
本步骤中,将任意相邻两个基准时间之间的所有目标报文整合为一组转发数据报文组进行整体转发,即在同一个基准时间内,向宿节点发送转发数据报文组中的所有目标报文,且使得这些目标报文保持其原有的顺序关系,可以确保多个目标报文转发传输的整体性,保证业务报文的确定性转发。
在一实施例中,对于中间设备,在确定所有时间基准位置后,根据时间基准位置和客户报文在时间基准位置序列中的分布情况,将相邻时间基准之间的所有客户报文作为一个转发数据报文组,将相邻基准时间之间的所有客户报文当成一个转发数据报文组进行整体转发。也就是说,在接收端口位于相邻基准时间之间则统一转发数据报文组的所有报文,在发送端口也在同一相邻基准时间之间转发出去。中间设备在进行客户报文整体转发时,也进行顺序转发,在接收端前一个基准时间之间的整体报文和后一个基准时间之间的整体报文在接收时间上具备顺序关系,在发送端也保持同样的顺序关系,接收端前一个基准时间之间的整体报文在发送端先发送,然后后一个时间基准之间的整体报文在发送端在一下时间基准之间进行整体发送,保持同样的顺序关系。例如,如果接收端T1时间基准和T2时间基准之间的报文在发送端的T5时间基准和T6时间基准之间转发输出,以此类推,则接收端T2时间基准和T3时间基准之间的报文在发送端的T6时间基准和T7时间基准之间转发输出。
图18为本申请一实施例提供的报文传输方法的流程图。如图18所示,该报文传输方法可以但不限于应用于图1所示网络系统中的宿节点300,可以包括但不限于步骤S8000和步骤S9000。
步骤S8000:接收由中间节点发送的携带有时间偏差信息的目标报文,其中,目标报文预先由源节点向中间节点发送;
步骤S9000:根据时间偏差信息确定向用户设备发送目标报文的时间。
本步骤中,宿节点通过接收由中间节点发送的携带有时间偏差信息的目标报文,由于目标报文预先由源节点向中间节点发送,因此宿节点可以根据时间偏差信息确定向用户设备发送目标报文的时间,实现业务报文发送位置的定位,保证业务报文的确定性转发。
在一实施例中,时间偏差信息表征源节点发送目标报文的时间与基准时间的偏差值,一种情况下为,基准时间可以为多个且呈周期性设置,时间偏差信息在形式上可以表征为源节点发送目标报文的时间与任意一个基准时间的偏差值,由于基准时间为周期性的,因此当确定源节点发送目标报文的时间与一个基准时间的偏差值,那么也可以相应地确定源节点发送目标报文的时间与其他基准时间的偏差值。
如图19所示,本申请的一个实施例,步骤S9000包括但不限于步骤S9100。
步骤S9100:根据源节点的基准时间和时间偏差信息,确定向用户设备发送目标报文的时间。
本步骤中,根据源节点的基准时间和时间偏差信息,确定向用户设备发送目标报文的时间,可以实现业务报文发送位置的定位,保证业务报文的确定性转发。
本申请的一个实施例,当基准时间为多个,多个基准时间呈周期性分布,步骤S9100包括但不限于步骤S9110。
步骤S9110:根据时间偏差信息和与源节点发送目标报文的时间预设对应的一个基准时间,确定向用户设备发送目标报文的时间。
本步骤中,由于报文在不同节点之间进行转发是对应发送的,因此宿节点在接收到时间偏差信息的基础上,若进一步确定源节点发送目标报文的时间预设对应的一个基准时间,则可以确定向用户设备发送目标报文的时间,实现业务报文发送位置的定位,保证业务报文的确定性转发。
如图20所示,本申请的一个实施例,步骤S9100包括但不限于步骤S9120和步骤S9130。
步骤S9120:根据源节点的基准时间生成当前基准时间;
步骤S9130:根据当前基准时间和时间偏差信息,确定向用户设备发送目标报文的时间。
本步骤中,在确定源节点的基准时间的基础上,宿节点可以据此对应生成当前基准时间,进而根据当前基准时间和时间偏差信息,确定向用户设备发送目标报文的时间。
本申请的一个实施例,步骤S9120包括但不限于如下之一:
当当前基准时间与源节点的基准时间在时序上对应相同,根据源节点的基准时间对应生成当前基准时间;或
当当前基准时间与源节点的基准时间在时序上对应不相同,根据源节点的基准时间的频率、周期对应生成当前基准时间。
本步骤中,根据当前基准时间与源节点的基准时间在时序上是否对应相同,可以相应地生成当前基准时间,能够符合多种业务报文转发场景的应用需求,以便于实现业务报文发送位置的定位,保证业务报文的确定性转发。如图21所示,图21中的“T”表征相邻基准时间之间的差值,在一种示例中,中间节点设备(即中间节点)的接收端口接收上游设备发送的时间基准信息,时间基准位置由上游设备决定。在本台设备的发送端口,发送客户业务时也需要生成时间基准并发送出去,设备有两种基准时间生成模式:方式1、发送端口的时间基准和接收端口接收的时间基准在时刻上完全一致,接收端口接收的时间基准位置出现时,发送端口也在发送时间基准位置,发送端口根据来自上游接收端口的时间基准位置生成发送端口时间基准位置;方式2、发送端口的时间基准和接收端口接收的时间基准位置没有关系,即不需要位置对齐,发送端口独自生成时间基准位置,即相当于引入了如图21中所示的“时间基准单元”,但发送端口的时间基准出现频率和接收端口的时间基准位置出现频率一致,时间基准出现的频率相同,时间基准周期相同。需要说明的是,在方式2场景下,在实现配置上要求所有设备的时钟频率一致,上、下游设备之间时钟信号锁定,在时钟频率一致的情况,每台设备发送端口按照相同周期生成各自设备的时间基准位置。
如图22所示,本申请的一个实施例,步骤S9100之后还包括但不限于步骤S9200。
步骤S9200:当处于预确定的向用户设备发送目标报文的时间,向用户设备发送目标报文。
本步骤中,当宿节点根据时间基准和当前基准时间确定向用户设备发送目标报文的时间之后,在确定的发送时刻转发输出目标报文至用户设备,这样目标报文的转发时刻与源节点发送目标报文的时刻一致,从而实现目标报文的确定性传输。
在一实施例中,一种实现业务确定性时延转发过程如下所示:在网络中的源设备(如图23所示的设备1)上发送客户报文时,同时发送指示时间基准信息的码块,同时在客户报文中携带本报文距离前一个时间基准的报文位置偏差值(即时间偏差信息),图23中的“T1”、“T2”、“T3”等分别表示不同的基准时间,“T”表征相邻基准时间之间的差值。报文位置偏差值可以承载在业务报文的二层VLAN位置或三层IP层封装上,如图24所示的业务报文的位置偏差值设置在三层IP标签的扩展位置(即如图24中所示的“扩展头”),也可以放在伪线标签、隧道标签等各类标签上,报文位置偏差值给出源节点的业务报文发送时刻距离时间基准的偏差位置值,报文位置偏差值在经过网络中间设备(如图23所示的设备2)不被感知,直接透传,一直保留在报文内容中传到网络中的最后的宿点设备(如图23所示的设备3)。
在一实施例中,在进行业务报文转发时,宿节点和中间节点有所不同,宿节点提取业务报文中携带的时间偏差信息,根据基准时间和时间偏差信息确定报文的发送时刻,在确定的发送时刻转发输出,实现业务报文的确定性传输。
图25是本申请一实施例提供的一种通信设备的结构示意图。如图25所示,该通信设备包括存储器1100、处理器1200。存储器1100、处理器1200的数量可以是一个或多个,图25中以一个存储器1100和一个处理器1200为例;设备中的存储器1100和处理器1200可以通过总线或其他方式连接,图25中以通过总线连接为例。
存储器1100作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本申请任一实施例提供的报文传输方法对应的程序指令/模块。处理器1200通过运行存储在存储器1100中的软件程序、指令以及模块实现上述报文传输方法。
存储器1100可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序。此外,存储器1100可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件或其他非易失性固态存储器件。在一些实例中,存储器1100可进一步包括相对于处理器1200远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
本申请一实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,该计算机可执行指令用于执行如本申请任一实施例提供的报文传输方法。
本申请一实施例还提供了一种计算机程序产品,包括计算机程序或计算机指令,计算机程序或计算机指令存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取计算机程序或计算机指令,处理器执行计算机程序或计算机指令,使得计算机设备执
行如本申请任一实施例提供的报文传输方法。
根据本申请实施例提供的报文传输方法、通信设备、存储介质及程序产品,其中,报文传输方法向中间节点发送携带有时间偏差信息的目标报文,使得中间节点根据时间偏差信息确定中间节点发送目标报文的时间,以便于在所确定的时刻位置转发目标报文,实现业务报文的确定性时刻转发,保证了通信质量。
本申请实施例描述的系统架构以及应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域技术人员可知,随着系统架构的演变和新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、设备中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。
在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
在本说明书中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程或执行线程中,部件可位于一个计算机上或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自于自与本地系统、分布式系统或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地或远程进程来通信。
Claims (28)
- 一种报文传输方法,包括:向中间节点发送携带有时间偏差信息的目标报文,使得所述中间节点根据所述时间偏差信息确定所述中间节点发送所述目标报文的时间。
- 根据权利要求1所述的报文传输方法,其中,所述时间偏差信息表征所述目标报文的发送时间与基准时间的偏差值。
- 根据权利要求2所述的报文传输方法,其中,所述中间节点发送所述目标报文的时间由所述基准时间和所述时间偏差信息确定。
- 根据权利要求3所述的报文传输方法,其中,所述基准时间为多个,多个所述基准时间呈周期性分布,所述中间节点发送所述目标报文的时间由所述时间偏差信息和与所述目标报文的发送时间预设对应的一个所述基准时间确定。
- 根据权利要求3所述的报文传输方法,其中,所述方法还包括:在所述基准时间向所述中间节点发送携带有标志特征值的标志信息,其中,所述标志特征值用于指示所述基准时间。
- 根据权利要求5所述的报文传输方法,其中,所述标志信息包括用于填充所述标志特征值的标志码块,所述标志码块包括以下之一:第一故障维护管理码块;或第一起始码块和第一结束码块。
- 根据权利要求6所述的报文传输方法,其中,当所述标志码块包括所述第一故障维护管理码块,所述第一故障维护管理码块至少包括如下之一:用于填充所述标志特征值的第一字段,其中,当所述第一字段中存在目标字节或比特组,在所述目标字节填充所述标志特征值或所述比特组,所述目标字节或所述比特组为未使用或未被申请使用的字节或比特组合;或用于填充所述标志特征值的第二字段,其中,当所述第二字段取值不为第一预设值,所述第二字段填充所述标志特征值。
- 根据权利要求3所述的报文传输方法,其中,在所述目标报文的发送时间跨越所述基准时间的情况下,所述目标报文还携带与报文头对应的报文头时间信息,所述报文头时间信息和所述时间偏差信息用于所述中间节点确定所述基准时间。
- 根据权利要求8所述的报文传输方法,其中,所述报文头时间信息表征所述目标报文的所述报文头的发送时间与所述基准时间的偏差值。
- 根据权利要求8所述的报文传输方法,其中,所述报文头时间信息包括如下之一:时间参数信息;或码块数量信息。
- 根据权利要求10所述的报文传输方法,其中,所述目标报文的起始码块包括用于填充所述时间参数信息或所述码块数量信息的第一报文字段,其中,当所述第一报文字段取值不为第二预设值,所述第一报文字段填充所述时间参数信息或所述码块数量信息。
- 根据权利要求4所述的报文传输方法,其中,所述方法还包括:在没有目标报文发送的时间段内,向所述中间节点发送填充有特征信息的特征码块;在目标报文发送的时间段内,向所述中间节点发送填充有特征信息和所述时间偏差信息 的目标报文。
- 根据权利要求12所述的报文传输方法,其中,所述特征信息包括特征序列号,所述特征序列号与所述基准时间对应;在向所述中间节点持续发送所述特征码块和所述目标报文的过程中,每经过一个所述基准时间,所述特征序列号的取值加上一个预设统计值。
- 根据权利要求13所述的报文传输方法,其中:所述目标报文的起始码块包括用于填充所述特征序列号的第二报文字段;或者,所述目标报文的起始码块包括用于填充所述特征序列号的第二报文字段和用于填充所述时间偏差信息的第三报文字段;或者,所述特征码块包括用于填充所述特征序列号和所述时间偏差信息的第二故障维护管理码块;或者,所述特征码块包括第二起始码块、用于填充所述特征序列号和所述时间偏差信息的第二结束码块;或者,所述特征码块包括第二结束码块、用于填充所述特征序列号和所述时间偏差信息的第二起始码块。
- 根据权利要求8所述的报文传输方法,其中,所述方法还包括:在确定所述目标报文到达所述基准时间的情况下,暂停发送所述目标报文,直到在所述基准时间向所述中间节点发送携带有标志特征值的标志信息,其中,所述标志特征值用于指示所述基准时间。
- 一种报文传输方法,包括:接收由源节点发送的携带有时间偏差信息的目标报文;向宿节点发送所述目标报文,使得所述宿节点根据所述时间偏差信息确定向用户设备发送所述目标报文的时间。
- 根据权利要求16所述的报文传输方法,其中,所述时间偏差信息表征所述源节点发送所述目标报文的时间与基准时间的偏差值。
- 根据权利要求17所述的报文传输方法,其中,当所述基准时间为多个,多个所述基准时间呈周期性分布,所述向宿节点发送所述目标报文,包括:对于任意相邻两个所述基准时间,根据处于相邻所述基准时间之间的所有所述目标报文,生成一组转发数据报文组;在同一个所述基准时间内,向宿节点发送一组所述转发数据报文组中的所有所述目标报文。
- 一种报文传输方法,包括:接收由中间节点发送的携带有时间偏差信息的目标报文,其中,所述目标报文预先由源节点向所述中间节点发送;根据所述时间偏差信息确定向用户设备发送所述目标报文的时间。
- 根据权利要求19所述的报文传输方法,其中,所述时间偏差信息表征所述源节点发送所述目标报文的时间与基准时间的偏差值。
- 根据权利要求19所述的报文传输方法,其中,所述根据所述时间偏差信息确定向用户设备发送所述目标报文的时间,包括:根据所述源节点的基准时间和所述时间偏差信息,确定向用户设备发送所述目标报文的时间。
- 根据权利要求21所述的报文传输方法,其中,当所述基准时间为多个,多个所述基准时间呈周期性分布,所述根据所述源节点的基准时间和所述时间偏差信息,确定向用户设备发送所述目标报文的时间,包括:根据所述时间偏差信息和与所述源节点发送所述目标报文的时间预设对应的一个所述基准时间,确定向用户设备发送所述目标报文的时间。
- 根据权利要求21所述的报文传输方法,其中,所述根据所述源节点的基准时间和所述时间偏差信息,确定向用户设备发送所述目标报文的时间,包括:根据所述源节点的基准时间生成当前基准时间;根据所述当前基准时间和所述时间偏差信息,确定向用户设备发送所述目标报文的时间。
- 根据权利要求23所述的报文传输方法,其中,所述根据所述源节点的基准时间生成当前基准时间,包括如下之一:当所述当前基准时间与所述源节点的基准时间在时序上对应相同,根据所述源节点的基准时间对应生成所述当前基准时间;或当所述当前基准时间与所述源节点的基准时间在时序上对应不相同,根据所述源节点的基准时间的频率、周期对应生成所述当前基准时间。
- 根据权利要求22所述的报文传输方法,其中,所述根据所述源节点的基准时间和所述时间偏差信息,确定向用户设备发送所述目标报文的时间之后,还包括:当处于预确定的所述向用户设备发送所述目标报文的时间,向所述用户设备发送所述目标报文。
- 一种通信设备,包括:至少一个处理器;至少一个存储器,用于存储至少一个程序;当至少一个所述程序被至少一个所述处理器执行时实现如权利要求1至25任意一项所述的报文传输方法。
- 一种计算机可读存储介质,其中存储有处理器可执行的程序,所述处理器可执行的程序被处理器执行时用于实现如权利要求1至25任意一项所述的报文传输方法。
- 一种计算机程序产品,包括计算机程序或计算机指令,所述计算机程序或所述计算机指令存储在计算机可读存储介质中,计算机设备的处理器从所述计算机可读存储介质读取所述计算机程序或所述计算机指令,所述处理器执行所述计算机程序或所述计算机指令,使得所述计算机设备执行如权利要求1至25任意一项所述的报文传输方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211191278.2A CN117834390A (zh) | 2022-09-28 | 2022-09-28 | 报文传输方法、通信设备、存储介质及程序产品 |
| CN202211191278.2 | 2022-09-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024067482A1 true WO2024067482A1 (zh) | 2024-04-04 |
Family
ID=90476234
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/121101 Ceased WO2024067482A1 (zh) | 2022-09-28 | 2023-09-25 | 报文传输方法、通信设备、存储介质及程序产品 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117834390A (zh) |
| WO (1) | WO2024067482A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120834902A (zh) * | 2024-04-23 | 2025-10-24 | 中兴通讯股份有限公司 | 报文传递方法、系统、电子设备、存储介质及程序产品 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102571559A (zh) * | 2011-12-12 | 2012-07-11 | 北京交控科技有限公司 | 基于时间触发的网络报文发送方法 |
| CN110868363A (zh) * | 2018-08-27 | 2020-03-06 | 华为技术有限公司 | 周期映射的方法及网络设备 |
| CN113132173A (zh) * | 2019-12-31 | 2021-07-16 | 华为技术有限公司 | 时延确定方法及装置、网络传输系统 |
| CN114640634A (zh) * | 2020-11-30 | 2022-06-17 | 华为技术有限公司 | 一种通信方法及相关设备 |
| CN114915364A (zh) * | 2021-02-10 | 2022-08-16 | 华为技术有限公司 | 一种报文处理方法、系统以及相关装置 |
| CN115378532A (zh) * | 2021-05-17 | 2022-11-22 | 华为技术有限公司 | 报文传输的方法和装置 |
-
2022
- 2022-09-28 CN CN202211191278.2A patent/CN117834390A/zh active Pending
-
2023
- 2023-09-25 WO PCT/CN2023/121101 patent/WO2024067482A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102571559A (zh) * | 2011-12-12 | 2012-07-11 | 北京交控科技有限公司 | 基于时间触发的网络报文发送方法 |
| CN110868363A (zh) * | 2018-08-27 | 2020-03-06 | 华为技术有限公司 | 周期映射的方法及网络设备 |
| CN113132173A (zh) * | 2019-12-31 | 2021-07-16 | 华为技术有限公司 | 时延确定方法及装置、网络传输系统 |
| CN114640634A (zh) * | 2020-11-30 | 2022-06-17 | 华为技术有限公司 | 一种通信方法及相关设备 |
| CN114915364A (zh) * | 2021-02-10 | 2022-08-16 | 华为技术有限公司 | 一种报文处理方法、系统以及相关装置 |
| CN115378532A (zh) * | 2021-05-17 | 2022-11-22 | 华为技术有限公司 | 报文传输的方法和装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117834390A (zh) | 2024-04-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11824771B2 (en) | Packet processing method, related device, and computer storage medium | |
| CN107566272B (zh) | 转发表建立方法及数据转发方法 | |
| CN110545241B (zh) | 一种报文处理方法和装置 | |
| WO2020164473A1 (zh) | 一种路径计算方法、装置及设备 | |
| CN110868363B (zh) | 周期映射的方法及网络设备 | |
| WO2021056945A1 (zh) | 一种在sr网络中转发报文的方法、设备和系统 | |
| WO2021238741A1 (zh) | 报文转发方法、系统、设备、节点设备和存储介质 | |
| US20230127464A1 (en) | Packet forwarding method, apparatus and system, network device and storage medium | |
| CN107251457B (zh) | 传输时钟报文的方法和装置 | |
| CN112787953B (zh) | 确定性业务流传送方法和装置、电子设备、存储介质 | |
| CN114679418B (zh) | 数据传输方法、电子设备和存储介质 | |
| WO2023124427A1 (zh) | 一种数据处理方法、网络节点和计算机可读存储介质 | |
| WO2024067482A1 (zh) | 报文传输方法、通信设备、存储介质及程序产品 | |
| WO2021227746A1 (zh) | 发送和转发报文的方法、头节点、转发节点、存储介质 | |
| JP2024502118A (ja) | データ伝送方法、装置、電子機器、及び記憶媒体 | |
| WO2021197141A1 (zh) | 业务处理方法、装置、设备及存储介质 | |
| CN116418729A (zh) | 一种报文转发方法及装置 | |
| CN118055066A (zh) | 算力资源通告方法、算力流量处理方法、通信设备及介质 | |
| WO2020114083A1 (zh) | 一种ioam信息的处理方法和装置 | |
| WO2024067483A1 (zh) | 时间基准位置的传递方法、报文位置确定方法、通信设备 | |
| CN119324894A (zh) | 数据传输方法、装置、电子设备及计算机可读存储介质 | |
| CN109728874B (zh) | 一种比特块处理方法及节点 | |
| WO2024055898A1 (zh) | 报文处理方法、传递方法、通信设备、系统、介质及产品 | |
| WO2023231431A1 (zh) | 报文接收方法、发送方法、转发方法、装置及系统 | |
| CN112671646B (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: 23870713 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23870713 Country of ref document: EP Kind code of ref document: A1 |