CN101355531A - Method, apparatus and equipment for transmitting and receiving information - Google Patents

Method, apparatus and equipment for transmitting and receiving information Download PDF

Info

Publication number
CN101355531A
CN101355531A CNA2008102117457A CN200810211745A CN101355531A CN 101355531 A CN101355531 A CN 101355531A CN A2008102117457 A CNA2008102117457 A CN A2008102117457A CN 200810211745 A CN200810211745 A CN 200810211745A CN 101355531 A CN101355531 A CN 101355531A
Authority
CN
China
Prior art keywords
message
module
timestamp
detection
event
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.)
Pending
Application number
CNA2008102117457A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA2008102117457A priority Critical patent/CN101355531A/en
Publication of CN101355531A publication Critical patent/CN101355531A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method, a device and equipment for transmitting and receiving information. An information transmitting device comprises a message packet generating module, a timestamp and message handling module and a port selecting module; and an information receiving device comprises a preamble detection module, a message detection module, a timestamp compensation calculation module, a real-time clock module and a message packet generating module. Event messages and common messages are respectively transmitted through two channels and only the event messages transmitted through a first channel are stamped with the timestamp, thereby the message transmitting process is simple and high-efficiency and has low cost; and the timestamp compensation calculation function is increased and the receiving time of synchronous messages is flexibly detected.

Description

Method, device and equipment that a kind of message sends, receives
Technical field
The embodiment of the invention relates to the communications field, relates in particular to method, device and equipment that a kind of message sends, receives.
Background technology
The development trend of future network is that all-IP (Internet Protocol, Internet protocol) is changed, but still faces a lot of difficulties in the transition from the legacy network to the future network, clock and time be exactly one of them key difficult problem synchronously.How the professional problem of transmission clock, time and traditional TDM (TimeDivision Mulipex, time division multiplexing) is more and more urgent for network.IEEE1588 (the precision interval clock synchronous protocol standard of network measure and control system) relies on unified standard, good time synchronized and Frequency Synchronization quality gradually become the main flow of clock technology, because PDV (Packet Delay Variance based on hardware handles timestamp and network, packet delay changes) less to its influence, so can obtain good clock quality and to the time mechanism.
The synchronization message process of transmitting of prior art comprises: the IEEE1588 program module produces the synchronization message that will send and according to the PTP agreement be set the very first time in event message and stabs, and outwards sends message then; Message detector identification event message, and with the event message stores that identifies in middle internal memory FIFO, and extract the delivery time that obtains event message from message timestamp point internal memory, the timestamp information that produces with message timestamp point internal memory by message handling device covers very first time stamp.
The message sink process comprises with process of transmitting similar, and difference is at first through re-sending to the IEEE1588 program module after the recording messages entry times such as message detector.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
Need message detector to identify type of message when sending synchronization message and beat timestamp again, the complexity height, the cost height, transmitting efficiency is low.
Summary of the invention
Method, device and equipment that the embodiment of the invention provides a kind of message to send, receive, to realize adopting two passages to send dissimilar synchronization messages respectively, process of transmitting is simply efficient; By increasing timestamp compensation computing function, realize detecting flexibly the time of reception of synchronization message.
The embodiment of the invention provides a kind of message dispensing device, comprises message packet generation module, timestamp and message processing module and port selection module:
Described message packet generation module, be connected by first passage with message processing module with described timestamp, select module to be connected with described port by second channel, be used for sending event message to described timestamp and message processing module, select module to send common message to described port by described second channel by described first passage;
Described timestamp and message processing module are used for according to the timestamp value that receives, and revise the timestamp of described message packet generation module by the event message of first passage transmission, select module to send to described port amended event message;
Described port is selected module, is used to receive from the common message of described message packet generation module or from the event message of described timestamp and message processing module, and described common message or described event message are sent.
The embodiment of the invention provides a kind of message receiving apparatus, comprises detection of preamble module, message-detection, timestamp compensation computing module, real-time clock module and message packet generation module:
Described detection of preamble module, the message that is used for receiving sends to described message-detection, and notifies described timestamp compensation computing module when detecting the lead code of described message;
Described message-detection, be used for when detecting the event message of described message, notify described timestamp compensation computing module and real-time clock module, revise the timestamp of described event message according to the timestamp value that sends from described timestamp compensation computing module, and amended described message is sent to described message packet generation module;
Described real-time clock module when being used to receive the notice of described message-detection transmission, sends current time stamp value to described timestamp compensation computing module;
Described timestamp compensation computing module, be used for timestamp value that the notice that sends according to the described detection of preamble module that receives and message-detection and described real-time clock module send and calculate the timestamp value of described event message, and described timestamp value is sent to described message-detection;
Described message packet generation module is used to receive the message that described message-detection sends.
The embodiment of the invention provides a kind of message method, is applied in the message dispensing device, and described dispensing device comprises message packet generation module, timestamp and message processing module and port selection module; Described method comprises:
Described message packet generation module sends event message by first passage to described timestamp and message processing module, selects module to send common message by second channel to described port;
Described timestamp and message processing module are revised the timestamp of described message packet generation module by the event message of first passage transmission according to the timestamp value that receives, and select module to send to described port amended event message;
Described port selects module to receive from the common message of described message packet generation module or from the event message of described timestamp and message processing module, and described common message or described event message are sent.
The embodiment of the invention provides a kind of message receival method, comprising:
The detection of preamble module sends to message-detection with the message that receives, and the notice timestamp compensates computing module when detecting the lead code of described message;
When described message-detection detects event message in the described message, notify described timestamp compensation computing module and real-time clock module, the timestamp value that sends according to described timestamp compensation computing module is revised the timestamp of described event message, and amended message is sent to described message packet generation module;
When described real-time clock module receives the notice of described message-detection transmission, send current time stamp value to described timestamp compensation computing module;
The timestamp value that notice that described detection of preamble module that described timestamp compensation computing module basis receives and message-detection send and described real-time clock module send is calculated the timestamp value of described event message, and described timestamp value is sent to described message-detection;
Described message packet generation module receives the message that described message-detection sends.
The embodiment of the invention provides a kind of network equipment, comprises the message dispensing device, and described message dispensing device comprises message packet generation module, timestamp and message processing module and port selection module:
Described message packet generation module, be connected by first passage with message processing module with described timestamp, select module to be connected with described port by second channel, be used for sending event message to described timestamp and message processing module, select module to send common message to described port by described second channel by described first passage;
Described timestamp and message processing module are used for according to the timestamp value that receives, and revise the timestamp of described message packet generation module by the event message of first passage transmission, select module to send to described port amended event message;
Described port is selected module, is used to receive from the common message of described message packet generation module or from the event message of described timestamp and message processing module, and described common message or described event message are sent.
The embodiment of the invention also provides a kind of network equipment, comprises message receiving apparatus, and described message receiving apparatus comprises detection of preamble module, message-detection, timestamp compensation computing module, real-time clock module and message packet generation module:
Described detection of preamble module, the message that is used for receiving sends to described message-detection, notifies described timestamp compensation computing module when detecting the lead code of described message;
Described message-detection, be used for when detecting the event message of described message, notify described timestamp compensation computing module and real-time clock module, timestamp according to revise described event message from the timestamp value of described timestamp compensation computing module transmission sends amended message to described message packet generation module;
Described real-time clock module is used for sending current time stamp value to described timestamp compensation computing module when the notice that receives from described message-detection;
Described timestamp compensation computing module, be used for according to the notice of described detection of preamble module that receives and message-detection transmission and the timestamp value that described real-time clock module sends, calculate the timestamp value of described event message, described timestamp value is sent to described message-detection;
Described message packet generation module is used to receive the message from described message-detection.
Compared with prior art, the embodiment of the invention has the following advantages at least:
By adopting two passages to send event message and common message respectively, only the event message that first passage is sent is beaten timestamp, and message transmitting process is simply efficient, and cost is low; Increase timestamp compensation computing function, detect the time of reception of synchronization message flexibly.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The message dispensing device structural representation that Fig. 1 provides for the embodiment of the invention;
The message dispensing device structural representation that Fig. 2 provides for the embodiment of the invention;
The device detailed structure view that Fig. 3 provides for the embodiment of the invention;
The message dispensing device structure chart that Fig. 4 provides for the embodiment of the invention;
The message receiving apparatus structural representation that Fig. 5 provides for the embodiment of the invention;
The example schematic of the message receiving apparatus that Fig. 6 provides for the embodiment of the invention;
The schematic flow sheet of the message method that Fig. 7 provides for the embodiment of the invention;
The detailed process schematic diagram of the message method that Fig. 8 provides for the embodiment of the invention;
The schematic flow sheet of the message receival method that Fig. 9 provides for the embodiment of the invention;
The network equipment structural representation that Figure 10 provides for the embodiment of the invention;
Message dispensing device structure chart in the network equipment that Figure 11 provides for the embodiment of the invention;
The network equipment structural representation that Figure 12 provides for the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples the present invention is introduced.
The embodiment of the invention provides a kind of message dispensing device, as shown in Figure 1, comprises message packet generation module 11, timestamp and message processing module 12 and port selection module 13:
Message packet generation module 11, be used for being connected by first passage with timestamp and message processing module 12, select module 13 to be connected with port by second channel, send event message by first passage to timestamp and message processing module 12, select module 13 to send common message to port by second channel;
Timestamp and message processing module 12 are used for according to the timestamp value that receives, and revise the timestamp of message packet generation module 11 by the event message of first passage transmission, select module 13 to send to port amended event message;
Port is selected module 13, is used to receive from the common message of message packet generation module 11 or from the event message of timestamp and message processing module 12, and above-mentioned common message or event message are sent.
Device by adopting the embodiment of the invention to provide utilizes two passages to send event message and common message respectively, and only the event message that first passage is sent is beaten timestamp, and message transmitting process is simply efficient, and cost is low.
The embodiment of the invention provides a kind of message dispensing device, as shown in Figure 2, also comprises:
Detection of preamble module 14 is used to receive common message or the event message of selecting module 13 from port, and this common message or event message are sent; During lead code in detecting this event message, notice real-time clock module 15;
Real-time clock module 15 is used for when receiving the notice of detection of preamble module 14, and the timestamp value is sent to timestamp and message processing module 12.
Device by adopting the embodiment of the invention to provide utilizes two passages to send event message and common message respectively, and only the event message that first passage is sent is beaten timestamp, and message transmitting process is simply efficient, and cost is low.
The embodiment of the invention provides a kind of message transmission, receiving system, and as shown in Figure 3, the embodiment of the invention is finished the processing capacity that synchronization message sends and receives.The message of the embodiment of the invention sends, receiving system can be applied to use in the system of IEEE1588.Be example with the system that uses IEEE1588:
At sending direction,,, finish the modification and the outbound port monitoring constantly of encapsulation, timestamp as sync, Delay_req message to event message; For general message,, finish the insertion of encapsulation, t4 timestamp as Delay_resp.
At receive direction, to event message, finish the acquisition of due in timestamp as sync, Delay_req message, and inner extraction of carrying timestamp.
The device that the embodiment of the invention provides specifically comprises: message packet generation module (PG) 310, timestamp and message processing module (MM) 370, port are selected module (PS) 330, real-time clock module (RTC) 340, preamble detection module (PD) 351,352 and message-detection (MD) 360.
Message packet generation module (PG) 310 is used for producing and sending message;
This module divides two passages to send message: according to the IEEE1588 agreement, it is 319 event message that first passage sends purpose UDP (User Datagram Protocol, User Datagram Protoco (UDP)) port numbers; Second channel transmission destination interface is 320 general message.
PG module 310 is finished the generation and the encapsulation of event message and general message; Sync for example, two kinds of event message of Delay_req; Delay_resp, announce, general message such as signaling also are used to fill in the timestamp territory initial value of event message, extend this as 0 according to this initial value of agreement; Finish the processing from MD module 360 message and timestamp simultaneously, the timestamp t4 that extracts event message inserts general message.
PG module 310 also is used to send Sync, and two kinds of event message of Delay_req are to timestamp and message processing module 370, when the gating index signal is effective Delay_resp, announce, general message such as signaling send to PS module 330.
MM module 370 is used to finish event message timestamp and revises;
Indicate when effective when gating, MM module 370 at first directly sends to PD module 351 to event message by PS module 330.PD module 351 is finished the interpolation to the event message lead code, and CRC (Cyclic Redundancy Checksum, cyclic redundancy check (CRC)) calculating is finished in the information serial that PS module 330 sends; And, begin when network side sends when detecting lead code, send to RTC module 360 " indication of timestamp point " signal; RTC module 360 is according to the timestamp value constantly of timestamp point under this signal record, and feeds back to MM module 370 at once.To detect " timestamp is effectively indicated " effective when MM module 370, and " gating indication " is effectively the time, then with the current timestamp replacement initial time stamp 0 that extracts from RTC module 360.
Port is selected module (PS) 330, is used to finish the gating or the scheduling mechanism of event passage and general passage;
PS module 330 is finished the gating or the scheduling of event passage and general passage by sending the gating index signal to MM module 370 and PG module 310, and feedback gating index signal is given MM module 370 and PG module 310.
PS module 330 can also send gating indication notice PG module 310 and send event message by first passage.Event message can be stored in PG module 310, waits for after receiving gating indicates sending to MM module 370, is forwarded to PS module 330 again; Also can at first send to MM module 370, receive and send to PS module 330 by MM module 370 again after gating is indicated by PG module 310.
Detection of preamble module (PD) 351 is used for stabbing according to the IEEE1588 agreement deadline monitoring of point, and sends to RTC module 360 " indication of timestamp point " signal.
According to the IEEE1588 agreement, the timestamp indication point is at MAC layer (Medium AccessControl, media access control layer) and between the PHY layer (physical layer) detect, be positioned at lead code finish time, in the initial moment of message, this way has guaranteed to eliminate the delay jitter that message is handled at device interior.This module is also finished the interpolation of lead code.
Detection of preamble module (PD) 352 is used to receive the message that network side sends, and transmitting time is stabbed point and is indicated to RTC module 340, and forwards the message to MD module 360.
Message-detection (MD) 360 is used for the monitoring of event message;
When MD module 360 detects current message and is event message, and indication this moment " timestamp index signal " effectively, and MD module 360 can enter the timestamp that current RTC module 340 is sent the timestamp of this device port as current event message so.
Real-time clock module (RTC) 340 is used for transmitting time and stabs to MM module 370 or MD module 360;
RTC module 340 has the timestamp of 80bit, and wherein high 48 is a second value, and low 32 is the nanosecond value.RTC module 340 is driven by outside phase-locked loop, and the clock source of phase-locked loop is from external reference clock or 1588 clocks.When " indication of timestamp point " signal of receiving from PD module 310, RTC module 340 is stabbed current time corresponding and is intercepted, and is sent to MM module 370 or MD module 360 at once.
The type of described first passage comprises the passage by the 319 ports connection of described message packet generation module; The type of described second channel comprises the passage by the 320 ports connection of described message packet generation module.
Device by adopting the embodiment of the invention to provide utilizes two passages to send event message and common message respectively, and only the event message that first passage is sent is beaten timestamp, and message transmitting process is simply efficient, and cost is low.
The embodiment of the invention also provides a kind of message dispensing device, and as shown in Figure 4, service message can be multiplexing with the general message channel in the synchronization message, selects module and detection of preamble module to send to network side by port.
In real network is used, except that IEEE1588 message, also there is a large amount of service messages, service message need not beaten timestamp in the port as the general kind of message, therefore can regard the IEEE1588 message of general type fully as.
By the device that adopts the embodiment of the invention to provide, service message and general message sharing channel have been simplified logical design, do not need independently service channel, and what synchronization message and service message need be set at the outbound port place yet closes the road module.
The embodiment of the invention also provides a kind of message receiving apparatus, by increasing a timestamp compensation computing module time that message-detection detects event message is compensated, make the timestamp of the time adjustment event message that message-detection enters from network side with event message.
As shown in Figure 5, comprising: detection of preamble module 510, message-detection 520, timestamp compensation computing module 530, real-time clock module 540 and message packet generation module 550:
Detection of preamble module 510, the message that is used for receiving sends to message-detection 520, and the notice timestamp compensates computing module 530 when detecting the lead code of message; Described message can be Ethernet message.
Message-detection 520, be used for when detecting the event message of message, notice timestamp compensation computing module 530 and real-time clock module 540, revise the timestamp of event message according to the timestamp value that sends from timestamp compensation computing module 530, and amended message is sent to message packet generation module 550;
Real-time clock module 540 when being used to receive the notice of message-detection 520 transmissions, sends current time stamp values to timestamp compensation computing module 530;
Timestamp compensation computing module 530, be used for detection of preamble module 510 and the notice of message-detection 520 transmissions and the timestamp value of the timestamp value calculating event message that real-time clock module 540 sends that basis receives, and this timestamp value is sent to message-detection 520;
Message packet generation module 550 is used to receive the message that message-detection 520 sends.
When detection of preamble module 510 also was used to receive eventful message, serial sent eventful message to message-detection 520.
It is that event message is beaten timestamp that the message receiving apparatus that the embodiment of the invention provides can also be used for when receiving eventful message, a plurality of detection of preamble modules send event message to message-detection, utilize the serial conversion module that eventful message string is advanced into, thereby the order transmitting time is stabbed and is indicated to timestamp compensation computing module, obtains stabbing with eventful message time corresponding.
Sending 2 event messages with 2 detection of preamble modules below is that example is introduced, the message that the detection of preamble module receives is example with Ethernet message, as shown in Figure 6, detection of preamble module 611,612 receives the message that Ethernet sends respectively, and, the message that receives is sent to message-detection 620 to stamp point indication 11 of timestamp compensation computing module 630 transmitting times and timestamp point indication 12;
Message-detection 620 is advanced into by the message string that serial conversion module 621 sends above-mentioned detection of preamble module 611,612; Message-detection 620 at first receives the message that detection of preamble module 611 sends, and this message is detected, and gives timestamp compensating module 630 event message original position indication point as timestamp point indication 21, obtains corresponding timestamp; After the message timestamp that detection of preamble module 611 sends is revised and is finished, message-detection 620 receives the message that detection of preamble module 612 sends, this message is discerned, correspondingly transmitting time is stabbed some indication 22 to timestamp compensation computing module 630, according to this message timestamp of results modification of feedback.
By the device that adopts the embodiment of the invention to provide, can make message-detection enter time adjustment event message timestamp from network side by increasing timestamp compensation computing module with event message; And, can adopt the corresponding many detection of preamble module of a message-detection by this device, save cost.
The embodiment of the invention also provides a kind of message method, as shown in Figure 7, comprising:
Step s710, message packet generation module sends event message by first passage to timestamp and message processing module, selects module to send common message by second channel to port;
Step s720, timestamp and message processing module revise the timestamp of message packet generation module by the event message of first passage transmission according to the timestamp value that receives, and select module to send to described port amended event message;
Step s730, port select module to receive from the common message of message packet generation module or from the event message of timestamp and message processing module, and this common message or described event message are sent.
Embodiment of the invention method can be applied to use in the system of IEEE1588, and the type of described first passage comprises the passage by the 319 ports connection of described message packet generation module; The type of described second channel comprises the passage by the 320 ports connection of described message packet generation module.
By the method that adopts the embodiment of the invention to provide, utilize two passages to send event message and common message respectively, only the event message that first passage is sent is beaten timestamp, and message transmitting process is simply efficient, and cost is low.
The embodiment of the invention also provides a kind of message method, as shown in Figure 8, comprising:
Step s810, message packet generation module sends event message by first passage to timestamp and message processing module, selects module to send common message by second channel to port;
Concrete, it number is 319 event message that first passage sends the purpose udp port; Second channel transmission destination interface is 320 general message.
Message packet generation module is finished the generation and the encapsulation of event (incident) message and general (common) message; Sync for example, two kinds of event message of Delay_req; Delay_resp, announce, general message such as signaling also are used to fill in the timestamp territory initial value of event message, extend this as 0 according to this initial value of agreement; Finish the processing from message-detection message and timestamp simultaneously, the timestamp t4 that extracts event message inserts general message.
Step s820, during the lead code of detection of preamble module in detecting event message, the notice real-time clock module;
The detection of preamble module is finished the interpolation to the event message lead code, and CRC calculating is finished in the information serial that port selects module to send; And, begin when network side sends when detecting lead code, send to real-time clock module " indication of timestamp point " signal.
When step s830, real-time clock module receive the notice of detection of preamble module, the timestamp value is sent to timestamp and message processing module, make timestamp and message processing module revise the timestamp of event message according to this timestamp value.
Step s840, timestamp and message processing module revise the timestamp of message packet generation module by the event message of first passage transmission, and select module to send to port amended event message;
Step s850, port select module that common message or the event message that receives sent by the detection of preamble module, such as sending to Ethernet.
Embodiment of the invention method can be applied to use in the system of IEEE1588, and the type of described first passage comprises the passage by the 319 ports connection of described message packet generation module; The type of described second channel comprises the passage by the 320 ports connection of described message packet generation module.
By the method that adopts the embodiment of the invention to provide, utilize two passages to send event message and common message respectively, only the event message that first passage is sent is beaten timestamp, and is simple efficient.
The embodiment of the invention also provides a kind of message receival method, as shown in Figure 9, comprising:
Step s910, the detection of preamble module sends to message-detection with the message that receives, and the notice timestamp compensates computing module when detecting the lead code of Ethernet message; Above-mentioned message can be Ethernet message;
Step s920, when message-detection detects event message in the message, notice timestamp compensation computing module and real-time clock module, revise the timestamp of event message according to the timestamp value that sends from timestamp compensation computing module, and amended message is sent to message packet generation module;
When step s930, real-time clock module receive the notice of message-detection transmission, send current time stamp value to timestamp compensation computing module;
Step s940, the timestamp value that notice that detection of preamble module that timestamp compensation computing module basis receives and message-detection send and real-time clock module send is calculated the timestamp value of event message, and this timestamp value is sent to message-detection;
Step s950, message packet generation module receives the message that message-detection sends.
The method of the embodiment of the invention can be based on IEEE1588.
By the method that adopts the embodiment of the invention to provide, can make message-detection enter time adjustment event message timestamp from network side by increasing timestamp compensation computing module with event message; And, can adopt the corresponding many detection of preamble module of a message-detection by this method, save cost.
The embodiment of the invention provides a kind of network equipment, as shown in figure 10, comprises message dispensing device 101, central processing unit 102.
Wherein, message dispensing device 101 is used to send synchronization message, i.e. event message and generally message, and the clock and the time relationship of coordination and other network equipment, central processing unit 102 is used to handle other task of this equipment.
Message dispensing device 101 comprises message packet generation module 1011, timestamp and message processing module 1012 and port selection module 1013.
Message packet generation module 1011, be used for being connected by first passage with timestamp and message processing module 1012, select module 1013 to be connected with port by second channel, send event message by first passage to timestamp and message processing module 1012, select module 1013 to send common message to port by second channel;
Timestamp and message processing module 1012 are used for according to the timestamp value that receives, and revise the timestamp of message packet generation module 1011 by the event message of first passage transmission, select module 1013 to send to port amended event message;
Port is selected module 1013, is used to receive from the common message of message packet generation module or from the event message of timestamp and message processing module, and above-mentioned common message or event message are sent.
The structure of above-mentioned message dispensing device 101 as shown in figure 11, also comprises:
Detection of preamble module 1014 is used to receive common message or the event message of selecting module 1013 from port, and this common message or event message are sent; During lead code in detecting this event message, notice real-time clock module 1015;
Real-time clock module 1015 is used for when receiving the notice of detection of preamble module 1014, and the timestamp value is sent to timestamp and message processing module 1012.
Embodiment of the invention message dispensing device can be based on IEEE1588, and the type of described first passage comprises the passage by the 319 ports connection of described message packet generation module; The type of described second channel comprises the passage by the 320 ports connection of described message packet generation module.
The type of the network equipment that the embodiment of the invention provides comprises equipment such as router, switch, server, base station, base station controller, can also be terminal equipments such as computer, mobile phone.
Device by adopting the embodiment of the invention to provide utilizes two passages to send event message and common message respectively, and only the event message that first passage is sent is beaten timestamp, and message transmitting process is simply efficient, and cost is low.
The embodiment of the invention provides a kind of network equipment, as shown in figure 12, comprises message receiving apparatus 121, central processing unit 122.
Wherein, message receiving apparatus 121 is used to receive synchronization message, i.e. event message and generally message, and the clock and the time relationship of coordination and other network equipment, central processing unit 122 is used to handle other task of this equipment.
Message receiving apparatus 121 comprises detection of preamble module 1211, message-detection 1212, timestamp compensation computing module 1213, real-time clock module 1214 and message packet generation module 1215.
Detection of preamble module 1211, the message that is used for receiving sends to message-detection 1212, notice timestamp compensation computing module 1213 when detecting the lead code of message;
Message-detection 1212, be used for when detecting the event message of message, notice timestamp compensation computing module 1213 and real-time clock module 1214, timestamp according to the timestamp value modification event message that sends from timestamp compensation computing module 1213 sends amended message to message packet generation module 1215;
Real-time clock module 1214 is used for sending current time stamp values to timestamp compensation computing module 1213 when the notice that receives from message-detection 1212;
Timestamp compensation computing module 1213, be used for according to the notice of detection of preamble module 1211 that receives and message-detection 1212 transmissions and the timestamp value of real-time clock module 1214 transmissions, calculate the timestamp value of event message, the timestamp value is sent to message-detection 1212;
Message packet generation module 1215 is used to receive the message from message-detection 1212.
Embodiment of the invention message receiving apparatus can be based on IEEE1588.
The type of the network equipment that the embodiment of the invention provides comprises equipment such as router, switch, server, base station, base station controller, can also be terminal equipments such as computer, mobile phone.
By the network equipment that adopts the embodiment of the invention to provide, can make message-detection enter time adjustment event message timestamp from network side by increasing timestamp compensation computing module with event message; And, can adopt the corresponding many detection of preamble module of a message-detection by this device, save cost.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1, a kind of message dispensing device is characterized in that, comprises message packet generation module, timestamp and message processing module and port selection module:
Described message packet generation module, be connected by first passage with message processing module with described timestamp, select module to be connected with described port by second channel, be used for sending event message to described timestamp and message processing module, select module to send common message to described port by described second channel by described first passage;
Described timestamp and message processing module are used for according to the timestamp value that receives, and revise the timestamp of described message packet generation module by the event message of first passage transmission, select module to send to described port amended event message;
Described port is selected module, is used to receive from the common message of described message packet generation module or from the event message of described timestamp and message processing module, and described common message or described event message are sent.
2, device as claimed in claim 1 is characterized in that, also comprises:
The detection of preamble module is used to receive common message or the event message of selecting module from described port, and described common message or event message are sent; During lead code in detecting described event message, the notice real-time clock module;
Real-time clock module is used for when receiving the notice of described detection of preamble module, and the timestamp value is sent to described timestamp and message processing module.
3, device as claimed in claim 1 is characterized in that, when described device was applied to use in the system of IEEE1588, the type of described first passage comprised the passage that 319 ports by described message packet generation module connect; The type of described second channel comprises the passage by the 320 ports connection of described message packet generation module.
4, device as claimed in claim 1 is characterized in that, described message packet generation module is further used for:
Select module to send service message by described second channel to described port.
5, a kind of message receiving apparatus is characterized in that, comprising: detection of preamble module, message-detection, timestamp compensation computing module, real-time clock module and message packet generation module:
Described detection of preamble module, the message that is used for receiving sends to described message-detection, notifies described timestamp compensation computing module when detecting the lead code of described message;
Described message-detection, be used for when detecting the event message of described message, notify described timestamp compensation computing module and real-time clock module, timestamp according to revise described event message from the timestamp value of described timestamp compensation computing module transmission sends amended message to described message packet generation module;
Described real-time clock module is used for sending current time stamp value to described timestamp compensation computing module when the notice that receives from described message-detection;
Described timestamp compensation computing module, be used for according to the notice of described detection of preamble module that receives and message-detection transmission and the timestamp value that described real-time clock module sends, calculate the timestamp value of described event message, described timestamp value is sent to described message-detection;
Described message packet generation module is used to receive the message from described message-detection.
6, device as claimed in claim 5 is characterized in that, described detection of preamble module is further used for:
When receiving eventful message, described eventful message is sent to described message-detection serial.
7, a kind of message method is characterized in that, is applied in the message dispensing device, and described dispensing device comprises message packet generation module, timestamp and message processing module and port selection module; Described method comprises:
Described message packet generation module sends event message by first passage to described timestamp and message processing module, selects module to send common message by second channel to described port;
Described timestamp and message processing module are revised the timestamp of described message packet generation module by the event message of first passage transmission according to the timestamp value that receives, and select module to send to described port amended event message;
Described port selects module to receive from the common message of described message packet generation module or from the event message of described timestamp and message processing module, and described common message or described event message are sent.
8, method as claimed in claim 7 is characterized in that, when described message dispensing device also comprised detection of preamble module and real-time clock module, described method also comprised:
The detection of preamble module receives common message or the event message of selecting module from described port, and described common message or event message are sent; During lead code in detecting described event message, the notice real-time clock module;
When described real-time clock module receives the notice of described detection of preamble module, the timestamp value is sent to described timestamp and message processing module.
9, method as claimed in claim 7 is characterized in that, described message packet generation module sends event message by first passage to timestamp and message processing module, selects module to send common message by second channel to port and also comprises:
Described message packet generation module selects module to send service message by described second channel to described port.
10, a kind of message receival method is characterized in that, is applied in the message receiving apparatus, and described device comprises detection of preamble module, message-detection, timestamp compensation computing module, real-time clock module and message packet generation module, and described method comprises:
The detection of preamble module sends to message-detection with the message that receives, notice timestamp compensation computing module when detecting the lead code of described message;
When described message-detection detects event message in the described message, notify described timestamp compensation computing module and real-time clock module;
When described real-time clock module receives the notice of described message-detection transmission, send current time stamp value to described timestamp compensation computing module;
Described timestamp compensation computing module is according to the notice of described detection of preamble module that receives and message-detection transmission and the timestamp value that described real-time clock module sends, calculate the timestamp value of described event message, described timestamp value is sent to described message-detection;
Described message-detection sends amended message according to the timestamp of revising described event message from the timestamp value of described timestamp compensation computing module to described message packet generation module.
11, method as claimed in claim 10 is characterized in that, described detection of preamble module sends to message-detection with the message that receives and also comprises:
When described detection of preamble module receives eventful message, described eventful message is sent to described message-detection serial.
12, a kind of network equipment is characterized in that, comprises the message dispensing device, and described message dispensing device comprises message packet generation module, timestamp and message processing module and port selection module:
Described message packet generation module, be connected by first passage with message processing module with described timestamp, select module to be connected with described port by second channel, be used for sending event message to described timestamp and message processing module, select module to send common message to described port by described second channel by described first passage;
Described timestamp and message processing module are used for according to the timestamp value that receives, and revise the timestamp of described message packet generation module by the event message of first passage transmission, select module to send to described port amended event message;
Described port is selected module, is used to receive from the common message of described message packet generation module or from the event message of described timestamp and message processing module, and described common message or described event message are sent.
13, the network equipment as claimed in claim 12 is characterized in that, the type of this network equipment comprises:
Router, switch, server, base station, base station controller, computer or mobile phone.
14, a kind of network equipment is characterized in that, comprises message receiving apparatus, and described message receiving apparatus comprises detection of preamble module, message-detection, timestamp compensation computing module, real-time clock module and message packet generation module:
Described detection of preamble module, the message that is used for receiving sends to described message-detection, notifies described timestamp compensation computing module when detecting the lead code of described message;
Described message-detection, be used for when detecting the event message of described message, notify described timestamp compensation computing module and real-time clock module, timestamp according to revise described event message from the timestamp value of described timestamp compensation computing module transmission sends amended message to described message packet generation module;
Described real-time clock module is used for sending current time stamp value to described timestamp compensation computing module when the notice that receives from described message-detection;
Described timestamp compensation computing module, be used for according to the notice of described detection of preamble module that receives and message-detection transmission and the timestamp value that described real-time clock module sends, calculate the timestamp value of described event message, described timestamp value is sent to described message-detection;
Described message packet generation module is used to receive the message from described message-detection.
15, the network equipment as claimed in claim 14 is characterized in that, the type of this network equipment comprises:
Router, switch, server, base station, base station controller, computer or mobile phone.
CNA2008102117457A 2008-09-24 2008-09-24 Method, apparatus and equipment for transmitting and receiving information Pending CN101355531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102117457A CN101355531A (en) 2008-09-24 2008-09-24 Method, apparatus and equipment for transmitting and receiving information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102117457A CN101355531A (en) 2008-09-24 2008-09-24 Method, apparatus and equipment for transmitting and receiving information

