Multi-node transmission method and device based on BLVDS level

By using the master station to determine the source of data packets in the multi-node transmission method of BLVDS level, reducing spontaneous data packets, and using differential line communication and control module processing, the problems of insufficient data transmission rate and signal interference in the prior art are solved, and the problem of insufficient data transmission rate and signal interference is realized. Multi-site data transmission with high accuracy and high reliability.

CN119094084APending Publication Date: 2024-12-06CHENGDU WEIDE QINGYUN ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411192853.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

When the existing CAN and RS485 protocols are used in industries, automobiles, medicine and other fields, the data transmission rate is insufficient. In the BLVDS protocol, the signal reflection and electromagnetics are reflected due to the large number of sites and uncertainty. Interference and crosstalk lead to confusion in information interaction and data confusion.

Method used

Using a multi-node transmission method based on BLVDS level, the data packet source is judged through the main station, spontaneous data packets are discarded, and the differential line is used for two-way communication, reducing clock signal interference, improving data transmission accuracy, and data mapping and Framing ensures the correctness and robustness of data across multiple sites.

Benefits of technology

It reduces the probability of errors in the application layer controller, improves data transmission accuracy and speed, reduces errors during data transmission, realizes high-reliability multi-site information interaction, and improves communication rate and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094084A_ABST
    Figure CN119094084A_ABST
Patent Text Reader

Abstract

The invention provides a multi-node transmission method and device based on a BLVDS level. The method comprises the steps that a master station obtains a data packet needing to be sent; the master station judges whether the data packet is generated by the master station itself or not, if the data packet is generated by the master station itself, the master station sends the data packet to the slave station so that the slave station can return response data, the master station obtains the response data, and if the data packet is not generated by the master station itself, the data packet is discarded, the number of the slave stations is N, the master station sends the data packet to at least one slave station in the N slave stations, and N is a positive integer. The method has the beneficial effects that the method is used for identifying and filtering data transmitted by a local machine, and ensures that only data from other nodes can be processed by a receiving end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information transmission, and in particular to a multi-node transmission method and device based on BLVDS level. Background Art

[0002] In the fields of industry, automobile, and medical equipment manufacturing, CAN and RS485 serial communication protocols are usually used for short-distance, medium-low-speed multi-point data transmission, but there is a significant performance gap between the two and the BLVDS protocol. First of all, CAN and RS485 have the problem of too slow data transmission rate compared with BLVDS. CAN only supports a maximum transmission rate of 1Mbps. Although RS485 has a significant rate improvement, the maximum rate only supports 16Mbps data transmission, which obviously cannot meet the current requirements of industry, automobile, medicine and other fields for the perception and real-time performance of smart devices. BLVDS makes up for this deficiency in this performance indicator. Its maximum transmission rate can reach the Gbps level, which meets the rigid requirements for smart devices in the context of today's information age.

[0003] Currently, in the process of data exchange through BLVDS, due to the large number of sites and the existence of uncertainty, for example, in a system using physical media such as coaxial cable or twisted pair, the signal may be reflected back from the sending end and captured by the receiving end. In addition, when two or more signal lines are close to each other, electromagnetic interference may occur between the signals, causing the signal to couple from one line to another. If the sending line and the receiving line are close enough, crosstalk from the sending line to the receiving line may occur. The chaotic information exchange process will cause information conflicts between different sites and cause data confusion. Summary of the invention

[0004] The present application proposes a multi-node transmission method based on BLVDS level, including: the master station obtains a data packet to be sent; the master station determines whether the data packet is generated by the master station itself, if the data packet is generated by the master station itself, the master station sends the data packet to the slave station so that the slave station returns response data, the master station obtains the response data, if the data packet is not generated by the master station itself, the data packet is discarded, wherein the slave station is set to N, the master station sends the data packet to at least one of the N slave stations, and N is a positive integer.

[0005] Preferably, the master station transmits information between different slave stations in a sequential manner or identifies the slave station number by address mapping to transmit information to a specified slave station.

[0006] Preferably, the master station sending the data packet to the slave station comprises:

[0007] Convert the parallel data to be sent into serial signals for transmission.

[0008] Preferably, the master station obtains the response data including:

[0009] Converts received serial data into parallel data.

[0010] Preferably, converting the parallel data to be sent into a serial signal for sending includes:

[0011] Encoding step: The master station will encode the data packet to obtain the encoded data;

[0012] Framing step: The master station packages the encoded data into data frames and then converts the analog signal into a digital signal;

[0013] I / O data sending steps: The master station sends data through the BLVDS interface, and the data is converted from parallel to serial.

[0014] Preferably, receiving serial data and converting it into parallel data comprises:

[0015] I / O data receiving steps: The slave receives data through the BLVDS interface and converts the digital signal into an analog signal. At this time, the data changes from serial to parallel data, including;

[0016] Phase detection step: The master station checks the phase of the received data;

[0017] Byte alignment step: The master adjusts the received data so that the byte boundaries are aligned;

[0018] Deframing step: decompose the received data frame into individual data units and restore the original data packet;

[0019] Decoding step: The master station restores the received data to the original format of the data packet.

[0020] In some embodiments, a multi-node transmission method based on BLVDS level is also proposed, including:

[0021] The slave station receives the data packet sent by the master station and determines whether the data packet is the target data packet. If the data packet is the target data packet, the slave station receives the data packet and sends response data to the master station. If the data packet is not the target data packet, the slave station discards the data packet.

[0022] Preferably, the slave station receives the data packet and sends response data to the master station, including: the slave station determines whether the response data is generated by the slave station, if not, discards the response data, and if so, sends the response data to the master station.

[0023] Preferably, the slave station receives the data packet and sends response data to the master station, including:

[0024] Convert the parallel data to be sent into serial signals for transmission.

