Data interaction system and method
By adopting SRIO protocol and dynamic routing table configuration technology in the data interaction system, the problems of data congestion and delay in high concurrent data transmission are solved, and high-speed, stable and reliable data transmission efficiency is achieved.
Patent Information
- Application Number
- CN202510076706.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-05-30
AI Technical Summary
The prior art has data congestion and delay in the case of high concurrent data transmission, which affects the efficiency of data transmission and is difficult to meet the needs of high-speed data transmission.
A data interaction system and method is adopted, including processor module, bridge module, network management module, server and slave. Data transmission is carried out through the SRIO protocol and routing tables are dynamically configured to ensure stable and efficient data transmission.
It improves the efficiency of data transmission, ensures data integrity and reliability, reduces the probability of data congestion, and improves the reliability and stability of the system.
Smart Images

Figure CN120075238A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data interaction. Specifically, the present invention relates to a data interaction system and method. Background Art
[0002] With the development of the times, communication systems are evolving towards larger scales and higher data transmission frequencies. In the case of high-concurrency data transmission, there are often phenomena of data congestion and latency, which affect the efficiency of data transmission and cause economic losses.
[0003] Chinese Patent 1996855A discloses a method for maintaining data consistency in online data interaction. The online data interaction involves a client, an interaction platform, and a server. The method includes: submitting a data interaction request through the client to trigger the interaction platform to generate a uniquely corresponding interaction sequence number and notify the server; the server completes data processing and returns the result, and the interaction platform synchronously records the interaction process information in a first information table; if the data interaction fails, a rollback operation request is initiated, and the interaction platform records the rollback operation information in a second information table and returns an interaction end message to the client; the interaction platform connects to the server to complete the rollback operation according to the second information table.
[0004] The data transmission efficiency of the prior art is low and it is difficult to meet the current demand for high-speed data transmission. Summary of the Invention
[0005] The present invention aims to provide a data interaction system and method to improve the efficiency of data transmission.
[0006] To achieve the above object, the technical solution adopted by the present invention is as follows:
[0007] The present invention provides a data interaction system, including a processor module, a bridging module, a network management module, a server, and a slave device. The processor module is connected to the network management module, the processor module is connected to the bridging module, the bridging module is connected to the network management module, the network management module is connected to the slave device, and the processor module is connected to the server.
[0008] The network management module inputs the status information of the slave device into the processor module, the processor module outputs routing table configuration information to the network management module, the processor module outputs data to the network management module through the bridging module, the slave device outputs data to the network management module, the network management module outputs data to the processor module through the bridging module, the network management module outputs data to the slave device, the processor module outputs stored data to the server, and the server outputs data to the processor module.
[0009] The processor module uses a processor chip.
[0010] The bridging module uses a data transmission bridging chip.
[0011] The network management module uses a switching chip.
[0012] There are at least two slave devices.
[0013] The present invention provides a data interaction method:
[0014] Step 1: The processor module configures the routing table of the network management module.
[0015] Step 2: The network management module outputs the received data to the target device according to the routing table configured by the processor module.
[0016] Step 3: When the processor module receives data, the processor module stores the data and uploads the stored data to the server.
[0017] In Step 1, the processor module detects the status of the slave devices through the network management module, updates the routing table according to the status of the slave devices, and configures it to the network management module.
[0018] In Step 3, the processor module performs data interaction with the network management module through the bridging module.
[0019] The technical effects of the present invention are as follows:
[0020] (1) The data interaction of the present invention is based on the SRIO protocol, which improves the efficiency of data transmission. At the same time, the routing table is dynamically configured, further improving the efficiency of data transmission.
[0021] (2) When the processor module receives data, the processor module stores the data in the form of a file to ensure the integrity and reliability of the data.
[0022] (3) In the present invention, the processor module transmits data to the server through the TCP / IP protocol, ensuring stable and efficient data transmission.
[0023] (4) The Loongson 2K0500 processor chip adopted by the present invention can quickly store the received data, improving the efficiency of data processing.
[0024] (5) In the present invention, the processor module monitors the slave devices through the network management module, and dynamically adjusts the routing table according to the disconnection or failure of the slave devices, improving the reliability and stability of the system.
[0025] (6) The present invention processes data through the server, improving the efficiency of data processing and reducing the time for processing data. Description of the Drawings
[0026] This specification includes the following attached drawings, the contents shown are respectively:
[0027] Figure 1 It is a logical structure block diagram of a data interaction system and method of the present invention;
[0028] Figure 1 Marked in it as: 1. Processor module; 2. Bridging module; 3. Network management module; 4. Server; 5. Slave machine. Detailed implementation manners
[0029] The following is a more detailed description of the specific implementation manners of the present invention by describing the embodiments with reference to the attached drawings, aiming to help those skilled in the art have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention, and contribute to its implementation.
[0030] The present invention provides a data interaction system, including a processor module 1, a bridging module 2, a network management module 3, a server 4 and a slave machine 5. The processor module 1 is connected to the network management module 3, the processor module 1 is connected to the bridging module 2, the bridging module 2 is connected to the network management module 3, the network management module 3 is connected to the slave machine 5, and the processor module 1 is connected to the server 4.
[0031] The network management module 3 inputs the status information of the slave machine 5 to the processor module 1, the processor module 1 outputs routing table configuration information to the network management module 3, the processor module 1 outputs data to the network management module 3 through the bridging module 2, the slave machine 5 outputs data to the network management module 3, the network management module 3 outputs data to the processor module 1 through the bridging module 2, the network management module 3 outputs data to the slave machine 5, the processor module 1 outputs stored data to the server 4, and the server 4 outputs data to the processor module 1.
[0032] The processor module 1 uses a processor chip. The bridging module 2 uses a data transmission bridging chip. The network management module 3 uses a switching chip. There are at least two slave machines 5.
[0033] The present invention provides a data interaction method:
[0034] Step 1: The processor module 1 configures the routing table of the network management module 3.
[0035] Step 2: The network management module 3 outputs the received data to the target device according to the routing table configured by the processor module 1.
[0036] Step 3: When the processor module 1 receives data, the processor module 1 stores the data and uploads the stored data to the server 4.
[0037] In step 1, the processor module 1 detects the status of the slave 5 through the network management module 3, updates the routing table according to the status of the slave 5, and configures it to the network management module 3.
[0038] In step 3, the processor module 1 conducts data interaction with the network management module 3 through the bridging module 2.
[0039] The following details a data interaction system and method of the present invention.
[0040] A data interaction system of the present invention includes a processor module 1, a bridging module 2, a network management module 3, a server 4, and a slave 5. The processor module 1 is used to configure the routing table to the network management module 3 in real time. The configuration of the routing table in the present invention is adjusted according to the actual situation. When the slave 5 fails, the slave 5 disconnects from the network management module 3, or when a new slave 5 accesses the network management module 3, the processor module 1 updates the routing table through dynamic routing technology and configures it to the network management module 3. When the processor module 1 receives data, it stores the data in the form of a file to ensure the integrity and reliability of the data, and uploads the file storing the data to the server 4. The processor module 1 in the present invention conducts data transmission with the server 4 through the TCP / IP protocol, ensuring stable and efficient data transmission. The processor module 1 in the present invention uses a processor chip, and the specific model of the processor chip is Loongson 2K0500. The Loongson 2K0500 processor chip adopted by the present invention can quickly store the received data, improving the efficiency of data processing.
[0041] The bridging module 2 is used for high-speed data transmission between two different interface devices of the processor module 1 and the network management module 3. The processor module 1 in the present invention utilizes the high-bandwidth transmission ability of the network management module 3 based on the SRIO protocol and the ability to support multi-channel parallel data exchange to reduce the probability of data congestion in high-concurrency scenarios and ensure the real-time nature of data transmission. The bridging module 2 in the present invention uses a data transmission bridging chip, and the specific model of the data transmission bridging chip is PRB0400.
[0042] The network management module 3 is used for the communication between the processor module 1 and the slave machines 5 and among the slave machines 5. According to the configuration of the routing table, the network management module 3 efficiently transmits data to the target device. The network management module 3 uses a switching chip, and the specific model of the switching chip is NMS1800. The network management module 3 in the present invention is based on the SRIO protocol and can achieve high-speed data transmission among multiple nodes, improving the communication efficiency of the system. The network management module 3 detects the status of the slave machines 5. When a slave machine 5 fails, disconnects from the connection, or a new slave machine 5 is accessed, the network management module 3 transmits the status information of the slave machine 5 to the processor module 1 for the processor module 1 to update the routing table. In the present invention, the processor module 1 monitors the slave machines 5 through the network management module 3 and dynamically adjusts the routing table according to the disconnection, access, or failure conditions of the slave machines 5, improving the reliability and stability of the system.
[0043] The server 4 is used for receiving the data uploaded by the processor module 1 and processing the data. By processing the data through the server 4 in the present invention, the efficiency of data processing is improved and the time for processing data is reduced.
[0044] The slave machines 5 are used for receiving the data input by the network management module 3 or sending data to the target device through the network management module 3, and simultaneously processing the received data. There are at least two slave machines 5 in the present invention. The slave machines 5 in the embodiments of the present invention adopt the TMS320C6678 DSP of Texas Instruments and support high-speed SRIO interface communication.
[0045] The processor module 1 is connected to the bridging module 2, the bridging module 2 is connected to the network management module 3, the network management module 3 is respectively connected to multiple slave machines 5, the processor module 1 and the network management module 3 are connected through the I2C bus, and the processor module 1 communicates with the server 4 through Ethernet.
[0046] A data interaction method of the present invention is as follows:
[0047] The processor module 1 configures the routing table of the network management module 3. The communication between the processor module 1 and the slave machines 5 and among the slave machines 5 in the present invention is based on the network management module 3. It should be noted that the processor module 1 detects the status of the slave machines 5 in real time through the network management module 3. When a slave machine 5 fails, disconnects from the network management module 3, or a new slave machine 5 is accessed, the processor updates the routing table through dynamic routing technology and configures it to the network management module 3.
[0048] The network management module 3 outputs the received data to the target device according to the routing table configured by the processor module 1. In the present invention, the target device is the processor module 1 or the slave 5. When the network management module 3 outputs data to the processor module 1, it passes through the bridging module 2. When the target device receives the data, it will verify the integrity of the data by the checksum method. Specifically, the device sending the data will divide the data to be transmitted into several segments of a fixed length, then perform a summation operation on these segments, and append the calculation result as the checksum to the data. After receiving the data, the target device also performs a summation operation on the data and compares the calculation result with the received checksum. If the two are the same, it means that the data has not been in error during transmission; otherwise, it means that the data may have been tampered with or damaged. The device sending the data is the processor module 1 or the slave 5. The present invention ensures the integrity of data transmission by verifying the transmitted data.
[0049] When the processor module 1 receives the data, the processor module 1 stores the data and uploads the stored data to the server 4. Specifically, the processor module 1 receives the data input by the network management module 3 through the bridging module 2, stores the data in the form of a file, and then transmits the data in the form of a file to the server 4 through the TCP / IP protocol. The server 4 processes the data and inputs it to the processor module 1. The processor module 1 transmits the data through the bridging module 2 and then through the network management module 3 to the slave 5.
[0050] The data interaction of the present invention is based on the SRIO protocol, which improves the efficiency of data transmission. At the same time, the routing table is dynamically configured to further improve the efficiency of data transmission.
[0051] The present invention has been described exemplarily in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited by the above methods. As long as various non-substantive improvements are made by adopting the method concept and technical solution of the present invention; or without improvement, the above concept and technical solution of the present invention are directly applied to other occasions, they are all within the protection scope of the present invention.
Claims
1. A data interaction system, characterized in that: It includes a processor module, a bridge module, a network management module, a server and a slave machine, wherein the processor module is connected to the network management module, the processor module is connected to the bridge module, the bridge module is connected to the network management module, the network management module is connected to the slave machine, and the processor module is connected to the server.
2. A data interaction system as claimed in claim 1, characterized in that: The network management module inputs the status information of the slave machine to the processor module, the processor module outputs the routing table configuration information to the network management module, the processor module outputs data to the network management module through the bridge module, the slave machine outputs data to the network management module, the network management module outputs data to the processor module through the bridge module, the network management module outputs data to the slave machine, the processor module outputs the stored data to the server, and the server outputs data to the processor module.
3. A data interaction system as claimed in claim 1, characterized in that: The processor module adopts a processor chip.
4. A data interaction system as claimed in claim 1, characterized in that: The bridge module adopts a data transmission bridge chip.
5. A data interaction system as claimed in claim 1, characterized in that: The network management module adopts a switching chip.
6. A data interaction system as claimed in claim 1, characterized in that: There are at least two slave machines.
7. A data interaction method according to any one of claims 1 to 6, characterized in that: Step 1: The processor module configures the routing table of the network management module; Step 2: The network management module outputs the received data to the target device according to the routing table configured by the processor module; Step 3: When the processor module receives the data, the processor module stores the data and uploads the stored data to the server.
8. A data interaction method according to claim 7, characterized in that: In step 1, the processor module detects the state of the slave through the network management module, updates the routing table according to the state of the slave and configures it to the network management module.
9. A data interaction method according to claim 7, characterized in that: In step three, the processor module exchanges data with the network management module through the bridge module.
Citation Information
Patent Citations
A method and system for keeping data consistency
CN1996855A