Publications (1)

Publication Number Publication Date
CN101355531A true CN101355531A (en) 2009-01-28

Family

ID=40308130

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102117457A Pending CN101355531A (en) 2008-09-24 2008-09-24 Method, apparatus and equipment for transmitting and receiving information

Country Status (1)

Country Link
CN (1) CN101355531A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102783079A (en) * 2010-03-02 2012-11-14 维特赛半导体公司 Distributed packet-based timestamp engine
CN103441861A (en) * 2013-07-16 2013-12-11 杭州华为数字技术有限公司 Method and device for generating data records
CN103490840A (en) * 2012-06-12 2014-01-01 中兴通讯股份有限公司 Device and method for carrying out precision time protocol message processing
CN105846941A (en) * 2016-05-23 2016-08-10 西安电子科技大学 IEEE-1588-standard-based clock transparent transmission apparatus and method
CN106851060A (en) * 2017-01-03 2017-06-13 深圳市铁越电气有限公司 For the flake wide angle cameras and method of video surveillance system in substations system
CN107852522A (en) * 2015-08-07 2018-03-27 索尼公司 Receiving device and data processing method
CN112868210A (en) * 2018-10-08 2021-05-28 国际商业机器公司 Block chain timestamp protocol
US11588651B2 (en) 2018-10-08 2023-02-21 Green Market Square Limited Blockchain timestamp agreement
US11924360B2 (en) 2018-10-08 2024-03-05 Green Market Square Limited Blockchain timestamp agreement

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102783079B (en) * 2010-03-02 2015-09-02 维特赛半导体公司 Based on the distributed timestamp engine of bag
CN102783079A (en) * 2010-03-02 2012-11-14 维特赛半导体公司 Distributed packet-based timestamp engine
CN103490840B (en) * 2012-06-12 2017-11-07 中兴通讯股份有限公司 A kind of apparatus and method for carrying out Precision Time Protocol Message processing
CN103490840A (en) * 2012-06-12 2014-01-01 中兴通讯股份有限公司 Device and method for carrying out precision time protocol message processing
CN103441861A (en) * 2013-07-16 2013-12-11 杭州华为数字技术有限公司 Method and device for generating data records
CN107852522A (en) * 2015-08-07 2018-03-27 索尼公司 Receiving device and data processing method
US10785525B2 (en) 2015-08-07 2020-09-22 Saturn Licensing Llc Reception apparatus and data processing method
CN105846941A (en) * 2016-05-23 2016-08-10 西安电子科技大学 IEEE-1588-standard-based clock transparent transmission apparatus and method
CN105846941B (en) * 2016-05-23 2018-09-11 西安电子科技大学 Clock transparent transmission device and method based on 1588 standards of IEEE
CN106851060A (en) * 2017-01-03 2017-06-13 深圳市铁越电气有限公司 For the flake wide angle cameras and method of video surveillance system in substations system
CN112868210A (en) * 2018-10-08 2021-05-28 国际商业机器公司 Block chain timestamp protocol
CN112868210B (en) * 2018-10-08 2022-12-06 绿市广场有限公司 Block chain timestamp protocol
US11588651B2 (en) 2018-10-08 2023-02-21 Green Market Square Limited Blockchain timestamp agreement
US11924360B2 (en) 2018-10-08 2024-03-05 Green Market Square Limited Blockchain timestamp agreement

Similar Documents

Publication Publication Date Title
CN101355531A (en) Method, apparatus and equipment for transmitting and receiving information
US11039411B2 (en) Synchronization method for synchronizing clocks of a Bluetooth device
EP1398931B1 (en) Synchronous play-out of media data packets
US8767778B2 (en) Method, system and apparatus for synchronizing signals
US8660152B2 (en) Multi-frame network clock synchronization
KR101261123B1 (en) Improved method, system and apparatus for synchronizing signals
US8982912B2 (en) Inter-packet gap network clock synchronization
US7243150B2 (en) Reducing the access delay for transmitting processed data over transmission data
CN101547083B (en) Time synchronizer, time synchronization system and time synchronization method
US9019996B2 (en) Network clock synchronization floating window and window delineation
CN101741853B (en) Method for synchronizing clock time, line card veneer and network equipment
US8351437B2 (en) Stereo bit clock tuning
CN101425891A (en) Time synchronization method, system and customer terminal
WO2008125044A1 (en) Network clock synchronization timestamp
KR20210032988A (en) Use of broadcast physical layer for one-way time transmission in Coordinated Universal Time to receivers
WO2009071029A1 (en) Synchronization system and method of time information and related equipment
CN101237586A (en) Synchronous playing method for audio and video buffer
CN103152118A (en) Base band unit and remote radio unit data service synchronization method, device and system
CN103546273A (en) Frequency synchronism device and method based on PTP frames
US11343007B2 (en) Time synchronization method and device
JP2010124457A (en) Radio communication system, and radio base station apparatus
KR20140088121A (en) Services, systems and methods for precisely estimating a delay within a network
Smimite et al. Next-generation audio networking engineering for professional applications
US20060159122A1 (en) Providing TDM channels to locations connected by networks implemented on broadcast medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090128