Signal transmission method, device, equipment, system, storage medium and program product
By replicating the signal at the transmitting end device and transmitting it through two independent paths, and automatically switching and reordering it at the receiving end device, the packet loss problem during fiber optic link protection switching is solved, achieving lossless data transmission of the intelligent computing distributed collaborative system and improving the reliability and efficiency of large model training.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA MOBILE COMM LTD RES INST
- Filing Date
- 2024-11-21
- Publication Date
- 2026-05-22
AI Technical Summary
During fiber optic link protection switching, existing technologies suffer from packet loss, leading to data transmission losses in intelligent computing distributed collaborative systems and limiting the reliability and efficiency of large model training.
The transmitting device performs code stream duplication and transmits two modulated signals through two independent transmission paths. The receiving device automatically switches to the other path to achieve lossless transmission. Multi-optical modules are used for signal detection and demodulation, and reordering is performed to achieve symbol alignment.
It achieves lossless data transmission in the intelligent computing distributed collaborative system, avoids packet loss during protection switching, and improves the reliability and efficiency of large model training.
Smart Images

Figure CN122073496A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of transmission and transmission, and specifically relates to a signal transmission method, apparatus, device, system, storage medium, and program product. Background Technology
[0002] In intelligent computing distributed collaborative systems based on Optical Transport Networks (OTN), packet loss can occur in the interconnection links of intelligent computing centers due to fiber optic cable breaks or other technical issues. This can lead to significant economic and training time costs due to the need to roll back large model training. However, the common protection method for fiber optic links in related technologies is protection switching, which involves switching to a backup line for a certain period of time after a failure of the main line. Obviously, packet loss will inevitably occur during the switching time, resulting in some data transmission loss. Summary of the Invention
[0003] To address the packet loss problem in fiber optic links during protection switching in related technologies, embodiments of this application propose a signal transmission method, apparatus, device, system, storage medium, and program product.
[0004] This application provides a signal transmission method applied to a transmitting device, the method comprising:
[0005] The bitstream to be transmitted is copied to obtain two copies of the bitstream to be transmitted.
[0006] The two code streams to be transmitted are modulated to obtain a first signal and a second signal;
[0007] The first signal and the second signal are sent synchronously to two independent transmission paths, so that the common receiving end device of the two independent transmission paths receives the signals from the two independent transmission paths respectively, and when a failure is detected in one of the two independent transmission paths, it automatically switches to the other of the two independent transmission paths to continue receiving signals.
[0008] In some embodiments, the step of signal modulation of the two code streams to be transmitted includes: sending the two code streams to be transmitted into a first optical module and a second optical module that are independent of each other for signal modulation.
[0009] In some embodiments, the two independent transmission paths are two optical fiber links with different transmission distances.
[0010] In some embodiments, copying the bitstream to be transmitted to obtain two copies of the bitstream to be transmitted includes: using a first electrical processing chip to copy the bitstream to be transmitted to obtain two copies of the bitstream to be transmitted.
[0011] This application embodiment also provides another data ownership confirmation method, applied to a receiving end device, the method comprising:
[0012] Signals are received from two independent transmission paths respectively; wherein, the common transmitting end device of the two independent transmission paths is used to copy the code stream to be transmitted to obtain two copies of the code stream to be transmitted, and the two copies of the code stream to be transmitted are modulated to obtain a first signal and a second signal respectively, and the first signal and the second signal are synchronously transmitted to the two independent transmission paths.
[0013] When a fault is detected in one of the two independent transmission paths, the system automatically switches to the other of the two independent transmission paths to continue receiving signals.
[0014] In some embodiments, after receiving signals from two independent transmission paths respectively, the method further includes: detecting the signals from the two independent transmission paths to determine whether the two independent transmission paths are faulty; and demodulating the signals from the two independent transmission paths to obtain demodulated signals.
[0015] In some embodiments, detecting and demodulating the signals from the two independent transmission paths includes: sending the signals from the two independent transmission paths into a third optical module and a fourth optical module that are independent of each other, and performing signal detection and demodulation in each optical module of the third optical module and the fourth optical module.
[0016] In some embodiments, the two independent transmission paths are two optical fiber links with different transmission distances; after obtaining the demodulated signal, the method further includes: reordering the demodulated signal to achieve symbol alignment; and selecting one of the two independent transmission paths for outputting data based on the reordering result of the demodulated signal.
[0017] This application embodiment also provides a signal transmission device, applied to a transmitting end device, the device comprising:
[0018] The first processing module is used to copy the code stream to be transmitted to obtain two copies of the code stream to be transmitted; and to modulate the two code streams to be transmitted to obtain a first signal and a second signal respectively.
[0019] The transmitting module is used to synchronously transmit the first signal and the second signal to two independent transmission paths, so that the common receiving end device of the two independent transmission paths receives the signals from the two independent transmission paths respectively, and automatically switches to the other path of the two independent transmission paths to continue receiving signals when a failure is detected in one of the two independent transmission paths.
[0020] This application embodiment also provides another signal transmission device, applied to a receiving end device, the device comprising:
[0021] A receiving module is used to receive signals from two independent transmission paths respectively; wherein, the common transmitting end device of the two independent transmission paths is used to copy the code stream to be transmitted to obtain two copies of the code stream to be transmitted, modulate the two copies of the code stream to be transmitted to obtain a first signal and a second signal respectively, and synchronously send the first signal and the second signal to the two independent transmission paths.
[0022] The second processing module is used to automatically switch to the other of the two independent transmission paths to continue receiving signals when a fault is detected in one of the two independent transmission paths.
[0023] This application also provides a transmitting device, which includes a processor and a memory for storing a computer program that can run on the processor; wherein the processor is used to run the computer program to execute any of the signal transmission methods applied to the transmitting device described above.
[0024] This application also provides a receiving device, which includes a processor and a memory for storing a computer program that can run on the processor; wherein the processor is used to run the computer program to execute any of the signal transmission methods applied to the receiving device described above.
[0025] This application also provides a signal transmission system, including the above-described transmitting device and receiving device.
[0026] This application also provides a computer storage medium storing a computer program that, when executed by a processor, implements any of the signal transmission methods described above.
[0027] This application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the above-described signal transmission methods.
[0028] As can be seen, the embodiments of this application can copy the code stream at the transmitting end device, thereby transmitting the modulation signal corresponding to the two code streams through two independent transmission paths. That is, the signals transmitted by the two independent transmission paths can be considered as the same signal. In this way, when the receiving end device determines that one of the two independent transmission paths has failed, it can automatically switch to the other of the two independent transmission paths to achieve lossless signal transmission and solve the packet loss problem of fiber optic links during protection switching in related technologies. Attached Figure Description
[0029] Figure 1 A schematic diagram of a protection switching architecture for OTN fiber optic links provided for related technologies;
[0030] Figure 2 This is a schematic diagram of the structure of an information transmission system provided in an embodiment of this application;
[0031] Figure 3 This is a flowchart of a signal transmission method applied to a transmitting device according to an embodiment of this application;
[0032] Figure 4 A schematic diagram illustrating the copying of the bitstream to be transmitted, provided in an embodiment of this application;
[0033] Figure 5 This is a flowchart of a signal transmission method applied to a receiving device according to an embodiment of this application;
[0034] Figure 6 This is a schematic diagram illustrating the reordering of signals from two paths by the receiving device in an embodiment of this application.
[0035] Figure 7 This is a schematic diagram of the structure of a signal transmission device applied to a transmitting device according to an embodiment of this application;
[0036] Figure 8 This is a schematic diagram of the structure of a signal transmission device applied to a receiving device according to an embodiment of this application;
[0037] Figure 9 This is a schematic diagram of the composition structure of a transmitting device provided in an embodiment of this application;
[0038] Figure 10 This is a schematic diagram of the composition structure of a receiving device provided in an embodiment of this application. Detailed Implementation
[0039] In recent years, deep learning models, especially foundational models, have developed rapidly, significantly improving their capabilities and giving rise to phenomenal large-scale AI model applications such as ChatGPT and SORA. The parameter scale of foundational models has gradually increased from tens of billions to trillions, and they are increasingly capable of handling ultra-long sequences and multimodal data in the millions. As model scale expands, the model training capabilities of intelligent computing centers face enormous challenges. Currently, computing resources for large model training are generally deployed on single nodes. However, the computing scale of a single node is limited by factors such as power supply and space constraints, preventing unlimited expansion and limiting the further scaling of large model parameters. Distributed collaborative intelligent computing, by unifying intelligent computing centers deployed in different regions based on reasonable parallel training methods to train the same model, has become an effective way to overcome this bottleneck and has attracted widespread attention. Among these technologies, OTN, as a data transmission technology with advantages such as high bandwidth, low latency, and high reliability, is highly attractive for realizing the interconnection of intelligent computing centers for distributed collaborative training. In the world's first 100km intelligent computing distributed collaborative system based on OTN, the computing efficiency degraded by only 3.75%, thus proving the feasibility of the intelligent computing distributed collaborative technology solution based on OTN interconnection.
[0040] However, it's important to note that in addition to bandwidth and latency, reliability is paramount when conducting large-scale AI model training based on distributed intelligent computing. A data connection interruption between intelligent computing centers could lead to training rollback of large models, resulting in significant economic and training time losses. Therefore, large-scale AI model training generally requires the interconnection network between intelligent computing centers to have lossless transmission characteristics with zero packet loss. However, in related technologies, the common protection method for fiber optic links in OTN is "1+1" protection switching, that is, after a failure of the main line, switching to the backup line to continue transmission within a certain period. Figure 1 In this system, the first terminal device is connected to the first line protection device, the second line protection device is connected to the second terminal device, the main transmission network between the first line protection device and the second line protection device is the main line, and the backup transmission network between the first line protection device and the second line protection device is the backup line.
[0041] Clearly, due to the inherent protection switching time, data transmission during the switching period will inevitably suffer packet loss, causing a rollback in model training. If the existing protection switching scheme continues to be used, intelligent computing distributed collaborative technology may remain forever in the laboratory stage, making it difficult to achieve large-scale commercial application in live networks. Therefore, it is imperative to research a novel lossless line protection method for intelligent computing distributed collaborative systems.
[0042] To address the aforementioned technical problems, this application proposes a technical solution. This application addresses the current limitation of lossless line protection in OTN-based distributed intelligent computing collaboration by providing a lossless line protection method for such collaboration. This method ensures that interconnection links between intelligent computing centers will not experience data packet loss leading to model training rollback when facing adverse conditions such as fiber optic cable breaks, optical module failures, etc., thus promoting the practical application of distributed intelligent computing technology and contributing to improving the intelligence of future large-scale AI models.
[0043] The embodiments of this application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the embodiments provided herein are merely illustrative of the embodiments of this application and are not intended to limit the embodiments of this application. Furthermore, the embodiments provided below are some embodiments for implementing this application, and not all embodiments for implementing this application. Unless otherwise specified, the technical solutions described in the embodiments of this application can be implemented in any combination.
[0044] It should be noted that, in the embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a method or apparatus that includes a list of elements includes not only the elements expressly described, but also other elements not expressly listed, or elements inherent to implementing the method or apparatus. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of other related elements (e.g., steps in the method or units in the apparatus, such as portions of circuitry, processors, programs, or software, etc.) in the method or apparatus that includes that element.
[0045] The signal transmission method provided in this application includes a series of steps, but the signal transmission method provided in this application is not limited to the steps described. Similarly, the signal transmission device provided in this application includes a series of modules, but the device provided in this application is not limited to the modules explicitly described, but may also include modules that need to be set up for obtaining relevant information or processing based on information.
[0046] This application provides a signal transmission method applied to a transmitting device, exemplarily referring to... Figure 2 The transmitting device may include a first electrical processing chip, a first optical module, and a second optical module. The transmitting device and the receiving device are connected via an optical fiber link.
[0047] Figure 3 This is a flowchart of a signal transmission method applied to a transmitting device according to an embodiment of this application, such as... Figure 3 As shown, the process includes:
[0048] Step 301: Copy the bitstream to be transmitted to obtain two copies of the bitstream to be transmitted.
[0049] Reference Figure 2 and Figure 4 The first electrical processing chip can be used to copy and back up the bitstream to be transmitted, resulting in two copies of the bitstream to be transmitted. The first electrical processing chip is an essential part for realizing data copying and backup. Figure 4 In this context, the bitstream to be transmitted consists of symbol 1 to symbol n.
[0050] Step 302: Modulate the two bit streams to be transmitted to obtain the first signal and the second signal.
[0051] In this embodiment, the two data streams to be transmitted can be sent to independent first and second optical modules for signal modulation, thereby improving the efficiency of signal modulation. The first and second signals can be transmitted via primary and backup lines, respectively.
[0052] For example, the signal modulation method used by the first optical module and the second optical module can be quadrature amplitude modulation (QAM) or other modulation methods. The device for signal modulation in the first optical module and the second optical module can be an in-phase quadrature (IQ) modulator, and the signal modulation principle can be based on the principle of a Mach-Zehnder interferometer (MZI). It should be noted that the above description is merely an illustrative example of the modulation method and modulation device, and the embodiments of this application do not limit the scope of the application.
[0053] If only one optical module is used for signal modulation, the signal from that module can be used for primary and backup lines in two ways. First, at the transmitting end, the signal is split using a 50:50 coupler, and the split signals enter the primary and backup lines respectively. However, this method increases insertion loss by more than 3dB, reducing transmission performance. Second, a primary / backup switchover is performed. When no fault occurs, the signal is transmitted only on the primary line; when a fault occurs, it switches to the backup line. However, this involves a switchover time during which transmitted signals may be lost. In this embodiment, two optical modules are used for signal modulation, which solves the above-mentioned technical problems.
[0054] Step 303: The first signal and the second signal are sent synchronously to the two independent transmission paths, so that the common receiving end device of the two independent transmission paths receives the signals from the two independent transmission paths respectively, and when a fault is detected in one of the two independent transmission paths, it automatically switches to the other of the two independent transmission paths to continue receiving signals.
[0055] Here, the two independent transmission paths are the primary line and the backup line. The two independent transmission paths are two optical fiber links with different transmission distances. The path with the longer transmission distance is called the long path, and the path with the shorter distance is called the short path.
[0056] In practical applications, steps 301 to 303 can be implemented based on a processor, which can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), Controller, Microcontroller, and Microprocessor.
[0057] As can be seen, the embodiments of this application can copy the code stream at the transmitting end device, thereby transmitting the modulation signal corresponding to the two code streams through two independent transmission paths. That is, the signals transmitted by the two independent transmission paths can be considered as the same signal. In this way, when the receiving end device determines that one of the two independent transmission paths has failed, it can automatically switch to the other of the two independent transmission paths to achieve lossless signal transmission and solve the packet loss problem of fiber optic links during protection switching in related technologies.
[0058] This application also proposes a signal transmission method for a receiving device, exemplarily referring to... Figure 2 The receiving end device may include a second electrical processing chip, a third optical module, and a fourth optical module. The transmitting end device and the receiving end device communicate via an optical fiber link.
[0059] Figure 5 This is a flowchart of a signal transmission method applied to a receiving device according to an embodiment of this application, such as... Figure 5 As shown, the process includes:
[0060] Step 501: Receive signals from two independent transmission paths respectively; wherein, the common transmitting end device of the two independent transmission paths is used to copy the code stream to be transmitted to obtain two copies of the code stream to be transmitted, and modulate the two copies of the code stream to be transmitted to obtain a first signal and a second signal respectively, and send the first signal and the second signal synchronously to the two independent transmission paths.
[0061] Step 502: When a failure is detected in one of the two independent transmission paths, automatically switch to the other of the two independent transmission paths to continue receiving signals.
[0062] In practical applications, steps 501 to 502 can be implemented based on a processor, which can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.
[0063] As can be seen, the embodiments of this application can copy the code stream at the transmitting end device, thereby transmitting the modulation signal corresponding to the two code streams through two independent transmission paths. That is, the signals transmitted by the two independent transmission paths can be considered as the same signal. In this way, when the receiving end device determines that one of the two independent transmission paths has failed, it can automatically switch to the other of the two independent transmission paths to achieve lossless signal transmission and solve the packet loss problem of fiber optic links during protection switching in related technologies.
[0064] In some embodiments of this application, after receiving signals from two independent transmission paths respectively, the receiving device can also detect the signals from the two independent transmission paths to determine whether the two independent transmission paths have failed; then, the signals from the two independent transmission paths can be demodulated to obtain the demodulated signals.
[0065] Here, the receiving device can determine the status of two independent transmission paths by detecting the signal, which is conducive to the automatic switching of the path. By demodulating the signal, it is easier to process the signal in subsequent steps.
[0066] In some embodiments of this application, reference is made to Figure 2 The process of the receiving device detecting and demodulating signals from two independent transmission paths includes: sending the signals from the two independent transmission paths into mutually independent third and fourth optical modules, and performing signal detection and demodulation in each of the third and fourth optical modules. In this embodiment, by using different optical modules to detect and demodulate signals from the two independent transmission paths separately, the efficiency of signal detection and demodulation can be improved.
[0067] In some embodiments of this application, the two independent transmission paths are two optical fiber links with different transmission distances; wherein, the path with the longer transmission distance is called the long path and the path with the shorter distance is called the short path.
[0068] Accordingly, after receiving the demodulated signal, the receiving device can also reorder the demodulated signal to achieve symbol alignment; then, based on the reordering result of the demodulated signal, it selects one of the two independent transmission paths for outputting data.
[0069] Here, refer to Figure 2 After signal detection and demodulation, each of the third and fourth optical modules can output the demodulated signal to the second electrical processing chip.
[0070] Because the transmission distances of the two independent transmission paths are different, the two code streams to be transmitted arrive at the receiving device at different times. The second electrical processing chip of the receiving device reorders the demodulated signal according to the verification information to achieve symbol alignment. After obtaining the aligned signal, a path for outputting data can be selected, and the output code stream corresponding to the selected path can be generated. This output code stream can be obtained based on the reordering result.
[0071] In this embodiment of the application, since the primary line and the backup line may have different lengths, although the signals transmitted by the primary line and the backup line are the same, the 0 / 1 bit sequences output by the demodulation of the two optical modules of the receiving device are different at the same time, and there is a time delay difference, such as being misaligned by several bits. At this time, the operation of realigning the two misaligned 0 / 1 bit sequences is called symbol alignment.
[0072] Reordering is a specific means of achieving symbol alignment. The principle of reordering demodulated signals can be summarized as follows: At the beginning of the service connection between the transmitting and receiving devices, the transmitting device first sends a known data stream (i.e., a data stream known to the receiving device) to the receiving device. After receiving and demodulating signals from the long and short paths, the receiving device can cross-correlate the known data stream with signals from different paths to identify the long and short paths and obtain the time delay difference T between them. After the service connection is established, the transmitting device can send actual service data to the receiving device. The short path signal arriving at time t0 should be aligned with the long path signal arriving at time t0+T. Based on this principle, the reordering of demodulated signals can be achieved.
[0073] In some embodiments, when the optical module of the receiving device detects a failure in one path, it can notify the second electrical processing chip, which can then switch to another path to continue receiving signals.
[0074] Reference Figure 6 At the receiving end device, the demodulated signals corresponding to the long path and the demodulated signals corresponding to the short path can be reordered to obtain the reordering result. Then, when it is determined that the short path has failed, it can automatically switch to the long path to continue receiving signals, thus realizing lossless signal transmission between the transmitting end device and the receiving end device.
[0075] This application proposes a novel line protection method for intelligent distributed collaborative computing. Compared to related line protection methods, this application first backs up and copies the data to be transmitted at the transmitting end's electrical processing chip, then sends it to two independent optical modules for signal modulation before transmitting it through two primary and backup optical fiber lines. At the receiving end, two independent optical modules detect the signals from the primary and backup lines respectively, and simultaneously send them to the electrical processing chip for reordering and routing reception, achieving lossless line protection. Using the technical solution of this application, lossless line protection can be achieved, solving the packet loss problem caused by data connection interruptions between intelligent computing centers during intelligent distributed collaborative training.
[0076] OTN-based distributed intelligent computing collaboration is considered a crucial technology for addressing the limitation of single-node intelligent computing centers in scaling up to support larger model training due to power supply and space constraints. The high bandwidth and low latency of OTN technology also reduce the computational cost of distanced connections to an acceptable level. However, in addition to bandwidth and latency, reliability is paramount for AI large-scale model training based on distributed intelligent computing collaboration. Interruptions in data connections between intelligent computing centers can lead to large-scale model training rollback, resulting in significant economic and training time losses. Therefore, large-scale AI model training generally requires a network with zero packet loss. When using protection switching schemes provided in related technologies, packet loss is unavoidable during the switching period, causing model training rollback. This application's embodiment performs data backup at the transmitting end and simultaneously transmits via primary and backup lines. At the receiving end, reordering and routing are performed. When one signal is lost, a lossless switch to the other ensures seamless interconnection between intelligent computing centers.
[0077] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0078] Figure 7This is a schematic diagram of the structure of a signal transmission device applied to a transmitting device according to an embodiment of this application, such as... Figure 7 As shown, the device includes:
[0079] The first processing module 701 is used to copy the code stream to be transmitted to obtain two copies of the code stream to be transmitted; and to modulate the two code streams to be transmitted to obtain a first signal and a second signal respectively.
[0080] The transmitting module 702 is used to synchronously transmit the first signal and the second signal to two independent transmission paths, so that the common receiving end device of the two independent transmission paths receives the signals from the two independent transmission paths respectively, and automatically switches to the other path of the two independent transmission paths to continue receiving signals when a fault is detected in one of the two independent transmission paths.
[0081] In some embodiments, the first processing module 701 is configured to modulate the two code streams to be transmitted respectively, including:
[0082] The two code streams to be transmitted are respectively sent to the first optical module and the second optical module, which are independent of each other, for signal modulation.
[0083] In some embodiments, the two independent transmission paths are two optical fiber links with different transmission distances.
[0084] In some embodiments, the first processing module 701 is used to copy the bitstream to be transmitted to obtain two copies of the bitstream to be transmitted, including: using a first electrical processing chip to copy the bitstream to be transmitted to obtain two copies of the bitstream to be transmitted.
[0085] In practical applications, the first processing module 701 and the sending module 702 can be implemented based on a processor and a communication device.
[0086] Figure 8 This is a schematic diagram of the structure of a signal transmission device applied to a receiving device according to an embodiment of this application, such as... Figure 8 As shown, the device includes:
[0087] The receiving module 801 is used to receive signals from two independent transmission paths respectively; wherein, the common transmitting end device of the two independent transmission paths is used to copy the code stream to be transmitted to obtain two copies of the code stream to be transmitted, modulate the two copies of the code stream to be transmitted to obtain a first signal and a second signal respectively, and synchronously send the first signal and the second signal to the two independent transmission paths.
[0088] The second processing module 802 is used to automatically switch to the other path of the two independent transmission paths to continue receiving signals when a fault is detected in one of the two independent transmission paths.
[0089] In some embodiments, the second processing module 802 is further configured to determine whether the two independent transmission paths are faulty by detecting the signals from the two independent transmission paths; and to demodulate the signals from the two independent transmission paths to obtain demodulated signals.
[0090] In some embodiments, the second processing module 802 is used to detect and demodulate the signals from the two independent transmission paths, including:
[0091] The signals from the two independent transmission paths are respectively sent to a third optical module and a fourth optical module, and the signals are detected and demodulated in each of the third optical module and the fourth optical module.
[0092] In some embodiments, the two independent transmission paths are two optical fiber links with different transmission distances;
[0093] The second processing module 802 is further configured to, after obtaining the demodulated signal, reorder the demodulated signal to achieve symbol alignment; and select one of the two independent transmission paths for outputting data based on the reordering result of the demodulated signal.
[0094] In practical applications, the receiving module 801 and the second processing module 802 can be implemented based on a processor and a communication device.
[0095] It should be noted that the description of the above device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0096] It should be noted that, in the embodiments of this application, if the above methods are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a terminal, server, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.
[0097] Correspondingly, this application embodiment further provides a computer program product, the computer program product including computer executable instructions, which are used to implement any of the signal transmission methods provided in this application embodiment.
[0098] Accordingly, this application embodiment further provides a computer storage medium storing computer-executable instructions, which are used to implement any of the signal transmission methods provided in the above embodiments.
[0099] This application also provides a transmitting device. Figure 9 This is a schematic diagram of the composition structure of a transmitting device provided in an embodiment of this application, such as... Figure 9 As shown, the transmitting device 90 may include:
[0100] The first memory 901 is used to store executable instructions;
[0101] The first processor 902 is used to implement any of the signal transmission methods applied to the transmitting device when executing the execution instructions stored in the first memory 901.
[0102] This application also provides a receiving device. Figure 10 This is a schematic diagram of the composition structure of a receiving device provided in an embodiment of this application, such as... Figure 10 As shown, the receiving device 100 may include:
[0103] The second memory 1001 is used to store executable instructions;
[0104] The second processor 1002 is used to execute the execution instructions stored in the second memory 1001 to implement any of the above-mentioned signal transmission methods applied to the receiving device.
[0105] The first processor 902 and the second processor 1002 mentioned above can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.
[0106] The aforementioned computer-readable storage medium, the first memory 1001, and the second memory 1002 may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or they may be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0107] This application also provides a signal transmission system, which includes the transmitting end device and receiving end device described above.
[0108] In some embodiments, the functions or modules of the apparatus provided in this application can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0109] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.
[0110] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0111] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0112] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.
[0113] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0114] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims. All of these forms are within the protection scope of this application.
Claims
1. A signal transmission method, characterized in that, Applied to a transmitting device, the method includes: The bitstream to be transmitted is copied to obtain two copies of the bitstream to be transmitted. The two code streams to be transmitted are modulated to obtain a first signal and a second signal; The first signal and the second signal are sent synchronously to two independent transmission paths, so that the common receiving end device of the two independent transmission paths receives the signals from the two independent transmission paths respectively, and when a failure is detected in one of the two independent transmission paths, it automatically switches to the other of the two independent transmission paths to continue receiving signals.
2. The method according to claim 1, characterized in that, The step of modulating the two code streams to be transmitted separately includes: The two code streams to be transmitted are respectively sent to the first optical module and the second optical module, which are independent of each other, for signal modulation.
3. The method according to claim 1, characterized in that, The two independent transmission paths are two optical fiber links with different transmission distances.
4. The method according to claim 1, characterized in that, The step of copying the bitstream to be transmitted to obtain two copies of the bitstream to be transmitted includes: using a first electrical processing chip to copy the bitstream to be transmitted to obtain two copies of the bitstream to be transmitted.
5. A signal transmission method, characterized in that, Applied to a receiving device, the method includes: Signals are received from two independent transmission paths respectively; wherein, the common transmitting end device of the two independent transmission paths is used to copy the code stream to be transmitted to obtain two copies of the code stream to be transmitted, and the two copies of the code stream to be transmitted are modulated to obtain a first signal and a second signal respectively, and the first signal and the second signal are synchronously transmitted to the two independent transmission paths. When a fault is detected in one of the two independent transmission paths, the system automatically switches to the other of the two independent transmission paths to continue receiving signals.
6. The method according to claim 5, characterized in that, After receiving signals from two independent transmission paths respectively, the method further includes: determining whether the two independent transmission paths are faulty by detecting the signals from the two independent transmission paths. The signals from the two independent transmission paths are demodulated to obtain the demodulated signals.
7. The method according to claim 6, characterized in that, Detecting and demodulating the signals from the two independent transmission paths includes: The signals from the two independent transmission paths are respectively sent to a third optical module and a fourth optical module, and the signals are detected and demodulated in each of the third optical module and the fourth optical module.
8. The method according to claim 6, characterized in that, The two independent transmission paths are two optical fiber links with different transmission distances. After obtaining the demodulated signal, the method further includes: reordering the demodulated signal to achieve symbol alignment. Based on the reordering result of the demodulated signal, one of the two independent transmission paths is selected for outputting data.
9. A signal transmission device, characterized in that, Applied to a transmitting device, the apparatus includes: The first processing module is used to copy the code stream to be transmitted to obtain two copies of the code stream to be transmitted; and to modulate the two code streams to be transmitted to obtain a first signal and a second signal respectively. The transmitting module is used to synchronously transmit the first signal and the second signal to two independent transmission paths, so that the common receiving end device of the two independent transmission paths receives the signals from the two independent transmission paths respectively, and automatically switches to the other path of the two independent transmission paths to continue receiving signals when a failure is detected in one of the two independent transmission paths.
10. A signal transmission device, characterized in that, Applied to a receiving device, the apparatus includes: A receiving module is used to receive signals from two independent transmission paths respectively; wherein, the common transmitting end device of the two independent transmission paths is used to copy the code stream to be transmitted to obtain two copies of the code stream to be transmitted, modulate the two copies of the code stream to be transmitted to obtain a first signal and a second signal respectively, and synchronously send the first signal and the second signal to the two independent transmission paths. The second processing module is used to automatically switch to the other of the two independent transmission paths to continue receiving signals when a fault is detected in one of the two independent transmission paths.
11. A transmitting device, characterized in that, The transmitting device includes a processor and a memory for storing computer programs that can run on the processor; wherein, The processor is used to run the computer program to perform the method according to any one of claims 1 to 4.
12. A receiving device, characterized in that, The receiving device includes a processor and a memory for storing computer programs that can run on the processor; wherein, The processor is used to run the computer program to perform the method according to any one of claims 5 to 8.
13. A signal transmission system, characterized in that, It includes the transmitting device as described in claim 11 and the receiving device as described in claim 12.
14. A computer storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the method described in any one of claims 1 to 8.
15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 8.