Search

CN-122002497-A - Communication method, device and system

CN122002497ACN 122002497 ACN122002497 ACN 122002497ACN-122002497-A

Abstract

The application relates to the technical field of communication and discloses a communication method, a device and a system. The method comprises the steps that first communication equipment receives first data and a time stamp of the first data, the time stamp of the first data is used for indicating time of sending the first data by second communication equipment, the time of the second communication equipment is asynchronous with the time of the first communication equipment, the time stamp of the first data is a first time stamp, the first time stamp is a time stamp which is not subjected to time synchronization processing, the time stamp of the first data is updated to be a second time stamp according to the first time stamp and a first offset, and the first offset is an offset between the time of the second communication equipment and the time of the first communication equipment. In this way, the first communication device can calibrate the time stamp of the first data from the second communication device, so that the time of the data transmitted between the first communication device and the second communication device is synchronous, which is convenient for ensuring the communication quality.

Inventors

  • Mei Yihao
  • YAN XUEQIANG
  • XI YAN
  • ZHAO MINGYU
  • WANG JUNFAN

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260508
Application Date
20241104

Claims (17)

  1. 1. A communication method, the method being applied to a first communication device or a chip in the first communication device, the method comprising: receiving first data and a time stamp of the first data, wherein the time stamp of the first data is used for indicating the time of sending the first data by second communication equipment, and the time of the second communication equipment is asynchronous with the time of the first communication equipment; And updating the time stamp of the first data to be a second time stamp according to the first time stamp and a first offset, wherein the first offset is an offset between the time of the second communication equipment and the time of the first communication equipment.
  2. 2. The method according to claim 1, wherein the method further comprises: And determining the first offset according to the first timestamp and a third timestamp, wherein the third timestamp is used for indicating the time of the first communication device receiving the first data.
  3. 3. The method of claim 2, wherein the determining the first offset from the first timestamp and the third timestamp comprises: And inputting the first timestamp and the third timestamp into a preset model, and outputting the first offset.
  4. 4. A method according to claim 3, wherein the predetermined model is derived from physical parameters of the second communication device, the physical parameters comprising the frequency of a crystal oscillator.
  5. 5. The method according to claim 1, wherein the method further comprises: determining a second offset according to the first timestamp and a third timestamp, wherein the third timestamp is used for indicating the time of the first communication device receiving the first data; and determining the first offset according to the second offset and the offset of the second communication equipment.
  6. 6. The method of claim 5, wherein the method further comprises: updating the offset of the second communication device to the first offset.
  7. 7. The method according to claim 5 or 6, wherein said determining said first offset from said second offset and an offset of said second communication device comprises: And determining the maximum offset in the second offset and the offset of the second communication equipment as the first offset.
  8. 8. The method according to any one of claims 1 to 7, further comprising: and processing the first data according to the second time stamp, or sending the first data and the second time stamp to third communication equipment.
  9. 9. The method of claim 8, wherein the time of the third communication device and the time of the first communication device are synchronized.
  10. 10. The method according to any one of claims 1 to 9, characterized in that: the first communication equipment is a time synchronization function TSF network element, the second communication equipment is a third party equipment, or The first communication device is a network device, and the second communication device is a terminal device accessing the network device, or The first communication equipment is a DPF network element with a data processing function, and the second communication equipment is the network equipment or the terminal equipment, or The first communication device is a data communication proxy DCP network element, and the second communication device is the network device or the terminal device.
  11. 11. A communication method, the method being applied to a second communication device or a chip in the second communication device, the method comprising: Acquiring first data; The method comprises the steps of sending first data and a time stamp of the first data to first communication equipment, wherein the time stamp of the first data is used for indicating time of sending the first data by second communication equipment, the time of the second communication equipment is asynchronous with the time of the first communication equipment, the time stamp of the first data is a first time stamp, and the first time stamp is a time stamp which is not subjected to time synchronization processing.
  12. 12. The method according to claim 11, wherein: the first communication equipment is a time synchronization function TSF network element, the second communication equipment is a third party equipment, or The first communication device is a network device, and the second communication device is a terminal device accessing the network device, or The first communication equipment is a DPF network element with a data processing function, and the second communication equipment is the network equipment or the terminal equipment, or The first communication device is a data communication proxy DCP network element, and the second communication device is the network device or the terminal device.
  13. 13. A communication device comprising means for performing the method of any of claims 1 to 12.
  14. 14. A communication device comprising a processor coupled to a memory, the memory having a computer program stored therein, the processor being configured to invoke some or all of the computer program in the memory such that the method of any of claims 1-12 is performed.
  15. 15. A communication system comprising a first communication device for performing the method of any one of claims 1 to 10 and a second communication device for performing the method of claim 11 or 12.
  16. 16. A computer readable storage medium, characterized in that the storage medium has stored therein a computer program which, when executed by a computer, causes the method according to any one of claims 1 to 12 to be performed.
  17. 17. A computer program product, characterized in that the computer program product, when read and executed by a computer, causes the method according to any of claims 1 to 12 to be performed.

Description

Communication method, device and system Technical Field The present application relates to the field of communications technologies, and in particular, to a communications method, apparatus, and system. Background With the reduction of computation and storage costs and the advent of a large number of low latency services and local area applications, intelligent algorithms that compute and store, and rely on both, tend to be deployed near the network edge of data sources, forming data-centric network architectures. The basic functionality of mobile communication networks will also begin to shift from the pipeline of information delivery to the platform of data management. Therefore, the future communication system is a data-oriented system, and multidimensional heterogeneous and massive real-time data can be carried by a data pipeline formed by functions of collection, processing, transmission, storage, analysis, privacy protection and the like, and the data surface of the future communication system needs to support 'random path calculation' and 'random topology'. To ensure the communication quality, it is necessary to achieve time synchronization of data between different nodes in the data pipe. However, how to achieve time synchronization of data between different nodes in a data pipeline is a technical problem to be solved. Disclosure of Invention The application provides a communication method, a device and a system, which are used for calibrating the time stamp of data, so that the time of data transmitted between a first communication device and a second communication device is synchronous under the condition that the time of the first communication device is not synchronous with the time of the second communication device, and the communication quality is convenient to ensure. In a first aspect, an embodiment of the present application provides a communication method, which may be performed by a first communication apparatus, where "first communication apparatus" in the present application may refer to a first communication device, or a component (for example, a processor, a chip, or a chip system, etc.) in the first communication device, or may be a logic module or software that can implement all or part of the functions of the first communication device. For example, in the method provided in the first aspect, a first communication device receives first data and a timestamp of the first data, where the timestamp of the first data is used to indicate a time when a second communication device sends the first data, and the time of the second communication device is not synchronous with the time of the first communication device, the timestamp of the first data is a first timestamp, the first timestamp is a timestamp that is not subjected to time synchronization processing, and the timestamp of the first data is updated to be a second timestamp according to the first timestamp and a first offset, and the first offset is an offset between the time of the second communication device and the time of the first communication device. By adopting the method, the first communication device can calibrate the time stamp of the first data from the second communication device, so that the time of the data transmitted between the first communication device and the second communication device is synchronous under the condition that the time of the first communication device is not synchronous with the time of the second communication device, and the communication quality is convenient to ensure. In one possible design, the method further includes determining the first offset based on the first timestamp and a third timestamp indicating a time at which the first data was received by the first communication device. That is, each time the first communication device receives data, an offset for calibrating the transmission time stamp may be determined from the transmission time stamp and the reception time stamp of the data. In one possible design, the determining the first offset according to the first timestamp and the third timestamp includes inputting the first timestamp and the third timestamp into a preset model and outputting the first offset. In one possible design, the predetermined model is obtained according to physical parameters of the second communication device, the physical parameters including a frequency of a crystal oscillator. In general, the time synchronization model or algorithm does not consider the characteristics of the communication device (such as the crisian algorithm and the GPS synchronization algorithm described in the specific embodiment), but the preset model in the embodiment of the present application considers the physical parameters of the second communication device, so that the first offset obtained according to the preset model is more accurate. In one possible design, the method further includes determining a second offset based on the first timestamp and a third timestamp indic