[0025] Preferably, the slave station receives the data packet and sends response data to the master station, including:

[0026] Converts received serial data into parallel data.

[0027] Preferably, converting the parallel data to be sent into a serial signal for sending includes:

[0028] Encoding step: The slave station will encode the data packet to obtain the encoded data;

[0029] Framing step: The slave station packages the encoded data into data frames and then converts the analog signal into a digital signal;

[0030] I / O data transmission steps: The slave sends data through the BLVDS interface, and the data is converted from parallel to serial.

[0031] Preferably, receiving serial data and converting it into parallel data comprises:

[0032] I / O data receiving steps: The slave receives data through the BLVDS interface and converts the digital signal into an analog signal. At this time, the data changes from serial to parallel data, including;

[0033] Phase detection step: The slave checks the phase of the received data;

[0034] Byte alignment step: The slave adjusts the received data so that the byte boundaries are aligned;

[0035] Deframing step: decompose the received data frame into individual data units and restore the original data packet;

[0036] Decoding step: The slave restores the received data to the original format of the data packet.

[0037] Preferably, when a data packet or response data is to be sent, the signals between different devices are isolated so that the data flows only between the selected master and slave stations.

[0038] In some embodiments, a multi-node transmission device based on BLVDS level is also proposed, including a master station and N differential lines connected to the master station, where N is a positive integer;

[0039] The master station is configured to obtain a data packet to be sent by the master station;

[0040] The master station determines whether the data packet is generated by the master station itself. If the data packet is generated by the master station itself, the master station sends the data packet to the slave station so that the slave station returns response data, and the master station obtains the response data. If the data packet is not generated by the master station itself, the data packet is discarded, wherein the slave station is set to N, and the master station sends the data packet to at least one of the N slave stations, and N is a positive integer.

[0041] Preferably, the master station transmits information between different slave stations in a sequential manner or identifies the slave station number by address mapping to transmit information to a specified slave station.

[0042] Preferably, the master station includes a sending interface, and the master station sending the data packet to the slave station includes:

[0043] The sending interface is used to convert parallel data to be sent into serial signals for sending.

[0044] Preferably, the master station includes a receiving interface, and the master station obtains the response data including:

[0045] The receiving interface is used to receive serial data and convert it into parallel data.

[0046] Preferably, the transmission interface includes a first control module and a first data transmission module, and the first control module includes a framing module, a first sampling module, a first different device adaptation module, and a parallel-to-serial conversion module;

[0047] The transmission interface is used to convert the parallel data to be transmitted into a serial signal and transmit it, including:

[0048] The framing module is used in the encoding step: the master station encodes the data packet to obtain the encoded data;

[0049] The framing module is also used in the framing step: the master station packages the encoded data into data frames, and then converts the analog signal into a digital signal;

[0050] The first different device adaptation module, the parallel-to-serial conversion module, and the first data transmission module are used for the I / O data sending step: the master station sends the data through the BLVDS interface, and the data is converted from parallel to serial.

[0051] Preferably, the receiving interface includes a second control module and a second data transmission module, and the second control module includes a deframing module, a second sampling module, a second different device adaptation module, a serial-to-parallel conversion module, and a byte alignment module;

[0052] The receiving interface is used to receive serial data and convert it into parallel data, including:

[0053] The second different device adaptation module, the serial-to-parallel conversion module, the second sampling module, and the second data transmission module are used for the I / O data receiving step: the slave station receives data through the BLVDS interface and converts the digital signal into an analog signal, and at this time, the data is converted from serial to parallel data, including;

[0054] The second sampling module and the byte alignment module are used in the phase detection step: the master station checks the phase of the received data;

[0055] The second sampling module and the byte alignment module are used in the byte alignment step: the master station adjusts the received data so that the byte boundaries are aligned;

[0056] The de-framing module is used for the de-framing step: decomposing the received data frame into separate data units to restore the original data packet;

[0057] The deframing module is used for the decoding step: the master station restores the received data to a data packet in an original format.

[0058] In some embodiments, a multi-node transmission device based on BLVDS level is also proposed, including a slave station and a differential line connected to the slave station;

[0059] The slave station is configured to receive a data packet sent by the master station and determine whether the data packet is a target data packet. If the data packet is a target data packet, the slave station receives the data packet and sends response data to the master station. If the data packet is not a target data packet, the data packet is discarded.

[0060] Preferably, the slave station receives the data packet and sends response data to the master station, including: the slave station determines whether the response data is generated by the slave station, if not, discards the response data, and if so, sends the response data to the master station.

[0061] Preferably, the slave station includes a sending interface, and the slave station receives the data packet and sends response data to the master station, including:

[0062] The sending interface is used to convert parallel data to be sent into serial signals for sending.

[0063] Preferably, the slave station includes a receiving interface, and the slave station receives the data packet and sends response data to the master station, including:

[0064] The receiving interface is used to receive serial data and convert it into parallel data.

[0065] Preferably, the sending interface includes a first control module and a first data transmission module, the first control module includes a framing module, a first sampling module, a first different device adaptation module, and a parallel-to-serial conversion module; the sending interface converts the parallel data to be sent into a serial signal and sends it, including:

[0066] The framing module is used in the encoding step: the slave station encodes the data packet to obtain the encoded data;

[0067] The framing module is also used in the framing step: the slave station packages the encoded data into data frames, and then converts the analog signal into a digital signal;

[0068] I / O data transmission steps: The slave sends data through the BLVDS interface, and the data is converted from parallel to serial.

[0069] Preferably, the receiving interface includes a second control module and a second data transmission module, the second control module includes a deframing module, a second sampling module, a second different device adaptation module, a serial-to-parallel conversion module, and a byte alignment module; the receiving interface is used to receive serial data and convert it into parallel data, including:

[0070] The second different device adaptation module, the serial-to-parallel conversion module, the second sampling module, and the second data transmission module are used for the I / O data receiving step: the slave station receives data through the BLVDS interface and converts the digital signal into an analog signal, and at this time, the data is converted from serial to parallel data, including;

[0071] The second sampling module and the byte alignment module are used in the phase detection step: the slave station checks the phase of the received data;

[0072] The second sampling module and the byte alignment module are used in the byte alignment step: the slave station adjusts the received data so that the byte boundaries are aligned;

[0073] The de-framing module is used for the de-framing step: decomposing the received data frame into separate data units to restore the original data packet;

[0074] The deframing module is used for the decoding step: the slave station restores the received data to a data packet in an original format.

[0075] Preferably, a three-state control module is further provided, and the three-state control module is used to isolate signals between different devices when data packets or corresponding data are to be sent and received, so that data flows only between the selected master station and slave station.

[0076] The beneficial effects of the present invention are:

[0077] (1) Perform local transmission judgment under the transmission status of the master station and the slave station, and discard the data packets sent by the local station, so as to reduce the probability of errors in the application layer controller. That is, a detection mechanism is added to the system to identify and filter out the data sent spontaneously by the local station, ensuring that only data from other nodes will be processed by the receiving end;

[0078] (2) Compared with the prior art, this technology removes the clock bus and performs bidirectional communication through only a pair of differential lines. This reduces the possibility of data between different sites being interfered by clock signals and improves the accuracy of data transmission.

[0079] (3) By embedding the control module, this technology improves the accuracy of data reception between the master station and the slave station, reduces errors in the data transmission process, maps and frames the protocol layer data, avoids the instability of data transmission between IO state transitions, and ensures high data reliability, thereby jointly maintaining the correctness and robustness of data in the multi-site information interaction process;

[0080] (4) The communication speed between nodes has been accelerated by continuous improvement of the algorithm. In the information exchange process from the host starting to send a message to the slave completing the response, the shortest time can reach 3.3us at a communication rate of 100Mbps. Compared with the existing technology, this technology has achieved nearly double the speed in information exchange;

[0081] (5) In the process of information interaction with one master and multiple slaves, the master station establishes connections with the slave stations in turn, sends data, and waits for the slave to reply with a response packet. According to this process, the host can implement round-robin access from slave 1 to slave N in a short time;

[0082] (6) By using different device adapter modules, the device model of the slave station can be adapted to reduce the underlying structural changes. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] Figure 1 It is a schematic diagram of the process of the present invention;

[0084] Figure 2 It is a schematic diagram of the structure of the master station and the slave station of the present invention;

[0085] Figure 3 It is a schematic diagram of a flow chart of an embodiment of the present invention;

[0086] Figure 4 It is a schematic diagram of the communication structure between a master station and multiple slave stations of the present invention;

[0087] Figure 5 It is a schematic diagram of the corresponding time of communication between the master station and the slave station of the present invention;

[0088] Figure 6 It is a schematic diagram of the structure of the sending interface sending information to the receiving interface of the present invention;

[0089] Figure 7 It is a structural diagram of the process of sending information from a sending interface to a receiving interface of the present invention;

[0090] Figure 8 It is a schematic diagram of the mapping data structure of the frame of the present invention.

[0091] Reference numerals:

[0092] 1. Master station; 2. Differential line; 3. Slave station; 4. Sending interface; 41. First control module; 42. First data transmission module; 411. Framing module; 412. First sampling module; 413. First different device adaptation module; 414. Parallel-to-serial conversion module; 5. Receiving interface; 51. Second control module; 511. Deframing module; 512. Second sampling module; 513. Second different device adaptation module; 514. Parallel-to-serial conversion module; 515. Byte alignment module; 52. Second data transmission module; 6. Three-state control module. DETAILED DESCRIPTION

[0093] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be understood by people with general skills in the field to which the present invention belongs. "Including" and similar words used in this article mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.

[0094] The BLVDS (Bus Low Voltage Differential Signature) in this application is a bus low voltage differential signal, which is designed for short-distance, high-speed data transmission. Compared with the traditional LVDS (Low Voltage Differential Signature), BLVDS pays more attention to use in a bus environment, especially in a multi-point communication system.

[0095] In the prior art, patent number CN115331679A adopts BLVDS to realize long-distance transmission of multi-channel audio. This technology provides a new idea for the field of audio in multi-path simultaneous transmission technology, but there are problems such as slow transmission rate, multiple interfaces, and complex processing. In addition, this technology does not consider the adaptability of different devices and the differences in IO characteristics of different devices. The lack of this aspect will result in a large range of data errors at the receiving end after replacing different models of FPGA devices. Patent number CN216747996U adopts BLVDS for transmission of communication information. This technology only completes one-to-one communication and does not give full play to the advantages of BLVDS multi-point transmission and reception. Patent No. CN111459069A uses BLVDS to realize one-master-multiple-slave data transmission, which can complete information interaction between multiple points. However, in the design process, the technology uses a clock bus to transmit clocks between different control modules. This not only causes the clock to be disturbed during the transmission process, affecting the correctness of the data, but also increases the production cost. At the same time, the technology lacks a data control module, which is very likely to cause data distortion and mismatch between different interface modules, resulting in major accidents such as control delays and even command errors at the customer application level. In addition, due to the large number of sites and the uncertainty, for example, in a system using physical media such as coaxial cables or twisted pairs, the signal may be reflected back from the transmitting end and captured by the receiving end. In addition, when two or more signal lines are close to each other, electromagnetic interference may occur between the signals, causing the signal to couple from one line to another. If the transmitting line and the receiving line are close enough, crosstalk from the transmitting line to the receiving line may occur. The chaotic information interaction process will cause information conflicts between different sites, resulting in data confusion and the situation of self-transmission and self-reception. Therefore, the present application solves the above defects through the following solutions:

[0096] Combined with Figure 1-Figure 3 , the present application proposes a multi-node transmission method based on BLVDS level, including:

[0097] S101, the master station 1 obtains the data packet to be sent;

[0098] S102, the master station 1 determines whether the data packet is generated by the master station 1 itself. If the data packet is generated by the master station 1 itself, the master station 1 sends the data packet to the slave station 3 so that the slave station 3 returns response data, and the master station 1 obtains the response data. If the data packet is not generated by the master station 1 itself, the data packet is discarded, wherein the slave stations 3 are set to N, and the master station 1 sends the data packet to at least one of the N slave stations 3, and N is a positive integer.

[0099] In some embodiments, a multi-node transmission method based on BLVDS level is also proposed, including:

[0100] Slave station 3 receives the data packet sent by master station 1 and determines whether the data packet is the target data packet. If the data packet is the target data packet, slave station 3 receives the data packet and sends response data to master station 1. If the data packet is not the target data packet, the data packet is discarded.

[0101] In some embodiments, the slave station 3 receives the data packet and sends response data to the master station 1, including: the slave station 3 determines whether the response data is generated by the slave station 3, if not, discards the response data, and if so, sends the response data to the master station 1.

[0102] Specifically, when transmitting data between the master station 1 (host) and the slave station 3 (slave), by judging whether the data packet is generated by the master station 1 and whether it is the target data packet, the propagation of erroneous data packets in the network is avoided, which reduces the risk of information confusion and data conflict in the multi-node network. At the same time, by judging the response data, it is ensured that only the valid response data generated by the slave station 3 is sent back to the master station 1. This mechanism effectively prevents the phenomenon of self-transmission and self-reception, and avoids the system receiving the data sent by itself. In addition, by discarding non-target data packets and invalid response data, unnecessary data transmission in the network is reduced, thereby reducing the network load and reducing possible interference and conflicts. Through these judgment and filtering mechanisms, the system can better control the flow of data and avoid system instability caused by data packet processing errors.

[0103] Combined with Figure 4 In some embodiments, the master station 1 transmits information between different slave stations 3 in a sequential manner or identifies the number of the slave station 3 by address mapping to transmit information to a specified slave station 3.

[0104] Specifically, Figure 4 As shown, the master station 1 can transmit information between different slave stations 3 in a sequential manner or identify the slave number by address mapping to transmit information to a specified slave:

[0105] Exemplary, sequential information transmission:

[0106] Master station 1 first sends a request signal and data to slave station 3;

[0107] Slave 3 confirms the response and then sends a reply packet to master 1;

[0108] Next, the master station 1 sends a request signal and data to the slave station 3;

[0109] This process continues until all slaves 3 have been visited once.

[0110] Information transmission by address mapping:

[0111] The master station 1 can directly find the specific slave station 3 through the pre-set address mapping table;

[0112] When the master station 1 needs to send data to a specific slave station 3, it can look up the address mapping table to determine the corresponding slave station 3 number;

[0113] Then, the master station 1 can directly send the request signal and data to this slave station 3;

[0114] Slave 3 confirms the response and then sends a reply packet to master 1.

[0115] Combined with Figure 6-7 In some embodiments, the master station 1 sends the data packet to the slave station 3 including:

[0116] Convert the parallel data to be sent into serial signals for transmission.

[0117] Specifically, before sending, these parallel data will be converted into serial signals, that is, the data bits are transmitted serially in sequence. Serial transmission reduces the number of transmission lines and is suitable for long-distance and high-speed data transmission. After conversion to serial signals, the data is sent to slave station 3 through a communication interface (such as BLVDS).

[0118] In some embodiments, the master station 1 obtains the response data including:

[0119] Converts received serial data into parallel data.

[0120] Specifically, the data received from the slave 3 is in serial form, that is, the data bits arrive one by one in time sequence, and the slave 3 reconverts these serial data into parallel data for subsequent upper layer processing modules to process. This step includes reorganizing the received serial data back to the original data bit structure.

[0121] In some embodiments, converting the parallel data to be sent into a serial signal for sending includes:

[0122] Encoding step: Master station 1 encodes the data packet to obtain the encoded data;

[0123] Framing step: Master station 1 packages the encoded data into data frames and then converts the analog signal into a digital signal;

[0124] I / O data sending steps: Master station 1 sends data through the BLVDS interface, at which time the data is converted from parallel to serial.

[0125] Specifically, the encoding step: the master station 1 encodes the data packet to be sent to generate the encoded data. This process usually includes data formatting, checksum addition and other steps to ensure the integrity and accuracy of the data during transmission. The framing step: the encoded data is packaged into a data frame. This process includes adding a frame header, a frame tail, a synchronization signal, etc. to mark the start and end of the data packet. After that, the data is converted from an analog signal to a digital signal for transmission in a digital communication network. The I / O data sending step: the master station 1 sends the data through the BLVDS (low voltage differential signal) interface. At this time, the data is converted from parallel form to serial form to synchronize the decoding process of the receiving end.

[0126] In some embodiments, converting the received serial data into parallel data comprises:

[0127] I / O data receiving step: Slave 3 receives data through the BLVDS interface and converts the digital signal into an analog signal. At this time, the data changes from serial to parallel data including;

[0128] Phase detection step: Master station 1 checks the phase of the received data;

[0129] Byte alignment step: Master 1 adjusts the received data so that the byte boundaries are aligned;

[0130] Deframing step: decompose the received data frame into individual data units and restore the original data packet;

[0131] Decoding step: Master station 1 restores the received data to the original format of the data packet.

[0132] The specific master station 1 receives data through the BLVDS interface and converts the digital signal into an analog signal. At this time, the received data is converted from serial form to parallel form for further processing. Then the slave station 3 checks the phase of the received data to ensure that the data is received at the correct position. Phase identification can correct the time deviation in data transmission to ensure that the data is captured at the correct time and adjust the received data to align the byte boundaries, that is, to ensure that the data stream is grouped correctly and can correctly identify complete bytes. Byte alignment ensures the integrity of the data structure, so that the start and end positions of each byte are clear and unambiguous, thereby avoiding data parsing errors, decomposing the received framed data into separate data units, and restoring the original data packet to ensure that the data content can be correctly understood and processed and restored to the original state of the sender. The slave station 3 decodes the received data and restores it to the original format of the data packet to ensure that the data can be correctly used by the upper-level application.

[0133] Combined with Figure 6-7 In some embodiments, the slave station 3 receives the data packet and sends response data to the master station 1, including:

[0134] Convert the parallel data to be sent into serial signals for transmission.

[0135] Specifically, before sending, these parallel data will be converted into serial signals, that is, the data bits are transmitted serially in sequence. Serial transmission reduces the number of transmission lines and is suitable for long-distance and high-speed data transmission. After conversion to serial signals, the data is sent to slave station 3 through a communication interface (such as BLVDS).

[0136] In some embodiments, the slave station 3 receives the data packet and sends response data to the master station 1, including:

[0137] Converts received serial data into parallel data.

[0138] Specifically, the data received from the slave 3 is in serial form, that is, the data bits arrive one by one in time sequence, and the slave 3 reconverts these serial data into parallel data for subsequent upper layer processing modules to process. This step includes reorganizing the received serial data back to the original data bit structure.

[0139] In some embodiments, converting the parallel data to be sent into a serial signal for sending includes:

[0140] Encoding step: Slave station 3 will encode the data packet to obtain the encoded data;

[0141] Framing step: Slave station 3 packages the encoded data into data frames and then converts the analog signal into a digital signal;

[0142] I / O data sending steps: Slave 3 sends data through the BLVDS interface, and the data is converted from parallel to serial.

[0143] Specifically, the encoding step: the slave station 3 encodes the data packet to be sent to generate the encoded data. This process usually includes data formatting, checksum addition and other steps to ensure the integrity and accuracy of the data during transmission. The framing step: the encoded data is packaged into a data frame. This process includes adding a frame header, a frame footer, a synchronization signal, etc. to mark the start and end of the data packet. After that, these data are converted from analog signals to digital signals for transmission in the digital communication network. The I / O data sending step: the slave station 3 sends the data through the BLVDS (low voltage differential signal) interface. At this time, the data is converted from parallel form to serial form to synchronize the decoding process of the receiving end.

[0144] In some embodiments, the master station and the slave station transmit information via asynchronous clocks, that is, the master station and the slave station each generate the required clock for communication transmission.

[0145] In some embodiments, converting the received serial data into parallel data comprises:

[0146] I / O data receiving step: Slave 3 receives data through the BLVDS interface and converts the digital signal into an analog signal. At this time, the data changes from serial to parallel data including;

[0147] Phase detection step: Slave station 3 checks the phase of the received data;

[0148] Byte alignment step: Slave 3 adjusts the received data so that the byte boundaries are aligned;

[0149] Deframing step: decompose the received data frame into individual data units and restore the original data packet;

[0150] Decoding step: Slave station 3 restores the received data to the original format of the data packet.

[0151] Specifically, slave station 3 receives data through the BLVDS interface and converts the digital signal into an analog signal. At this time, the received data is converted from serial form to parallel form for further processing. Then, slave station 3 checks the phase of the received data to ensure that the data is received at the correct position of the signal. Phase identification can correct the time deviation in data transmission, ensure that the data is captured at the correct time, avoid errors caused by asynchrony, and adjust the received data to align the byte boundaries, that is, ensure that the data stream is grouped correctly and can correctly identify complete bytes. Byte alignment ensures the integrity of the data structure, so that the start and end positions of each byte are clear and unambiguous, thereby avoiding data parsing errors. The received framed data is decomposed into separate data units and the original data packet is restored to ensure that the data content can be correctly understood and processed and restored to the original state of the sender. Slave station 3 decodes the received data and restores it to the original format of the data packet to ensure that the data can be correctly used by the upper-level application.

[0152] In some embodiments, when a data packet or response data is to be sent, the signals between different devices are isolated so that the data flows only between the selected master station 1 and slave station 3 .

[0153] Specifically, when data packets or response data are to be sent and received, the system isolates the signals between different devices so that the data flow is limited to the selected master station 1 and slave station 3. Each node (master station 1 and slave station 3) verifies and screens the received and sent data packets to ensure that the data in the transmission process is valid and meaningful. This isolation mechanism prevents data packets from flowing between non-target devices, reduces signal interference and mistransmission, and ensures the security and accuracy of communication.

[0154] Combination Figure 8, including frame header, data part, frame tail, and data length. The frame header is used to identify a special sequence at the beginning of a new frame. It is usually composed of some predefined bytes to distinguish it from the actual data content. The data part contains the actual information to be transmitted, such as commands, parameters, status reports, etc. In the diagram, each data is 8 bytes long. The frame tail is used to indicate a special sequence at the end of a frame. It is also composed of some predefined bytes to mark the end of the frame. Data length, there will be a field to indicate the actual length of the data part, so that the receiver can know when to stop reading data.

[0155] Combined with Figure 1-Figure 3 , in some embodiments, a multi-node transmission device based on BLVDS level is also proposed, including a master station 1 and N differential lines 2 (BLVDS buses) connected to the master station 1, to achieve transmission to multiple slave stations 3, wherein N is a positive integer;

[0156] The master station 1 is configured to obtain a data packet to be sent by the master station 1;

[0157] The master station 1 determines whether the data packet is generated by the master station 1 itself. If the data packet is generated by the master station 1 itself, the master station 1 sends the data packet to the slave station 3 so that the slave station 3 returns response data, and the master station 1 obtains the response data. If the data packet is not generated by the master station 1 itself, the data packet is discarded, wherein the slave stations 3 are set to N, and the master station 1 sends the data packet to at least one of the N slave stations 3, and N is a positive integer.

[0158] In some embodiments, the master station 1 transmits information between different slave stations 3 in a sequential manner or identifies the number of the slave station 3 by address mapping to transmit information to a specified slave station 3 .

[0159] Specifically, Figure 4 As shown, the master station 1 can transmit information between different slave stations 3 in a sequential manner or identify the slave number by address mapping to transmit information to a specified slave:

[0160] Exemplary, sequential information transmission:

[0161] Master station 1 first sends a request signal and data to slave station 3;

[0162] Slave 3 confirms the response and then sends a reply packet to master 1;

[0163] Next, the master station 1 sends a request signal and data to the slave station 3;

[0164] This process continues until all slaves 3 have been visited once.

[0165] Information transmission by address mapping:

[0166] The master station 1 can directly find the specific slave station 3 through the pre-set address mapping table;

[0167] When the master station 1 needs to send data to a specific slave station 3, it can look up the address mapping table to determine the corresponding slave station 3 number;

[0168] Then, the master station 1 can directly send the request signal and data to this slave station 3;

[0169] Slave 3 confirms the response and then sends a reply packet to master 1.

[0170] Combined with Figure 6-7 In some embodiments, the master station 1 includes a sending interface 4, and the master station 1 sends the data packet to the slave station 3 including:

[0171] The transmission interface 4 is used to convert the parallel data to be transmitted into serial signals for transmission.

[0172] Specifically, the encoding step: the master station 1 encodes the data packet to be sent to generate the encoded data. This process usually includes data formatting, checksum addition and other steps to ensure the integrity and accuracy of the data during transmission. The framing step: the encoded data is packaged into a data frame. This process includes adding a frame header, a frame tail, a synchronization signal, etc. to mark the start and end of the data packet. After that, the data is converted from an analog signal to a digital signal for transmission in a digital communication network. The I / O data sending step: the master station 1 sends the data through the BLVDS (low voltage differential signal) interface. At this time, the data is converted from parallel form to serial form to synchronize the decoding process of the receiving end.

[0173] Combined with Figure 6-7 In some embodiments, the master station 1 includes a receiving interface 5, and the master station 1 obtains the response data including:

[0174] The receiving interface 5 is used to receive serial data and convert it into parallel data.

[0175] In some embodiments, the transmission interface 4 includes a first control module 41 and a first data transmission module 42, wherein the first control module 41 includes a framing module 411, a first sampling module 412, a first different device adaptation module 413, and a parallel-to-serial conversion module 414415;

[0176] The transmission interface 4 is used to convert the parallel data to be transmitted into a serial signal for transmission, including:

[0177] The framing module 411 is used for the encoding step: the master station 1 encodes the data packet to obtain the encoded data;

[0178] The framing module 411 is also used for the framing step: the master station 1 packages the encoded data into data frames, and then converts the analog signal into a digital signal;

[0179] The first different device adaptation module 413, the parallel-to-serial conversion module 414, and the first data transmission module 42 are used for the I / O data sending step: the master station 1 sends the data through the BLVDS interface, and the data is converted from parallel to serial.

[0180] In some embodiments, the receiving interface 5 includes a second control module 51 and a second data transmission module 52, and the second control module 51 includes a deframing module 511, a second sampling module 512, a second different device adaptation module 513, a serial-to-parallel conversion module 514, and a byte alignment module 515;

[0181] The receiving interface 5 is used to receive serial data and convert it into parallel data, including:

[0182] The second different device adaptation module 513, the serial-to-parallel conversion module 514, the second sampling module 512, and the second data transmission module 52 are used for the I / O data receiving step: the slave station 3 receives data through the BLVDS interface and converts the digital signal into an analog signal, at which time the data is converted from serial to parallel data including;

[0183] The second sampling module 512 and the byte alignment module 515 are used in the phase detection step: the master station 1 checks the phase of the received data;

[0184] The second sampling module 512 and the byte alignment module 515 are used in the byte alignment step: the master station 1 adjusts the received data so that the byte boundaries are aligned;

[0185] The de-framing module 511 is used for the de-framing step: decomposing the received data frame into separate data units to restore the original data packet;

[0186] The de-framing module 511 is used for the decoding step: the master station 1 restores the received data to the data packet in the original format.

[0187] Combined with Figure 1-Figure 3 , in some embodiments, a multi-node transmission device based on BLVDS level is also proposed, including a slave station 3 and a differential line 2 connected to the slave station 3;

[0188] The slave station 3 is configured to receive a data packet sent by the master station 1 and determine whether the data packet is a target data packet. If the data packet is a target data packet, the slave station 3 receives the data packet and sends a response data to the master station 1. If the data packet is not a target data packet, the data packet is discarded.

[0189] In some embodiments, the slave station 3 receives the data packet and sends response data to the master station 1, including: the slave station 3 determines whether the response data is generated by the slave station 3, if not, discards the response data, and if so, sends the response data to the master station 1.

[0190] Combined with Figure 6-7 In some embodiments, the slave station 3 includes a sending interface 4, and the slave station 3 receives the data packet and sends response data to the master station 1, including:

[0191] The transmission interface 4 is used to convert the parallel data to be transmitted into serial signals for transmission.

[0192] Combined with Figure 6-7 In some embodiments, the slave station 3 includes a receiving interface 5, and the slave station 3 receives the data packet and sends response data to the master station 1, including:

[0193] The receiving interface 5 is used to receive serial data and convert it into parallel data.

[0194] In some embodiments, the transmission interface 4 includes a first control module 41 and a first data transmission module 42, the first control module 41 includes a framing module 411, a first sampling module 412, a first different device adaptation module 413, and a parallel-to-serial conversion module 414415; the transmission interface 4 converts the parallel data to be transmitted into a serial signal for transmission, including:

[0195] The framing module 411 is used for the encoding step: the slave station 3 will encode the data packet to obtain the encoded data;

[0196] The framing module 411 is also used for the framing step: the slave station 3 packages the encoded data into data frames, and then converts the analog signal into a digital signal;

[0197] I / O data sending steps: Slave 3 sends data through the BLVDS interface, and the data is converted from parallel to serial.

[0198] Specifically, the encoding step: the master station 1 encodes the data packet to be sent to generate the encoded data. This process usually includes data formatting, checksum addition and other steps to ensure the integrity and accuracy of the data during transmission. The framing step: the encoded data is packaged into a data frame. This process includes adding a frame header, a frame tail, a synchronization signal, etc. to mark the start and end of the data packet. After that, the data is converted from an analog signal to a digital signal for transmission in a digital communication network. The I / O data sending step: the master station 1 sends the data through the BLVDS (low voltage differential signal) interface. At this time, the data is converted from parallel form to serial form to synchronize the decoding process of the receiving end.

[0199] In some embodiments, the receiving interface 5 includes a second control module 51 and a second data transmission module 52, the second control module 51 includes a deframing module 511, a second sampling module 512, a second different device adaptation module 513, a serial-to-parallel conversion module 514, and a byte alignment module 515; the receiving interface 5 is used to receive serial data and convert it into parallel data, including:

[0200] The second different device adaptation module 513, the serial-to-parallel conversion module 514, the second sampling module 512, and the second data transmission module 52 are used for the I / O data receiving step: the slave station 3 receives data through the BLVDS interface and converts the digital signal into an analog signal, at which time the data is converted from serial to parallel data including;

[0201] The second sampling module 512 and the byte alignment module 515 are used in the phase detection step: the slave station 3 checks the phase of the received data;

[0202] The second sampling module 512 and the byte alignment module 515 are used in the byte alignment step: adjusting the received data from the station 3 so that the byte boundaries are aligned;

[0203] The de-framing module 511 is used for the de-framing step: decomposing the received data frame into separate data units to restore the original data packet;

[0204] The de-framing module 511 is used for the decoding step: the slave station 3 restores the received data to the data packet in the original format.

[0205] In some embodiments, a three-state control module 6 connected to the sending interface 4 and the receiving interface 5 is also provided. The three-state control module 6 is used to isolate the signals between different devices when data packets or corresponding data are to be sent and received, so that the data flows only between the selected master station 1 and the slave station 3.

[0206] Specifically, when data packets or response data are to be sent and received, the system isolates the signals between different devices so that the data flow is limited to the selected master station 1 and slave station 3. Each node (master station 1 and slave station 3) verifies and screens the received and sent data packets to ensure that the data in the transmission process is valid and meaningful. This isolation mechanism prevents data packets from flowing between non-target devices, reduces signal interference and mistransmission, and ensures the security and accuracy of communication.

[0207] Although the embodiments of the present invention are described in detail above, it is obvious to those skilled in the art that various modifications and variations can be made to these embodiments. However, it should be understood that such modifications and variations are within the scope and spirit of the present invention as described in the claims. Moreover, the present invention described herein may have other embodiments and may be implemented or realized in a variety of ways.

Claims

1. A multi-node transmission method based on BLVDS level, characterized in that: include: The master station obtains the data packet to be sent; The master station determines whether the data packet is generated by the master station itself. If the data packet is generated by the master station itself, the master station sends the data packet to the slave station so that the slave station returns response data, and the master station obtains the response data. If the data packet is not generated by the master station itself, the data packet is discarded, wherein the slave station is set to N, and the master station sends the data packet to at least one of the N slave stations, and N is a positive integer.

2. The method according to claim 1, characterized in that The master station transmits information between different slave stations in a sequential manner or identifies the slave station number through address mapping to transmit information to a specified slave station.

3. The method according to claim 1, characterized in that The master station sends the data packet to the slave station including: Convert the parallel data to be sent into serial signals for transmission.

4. The method according to claim 1, characterized in that: The master station obtains the response data including: Converts received serial data into parallel data.

5. The method according to claim 3, characterized in that: Converting the parallel data to be sent into a serial signal includes: Encoding step: The master station will encode the data packet to obtain the encoded data; Framing step: The master station packages the encoded data into data frames and then converts the analog signal into a digital signal; I / O data sending steps: The master station sends data through the BLVDS interface, and the data is converted from parallel to serial.

6. The method according to claim 4, characterized in that The conversion of received serial data into parallel data includes: I / O data receiving steps: The slave receives data through the BLVDS interface and converts the digital signal into an analog signal. At this time, the data changes from serial to parallel data, including; Phase detection step: The master station checks the phase of the received data; Byte alignment step: The master adjusts the received data so that the byte boundaries are aligned; Deframing step: decompose the received data frame into individual data units and restore the original data packet; Decoding step: The master station restores the received data to the original format of the data packet.

7. A multi-node transmission method based on BLVDS level, characterized in that: include: The slave station receives the data packet sent by the master station and determines whether the data packet is the target data packet. If the data packet is the target data packet, the slave station receives the data packet and sends response data to the master station. If the data packet is not the target data packet, the slave station discards the data packet.

8. The method according to claim 7, characterized in that The slave station receives the data packet and sends response data to the master station, including: the slave station determines whether the response data is generated by the slave station, if not, discards the response data, and if so, sends the response data to the master station.

9. The method according to claim 7, characterized in that: The slave station receives the data packet and sends response data to the master station, including: Convert the parallel data to be sent into serial signals for transmission.

10. The method according to claim 7, characterized in that The slave station receives the data packet and sends response data to the master station, including: Converts received serial data into parallel data.

11. The method according to claim 9, characterized in that Converting the parallel data to be sent into a serial signal includes: Encoding step: The slave station will encode the data packet to obtain the encoded data; Framing step: The slave station packages the encoded data into data frames and then converts the analog signal into a digital signal; I / O data transmission steps: The slave sends data through the BLVDS interface, and the data is converted from parallel to serial.

12. The method according to claim 10, characterized in that The conversion of received serial data into parallel data includes: I / O data receiving steps: The slave receives data through the BLVDS interface and converts the digital signal into an analog signal. At this time, the data changes from serial to parallel data, including; Phase detection step: The slave checks the phase of the received data; Byte alignment step: The slave adjusts the received data so that the byte boundaries are aligned; Deframing step: decompose the received data frame into individual data units and restore the original data packet; Decoding step: The slave restores the received data to the original format of the data packet.

13. The method according to claim 1 or 7, characterized in that: When a data packet or response data is to be sent, the signals between different devices are isolated so that the data flows only between the selected master and slave.

14. A multi-node transmission device based on BLVDS level, characterized in that: It includes a master station and N differential lines connected to the master station, where N is a positive integer; The master station is configured to obtain a data packet to be sent by the master station; The master station determines whether the data packet is generated by the master station itself. If the data packet is generated by the master station itself, the master station sends the data packet to the slave station so that the slave station returns response data, and the master station obtains the response data. If the data packet is not generated by the master station itself, the data packet is discarded, wherein the slave station is set to N, and the master station sends the data packet to at least one of the N slave stations, and N is a positive integer.

15. The device according to claim 14, characterized in that The transmission interface includes a first control module and a first data transmission module, wherein the first control module includes a framing module, a first sampling module, a first different device adaptation module, and a parallel-to-serial conversion module; The transmission interface is used to convert the parallel data to be transmitted into a serial signal and transmit it, including: The framing module is used in the encoding step: the master station encodes the data packet to obtain the encoded data; The framing module is also used in the framing step: the master station packages the encoded data into data frames, and then converts the analog signal into a digital signal; The first different device adaptation module, the parallel-to-serial conversion module, and the first data transmission module are used for the I / O data sending step: the master station sends the data through the BLVDS interface, and the data is converted from parallel to serial.

16. The device according to claim 14, characterized in that The receiving interface includes a second control module and a second data transmission module, wherein the second control module includes a de-framing module, a second sampling module, a second different device adaptation module, a serial-to-parallel conversion module, and a byte alignment module; The receiving interface is used to receive serial data and convert it into parallel data, including: The second different device adaptation module, the serial-to-parallel conversion module, the second sampling module, and the second data transmission module are used for the I / O data receiving step: the slave station receives data through the BLVDS interface and converts the digital signal into an analog signal, and at this time, the data is converted from serial to parallel data, including; The second sampling module and the byte alignment module are used in the phase detection step: the master station checks the phase of the received data; The second sampling module and the byte alignment module are used in the byte alignment step: the master station adjusts the received data so that the byte boundaries are aligned; The de-framing module is used for the de-framing step: decomposing the received data frame into separate data units to restore the original data packet; The deframing module is used for the decoding step: the master station restores the received data to a data packet in an original format.

17. A multi-node transmission device based on BLVDS level, characterized in that: It includes a slave station and a differential line connected to the slave station; The slave station is configured to receive a data packet sent by the master station and determine whether the data packet is a target data packet. If the data packet is a target data packet, the slave station receives the data packet and sends response data to the master station. If the data packet is not a target data packet, the data packet is discarded.

18. The device according to claim 17, characterized in that The transmission interface includes a first control module and a first data transmission module, wherein the first control module includes a framing module, a first sampling module, a first different device adaptation module, and a parallel-to-serial conversion module; The sending interface converts the parallel data to be sent into a serial signal and sends it as follows: The framing module is used in the encoding step: the slave station encodes the data packet to obtain the encoded data; The framing module is also used in the framing step: the slave station packages the encoded data into data frames, and then converts the analog signal into a digital signal; I / O data transmission steps: The slave sends data through the BLVDS interface, and the data is converted from parallel to serial.

19. The device according to claim 17, characterized in that The receiving interface 5 includes a second control module and a second data transmission module, and the second control module includes a deframing module, a second sampling module, a second different device adaptation module, a serial-to-parallel conversion module, and a byte alignment module; The receiving interface 5 is used to receive serial data and convert it into parallel data, including: The second different device adaptation module, the serial-to-parallel conversion module, the second sampling module, and the second data transmission module are used for the I / O data receiving step: the slave station receives data through the BLVDS interface and converts the digital signal into an analog signal, and at this time, the data is converted from serial to parallel data, including; The second sampling module and the byte alignment module are used in the phase detection step: the slave station checks the phase of the received data; The second sampling module and the byte alignment module are used in the byte alignment step: the slave station adjusts the received data so that the byte boundaries are aligned; The de-framing module is used for the de-framing step: decomposing the received data frame into separate data units to restore the original data packet; The deframing module is used for the decoding step: the slave station restores the received data to a data packet in an original format.

20. The device according to claim 14 or 17, characterized in that A three-state control module is also provided, and the three-state control module is used to isolate the signals between different devices when data packets or corresponding data are to be sent and received, so that the data flows only between the selected master station and slave station.