Efficient data transmission method and system based on soft bus
By defining the topology structure and communication protocol of the soft bus in the Internet of Things system, combined with data transmission parameters, the problem of poor data transmission stability of the hardware bus in the Internet of Things is solved, efficient and flexible data transmission is achieved, and system costs and Complexity.
Patent Information
- Application Number
- CN202410517480.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2024-09-06
AI Technical Summary
In IoT scenarios, the stability of data transmission is poor, and the hardware bus is prone to failure, resulting in low data transmission efficiency and high cost.
Adopting an efficient data transmission method based on soft bus, by defining the topology structure and communication protocol of the soft bus, combined with data transmission parameters such as transmission rate and error detection strategy, flexible configuration and management of data transmission can be achieved.
It improves the efficiency and reliability of data transmission, reduces system costs and maintenance difficulty, and adapts to the needs of different application scenarios.
Smart Images

Figure CN118612007A
Abstract
Description
Technical Field
[0001] The invention proposes a high-efficiency data transmission method and system based on a soft bus, belonging to the technical field of data transmission. Background Art
[0002] Data transmission is very important in the IoT scenario, so data transmission security is very necessary. At present, data transmission is usually achieved using a hardware bus, but there are some problems with the hardware bus. First, the bandwidth of the hardware bus is limited and cannot meet the needs of high-speed data transmission. Second, the connection of the hardware bus is complex, requiring a large number of physical lines and connection devices, which increases the cost and complexity of the system. In addition, there is a certain risk in the stability of the hardware bus. Once a failure occurs, the data transmission of the entire system will be seriously affected. Summary of the invention
[0003] The present invention provides an efficient data transmission method and system based on a soft bus, which is used to solve the problems that the existing Internet of Things data transmission system is relatively complex and prone to failure, resulting in poor data transmission stability and high risk of operation failure. The technical solutions adopted are as follows:
[0004] An efficient data transmission method based on a soft bus, the efficient data transmission method based on a soft bus comprising:
[0005] Defining a topological structure of a soft bus in a system where the soft bus is located, wherein the topological structure includes the number of bus nodes and a connection mode between each bus node;
[0006] Determining the communication protocol and data transmission parameters of the soft bus according to the topological structure of the soft bus, wherein the data transmission parameters include the format, transmission rate and error detection strategy of data transmission;
[0007] Deploy the soft bus using the topology structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus;
[0008] The soft bus is used to perform data transmission operations on the data in the system where the soft bus is located.
[0009] Furthermore, a topological structure of the soft bus is defined in the system where the soft bus is located, and the topological structure includes the number of bus nodes and the connection mode between each bus node, including:
[0010] Scanning the system where the soft bus is located, and extracting data transmission requirement information of the system where the soft bus is located;
[0011] Determine the number of bus nodes of the soft bus according to the data transmission requirement information of the system where the soft bus is located;
[0012] The connection mode between each bus node is determined according to the data transmission requirement information of the system where the soft bus is located and the number of bus nodes of the soft bus.
[0013] Further, determining the communication protocol and data transmission parameters of the soft bus according to the topological structure of the soft bus includes:
[0014] Extracting the topological structure of the soft bus;
[0015] Extracting data transmission requirement information of the soft bus;
[0016] Determining the communication protocol of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0017] Determining the data transmission format of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0018] Determine the transmission rate of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0019] An error detection strategy for the soft bus is determined according to the topological structure of the soft bus and data transmission requirement information.
[0020] Furthermore, the error detection strategy includes:
[0021] Extracting data transmission requirement information of the soft bus;
[0022] Acquire the data transmission detection time interval specified in the data transmission requirement information through the data transmission requirement information;
[0023] Acquire a basic time interval by using the data transmission detection time interval;
[0024] Extracting the total number of bus nodes of the soft bus;
[0025] A reference quantity parameter is set according to the total quantity of the bus nodes, wherein the reference quantity parameter is as follows:
[0026] M=int[P×N]×e p
[0027] Wherein, M represents a reference quantity parameter; int[] represents an upward rounding function; P represents a proportional coefficient, and its value range is 0.38-0.47; N represents the total number of bus nodes of the soft bus; e represents a constant, and its value is 2.71;
[0028] Setting the error detection time interval of the soft bus using the basic time interval and the reference quantity parameter;
[0029] The error detection time interval is obtained by the following formula:
[0030] T=(1+e P×(M-N) +M / N)×T 0
[0031] Where T represents the error detection time interval; T 0 Indicates the base time interval.
[0032] Further, the soft bus is deployed using the topology structure, communication protocol and data transmission parameters of the soft bus, including:
[0033] Extracting the topological structure of the soft bus;
[0034] Extracting the communication protocol and data transmission parameters of the soft bus;
[0035] The soft bus is deployed according to the topological structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus.
[0036] A high-efficiency data transmission system based on a soft bus, the high-efficiency data transmission system based on a soft bus comprising:
[0037] A topology determination module, used to define a topology structure of a soft bus in a system where the soft bus is located, wherein the topology structure includes the number of bus nodes and a connection mode between each bus node;
[0038] A parameter determination module, used to determine the communication protocol and data transmission parameters of the soft bus according to the topological structure of the soft bus, wherein the data transmission parameters include the format of data transmission, the transmission rate and the error detection strategy;
[0039] A bus deployment module, used to deploy the soft bus using the topology structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus;
[0040] The data transmission execution module is used to use the soft bus to perform data transmission operations on the data in the system where the soft bus is located.
[0041] Furthermore, the topology determination module includes:
[0042] A data transmission requirement information extraction module, used to scan the system where the soft bus is located, and extract the data transmission requirement information of the system where the soft bus is located;
[0043] A bus node quantity determination module, used to determine the number of bus nodes of the soft bus according to data transmission requirement information of the system where the soft bus is located;
[0044] The connection mode determination module is used to determine the connection mode between each bus node according to the data transmission requirement information of the system where the soft bus is located and the number of bus nodes of the soft bus.
[0045] Furthermore, the parameter determination module includes:
[0046] A topology structure information extraction module, used to extract the topology structure of the soft bus;
[0047] A data transmission requirement information extraction module, used to extract the data transmission requirement information of the soft bus;
[0048] A communication protocol determination module, used to determine the communication protocol of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0049] A data transmission format determination module, used to determine the data transmission format of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0050] A transmission rate determination module, used to determine the transmission rate of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0051] The error detection strategy determination module is used to determine the error detection strategy of the soft bus according to the topological structure of the soft bus and the data transmission requirement information.
[0052] Furthermore, the error detection strategy includes:
[0053] Extracting data transmission requirement information of the soft bus;
[0054] Acquire the data transmission detection time interval specified in the data transmission requirement information through the data transmission requirement information;
[0055] Acquire a basic time interval by using the data transmission detection time interval;
[0056] Extracting the total number of bus nodes of the soft bus;
[0057] A reference quantity parameter is set according to the total quantity of the bus nodes, wherein the reference quantity parameter is as follows:
[0058] M=int[P×N]×e p
[0059] Wherein, M represents a reference quantity parameter; int[] represents an upward rounding function; P represents a proportional coefficient, and its value range is 0.38-0.47; N represents the total number of bus nodes of the soft bus; e represents a constant, and its value is 2.71;
[0060] Setting the error detection time interval of the soft bus using the basic time interval and the reference quantity parameter;
[0061] The error detection time interval is obtained by the following formula:
[0062] T=(1+e P×(M-N) +M / N)×T 0
[0063] Where T represents the error detection time interval; T 0 Indicates the base time interval.
[0064] Furthermore, the bus deployment module includes:
[0065] A first information extraction module, used to extract the topological structure of the soft bus;
[0066] A second information extraction module, used to extract the communication protocol and data transmission parameters of the soft bus;
[0067] The deployment execution module is used to deploy the soft bus according to the topological structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus.
[0068] Beneficial effects of the present invention:
[0069] The present invention proposes an efficient data transmission method and system based on a soft bus. The software-defined network technology is used to abstract the control logic of data transmission from the hardware, and the control and management of data transmission are realized by software. By means of the soft bus, the efficiency and speed of data transmission can be improved to meet the needs of high-speed data transmission. The topology of the soft bus can be flexibly configured according to specific application scenarios to meet different system requirements. The nodes of the soft bus can be added or deleted as needed, which is convenient for the expansion and maintenance of the system. Compared with the hardware bus, the soft bus reduces the demand for physical lines and connection devices, and reduces the cost and maintenance difficulty of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 is a flow chart of the method of the present invention;
[0071] Figure 2 The system block diagram of the system of the present invention. DETAILED DESCRIPTION
[0072] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0073] The embodiment of the present invention proposes an efficient data transmission method based on a soft bus, such as Figure 1 As shown, the efficient data transmission method based on the soft bus includes:
[0074] S1. defining a topological structure of a soft bus in a system where the soft bus is located, wherein the topological structure includes the number of bus nodes and a connection mode between each bus node;
[0075] S2, determining the communication protocol and data transmission parameters of the soft bus according to the topological structure of the soft bus, wherein the data transmission parameters include the format, transmission rate and error detection strategy of data transmission;
[0076] S3, deploying the soft bus using the topology structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus;
[0077] S4. Using the soft bus, perform data transmission operations on the data in the system where the soft bus is located.
[0078] The working principle of the above technical solution is as follows: define the topology of the soft bus (S1): first, the soft bus system needs to define the topology of the soft bus according to the application requirements and system architecture, which includes determining the number of bus nodes and the connection method between each bus node. This step involves determining the connection method between various components in the system, for example, a star connection, a bus connection, or other topology.
[0079] Determine the communication protocol and data transmission parameters (S2): Once the topology is defined, the communication protocol and data transmission parameters of the soft bus need to be determined. The communication protocol defines how nodes communicate and transmit data, while the data transmission parameters include the format of data transmission (such as binary, text, etc.), transmission rate (data transmission speed) and error detection strategy (used to detect and handle errors in data transmission). This step ensures that each node in the system can communicate in a consistent manner.
[0080] Deploy the soft bus (S3): Once the communication protocol and data transmission parameters are determined, the system administrator or engineer can start to deploy the soft bus. This includes configuring the bus nodes in the system, ensuring that they are connected according to the topology, and configuring the nodes for data transmission according to the communication protocol. The deployment process usually includes hardware and software configuration to ensure that the bus nodes can work properly.
[0081] Performing data transmission operations (S4): Once the soft bus is successfully deployed, the various nodes in the system can start using it to perform data transmission operations. This can include transmitting real-time data, configuration files, commands, etc. Data transmission can be unidirectional or bidirectional, depending on system requirements. The soft bus ensures reliable data transmission by using defined communication protocols and data transmission parameters.
[0082] The effects of the above technical solution are: Unified communication mode: By defining the topology, communication protocol and data transmission parameters, the soft bus provides a unified communication mode, so that each node in the system can communicate in a consistent manner.
[0083] Flexibility: The technical solution is flexible because it can be configured and customized according to specific application requirements and system architecture. This means that different soft bus topologies and communication protocols can be defined according to different application scenarios.
[0084] Reliability: By using error detection strategies and data transmission parameters, the soft bus helps ensure the reliability of data transmission and reduces the possibility of communication errors.
[0085] Simplified management: Once the softbus is deployed, system management becomes much simpler because it provides a way to centrally manage and control data transfer in the system.
[0086] In general, this technical solution helps to build a soft bus system with consistency, reliability and flexibility, which is suitable for various application fields such as industrial automation, Internet of Things, communication systems, etc.
[0087] In one embodiment of the present invention, a topology structure of a soft bus is defined in a system where the soft bus is located, wherein the topology structure includes the number of bus nodes and the connection mode between each bus node, including:
[0088] S101, scanning the system where the soft bus is located, and extracting data transmission requirement information of the system where the soft bus is located;
[0089] S102, determining the number of bus nodes of the soft bus according to data transmission requirement information of the system where the soft bus is located;
[0090] S103, determining the connection mode between each bus node according to the data transmission requirement information of the system where the soft bus is located and the number of bus nodes of the soft bus.
[0091] The working principle of the above technical solution is as follows: Scan the system and extract data transmission requirement information (S101): First, the system scans the system to understand the data transmission requirements between various components or nodes in the system. This may involve understanding which components need to communicate with each other, the frequency of data transmission, the nature of data transmission (real-time, batch processing, etc.), and the capacity requirements of data transmission.
[0092] Determine the number of bus nodes (S102): According to the data transmission requirement information extracted from the system, determine how many bus nodes are needed to meet these requirements. Bus nodes are core components in the soft bus topology, which are used to connect various system components and perform data transmission.
[0093] Determine the connection mode between bus nodes (S103): Combine the determined number of bus nodes and the data transmission requirement information to determine the connection mode between each bus node. This includes defining the physical or logical connection topology between nodes, for example, star, bus, ring, tree or mixed topology.
[0094] The effects of the above technical solution are: Optimizing data transmission: This technical solution helps to optimize the design of the soft bus by extracting the data transmission requirement information of the system, ensuring that it can meet the data transmission requirements between various components in the system, thereby improving the efficiency of data transmission.
[0095] Reduce resource waste: Determining the number of bus nodes based on actual needs helps reduce the waste of system resources. Not requiring too many bus nodes can reduce costs and resource usage.
[0096] Improve system performance: When determining how bus nodes are connected to each other, you can optimize data transmission paths, thereby improving system performance and responsiveness.
[0097] Flexibility: Since the topology is defined based on data transmission demand information, this technical solution is flexible in dealing with different application scenarios and can be adjusted and customized according to specific needs.
[0098] In general, this technical solution helps to ensure that the soft bus system can meet the data transmission requirements between various components in the system, improves the performance and efficiency of the system, and reduces resource waste.
[0099] In one embodiment of the present invention, determining the communication protocol and data transmission parameters of the soft bus according to the topological structure of the soft bus includes:
[0100] S201, extracting the topological structure of the soft bus;
[0101] S202, extracting data transmission requirement information of the soft bus;
[0102] S203, determining the communication protocol of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0103] S204, determining a data transmission format of the soft bus according to the topological structure of the soft bus and data transmission requirement information;
[0104] S205, determining the transmission rate of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0105] S206: Determine an error detection strategy for the soft bus according to the topological structure of the soft bus and data transmission requirement information.
[0106] The working principle of the above technical solution is: Extract the topology of the soft bus (S201): First, the system extracts the topology of the defined soft bus, which includes the number of bus nodes and the connection method between the nodes, such as star, bus, ring, etc.
[0107] Extracting data transmission requirement information (S202): The system also extracts data transmission requirement information related to the soft bus, which may include the nature of data transmission (real-time, batch processing, etc.), transmission capacity requirements, transmission distance requirements, etc.
[0108] Determine the communication protocol (S203): Based on the extracted topology and data transmission requirement information, the system will determine the applicable communication protocol. The communication protocol defines how data is transmitted on the soft bus, including communication rules, data packet format, data transmission method, etc.
[0109] Determine the data transmission format (S204): According to the topology structure and the data transmission requirement information, determine the data transmission format, including the structure of the data packet, the data encoding method, etc. This ensures that the data can be correctly interpreted and processed during the transmission process.
[0110] Determine the transmission rate (S205): Determine the data transmission rate according to the topology structure and the data transmission requirement information. The transmission rate indicates the amount of data that can be transmitted per unit time, and it may vary according to the data transmission requirement.
[0111] Determine an error detection strategy (S206): The system also determines an error detection strategy based on the topology structure and the data transmission requirement information, including methods for detecting and correcting errors that may occur during the transmission process.
[0112] The effects of the above technical solution are: Customized communication: This technical solution allows the selection of communication protocols and parameters based on the specific soft bus topology and data transmission requirements to meet the specific needs of the system.
[0113] Optimal performance: By determining the transmission rate and error detection strategy based on the topology and requirements, the best performance and reliability can be achieved.
[0114] Data transmission reliability: Determining the data transmission format and error detection strategy helps ensure the reliability of data transmission and reduce errors in data transmission.
[0115] Reduce costs: Through customized communication protocols and parameters, unnecessary waste of resources can be avoided, thereby reducing the overall cost of the system.
[0116] In general, the technical solution helps to configure the communication protocol and parameters according to the specific requirements and the topology of the soft bus, thereby achieving efficient, reliable and customized data transmission.
[0117] In one embodiment of the present invention, the error detection strategy includes:
[0118] Extracting data transmission requirement information of the soft bus;
[0119] Acquire the data transmission detection time interval specified in the data transmission requirement information through the data transmission requirement information;
[0120] Acquire a basic time interval by using the data transmission detection time interval;
[0121] Extracting the total number of bus nodes of the soft bus;
[0122] A reference quantity parameter is set according to the total quantity of the bus nodes, wherein the reference quantity parameter is as follows:
[0123] M=int[P×N]×e p
[0124] Wherein, M represents a reference quantity parameter; int[] represents an upward rounding function; P represents a proportional coefficient, and its value range is 0.38-0.47; N represents the total number of bus nodes of the soft bus; e represents a constant, and its value is 2.71;
[0125] Setting the error detection time interval of the soft bus using the basic time interval and the reference quantity parameter;
[0126] The error detection time interval is obtained by the following formula:
[0127] T=(1+e P×(M-N) +M / N)×T 0
[0128] Where T represents the error detection time interval; T 0 Indicates the base time interval.
[0129] The step of acquiring the basic time interval by using the data transmission detection time interval includes:
[0130] Extracting the data transmission detection time interval from the data transmission requirement information;
[0131] Extracting the transmission rate of the soft bus and the amount of data generated per unit time of each bus node from the data transmission requirement information;
[0132] The time interval adjustment coefficient is obtained according to the transmission rate of the soft bus and the amount of data generated per unit time of each bus node, wherein the time interval adjustment coefficient is obtained by the following formula:
[0133]
[0134] Where k represents the time interval adjustment coefficient; V b Represents the standard deviation of the data transmission rate corresponding to all bus nodes; V max and V min Respectively represent the maximum data transmission rate and the minimum data transmission rate in all bus nodes; K 01 and K 02 Respectively represent the first adjustment coefficient parameter and the second adjustment coefficient parameter; and the first adjustment coefficient parameter and the second adjustment coefficient parameter are obtained by the following formula:
[0135]
[0136]
[0137] Among them, C i represents the average amount of data generated per unit time by the i-th bus node; C p Represents the average value of the total data volume generated per unit time of all bus nodes; V i represents the average data transmission rate of the ith bus node; V d Indicates the minimum data transmission rate required for stable operation of the system;
[0138] The basic time interval is obtained by combining the time interval adjustment coefficient with the data transmission detection time interval, wherein the basic time interval is obtained by the following formula:
[0139]
[0140] Among them, T 0 Indicates the basic time interval; T g Indicates the data transmission detection time interval; f 01 and f 02 represent the first adjustment coefficient and the second adjustment coefficient respectively; and the first adjustment coefficient and the second adjustment coefficient are obtained by the following formula:
[0141]
[0142]
[0143] Among them, D i represents the throughput of the i-th bus node; D d represents the average throughput of all bus nodes; P di ΔP represents the maximum throughput floating ratio allowed by the i-th bus node; i It represents the throughput fluctuation rate corresponding to the change of one unit rate of the data transmission rate of the i-th bus node;
[0144] The working principle of the above technical solution is: extracting the data transmission demand information of the soft bus: first, the system will extract the data transmission demand information related to the soft bus, which includes the nature of data transmission, capacity requirements, transmission distance, etc.
[0145] Get the data transmission detection time interval specified by the data transmission requirement information: Based on the extracted data transmission requirement information, the system will determine the detection time interval required for data transmission. This time interval is specified according to the data transmission requirement and is used to detect whether errors occur in the transmission or meet the real-time requirements.
[0146] Use the data transmission detection interval as the basic interval: The system uses the data transmission detection interval obtained in the previous step as the basic interval.
[0147] Extract the total number of bus nodes of the soft bus: The system also extracts the total number of bus nodes of the soft bus, which are the physical components of the soft bus that communicate and transfer data between each other.
[0148] Set the reference quantity parameter: Set the reference quantity parameter M according to the total number of bus nodes and some constants (proportional coefficient P and constant e). This parameter is used for subsequent calculations.
[0149] Using the basic time interval and the benchmark number parameter to set the soft bus error detection time interval: Through the above basic time interval, benchmark number parameter M and some calculation formulas, the system calculates the soft bus error detection time interval. This time interval is used to detect and handle errors during data transmission.
[0150] At the same time, the data transmission detection time interval is extracted from the data transmission demand information. The transmission rate of the soft bus and the amount of data generated per unit time of each bus node are extracted. The time interval adjustment coefficient is calculated based on the transmission rate of the soft bus and the amount of data generated per unit time of each bus node using a given formula. The coefficient takes into account the standard deviation of the data transmission rate of all bus nodes, the maximum and minimum data transmission rates, and the first and second adjustment coefficient parameters obtained by a specific formula. At the same time, the basic time interval is calculated by a specific formula using the time interval adjustment coefficient and the data transmission detection time interval. In the calculation process, the first adjustment coefficient and the second adjustment coefficient are also involved. These two coefficients are related to the throughput of each bus node, the throughput average, the maximum throughput floating ratio allowed, and the throughput floating rate corresponding to the change in data transmission rate.
[0151] The effects of the above technical solution are: Adaptability: This technical solution allows the error detection time interval to be dynamically set according to the data transmission requirements and topology of the soft bus to meet different transmission requirements.
[0152] Performance optimization: By adjusting the error detection interval according to the data transmission requirements and the number of bus nodes, the performance and efficiency of the soft bus can be improved.
[0153] Improved reliability: By dynamically setting the error detection time interval, the system can detect and handle potential errors more promptly, thereby improving the reliability of data transmission.
[0154] Dynamic adjustment: This technical solution can dynamically adjust the time interval according to actual conditions to adapt to different data transmission requirements and characteristics of bus nodes.
[0155] Improve efficiency: By accurately calculating and adjusting the time interval, the efficiency of data transmission can be optimized and unnecessary data transmission delays can be reduced.
[0156] Enhanced stability: This takes into account factors such as the throughput of each bus node and the standard deviation of the data transmission rate, which helps to improve the stability of system operation.
[0157] Flexibility: By introducing multiple adjustment coefficients and parameters, the solution can flexibly respond to different data transmission scenarios and requirements.
[0158] In general, this technical solution helps to adjust the error detection time interval according to the data transmission requirements and the characteristics of the soft bus to optimize the performance and reliability of data transmission. At the same time, the above technical solution dynamically adjusts the time interval by comprehensively considering multiple factors, aiming to improve the efficiency and stability of data transmission while maintaining sufficient flexibility to adapt to different application scenarios.
[0159] In one embodiment of the present invention, the soft bus is deployed using the topology structure, communication protocol and data transmission parameters of the soft bus, including:
[0160] S301, extracting the topological structure of the soft bus;
[0161] S302, extracting the communication protocol and data transmission parameters of the soft bus;
[0162] S303: deploy the soft bus according to the topological structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus.
[0163] The working principle of the above technical solution is: Extract the topology of the soft bus: First, the system extracts the topology information of the soft bus from the system where the soft bus is located. The topology describes the connection mode and relationship between each node in the soft bus.
[0164] Extract the communication protocol and data transmission parameters of the soft bus: The system will obtain the communication protocol and data transmission parameters related to the soft bus. This includes information such as the type of communication protocol, the format of data transmission, the transmission rate, and the error detection strategy.
[0165] Deployment based on topology, communication protocol, and data transmission parameters: Based on the extracted topology, communication protocol, and data transmission parameters, the system will deploy the soft bus. This includes configuring the connection method between soft bus nodes, setting the parameters of the communication protocol, and adjusting the relevant parameters of data transmission.
[0166] Obtain a deployed softbus: Eventually, the system will successfully complete the deployment of the softbus, ensuring that the softbus nodes can perform data transmission and communication operations in accordance with the specified communication protocols and parameters.
[0167] The effects of the above technical solution are: System integration: By integrating the topology, communication protocol and data transmission parameters of the soft bus into the system, the soft bus is tightly integrated with the system, thereby better meeting the data transmission requirements of the system.
[0168] Flexibility and configurability: This technical solution allows the communication protocol and data transmission parameters to be configured and adjusted according to the actual needs of the soft bus to adapt to different application scenarios and needs.
[0169] Performance optimization: By deploying according to the topology and data transmission requirements, the performance of the soft bus can be better optimized and the data transmission efficiency and reliability can be improved.
[0170] Easy to maintain and manage: Centralized management of soft bus configuration and parameters helps simplify system maintenance and management, reducing the risk of configuration errors and failures.
[0171] In general, this technical solution helps to tightly integrate the soft bus with the system and configure and deploy it according to specific needs, thereby improving the performance and flexibility of the soft bus and reducing the complexity of system management.
[0172] The embodiment of the present invention proposes an efficient data transmission system based on a soft bus, such as Figure 2 As shown, the efficient data transmission system based on the soft bus includes:
[0173] A topology determination module, used to define a topology structure of a soft bus in a system where the soft bus is located, wherein the topology structure includes the number of bus nodes and a connection mode between each bus node;
[0174] A parameter determination module, used to determine the communication protocol and data transmission parameters of the soft bus according to the topological structure of the soft bus, wherein the data transmission parameters include the format of data transmission, the transmission rate and the error detection strategy;
[0175] A bus deployment module, used to deploy the soft bus using the topology structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus;
[0176] The data transmission execution module is used to use the soft bus to perform data transmission operations on the data in the system where the soft bus is located.
[0177] The working principle of the above technical solution is as follows: Define the topology of the soft bus: First, the soft bus system needs to define the topology of the soft bus according to the application requirements and system architecture, which includes determining the number of bus nodes and the connection method between each bus node. This step involves determining the connection method between the various components in the system, for example, star connection, bus connection, or other topology.
[0178] Determine the communication protocol and data transmission parameters: Once the topology is defined, the communication protocol and data transmission parameters of the soft bus need to be determined. The communication protocol defines how nodes communicate and transmit data, while the data transmission parameters include the format of data transmission (such as binary, text, etc.), transmission rate (data transmission speed) and error detection strategy (used to detect and handle errors in data transmission). This step ensures that each node in the system can communicate in a consistent manner.
[0179] Deploy the soft bus: Once the communication protocol and data transmission parameters are determined, the system administrator or engineer can begin to deploy the soft bus. This includes configuring the bus nodes in the system, ensuring that they are connected according to the topology, and configuring the nodes for data transmission according to the communication protocol. The deployment process usually includes hardware and software configuration to ensure that the bus nodes can work properly.
[0180] Perform data transfer operations: Once the soft bus is successfully deployed, the various nodes in the system can begin using it to perform data transfer operations. This can include transferring real-time data, configuration files, commands, etc. Data transfer can be unidirectional or bidirectional, depending on system requirements. The soft bus ensures reliable data transmission by using defined communication protocols and data transfer parameters.
[0181] The effects of the above technical solution are: Unified communication mode: By defining the topology, communication protocol and data transmission parameters, the soft bus provides a unified communication mode, so that each node in the system can communicate in a consistent manner.
[0182] Flexibility: The technical solution is flexible because it can be configured and customized according to specific application requirements and system architecture. This means that different soft bus topologies and communication protocols can be defined according to different application scenarios.
[0183] Reliability: By using error detection strategies and data transmission parameters, the soft bus helps ensure the reliability of data transmission and reduces the possibility of communication errors.
[0184] Simplified management: Once the softbus is deployed, system management becomes much simpler because it provides a way to centrally manage and control data transfer in the system.
[0185] In general, this technical solution helps to build a soft bus system with consistency, reliability and flexibility, which is suitable for various application fields such as industrial automation, Internet of Things, communication systems, etc.
[0186] In one embodiment of the present invention, the topology determination module includes:
[0187] A data transmission requirement information extraction module, used to scan the system where the soft bus is located, and extract the data transmission requirement information of the system where the soft bus is located;
[0188] A bus node quantity determination module, used to determine the number of bus nodes of the soft bus according to data transmission requirement information of the system where the soft bus is located;
[0189] The connection mode determination module is used to determine the connection mode between each bus node according to the data transmission requirement information of the system where the soft bus is located and the number of bus nodes of the soft bus.
[0190] The working principle of the above technical solution is as follows: Scan the system and extract data transmission demand information: First, the system will scan the system to understand the data transmission requirements between various components or nodes in the system. This may involve understanding which components need to communicate with each other, the frequency of data transmission, the nature of data transmission (real-time, batch processing, etc.), and the capacity requirements of data transmission.
[0191] Determine the number of bus nodes: Based on the data transmission requirements extracted from the system, determine how many bus nodes are needed to meet these requirements. Bus nodes are the core components in the soft bus topology. They are used to connect various system components and transmit data.
[0192] Determine the connection method between bus nodes: Combine the determined number of bus nodes and the information on data transmission requirements to determine the connection method between each bus node. This includes defining the physical or logical connection topology between nodes, for example, star, bus, ring, tree or mixed topology.
[0193] The effects of the above technical solution are: Optimizing data transmission: This technical solution helps to optimize the design of the soft bus by extracting the data transmission requirement information of the system, ensuring that it can meet the data transmission requirements between various components in the system, thereby improving the efficiency of data transmission.
[0194] Reduce resource waste: Determining the number of bus nodes based on actual needs helps reduce the waste of system resources. Not requiring too many bus nodes can reduce costs and resource usage.
[0195] Improve system performance: When determining how bus nodes are connected to each other, you can optimize data transmission paths, thereby improving system performance and responsiveness.
[0196] Flexibility: Since the topology is defined based on data transmission demand information, this technical solution is flexible in dealing with different application scenarios and can be adjusted and customized according to specific needs.
[0197] In general, this technical solution helps to ensure that the soft bus system can meet the data transmission requirements between various components in the system, improves the performance and efficiency of the system, and reduces resource waste.
[0198] In one embodiment of the present invention, the parameter determination module includes:
[0199] A topology structure information extraction module, used to extract the topology structure of the soft bus;
[0200] A data transmission requirement information extraction module, used to extract the data transmission requirement information of the soft bus;
[0201] A communication protocol determination module, used to determine the communication protocol of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0202] A data transmission format determination module, used to determine the data transmission format of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0203] A transmission rate determination module, used to determine the transmission rate of the soft bus according to the topological structure of the soft bus and the data transmission requirement information;
[0204] The error detection strategy determination module is used to determine the error detection strategy of the soft bus according to the topological structure of the soft bus and the data transmission requirement information.
[0205] The working principle of the above technical solution is: Extract the topology of the soft bus: First, the system will extract the topology of the defined soft bus, which includes the number of bus nodes and the connection method between the nodes, such as star, bus, ring, etc.
[0206] Extracting data transmission requirement information: The system also extracts data transmission requirement information related to the soft bus. This may include the nature of data transmission (real-time, batch processing, etc.), transmission capacity requirements, transmission distance requirements, etc.
[0207] Determine the communication protocol: Based on the extracted topology and data transmission requirement information, the system will determine the applicable communication protocol. The communication protocol defines how data is transmitted on the soft bus, including communication rules, data packet format, data transmission method, etc.
[0208] Determine the data transmission format: According to the topology and data transmission requirement information, determine the data transmission format, including the structure of the data packet, the encoding method of the data, etc. This ensures that the data can be correctly interpreted and processed during the transmission process.
[0209] Determine the transmission rate: Determine the data transmission rate based on the topology and data transmission demand information. The transmission rate indicates the amount of data that can be transmitted per unit time, and it may vary according to the data transmission demand.
[0210] Determine error detection strategy: The system also determines the error detection strategy based on the topology and data transmission requirement information, including methods for detecting and correcting errors that may occur during the transmission process.
[0211] The effects of the above technical solution are: Customized communication: This technical solution allows the selection of communication protocols and parameters based on the specific soft bus topology and data transmission requirements to meet the specific needs of the system.
[0212] Optimal performance: By determining the transmission rate and error detection strategy based on the topology and requirements, the best performance and reliability can be achieved.
[0213] Data transmission reliability: Determining the data transmission format and error detection strategy helps ensure the reliability of data transmission and reduce errors in data transmission.
[0214] Reduce costs: Through customized communication protocols and parameters, unnecessary waste of resources can be avoided, thereby reducing the overall cost of the system.
[0215] In general, the technical solution helps to configure the communication protocol and parameters according to the specific requirements and the topology of the soft bus, thereby achieving efficient, reliable and customized data transmission.
[0216] In one embodiment of the present invention, the error detection strategy includes:
[0217] Extracting data transmission requirement information of the soft bus;
[0218] Acquire the data transmission detection time interval specified in the data transmission requirement information through the data transmission requirement information;
[0219] Acquire a basic time interval by using the data transmission detection time interval;
[0220] Extracting the total number of bus nodes of the soft bus;
[0221] A reference quantity parameter is set according to the total quantity of the bus nodes, wherein the reference quantity parameter is as follows:
[0222] M=int[P×N]×e p
[0223] Wherein, M represents a reference quantity parameter; int[] represents an upward rounding function; P represents a proportional coefficient, and its value range is 0.38-0.47; N represents the total number of bus nodes of the soft bus; e represents a constant, and its value is 2.71;
[0224] Setting the error detection time interval of the soft bus using the basic time interval and the reference quantity parameter;
[0225] The error detection time interval is obtained by the following formula:
[0226] T=(1+e P×(M-N) +M / N)×T 0
[0227] Where T represents the error detection time interval; T 0 Indicates the base time interval.
[0228] The working principle of the above technical solution is: extracting the data transmission demand information of the soft bus: first, the system will extract the data transmission demand information related to the soft bus, which includes the nature of data transmission, capacity requirements, transmission distance, etc.
[0229] Get the data transmission detection time interval specified by the data transmission requirement information: Based on the extracted data transmission requirement information, the system will determine the detection time interval required for data transmission. This time interval is specified according to the data transmission requirement and is used to detect whether errors occur in the transmission or meet the real-time requirements.
[0230] Use the data transmission detection interval as the basic interval: The system uses the data transmission detection interval obtained in the previous step as the basic interval.
[0231] Extract the total number of bus nodes of the soft bus: The system also extracts the total number of bus nodes of the soft bus, which are the physical components of the soft bus that communicate and transfer data between each other.
[0232] Set the reference quantity parameter: Set the reference quantity parameter M according to the total number of bus nodes and some constants (proportional coefficient P and constant e). This parameter is used for subsequent calculations.
[0233] Using the basic time interval and the benchmark number parameter to set the soft bus error detection time interval: Through the above basic time interval, benchmark number parameter M and some calculation formulas, the system calculates the soft bus error detection time interval. This time interval is used to detect and handle errors during data transmission.
[0234] The effects of the above technical solution are: Adaptability: This technical solution allows the error detection time interval to be dynamically set according to the data transmission requirements and topology of the soft bus to meet different transmission requirements.
[0235] Performance optimization: By adjusting the error detection interval according to the data transmission requirements and the number of bus nodes, the performance and efficiency of the soft bus can be improved.
[0236] Improved reliability: By dynamically setting the error detection time interval, the system can detect and handle potential errors more promptly, thereby improving the reliability of data transmission.
[0237] In general, the technical solution helps to adjust the error detection time interval according to data transmission requirements and the characteristics of the soft bus to optimize the performance and reliability of data transmission.
[0238] In one embodiment of the present invention, the bus deployment module includes:
[0239] A first information extraction module, used to extract the topological structure of the soft bus;
[0240] A second information extraction module, used to extract the communication protocol and data transmission parameters of the soft bus;
[0241] The deployment execution module is used to deploy the soft bus according to the topological structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus.
[0242] The working principle of the above technical solution is: Extract the topology of the soft bus: First, the system extracts the topology information of the soft bus from the system where the soft bus is located. The topology describes the connection mode and relationship between each node in the soft bus.
[0243] Extract the communication protocol and data transmission parameters of the soft bus: The system will obtain the communication protocol and data transmission parameters related to the soft bus. This includes information such as the type of communication protocol, the format of data transmission, the transmission rate, and the error detection strategy.
[0244] Deployment based on topology, communication protocol, and data transmission parameters: Based on the extracted topology, communication protocol, and data transmission parameters, the system will deploy the soft bus. This includes configuring the connection method between soft bus nodes, setting the parameters of the communication protocol, and adjusting the relevant parameters of data transmission.
[0245] Obtain a deployed softbus: Eventually, the system will successfully complete the deployment of the softbus, ensuring that the softbus nodes can perform data transmission and communication operations in accordance with the specified communication protocols and parameters.
[0246] The effects of the above technical solution are: System integration: By integrating the topology, communication protocol and data transmission parameters of the soft bus into the system, the soft bus is tightly integrated with the system, thereby better meeting the data transmission requirements of the system.
[0247] Flexibility and configurability: This technical solution allows the communication protocol and data transmission parameters to be configured and adjusted according to the actual needs of the soft bus to adapt to different application scenarios and needs.
[0248] Performance optimization: By deploying according to the topology and data transmission requirements, the performance of the soft bus can be better optimized and the data transmission efficiency and reliability can be improved.
[0249] Easy to maintain and manage: Centralized management of soft bus configuration and parameters helps simplify system maintenance and management, reducing the risk of configuration errors and failures.
[0250] In general, this technical solution helps to tightly integrate the soft bus with the system and configure and deploy it according to specific needs, thereby improving the performance and flexibility of the soft bus and reducing the complexity of system management.
[0251] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An efficient data transmission method based on a soft bus, characterized in that: The efficient data transmission method based on the soft bus comprises: Defining a topological structure of a soft bus in a system where the soft bus is located, wherein the topological structure includes the number of bus nodes and a connection mode between each bus node; Determining the communication protocol and data transmission parameters of the soft bus according to the topological structure of the soft bus, wherein the data transmission parameters include the format, transmission rate and error detection strategy of data transmission; Deploy the soft bus using the topology structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus; The soft bus is used to perform data transmission operations on the data in the system where the soft bus is located.
2. The efficient data transmission method based on soft bus according to claim 1, characterized in that: The topology of the soft bus is defined in the system where the soft bus is located. The topology includes the number of bus nodes and the connection mode between each bus node, including: Scanning the system where the soft bus is located, and extracting data transmission requirement information of the system where the soft bus is located; Determine the number of bus nodes of the soft bus according to the data transmission requirement information of the system where the soft bus is located; The connection mode between each bus node is determined according to the data transmission requirement information of the system where the soft bus is located and the number of bus nodes of the soft bus.
3. The efficient data transmission method based on soft bus according to claim 1, characterized in that: Determining the communication protocol and data transmission parameters of the soft bus according to the topological structure of the soft bus includes: Extracting the topological structure of the soft bus; Extracting data transmission requirement information of the soft bus; Determining the communication protocol of the soft bus according to the topological structure of the soft bus and the data transmission requirement information; Determining the data transmission format of the soft bus according to the topological structure of the soft bus and the data transmission requirement information; Determine the transmission rate of the soft bus according to the topological structure of the soft bus and the data transmission requirement information; An error detection strategy for the soft bus is determined according to the topological structure of the soft bus and data transmission requirement information.
4. The efficient data transmission method based on soft bus according to claim 1 or 3, characterized in that: The error detection strategy includes: Extracting data transmission requirement information of the soft bus; Acquire the data transmission detection time interval specified in the data transmission requirement information through the data transmission requirement information; Acquire a basic time interval by using the data transmission detection time interval; Extracting the total number of bus nodes of the soft bus; A reference quantity parameter is set according to the total quantity of the bus nodes, wherein the reference quantity parameter is as follows: M=int[P×N]×e p Wherein, M represents a reference quantity parameter; int[] represents an upward rounding function; P represents a proportional coefficient, and its value range is 0.38-0.47; N represents the total number of bus nodes of the soft bus; e represents a constant, and its value is 2.71; Setting the error detection time interval of the soft bus using the basic time interval and the reference quantity parameter; The error detection time interval is obtained by the following formula: T=(1+e P×(M-N) +M / N)×T0 Wherein, T represents the error detection time interval; T0 represents the basic time interval.
5. The efficient data transmission method based on soft bus according to claim 1, characterized in that: Deploying the soft bus using the topology structure, communication protocol and data transmission parameters of the soft bus includes: Extracting the topological structure of the soft bus; Extracting the communication protocol and data transmission parameters of the soft bus; The soft bus is deployed according to the topological structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus.
6. An efficient data transmission system based on a soft bus, characterized in that: The efficient data transmission system based on the soft bus comprises: A topology determination module, used to define a topology structure of a soft bus in a system where the soft bus is located, wherein the topology structure includes the number of bus nodes and a connection mode between each bus node; A parameter determination module, used to determine the communication protocol and data transmission parameters of the soft bus according to the topological structure of the soft bus, wherein the data transmission parameters include the format of data transmission, the transmission rate and the error detection strategy; A bus deployment module, used to deploy the soft bus using the topology structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus; The data transmission execution module is used to use the soft bus to perform data transmission operations on the data in the system where the soft bus is located.
7. The high-efficiency data transmission system based on soft bus according to claim 6, characterized in that: The topology determination module includes: A data transmission requirement information extraction module, used to scan the system where the soft bus is located, and extract the data transmission requirement information of the system where the soft bus is located; A bus node quantity determination module, used to determine the number of bus nodes of the soft bus according to data transmission requirement information of the system where the soft bus is located; The connection mode determination module is used to determine the connection mode between each bus node according to the data transmission requirement information of the system where the soft bus is located and the number of bus nodes of the soft bus.
8. The high-efficiency data transmission system based on soft bus according to claim 6, characterized in that: The parameter determination module comprises: A topology structure information extraction module, used to extract the topology structure of the soft bus; A data transmission requirement information extraction module, used to extract the data transmission requirement information of the soft bus; A communication protocol determination module, used to determine the communication protocol of the soft bus according to the topological structure of the soft bus and the data transmission requirement information; A data transmission format determination module, used to determine the data transmission format of the soft bus according to the topological structure of the soft bus and the data transmission requirement information; A transmission rate determination module, used to determine the transmission rate of the soft bus according to the topological structure of the soft bus and the data transmission requirement information; The error detection strategy determination module is used to determine the error detection strategy of the soft bus according to the topological structure of the soft bus and the data transmission requirement information.
9. The high-efficiency data transmission system based on soft bus according to claim 6 or 8, characterized in that: The error detection strategy includes: Extracting data transmission requirement information of the soft bus; Acquire the data transmission detection time interval specified in the data transmission requirement information through the data transmission requirement information; Acquire a basic time interval by using the data transmission detection time interval; Extracting the total number of bus nodes of the soft bus; A reference quantity parameter is set according to the total quantity of the bus nodes, wherein the reference quantity parameter is as follows: M=int[P×N]×e p Wherein, M represents a reference quantity parameter; int[] represents an upward rounding function; P represents a proportional coefficient, and its value range is 0.38-0.47; N represents the total number of bus nodes of the soft bus; e represents a constant, and its value is 2.71; Setting the error detection time interval of the soft bus using the basic time interval and the reference quantity parameter; The error detection time interval is obtained by the following formula: T=(1+e P×(M-N) +M / N)×T0 Wherein, T represents the error detection time interval; T0 represents the basic time interval.
10. The high-efficiency data transmission system based on soft bus according to claim 6, characterized in that: The bus deployment module includes: A first information extraction module, used to extract the topological structure of the soft bus; A second information extraction module, used to extract the communication protocol and data transmission parameters of the soft bus; The deployment execution module is used to deploy the soft bus according to the topological structure, communication protocol and data transmission parameters of the soft bus to obtain a deployed soft bus.
Citation Information
Cited By
Communication soft bus and unmanned aerial vehicle communication system
CN121125385A
