Simulation data transmission method and device

By using multiple memory slices for sequential cyclic storage and communication testing in real-time simulation communication, the problem of difficult to take into account transmission efficiency, reliability and flexibility in the prior art is solved, and efficient and reliable simulation data transmission is achieved.

CN119356619BActive Publication Date: 2025-04-15KAIYUN LIANCHUANG (BEIJING) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411909465.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-15
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

The prior art is difficult to take into account transmission efficiency, reliability and flexibility in real-time simulation communication, especially when facing complex and changing network environments and diversified terminal equipment, it is easy to cause network oscillation and difficult to meet the high real-time requirements of simulation data.

Method used

The operation data of the simulation device is stored sequentially by multiple preset memory slices to determine the corresponding simulation data; conduct communication tests based on the initial transmission parameters transmitted from the data receiver to determine the optimal transmission parameters; send simulation data based on the optimal transmission parameters, and judge whether it is repeated through the response signal. If it is repeated, the transmission will be suspended and retransmitted, and if it is not repeated, the transmission will continue.

Benefits of technology

It improves the efficiency and reliability of simulation data transmission, avoids packet loss, realizes real-time simulation, and meets the requirements of efficient and reliable simulation transmission in the simulation field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356619B_ABST
    Figure CN119356619B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a simulation data transmission method and device, the method comprising: sequentially and cyclically storing the operation data of the simulation device through multiple memory chips to determine the corresponding simulation data; performing a communication test operation according to the initial transmission parameters transmitted from the data receiving end, so that the data receiving end determines the corresponding optimal transmission parameters; sending the simulation data to the data receiving end in sequence according to the optimal transmission parameters, so that after the data receiving end receives the simulation data, it determines the corresponding response signal according to the simulation data; receiving the response signal, determining whether the response signal is repeated, if repeated, suspending the sending operation according to a preset blocking window, and performing a data retransmission operation on the data receiving end according to the response signal and the simulation data stored in the memory chip, if not repeated, performing a sequential sending operation according to the preset sliding window and the response signal until the data transmission is completed. The present application can improve the efficiency and reliability of simulation data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a simulation data transmission method and device. Background Art

[0002] With the continuous development of simulation technology, real-time simulation systems are increasingly used in different fields, such as aerospace, automotive engineering, electronic design, etc. In the application of real-time simulation systems, efficient and reliable communication mechanisms are the key to ensuring stable operation of the system.

[0003] Traditional communication protocols use fixed window sizes or feedback mechanisms based on packet loss rates to adjust the sending rate. Although traditional methods are very effective in many application scenarios, in the field of real-time simulation communications, this method responds slowly when faced with complex and changing network environments and diverse terminal devices, and is prone to network oscillations, making it difficult to balance transmission efficiency, reliability, and flexibility. At the same time, since the transmitted simulation data has large data volumes and high real-time requirements, traditional storage technologies often cannot meet these requirements, which will lead to a decrease in simulation performance.

[0004] Based on the above points, in the field of real-time simulation, existing technical solutions cannot adapt to the diversity of network environments and equipment capabilities during simulation data transmission, nor can they guarantee smooth storage of simulation data, resulting in frequent packet loss, making it impossible to achieve real-time simulation, and unable to meet the requirements of the simulation field for efficient and reliable simulation transmission. Summary of the invention

[0005] In view of the problems in the prior art, the present application provides a simulation data transmission method and device, which can improve the efficiency and reliability of simulation data transmission.

[0006] In order to solve at least one of the above problems, the present application provides the following technical solutions:

[0007] In a first aspect, the present application provides a simulation data transmission method, comprising:

[0008] receiving the operation data of the simulation device, and performing sequential cyclic storage operations on the operation data according to a plurality of preset memory slices to determine corresponding simulation data;

[0009] Receiving initial transmission parameters from the data receiving end, and performing a communication test operation on the data receiving end according to the initial transmission parameters, so that the data receiving end determines a corresponding communication index according to test data obtained after the communication test operation, and determines a corresponding optimal transmission parameter according to the communication index and a set index model;

[0010] Receiving the optimal transmission parameter transmitted by the data receiving end, and sending the simulation data to the data receiving end in sequence according to the optimal transmission parameter, so that after the data receiving end receives the simulation data, it determines a corresponding response signal according to the simulation data;

[0011] Receive the response signal, determine whether the response signal is repeated, if it is repeated, suspend the sending operation according to a preset blocking window, and resend the data to the data receiving end according to the response signal and the simulation data stored in the memory chip; if it is not repeated, perform sequential sending operations according to the preset sliding window and the response signal until the data transmission is completed.

[0012] Further, the performing a communication test operation on the data receiving end according to the initial transmission parameters includes:

[0013] Determine a corresponding plurality of transmission parameter sample combinations according to the initial transmission parameter and a preset sample threshold;

[0014] A communication test operation is performed on the data receiving end according to the multiple transmission parameter sample combinations respectively.

[0015] Further, before determining the corresponding optimal transmission parameters according to the communication index and the setting index model, it includes:

[0016] An abstract model construction operation is performed according to a preset communication throughput index and a preset communication packet loss rate index to determine a corresponding communication total index model;

[0017] An abstract model construction operation is performed according to a preset communication transmission efficiency index, a preset communication delay index, and a preset communication processing capability index to determine a corresponding comprehensive performance index model.

[0018] Further, the determining of the corresponding optimal transmission parameters according to the communication index and the set index model includes:

[0019] Perform a weight calculation operation on the communication total index model according to a preset entropy weight method and the communication index to determine a specific formula of the corresponding communication total index model;

[0020] Perform a fitting operation on the comprehensive performance index model according to a preset least squares algorithm, the communication index and a specific formula of the communication total index model to determine the corresponding specific formula of the comprehensive performance index model;

[0021] The specific formula of the comprehensive performance indicator model is iterated according to a preset gradient ascent algorithm to determine the corresponding optimal transmission parameters.

[0022] Further, the operation of sending the simulation data to the data receiving end in sequence according to the optimal transmission parameter includes:

[0023] Determine whether the maximum transmission unit value in the optimal transmission parameter is greater than a preset value, and if so, perform a check data adding operation on the simulation data according to a preset cyclic redundancy check algorithm, and send the simulation data obtained after the check data adding operation to the data receiving end in sequence according to the frame interval in the optimal transmission parameter;

[0024] If it is not greater than, the simulation data is sent to the data receiving end in sequence according to the frame interval in the optimal transmission parameter.

[0025] Further, determining the corresponding response signal according to the simulation data includes:

[0026] Determine whether the serial numbers of the simulation data are continuous, and if so, perform a response signal generation operation in increasing order to determine a corresponding response signal;

[0027] If not, a response signal generation operation is performed according to the missing sequence number in the simulation data to determine the corresponding response signal.

[0028] Further, after receiving the response signal, the method further includes:

[0029] Determining whether the response signal is continuous;

[0030] If not, a data retransmission operation is performed on the data receiving end according to the largest response signal and the simulation data stored in the memory chip.

[0031] Further, the sequentially cyclically storing the operating data according to the plurality of preset memory slices to determine the corresponding simulation data includes:

[0032] According to a preset response signal rule, determining whether the historical operation data in a plurality of preset memory slices has been successfully transmitted;

[0033] If so, performing a data overwriting operation on the historical operation data according to the received operation data of the simulation device to determine the corresponding simulation data;

[0034] If not, the corresponding simulation data is determined according to the response signal rule and the historical operation data.

[0035] In a second aspect, the present application provides a simulated data transmission device, comprising:

[0036] A simulation data determination module, used for receiving operation data of a simulation device, performing sequential cyclic storage operations on the operation data according to a plurality of preset memory slices, and determining corresponding simulation data;

[0037] An optimal transmission parameter determination module, used for receiving initial transmission parameters from a data receiving end, performing a communication test operation on the data receiving end according to the initial transmission parameters, so that the data receiving end determines a corresponding communication index according to test data obtained after the communication test operation, and determines a corresponding optimal transmission parameter according to the communication index and a set index model;

[0038] A data transmission module, used for receiving the optimal transmission parameters transmitted from the data receiving end, and sending the simulation data to the data receiving end in sequence according to the optimal transmission parameters, so that after the data receiving end receives the simulation data, it determines a corresponding response signal according to the simulation data;

[0039] The cumulative response module is used to receive the response signal and determine whether the response signal is repeated. If it is repeated, the sending operation is suspended according to a preset blocking window, and the data receiving end is retransmitted according to the response signal and the simulation data stored in the memory chip. If it is not repeated, a sequential sending operation is performed according to a preset sliding window and the response signal until the data transmission is completed.

[0040] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the simulated data transmission method when executing the program.

[0041] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the simulated data transmission method when executed by a processor.

[0042] In a fifth aspect, the present application provides a computer program product, including a computer program / instruction, which implements the steps of the simulated data transmission method when executed by a processor.

[0043] It can be seen from the above technical scheme that the present application provides a simulation data transmission method and device, which sequentially and cyclically stores the operating data of the simulation device through multiple memory chips to determine the corresponding simulation data; performs a communication test operation according to the initial transmission parameters transmitted from the data receiving end, so that the data receiving end determines the corresponding optimal transmission parameters; sends the simulation data to the data receiving end in sequence according to the optimal transmission parameters, so that after the data receiving end receives the simulation data, it determines the corresponding response signal according to the simulation data; receives the response signal, and determines whether the response signal is repeated. If it is repeated, the sending operation is suspended according to the preset blocking window, and the data receiving end is retransmitted according to the response signal and the simulation data stored in the memory chip. If it is not repeated, the sequential sending operation is performed according to the preset sliding window and the response signal until the data transmission is completed, thereby improving the efficiency and reliability of the simulation data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0045] Figure 1 This is one of the flowcharts of the simulation data transmission method in the embodiment of the present application;

[0046] Figure 2 This is a second flow chart of the simulation data transmission method in the embodiment of the present application;

[0047] Figure 3 This is a third flow chart of the simulation data transmission method in the embodiment of the present application;

[0048] Figure 4 This is a fourth flow chart of the simulation data transmission method in the embodiment of the present application;

[0049] Figure 5 This is a fifth flow chart of the simulation data transmission method in the embodiment of the present application;

[0050] Figure 6 This is a sixth flow chart of the simulation data transmission method in the embodiment of the present application;

[0051] Figure 7 FIG7 is a flowchart of the simulation data transmission method in the embodiment of the present application;

[0052] Figure 8 FIG8 is a flowchart of a simulation data transmission method in an embodiment of the present application;

[0053] Fig. 9 A structural diagram of a simulated data transmission device in an embodiment of the present application;

[0054] Fig.10 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application.

[0055] Reference numerals:

[0056] Electronic device 9600, central processing unit 9100, memory 9140, communication module 9110, input unit 9120, audio processor 9130, display 9160, power supply 9170, buffer memory 9141, application / function storage unit 9142, data storage unit 9143, driver program storage unit 9144, antenna 9111, speaker 9131, microphone 9132. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0058] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0059] Considering that in the field of real-time simulation, the existing technical solutions cannot adapt to the diversity of network environment and equipment capabilities during simulation data transmission, nor can they ensure smooth storage of simulation data, resulting in frequent packet loss, unable to achieve real-time simulation, and unable to meet the requirements of the simulation field for efficient and reliable simulation transmission. The present application provides a simulation data transmission method and device, which sequentially and cyclically stores the operation data of the simulation device through multiple memory chips to determine the corresponding simulation data; performs a communication test operation according to the initial transmission parameters transmitted from the data receiving end, so that the data receiving end determines the corresponding optimal transmission parameters; sends the simulation data to the data receiving end in sequence according to the optimal transmission parameters, so that after the data receiving end receives the simulation data, it determines the corresponding response signal according to the simulation data; receives the response signal, determines whether the response signal is repeated, if repeated, suspends the sending operation according to the preset blocking window, and performs data retransmission operation on the data receiving end according to the response signal and the simulation data stored in the memory chip, if not repeated, performs sequential sending operation according to the preset sliding window and the response signal, until the data transmission is completed, thereby improving the efficiency and reliability of simulation data transmission.

[0060] In order to improve the efficiency and reliability of simulated data transmission, the present application provides an embodiment of a simulated data transmission method, see Figure 1 The simulation data transmission method specifically includes the following contents:

[0061] Step S101: receiving the operation data of the simulation device, and performing sequential cyclic storage operations on the operation data according to a plurality of preset memory slices to determine corresponding simulation data;

[0062] Optionally, in this embodiment, the purpose of this step is that the data sending end uses an adaptive cache mechanism to use an overwriteable memory to sequentially and cyclically store the simulation data to avoid frame loss of the simulation data.

[0063] Optionally, in this embodiment, the preset memory chip uses DDR SDRAM. The simulation data sending end A has multiple DDR SDRAMs, which are used to send simulation data to the simulation data receiving end B, that is, the simulation host.

[0064] Optionally, in this embodiment, sequential loop storage is performed.

[0065] The multiple DDR SDRAMs of the simulation data transmitter A respectively store the historical simulation data transmitted by the upstream simulation device, and send these simulation data to the simulation data receiver B in sequence. Under normal circumstances, after the simulation data is sent successfully, the new data will sequentially replace the successfully sent data.

[0066] However, when packet loss occurs, the sender A determines that it needs to stop sending data to the receiver B, but the upstream simulation device is still transmitting new data to be sent to the sender A; when the sender A receives the running data of the device to be sent, the onboard multi-chip DDR SDRAM adopts a sequential overwriting cycle read-write strategy, which determines which DDR SDRAMs belong to overwritable memory, and stores these data to be sent in the overwritable memory in sequence as simulation data to be sent to the receiver B. In terms of effect, through the adaptive cache mechanism, the simulation data frame loss is avoided in the case of network transmission congestion, the simulation data flow from the front-end simulation device to the receiving host is smoothed, and the accuracy and integrity of the data collected by the simulation device are guaranteed.

[0067] Optionally, in this embodiment, the transmitted simulation data includes a primary sequence number and a secondary sequence number, the primary sequence number is used to identify a complete data block of the simulation data, and the secondary sequence number is used to identify the position of each data packet in the complete data block.

[0068] Specifically, a simulation data is stored as a data block in a DDR SDRAM. If you want to transmit this complete data block, divide it into several data payload packets. When transmitting a data block, first transmit the payload packet of this data packet, then transmit several data payload packets in sequence, and finally transmit the tail packet. These three packets have their own secondary sequence numbers. The first-level sequence number indicates the current data block to which it belongs, and the second-level sequence number indicates the number of the data packet to which it belongs. The data payload packets are collected by the simulation device CPU from various types of simulation modules at the front end and stored in the DDR SDRAM. The head packet and tail packet are generated by the CPU according to the current transmission data block grouping.

[0069] For example, simulation device A (sender) generates a frame of simulation data, the data packet sequence number is from 0 to N+1, N+2 data packets, of which the 0th data packet is the head packet and the N+2th data packet is the tail packet. The middle 1 to N data packets are the main data blocks.

[0070] Step S102: receiving the initial transmission parameters transmitted by the data receiving end, and performing a communication test operation on the data receiving end according to the initial transmission parameters, so that the data receiving end determines a corresponding communication index according to the test data obtained after the communication test operation, and determines a corresponding optimal transmission parameter according to the communication index and a set index model;

[0071] Optionally, in this embodiment, the purpose of this step is to allow the data sending end A and the data receiving end B to pre-negotiate before formal communication, and the data receiving end B determines the optimal transmission parameters. This process takes into account the actual conditions of the network and the real-time processing capabilities of the terminal equipment, thereby achieving more flexible and adaptable communication.

[0072] Optionally, in this embodiment, the transmission parameters include a maximum transmission unit MTU of a data packet and an inter-frame gap IFG.

[0073] Optionally, in this embodiment, the initial transmission parameter, the initial value of the maximum transmission unit MTU takes into account the cache size of the data receiving end B, and its value is a multiple of the maximum 128 bytes contained by half of the maximum value of the receiving end's cache. For example, if the receiving end's cache is 4096 bytes, the initial value of the data packet maximum transmission unit MTU test is 2048; the initial value of the frame interval IFG is 12 bytes, because the Ethernet standard IEEE 802.3 stipulates that the minimum frame interval is 12 bytes. After determining the initial transmission parameters, the data receiving end B transmits the initial value to the data sending end A.

[0074] Optionally, in this embodiment, the data sending end A first uses the initial values ​​of the maximum transmission unit MTU of the data packet and the frame interval IFG as the first sample group, and transmits data to the data receiving end B with the first sample group, so that the data receiving end B obtains the test data under the sample group, and then, the sending end A gradually decreases the MTU value with a step size of 128 bytes according to the initial maximum transmission unit value, and takes a minimum size of 128 bytes to determine multiple MTU samples; the sending end A increases the initial frame interval IFG by 1 byte, and takes a maximum of 20 bytes to determine multiple IFG samples, and each MTU sample (M) and the corresponding time interval (g) are respectively combined into a sample group (M, g), and preferably, each group (M, g) is tested 2 times 16 times, so that the data receiving end B obtains the test data of each sample group.

[0075] For example, the sample group may be (2048, 12), (2048, 13) ... (2048, 20) ... (128, 12), (128, 13) ... (2048, 20).

[0076] The test data includes:

[0077] L: The total amount of data to be transmitted (bytes)

[0078] M: Maximum transmission unit of application layer data packets (MTU, bytes)

[0079] H0: Total Ethernet protocol overhead outside the application layer (bytes)

[0080] H: Application layer packet header size (bytes)

[0081] t: Each Ethernet frame transmission time (seconds)

[0082] p: Each Ethernet frame processing time (seconds)

[0083] B: Network bandwidth (bytes / second)

[0084] g: Minimum time interval between Ethernet frames (IFG, bytes)

[0085] q: number of packets received

[0086] Optionally, in this embodiment, after the data receiving end B obtains the above test data, it obtains the communication index through the index model and the test data. The communication index model is:

[0087] Specifically, the communication throughput T represents the amount of data successfully transmitted by the network per unit time. The calculation of throughput depends on the transmission and reception process of data packets, that is:

[0088] T=R (M+H), .

[0089] Specifically, the communication packet loss rate L represents the ratio of the number of data packets lost during the transmission process to the total number of data packets sent, that is, L = number of lost data packets / total number of sent data packets.

[0090] It can be understood that the communication throughput T and the communication packet loss rate L are obtained by experimentally measuring the amount of data successfully transmitted and the number of lost data packets during network transmission.

[0091] Specifically, the communication transmission efficiency E, constructs a communication transmission efficiency model:

[0092] The transmission efficiency E is defined as the ratio of the amount of effective data transmitted to the total amount of data transmitted.

[0093] Total number of Ethernet frames N:

[0094]

[0095] Total amount of data transmitted T:

[0096]

[0097] Transmission efficiency E:

[0098]

[0099] Specifically, the communication delay D, builds the communication delay model:

[0100] The total delay D includes transmission time and processing time, as well as the minimum time interval between Ethernet frames.

[0101] Total transmission time T t :

[0102]

[0103] Total processing time T p :

[0104]

[0105] Total Ethernet frame interval IFG time T g :

[0106]

[0107] Total delay D:

[0108]

[0109] Specifically, the communication processing capability R, constructs the communication processing capability model:

[0110] The processing capacity is expressed as the number of Ethernet frames that can be processed per second. The number of Ethernet frames that can be processed per second R:

[0111]

[0112] After constructing the above-mentioned communication throughput formula, communication packet loss rate formula, communication transmission efficiency model, communication delay model and communication processing capacity model, the actual test data of each sample group obtained by the data receiving end B is substituted into each formula and model to obtain the corresponding communication throughput index T, communication packet loss rate index L, communication transmission efficiency index E, communication delay index D and communication processing capacity index R.

[0113] After obtaining the above indicators, two comprehensive performance models are constructed to obtain the optimal transmission parameters:

[0114] Comprehensive performance index model Y0, in order to comprehensively consider transmission efficiency, delay and processing capacity, defines a comprehensive performance index. This index is a weighted average. The weight of transmission efficiency is: W1; the weight of delay is: W2; the weight of processing capacity is: W3. Comprehensive performance index Y0:

[0115]

[0116] Among them, E, D, and R are the above-mentioned communication transmission efficiency index, communication delay index, and communication processing capability index respectively.

[0117] The total index model Y1, because the throughput T and packet loss rate L can also comprehensively reflect the impact of the three dimensions of transmission efficiency, delay, and processing capacity in Y0 on communication performance, a total index Y1 is defined:

[0118] .

[0119] According to the entropy weight method, the weight E of the above total index model Y1 is calculated T and W L , so as to obtain the specific Y1 formula, and use the Y1 formula to calculate the value of Y1 under a certain sample (M, g). Within a certain range, Y0 and Y1 can be considered equivalent, and the value of Y1 is assigned to Y0.

[0120] At this time, the value of Y0 and the test data corresponding to the value of Y0 are known, and the specific values ​​of the E, D, and R indicators are obtained based on the test data and the indicator model. The specific Y0 formula is obtained according to the least squares method, and the Y0 formula is iterated according to the gradient ascent algorithm to finally obtain the optimal transmission parameters.

[0121] Step S103: receiving the optimal transmission parameter transmitted by the data receiving end, and sending the simulation data to the data receiving end in sequence according to the optimal transmission parameter, so that after the data receiving end receives the simulation data, it determines a corresponding response signal according to the simulation data;

[0122] Optionally, in this embodiment, the purpose of this step is to increase the transmission efficiency of simulation data through a cumulative response mechanism.

[0123] Optionally, in this embodiment, the sending end A continuously sends simulation data according to the optimal frame interval IFG negotiated in the previous stage, and the receiving end B returns a response signal each time it receives a data packet. The response signal includes the secondary sequence number of the next data packet expected to be received. The sending end A will accept the expected response signal from the receiving end B, and continuously push the sliding blocking window forward according to the sequence number, thereby allowing the sending end to send new data packets.

[0124] Step S104: Receive the response signal, determine whether the response signal is repeated, if it is repeated, suspend the sending operation according to the preset blocking window, and resend the data to the data receiving end according to the response signal and the simulation data stored in the memory chip, if it is not repeated, perform sequential sending operations according to the preset sliding window and the response signal until the data transmission is completed.

[0125] Optionally, in this embodiment, the purpose of this step is to achieve efficient transmission of simulation data, prevent packet loss, and smooth storage of simulation data through the cooperation of sliding blocking window, adaptive cache and cumulative response mechanism.

[0126] Optionally, in this embodiment, the transmitting end A needs to determine the response signal returned by the receiving end B to determine whether the response signal is missing or repeated.

[0127] Optionally, if the response signal is missing (discontinuous), it means that the response packet may be lost, resulting in the sender A not receiving the expected response. When the sender A finds that the response packet is lost, it will start to monitor the sequence numbers in the subsequent response packets received. The sender A will record and compare the sequence numbers in each response packet to find the largest sequence number. By comparing the maximum sequence number with the sequence number range of the sent data packets, the sender A can infer the data packet sequence number corresponding to the response packet that may be lost.

[0128] For example, assume that sender A has sent the following data packets in order, with sequence numbers 1, 2, 3, 4, and 5:

[0129] Data packet 1 (sequence number 1) is successfully received, and receiver B sends a response packet, expecting to receive data packet with sequence number 2.

[0130] Packet 2 (sequence number 2) is also received successfully, but the corresponding ACK packet is lost.

[0131] Data packet 3 (sequence number 3) and data packet 4 (sequence number 4) are successfully received, and receiver B sends a response packet. However, since the response packet for data packet 2 is lost, sender A only receives the response packets with expected sequence numbers 3 and 4.

[0132] Packet 5 (sequence number 5) is also sent, but at this point sender A notices a problem: it has not received the response packet for sequence number 2, but has received the response packets for sequence numbers 3 and 4.

[0133] In this case, sender A will begin to suspect that the response packet of data packet 2 may be lost. To confirm this, it will continue to monitor the subsequent response packets received. If it does not receive the response packet with the expected sequence number 2, but directly receives the response packet with the expected higher sequence number (such as sequence number 6 or higher), then sender A can determine that the response packet of data packet 2 is indeed lost.

[0134] Once the acknowledgement packet is confirmed to be lost, sender A can take appropriate measures, such as resending data packet 2, to ensure the integrity and order of the data. In this way, even when the network is unstable or the acknowledgement packet may be lost, sender A can effectively manage the data transmission process and ensure the accurate delivery of data.

[0135] Optionally, if the response signal is repeated, it means that the simulation data packet may be lost. When the sender receives two identical expected response packets, it is judged as an abnormal situation such as data packet loss or network congestion. At this time, the sender will read back the missing data according to the response signal and retransmit it.

[0136] After detecting an abnormal situation, the sliding blocking window stops sliding and performs the blocking function. The sequential sending logic of the data packet automatically enters the PAUSE state until the retransmission ends and continues to send the data sequentially. The blocking window limits the sender A from uncontrolled burst transmission of data when the receiver B is congested, avoiding the cumulative congestion of the flow channel.

[0137] During the retransmission logic, the upstream simulation device may continue to send new data to the transmitter A. In order to prevent this data from accumulating in the DDR SDRAM and causing insufficient storage space, the transmitter A adopts an overwrite strategy. This means that if a data packet in a certain DDR SDRAM has been successfully sent and received a correct response from the simulation host, the space in this DDR SDRAM can be overwritten and used by the newly incoming data. In this way, even if device A is processing the retransmission logic, it can ensure that the newly incoming simulation data will not be discarded, thereby avoiding the frame loss of simulation data.

[0138] Specifically, in the correct response mode, the sending end A receives the header packet ACK of the next data block of a certain simulation data block of the receiving end B, which means that the receiving end B has completely received the simulation data block, and the DDR SDRAM storing this data block can be overwritten by the new simulation input data.

[0139] This example demonstrates how this embodiment implements simulated data transmission through communication pre-negotiation, sliding blocking window mechanism, adaptive cache and cumulative response mechanism, thereby increasing the efficiency and reliability of simulated data transmission.

[0140] From the above description, it can be seen that the simulation data transmission method provided in the embodiment of the present application can sequentially and cyclically store the operating data of the simulation device through multiple memory chips to determine the corresponding simulation data; perform communication test operations according to the initial transmission parameters transmitted from the data receiving end, so that the data receiving end determines the corresponding optimal transmission parameters; send the simulation data to the data receiving end in sequence according to the optimal transmission parameters, so that after the data receiving end receives the simulation data, it determines the corresponding response signal according to the simulation data; receive the response signal, and determine whether the response signal is repeated. If it is repeated, suspend the sending operation according to the preset blocking window, and resend the data to the data receiving end according to the response signal and the simulation data stored in the memory chip. If it is not repeated, perform sequential sending operations according to the preset sliding window and the response signal until the data transmission is completed, thereby improving the efficiency and reliability of the simulation data transmission.

[0141] In one embodiment of the simulation data transmission method of the present application, see Figure 2 , and can also include the following:

[0142] Step S201: determining a plurality of corresponding transmission parameter sample combinations according to the initial transmission parameters and a preset sample threshold;

[0143] Step S202: performing communication test operations on the data receiving end respectively according to the plurality of transmission parameter sample combinations.

[0144] Optionally, in this embodiment, the transmission parameters include a maximum transmission unit MTU of a data packet and an inter-frame gap IFG.

[0145] Optionally, in this embodiment, the initial transmission parameter, the initial value of the maximum transmission unit MTU takes into account the cache size of the data receiving end B, and its value is a multiple of the maximum 128 bytes contained by half of the maximum value of the receiving end's cache. For example, if the receiving end's cache is 4096 bytes, the initial value of the data packet maximum transmission unit MTU test is 2048; the initial value of the frame interval IFG is 12 bytes, because the Ethernet standard IEEE 802.3 stipulates that the minimum frame interval is 12 bytes. After determining the initial transmission parameters, the data receiving end B transmits the initial value to the data sending end A.

[0146] Optionally, in this embodiment, the data sending end A first uses the initial values ​​of the maximum transmission unit MTU of the data packet and the frame interval IFG as the first sample group, and transmits data to the data receiving end B with the first sample group, so that the data receiving end B obtains the test data under the sample group, and then, the sending end A gradually decreases the MTU value with a step size of 128 bytes according to the initial maximum transmission unit value, and takes a minimum size of 128 bytes to determine multiple MTU samples; the sending end A increases the initial frame interval IFG by 1 byte, and takes a maximum of 20 bytes to determine multiple IFG samples, and each MTU sample (M) and the corresponding time interval (g) are respectively combined into a sample group (M, g), and preferably, each group (M, g) is tested 2 times 16 times, so that the data receiving end B obtains the test data of each sample group.

[0147] For example, the sample group may be (2048, 12), (2048, 13) ... (2048, 20) ... (128, 12), (128, 13) ... (2048, 20).

[0148] It is understandable that IFG is preferably in the range of 12 bytes to 20 bytes. Actual tests have shown that the frame interval within this range has a significant impact on network throughput and latency. A smaller frame interval can improve throughput, but a too small frame interval will increase the probability of collision; a larger frame interval will increase latency, but can reduce device processing pressure and packet loss rate. 20 bytes, as a relatively large value, can provide enough data points to evaluate the impact of different frame intervals on network performance, while avoiding waste of resources caused by excessive frame intervals. Therefore, it is scientific and reasonable to choose a range of 12 bytes to 20 bytes for testing.

[0149] Through step S202, this embodiment successfully constructs a communication test sample group, laying a solid foundation for subsequent communication testing and obtaining optimal communication transmission parameters.

[0150] In one embodiment of the simulation data transmission method of the present application, see Figure 3 , and can also include the following:

[0151] Step S301: performing an abstract model construction operation according to a preset communication throughput index and a preset communication packet loss rate index to determine a corresponding communication total index model;

[0152] Step S302: performing an abstract model construction operation according to a preset communication transmission efficiency index, a preset communication delay index, and a preset communication processing capability index to determine a corresponding comprehensive performance index model.

[0153] Optionally, in this embodiment, the total index model Y1, because the throughput T and the packet loss rate L can comprehensively reflect the impact of communication performance, defines a total index Y1:

[0154] .

[0155] Optionally, in this embodiment, in order to comprehensively consider transmission efficiency, delay and processing capacity, a comprehensive performance index is defined. This index is a weighted average. The weight of transmission efficiency is: W1; the weight of delay is: W2; the weight of processing capacity is: W3. Comprehensive performance index Y0:

[0156]

[0157] Among them, E, D, and R are communication transmission efficiency indicators, communication delay indicators, and communication processing capability indicators respectively.

[0158] Through step S302, the present embodiment successfully constructs the abstract model, laying a solid foundation for subsequently solving the optimal communication transmission parameters through real test data and two abstract models.

[0159] In one embodiment of the simulation data transmission method of the present application, see Figure 4 , and can also include the following:

[0160] Step S401: performing a weight calculation operation on the communication total index model according to a preset entropy weight method and the communication index to determine a specific formula of the corresponding communication total index model;

[0161] Step S402: performing a fitting operation on the comprehensive performance index model according to a preset least squares algorithm, the communication index and a specific formula of the communication total index model, and determining a corresponding specific formula of the comprehensive performance index model;

[0162] Step S403: performing an iterative operation on the specific formula of the comprehensive performance indicator model according to a preset gradient ascent algorithm to determine the corresponding optimal transmission parameters.

[0163] Optionally, this step is the process of solving the optimal parameters through two models.

[0164] Specifically, the weight E of the above total index model Y1 is calculated according to the entropy weight method. T and W L .

[0165] Entropy is a physical concept in thermodynamics. It is a measure of the degree of chaos or disorder in a system. The larger the entropy, the more chaotic the system is (i.e., the less information it carries), and the smaller the entropy, the more ordered the system is (i.e., the more information it carries). Information entropy formula:

[0166]

[0167] Where H is the information entropy, q is the number of source messages, It is the message x i Probability of occurrence.

[0168] According to the definition of information entropy, for a certain indicator, the entropy value can be used to judge the degree of dispersion of a certain indicator. The smaller the information entropy value, the greater the degree of dispersion of the indicator, and the greater the impact of the indicator on the comprehensive evaluation (i.e., weight). If the values ​​of a certain indicator are all equal, then the indicator has no effect in the comprehensive evaluation. Therefore, the information entropy tool can be used to calculate the weight of each indicator and provide a basis for the comprehensive evaluation of multiple indicators.

[0169] For n samples and m indicators, let the value of the jth indicator representing the i-th sample be X ij Since the dimensions of various indicators are not consistent, the range transformation method is used for normalization before calculation to make heterogeneous indicators homogeneous. For positive indicators such as throughput T and negative indicators such as packet loss rate L, differential processing is adopted. For convenience, the normalized data is still recorded as X ij .

[0170] Positive indicators:

[0171]

[0172] Negative indicators:

[0173]

[0174] After normalizing the data in the table, calculate the weight of the j-th indicator sample value in turn:

[0175]

[0176] Calculate the entropy value of the j-th indicator, where ,satisfy :

[0177]

[0178] The weight of each indicator is calculated by the information entropy of each indicator, where K refers to the number of indicators, that is, K=m:

[0179]

[0180] Get the weight W T and W L After that, we can get the specific Y1 formula:

[0181]

[0182] Specifically, after obtaining the specific Y1 formula, the value of Y1 under a certain sample (M, g) is calculated by the Y1 formula. Within a certain range, Y0 and Y1 can be considered equivalent, and the value of Y1 is assigned to Y0. From the comprehensive performance indicators:

[0183]

[0184] At this point, the value of Y0 and the test data corresponding to the value of Y0 are known, and the specific values ​​of the E, D, and R indicators are obtained based on the test data and the indicator model.

[0185] Construct a data matrix from the statistical samples:

[0186]

[0187] The target vector Y0 is constructed from the statistical samples.

[0188] When the following conditions are met, the specific value of the weight is obtained:

[0189]

[0190] At this time, the expression of Y0 can minimize the sum of squared errors. The sum of squared errors is:

[0191]

[0192] At this point, the objective function has a specific form, namely the comprehensive performance formula:

[0193]

[0194] Optionally, in this embodiment, the comprehensive performance formula is iterated according to a preset gradient ascent algorithm to determine the corresponding optimal comprehensive performance indicator.

[0195] Specifically, calculate the gradient of the objective function with respect to M and g:

[0196]

[0197] in:

[0198]

[0199] Select the initial MTU value and initial IFG time, set the learning rate ɑ, and perform gradient ascent update to maximize Y0:

[0200]

[0201] Repeat the above steps until Y0 converges or reaches the maximum number of iterations. Y0 at this time is used as the optimal comprehensive performance indicator, which is the optimal value after comprehensively considering transmission efficiency, delay and processing capacity. The corresponding MTU value and IFG value are obtained according to Y0 at this time. The receiving end sends the MTU value and IFG value at this time to the sending end, so that the sending end communicates with the optimal MTU value and IFG value.

[0202] Through step S403, the present embodiment successfully solves the optimal transmission parameters, laying a solid foundation for subsequently realizing efficient simulated data transmission according to the transmission parameters.

[0203] In one embodiment of the simulation data transmission method of the present application, see Figure 5 , and can also include the following:

[0204] Step S501: determining whether the maximum transmission unit value in the optimal transmission parameter is greater than a preset value; if so, performing a check data adding operation on the simulation data according to a preset cyclic redundancy check algorithm, and sending the simulation data obtained after the check data adding operation to the data receiving end in sequence according to the frame interval in the optimal transmission parameter;

[0205] Step S502: If it is not greater than, sending the simulation data to the data receiving end in sequence according to the frame interval in the optimal transmission parameter.

[0206] Optionally, in this embodiment, in order to ensure data transmission accuracy under different network transmission environments while maximizing bandwidth utilization, the header information of the application layer data packet can be dynamically adjusted, and a dynamic CRC check mechanism (Cyclic Redundancy Check) is added.

[0207] Specifically, when the MTU is 128 bytes, the protocol overhead is removed, the data volume is small enough, setting the checksum part is less cost-effective, and the packet header has no CRC check part;

[0208] When the MTU is greater than 128 bytes and less than 1024 bytes, a 16-bit CRC check is set in the packet header;

[0209] When the MTU is greater than 1024 bytes, a 32-bit CRC check part is set in the packet header. As the data volume increases, the length of the CRC check part is increased, greatly improving the accuracy of the check with a smaller protocol overhead.

[0210] It can be understood that CRC checksum generates a checksum and appends it to the data packet. The receiving end verifies the integrity of the data by recalculating the checksum. It can effectively detect data errors caused by noise, interference or other transmission problems. In terms of effect, the complexity of CRC checksum is dynamically adjusted according to the pre-negotiated network parameters and device capabilities to achieve a balance between reliability and performance.

[0211] Through step S502, this embodiment successfully implements dynamic verification of variable packet headers and balances the performance and reliability of simulation communications.

[0212] In one embodiment of the simulation data transmission method of the present application, see Figure 6 , and can also include the following:

[0213] Step S601: determining whether the serial numbers of the simulation data are continuous, and if so, performing a response signal generation operation in increasing order to determine a corresponding response signal;

[0214] Step S602: If it is not continuous, then a response signal generation operation is performed according to the missing sequence number in the simulation data to determine a corresponding response signal.

[0215] Optionally, in this embodiment, in this step, the receiving end B detects whether the secondary sequence of the simulated data packet sent by the sending end A is continuous.

[0216] Receiver B maintains an expected response sequence number register ERSN REGISTER (Expect responseserial number register). Whenever receiver B receives a data packet, register ERSN enters the logic of determining whether to self-increment. Receiver B returns a response signal based on register ERSN, which contains the secondary sequence number of the next data packet to be received. In other words, receiver B will only accept data packets that arrive in sequence, store the data in the receiving buffer in turn, and inform sender A of the sequence number of the next data packet expected to be received through a response signal. If receiver B finds that the sequence of data packets is not continuous, it will not generate the next secondary sequence number, but will continue to generate the lost secondary sequence number.

[0217] For example, the sender sends data packet 1, data packet 2, data packet 3 in sequence...

[0218] The receiving end first receives data packet 1, and then it returns a response signal to the sending end, which contains the expected data packet sequence number 2 (that is, the next sequence number of data packet 1).

[0219] After receiving the response signal, the sender knows that data packet 1 has been successfully received, so it continues to send data packet 2.

[0220] If for some reason (such as network delay or packet loss), data packet 2 does not arrive at the receiving end immediately, but the receiving end still expects to receive data packet 2 (sequence number 2), it will not increment itself, but continue to send requests for the expected data packet sequence number 2 until data packet 2 is received and stored.

[0221] This process continues until all packets are received correctly and in sequence.

[0222] Through step S602, this embodiment successfully increases the reliability and stability of data transmission by accumulating responses.

[0223] In one embodiment of the simulation data transmission method of the present application, see Figure 7 , and can also include the following:

[0224] Step S701: Determine whether the response signal is continuous;

[0225] Step S702: If it is not continuous, resending the data to the data receiving end according to the largest response signal and the simulation data stored in the memory chip.

[0226] Optionally, in this embodiment, in this step, the transmitting end A detects whether the expected secondary sequence in the response signal of the receiving end B is continuous.

[0227] If the expected secondary sequence in the response signal is not continuous, it means that the response packet may be lost, resulting in the sender A not receiving the expected response. When the sender A finds that the response packet is lost, it will start to monitor the sequence numbers in the subsequent response packets received. The sender A will record and compare the sequence numbers in each response packet to find the largest sequence number. By comparing the maximum sequence number with the sequence number range of the sent data packets, the sender A can infer the data packet sequence number corresponding to the response packet that may be lost.

[0228] For example, assume that sender A has sent the following data packets in order, with sequence numbers 1, 2, 3, 4, and 5:

[0229] Data packet 1 (sequence number 1) is successfully received, and receiver B sends a response packet, expecting to receive data packet with sequence number 2.

[0230] Packet 2 (sequence number 2) is also received successfully, but the corresponding ACK packet is lost.

[0231] Data packet 3 (sequence number 3) and data packet 4 (sequence number 4) are successfully received, and receiver B sends a response packet. However, since the response packet for data packet 2 is lost, sender A only receives the response packets with expected sequence numbers 3 and 4.

[0232] Packet 5 (sequence number 5) is also sent, but at this point sender A notices a problem: it has not received the response packet for sequence number 2, but has received the response packets for sequence numbers 3 and 4.

[0233] In this case, sender A will begin to suspect that the response packet of data packet 2 may be lost. To confirm this, it will continue to monitor the subsequent response packets received. If it does not receive the response packet with the expected sequence number 2, but directly receives the response packet with the expected higher sequence number (such as sequence number 6 or higher), then sender A can determine that the response packet of data packet 2 is indeed lost.

[0234] Once the acknowledgement packet is confirmed to be lost, sender A can take appropriate measures, such as resending data packet 2, to ensure the integrity and order of the data. In this way, even when the network is unstable or the acknowledgement packet may be lost, sender A can effectively manage the data transmission process and ensure the accurate delivery of data.

[0235] Through step S702, this embodiment successfully increases the reliability of data transmission and improves transmission efficiency by accumulating responses.

[0236] In one embodiment of the simulation data transmission method of the present application, see Figure 8 , and can also include the following:

[0237] Step S801: judging whether the historical operation data in the plurality of preset memory slices has been successfully transmitted according to the preset response signal rule;

[0238] Step S802: If yes, then performing a data overwriting operation on the historical operation data according to the received operation data of the simulation device to determine the corresponding simulation data;

[0239] Step S803: If not, determining corresponding simulation data according to the response signal rule and the historical operation data.

[0240] Optionally, in this embodiment, this step applies an adaptive caching mechanism to avoid simulation data frame loss in the event of network transmission congestion, smooth the simulation data flow from the front-end simulation device to the receiving host, and ensure the accuracy and completeness of the data collected by the simulation device.

[0241] Specifically, in the above steps, the transmitter A is sending simulation data to the receiver B in sequence. At this time, the multiple DDR SDRAMs of the transmitter A respectively store the historical simulation data transmitted by the upstream simulation device, and are repeatedly reading and writing. When the situation in step S4 occurs, the sequential sending logic of the data packets between A and B automatically enters the PAUSE state.

[0242] During the retransmission logic, the upstream simulation device may continue to send new data to the transmitter A. In order to prevent this data from accumulating in the DDR SDRAM and causing insufficient storage space, the transmitter A adopts an overwrite strategy. This means that if a data packet in a certain DDR SDRAM has been successfully sent and received a correct response from the simulation host, the space in this DDR SDRAM can be overwritten and used by the newly incoming data. In this way, even if device A is processing the retransmission logic, it can ensure that the newly incoming simulation data will not be discarded, thereby avoiding the frame loss of simulation data.

[0243] Specifically, in the correct response mode, the sending end A receives the header packet ACK of the next data block of a certain simulation data block of the receiving end B, which means that the receiving end B has completely received the simulation data block, and the DDR SDRAM storing this data block can be overwritten by the new simulation input data.

[0244] Through step S803, this embodiment successfully ensures the accuracy and integrity of the data collected by the simulation device based on the adaptive cache mechanism.

[0245] In order to improve the efficiency and reliability of simulated data transmission, the present application provides an embodiment of a simulated data transmission device for implementing all or part of the contents of the simulated data transmission method, see Fig. 9 The simulated data transmission device specifically includes the following contents:

[0246] A simulation data determination module 10 is used to receive the operation data of the simulation device, and perform sequential cyclic storage operations on the operation data according to a plurality of preset memory slices to determine corresponding simulation data;

[0247] The optimal transmission parameter determination module 20 is used to receive the initial transmission parameters transmitted by the data receiving end, and perform a communication test operation on the data receiving end according to the initial transmission parameters, so that the data receiving end determines the corresponding communication index according to the test data obtained after the communication test operation, and determines the corresponding optimal transmission parameter according to the communication index and the set index model;

[0248] The data transmission module 30 is used to receive the optimal transmission parameters transmitted by the data receiving end, and send the simulation data to the data receiving end in sequence according to the optimal transmission parameters, so that after the data receiving end receives the simulation data, it determines a corresponding response signal according to the simulation data;

[0249] The cumulative response module 40 is used to receive the response signal and determine whether the response signal is repeated. If it is repeated, the sending operation is suspended according to a preset blocking window, and the data receiving end is retransmitted according to the response signal and the simulation data stored in the memory chip. If it is not repeated, a sequential sending operation is performed according to a preset sliding window and the response signal until the data transmission is completed.

[0250] From the above description, it can be seen that the simulation data transmission device provided in the embodiment of the present application can sequentially and cyclically store the operating data of the simulation device through multiple memory chips to determine the corresponding simulation data; perform communication test operations according to the initial transmission parameters transmitted from the data receiving end, so that the data receiving end determines the corresponding optimal transmission parameters; send the simulation data to the data receiving end in sequence according to the optimal transmission parameters, so that after the data receiving end receives the simulation data, it determines the corresponding response signal according to the simulation data; receive the response signal, and determine whether the response signal is repeated. If it is repeated, suspend the sending operation according to the preset blocking window, and resend the data to the data receiving end according to the response signal and the simulation data stored in the memory chip. If it is not repeated, perform sequential sending operations according to the preset sliding window and the response signal until the data transmission is completed, thereby improving the efficiency and reliability of the simulation data transmission.

[0251] From a hardware perspective, in order to improve the efficiency and reliability of simulated data transmission, the present application provides an embodiment of an electronic device for implementing all or part of the contents of the simulated data transmission method, and the electronic device specifically includes the following contents:

[0252] Processor, memory, communication interface and bus; wherein the processor, memory and communication interface communicate with each other through the bus; the communication interface is used to realize information transmission between the simulation data transmission method and related devices such as the core business system, user terminal and related database; the logic controller can be a desktop computer, a tablet computer and a mobile terminal, etc., but the present embodiment is not limited thereto. In the present embodiment, the logic controller can be implemented with reference to the embodiment of the simulation data transmission method in the embodiment and the embodiment of the simulation data transmission method, and the contents thereof are incorporated herein and the repeated parts are not repeated.

[0253] It is understandable that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), a vehicle-mounted device, a smart wearable device, etc. Among them, the smart wearable device may include smart glasses, a smart watch, a smart bracelet, etc.

[0254] In practical applications, part of the simulated data transmission method can be executed on the electronic device side as described above, or all operations can be completed in the client device. The selection can be made based on the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device may also include a processor.

[0255] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.

[0256] Fig.10 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Fig.10 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Fig.10 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.

[0257] In one embodiment, the function of the simulated data transmission method may be integrated into the central processing unit 9100. The central processing unit 9100 may be configured to perform the following control:

[0258] Step S101: receiving the operation data of the simulation device, and performing sequential cyclic storage operations on the operation data according to a plurality of preset memory slices to determine corresponding simulation data;

[0259] Step S102: receiving the initial transmission parameters transmitted by the data receiving end, and performing a communication test operation on the data receiving end according to the initial transmission parameters, so that the data receiving end determines a corresponding communication index according to the test data obtained after the communication test operation, and determines a corresponding optimal transmission parameter according to the communication index and a set index model;

[0260] Step S103: receiving the optimal transmission parameter transmitted by the data receiving end, and sending the simulation data to the data receiving end in sequence according to the optimal transmission parameter, so that after the data receiving end receives the simulation data, it determines a corresponding response signal according to the simulation data;

[0261] Step S104: Receive the response signal, determine whether the response signal is repeated, if it is repeated, suspend the sending operation according to the preset blocking window, and resend the data to the data receiving end according to the response signal and the simulation data stored in the memory chip, if it is not repeated, perform sequential sending operations according to the preset sliding window and the response signal until the data transmission is completed.

[0262] From the above description, it can be seen that the electronic device provided in the embodiment of the present application sequentially and cyclically stores the running data of the simulation device through multiple memory chips to determine the corresponding simulation data; performs a communication test operation according to the initial transmission parameters transmitted from the data receiving end, so that the data receiving end determines the corresponding optimal transmission parameters; sends the simulation data to the data receiving end in sequence according to the optimal transmission parameters, so that after the data receiving end receives the simulation data, it determines the corresponding response signal according to the simulation data; receives the response signal, and determines whether the response signal is repeated. If it is repeated, the sending operation is suspended according to the preset blocking window, and the data receiving end is retransmitted according to the response signal and the simulation data stored in the memory chip. If it is not repeated, the sequential sending operation is performed according to the preset sliding window and the response signal until the data transmission is completed, thereby improving the efficiency and reliability of the simulation data transmission.

[0263] It should be understood by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0264] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0265] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0266] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0267] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A simulation data transmission method, characterized in that: Applied to a data sending end, the data sending end is communicatively connected with a preset data receiving end and a preset simulation device, the method comprises: receiving the operation data of the simulation device, and performing sequential cyclic storage operations on the operation data according to a plurality of preset memory slices to determine corresponding simulation data; Receive initial transmission parameters transmitted from the data receiving end, perform a communication test operation on the data receiving end according to the initial transmission parameters, so that the data receiving end determines the corresponding communication index according to the test data obtained after the communication test operation, and performs a weight calculation operation on the preset communication total index model according to the preset entropy weight method and the communication index to determine the specific formula of the corresponding communication total index model, perform a fitting operation on the preset comprehensive performance index model according to the preset least squares algorithm, the communication index and the specific formula of the communication total index model to determine the specific formula of the corresponding comprehensive performance index model, perform an iterative operation on the specific formula of the comprehensive performance index model according to the preset gradient ascent algorithm, and determine the corresponding optimal transmission parameters; Receiving the optimal transmission parameter transmitted by the data receiving end, and sending the simulation data to the data receiving end in sequence according to the optimal transmission parameter, so that after the data receiving end receives the simulation data, it determines a corresponding response signal according to the simulation data; Receive the response signal, determine whether the response signal is repeated, if it is repeated, suspend the sending operation according to a preset blocking window, and resend the data to the data receiving end according to the response signal and the simulation data stored in the memory chip; if it is not repeated, perform sequential sending operations according to the preset sliding window and the response signal until the data transmission is completed.

2. The simulation data transmission method according to claim 1, characterized in that: The performing a communication test operation on the data receiving end according to the initial transmission parameters includes: Determine a corresponding plurality of transmission parameter sample combinations according to the initial transmission parameter and a preset sample threshold; A communication test operation is performed on the data receiving end according to the multiple transmission parameter sample combinations respectively.

3. The simulation data transmission method according to claim 1, characterized in that: Before determining the corresponding optimal transmission parameters according to the communication index and the setting index model, the method includes: An abstract model construction operation is performed according to a preset communication throughput index and a preset communication packet loss rate index to determine a corresponding communication total index model; An abstract model construction operation is performed according to a preset communication transmission efficiency index, a preset communication delay index, and a preset communication processing capability index to determine a corresponding comprehensive performance index model.

4. The simulation data transmission method according to claim 1, characterized in that: The operation of sending the simulation data to the data receiving end in sequence according to the optimal transmission parameter includes: Determine whether the maximum transmission unit value in the optimal transmission parameter is greater than a preset value, and if so, perform a check data adding operation on the simulation data according to a preset cyclic redundancy check algorithm, and send the simulation data obtained after the check data adding operation to the data receiving end in sequence according to the frame interval in the optimal transmission parameter; If it is not greater than, the simulation data is sent to the data receiving end in sequence according to the frame interval in the optimal transmission parameter.

5. The simulation data transmission method according to claim 1, characterized in that: The step of determining a corresponding response signal according to the simulation data comprises: Determine whether the serial numbers of the simulation data are continuous, and if so, perform a response signal generation operation in increasing order to determine a corresponding response signal; If not, a response signal generation operation is performed according to the missing sequence number in the simulation data to determine the corresponding response signal.

6. The simulation data transmission method according to claim 1, characterized in that: After receiving the response signal, the method further includes: Determining whether the response signal is continuous; If not, a data retransmission operation is performed on the data receiving end according to the largest response signal and the simulation data stored in the memory chip.

7. The simulation data transmission method according to claim 1, characterized in that: The step of performing sequential cyclic storage operations on the operating data according to a plurality of preset memory slices to determine corresponding simulation data includes: According to a preset response signal rule, determining whether the historical operation data in a plurality of preset memory slices has been successfully transmitted; If so, performing a data overwriting operation on the historical operation data according to the received operation data of the simulation device to determine the corresponding simulation data; If not, the corresponding simulation data is determined according to the response signal rule and the historical operation data.

8. A simulated data transmission device, characterized in that: The device comprises: A simulation data determination module, used for receiving operation data of a simulation device, performing sequential cyclic storage operations on the operation data according to a plurality of preset memory slices, and determining corresponding simulation data; An optimal transmission parameter determination module is used to receive the initial transmission parameters transmitted by the data receiving end, perform a communication test operation on the data receiving end according to the initial transmission parameters, so that the data receiving end determines the corresponding communication index according to the test data obtained after the communication test operation, and performs a weight calculation operation on the preset communication total index model according to the preset entropy weight method and the communication index to determine the specific formula of the corresponding communication total index model, perform a fitting operation on the preset comprehensive performance index model according to the preset least squares algorithm, the communication index and the specific formula of the communication total index model to determine the specific formula of the corresponding comprehensive performance index model, perform an iterative operation on the specific formula of the comprehensive performance index model according to the preset gradient ascent algorithm, and determine the corresponding optimal transmission parameters; A data transmission module, used for receiving the optimal transmission parameters transmitted from the data receiving end, and sending the simulation data to the data receiving end in sequence according to the optimal transmission parameters, so that after the data receiving end receives the simulation data, it determines a corresponding response signal according to the simulation data; The cumulative response module is used to receive the response signal and determine whether the response signal is repeated. If it is repeated, the sending operation is suspended according to a preset blocking window, and the data receiving end is retransmitted according to the response signal and the simulation data stored in the memory chip. If it is not repeated, a sequential sending operation is performed according to a preset sliding window and the response signal until the data transmission is completed.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the simulation data transmission method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Reliable transmission method for integration and interconnection between remote test training simulation systems

    CN115514616A

  • Simulation method of communication terminal digital prototype system

    CN118214672A