CN116599589B - Signal synchronization method, device, equipment and medium - Google Patents

Signal synchronization method, device, equipment and medium Download PDF

Info

Publication number
CN116599589B
CN116599589B CN202310875993.6A CN202310875993A CN116599589B CN 116599589 B CN116599589 B CN 116599589B CN 202310875993 A CN202310875993 A CN 202310875993A CN 116599589 B CN116599589 B CN 116599589B
Authority
CN
China
Prior art keywords
synchronous frame
time
sent
transmitted
preset
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
CN202310875993.6A
Other languages
Chinese (zh)
Other versions
CN116599589A (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.)
Tongda Electromagnetic Energy Co ltd
Original Assignee
Tongda Electromagnetic Energy 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 Tongda Electromagnetic Energy Co ltd filed Critical Tongda Electromagnetic Energy Co ltd
Priority to CN202310875993.6A priority Critical patent/CN116599589B/en
Publication of CN116599589A publication Critical patent/CN116599589A/en
Application granted granted Critical
Publication of CN116599589B publication Critical patent/CN116599589B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • 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

Abstract

The application discloses a method, a device, equipment and a medium for signal synchronization, and relates to the field of communication. The original optical serial port lines between the host end and each slave device are used for transmitting data packets and synchronous frames, so that one optical fiber cable can be omitted between each host end and each slave device, the circuit of the system is simpler, the cost is reduced, the layout space of the optical fiber cables is large, and the communication quality and the reliability of the system are improved; the information of the synchronous frame to be actually sent contains the information of the synchronous frame and the information of the phase angles of the interrupt signals of the slave devices, wherein the phase angles of the interrupt signals are used for generating interrupt periods with different phase angles by the slave devices, so that the influence caused by the accumulation of crystal oscillator clock errors is eliminated as much as possible, and meanwhile, the slave devices can output signals according to the time sequence required by the whole system. Therefore, in the application, a single signal line is connected between the host end and each slave device to realize the control of the synchronous signal and the phase-shifting signal.

Description

Signal synchronization method, device, equipment and medium
Technical Field
The present application relates to the field of communications, and in particular, to a method, an apparatus, a device, and a medium for signal synchronization.
Background
In the whole system communication network, there are often a plurality of different devices, and each device generates a respective clock signal by using different crystal oscillators. If clock synchronization is not performed, as time goes by, the time of each device is greatly different due to the accumulation of the fine difference of the clock signals of each device, and the sequential logic control cannot be performed on all the devices, so that the clock synchronization is required between each device, and the influence caused by the accumulation of the clock error of the crystal oscillator is avoided.
The system is provided with a host device and a plurality of slave devices, and a single synchronous signal line is arranged between the host device and each slave device besides an optical serial port line. And a single signal line is connected between the host equipment and each slave equipment as a synchronous signal for control. And a single synchronous signal line is adopted as synchronization, and one more signal line is adopted for each slave device, so that the system is complicated in circuit, increased in cost and reduced in reliability, and is easy to be interfered.
It can be seen that how to simplify the circuit to achieve signal synchronization is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a method, a device, equipment and a medium for signal synchronization, which are used for realizing signal synchronization by adopting a simple circuit.
In order to solve the above technical problems, the present application provides a signal synchronization method, which is applied to a host, and the method includes:
obtaining a data packet to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time;
when the data packet to be sent is transmitted to the corresponding slave device through an optical serial port line connected with each slave device, determining an actual synchronous frame to be sent and an actual synchronous frame to be sent according to the time of transmitting the data packet to be sent and the preset synchronous frame sending time; the information of the synchronization frame to be actually sent comprises the information of the preset synchronization frame to be sent and the phase angle information of the interrupt signal of each slave device;
and transmitting the synchronous frame to be actually transmitted to each slave device through each optical serial line at the moment of the synchronous frame to be actually transmitted.
Preferably, the determining the actual to-be-transmitted synchronization frame and the actual to-be-transmitted synchronization frame according to the time of transmitting the to-be-transmitted data packet and the preset synchronization frame transmission time includes:
If the transmission time of the data packet to be transmitted is different from the preset transmission time of the current synchronous frame, determining that the actual time of the current synchronous frame to be transmitted is the same as the preset transmission time of the current synchronous frame, and determining that the information of the actual current synchronous frame to be transmitted is the same as the preset information of the current synchronous frame to be transmitted;
if the time for transmitting the current to-be-transmitted data packet is the same as the preset current synchronous frame transmitting time, determining the actual to-be-transmitted current synchronous frame time as the time after the end of transmitting the current to-be-transmitted data packet, and determining the information of the actual to-be-transmitted current synchronous frame to contain the preset information of the to-be-transmitted current synchronous frame and the current synchronous frame offset time length, wherein the current synchronous frame offset time length is the difference value between the actual to-be-transmitted current synchronous frame time and the preset current synchronous frame transmitting time.
Preferably, before the sending, by the optical serial port lines, the actual synchronization frame to be sent to each slave device at the moment of the actual synchronization frame to be sent, the method further includes:
resetting the data of the first clock counter; wherein the first clock counter is located in the host side;
Acquiring the number of first crystal oscillator clock cycles recorded by the first clock counter after the data of the first clock counter are cleared;
and under the condition that the time length corresponding to the number of the first crystal oscillator clock cycles reaches the preset interval of the sending time of the adjacent synchronous frames, resetting the number of the first crystal oscillator clock cycles.
In order to solve the above technical problem, the present application further provides a signal synchronization method, which is applied to a slave terminal, where the slave terminal includes a plurality of slave devices, and the method includes:
receiving an actual synchronous frame to be sent through an optical serial port line connected with a host end; the actual synchronous frame to be sent is that the host end obtains a data packet to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time; when the data packet to be sent is transmitted to the corresponding slave device through an optical serial port line connected with each slave device, the data packet to be sent is obtained according to the time of transmitting the data packet to be sent and the preset synchronous frame sending time; the information of the synchronous frame to be actually sent comprises the information of the preset synchronous frame to be sent and the phase angle information of the interrupt signal of each slave device;
And analyzing the received synchronous frame to be actually sent.
Preferably, the determining, by the host, the actual to-be-transmitted synchronization frame and the time of the actual to-be-transmitted synchronization frame according to the time of transmitting the to-be-transmitted data packet and the preset synchronization frame transmission time includes:
if the transmission time of the data packet to be transmitted is different from the preset transmission time of the current synchronous frame, determining that the actual time of the current synchronous frame to be transmitted is the same as the preset transmission time of the current synchronous frame, and determining that the information of the actual current synchronous frame to be transmitted is the same as the preset information of the current synchronous frame to be transmitted;
if the time for transmitting the current data packet to be transmitted is the same as the preset current synchronous frame transmission time, determining the time for actually transmitting the current synchronous frame to be the time after the end of transmitting the current data packet to be transmitted, and determining the information of the actually transmitting the current synchronous frame to be transmitted to comprise the information of the preset current synchronous frame to be transmitted and the offset time of the current synchronous frame, wherein the offset time of the current synchronous frame is the difference value between the time for actually transmitting the current synchronous frame to be transmitted and the preset current synchronous frame transmission time;
Correspondingly, the analyzing the received synchronization frame to be actually sent includes:
determining interrupt signals of the corresponding slave devices according to the difference value between the interrupt signal phase angle information of each slave device and the current synchronous frame offset duration to generate a comparison value;
resetting the data of the second clock counter; wherein the second clock counter is located in each slave device;
acquiring the number of second crystal oscillator clock cycles recorded by the second clock counter after the data of the second clock counter are cleared;
and controlling the corresponding slave equipment to generate an interrupt signal under the condition that the number of the second crystal clock cycles reaches the interrupt signal generation comparison value of the corresponding slave equipment.
Preferably, before the obtaining the number of the second clock cycles recorded by the second clock counter, the method further includes:
judging whether the interrupt signal generation comparison value of each slave device is smaller than 0;
if yes, obtaining the sum of the interval between the interrupt signal generation comparison value of the slave device with the interrupt signal generation comparison value smaller than 0 and the preset adjacent synchronous frame transmission time;
And generating a comparison value by taking the sum as a new interrupt signal of the slave device, wherein the comparison value of the interrupt signal generation is smaller than 0.
In order to solve the above technical problem, the present application further provides a signal synchronization device, which is applied to a host, and the device includes:
the acquisition module is used for acquiring data packets to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time;
the determining module is used for determining an actual synchronous frame to be sent and the moment of the actual synchronous frame to be sent according to the moment of transmitting the data packet to be sent and the preset synchronous frame sending moment when the data packet to be sent is transmitted to the corresponding slave equipment through an optical serial port line connected with each slave equipment; the information of the synchronization frame to be actually sent comprises the information of the preset synchronization frame to be sent and the phase angle information of the interrupt signal of each slave device;
and the sending module is used for sending the synchronous frame to be actually sent to each slave device through each optical serial port line at the moment of the synchronous frame to be actually sent.
In order to solve the above technical problem, the present application further provides a signal synchronization device, including:
A memory for storing a computer program;
and a processor for implementing the steps of the method for signal synchronization when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the above-mentioned signal synchronization method.
The application provides a signal synchronization method, which is applied to a host end and comprises the following steps: obtaining a data packet to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time; when transmitting a data packet to be transmitted to a corresponding slave device through an optical serial port line connected with each slave device, determining an actual synchronous frame to be transmitted and the moment of the actual synchronous frame to be transmitted according to the moment of transmitting the data packet to be transmitted and the preset synchronous frame transmission moment; the information of the synchronous frame to be actually sent comprises preset information of the synchronous frame to be sent and information of the phase angle of the interrupt signal of each slave device; and transmitting the synchronous frame to be actually transmitted to each slave device through each optical serial line at the moment of actually transmitting the synchronous frame. In the method, each slave device achieves the function of synchronization through a synchronization frame in an optical serial port communication signal sent by the host device; compared with the prior art that a single signal wire is connected between the host equipment and each slave equipment to serve as a synchronous signal for control, in the method, the original optical serial port wire between the host equipment and each slave equipment is used for transmitting the data packet and the synchronous frame, so that one optical fiber cable can be omitted between each host equipment and each slave equipment, and the circuit of the system is simpler; the total number of the optical fiber cables is reduced by half, so that the material cost of the optical fiber cables and the matched equipment connectors in the whole system can be reduced by half, and the more the auxiliary equipment is, the more considerable the material cost is reduced; the number of the optical fiber cables is reduced, so that the labor cost of wiring can be reduced indirectly; the larger the layout space of the optical fiber cable between the host device and the slave device is, the bending radius of the optical fiber cable can be effectively enlarged, and the communication quality and reliability of the optical fiber cable are facilitated; the total number of the optical fiber cables is reduced by half, the risk points of the optical fiber cables are reduced by half, and the reliability of the whole system is greatly improved; in addition, the information of the synchronization frame to be actually sent comprises the information of the phase angles of the interrupt signals of the slave devices, and the phase angles of the interrupt signals are used for generating interrupt periods with different phase angles by the slave devices, so that the influence caused by the accumulation of crystal oscillator clock errors is eliminated as much as possible, and meanwhile, the slave devices can output signals according to the time sequence required by the whole system. In summary, in the present application, a single signal line is connected between the master device and each slave device to control the synchronization signal and the phase shift signal.
In addition, the application also provides a signal synchronization method, a signal synchronization device and a computer readable storage medium applied to the slave terminal, and the signal synchronization method has the same or corresponding technical characteristics as the signal synchronization method, and the effects are the same.
Drawings
For a clearer description of embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a schematic diagram of connection of an optical serial port and a synchronization signal line between a master and a slave according to an embodiment of the present application;
fig. 2 is a schematic diagram of optical serial connection between a master and a slave according to an embodiment of the present application;
fig. 3 is a flowchart of a method for signal synchronization applied to a host according to an embodiment of the present application;
fig. 4 is a timing diagram of a serial port signal synchronization frame without timing collision according to an embodiment of the present application;
fig. 5 is a serial port signal synchronization timing chart when there is a timing conflict according to an embodiment of the present application;
Fig. 6 is a flowchart of a method for sending a synchronization frame of a host device according to an embodiment of the present application;
fig. 7 is a flowchart of a method for analyzing a synchronization frame of a slave device according to an embodiment of the present application;
FIG. 8 is a schematic diagram of interrupt signals with different phase angles of each slave device according to an embodiment of the present application;
fig. 9 is a block diagram of an apparatus for signal synchronization according to another embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present application.
The core of the application is to provide a method, a device, equipment and a medium for signal synchronization, which are used for realizing the signal synchronization by adopting a simple circuit.
In the whole system communication network, there are often a plurality of different devices, and synchronization is needed between the devices to perform sequential logic control. The entire system includes a master device and a slave device. The master device and the slave device may be embedded chips. In a related signal synchronization scheme, a single synchronization signal line is arranged between a host device and each slave device in addition to an optical serial line, as shown in fig. 1, fig. 1 is a schematic diagram of connection of an optical serial line and a synchronization signal line between a host device and a slave device, in fig. 1, the host device is respectively connected with N slave devices, and the host device is connected with the slave device 1 through the optical serial line 1 and the synchronization signal line 1; the master machine is connected with the slave machine 2 through an optical serial port line 2 and a synchronous signal line 2; the master and the slave 3 are connected … … through the optical serial line 3 and the synchronization signal line 3, and the master and the slave N are connected through the optical serial line N and the synchronization signal line N. The control of the synchronization signal is performed through the synchronization signal line. However, each slave device has one more synchronous signal line and one more risk point, so that the reliability is reduced; the more slave devices, the more synchronous signal lines, the more difficult the layout and wiring are; the large number of synchronization signal lines causes an increase in the cost of the equipment synchronization signal line interface terminals and cables. Therefore, in the present application, the original optical serial line between the host device and the slave device is used to perform signal synchronization control, as shown in fig. 2, fig. 2 is a schematic diagram of optical serial connection between the host device and the slave device according to an embodiment of the present application. In fig. 2, a master is connected to N slaves, respectively, and the master is connected to a slave 1 through an optical serial line 1; the host computer is connected with the slave computer 2 through an optical serial port line 2; the master and the slave 3 are connected … … through the optical serial line 3, and the master and the slave N are connected through the optical serial line N. Compared with fig. 1, in fig. 2, the optical serial port line is directly used for signal synchronization, so that one optical fiber cable can be omitted between each host device and each slave device, and the line is simplified while the signal synchronization is realized.
In order to better understand the aspects of the present application, the present application will be described in further detail with reference to the accompanying drawings and detailed description. Fig. 3 is a flowchart of a method for signal synchronization applied to a host, according to an embodiment of the present application, as shown in fig. 3, where the method includes:
s10: and obtaining a data packet to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time.
In the communication signal, two types are classified into a packet and a frame. In synchronization control between the master device and the slave devices, the master device is required to transmit a packet and a synchronization frame to each slave device. The number of the slave devices, the data packets to be transmitted from the host device to each slave device, the synchronization frames to be transmitted, the transmission time of the synchronization frames, and the like are not limited, and are determined according to practical situations. The synchronization frame transmission time here refers to the time when the entire synchronization frame is transmitted. The data packet can transmit data in real time according to the communication requirement of each device, and the data of each slave device can be transmitted at any time according to the communication requirement, but the master device needs to ensure that the synchronous frames sent to all the slave devices must be transmitted simultaneously. Assuming that the preset synchronization frame is transmitted at fixed time intervals, the interval period time (t_cycle) of the synchronization frame can be freely defined according to the system requirements.
S11: when transmitting a data packet to be transmitted to a corresponding slave device through an optical serial port line connected with each slave device, determining an actual synchronous frame to be transmitted and the moment of the actual synchronous frame to be transmitted according to the moment of transmitting the data packet to be transmitted and the preset synchronous frame transmission moment;
the information of the synchronization frame to be transmitted actually at least comprises the information of the preset synchronization frame to be transmitted.
When the time of transmitting the data packet to be transmitted is different from the preset transmission time of the synchronous frame, that is, the data packet and the synchronous frame have no time sequence conflict, the synchronous frame can be transmitted according to the set interval period time.
When the time for transmitting the data packet to be transmitted is the same as the preset transmission time of the synchronous frame, namely, the data packet has time sequence conflict with the synchronous frame, the synchronous frame can be transmitted after the current data packet is transmitted; it is also possible to suspend the transmission of the data packet and then perform the transmission of the synchronization frame. However, in practice, if the transmission of the packet is suspended, data may be lost, and therefore, it is preferable to perform transmission of the synchronization frame after the transmission of the current packet is completed. When the transmission of the current data packet is completed, the transmission of the synchronization frame may be performed immediately, or may be performed at intervals, which is not limited to this, and at this time, the information included in the information of the synchronization frame actually to be transmitted needs to include a difference between the time of actually waiting to transmit the current synchronization frame and the preset time of transmitting the current synchronization frame, that is, the offset duration (t_shift) of the current synchronization frame, in addition to the information of the synchronization frame actually to be transmitted is the same as the information of the preset synchronization frame to be transmitted.
In addition, some systems need to process the phase difference of the periodic control of each device at the same time due to the control algorithm, so that the information of the synchronization frame to be actually sent preferably further includes the information of the phase angle of the interrupt signal of each slave device. The interrupt signal phase angle (s_angle) is used to generate interrupt periods of different phase angles from the slave device. Each slave device may have a different s_angle value depending on the system requirements.
S12: and transmitting the synchronous frame to be actually transmitted to each slave device through each optical serial line at the moment of actually transmitting the synchronous frame.
In step S11, the actual to-be-sent synchronization frame and the time of the actual to-be-sent synchronization frame are determined, and then the actual to-be-sent synchronization frame is sent to each slave device at the time of the actual to-be-sent synchronization frame through the optical serial line between the master device and each slave device. It should be noted that, the time when the master sends the actual to-be-sent synchronization frame of the data frame to each slave is the same, that is, the master is guaranteed to send the actual to-be-sent synchronization frame to all the slave devices simultaneously.
The signal synchronization method provided by the embodiment of the application is applied to a host side, and comprises the following steps: obtaining a data packet to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time; when transmitting a data packet to be transmitted to a corresponding slave device through an optical serial port line connected with each slave device, determining an actual synchronous frame to be transmitted and the moment of the actual synchronous frame to be transmitted according to the moment of transmitting the data packet to be transmitted and the preset synchronous frame transmission moment; the information of the synchronous frame to be actually sent comprises preset information of the synchronous frame to be sent and information of the phase angle of the interrupt signal of each slave device; and transmitting the synchronous frame to be actually transmitted to each slave device through each optical serial line at the moment of actually transmitting the synchronous frame. In the method, each slave device achieves the function of synchronization through a synchronization frame in an optical serial port communication signal sent by the host device; compared with the prior art that a single signal wire is connected between the host equipment and each slave equipment to serve as a synchronous signal for control, in the method, the original optical serial port wire between the host equipment and each slave equipment is used for transmitting data packets and synchronous frames, so that one optical fiber cable can be omitted between each host equipment and each slave equipment, and the circuit of the system is simpler; the total number of the optical fiber cables is reduced by half, so that the material cost of the optical fiber cables and the matched equipment connectors in the whole system can be reduced by half, and the more the auxiliary equipment is, the more considerable the material cost is reduced; the number of the optical fiber cables is reduced, so that the labor cost of wiring can be reduced indirectly; the larger the layout space of the optical fiber cable between the host device and the slave device is, the bending radius of the optical fiber cable can be effectively enlarged, and the communication quality and reliability of the optical fiber cable are facilitated; the total number of the optical fiber cables is reduced by half, the risk points of the optical fiber cables are reduced by half, and the reliability of the whole system is greatly improved; in addition, the information of the synchronization frame to be actually sent comprises the information of the phase angles of the interrupt signals of the slave devices, and the phase angles of the interrupt signals are used for generating interrupt periods with different phase angles by the slave devices, so that the influence caused by the accumulation of crystal oscillator clock errors is eliminated as much as possible, and the slave devices can output signals according to the time sequence required by the whole system. Therefore, in the embodiment of the application, a single signal line is connected between the host end and each slave device to realize the control of the synchronous signal and the phase-shifting signal.
In an implementation, determining an actual synchronization frame to be transmitted and a time of the actual synchronization frame to be transmitted according to a time of transmitting a data packet to be transmitted and a preset synchronization frame transmission time includes:
if the transmission time of the data packet to be transmitted is different from the preset transmission time of the current synchronous frame, determining that the actual time of the current synchronous frame to be transmitted is the same as the preset transmission time of the current synchronous frame, and determining that the information of the actual current synchronous frame to be transmitted is the same as the preset information of the current synchronous frame to be transmitted;
if the time for transmitting the current to-be-transmitted data packet is the same as the preset current synchronous frame transmitting time, determining the actual to-be-transmitted current synchronous frame time as the time after the transmission of the current to-be-transmitted data packet is finished, and determining the information of the actual to-be-transmitted current synchronous frame to contain the preset to-be-transmitted current synchronous frame information and the current synchronous frame offset time length, wherein the current synchronous frame offset time length is the difference value between the actual to-be-transmitted current synchronous frame time and the preset current synchronous frame transmitting time.
Before the synchronization frame to be actually sent is sent to each slave device through each optical serial line at the moment of the synchronization frame to be actually sent, the method further comprises the following steps:
Resetting the data of the first clock counter; wherein the first clock counter is located in the host side;
after the data of the first clock counter is cleared, the number of the first crystal oscillator clock cycles recorded by the first clock counter is obtained;
and under the condition that the time length corresponding to the number of the first crystal oscillator clock cycles reaches the preset interval of the sending time of the adjacent synchronous frames, resetting the number of the first crystal oscillator clock cycles.
It is assumed that the count value of the first clock counter is denoted by t_count (simply referred to as a first count value). Fig. 4 is a timing diagram of a serial port signal synchronization frame without timing collision according to an embodiment of the present application, in fig. 4, there is no timing collision in signals 1 to N, and in the example of signal 1, there is no data packet (e.g., data packet 11, data packet 12, … …, data packet 1M) when each synchronization frame (e.g., synchronization frame 11, synchronization frame 12, … …, synchronization frame 1M) is transmitted. Fig. 5 is a timing diagram of serial signal synchronization in case of timing conflict according to an embodiment of the present application. In fig. 5, the signal 1 is supposed to be the timing at which the sync frame 12 is transmitted, but the packet 12 is transmitted at this timing, that is, there is a timing collision. When there is no time sequence conflict between the data frame and the synchronous frame, the synchronous frame is sent according to the set interval cycle period time, as shown in fig. 4. When the data frame and the synchronous frame have time sequence conflict, the synchronous frame can not be transmitted in ideal transmission time (namely preset synchronous frame transmission time), and the synchronous frame is required to be simultaneously transmitted to all the slave devices by the host device after the data frame transmission of the host device is finished. The difference between the actual transmission time of the synchronization frame and the ideal transmission time, i.e., the offset duration (t_shift), is included in the synchronization frame, as shown in fig. 5. After receiving the synchronization frame, each slave device generates an internal interrupt signal according to s_angle and t_shift. Fig. 6 is a flowchart of a method for sending a synchronization frame of a host device according to an embodiment of the present application. As shown in fig. 6, the method includes:
S13: let the first count value=0, offset duration=0;
s14: let the first count value +1;
s15: judging a first count value > = interval period time; if yes, go to step S16; if not, returning to the step S14;
s16: judging whether any serial port communication has a data frame to be transmitted or not; if yes, go to step S17; if not, go to step S18;
s17: offset duration +1; and returns to step S16;
s18: transmitting a synchronization frame to each optical serial port;
s19: let offset duration = 0; returning to step S14.
That is, the host device synchronization frame transmission includes:
step one: initializing a setting (t_count=0, t_shift=0).
Step two: and adding 1 to each crystal oscillator clock period T_count, returning to zero after the T_count count value reaches the set T_cycle, and entering a synchronous frame transmission mechanism.
Step three: and judging whether any optical serial port communication is in a data frame sending state at present, if all the optical serial port communication is in an idle state, all the optical serial ports simultaneously start to send synchronous frames, and if not, entering a waiting mode.
Step four: after entering the waiting mode, every unit clock period T_shift is increased by 1, and after the data frame is completely transmitted, all optical serial ports start to transmit synchronous frames (the synchronous frames contain T_shift values) at the same time. And after the synchronous frame is sent, the T_shift value is cleared.
Step five: the next synchronization frame is sent from step two onwards.
In the method provided by the embodiment, the original optical serial port line between the host device and the slave device is utilized to realize signal synchronization.
The foregoing describes a method for signal synchronization applied to a master side, and this embodiment also provides a signal synchronization method applied to a slave side, where the slave side includes a plurality of slave devices. The signal synchronization method applied to the slave terminal comprises the following steps:
receiving an actual synchronous frame to be sent through an optical serial port line connected with a host end; the method comprises the steps that an actual synchronous frame to be sent is a data packet to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time which are obtained by a host side; when transmitting a data packet to be transmitted to a corresponding slave device through an optical serial port line connected with each slave device, determining and obtaining according to the time of transmitting the data packet to be transmitted and the preset synchronous frame transmitting time; the information of the synchronous frame to be transmitted actually comprises the information of the synchronous frame to be transmitted and the phase angle information of the interrupt signal of each slave device;
and analyzing the received synchronous frame to be actually sent.
The method for determining the actual synchronous frame to be sent and the actual synchronous frame to be sent by the host according to the time for transmitting the data packet to be sent and the preset synchronous frame sending time comprises the following steps:
If the transmission time of the data packet to be transmitted is different from the preset transmission time of the current synchronous frame, determining that the actual time of the current synchronous frame to be transmitted is the same as the preset transmission time of the current synchronous frame, and determining that the information of the actual current synchronous frame to be transmitted is the same as the preset information of the current synchronous frame to be transmitted;
if the time for transmitting the current data packet to be transmitted is the same as the preset current synchronous frame transmission time, determining the actual time for transmitting the current synchronous frame to be the time after the transmission of the current data packet to be transmitted is finished, and determining the information of the actual current synchronous frame to be transmitted to contain the preset information of the current synchronous frame to be transmitted and the offset time of the current synchronous frame, wherein the offset time of the current synchronous frame is the difference value between the actual time for transmitting the current synchronous frame to be transmitted and the preset current synchronous frame transmission time;
correspondingly, analyzing the received synchronous frame to be actually sent comprises the following steps:
determining interrupt signals of corresponding slave devices to generate comparison values according to the difference value between the interrupt signal phase angle information of each slave device and the current synchronous frame offset duration;
resetting the data of the second clock counter; the second clock counter is positioned in each slave device;
Acquiring the number of second crystal oscillator clock cycles recorded by the second clock counter after the data of the second clock counter is cleared;
and controlling the corresponding slave equipment to generate the interrupt signal under the condition that the number of the second crystal clock cycles reaches the interrupt signal generation comparison value of the corresponding slave equipment.
The signal synchronization method applied to the slave terminal in this embodiment has corresponding technical features to the signal synchronization method applied to the host terminal described above, and the signal synchronization method applied to the host terminal has been described in detail above, so the embodiments of the signal synchronization method applied to the slave terminal will not be repeated here, and have the same advantages as the signal synchronization method applied to the host terminal described above.
Before the number of the second crystal clock cycles recorded by the second clock counter is obtained, the method further comprises:
judging whether the interrupt signal generation comparison value of each slave device is smaller than 0;
if yes, obtaining the sum of the interrupt signal generation comparison value of the slave device with the interrupt signal generation comparison value smaller than 0 and the interval of the preset adjacent synchronous frame transmission time;
and generating a new interrupt signal generating comparison value of the slave device with the sum being less than 0 as the interrupt signal generating comparison value.
It should be noted in detail that, after each slave device at the slave terminal receives the synchronization frame sent by the master terminal, each slave device analyzes the synchronization frame.
And triggering a synchronous frame analysis mode after the slave equipment receives the synchronous frame.
The count value of the second clock counter is denoted by s_count (abbreviated as second count value), the interrupt signal generation comparison value is denoted by s_equal, and the interrupt signal is generated when the slave clock counter is equal to this value.
Fig. 7 is a flowchart of a slave device synchronization frame parsing method according to an embodiment of the present application. As shown in fig. 7, the method includes:
s20: let the interrupt signal generate a comparison value = interrupt signal phase angle-offset duration, the second count value = 0;
s21: judging that the interrupt signal generates a comparison value <0; if yes, go to step S22; if not, go to step S23;
s22: let the interrupt signal generation comparison value = interrupt signal generation comparison value + interval period time;
s23: let the second count value +1;
s24: judging a second count value = interrupt signal to generate a comparison value; if yes, go to step S25; if not, returning to the step 23;
s25: an interrupt signal is generated.
Namely, the method for triggering the synchronous frame analysis mode after the slave equipment receives the synchronous frame is as follows:
Step one: the interrupt signal generates a comparison value calculation (s_equivalent=s_angle-t_shift), and the clock counter is cleared (s_count=0).
Step two: to ensure that the data does not overflow, a correction process is performed on s_equivalent, and when its value is less than zero, its value is added to the interval cycle time.
Step three: every crystal oscillator clock cycle s_count is incremented by 1, and an interrupt signal is generated when the s_count count value reaches s_equal.
After each slave device follows the above-mentioned synchronization frame analysis flow, each slave device will generate different interrupt signals according to different s_angle values set by the master device, as shown in fig. 8, fig. 8 is a schematic diagram of interrupt signals with different phase angles for each slave device according to the embodiment of the present application, where the interrupt signal phase angle corresponding to the slave device 1 is the interrupt signal phase angle1, denoted by s_angle1, the interrupt signal phase angle corresponding to the slave device 2 is the interrupt signal phase angle2, denoted by s_angle2, … …, and the interrupt signal phase angle corresponding to the slave device N is the interrupt signal phase angle N, denoted by s_anglen.
Each slave device generates an interrupt signal every cycle period, and the influence caused by the accumulation of crystal oscillator clock errors is eliminated. Interrupt signals of different phase angles of the slave devices can also meet the requirement of certain systems for periodically controlling the phase difference of the slave devices.
In the method provided by the embodiment, one optical fiber cable can be reduced between each host device and each slave device, so that the total number of the optical fiber cables is reduced by half, the risk points of the optical fiber cables are reduced by half, and the reliability of the whole system is greatly improved; the more the slave devices are, the more the number of the optical fiber cables is reduced, the larger the layout space of the optical fiber cables between the host device and the slave devices is, the bending radius of the optical fiber cables can be effectively enlarged, and the communication quality and reliability of the optical fiber cables are facilitated; the total number of the optical fiber cables is reduced by half, so that the material cost of the optical fiber cables and the matched equipment connectors in the whole system can be reduced by half, and the more the auxiliary equipment is, the more considerable the material cost is reduced; the number of the optical fiber cables is reduced, so that the labor cost of wiring can be reduced indirectly; the synchronous frame in the optical serial communication signal sent by the host device can not only enable each slave device to achieve the function of synchronization, but also enable each slave device to generate interrupt signals with different phase angles.
In the above embodiments, the signal synchronization method applied to the host side and the signal synchronization method applied to the slave side are described in detail, and the present application also provides embodiments corresponding to the signal synchronization device and the signal synchronization apparatus applied to the host side. It should be noted that the present application describes an embodiment of the device portion from two angles, one based on the angle of the functional module and the other based on the angle of the hardware.
The embodiment is based on the angle of the functional module, and the device for signal synchronization applied to the host side comprises:
the acquisition module is used for acquiring data packets to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time;
the determining module is used for determining the actual synchronous frame to be sent and the actual synchronous frame to be sent according to the time of transmitting the data packet to be sent and the preset synchronous frame sending time when the data packet to be sent is transmitted to the corresponding slave equipment through the optical serial port line connected with each slave equipment; the information of the synchronous frame to be actually sent comprises preset information of the synchronous frame to be sent and information of the phase angle of the interrupt signal of each slave device;
and the sending module is used for sending the synchronous frame to be actually sent to each slave device through each optical serial line at the moment of the synchronous frame to be actually sent.
Since the embodiments of the apparatus portion and the embodiments of the method portion correspond to each other, the embodiments of the apparatus portion are referred to the description of the embodiments of the method portion, and are not repeated herein. And has the same advantageous effects as the above-mentioned method of signal synchronization.
Fig. 9 is a block diagram of an apparatus for signal synchronization according to another embodiment of the present application. The apparatus for signal synchronization in this embodiment includes, based on the hardware angle, as shown in fig. 9:
A memory 20 for storing a computer program;
a processor 21 for implementing the steps of the signal synchronization method as mentioned in the above embodiments when executing a computer program.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in hardware in at least one of a digital signal processor (Digital Signal Processor, DSP), a Field programmable gate array (Field-Programmable Gate Array, FPGA), a programmable logic array (Programmable Logic Array, PLA). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called central processor (Central Processing Unit, CPU), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a graphics processor (Graphics Processing Unit, GPU) for taking care of rendering and drawing of content that the display screen is required to display. In some embodiments, the processor 21 may also include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, which, when loaded and executed by the processor 21, is capable of implementing the relevant steps of the signal synchronization method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202, data 203, and the like, where the storage manner may be transient storage or permanent storage. The operating system 202 may include Windows, unix, linux, among others. The data 203 may include, but is not limited to, the data related to the above-mentioned signal synchronization method, and the like.
In some embodiments, the signal synchronization device may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the structure shown in fig. 9 does not constitute a limitation of the apparatus for signal synchronization and may include more or less components than those shown.
The device for signal synchronization provided by the embodiment of the application comprises a memory and a processor, wherein the processor can realize the following method when executing a program stored in the memory: the signal synchronization method has the same effect.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps described in the above method embodiments (may be a method corresponding to a host side, a method corresponding to a slave side, or a method corresponding to a host side and a slave side).
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium for performing all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The computer readable storage medium provided by the application comprises the signal synchronization method, and the effects are the same as the above.
The method, the device, the equipment and the medium for signal synchronization provided by the application are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the application can be made without departing from the principles of the application and these modifications and adaptations are intended to be within the scope of the application as defined in the following claims.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1. A method for signal synchronization, applied to a host, the method comprising:
obtaining a data packet to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time;
when the data packet to be sent is transmitted to the corresponding slave device through an optical serial port line connected with each slave device, determining an actual synchronous frame to be sent and an actual synchronous frame to be sent according to the time of transmitting the data packet to be sent and the preset synchronous frame sending time; the information of the synchronization frame to be actually sent comprises the information of the preset synchronization frame to be sent and the phase angle information of the interrupt signal of each slave device;
transmitting the synchronous frame to be actually transmitted to each slave device through each optical serial line at the moment of the synchronous frame to be actually transmitted;
the determining the actual synchronous frame to be sent and the actual synchronous frame to be sent according to the time of transmitting the data packet to be sent and the preset synchronous frame sending time comprises the following steps:
if the transmission time of the data packet to be transmitted is different from the preset transmission time of the current synchronous frame, determining that the actual time of the current synchronous frame to be transmitted is the same as the preset transmission time of the current synchronous frame, and determining that the information of the actual current synchronous frame to be transmitted is the same as the preset information of the current synchronous frame to be transmitted;
If the time of transmitting the data packet to be transmitted currently is the same as the preset time of transmitting the current synchronous frame, determining the time of actually transmitting the current synchronous frame to be the time after the end of transmitting the data packet to be transmitted currently, and determining the information of the actually transmitting the current synchronous frame to be transmitted to comprise the information of the preset current synchronous frame to be transmitted and the offset time of the current synchronous frame, wherein the offset time of the current synchronous frame is the difference value between the time of actually transmitting the current synchronous frame to be transmitted and the preset time of transmitting the current synchronous frame.
2. The method for signal synchronization according to claim 1, wherein before the actual synchronization frame to be sent is sent to each slave device through each optical serial line at the time of the actual synchronization frame to be sent, further comprising:
resetting the data of the first clock counter; wherein the first clock counter is located in the host side;
acquiring the number of first crystal oscillator clock cycles recorded by the first clock counter after the data of the first clock counter are cleared;
and under the condition that the time length corresponding to the number of the first crystal oscillator clock cycles reaches the preset interval of the sending time of the adjacent synchronous frames, resetting the number of the first crystal oscillator clock cycles.
3. A method of signal synchronization, applied to a slave, the slave comprising a plurality of slave devices, the method comprising:
receiving an actual synchronous frame to be sent through an optical serial port line connected with a host end; the actual synchronous frame to be sent is that the host end obtains a data packet to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time; when the data packet to be sent is transmitted to the corresponding slave device through an optical serial port line connected with each slave device, the data packet to be sent is obtained according to the time of transmitting the data packet to be sent and the preset synchronous frame sending time; the information of the synchronous frame to be actually sent comprises the information of the preset synchronous frame to be sent and the phase angle information of the interrupt signal of each slave device;
analyzing the received synchronous frame to be actually sent;
the determining, by the host, an actual synchronization frame to be sent and a time of the actual synchronization frame to be sent according to a time of transmitting the data packet to be sent and the preset synchronization frame sending time includes:
if the transmission time of the data packet to be transmitted is different from the preset transmission time of the current synchronous frame, determining that the actual time of the current synchronous frame to be transmitted is the same as the preset transmission time of the current synchronous frame, and determining that the information of the actual current synchronous frame to be transmitted is the same as the preset information of the current synchronous frame to be transmitted;
If the time for transmitting the current to-be-transmitted data packet is the same as the preset current synchronous frame transmitting time, determining the actual to-be-transmitted current synchronous frame time as the time after the end of transmitting the current to-be-transmitted data packet, and determining the information of the actual to-be-transmitted current synchronous frame to contain the preset information of the to-be-transmitted current synchronous frame and the current synchronous frame offset time length, wherein the current synchronous frame offset time length is the difference value between the actual to-be-transmitted current synchronous frame time and the preset current synchronous frame transmitting time.
4. A method of synchronizing signals according to claim 3, wherein said parsing the received synchronization frame to be actually transmitted comprises:
determining interrupt signals of the corresponding slave devices according to the difference value between the interrupt signal phase angle information of each slave device and the current synchronous frame offset duration to generate a comparison value;
resetting the data of the second clock counter; wherein the second clock counter is located in each slave device;
acquiring the number of second crystal oscillator clock cycles recorded by the second clock counter after the data of the second clock counter are cleared;
And controlling the corresponding slave equipment to generate an interrupt signal under the condition that the number of the second crystal clock cycles reaches the interrupt signal generation comparison value of the corresponding slave equipment.
5. The method of signal synchronization according to claim 4, further comprising, prior to said obtaining the number of second clock cycles recorded by said second clock counter:
judging whether the interrupt signal generation comparison value of each slave device is smaller than 0;
if yes, obtaining the sum of the interval between the interrupt signal generation comparison value of the slave device with the interrupt signal generation comparison value smaller than 0 and the preset adjacent synchronous frame transmission time;
and generating a comparison value by taking the sum as a new interrupt signal of the slave device, wherein the comparison value of the interrupt signal generation is smaller than 0.
6. An apparatus for signal synchronization, applied to a host, the apparatus comprising:
the acquisition module is used for acquiring data packets to be sent to each slave device, a preset synchronous frame to be sent and a preset synchronous frame sending time;
the determining module is used for determining an actual synchronous frame to be sent and the moment of the actual synchronous frame to be sent according to the moment of transmitting the data packet to be sent and the preset synchronous frame sending moment when the data packet to be sent is transmitted to the corresponding slave equipment through an optical serial port line connected with each slave equipment; the information of the synchronization frame to be actually sent comprises the information of the preset synchronization frame to be sent and the phase angle information of the interrupt signal of each slave device;
The sending module is used for sending the synchronous frame to be actually sent to each slave device through each optical serial port line at the moment of the synchronous frame to be actually sent;
the determining the actual synchronous frame to be sent and the actual synchronous frame to be sent according to the time of transmitting the data packet to be sent and the preset synchronous frame sending time comprises the following steps:
if the transmission time of the data packet to be transmitted is different from the preset transmission time of the current synchronous frame, determining that the actual time of the current synchronous frame to be transmitted is the same as the preset transmission time of the current synchronous frame, and determining that the information of the actual current synchronous frame to be transmitted is the same as the preset information of the current synchronous frame to be transmitted;
if the time of transmitting the data packet to be transmitted currently is the same as the preset time of transmitting the current synchronous frame, determining the time of actually transmitting the current synchronous frame to be the time after the end of transmitting the data packet to be transmitted currently, and determining the information of the actually transmitting the current synchronous frame to be transmitted to comprise the information of the preset current synchronous frame to be transmitted and the offset time of the current synchronous frame, wherein the offset time of the current synchronous frame is the difference value between the time of actually transmitting the current synchronous frame to be transmitted and the preset time of transmitting the current synchronous frame.
7. An apparatus for signal synchronization, comprising:
a memory for storing a computer program;
processor for implementing the steps of the method of signal synchronization according to any one of claims 1 to 5 when executing said computer program.
8. A computer readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of the method of signal synchronization according to any of claims 1 to 5.
CN202310875993.6A 2023-07-18 2023-07-18 Signal synchronization method, device, equipment and medium Active CN116599589B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310875993.6A CN116599589B (en) 2023-07-18 2023-07-18 Signal synchronization method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310875993.6A CN116599589B (en) 2023-07-18 2023-07-18 Signal synchronization method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN116599589A CN116599589A (en) 2023-08-15
CN116599589B true CN116599589B (en) 2023-10-20

Family

ID=87599532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310875993.6A Active CN116599589B (en) 2023-07-18 2023-07-18 Signal synchronization method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116599589B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117349201B (en) * 2023-10-13 2024-03-05 芜湖藦卡机器人科技有限公司 Multi-slave control method, system and storage medium based on serial port communication

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005229322A (en) * 2004-02-13 2005-08-25 Yaskawa Electric Corp Master slave synchronous communication system
JP2012034224A (en) * 2010-07-30 2012-02-16 Hitachi Cable Ltd Relay device
CN105680975A (en) * 2016-03-07 2016-06-15 浙江大学 Time synchronization method of master-slave structure multi-node network
CN108737074A (en) * 2017-04-13 2018-11-02 科大国盾量子技术股份有限公司 A kind of information synchronization method and device
CN108923882A (en) * 2018-05-25 2018-11-30 苏州汇川技术有限公司 Point-to-point Communication Method, computer readable storage medium and master and slave node device
CN109462453A (en) * 2018-11-22 2019-03-12 电信科学技术第五研究所有限公司 A kind of high-precision time synchronization method based on fiber optic network
CN109921871A (en) * 2018-12-20 2019-06-21 清华大学 A kind of method for synchronizing time, device and network system
CN113014352A (en) * 2021-05-21 2021-06-22 北京国科天迅科技有限公司 Equipment time synchronization method and device based on fiber channel protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019020170A1 (en) * 2017-07-25 2019-01-31 Telefonaktiebolaget Lm Ericsson (Publ) Methods, apparatus and computer-readable media for synchronization over an optical network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005229322A (en) * 2004-02-13 2005-08-25 Yaskawa Electric Corp Master slave synchronous communication system
JP2012034224A (en) * 2010-07-30 2012-02-16 Hitachi Cable Ltd Relay device
CN105680975A (en) * 2016-03-07 2016-06-15 浙江大学 Time synchronization method of master-slave structure multi-node network
CN108737074A (en) * 2017-04-13 2018-11-02 科大国盾量子技术股份有限公司 A kind of information synchronization method and device
CN108923882A (en) * 2018-05-25 2018-11-30 苏州汇川技术有限公司 Point-to-point Communication Method, computer readable storage medium and master and slave node device
CN109462453A (en) * 2018-11-22 2019-03-12 电信科学技术第五研究所有限公司 A kind of high-precision time synchronization method based on fiber optic network
CN109921871A (en) * 2018-12-20 2019-06-21 清华大学 A kind of method for synchronizing time, device and network system
CN113014352A (en) * 2021-05-21 2021-06-22 北京国科天迅科技有限公司 Equipment time synchronization method and device based on fiber channel protocol

Also Published As

Publication number Publication date
CN116599589A (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN116599589B (en) Signal synchronization method, device, equipment and medium
CN102110064B (en) Low latency serial memory interface
CN113094309A (en) Data bit width conversion method and device
US20210152266A1 (en) Communication apparatus, communication system, communication method, and computer readable medium
EP0418980A2 (en) System for combining independently clocked simulators
KR20070039580A (en) Message administrator and method for controlling access to data of the message memory of a communications component
CN110941665A (en) Data synchronization method, data synchronization device and data synchronization equipment between nodes
CN109902056A (en) A kind of method, apparatus of serial transmission, equipment and computer readable storage medium
CN113938387A (en) Communication method, device and readable storage medium
CN115426070A (en) Method, apparatus and storage medium for clock resynchronization
RU2677376C2 (en) Stack timing adjustment for serial communications
CN110740085B (en) Communication method, communication device and terminal based on parallel operation system
CN111638861A (en) Splicing wall signal synchronization method and device
JP6800390B2 (en) Communication devices, communication systems, communication methods and communication programs
JP2008236217A (en) Flexray network connecting method, flexray network and electronic control unit for flexray network
US11757608B2 (en) Communication apparatus, communication system, communication method, and computer readable medium
CN115694704A (en) Time synchronization method, device, equipment and storage medium
CN112929116A (en) Method, device and system for transmitting time synchronization signal
CN114070841A (en) Server filling method, device, equipment and product
CN115100996B (en) Display configuration circuit, method, micro display panel and electronic device
CN112084099A (en) Method, device and equipment for obtaining alarm state value based on host and storage medium
CN112995559A (en) Video processing method, device and system, display controller and display control system
CN113835467B (en) Clock synchronization system, method, electronic equipment and storage medium
CN116916095B (en) Smooth display method, device and equipment of cloud video and storage medium
CN114070446B (en) Data synchronous transmission method, device, equipment and storage medium

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