CN117527830B - Method and system for synchronous communication of data streams among multiple subsystems in embedded system - Google Patents

Method and system for synchronous communication of data streams among multiple subsystems in embedded system Download PDF

Info

Publication number
CN117527830B
CN117527830B CN202311625922.7A CN202311625922A CN117527830B CN 117527830 B CN117527830 B CN 117527830B CN 202311625922 A CN202311625922 A CN 202311625922A CN 117527830 B CN117527830 B CN 117527830B
Authority
CN
China
Prior art keywords
subsystems
embedded system
data
communication
data transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311625922.7A
Other languages
Chinese (zh)
Other versions
CN117527830A (en
Inventor
罗宇阳
孙全
余科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Sharee Tech Co ltd
Original Assignee
Shanghai Sharee Tech Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Sharee Tech Co ltd filed Critical Shanghai Sharee Tech Co ltd
Priority to CN202311625922.7A priority Critical patent/CN117527830B/en
Publication of CN117527830A publication Critical patent/CN117527830A/en
Application granted granted Critical
Publication of CN117527830B publication Critical patent/CN117527830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0847Transmission error
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a method and a system for synchronous communication of data streams among a plurality of subsystems in an embedded system, which belong to the technical field of communication of the embedded system, and specifically comprise the following steps: the method comprises the steps of analyzing requirements, analyzing data transmission requirements among subsystems in an embedded system, determining performance indexes of data transmission, selecting a proper communication protocol according to a result of the requirement analysis, designing a data transmission interface among the subsystems, completing data transmission among the subsystems in the embedded system by utilizing error rate compensation, optimal channel selection and system throughput optimization according to the design of the data transmission interface, testing and debugging a data transmission module, ensuring that the system performance requirements are met, and reducing communication delay, greatly improving system performance and realizing synchronous communication of a plurality of subsystem data streams in the embedded system.

Description

Method and system for synchronous communication of data streams among multiple subsystems in embedded system
Technical Field
The invention belongs to the technical field of embedded system communication, and particularly relates to a method and a system for synchronous communication of data streams among a plurality of subsystems in an embedded system.
Background
The network transmission with low time delay and high stability is one of key problems of development of the Internet and the Internet of things, as more and more devices are connected to the network, the requirements of different devices on the network time delay are more and more complex, and novel applications such as vehicle-mounted networks, telemedicine, industrial control and the like have strict requirements on the network transmission stability and low time delay, so that the network transmission stability is improved, and the network time delay is reduced to be a hot spot problem of research in the aspect of current network transmission.
However, the data transmission performance of many existing wireless communication devices cannot meet the requirement of data transmission instantaneity, and the transmission rate of wireless data transmission is still to be improved. Therefore, aiming at the problem that the wireless communication channel condition is influenced by the outside to influence the data transmission efficiency, the overall performance of the system is improved by adopting the transmission rate suitable for the real-time channel condition.
The chinese patent with publication number CN116155875A discloses a method for data transmission and a communication device, the method comprising: receiving a first identifier from a core network element, wherein the first identifier is used for indicating that a first quality of service (QoS) data flow and a second QoS data flow belong to a first data unit; and mapping the first QoS data flow and the second QoS data flow to the first access network resource and the second access network resource respectively according to the first identifier and the first synchronization time parameter, and sending the first QoS data flow and the second QoS data flow to the terminal equipment, wherein the first synchronization time parameter is used for indicating the maximum interval between the moment of completing the sending of the first QoS data flow and the moment of completing the sending of the second QoS data flow. According to the scheme, the time for completing the transmission of QoS data belonging to the same data unit to the terminal equipment or the access network equipment is smaller than a preset value, decoding of the terminal equipment or the application server is facilitated, and user experience is further improved.
For example, chinese patent CN110278171B discloses a method and apparatus for detecting frame synchronization header, which belongs to the technical field of digital signal transmission, and is used for solving the problem that the existing frame synchronization header detection scheme is only suitable for detecting frame synchronization header of a single communication protocol. The method comprises the following steps: determining frame synchronization mark information; generating a frame synchronization header detection list based on the frame synchronization mark information; sequentially carrying out similarity calculation on the read current frame synchronous mark information and the frame data stream by taking bits as units; when the last bit of the current frame synchronizing mark information is calculated and the calculation result reaches a preset value, shifting the current frame synchronizing mark information by taking the bit as a unit, and simultaneously carrying out similarity calculation on the current frame synchronizing mark information and the data segment corresponding to the shifted current frame synchronizing mark information; further, a maximum value among all the calculation results is determined, and a frame synchronization header is determined based on the maximum value. The invention can detect the frame synchronization head of the frame data stream under various communication protocols, and has good flexibility and less resource occupation.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a data flow synchronous communication method and a system among a plurality of subsystems in an embedded system, which are used for analyzing the data transmission requirements among the subsystems in the embedded system, determining the performance indexes of the data transmission, selecting a proper communication protocol according to the result of the requirement analysis, designing a data transmission interface among the subsystems, completing the data transmission among the subsystems in the embedded system by utilizing error rate compensation, optimal channel selection and system throughput optimization according to the data transmission interface design, testing and debugging a data transmission module, ensuring the satisfaction of the system performance requirements, and reducing the communication delay by compensating the error rate, optimizing the optimal channel selection and the system throughput, thereby greatly improving the system performance and realizing the synchronous communication of the data flow of the plurality of subsystems in the embedded system.
In order to achieve the above purpose, the present invention provides the following technical solutions:
the data flow synchronous communication method among a plurality of subsystems in the embedded system comprises the following specific steps:
Step S1: the method comprises the steps of demand analysis, data transmission demands among subsystems in an embedded system are analyzed, and performance indexes of data transmission are determined;
step S2: selecting a proper communication protocol according to the result of the demand analysis;
step S3: designing data transmission interfaces among all subsystems;
Step S4: according to the design of a data transmission interface, completing data transmission among all subsystems in an embedded system by utilizing error rate compensation, optimal channel selection and system throughput optimization;
step S5: and testing and debugging the data transmission module to ensure that the system performance requirement is met.
Specifically, the performance indexes in the step S1 include: rate, delay and bit error rate of data transmission.
Specifically, the communication protocol in step S2 includes: serial communication, ethernet communication, and wireless communication.
Specifically, the specific method in step S4 is as follows:
Step S401: setting the data flow between subsystems in the embedded system as A, setting the length as L, and calculating the error rate of the data flow A transmitted between the subsystems, wherein the calculation formula is as follows: p A(L)=PA_data(L)×PA_ack, wherein P A (L) represents an error rate of transmission of the data stream a between subsystems, P A_data (L) represents a probability of transmission errors of the data packets in the data stream a, and P A_ack represents a probability of feedback errors of the ACK acknowledgement frame;
Step S402: the error rate of data stream transmission is compensated, and the calculation formula of the compensation is as follows: p A_bc(L)=α×PA_data(L)×PA_ack+PA_b (L), wherein P A_bc (L) represents the error rate after compensation for data stream transmission, P A_b (L) represents the compensation packet for data stream a, and α represents the error rate compensation factor;
step S403: the priority of the ith communication channel among subsystems in the embedded system is calculated, and the calculation formula is as follows:
Wherein YXJ i represents the priority of the ith communication channel among the subsystems of the embedded system, E represents an annealing algorithm function, K b represents a boltzmann constant, E represents an exponential function, ω represents the subsystem traffic weight of the embedded system, tr represents the subsystem traffic of the embedded system, η represents the bus utilization, M T represents the execution cycle of the subsystem of the embedded system, M wT represents the minimum execution time of the subsystem of the embedded system, μ represents a penalty factor, I represents the number of communication channels, U i represents the load factor of the ith communication channel among the subsystems of the embedded system, U i_max represents the maximum load factor of the ith communication channel among the subsystems of the embedded system, and the channel corresponding to the maximum value of YXJ i is taken as the optimal channel;
step S404: optimizing the throughput of the subsystem in the embedded system, wherein the optimizing formula is as follows:
Where YH represents throughput after optimizing subsystem in the embedded system, n represents the number of data amounts with length L, T Data represents time required for transmitting data between subsystems in the embedded system, T difs represents time slots between data streams, T sifs represents shortest time slots between data streams, T ack represents transmission time of ACK frames, τ represents average transmission delay between subsystems in the embedded system, and T rts and T cts represent transmission time of rts frames and cts frames.
Specifically, the data transmission interface design in step S4 includes: the system comprises a hardware interface and a software interface, wherein the hardware interface comprises a signal level, a data line and a clock line, and the software interface comprises a protocol, a format and a speed of data transmission.
A data flow synchronization communication system among a plurality of subsystems in an embedded system, comprising: the system comprises a demand analysis module, a communication protocol selection module, a data transmission interface design module, a data communication module and a test and debug module;
The demand analysis module is used for analyzing the demand and the data transmission demand among the subsystems of the embedded system and determining the performance index of the data transmission;
the communication protocol selection module is used for selecting a proper communication protocol according to the result of the demand analysis;
the data transmission interface design module is used for designing data transmission interfaces among all subsystems;
the data communication module is used for completing data transmission among all subsystems in the embedded system by utilizing error rate compensation, optimal channel selection and system throughput optimization according to the design of a data transmission interface;
the testing and debugging module is used for testing and debugging the data transmission module, and ensuring that the system performance requirement is met.
Specifically, the data communication module comprises an error rate compensation unit, an optimal channel selection unit and a system throughput optimization unit, wherein the error rate compensation unit is used for compensating errors occurring during data stream transmission among subsystems in the embedded system, the optimal channel selection unit is used for selecting an optimal communication channel among the subsystems in the embedded system, and the system throughput optimization unit is used for optimizing throughput of the subsystems in the embedded system.
An electronic device comprising a memory and a processor, the memory storing a computer program, the processor implementing steps of a method of data stream synchronous communication between a plurality of subsystems in an embedded system when the computer program is executed.
A computer readable storage medium having stored thereon computer instructions which when executed perform the steps of a method of data stream synchronized communication between a plurality of subsystems in an embedded system.
Compared with the prior art, the invention has the beneficial effects that:
1. The invention provides a data flow synchronous communication system among a plurality of subsystems in an embedded system, and optimizes and improves the architecture, the operation steps and the flow, and the system has the advantages of simple flow, low investment and operation cost and low production and working cost.
2. The invention provides a data flow synchronous communication method among a plurality of subsystems in an embedded system, which comprises the steps of analyzing requirements, analyzing data transmission requirements among the subsystems in the embedded system, determining performance indexes of data transmission, selecting a proper communication protocol according to the results of the requirement analysis, designing a data transmission interface among the subsystems, completing data transmission among the subsystems in the embedded system by utilizing error rate compensation, optimal channel selection and system throughput optimization according to the design of the data transmission interface, testing and debugging a data transmission module, ensuring that the system performance requirements are met, and reducing the communication delay by optimizing the error rate, the optimal channel selection and the system throughput.
Drawings
FIG. 1 is a flow chart of a method for synchronous communication of data streams among multiple subsystems in an embedded system according to the present invention;
FIG. 2 is a flow chart of defining a synchronous information interface of a method for synchronous communication of data streams among a plurality of subsystems in an embedded system according to the present invention;
FIG. 3 is a diagram of a data flow synchronization communication system architecture among multiple subsystems in an embedded system according to the present invention;
FIG. 4 is a diagram of an electronic device with a method for synchronizing data flow communication among multiple subsystems in an embedded system according to the present invention.
Detailed Description
In order that the technical means, the creation characteristics, the achievement of the objects and the effects of the present invention may be easily understood, it should be noted that in the description of the present invention, the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or elements to be referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "a", "an", "the" and "the" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The invention is further described below in conjunction with the detailed description.
Example 1
Referring to fig. 1-2, an embodiment of the present invention is provided: the data flow synchronous communication method among a plurality of subsystems in the embedded system comprises the following specific steps:
Step S1: the method comprises the steps of demand analysis, data transmission demands among subsystems in an embedded system are analyzed, and performance indexes of data transmission are determined;
step S2: selecting a proper communication protocol according to the result of the demand analysis;
step S3: designing data transmission interfaces among all subsystems;
Step S4: according to the design of a data transmission interface, completing data transmission among all subsystems in an embedded system by utilizing error rate compensation, optimal channel selection and system throughput optimization;
step S5: and testing and debugging the data transmission module to ensure that the system performance requirement is met.
Reliability guarantee measures: in order to ensure the reliability of the data transmission, the following measures can be taken: a. and (3) data verification: during the data transmission process, a check mechanism such as parity check, CRC check and the like is added to detect and correct errors during the data transmission process; b. redundancy design: in the key data transmission link, redundant design such as backup link, fault switching and the like is adopted to improve the fault tolerance of the system; c. and (3) adjusting the transmission rate: according to the requirements of instantaneity and reliability, dynamically adjusting the data transmission rate to balance the performance and power consumption of the system; d. and (3) network management: and managing the communication network in the embedded system, such as node joining/exiting, link state monitoring and the like, so as to ensure the stable operation of the network.
The performance indexes in step S1 include: rate, delay and bit error rate of data transmission.
The communication protocol in step S2 includes: serial communication, ethernet communication, and wireless communication.
The specific method of the step S4 is as follows:
Step S401: setting the data flow between subsystems in the embedded system as A, setting the length as L, and calculating the error rate of the data flow A transmitted between the subsystems, wherein the calculation formula is as follows: p A(L)=PA_data(L)×PA_ack, wherein P A (L) represents an error rate of transmission of the data stream a between subsystems, P A_data (L) represents a probability of transmission errors of the data packets in the data stream a, and P A_ack represents a probability of feedback errors of the ACK acknowledgement frame;
Step S402: the error rate of data stream transmission is compensated, and the calculation formula of the compensation is as follows: p A_bc(L)=α×PA_data(L)×PA_ack+PA_b (L), wherein P A_bc (L) represents the error rate after compensation for data stream transmission, P A_b (L) represents the compensation packet for data stream a, and α represents the error rate compensation factor;
step S403: the priority of the ith communication channel among subsystems in the embedded system is calculated, and the calculation formula is as follows:
Wherein YXJ i represents the priority of the ith communication channel among the subsystems of the embedded system, E represents an annealing algorithm function, K b represents a boltzmann constant, E represents an exponential function, ω represents the subsystem traffic weight of the embedded system, tr represents the subsystem traffic of the embedded system, η represents the bus utilization, M T represents the execution cycle of the subsystem of the embedded system, M wT represents the minimum execution time of the subsystem of the embedded system, μ represents a penalty factor, I represents the number of communication channels, U i represents the load factor of the ith communication channel among the subsystems of the embedded system, U i_max represents the maximum load factor of the ith communication channel among the subsystems of the embedded system, and the channel corresponding to the maximum value of YXJ i is taken as the optimal channel;
step S404: optimizing the throughput of the subsystem in the embedded system, wherein the optimizing formula is as follows:
Where YH represents throughput after optimizing subsystem in the embedded system, n represents the number of data amounts with length L, T Data represents time required for transmitting data between subsystems in the embedded system, T difs represents time slots between data streams, T sifs represents shortest time slots between data streams, T ack represents transmission time of ACK frames, τ represents average transmission delay between subsystems in the embedded system, and T rts and T cts represent transmission time of rts frames and cts frames.
The data transmission interface design in step S4 includes: the system comprises a hardware interface and a software interface, wherein the hardware interface comprises a signal level, a data line and a clock line, and the software interface comprises a protocol, a format and a speed of data transmission.
To verify the effectiveness of the inventive protocol, the following experiments were performed. The basic experimental scene conditions were set as follows, a number of communication nodes were randomly moved within the scene, the experimental scene size was set to 1000m x 1000m, and the interference range of the wireless communication nodes was set to 550m, the wireless communication system run time was 200 seconds. And operating the constructed simulation experiment environment in a wireless network, and adopting UDP (user datagram protocol) to transmit data between communication nodes, wherein the size of a transmission data packet is 2000 bytes. According to the IEEE802.11 protocol standard, in order to verify the relationship between throughput and the mobile rate of the communication node, a simulation experiment is designed for verification. In the experimental scene, 10 communication nodes which randomly move exist, the relative distance between the nodes is kept to be 100 meters, and the node movement rate is gradually increased from 1m/s to 10 m/s. As the speed of movement of the communication node increases, the throughput of the system tends to increase gradually in the first place, because the radio channel conditions can bear the pressure of the communication system on the network at this time. With the acceleration of the node moving speed, the conditions of channel collision and data transmission failure in the network are increased, so that the throughput is continuously reduced. The method for synchronous communication of the data streams among the subsystems in the embedded system effectively improves the throughput of the communication system by reducing the transmission times of the control frames, thereby improving the system performance and accelerating the transmission rate of the data streams.
In fig. 2, the data flow is defined as: a data stream is received.
Example 2
Referring to fig. 3, another embodiment of the present invention is provided: a data flow synchronization communication system among a plurality of subsystems in an embedded system, comprising: the system comprises a demand analysis module, a communication protocol selection module, a data transmission interface design module, a data communication module and a test and debug module;
The demand analysis module is used for analyzing the demand and the data transmission demand among the subsystems of the embedded system and determining the performance index of the data transmission;
the communication protocol selection module is used for selecting a proper communication protocol according to the result of the demand analysis;
the data transmission interface design module is used for designing data transmission interfaces among all subsystems;
the data communication module is used for completing data transmission among all subsystems in the embedded system by utilizing error rate compensation, optimal channel selection and system throughput optimization according to the design of a data transmission interface;
the testing and debugging module is used for testing and debugging the data transmission module, and ensuring that the system performance requirement is met.
The data communication module comprises an error rate compensation unit, an optimal channel selection unit and a system throughput optimization unit, wherein the error rate compensation unit is used for compensating errors occurring during data stream transmission among subsystems in the embedded system, the optimal channel selection unit is used for selecting an optimal communication channel among the subsystems in the embedded system, and the system throughput optimization unit is used for optimizing throughput of the subsystems in the embedded system.
Example 3
Referring to fig. 4, an electronic device includes a memory and a processor, where the memory stores a computer program, and the processor implements steps of a method for synchronous communication of data streams among multiple subsystems in an embedded system when executing the computer program.
A computer readable storage medium having stored thereon computer instructions which when executed perform the steps of a method of data stream synchronized communication between a plurality of subsystems in an embedded system.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are all within the protection of the present invention.
Finally: the foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (8)

1. The method for synchronously communicating the data streams among the subsystems in the embedded system is characterized by comprising the following specific steps:
Step S1: the method comprises the steps of demand analysis, data transmission demands among subsystems in an embedded system are analyzed, and performance indexes of data transmission are determined;
step S2: selecting a proper communication protocol according to the result of the demand analysis;
step S3: designing data transmission interfaces among all subsystems;
Step S4: according to the design of a data transmission interface, completing data transmission among all subsystems in an embedded system by utilizing error rate compensation, optimal channel selection and system throughput optimization;
Step S5: testing and debugging the data transmission module to ensure that the system performance requirement is met;
The specific method of the step S4 is as follows:
Step S401: setting the data flow between subsystems in the embedded system as A, setting the length as L, and calculating the error rate of the data flow A transmitted between the subsystems, wherein the calculation formula is as follows: wherein/> Representing the error rate of data stream A transmitted between subsystems,/>Representing the probability of packet transmission errors in data stream A,/>Representing the probability of ACK acknowledgement frame feedback error;
step S402: the error rate of data stream transmission is compensated, and the calculation formula of the compensation is as follows: wherein/> Representing the compensated error rate of the data stream transmission,/>Representing the compensation packet for data stream a,/>Representing an error rate compensation factor;
step S403: the priority of the ith communication channel among subsystems in the embedded system is calculated, and the calculation formula is as follows:
Wherein, Indicating priority of ith communication channel between subsystems in embedded system,/>Representing annealing algorithm function,/>Represents the Boltzmann constant, e represents an exponential function,/>Represents subsystem traffic weight in embedded system, tr represents subsystem traffic in embedded system,/>Representing bus utilization,/>Representing execution cycle of subsystem in embedded system,/>Representing minimum execution time of subsystem in embedded system,/>Represents a penalty factor, I represents the number of communication channels,/>Representing the load rate of the ith communication channel between subsystems in an embedded system,/>Representing the maximum load rate of the ith communication channel among the subsystems of the embedded system, and taking/>The channel corresponding to the maximum value is used as an optimal channel;
step S404: optimizing the throughput of the subsystem in the embedded system, wherein the optimizing formula is as follows:
where YH represents the throughput after optimizing the subsystem in the embedded system, n represents the number of data volumes of length L,/> Representing the time required for transmitting data between subsystems in an embedded system,/>Representing inter-data-stream time slots,/>Shows the shortest time slot between data streams,/>Representing the transmission time of an ACK frame,/>Representing average transmission delay between subsystems in embedded system,/>And/>The transmission times of the RTS frame and CTS frame are indicated.
2. The method for synchronous communication of data streams among a plurality of subsystems in an embedded system according to claim 1, wherein the performance index in step S1 comprises: rate, delay and bit error rate of data transmission.
3. The method for synchronous communication of data streams among a plurality of subsystems in an embedded system according to claim 2, wherein the communication protocol in step S2 comprises: serial communication, ethernet communication, and wireless communication.
4. The method for synchronous communication of data streams among a plurality of subsystems in an embedded system according to claim 3, wherein the design of the data transmission interface in step S4 comprises: the system comprises a hardware interface and a software interface, wherein the hardware interface comprises a signal level, a data line and a clock line, and the software interface comprises a protocol, a format and a speed of data transmission.
5. A data flow synchronization communication system among a plurality of subsystems in an embedded system, which is implemented based on the data flow synchronization communication method among a plurality of subsystems in an embedded system as claimed in any one of claims 1 to 4, comprising: the system comprises a demand analysis module, a communication protocol selection module, a data transmission interface design module, a data communication module and a test and debug module;
The demand analysis module is used for analyzing the demand and the data transmission demand among the subsystems of the embedded system and determining the performance index of the data transmission;
the communication protocol selection module is used for selecting a proper communication protocol according to the result of the demand analysis;
the data transmission interface design module is used for designing data transmission interfaces among all subsystems;
the data communication module is used for completing data transmission among all subsystems in the embedded system by utilizing error rate compensation, optimal channel selection and system throughput optimization according to the design of a data transmission interface;
the testing and debugging module is used for testing and debugging the data transmission module, and ensuring that the system performance requirement is met.
6. The system for synchronizing data streams among a plurality of subsystems in an embedded system according to claim 5, wherein the data communication module comprises an error rate compensation unit for compensating errors occurring during transmission of data streams among the subsystems in the embedded system, an optimal channel selection unit for selecting an optimal communication channel among the subsystems in the embedded system, and a system throughput optimization unit for optimizing throughput of the subsystems in the embedded system.
7. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method for data flow synchronous communication between a plurality of subsystems in an embedded system as claimed in any one of claims 1-4.
8. A computer readable storage medium having stored thereon computer instructions which when run perform the steps of the method of data stream synchronized communication between a plurality of subsystems in an embedded system as claimed in any one of claims 1-4.
CN202311625922.7A 2023-11-30 2023-11-30 Method and system for synchronous communication of data streams among multiple subsystems in embedded system Active CN117527830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311625922.7A CN117527830B (en) 2023-11-30 2023-11-30 Method and system for synchronous communication of data streams among multiple subsystems in embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311625922.7A CN117527830B (en) 2023-11-30 2023-11-30 Method and system for synchronous communication of data streams among multiple subsystems in embedded system

Publications (2)

Publication Number Publication Date
CN117527830A CN117527830A (en) 2024-02-06
CN117527830B true CN117527830B (en) 2024-04-30

Family

ID=89760722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311625922.7A Active CN117527830B (en) 2023-11-30 2023-11-30 Method and system for synchronous communication of data streams among multiple subsystems in embedded system

Country Status (1)

Country Link
CN (1) CN117527830B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277447A (en) * 2020-05-08 2020-06-12 北京东方通科技股份有限公司 Method and system for carrying out weight sequencing on multi-channel link
CN113473505A (en) * 2021-07-05 2021-10-01 华中科技大学 Multilink synchronous access throughput optimization method, system terminal and medium
TWI741619B (en) * 2020-05-26 2021-10-01 國立中山大學 Method of parameter estimation for a mimo system based on deep learning
CN115474063A (en) * 2022-10-27 2022-12-13 中诚华隆计算机技术有限公司 Streaming media back-end decoding method, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277447A (en) * 2020-05-08 2020-06-12 北京东方通科技股份有限公司 Method and system for carrying out weight sequencing on multi-channel link
TWI741619B (en) * 2020-05-26 2021-10-01 國立中山大學 Method of parameter estimation for a mimo system based on deep learning
CN113473505A (en) * 2021-07-05 2021-10-01 华中科技大学 Multilink synchronous access throughput optimization method, system terminal and medium
CN115474063A (en) * 2022-10-27 2022-12-13 中诚华隆计算机技术有限公司 Streaming media back-end decoding method, device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多带UWB优先级竞争接入饱和吞吐量优化方法;田锦;徐平平;毕光国;;通信学报;20110225(第02期);全文 *

Also Published As

Publication number Publication date
CN117527830A (en) 2024-02-06

Similar Documents

Publication Publication Date Title
Liu et al. A new queueing model for QoS analysis of IEEE 802.11 DCF with finite buffer and load
US11637440B2 (en) Battery management system, and method and apparatus for transmitting information
JP2016201794A (en) Fault detection device, method and system
KR101627885B1 (en) Device and method for computation of channel loss rate and collision loss rate of communication link(s) in a random access network
CN111835579B (en) Method and system for testing effectiveness of network traffic scheduling simulation
JP5715537B2 (en) Wireless LAN sensing device, wireless LAN station, and program
CN117527830B (en) Method and system for synchronous communication of data streams among multiple subsystems in embedded system
CN111682966B (en) Network communication device with fault active reporting function, system and method thereof
CN102932820A (en) Link processing method, device and system
CN107257265A (en) Real-time transmission data stream forward error correction, equipment and storage medium
CN109120479B (en) Network throughput testing method based on network message format
CN101500253B (en) Test system and method for base station uplink transmission channel performance
CN112003816A (en) Data transmission method, device, equipment and storage medium
EP2907254B1 (en) Communication system with flexible repeat-response mechanism and method of operation thereof
JP5736612B2 (en) Quick MAP recovery method in case of error in MoCA
CN114157674B (en) Wireless communication method, device, system, server and medium
WO2021117230A1 (en) Wireless frame estimation device, system, method, program, and recording medium
CN108334424B (en) Method for filtering redundant data of network communication management platform based on LPWAN technology
KR20140142276A (en) Communication device and communication method
KR20220136707A (en) Apparatus and Method for Determining Optimal Number of HARQ Retransmissions based on Packet Replication in Multi-Connection Network
EP2308260A1 (en) A medium access control forwarding protocol
KR20140026527A (en) Method, apparatus and system for detectiong packet path signal degraded
CN111385064B (en) Data transmission method and device, electronic equipment and storage medium
CN117834095B (en) Method for retransmitting message, electronic equipment and storage medium
CN102301765A (en) Detection method, device and system of transmission between controller and base station

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant