CN109995453B - Information processing method, device, equipment and computer readable storage medium - Google Patents

Information processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109995453B
CN109995453B CN201810000862.2A CN201810000862A CN109995453B CN 109995453 B CN109995453 B CN 109995453B CN 201810000862 A CN201810000862 A CN 201810000862A CN 109995453 B CN109995453 B CN 109995453B
Authority
CN
China
Prior art keywords
time synchronization
sending
channel
frame format
timestamp
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.)
Active
Application number
CN201810000862.2A
Other languages
Chinese (zh)
Other versions
CN109995453A (en
Inventor
韩柳燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810000862.2A priority Critical patent/CN109995453B/en
Priority to PCT/CN2018/125402 priority patent/WO2019134607A1/en
Publication of CN109995453A publication Critical patent/CN109995453A/en
Application granted granted Critical
Publication of CN109995453B publication Critical patent/CN109995453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an information processing method, an information processing device, information processing equipment and a computer readable storage medium, relates to the technical field of communication, and aims to improve time synchronization precision. The information processing method of the present invention includes: generating sending timestamp information when a target frame format identifier of a channel where the time synchronization message is located is identified; taking the sending timestamp information as a sending timestamp of the time synchronization message; and sending a message to a receiving end, wherein the time synchronization message is carried in the channel and comprises the sending timestamp. The invention can improve the time synchronization precision.

Description

Information processing method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information processing method, an information processing apparatus, information processing equipment, and a computer-readable storage medium.
Background
The network transmission Time adopts a PTP (Precision Time Protocol) Protocol, which can meet the requirement of high-Precision Time. PTP time synchronization is carried out by adopting a delay calculation mechanism, and the master device and the slave device calculate path delay and time offset between the master device and the slave device by recording timestamps generated during message transmission between the devices, so that time synchronization between the master device and the slave device is realized.
The sending end of each PTP message fills in timestamp information aiming at the sending time of the PTP message, and the receiving end records the timestamp information of a certain PTP message.
In the internal processing process of the device, the sending end generates the PTP message, fills a timestamp of the sending time when the PTP message is ready to be sent, puts the PTP message, and then processes the PTP message through an MAC layer (Media Access Control) or a PHY (physical) layer of the sending interface until the PTP message is really sent. After the time stamp information is sent into the PTP message, the time delay delta T1 exists until the PTP message is sent out from the interface. That is, there is an error in the transmission timestamp information of the PTP message. Furthermore, since the transmission timestamp information corresponds to a certain PTP message, the transmission timestamp information must be recorded and inserted when a single PTP message can be identified. In the encapsulation stage, it can be identified that a single message belongs to a higher-layer process inside the device, and then undergoes a physical layer process, a queue for transmission, and the like, in the process, the delay Δ T1 may be an unfixed value.
At the receiving end, when the device detects a PTP message, the timestamp of the receiving time is recorded for subsequent PTP protocol processing. When a PTP message reaches a receiving end, a device detects the message and records a timestamp of the receiving time, and a delay delta T2 exists. That is, the PTP reception time stamp information has an error. Moreover, since the receiving timestamp information corresponds to a certain packet, the receiving timestamp information must be recorded when a single packet can be identified, and it can be identified that the single packet belongs to a higher-layer process inside the device, that is, the delay Δ T2 may be relatively large.
It can be seen from the processing in the prior art that the sending end and the receiving end can identify a single message at the time of processing the timestamps, and the timestamps correspond to the sending and receiving moments of a certain PTP message and conform to the PTP protocol. The problem is that the difference delay delta T1 between the sending time stamp information and the sending time of the PTP slave interface and the difference delay delta T2 between the receiving time stamp information and the actual receiving time of the PTP are large, and time errors are introduced to affect the time precision of the equipment. When the time precision requirement of the service is further increased, the precision of the scheme cannot meet the requirement.
For a transmission technology based on a TDM (Time Division Multiplexing) mechanism, a packet needs to be encapsulated into a specific frame format to form a logical channel, and different logical channels may be further combined into a physical channel in order to meet the requirements of 5G slices and the like. The problem of timestamp error in the prior art PTP is even more pronounced because the delay Δ T1 is even greater when the message is encapsulated in a particular frame format and then transmitted. At the receiving end, the Δ T2 is also larger, as the message is parsed and identified from the frame format. It can be seen that the time synchronization of the prior art is less accurate.
Disclosure of Invention
In view of the above, the present invention provides an information processing method, apparatus, device and computer readable storage medium for improving time synchronization accuracy.
To solve the foregoing technical problem, in a first aspect, an embodiment of the present invention provides an information processing method, applied to a sending end, including:
generating sending timestamp information when a target frame format identifier of a channel where the time synchronization message is located is identified;
taking the sending timestamp information as a sending timestamp of the time synchronization message;
and sending a message to a receiving end, wherein the time synchronization message is carried in the channel and comprises the sending timestamp.
When the channel comprises a plurality of sub-channels, the target frame format identifier is a frame format identifier of the channel formed by multiplexing the plurality of sub-channels.
When the time synchronization message comprises a time synchronization message, the time synchronization message is carried at any time slot position of the channel;
and when the time synchronization message comprises a plurality of time synchronization messages, respectively bearing the plurality of time synchronization messages at different time slot positions of the channel.
When the time synchronization message comprises a plurality of time synchronization messages, carrying the plurality of time synchronization messages at different time slot positions of one of the plurality of subchannels; or carrying a plurality of time synchronization messages at any time slot position of different subchannels.
In a second aspect, an embodiment of the present invention provides an information processing method, applied to a receiving end, including:
receiving a message sent by a sending end, and identifying the message;
when a target frame format identifier of a channel is identified, recording receiving timestamp information when the target frame format identifier is identified;
taking the receiving timestamp information as a receiving timestamp of a time synchronization message carried in the channel;
and the time synchronization message comprises a sending time stamp determined according to sending time stamp information generated by the sending end when the sending end identifies the target frame format identifier.
Wherein the method further comprises:
acquiring a sending time stamp in the time synchronization message;
and carrying out time synchronization processing according to the receiving time stamp and the sending time stamp.
In a third aspect, an embodiment of the present invention provides an information processing apparatus, including: a processor and a transceiver;
the processor is used for generating sending timestamp information when the target frame format identifier of the channel where the time synchronization message is located is identified; taking the sending timestamp information as a sending timestamp of the time synchronization message;
the transceiver is configured to send a packet to a receiving end, where the time synchronization packet is carried in the channel and includes the sending timestamp.
When the channel comprises a plurality of sub-channels, the target frame format identifier is a frame format identifier of the channel formed by multiplexing the plurality of sub-channels.
When the time synchronization message comprises a time synchronization message, the processor is further configured to load the time synchronization message at any time slot position of the channel;
when the time synchronization packet includes a plurality of time synchronization packets, the processor is further configured to respectively carry the plurality of time synchronization packets at different time slot positions of the channel.
When the time synchronization message comprises a plurality of time synchronization messages, the processor is further configured to carry the plurality of time synchronization messages at different time slot positions of one of the plurality of subchannels; or the processor is further configured to carry the multiple time synchronization packets at any timeslot position of different subchannels.
In a fourth aspect, an embodiment of the present invention provides an information processing apparatus, including: a processor and a transceiver;
the transceiver is used for receiving the message sent by the sending end and identifying the message;
the processor is used for recording the receiving timestamp information when the target frame format identifier of the message is identified; taking the receiving timestamp information as a receiving timestamp of the time synchronization message;
the time synchronization message is carried in a channel, and the time synchronization message includes a sending timestamp determined according to sending timestamp information generated by the sending end when the sending end identifies the target frame format identifier.
The processor is further configured to obtain a sending timestamp in the time synchronization message; and carrying out time synchronization processing according to the receiving time stamp and the sending time stamp.
In a fifth aspect, an embodiment of the present invention provides a communication device, including: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; the computer program, when executed by a processor, implementing the steps in the method according to the first aspect; or which when executed by a processor implements the steps in the method according to the second aspect.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing a computer program, which when executed by a processor implements the steps in the method according to the first aspect; or which when executed by a processor implements the steps in the method according to the second aspect.
The technical scheme of the invention has the following beneficial effects:
it can be seen from the above that, in the embodiment of the present invention, the target frame format identifier of the channel where the time synchronization packet is located is used as the identifier for detecting and sending the time synchronization timestamp, rather than determining the sending timestamp or the receiving timestamp when a certain packet is identified as in the prior art, so that it can be ensured that the uncertain time delay of the sub-channel processing and the packet processing is not calculated in the timestamp information when the device performs internal processing, the accuracy of the timestamp information is ensured to the maximum, and the time synchronization precision is improved.
Drawings
FIG. 1 is a flow chart of an information processing method according to an embodiment of the present invention;
fig. 2(a) -fig. 2(b) are schematic diagrams of a bearer of a time synchronization packet according to an embodiment of the present invention;
fig. 3(a) -3 (d) are schematic diagrams of a time synchronization packet bearer according to an embodiment of the present invention;
FIG. 4 is a flow chart of an information processing method according to an embodiment of the present invention;
FIG. 5 is a diagram of an information processing apparatus according to an embodiment of the present invention;
FIG. 6 is a diagram of an information processing apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a communication device of an embodiment of the present invention;
fig. 8 is a schematic diagram of a communication device according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention will be made with reference to the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
As shown in fig. 1, an information processing method according to an embodiment of the present invention is applied to a sending end, and includes:
step 101, generating sending timestamp information when the target frame format identification of the channel where the time synchronization message is located is identified.
And step 102, taking the sending time stamp information as the sending time stamp of the time synchronization message.
In the embodiment of the present invention, the specific composition and the specific form of the target frame format identifier are not limited, and for example, it may be management information for representing a channel, information for identifying a channel, information for multiplexing a channel, and the like.
In practical application, the sending end device uses the target frame format identifier of the channel where the time synchronization message is located as the identifier for processing the time synchronization timestamp, and processes the timestamp information after identifying the target frame format identifier. Specifically, when the sending end device sends and processes the target frame format identifier, sending timestamp information is generated, and the timestamp information is put into a time synchronization message carried by the channel and used as a sending timestamp of the time synchronization message.
When the channel comprises a plurality of sub-channels, the target frame format identification is the frame format identification of the channel formed by multiplexing the plurality of sub-channels.
Step 103, sending a message to a receiving end, where the time synchronization message is carried in the channel and includes the sending timestamp.
Wherein, the message comprises a frame header and a data packet.
In order to provide redundancy protection for the time synchronization message, the sending end processes the target frame format identifier and generates sending timestamp information. The time synchronization message carried by the channel can be a plurality of time synchronization messages, and the plurality of time synchronization messages are put into different time slot positions of the channel. When the channel includes a plurality of sub-channels, the time synchronization packet carried by the channel may be a plurality of time synchronization packets, and the plurality of time synchronization packets are placed in different sub-channels or different time slot positions of the same sub-channel.
For example, there may be one or more time synchronization messages carried in the channel. If a time synchronization packet is carried, the time synchronization packet is carried at any time slot position of the channel as shown in fig. 2(a) and fig. 2 (b). As can be seen from fig. 2(a) and fig. 2(b), the time synchronization packet carried by the channel can be placed in different time slot positions of the channel.
With reference to fig. 2(a) and 2(b), when the target frame format identifier is identified at the 2 nd slot position of the frame format identifier, the transmission time stamp information is generated. And the time synchronization message can be carried on different time slot positions of the channel.
When the channel includes a plurality of sub-channels, as shown in fig. 3(a), fig. 3(b), fig. 3(c), and fig. 3(d), when there is only one time synchronization packet, the time synchronization packet may be carried in different sub-channels; when there are multiple time synchronization messages, the multiple time synchronization messages may be carried at different time slot positions of one of the multiple sub-channels, or carried at any time slot position of different sub-channels.
It can be seen from the above that, in the embodiment of the present invention, the target frame format identifier of the channel where the time synchronization packet is located is used as the identifier for detecting and sending the time synchronization timestamp, rather than determining the sending timestamp or the receiving timestamp when a certain packet is identified as in the prior art, so that it can be ensured that the uncertain time delay of the sub-channel processing and the packet processing is not calculated in the timestamp information when the device performs internal processing, the accuracy of the timestamp information is ensured to the maximum, and the time synchronization precision is improved. In addition, the embodiment of the invention can be applied to the evolution scheme of a higher-precision network.
As shown in fig. 4, the information processing method according to the embodiment of the present invention is applied to a receiving end, and includes:
step 401, receiving a message sent by a sending end, and identifying the message.
Step 402, when the target frame format identification of the channel is identified, recording the receiving time stamp information when the target frame format identification is identified.
Step 403, using the receiving timestamp information as the receiving timestamp of the time synchronization packet carried in the channel.
And the time synchronization message comprises a sending time stamp determined according to sending time stamp information generated by the sending end when the sending end identifies the target frame format identifier.
At the receiving end, when the receiving end device detects the target frame format identifier, the timestamp information of the detected target frame format identifier is recorded as a receiving timestamp, and the receiving timestamp is used as the receiving time information of the time synchronization message carried by the channel.
In order to provide redundancy protection of time synchronization messages, when a plurality of time synchronization messages exist in the same channel, and when a receiving end detects the target frame format identification, recording timestamp information of the detected target frame format identification as a receiving timestamp, and using the receiving timestamp as receiving time information of the plurality of time synchronization messages carried by the channel.
It can be seen from the above that, in the embodiment of the present invention, the target frame format identifier of the channel where the time synchronization packet is located is used as the identifier for detecting and sending the time synchronization timestamp, rather than determining the sending timestamp or the receiving timestamp when a certain packet is identified as in the prior art, so that it can be ensured that the uncertain time delay of the sub-channel processing and the packet processing is not calculated in the timestamp information when the device performs internal processing, the accuracy of the timestamp information is ensured to the maximum, and the time synchronization precision is improved.
In addition, on the basis of the embodiment shown in fig. 4, the receiving end may further obtain the sending timestamp in the time synchronization message, and perform time synchronization processing according to the receiving timestamp and the sending timestamp. Wherein, the process of time synchronization processing according to the receiving time stamp and the sending time stamp is the same as the prior art.
As shown in fig. 5, an information processing apparatus according to an embodiment of the present invention includes: a processor 501 and a transceiver 502;
the processor 501 is configured to generate sending timestamp information when the target frame format identifier of the channel where the time synchronization packet is located is identified; taking the sending timestamp information as a sending timestamp of the time synchronization message;
the transceiver 502 is configured to send a message to a receiving end, where the time synchronization message is carried in the channel, and the time synchronization message includes the sending timestamp.
Optionally, when the channel includes a plurality of sub-channels, the target frame format identifier is a frame format identifier of the channel formed by multiplexing the plurality of sub-channels.
When the time synchronization packet includes a time synchronization packet, the processor 501 is further configured to load the time synchronization packet at any timeslot position of the channel; when the time synchronization packet includes a plurality of time synchronization packets, the processor 501 is further configured to respectively carry the plurality of time synchronization packets at different time slot positions of the channel.
When the time synchronization packet includes a plurality of time synchronization packets, the processor 501 is further configured to load the plurality of time synchronization packets in different time slot positions of one of the plurality of sub-channels; or the processor 501 is further configured to carry multiple time synchronization packets at any timeslot position of different subchannels.
It can be seen from the above that, in the embodiment of the present invention, the target frame format identifier of the channel where the time synchronization packet is located is used as the identifier for detecting and sending the time synchronization timestamp, rather than determining the sending timestamp or the receiving timestamp when a certain packet is identified as in the prior art, so that it can be ensured that the uncertain time delay of the sub-channel processing and the packet processing is not calculated in the timestamp information when the device performs internal processing, the accuracy of the timestamp information is ensured to the maximum, and the time synchronization precision is improved.
As shown in fig. 6, an information processing apparatus according to an embodiment of the present invention includes: a processor 601 and a transceiver 602;
the transceiver 602 is configured to receive a message sent by a sending end, and identify the message;
the processor 601 is configured to record, when a target frame format identifier of a channel is identified, receiving timestamp information when the target frame format identifier is identified; taking the receiving timestamp information as a receiving timestamp of a time synchronization message carried in the channel;
and the time synchronization message comprises a sending time stamp determined according to sending time stamp information generated by the sending end when the sending end identifies the target frame format identifier.
The processor 601 is further configured to obtain a sending timestamp in the time synchronization message; and carrying out time synchronization processing according to the receiving time stamp and the sending time stamp.
It can be seen from the above that, in the embodiment of the present invention, the target frame format identifier of the channel where the time synchronization packet is located is used as the identifier for detecting and sending the time synchronization timestamp, rather than determining the sending timestamp or the receiving timestamp when a certain packet is identified as in the prior art, so that it can be ensured that the uncertain time delay of the sub-channel processing and the packet processing is not calculated in the timestamp information when the device performs internal processing, the accuracy of the timestamp information is ensured to the maximum, and the time synchronization precision is improved.
As shown in fig. 7, the communication device according to the embodiment of the present invention includes:
the processor 700, which is used to read the program in the memory 720, executes the following processes:
generating sending timestamp information when a target frame format identifier of a channel where the time synchronization message is located is identified; taking the sending timestamp information as a sending timestamp of the time synchronization message; sending a message to a receiving end through a transceiver 710, wherein the time synchronization message is carried in the channel, and the time synchronization message includes the sending timestamp;
a transceiver 710 for receiving and transmitting data under the control of the processor 700.
Where in fig. 7, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors represented by processor 700 and memory represented by memory 720. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 710 may be a number of elements including a transmitter and a transceiver providing a means for communicating with various other apparatus over a transmission medium. The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 may store data used by the processor 700 in performing operations.
The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 may store data used by the processor 700 in performing operations.
When the channel comprises a plurality of sub-channels, the target frame format identifier is a frame format identifier of the channel formed by multiplexing the plurality of sub-channels.
The processor 700 is further configured to read the computer program and perform the following steps:
when the time synchronization message comprises a time synchronization message, the time synchronization message is carried at any time slot position of the channel;
and when the time synchronization message comprises a plurality of time synchronization messages, respectively bearing the plurality of time synchronization messages at different time slot positions of the channel.
The processor 700 is further configured to read the computer program and perform the following steps:
when the time synchronization message comprises a plurality of time synchronization messages, carrying the plurality of time synchronization messages at different time slot positions of one of the plurality of subchannels; or carrying a plurality of time synchronization messages at any time slot position of different subchannels.
As shown in fig. 8, the communication device according to the embodiment of the present invention includes:
the processor 800, which is used to read the program in the memory 820, executes the following processes:
receiving a message sent by a sending end through a transceiver 810, and identifying the message; when the target frame format identifier of the message is identified, recording the receiving timestamp information when the target frame format identifier is identified; taking the receiving timestamp information as a receiving timestamp of the time synchronization message; the time synchronization message is carried in a channel, and the time synchronization message comprises a sending timestamp determined according to sending timestamp information generated by the sending end when the sending end identifies the target frame format identifier;
a transceiver 810 for receiving and transmitting data under the control of the processor 800.
Where in fig. 8, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors represented by processor 800 and memory represented by memory 820. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 810 may be a number of elements including a transmitter and a transceiver providing a means for communicating with various other apparatus over a transmission medium. The processor 800 is responsible for managing the bus architecture and general processing, and the memory 820 may store data used by the processor 800 in performing operations.
The processor 800 is responsible for managing the bus architecture and general processing, and the memory 820 may store data used by the processor 800 in performing operations.
The processor 800 is further configured to read the computer program and perform the following steps:
acquiring a sending time stamp in the time synchronization message;
and carrying out time synchronization processing according to the receiving time stamp and the sending time stamp.
Furthermore, a computer-readable storage medium of an embodiment of the present invention stores a computer program executable by a processor to implement:
generating sending timestamp information when a target frame format identifier of a channel where the time synchronization message is located is identified;
taking the sending timestamp information as a sending timestamp of the time synchronization message;
and sending a message to a receiving end, wherein the time synchronization message is carried in the channel and comprises the sending timestamp.
When the channel comprises a plurality of sub-channels, the target frame format identifier is a frame format identifier of the channel formed by multiplexing the plurality of sub-channels.
When the time synchronization message comprises a time synchronization message, the time synchronization message is carried at any time slot position of the channel;
and when the time synchronization message comprises a plurality of time synchronization messages, respectively bearing the plurality of time synchronization messages at different time slot positions of the channel.
When the time synchronization message comprises a plurality of time synchronization messages, carrying the plurality of time synchronization messages at different time slot positions of one of the plurality of subchannels; or carrying a plurality of time synchronization messages at any time slot position of different subchannels.
Furthermore, a computer-readable storage medium of an embodiment of the present invention stores a computer program executable by a processor to implement:
receiving a message sent by a sending end, and identifying the message;
when a target frame format identifier of a channel is identified, recording receiving timestamp information when the target frame format identifier is identified;
taking the receiving timestamp information as a receiving timestamp of a time synchronization message carried in the channel;
and the time synchronization message comprises a sending time stamp determined according to sending time stamp information generated by the sending end when the sending end identifies the target frame format identifier.
Wherein the method further comprises:
acquiring a sending time stamp in the time synchronization message;
and carrying out time synchronization processing according to the receiving time stamp and the sending time stamp.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. An information processing method, applied to a transmitting end, includes:
when a target frame format identifier of a channel where the time synchronization message is located is identified, and the sending end equipment sends and processes the target frame format identifier, generating sending timestamp information;
taking the sending timestamp information as a sending timestamp of the time synchronization message, and putting the sending timestamp information into the time synchronization message carried by the channel, wherein the time synchronization message comprises the sending timestamp;
and sending the time synchronization message to a receiving end, wherein the time synchronization message is carried in the channel.
2. The method of claim 1, wherein when the channel comprises a plurality of sub-channels, the target frame format identifier is a frame format identifier of the channel multiplexed by the plurality of sub-channels.
3. The method according to claim 1, wherein when the time synchronization packet comprises a time synchronization packet, the time synchronization packet is carried at any timeslot position of the channel;
and when the time synchronization message comprises a plurality of time synchronization messages, respectively bearing the plurality of time synchronization messages at different time slot positions of the channel.
4. The method of claim 2, wherein when the time synchronization packet comprises a plurality of time synchronization packets, the plurality of time synchronization packets are carried at different slot positions of one of the plurality of sub-channels; or carrying a plurality of time synchronization messages at any time slot position of different subchannels.
5. An information processing method, applied to a receiving end, includes:
receiving a time synchronization message sent by a sending end, and identifying the time synchronization message;
when a target frame format identifier of a channel is identified, recording receiving timestamp information when the target frame format identifier is identified;
taking the receiving timestamp information as a receiving timestamp of a time synchronization message carried in the channel;
the time synchronization message includes a sending timestamp determined according to sending timestamp information generated when the sending end identifies the target frame format identifier and sends and processes the target frame format identifier, and the sending timestamp is put into the time synchronization message carried by the channel.
6. The method of claim 5, further comprising:
acquiring a sending time stamp in the time synchronization message;
and carrying out time synchronization processing according to the receiving time stamp and the sending time stamp.
7. An information processing apparatus characterized by comprising: a processor and a transceiver;
the processor is used for generating sending timestamp information and putting the timestamp information into the time synchronization message carried by the channel when the target frame format identifier of the channel where the time synchronization message is located is identified and the sending end equipment sends and processes the target frame format identifier; taking the sending timestamp information as a sending timestamp of the time synchronization message, wherein the time synchronization message comprises the sending timestamp;
the transceiver is configured to send a time synchronization packet to a receiving end, where the time synchronization packet is carried in the channel.
8. The apparatus of claim 7, wherein when the channel comprises a plurality of sub-channels, the target frame format identifier is a frame format identifier of the channel multiplexed by the plurality of sub-channels.
9. The apparatus of claim 7, wherein when the time synchronization packet comprises a time synchronization packet, the processor is further configured to carry the time synchronization packet at any timeslot position of the channel;
when the time synchronization packet includes a plurality of time synchronization packets, the processor is further configured to respectively carry the plurality of time synchronization packets at different time slot positions of the channel.
10. The apparatus of claim 8, wherein when the time synchronization packet comprises a plurality of time synchronization packets, the processor is further configured to carry the plurality of time synchronization packets at different slot positions of one of the plurality of sub-channels; or the processor is further configured to carry the multiple time synchronization packets at any timeslot position of different subchannels.
11. An information processing apparatus characterized by comprising: a processor and a transceiver;
the transceiver is used for receiving the time synchronization message sent by the sending end and identifying the time synchronization message;
the processor is used for recording the receiving time stamp information when the target frame format identifier of the channel is identified; taking the receiving timestamp information as a receiving timestamp of a time synchronization message carried in the channel;
the time synchronization message includes a sending timestamp determined according to sending timestamp information generated when the sending end identifies the target frame format identifier and sends and processes the target frame format identifier, and the sending timestamp is put into the time synchronization message carried by the channel.
12. The apparatus of claim 11,
the processor is further configured to obtain a sending timestamp in the time synchronization message; and carrying out time synchronization processing according to the receiving time stamp and the sending time stamp.
13. A communication device, comprising: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; it is characterized in that the preparation method is characterized in that,
the computer program, when executed by a processor, implementing the steps in the method of any one of claims 1 to 4; or
The computer program when executed by a processor implementing the steps in the method of any one of claims 5 to 6.
14. A computer-readable storage medium for storing a computer program, characterized in that,
the computer program, when executed by a processor, implementing the steps in the method of any one of claims 1 to 4; or
The computer program when executed by a processor implementing the steps in the method of any one of claims 5 to 6.
CN201810000862.2A 2018-01-02 2018-01-02 Information processing method, device, equipment and computer readable storage medium Active CN109995453B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810000862.2A CN109995453B (en) 2018-01-02 2018-01-02 Information processing method, device, equipment and computer readable storage medium
PCT/CN2018/125402 WO2019134607A1 (en) 2018-01-02 2018-12-29 Information processing method and device, communication apparatus, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810000862.2A CN109995453B (en) 2018-01-02 2018-01-02 Information processing method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109995453A CN109995453A (en) 2019-07-09
CN109995453B true CN109995453B (en) 2020-12-18

Family

ID=67128816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810000862.2A Active CN109995453B (en) 2018-01-02 2018-01-02 Information processing method, device, equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109995453B (en)
WO (1) WO2019134607A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834502B (en) * 2023-02-23 2023-05-12 中国人民解放军国防科技大学 Control method for frame transmission time of time-sensitive network system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222305B (en) * 2007-01-09 2012-04-04 华为技术有限公司 Data retransmission method, system and device
CN101771528B (en) * 2008-12-31 2013-08-07 华为技术有限公司 Method, device and system for realizing clock synchronization
CN102761951B (en) * 2011-04-26 2015-01-07 华为技术有限公司 Clock synchronization processing method, device and communication system
EP2819358B1 (en) * 2012-06-06 2016-11-02 Huawei Technologies Co., Ltd. Multiple access method, device and system
KR101427756B1 (en) * 2013-04-26 2014-08-08 주식회사 코아로직 A method and an apparatus for transferring multi-channel audio signal
CN105159850A (en) * 2015-08-05 2015-12-16 西安电子科技大学 FPGA based multi-channel data transmission system
US10313041B2 (en) * 2016-06-10 2019-06-04 Apple Inc. Determination of accuracy of a chain of clocks
CN106982103B (en) * 2017-05-05 2019-01-18 烽火通信科技股份有限公司 The method and system of PTP message are controlled in 100G or more optical transport chip
CN107294634B (en) * 2017-06-13 2019-01-18 烽火通信科技股份有限公司 The centralized approach of 1588 time synchronizations is realized in a kind of distributed system

Also Published As

Publication number Publication date
CN109995453A (en) 2019-07-09
WO2019134607A1 (en) 2019-07-11

Similar Documents

Publication Publication Date Title
US20230188313A1 (en) One-step timestamping in network devices
CN108155982B (en) Timestamp processing method and device
CN110278065B (en) Method and equipment for compensating time delay
EP3664375B1 (en) Packet processing method and network device
CN112583477B (en) Delay measurement method, delay measurement system and storage medium
CN112887045B (en) Message transmission method and device, FPGA (field programmable Gate array) and electronic equipment
WO2020108202A1 (en) Timestamp acquisition method and time synchronization system
US9042411B1 (en) System and method for accurate time sampling in presence of output delay
WO2022052609A1 (en) Time delay compensation method, apparatus and device, and computer-readable storage medium
US11411848B2 (en) Flexible ethernet latency measurement method and related device
CN110932931A (en) Detection method and device for network delay of data center
CN109565693B (en) Method and apparatus for network telemetry using time multiplexed fields
CN109995453B (en) Information processing method, device, equipment and computer readable storage medium
CN114071487B (en) Interface delay measurement method, related network equipment and storage medium
CN112910588B (en) Ethernet time synchronization method and device
CN102404152A (en) Method and equipment for identifying response messages
CN114978961A (en) Time delay measuring method, device, equipment and computer readable storage medium
CN114731205A (en) Clock synchronization method and device
CN102983959B (en) Method for realizing one-step mode and two-step mode for PTP (precision time synchronization protocol) in a plurality of MAC
CN103401813A (en) Asymmetric delay compensation method and switch
WO2022100110A1 (en) Network synchronization method and apparatus, and device, system and readable storage medium
CN112583775B (en) Method, device and network equipment for processing message
CN114868354B (en) Time synchronization method and equipment
CN113708912B (en) Clock synchronization method and system thereof
US20240276436A1 (en) Communication method and related apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant