Frame data generation method and device, electronic equipment and storage medium
By using a predictive model to dynamically generate frame data that adapts to link connectivity issues in satellite optical communication systems, the problem that fixed frame structures cannot adapt to the periodic connectivity of satellite links is solved, thereby improving link utilization and transmission efficiency, and reducing latency and energy waste.
Patent Information
- Application Number
- CN202510576564.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-12-12
AI Technical Summary
In existing satellite optical communication systems, the fixed frame structure cannot adapt to the periodic on/off cycles of satellite links, resulting in problems such as low link utilization, large transmission delays, and energy waste.
The system employs a pre-acquired target prediction model to predict communication windows based on link data, meteorological data, and orbital data. It then dynamically generates different types of frame data, including long frames, short frames, and extremely short frames, based on the window information. This adapts to the on/off status of the link and adjusts the frame data type through step switching, abrupt switching, or hybrid switching methods.
It improves the utilization rate of the communication window, increases transmission efficiency and success rate, and reduces transmission delay and energy waste.
Smart Images

Figure CN121125012A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of data processing, and particularly relates to a frame data generation method and device, electronic equipment and storage medium. BACKGROUND
[0002] The optical communication system between satellites, between a satellite and the ground, deep space exploration, etc., usually realizes communication by receiving or sending frame data, and the frame structure is usually a fixed frame structure. Due to the influence of satellite orbits, environments, etc. on the communication link between satellites or between a satellite and the ground, the link may periodically turn on and off, but the fixed frame structure cannot adapt to the periodic on-off of the satellite link. SUMMARY
[0003] The present disclosure provides a frame data generation method and device, electronic equipment and storage medium.
[0004] The first aspect embodiment of the present disclosure provides a frame data generation method, which comprises: determining at least one first window included in a first time period by using a pre-acquired target prediction model, frame data being received or sent in the at least one first window; determining a target data type according to information of a target window in the at least one first window, the target window being a first window at a current time point for transmitting frame data; generating target frame data corresponding to the target data type according to the target data type and at least one to-be-transmitted data, so as to send the target frame data in the target window through a target link, the target link being a link between a sending end of the target frame data and a receiving end of the target frame data.
[0005] In some embodiments of the present disclosure, the determination of the at least one first window included in the first time period by using the pre-acquired target prediction model comprises: acquiring link data, meteorological data and orbit data of a current time period; determining an on-off state of the target link in the first time period by using the pre-acquired target prediction model according to the link data, meteorological data and orbit data of the current time period; and determining the at least one first window included in the first time period according to the on-off state of the target link in the first time period.
[0006] In some embodiments of the present disclosure, the target data type is determined according to information of a target window in the at least one first window: whether the target link is in a stable transmission state is determined according to at least one of information of the target window and an error code rate of the target link in a current time period, the information of the target window including at least one of a start time, an end time, a remaining duration and a confidence level of the target window; in a case where the target link is in the stable transmission state, the target data type is determined as a first type, the target frame data of the first type including at least the information of the target window and a first type identifier; in a case where the target link is not in the stable transmission state, the target data type is determined as a second type, the target frame data of the second type including at least the information of the target window and a second type identifier, a maximum carrying data amount of the target frame data of the second type being less than a maximum carrying data amount of the target frame data of the first type.
[0007] In some embodiments of the present disclosure, the method further includes: in a case where the target data type is the first type, determining whether the target frame data corresponding to the first type meets a first condition; in a case where the target frame data corresponding to the first type meets the first condition, generating target frame data corresponding to a second type in a target switching mode to send the target frame data corresponding to the second type in the target window, the target switching mode being any one of a step switching mode, an abrupt switching mode and a hybrid switching mode.
[0008] In some embodiments of the present disclosure, determining whether the target frame data corresponding to the first type meets the first condition includes at least one of: determining a transmission duration of the target frame data corresponding to the first type according to a maximum carrying data amount of the target frame data corresponding to the first type; in a case where the remaining duration of the target window is less than the transmission duration of the target frame data corresponding to the first type, determining that the target frame data corresponding to the first type meets the first condition; in a case where the target frame data corresponding to the first type is not received in a second time period, determining that the target frame data corresponding to the first type meets the first condition.
[0009] In some embodiments of the present disclosure, the method further includes: in a case where the target data type corresponding to the target frame data is the first type or the second type, determining whether the target frame data corresponding to the first type or the second type meets a second condition; in a case where the target frame data corresponding to the first type or the second type meets the second condition, generating target frame data corresponding to a third type in a target switching mode to send the target frame data corresponding to the third type in the target window, the target frame data of the third type including acknowledgement data, a maximum carrying data amount of the target frame data of the third type being less than a maximum carrying data amount of the target frame data of the second type, the target switching mode being any one of a step switching mode, an abrupt switching mode and a hybrid switching mode.
[0010] In some embodiments of the present disclosure, determining whether the target frame data corresponding to the first type or the second type satisfies the second condition comprises at least one of the following: determining that the target frame data corresponding to the first type or the second type satisfies the second condition in a case where the error rate of the target link in the current time period is greater than or equal to a first threshold; determining that the target frame data corresponding to the first type or the second type satisfies the second condition in a case where the on-off state of the target link at the current time point is interrupted; or determining that the target frame data corresponding to the first type or the second type satisfies the second condition in a case where the interruption probability of the target link is greater than or equal to a second threshold.
[0011] In some embodiments of the present disclosure, generating the target frame data corresponding to the target data type according to the target data type and the at least one to-be-transmitted data comprises: generating first frame data according to the target data type corresponding to the target frame data; determining whether there is signaling data in the at least one to-be-transmitted data; in a case where the receiving sensitivity corresponding to the target link at the current time point is less than a third threshold and there is signaling data in the at least one to-be-transmitted data, filling the signaling data and / or at least one first to-be-transmitted data into the first frame data to obtain the target frame data, the first to-be-transmitted data being data other than the signaling data in the at least one to-be-transmitted data; otherwise, determining at least one second to-be-transmitted data from the at least one to-be-transmitted data, and filling the at least one second to-be-transmitted data into the first frame data to obtain the target frame data, the at least one second to-be-transmitted data being all or part of the at least one to-be-transmitted data.
[0012] In some embodiments of the present disclosure, the target frame data corresponding to the target data type according to the target data type and the at least one to-be-transmitted data comprises: generating second frame data according to the target data type corresponding to the target frame data; dividing third to-be-transmitted data into a plurality of sub-data according to the maximum carrying data amount of the second frame data, the third to-be-transmitted data being data in the at least one to-be-transmitted data whose data amount is greater than the maximum carrying data amount of the second frame data; filling first sub-data in the plurality of sub-data into the second frame data to obtain target frame data corresponding to the first sub-data, the target frame data comprising a serial number corresponding to the first sub-data.
[0013] In some embodiments of the present disclosure, the method further comprises: in a case where the target frame data corresponding to the first sub-data is not received in the third time period, generating a retransmission request frame, the retransmission request frame comprising the serial number corresponding to the first sub-data; receiving a request acknowledgement message in response to the retransmission request frame; and reacquiring the target frame data corresponding to the first sub-data.
[0014] In some embodiments of the present disclosure, the method further comprises: in a case where the remaining time length of the target window is less than the transmission time length of the target frame data, dividing the target frame data into at least one sub-frame data; generating at least one target sub-frame data corresponding to each of the at least one sub-frame data, the at least one target sub-frame data comprising a serial number corresponding to the target frame data, a number of the at least one sub-frame data, and a serial number of the current target sub-frame data; and transmitting the at least one target sub-frame data according to the transmission priority of the at least one target sub-frame data.
[0015] In some embodiments of the present disclosure, the method further comprises: obtaining historical link data, historical weather data, and historical track data; and training an initial prediction model according to the historical link data, the historical weather data, and the historical track data to obtain the target prediction model.
[0016] A second aspect embodiment of the present disclosure provides a frame data generation apparatus, comprising a first processing unit configured to determine at least one first window included in a first time period by using a pre-obtained target prediction model, the frame data being received or transmitted in the at least one first window; a second processing unit configured to determine a target data type according to information of a target window in the at least one first window, the target window being a first window at a current time point for transmitting the frame data; and a third processing unit configured to generate target frame data corresponding to the target data type according to the target data type and at least one data to be transmitted, so as to transmit the target frame data in the target window through a target link, the target link being a link between a sending end of the target frame data and a receiving end of the target frame data.
[0017] A third aspect embodiment of the present disclosure provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect embodiment of the present disclosure.
[0018] A fourth aspect embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to perform the method described in the first aspect embodiment of the present disclosure.
[0019] A fifth aspect embodiment of the present disclosure provides a computer program product, comprising a computer program, and the computer program is used to enable a processor to perform the method described in the first aspect embodiment of the present disclosure.
[0020] In summary, the frame data generation method, device, electronic equipment and storage medium provided by the present disclosure can use the target prediction model obtained in advance to predict the communication window in the future period of time, and can determine the target data type of the frame data according to the information of the window, so as to generate the frame data corresponding to the target data type, so that the generated frame data can be adapted to the communication window, so that the frame data can be transmitted in the communication window, the utilization rate of the communication window can be improved, and the transmission efficiency can be improved.
[0021] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0022] The accompanying drawings, which are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principles of the present disclosure, and do not constitute an improper limitation on the present disclosure.
[0023] Figure 1 A flowchart of a frame data generation method provided by an embodiment of the present disclosure;
[0024] Figure 2 A flowchart of a frame data generation method provided by an embodiment of the present disclosure;
[0025] Figure 3 A flowchart of a frame data generation method provided by an embodiment of the present disclosure;
[0026] Figure 4A A flowchart of a dynamic frame structure implementation method applied to a space optical communication system provided by an embodiment of the present disclosure;
[0027] Figure 4B A schematic diagram of a dynamic frame structure provided by an embodiment of the present disclosure;
[0028] Figure 5 A structural schematic diagram of a frame data generation device provided by an embodiment of the present disclosure;
[0029] Figure 6 A structural schematic diagram of an electronic equipment provided by an embodiment of the present disclosure;
[0030] Figure 7 A structural schematic diagram of a chip provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] The embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference signs represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are intended to explain the present disclosure, and cannot be understood as a limitation on the present disclosure.
[0032] In a satellite optical communication system, existing space optical communication mostly uses a fixed frame structure. The standard frame structure includes:
[0033] Sync Marker: 32-bit fixed pattern (0x1ACFFC1D), used for frame synchronization.
[0034] Frame Header: contains frame version, spacecraft identifier (SCID), virtual channel identifier (VCID), frame sequence number, etc. control fields, and the total length is fixed.
[0035] Data Field: used to carry payload data (such as telemetry, scientific data, etc.).
[0036] Frame Error Control (FEC): optional field, usually cyclic redundancy check (CRC).
[0037] The standard specifies that the total length of the transmission frame is a fixed value, and the specific byte number is defined in advance by the task requirement (for example, 1024 bytes, 2048 bytes, etc.).
[0038] The link of satellite optical communication has periodic and predictable on-off, and the fixed frame length has the following problems in satellite optical communication transmission: fixed frame length: the fixed frame length cannot adapt to the periodic on-off of the satellite link (such as sunrise, moonrise, and star-ground overtop time window changes), resulting in waste of bandwidth resources when the link is idle, or transmission fragmentation due to the frame not being filled when the link is available. Low synchronization efficiency: the fixed synchronization header length is difficult to balance the error code tolerance and synchronization overhead when the link is quickly switched, affecting the real-time performance of the system, and after the link is interrupted, the connection needs to be re-established, and the recovery time is >300ms. After the link is recovered, it needs to be re-synchronized, further increasing the delay. Energy consumption contradiction: the fixed frame header still needs to be continuously sent during the link interruption, causing energy waste.
[0039] In some embodiments, the fixed frame length is applied in a satellite optical communication system, which also causes the following problems:
[0040]
[0041] Therefore, in order to solve the above problems, the present application proposes a frame data generation method to solve the problems of low link utilization and large transmission delay of the traditional fixed frame structure in the periodic on-off scenario of the satellite link.
[0042] The specific content of the method is as follows.
[0043] Figure 1A flowchart of a frame data generation method provided by an embodiment of the present disclosure is shown in FIG. 1. As shown in FIG. 1, the method can include the following steps. Figure 1
[0044] In step 101, a target prediction model is used to determine at least one first window included in a first time period.
[0045] In some embodiments, the frame data is received or transmitted by a target link in the at least one first window, where the target link can be a communication link between satellites or a communication link between a satellite and a ground receiver. The present solution can be performed by a device that transmits frame data, such as a satellite that transmits frame data or a receiver that transmits frame data.
[0046] In some embodiments, the method further includes obtaining historical link data, historical weather data, and historical orbit data; and training an initial prediction model based on the historical link data, the historical weather data, and the historical orbit data to obtain the target prediction model.
[0047] Optionally, the initial prediction model can be a lightweight neural network model, such as a Long Short-Term Memory (LSTM) model, a Bi-LSTM model, an Attention-based LSTM model, etc. Alternatively, a linear regression model, a decision tree model, etc. can also be used. The actual model used can be determined according to the actual scenario, and the present disclosure does not limit this.
[0048] In other words, since the on-off state of the link is usually affected by the weather and the satellite orbit, the link will periodically turn on and off. Therefore, historical link data, historical weather data, and historical orbit data can be obtained, i.e., data of a historical time period can be obtained, which is used to train an initial prediction model to obtain a target prediction model. The target prediction model can be used to predict the on-off state of the target link in the future, for example, when satellite A and satellite B need to communicate, the link between satellite A and satellite B is the target link, satellite A and satellite B are the target satellites, satellite A can transmit frame data to satellite B through the target link, or satellite B can transmit frame data to satellite A through the target link, where the target link is in a connected state, and there is a communication window between satellite A and satellite B.
[0049] The link data may be, for example, stored past link bit error rate (BER), signal-to-noise ratio (SNR), available time length and the like, the meteorological data may be astronomical observatory provided sunrise prediction, solar activity index and the like, and the orbit data may be, for example, real-time orbit data parameters of the satellite, such as orbit root number and time stamp in ephemeris file.
[0050] In some embodiments, the determining of the at least one first window included in the first time period by using the pre-acquired target prediction model includes: acquiring link data, meteorological data and orbit data of a current time period; determining the on-off state of the target link in the first time period by using the pre-acquired target prediction model according to the link data, meteorological data and orbit data of the current time period; and determining the at least one first window included in the first time period according to the on-off state of the target link in the first time period.
[0051] In some embodiments, after obtaining the target prediction model, the on-off state of the target link in the first time period may be determined by using the target prediction model according to the link data, meteorological data and orbit data of the current time period. For example, the link available time period list of the target link in the next one hour is [18:00:00-18:05:00, 19:10:00-19:15:00], that is, the target link is in a connected state in the time periods of 18:00:00-18:05:00 and 19:10:00-19:15:00, and the target link can be used to transmit frame data in this case, and the target link is in a disconnected state in other time periods. Then, the at least one first window included in the first time period may be determined according to the on-off state of the target link in the first time period, and the first window is a time period in which frame data can be transmitted through the target link. For example, 18:00:00-18:05:00 and 19:10:00-19:15:00 are two first windows respectively, and frame data can be transmitted through the target link in the windows. The length of the window is the length of time in which the target link is connected.
[0052] In some embodiments, the first time period may be determined according to an actual scene, and the starting point of the first time period is the current time period, that is, the on-off state of the target link in the future first time period starting from the current time period can be predicted. For example, the first time period may be within one hour from the current time period, or within 10 minutes from the current time point, and the like, which are not limited by the present disclosure.
[0053] In step 102, the target data type is determined according to the information of the target window in the at least one first window.
[0054] In some embodiments, the target window can be determined from the at least one first window, the target window being a window in which target frame data currently being generated or currently being prepared for transmission can be transmitted, the target window being a first window at a current time point for transmitting frame data, i.e., the target frame data needs to be transmitted within the target window. In some embodiments, after the at least one first window is determined, the respective window information of the at least one first window can be determined, wherein the window information includes the start time, the end time, the remaining time, and the confidence of the window, etc.
[0055] In some embodiments, the target data type can be determined according to the information of the target window, wherein the target data type can include a first type, a second type, and a third type, the first type can be a long frame type, the second type can be a short frame type, and the third type can be an extremely short frame type, wherein the first type of frame data carries the largest amount of data, the third type of frame data carries the smallest amount of data, the first type of frame data requires the longest time for transmission, and the third type of frame data requires the shortest time for transmission.
[0056] In some embodiments, the target data type can be determined according to the target window information, for example, when the target window has a long time and a high confidence, the target data type can be determined as the first type, i.e., long frame data can be transmitted within the target window to reduce the number of frame data transmissions and save transmission resources, when the target window has a short time, short frame data can be transmitted within the target window to avoid long frame data from being unable to be transmitted completely within the target window, and the utilization of the target window can be improved.
[0057] In some embodiments, determining the target data type according to the information of the target window in the at least one first window includes: determining whether the target link is in a stable transmission state according to at least one of the information of the target window and the error rate of the target link in the current time period, the information of the target window including at least one of the start time, the end time, the remaining time, and the confidence of the target window; in the case that the target link is in the stable transmission state, determining the target data type as the first type, the target frame data of the first type including at least the information of the target window and a first type identifier; in the case that the target link is not in the stable transmission state, determining the target data type as the second type, the target frame data of the second type including at least the information of the target window and a second type identifier, the maximum carrying data amount of the target frame data of the second type being less than the maximum carrying data amount of the target frame data of the first type.
[0058] The first type of target frame data can include a dynamic frame header, a data payload, a padding field and an alignment identifier, wherein the dynamic frame header includes a start time of a target window, an end time of the target window, a remaining time of the target window and a first type identifier, wherein the first type identifier is used to identify that the data type of the target frame data is the first type.
[0059] In some embodiments, there can be at least one data to be transmitted at the sending end, and the generation order of the target frame data corresponding to the transmission data can be determined according to the generation order of the data to be transmitted. For example, there are data to be transmitted 1, data to be transmitted 2 and data to be transmitted 3, the target frame data corresponding to the data to be transmitted 1 can be generated first, and then the target frame data corresponding to the data to be transmitted 2 and the data to be transmitted 3 can be generated in sequence. Optionally, the data to be transmitted can be filled in the data payload part, for example, the data to be transmitted 1 is filled into the target frame data corresponding to the data to be transmitted 1, and if the target frame is not filled, the content of the data to be transmitted 2 can be filled into the padding field part of the target frame. Alternatively, the padding field can be filled with a specific pattern, for example, 0xAAAA, which can be used by the receiving end to distinguish the data part to correctly receive the frame data. Optionally, the alignment identifier can be used by the receiving end to align the frame.
[0060] In some embodiments, the second type of target frame data can include dynamic frame header data payload, padding field and alignment identifier, wherein the length of the data payload of the second type of target frame data is less than the length of the data payload of the first type of target frame data. Optionally, the length of the data payload can be determined according to the type of the frame data, for example, the length of the data payload of the first type of target frame data is longer, and the length of the padding field can be determined according to the amount of data contained in the data payload and the capacity of the target frame data.
[0061] In some embodiments, the third type of target frame data includes confirmation data, for example, including ACK or NACK signal.
[0062] In some embodiments, generally one window can correspond to one type of data, for example, in the stable transmission period, the length of the window is generally longer, the error rate is lower, the target link is more stable, for example, when the length of the window is higher than a preset threshold and the error rate in the current time period is lower than a preset threshold, it can be determined that the target link is in a stable transmission state, or it can also be determined that the target link is in a stable transmission state when the confidence of the window is higher than a preset threshold. Optionally, when it is determined that the target link is in a stable transmission state, it can be determined that the type of the frame data transmitted in the window is the first type, that is, the type of the target frame data generated in the window is the first type.
[0063] Optionally, in the case that it is determined that the target link is not in the stable transmission state, it can be determined that the type of the frame data transmitted in the window is the second type, i.e., the type of the target frame data generated in the window is the second type.
[0064] In some embodiments, when the window is switched, the type of the frame data transmitted in the corresponding switching window can be switched, for example, the current window is window 1, the type of the target data corresponding to window 1 is the first type, and the type of the frame data corresponding to the next window of the current window, i.e., window 2, is the second type. When window 1 ends and window 2 starts, the type of the target frame data can be switched to the second type. Optionally, the target data type can be switched in a step-by-step switching manner, a sudden switching manner, or a hybrid switching manner.
[0065] wherein the step-by-step switching can be implemented by the following formula:
[0066] L new =L current ×(1-(t remaining -t threshold ) / k)
[0067] t remaining is the remaining time of the window, t threshold is a preset safety threshold time, k is a decay coefficient, for example, it can be 3-5, L new is the length of the frame data after switching, and L current is the length of the frame data before switching.
[0068] The sudden switching can directly switch the frame data of the first type to the frame data of the second type, or switch the frame data of the second type to the frame data of the first type. The step-by-step switching manner is suitable for scenarios where the state of the target link gradually changes, for example, scenarios where the signal-to-noise ratio slowly decreases, which can avoid instantaneous resource contention and improve transmission continuity. The sudden switching manner can be suitable for scenarios where the state of the link suddenly changes, for example, the window is suddenly closed, i.e., the target link is suddenly interrupted, which can reduce the delay and quickly adapt to burst demand.
[0069] Step 103: generating target frame data corresponding to the target data type according to the target data type and at least one data to be transmitted.
[0070] In some embodiments, after determining the target data type, the target frame data corresponding to the target data type and the at least one data to be transmitted can be generated, the frame structure corresponding to the target data type can be generated first, at this time, the frame structure is not filled with data, then the at least one data to be transmitted can be filled in the data payload part and / or the filling field of the frame structure, after the filling is completed, the target frame data can be obtained, and the target frame data can be sent in the target window through the target link. The target link is a link between a sending end of the target frame data and a receiving end of the target frame data.
[0071] In some embodiments, according to the target data type and the at least one data to be transmitted, the target frame data corresponding to the target data type is generated, including: generating first frame data according to the target data type corresponding to the target frame data; determining whether there is signaling data in the at least one data to be transmitted; in the case that the receiving sensitivity corresponding to the target link at the current time point is less than a third threshold value, and there is signaling data in the at least one data to be transmitted, filling the signaling data and / or at least one first data to be transmitted into the first frame data to obtain the target frame data, the first data to be transmitted being data other than the signaling data in the at least one data to be transmitted; otherwise, determining at least one second data to be transmitted from the at least one data to be transmitted, filling the at least one second data to be transmitted into the first frame data to obtain the target frame data, the at least one second data to be transmitted being all or part of the at least one data to be transmitted.
[0072] In some embodiments, the link state can be monitored in real time, for example, the receiving sensitivity of the receiving end can be monitored in real time, and optionally, the receiving sensitivity of the receiving end can be determined by the minimum receiving power of the receiving end, wherein the higher the minimum receiving power is, the lower the corresponding receiving sensitivity is. When it is detected that the receiving sensitivity of the receiving end is low, the data with high priority can be transmitted preferentially, for example, the priority of the control signaling data is usually high, and then whether there is control signaling data in the data to be transmitted can be detected before the target frame data is generated or after the target frame data is generated and before the target frame data is transmitted. If there is signaling data, the signaling data can be inserted into the filling field of the current target frame data for preferential transmission, that is, the signaling data can be transmitted together with other data to be transmitted in the same target frame data.
[0073] In some embodiments, when there is no signaling data in the at least one data to be transmitted, the data to be filled in the target frame data can be selected according to the conventional method, for example, the data to be filled in the target frame data can be selected according to the serial number of the at least one data to be transmitted, for example, the data with a smaller serial number can be transmitted preferentially, and then the at least one data to be transmitted can be transmitted in turn according to the size of the serial number, for example, there are five data with serial numbers 1, 2, 3, 4 and 5, when there is no signaling data, the data to be transmitted with the serial number 1 can be transmitted preferentially, and when the data payload or the filling field of the target frame data still has a free space after filling the data to be transmitted with the serial number 1, the data to be transmitted with the serial number 2 can be filled in the target frame data, or part of the data to be transmitted with the serial number 2 can be filled in the target frame data.
[0074] Alternatively, the data to be transmitted with a larger serial number can be transmitted preferentially, wherein the serial number of the data to be transmitted can be determined according to the time when the data to be transmitted is generated, or can be determined according to the importance of the data to be transmitted, or can be generated according to other attributes of the data to be transmitted, or can be determined according to other identifiers to determine the transmission order of the at least one data to be transmitted, which is not limited in the present disclosure.
[0075] In some embodiments, the second data to be transmitted is the data to be filled in the target frame data for transmission, that is, the at least one second data to be transmitted can be determined from the at least one data to be transmitted according to the transmission order of the data to be transmitted mentioned above and the maximum carrying data amount of the target frame data, wherein the total data amount of the at least one data to be transmitted is less than or equal to the maximum carrying data amount of the target frame data.
[0076] In some embodiments, the sending end and the receiving end of the target frame data are the same as the sending end and the receiving end of the data to be transmitted filled in the target frame data, that is, the data to be filled in the current target frame data can be determined first, and the sending end and the receiving end of the data to be transmitted to be filled in the target frame data can be determined, for example, the sending end of the data to be transmitted is satellite A and the receiving end is satellite B, and the target link for transmitting the target frame data is the link between satellite A and satellite B.
[0077] In some embodiments, generating the target frame data corresponding to the target data type according to the target data type and the at least one data to be transmitted comprises: generating a second frame data according to the target data type corresponding to the target frame data; dividing a third data to be transmitted into a plurality of sub-data according to the maximum carrying data amount of the second frame data, wherein the third data to be transmitted is the data to be transmitted with a data amount greater than the maximum carrying data amount of the second frame data; and filling a first sub-data in the plurality of sub-data into the second frame data to obtain a target frame data corresponding to the first sub-data, wherein the target frame data comprises a serial number corresponding to the first sub-data.
[0078] In some embodiments, in the case that the to-be-transmitted data is a large file, i.e., the data amount of the to-be-transmitted data is large, resulting in that one target frame data cannot carry all the data, the large file transmission can be automatically divided into a plurality of short frame sequences, each short frame carrying a sequence number, i.e., the original to-be-transmitted data can be divided into a plurality of sub-data, each sub-data can generate one target frame data, and each target frame data can include a sequence number to indicate the position of the current data in the original to-be-transmitted data.
[0079] In some embodiments, the method further includes: in the case that the target frame data corresponding to the first sub-data is not received within the third time period, generating a retransmission request frame, the retransmission request frame including the sequence number corresponding to the first sub-data; receiving a request acknowledgement message in response to the retransmission request frame; and reacquiring the target frame data corresponding to the first sub-data.
[0080] In some embodiments, after the to-be-transmitted data is divided, if a segment is lost, only the segment can be retransmitted instead of the entire file. For example, in the case that the sending end does not receive the acknowledgement message sent by the receiving end within a preset time length, or the receiving end does not receive the target frame data within a preset time, it can be determined that the transmission of the corresponding frame data fails. When the transmission of the frame data fails, the receiving end can send a short retransmission request frame including only the original frame header, wherein the original frame header does not include the data payload, the target window information, and the type identifier, etc. For example, the original frame header can include the synchronization mark and the frame header part, etc. The short retransmission request frame can include the sequence number corresponding to the first sub-data to request the first sub-data from the sending end, so as to realize the retransmission of only the first sub-data. After receiving the short retransmission request frame, the sending end can send an ACK, and then the sending end can re-generate the target frame data corresponding to the first sub-data, and then the sending end can retransmit the target frame data corresponding to the first sub-data.
[0081] In some embodiments, the method further includes: in the case that the remaining duration of the target window is less than the transmission duration of the target frame data, dividing the target frame data into at least one sub-frame data; generating at least one target sub-frame data corresponding to each of the at least one sub-frame data, the at least one target sub-frame data including the sequence number corresponding to the target frame data, the number of the at least one sub-frame data, and the sequence number of the current target sub-frame data; and transmitting the at least one target sub-frame data according to the transmission priority of the at least one target sub-frame data.
[0082] In some embodiments, when the single frame data exceeds the product of the link residual time and the maximum transmission rate, the remaining duration of the target window is less than the transmission duration of the target frame data, that is, the current frame data is super-long frame data, at this time, the fragmentation transmission mode can be used, that is, the super-long frame data can be fragmented into multiple sub-frames, that is, multiple fragmented frame data, wherein each fragmented frame data includes the serial number of the original super-long frame to identify which super-long frame the fragmentation belongs to, each fragmented frame data also includes the total number of fragments, that is, the number of fragments into which the super-long frame is divided, and can also include the serial number of the current fragment. After the receiving end receives multiple fragments, the original frame data can be reassembled according to the serial number of the fragment and the number of fragments.
[0083] In some embodiments, the length of the padding field of each fragment can be determined according to the length of the original super-long frame, the length of the dynamic frame header and the length of the data payload, for example, the length of the padding field of each fragment can be represented as total frame length-(dynamic frame header+data payload), the length of the padding field of each fragment can be dynamically calculated, which can avoid bandwidth waste caused by fixed padding.
[0084] In some embodiments, the first fragment and the last fragment have higher priority, so the fragmented frame data with the smallest serial number and the fragmented frame data with the largest serial number can be transmitted preferentially, which can guarantee the integrity of the reassembly. For other low-priority fragmented data, they can be transmitted in order of serial number, and in the gap of low-priority fragmented transmission, the transmission of emergency frame data can be inserted, for example, when there is high-priority frame data that needs to be transmitted preferentially, the high-priority frame data can be transmitted preferentially.
[0085] In some embodiments, after the receiving end receives multiple fragments, the integrity of the fragments can be verified according to the original frame serial number, if there is a missing fragment, a retransmission request frame can be generated, which can include the serial number of the missing fragment. After receiving the retransmission request frame, the sending end can retransmit the missing fragment according to the retransmission request frame. Optionally, the maximum number of retransmissions can also be set, for example, 3 times, then the fragment is marked as original frame data transmission failure when the number of retransmissions reaches three times, and then the sending end can generate the third type of frame data again and send it to the sending end, which is used to ensure the synchronization of the link state.
[0086] In summary, the above embodiments of the present application can use the target prediction model obtained in advance to predict the target window for transmitting the target frame data, then the target data type can be determined according to the information of the target window, and the target frame data can be generated according to the target data type, which can dynamically generate frame data according to the link condition, can improve the efficiency of frame data transmission, and can generate target frame data according to the priority of at least one data to be transmitted and the state of the link, which can realize the preferential transmission of high-priority data.
[0087] Figure 2 A flowchart of a frame data generation method provided by an embodiment of the present disclosure is shown. As shown in the figure, the method can include the following steps. Figure 2
[0088] Step 201: In the case where the target data type is the first type, it is determined whether the target frame data corresponding to the first type meets the first condition.
[0089] In some embodiments, in the case where the target data type is the first type, the link state can be monitored in real time, and the target data type of the target frame data can be adjusted in real time according to the state of the link.
[0090] In some embodiments, determining whether the target frame data corresponding to the first type meets the first condition includes at least one of the following: determining the transmission duration of the target frame data corresponding to the first type according to the maximum carrying data amount of the target frame data corresponding to the first type; in the case where the remaining duration of the target window is less than the transmission duration of the target frame data corresponding to the first type, determining that the target frame data corresponding to the first type meets the first condition; in the case where the target frame data corresponding to the first type is not received within the second time period, determining that the target frame data corresponding to the first type meets the first condition.
[0091] Step 202: In the case where the target frame data corresponding to the first type meets the first condition, the target frame data corresponding to the second type is generated by using a target switching mode.
[0092] In some embodiments, the target switching mode is any one of a step switching mode, a sudden change switching mode and a hybrid switching mode. In other words, in the case where the target frame data corresponding to the first type meets the first condition, the target frame data of the first type being generated can be discarded, and the target frame data is regenerated, wherein the length of the regenerated target frame data can be determined according to the step switching mode or the sudden change switching mode, wherein in the case of using the step switching mode, a plurality of target frame data needs to be generated until the type of the target frame data is switched to the second type, and the step switching is completed, and in the case of using the sudden change switching mode, the target frame data of the second type can be directly regenerated to switch the target data type, so that the target frame data corresponding to the second type can be transmitted within the target window, and the transmission delay can be reduced.
[0093] For example, in the case where the remaining duration of the target window is less than the transmission duration of the target frame data corresponding to the first type, it is determined that the target frame data corresponding to the first type meets the first condition, that is, in the case where the target frame data cannot be transmitted within the remaining time of the target window, the long frame data being generated can be discarded, and the short frame data is regenerated, so that the regenerated short frame data can be transmitted and completed before the window is closed.
[0094] For example, in the case where the target frame data corresponding to the first type is not received within the second time period, it is determined that the target frame data corresponding to the first type satisfies the first condition, for example, the target frame data is not received in the receiving end within a preset time period, or the sending end does not receive the confirmation data of the receiving end within a preset time period, then the short frame data can be forcibly switched, that is, the long frame data being generated is discarded, and the short frame data is regenerated.
[0095] In summary, the above embodiments of the present disclosure can monitor the link state in real time, and dynamically update the target data type of the target frame data according to the state of the link, which can improve the utilization rate of the target window, and can improve the transmission efficiency and transmission success rate of the target frame data.
[0096] Figure 3 A flowchart of a frame data generation method provided by an embodiment of the present disclosure is shown in FIG. 1. As shown in the figure, the method can include the following steps. Figure 3
[0097] Step 301: In the case where the target data type corresponding to the target frame data is the first type or the second type, it is determined whether the target frame data corresponding to the first type or the second type satisfies a second condition.
[0098] In some embodiments, in the case where the target data type is the first type or the second type, the link state can be monitored in real time, and the target data type of the target frame data can be adjusted in real time according to the state of the link.
[0099] In some embodiments, determining whether the target frame data corresponding to the first type or the second type satisfies the second condition includes at least one of the following: in the case where the error rate of the target link within the current time period is greater than or equal to a first threshold value, it is determined that the target frame data corresponding to the first type or the second type satisfies the second condition; in the case where the on-off state of the target link at the current time point is interrupted, it is determined that the target frame data corresponding to the first type or the second type satisfies the second condition; in the case where the interruption probability of the target link is greater than or equal to a second threshold value, it is determined that the target frame data corresponding to the first type or the second type satisfies the second condition.
[0100] Step 302: In the case where the target frame data corresponding to the first type or the second type satisfies the second condition, the third type corresponding to the target frame data is generated by using a target switching mode.
[0101] In some embodiments, the target switching mode is any one of the step-by-step switching mode, the abrupt switching mode and the hybrid switching mode. In other words, when the target frame data corresponding to the first type or the second type satisfies the second condition, the target frame data of the first type or the second type being generated can be discarded, and the target frame data is regenerated, wherein the length of the regenerated target frame data can be determined according to the step-by-step switching mode or the abrupt switching mode, wherein when the step-by-step switching mode is used, a plurality of target frame data needs to be generated until the type of the target frame data is switched to the second type, the step-by-step switching is completed, and when the abrupt switching mode is used, the target frame data of the third type can be directly regenerated to switch the target data type, so that the target frame data of the third type corresponding to the third type is sent in the target window, and the target frame data of the third type includes the confirmation data, and the maximum bearing data amount of the target frame data of the third type is less than the maximum bearing data amount of the target frame data of the second type.
[0102] The target frame data of the third type can be a minimal control frame, and the target frame data of the third type can include the confirmation data, which can be ACK or NACK data, for example. Optionally, when the error rate of the target link in the current time period is greater than or equal to the first threshold, it is determined that the target frame data corresponding to the first type or the second type satisfies the second condition, that is, when the error rate of the target link in the current time period is greater than or equal to the first threshold, it indicates that the stability of the target link in the current time period is poor, and the reliability is poor, and the link interruption can occur, at this time, the target frame data of the first type or the second type being generated can be discarded, and the target frame data of the third type is regenerated, wherein the target frame data of the third type does not include the data payload and can only include the confirmation data, and the third type of target frame data can be used to ensure the synchronization of the link state.
[0103] Optionally, when the on-off state of the target link at the current time point is interrupted, it is determined that the target frame data corresponding to the first type or the second type satisfies the second condition, that is, when the target link is suddenly interrupted, the target frame data of the first type or the second type being generated can be discarded, and the target frame data of the third type is regenerated to ensure the synchronization of the link state. When the target link is interrupted, the sending end can periodically send the target frame data of the third type to the receiving end, and after the receiving end receives the target frame data of the third type, the receiving end sends a feedback message to the sending end to make the sending end determine that the link is restored, and then the sending end can continue to send the target frame data of the first type or the second type.
[0104] Optionally, in the case that the interruption probability of the target link is greater than or equal to the second threshold, it is determined that the target frame data corresponding to the first type or the second type satisfies the second condition, that is, when the interruption probability of the target link is large, the first type or the second type of target frame data being generated can be discarded, and the third type of target frame data is re-generated, so as to ensure the synchronization of the link state.
[0105] In some embodiments, when the prediction window remaining time changes, the ACK (acknowledgement character) waiting time is adjusted accordingly. For example, when the remaining time is 5 seconds, the timeout time is set to 3 seconds. When the set ACK waiting time is timed out, it means that there may be a problem with data transmission, such as network congestion, signal interference, etc., which causes the receiver to fail to return ACK in time. The system automatically switches to a low-rate mode, such as reducing the baud rate from 10 Gbps to 1 Gbps, that is, the data transmission rate can be reduced. Reducing the transmission rate can reduce the amount of data sent per unit time, thereby reducing the degree of network congestion and increasing the probability of successful data transmission. At the same time, the transmission time of each data frame in the low-rate mode will be longer, that is, the single-frame transmission time window is extended. This way gives the receiver more time to process data and return ACK confirmation information, which helps to improve the reliability of data transmission.
[0106] In summary, the above-mentioned embodiments of the present application can monitor the link in real time, generate third type of target frame data when the link state is poor to keep the link state synchronized, and avoid wasting bandwidth resources without transmitting data during link interruption.
[0107] For the foregoing method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the disclosure is not limited to the action order described, because according to the disclosure, certain steps can be performed in other orders or simultaneously.
[0108] Secondly, those skilled in the art should know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the disclosure.
[0109] The technical solutions of the present disclosure will be further described in detail below in combination with specific application embodiments.
[0110] The embodiment of the present disclosure provides a dynamic frame structure implementation method applied to a space optical communication system. The method drives the change of frame length, dynamically adjusts the synchronization header and encoding parameters through space-time joint prediction, and adapts to the periodic and predictable link interruption scene.
[0111] The method can be executed by a dynamic frame structure generation device applied to a space optical communication system, and the device comprises:
[0112]
[0113] 1. Dynamic frame generation mechanism:
[0114] Based on link state prediction algorithms (such as time series analysis, machine learning models), dynamically adjust frame length (short frame / long frame) and padding strategy, adapt periodic on-off window, dynamic frame adjustment logic as follows:
[0115] 1) Long frame mode: transmit large data blocks during link stable period (such as within the overtop window), maximize bandwidth utilization;
[0116] 2) Short frame mode: switch to short frame before link interruption, reduce transmission delay;
[0117] 3) Fault tolerance mechanism: when short frame transmission fails, automatically downgrade to minimal control frame (such as ACK / NACK signal), ensure link state synchronization.
[0118] Example: predict that the link will be interrupted after 5 seconds, automatically switch to short frame mode to ensure data transmission before the window is closed.
[0119] 2. Adaptive scheduling:
[0120] Built-in periodic on-off rule library, combined with real-time link state (such as bit error rate, signal-to-noise ratio), dynamically allocate transmission priority and resources.
[0121] Example: automatically enable low-rate short frame protocol during the day, guarantee critical control information transmission.
[0122] 3. Compatibility design:
[0123] Lower layer compatible with fixed frame length standards such as Optical Transport Network (OTN), upper layer supports dynamic extension header, realizes seamless connection with ground optical communication system.
[0124] The dynamic frame of this example includes:
[0125] 1) Dynamic frame header: contains prediction window information, frame type identification (short / long frame);
[0126] 2) Data payload: dynamically allocate capacity according to window remaining time;
[0127] 3) Padding field: adaptively adjust to ensure frame alignment.
[0128] As shown in Figure 4A , the flowchart for generating dynamic frames of this example includes the following steps:
[0129] 1. The prediction engine outputs the future on-off time window;
[0130] 2. The adaptive scheduler allocates transmission periods;
[0131] 3. The dynamic frame generator generates adaptive frame structures (one possible dynamic frame structure is shown in FIG. 2); Figure 4B
[0132] 4. The prediction model is updated after transmission is completed.
[0133] The prediction engine outputs a future on-off time window, and the step of outputting the future on-off time window includes:
[0134] 1. Data input and preprocessing
[0135] Based on the stored past link bit error rate (BER), signal-to-noise ratio (SNR), available duration, etc. data, the integrated observatory provides the sunrise prediction, solar activity index, etc. data source, and the real-time orbit data parameters (such as the orbit root number in the ephemeris file, the time stamp) of the satellite are obtained through the interface for training the prediction model and calculating the periodic on-off window (such as the sunrise time and the satellite over-the-top period).
[0136] 2) The above data is used to fit the periodic on-off window, and a light-weight neural network (such as LSTM) can be trained in combination with historical bit error rate data to improve short-term prediction accuracy. After fitting is completed, the prediction engine is obtained.
[0137] 3) The prediction engine outputs a list of link availability time periods in the future 1 hour (accuracy ± 1 second), for example: [18:00:00-18:05:00, 19:10:00-19:15:00]. Each prediction window is labeled with a confidence level (such as 0.8-0.95), and when the confidence level is below the threshold, it switches to a conservative mode (lengthens the short frame reservation time). Based on the satellite orbit parameters (such as the inclination and the period), the on-off window is calculated, such as the sunrise period of about 90 minutes. The input is the link state of the past N time steps (N = 10-20), and the output is the link availability prediction in the future T seconds (T = 30-60). The model parameter quantity is controlled within 10 KB, which is suitable for the power limit of embedded FPGA or on-board computers. The model weight is automatically calibrated every 24 hours to adapt to orbit perturbation or environmental changes.
[0138] The dynamic frame generation method further includes:
[0139] When the remaining time of the prediction window is less than the current frame transmission time, a short frame is immediately switched and the unfinished long frame data is discarded; if the link is suddenly interrupted (such as the bit error rate is greater than ten to the minus third power), the current frame is forcibly terminated and an emergency short frame (only containing ACK / NACK) is generated. Optionally, the frame length can be determined from the following table according to the remaining time of the window.
[0140] Prediction window remaining time Frame length selection Padding strategy ≤ 5 seconds Short frame (10-50 ms) Dynamic padding to frame alignment boundary 5-60 seconds Medium frame (50 ms-2 s) Fixed padding (e.g. 4 byte alignment) > 60 seconds Long frame (2 s-10 s) No padding or padding on demand
[0141] For the switching principle of long and short frames, step switching and sudden switching can be used, or a hybrid switching mechanism can be used to achieve it.
[0142] Step switching rule: when the remaining time of the prediction window (e.g. ≥5 seconds), adjust the frame length gradually according to the following formula:
[0143] L new = L current ×(1-(t remaining -t threshold ) / k)
[0144] t remaining is the remaining time of the window, t threshold is the preset safety threshold time, k is the attenuation coefficient, which can be taken as 3-5, L new is the length of the frame after switching, L current is the length of the frame before switching.
[0145] Sudden switching rule: when the link interruption prediction error probability is ≥20%, immediately switch to the minimal control frame, and if the receiving end does not receive the ACK signal within the preset time, force the short frame mode to be enabled.
[0146]
[0147] The method of the present example can use a dynamic filling algorithm for filling, which can achieve reserved time redundancy and avoid incomplete transmission of frames within the window due to link delay. For example, a specific pattern (such as 0xAAAA) can be filled for frame synchronization at the receiving end.
[0148] When the receiving sensitivity state is detected to be deteriorated (such as power less than -40dBm), the control signaling (such as beacon frame) priority is automatically set to the highest, and inserted into the filling field of the current frame for transmission; the control signaling frame length is fixed at 20ms, without waiting for the main frame transmission to be completed.
[0149] When transmitting a large file, it is automatically divided into multiple short frame sequences, and each short frame carries a sequence number; if a segment is lost, only the segment is retransmitted, not the entire file. When the frame transmission fails, the receiving end immediately sends a short retransmission request frame containing only the original frame header (without data payload); after receiving it, the sending end returns an ACK, and the sending end retransmits the complete data frame.
[0150] When encountering an ultra-long frame transmission, a fragmentation transmission mode can be adopted. When single frame data exceeds the remaining time of the link x the maximum transmission rate, fragmentation logic is automatically triggered. Each fragment can include a dynamic frame header, a data payload fragment, a padding field, and an alignment identifier. The dynamic frame header includes an original frame sequence number, a total number of fragments, and a sequence number of the current fragment. The original frame sequence number is used to identify which original ultra-long frame the fragment belongs to. The total number of fragments is a pre-defined total number of fragments, facilitating reassembly at the receiving end.
[0151] The padding field of each fragment is dynamically calculated according to (total frame length - (dynamic frame header + data payload)). This avoids bandwidth waste caused by fixed padding. In combination with fragmentation priority scheduling, high-priority fragments (first and last fragments) are transmitted first to ensure reassembly integrity. Low-priority fragments (intermediate fragments) can be inserted into emergency data transmission gaps. The receiving end checks the integrity of the fragments through the original frame sequence number. Missing fragments trigger retransmission in order. The maximum number of retransmissions (such as 3 times) is set. When the limit is exceeded, the entire frame is marked as invalid and a fault-tolerant process is triggered.
[0152] The method of the present example can set a dynamic timeout threshold and adjust the ACK waiting time according to the remaining time of the prediction window (for example: when the remaining time is 5 seconds, the timeout is set to 3 seconds). After the timeout, it automatically switches to a low-speed mode (such as baud rate from 10 Gbps to 1 Gbps), which prolongs the single frame transmission time window.
[0153] In summary, the above examples of the present disclosure propose a dynamic frame structure characterized by containing a prediction window information field and an adaptive frame length identifier; and a dynamic frame structure generation device for a spatial optical communication system, characterized by a prediction engine that generates an on-off prediction model based on satellite orbit parameters and historical link data, and can support a dynamic frame generator that supports real-time switching between short frames (≤10 ms) and long frames (≥1 s). The method of the present example can reduce idle periods by dynamically matching the window and the frame length, and a prediction-driven fault-tolerant mechanism can reduce packet loss rate and enhance transmission reliability. The deployment cost is low, and it can be compatible with existing standards without the need to restructure the underlying hardware.
[0154] Figure 5 A block diagram of a frame data generation device 500 is provided for the embodiments of the present disclosure. As shown in FIG. 5, the frame data generation device 500 can include a prediction engine 501, a dynamic frame generator 502, and a data transmission module 503. Figure 5As shown, the apparatus 500 comprises: a first processing unit 510, configured to determine, by using a pre-acquired target prediction model, at least one first window included in a first time period, frame data being received or transmitted in the at least one first window; a second processing unit 520, configured to determine a target data type according to information of a target window in the at least one first window, the target window being a first window for transmitting frame data at a current time point; and a third processing unit 530, configured to generate target frame data corresponding to the target data type according to the target data type and at least one data to be transmitted, and transmit the target frame data in the target window through a target link, the target link being a link between a sending end of the target frame data and a receiving end of the target frame data.
[0155] In summary, the above apparatus of the present disclosure can predict a communication window in a future period of time by using a pre-acquired target prediction model, and can determine a target data type of frame data according to information of the window, so as to generate frame data corresponding to the target data type, which can make the generated frame data adapt to the communication window, so that the frame data can be transmitted in the communication window, thereby improving utilization of the communication window and transmission efficiency.
[0156] In some embodiments, the first processing unit is further configured to acquire link data, weather data and orbit data of a current time period; determine, by using the pre-acquired target prediction model, an on-off state of the target link in the first time period according to the link data, the weather data and the orbit data of the current time period; and determine the at least one first window included in the first time period according to the on-off state of the target link in the first time period.
[0157] In some embodiments, the second processing unit is further configured to determine whether the target link is in a stable transmission state according to at least one of information of the target window and a bit error rate of the target link in the current time period, the information of the target window comprising at least one of a start time, an end time, a remaining duration and a confidence degree of the target window; determine that the target data type is a first type in a case where the target link is in the stable transmission state, the target frame data of the first type comprising at least the information of the target window and a first type identifier; and determine that the target data type is a second type in a case where the target link is not in the stable transmission state, the target frame data of the second type comprising at least the information of the target window and a second type identifier, a maximum carrying data amount of the target frame data of the second type being smaller than a maximum carrying data amount of the target frame data of the first type.
[0158] In some embodiments, the frame data generation apparatus further comprises a fourth processing unit configured to, in a case where the target data type is the first type, determine whether the target frame data corresponding to the first type satisfies a first condition; and in a case where the target frame data corresponding to the first type satisfies the first condition, generate the target frame data corresponding to the second type using a target switching mode, and transmit the target frame data corresponding to the second type in the target window, the target switching mode being any one of a step switching mode, an abrupt switching mode, and a hybrid switching mode.
[0159] In some embodiments, the fourth processing unit is further configured to determine a transmission duration of the target frame data corresponding to the first type according to a maximum carrying data amount of the target frame data corresponding to the first type; determine that the target frame data corresponding to the first type satisfies the first condition in a case where a remaining duration of the target window is less than the transmission duration of the target frame data corresponding to the first type; and determine that the target frame data corresponding to the first type satisfies the first condition in a case where the target frame data corresponding to the first type is not received within the second time period.
[0160] In some embodiments, the fourth processing unit is further configured to, in a case where the target data type of the target frame data is the first type or the second type, determine whether the target frame data corresponding to the first type or the second type satisfies a second condition; and in a case where the target frame data corresponding to the first type or the second type satisfies the second condition, generate the target frame data corresponding to the third type using the target switching mode, and transmit the target frame data corresponding to the third type in the target window, the target frame data corresponding to the third type including acknowledgement data, the maximum carrying data amount of the target frame data corresponding to the third type being less than the maximum carrying data amount of the target frame data corresponding to the second type, the target switching mode being any one of the step switching mode, the abrupt switching mode, and the hybrid switching mode.
[0161] In some embodiments, the fourth processing unit is further configured to determine that the target frame data corresponding to the first type or the second type satisfies the second condition in a case where a bit error rate of the target link within a current time period is greater than or equal to a first threshold value; determine that the target frame data corresponding to the first type or the second type satisfies the second condition in a case where an on-off state of the target link at a current time point is interrupted; and determine that the target frame data corresponding to the first type or the second type satisfies the second condition in a case where an interruption probability of the target link is greater than or equal to a second threshold value.
[0162] In some embodiments, the third processing unit is further configured to generate the first frame data according to a target data type corresponding to the target frame data; determine whether signaling data exists in the at least one to-be-transmitted data; in a case where the receiving sensitivity of the target link at the current time point is less than a third threshold value and the signaling data exists in the at least one to-be-transmitted data, fill the signaling data and / or at least one first to-be-transmitted data into the first frame data to obtain the target frame data, the first to-be-transmitted data being data other than the signaling data in the at least one to-be-transmitted data; otherwise, determine at least one second to-be-transmitted data from the at least one to-be-transmitted data, and fill the at least one second to-be-transmitted data into the first frame data to obtain the target frame data, the at least one second to-be-transmitted data being all or part of the data in the at least one to-be-transmitted data.
[0163] In some embodiments, the third processing unit is further configured to generate the second frame data according to a target data type corresponding to the target frame data; divide the third to-be-transmitted data into a plurality of sub-data according to a maximum carrying data amount of the second frame data, the third to-be-transmitted data being data with a data amount greater than the maximum carrying data amount of the second frame data in the at least one to-be-transmitted data; fill a first sub-data in the plurality of sub-data into the second frame data to obtain target frame data corresponding to the first sub-data, the target frame data including a sequence number corresponding to the first sub-data.
[0164] In some embodiments, the fourth processing unit is further configured to, in a case where the target frame data corresponding to the first sub-data is not received within the third time period, generate a retransmission request frame including the sequence number corresponding to the first sub-data; receive a request acknowledgement message in response to the retransmission request frame; and reacquire the target frame data corresponding to the first sub-data.
[0165] In some embodiments, the fourth processing unit is further configured to, in a case where a remaining duration of the target window is less than a transmission duration of the target frame data, divide the target frame data into at least one sub-frame data; generate at least one target sub-frame data corresponding to each of the at least one sub-frame data, the at least one target sub-frame data including a sequence number corresponding to the target frame data, a number of the at least one sub-frame data, and a sequence number of a current target sub-frame data; and transmit the at least one target sub-frame data according to a transmission priority of the at least one target sub-frame data.
[0166] In some embodiments, the fourth processing unit is further configured to acquire historical link data, historical weather data, and historical orbit data; and train an initial prediction model according to the historical link data, the historical weather data, and the historical orbit data to obtain a target prediction model.
[0167] Figure 6 A block diagram of an electronic device 600 for implementing the above method is provided for the embodiments of the present disclosure.
[0168] Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiments of the present disclosure, the embodiments of the present disclosure also provide an electronic device, such as Figure 6 As shown in the figure, the electronic device 600 includes:
[0169] The communication interface 601 can interact with other devices for information;
[0170] The processor 602 is connected with the communication interface 601 to realize the information interaction with other devices, and is used to run the computer program to execute the method provided by one or more technical solutions.
[0171] The memory 603 stores the computer program.
[0172] Specifically, the processor 602 can be used to execute the method of the first aspect of the present disclosure.
[0173] It should be noted that the specific processing process of the processor 602 can be understood with reference to the above method.
[0174] Of course, in actual application, each component in the electronic device 600 is coupled together through the bus system 604. It can be understood that the bus system 604 is used to realize the connection and communication between the components. The bus system 604 includes not only the data bus, but also the power bus, the control bus and the state signal bus. However, in order to clearly illustrate, all kinds of buses are marked as the bus system 604 in the Figure 6 .
[0175] The memory 603 in the embodiments of the present application is used to store various types of data to support the operation of the electronic device 600. Examples of these data include: any computer program used to operate on the electronic device 600.
[0176] The method disclosed by the embodiments of the present application can be applied to the processor 602 or implemented by the processor 602. The processor 602 can be an integrated circuit chip having a signal processing capability. In the implementation process, each step of the above method can be completed by an integrated logic circuit or an instruction in the form of software in the processor 602. The first processor 602 described above can be a general processor, a digital signal processor (DSP), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 602 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiments of the present application, the hardware decoding processor can be directly embodied to complete the execution, or the combination of hardware and software modules in the decoding processor can be used to complete the execution. The software module can be located in the storage medium, and the storage medium is located in the memory 603. The processor 602 reads the information in the memory 603 and combines the hardware to complete the steps of the above method.
[0177] In the exemplary embodiments, the electronic device 600 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements for executing the above method.
[0178] In the exemplary embodiments, a non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, is also provided. The above instructions can be executed by the processor 620 of the electronic device 600 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0179] The embodiments of the present disclosure also propose a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to make a computer execute the method described in the above embodiments of the present disclosure.
[0180] The embodiments of the present disclosure also propose a chip, such as Figure 7 As shown, the chip includes a processor 710 and an interface 720. The number of the processor 710 can be one or more, and the number of the interface 720 can be multiple. The interface circuit is used to receive a signal from the memory of the electronic device and send a signal to the processor. The signal includes computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device executes the method described in the above embodiments of the present disclosure.
[0181] It should be noted that only parts related to the present application are shown in the drawings for the convenience of description. The embodiments in the present application and the features in the embodiments can be combined with each other in the case of no conflict.
[0182] It should be understood that the "system", "apparatus", "unit" and / or "module" used in the present application is a method for distinguishing different components, elements, parts, sections or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.
[0183] As shown in the present application and claims, unless the context clearly indicates otherwise, "one", "a", "an", and / or "the" do not mean to specify a single number, but also include a plurality. Generally, the terms "comprise" and "include" only indicate that the steps and elements explicitly identified are included, and these steps and elements do not constitute an exclusive list, and the method or device can also include other steps or elements. The element defined by the statement "comprising a" does not exclude the presence of another identical element in the process, method, product or device comprising the element.
[0184] In the description of the embodiments of the present application, " / " means or, for example, A / B can mean A or B; "and / or" in the present application is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0185] Hereinafter, the terms "first", "second" are only used for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features.
[0186] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or subsequent operations are not necessarily performed in sequence. On the contrary, each step can be processed in reverse order or simultaneously. At the same time, other operations can be added to these processes, or one or more steps of operation can be removed from these processes.
[0187] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "certain embodiments", "an example", "a specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Also, the specific features, structures, materials or characteristics described can be combined in any appropriate manner in any one or more embodiments or examples as appropriate.
[0188] Any process or method descriptions or descriptions of the flow diagrams in the specification are understood to represent one or more steps that can be performed in any order, including sequentially, simultaneously, or in an overlapping manner, as appropriate, and that can include performing or deploying additional processes not depicted, depending upon the circumstances. Furthermore, any described process or method can be performed by hardware, software, or any combination thereof.
[0189] Logic and / or steps represented in the flow diagrams or otherwise described herein, for example, can be embodied in computer-readable instructions, which can be used to cause one or more processors to perform the actions indicated in the flow diagrams and / or described in this specification. Just as an example, one or more of the flow diagrams can represent a portion of a computer program that can be implemented in any computer readable medium for use by or in connection with an instruction execution system such as a computer based system or processor based or other system that can fetch the instructions from the instruction execution system, circuit or device, and execute the instructions. In the context of this specification, a "computer-readable medium" can be any means that can contain, store, communicate, propagate or transport the program for use by or in connection with the instruction execution system, apparatus or device. Computer readable medium can comprise any one of the following: electrical connection (conventional or other) having one or more wires, a portable computer diskette (magnetic), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CDROM). Additionally, the computer readable medium can be paper or other comparable medium upon which the program is printed, as the program can be electronically captured, for example via an optical scanner, then compiled, interpreted, or otherwise processed, and stored in a computer memory in order to be executed.
[0190] It should be understood that parts of the embodiments of the present application can be realized by hardware, software, firmware, or a combination thereof. In the above-described embodiments, a plurality of steps or methods can be realized by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if realized by hardware, and as in another embodiment, any one or a combination of the following technologies known in the art can be used: discrete logic circuitry having logic gates for implementing logic functions on data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), and the like.
[0191] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-mentioned embodiment methods can be completed by programs instructing relevant hardware, and the programs can be stored in a computer readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0192] In addition, each functional unit in each embodiment of the present application can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above-mentioned integrated module can be realized in the form of hardware or in the form of a software functional module. The integrated module, if realized in the form of a software functional module and sold or used as an independent commodity, can also be stored in a computer readable storage medium. The above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.
[0193] Although the embodiments of the present application have been shown and described above, it should be understood that the above-described embodiments are exemplary and should not be construed as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above-described embodiments within the scope of the present application.
Claims
1. A frame data generating method characterized by comprising: The method comprises: determining at least one first window included in a first time period by using a pre-acquired target prediction model, frame data being received or transmitted in the at least one first window; determining a target data type according to information of a target window in the at least one first window, the target window being a first window for transmitting frame data at a current time point; generating target frame data corresponding to the target data type according to the target data type and at least one data to be transmitted, so as to transmit the target frame data in the target window through a target link, the target link being a link between a sending end of the target frame data and a receiving end of the target frame data.
2. The method of claim 1, wherein, The determination of the at least one first window included in the first time period by using the pre-acquired target prediction model comprises: acquiring link data, meteorological data and orbit data of a current time period; determining an on-off state of the target link in the first time period by using the pre-acquired target prediction model according to the link data, the meteorological data and the orbit data of the current time period; determining the at least one first window included in the first time period according to the on-off state of the target link in the first time period.
3. The method of claim 1, wherein, The determination of the target data type according to the information of the target window in the at least one first window comprises: determining whether the target link is in a stable transmission state according to at least one of the information of the target window and an error code rate of the target link in the current time period, the information of the target window including at least one of a start time, an end time, a remaining duration and a confidence degree of the target window; determining the target data type as a first type in a case where the target link is in the stable transmission state, the target frame data of the first type including at least the information of the target window and a first type identifier; determining the target data type as a second type in a case where the target link is not in the stable transmission state, the target frame data of the second type including at least the information of the target window and a second type identifier, a maximum carrying data amount of the target frame data of the second type being smaller than a maximum carrying data amount of the target frame data of the first type.
4. The method of claim 3, wherein, The method further comprises: judging whether the target frame data corresponding to the first type meets a first condition in a case where the target data type is the first type; generating the target frame data corresponding to the second type by using a target switching mode in a case where the target frame data corresponding to the first type meets the first condition, so as to transmit the target frame data corresponding to the second type in the target window, the target switching mode being any one of a step switching mode, an abrupt switching mode and a hybrid switching mode.
5. The method of claim 4, wherein, The judgment of whether the target frame data corresponding to the first type meets the first condition comprises at least one of: determining a transmission duration of the target frame data corresponding to the first type according to a maximum carrying data amount of the target frame data corresponding to the first type; In a case where a remaining time length of the target window is less than a transmission time length of the target frame data corresponding to the first type, it is determined that the target frame data corresponding to the first type satisfies the first condition. In a case where the target frame data corresponding to the first type is not received within a second time period, it is determined that the target frame data corresponding to the first type satisfies the first condition.
6. The method of claim 3, wherein, The method further comprises: In a case where the target data type corresponding to the target frame data is the first type or the second type, it is determined whether the target frame data corresponding to the first type or the second type satisfies a second condition. In a case where the target frame data corresponding to the first type or the second type satisfies the second condition, target frame data corresponding to a third type is generated in a target switching mode to be sent in the target window, the target frame data of the third type includes acknowledgement data, a maximum bearing data amount of the target frame data of the third type is less than a maximum bearing data amount of the target frame data of the second type, and the target switching mode is any one of a step switching mode, an abrupt switching mode and a hybrid switching mode.
7. The method of claim 6, wherein, The determination whether the target frame data corresponding to the first type or the second type satisfies the second condition comprises at least one of the following: In a case where a bit error rate of the target link within a current time period is greater than or equal to a first threshold value, it is determined that the target frame data corresponding to the first type or the second type satisfies the second condition. In a case where an on-off state of the target link at a current time point is interrupted, it is determined that the target frame data corresponding to the first type or the second type satisfies the second condition. In a case where an interruption probability of the target link is greater than or equal to a second threshold value, it is determined that the target frame data corresponding to the first type or the second type satisfies the second condition.
8. The method of claim 1, wherein, The generation of the target frame data corresponding to the target data type according to the target data type and at least one to-be-transmitted data comprises: generating first frame data according to the target data type corresponding to the target frame data; determining whether there is signaling data in the at least one to-be-transmitted data; in a case where a receiving sensitivity corresponding to the target link at a current time point is less than a third threshold value and there is signaling data in the at least one to-be-transmitted data, filling the signaling data and / or at least one first to-be-transmitted data into the first frame data to obtain the target frame data, the first to-be-transmitted data being data other than the signaling data in the at least one to-be-transmitted data; otherwise, determining at least one second to-be-transmitted data from the at least one to-be-transmitted data, and filling the at least one second to-be-transmitted data into the first frame data to obtain the target frame data, the at least one second to-be-transmitted data being all or part of the at least one to-be-transmitted data.
9. The method of claim 1, wherein, The generation of the target frame data corresponding to the target data type according to the target data type and at least one to-be-transmitted data comprises: generating second frame data according to the target data type corresponding to the target frame data; According to a maximum carrying data amount of the second frame data, third to-be-transmitted data is divided into a plurality of sub-data, the third to-be-transmitted data being data with a data amount greater than the maximum carrying data amount of the second frame data among the at least one to-be-transmitted data; The first sub-data in the plurality of sub-data is filled into the second frame data to obtain target frame data corresponding to the first sub-data, the target frame data including a serial number corresponding to the first sub-data.
10. The method of claim 9, wherein, The method further includes: In a case where the target frame data corresponding to the first sub-data is not received within a third time period, a retransmission request frame is generated, the retransmission request frame including the serial number corresponding to the first sub-data; A request acknowledgement message is received in response to the retransmission request frame; The target frame data corresponding to the first sub-data is re-acquired.
11. The method of claim 1, wherein, The method further includes: In a case where a remaining duration of the target window is less than a transmission duration of the target frame data, the target frame data is divided into at least one sub-frame data; At least one target sub-frame data corresponding to the at least one sub-frame data is generated, the at least one target sub-frame data including the serial number corresponding to the target frame data, a number of the at least one sub-frame data, and a serial number of a current target sub-frame data; According to a transmission priority of the at least one target sub-frame data, the at least one target sub-frame data is transmitted.
12. The method of claim 1, wherein, The method further includes: Historical link data, historical weather data, and historical orbit data are acquired; According to the historical link data, the historical weather data, and the historical orbit data, an initial prediction model is trained to obtain the target prediction model.
13. A frame data generating apparatus characterized by comprising: The method includes: A first processing unit is configured to determine at least one first window included in a first time period by using a pre-acquired target prediction model, frame data being received or transmitted within the at least one first window; A second processing unit is configured to determine a target data type according to information of a target window in the at least one first window, the target window being a first window at a current time point for transmitting frame data; A third processing unit is configured to generate target frame data corresponding to the target data type according to the target data type and at least one to-be-transmitted data, so as to transmit the target frame data in the target window through a target link, the target link being a link between a transmitting end of the target frame data and a receiving end of the target frame data.
14. An electronic device, comprising: The method includes: One or more processors; A storage device in communication connection with the one or more processors, the storage device storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method in any one of claims 1-12.
15. A non-transitory computer-readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to make the computer execute the method in any one of claims 1-12.
16. A computer program product, characterised in that, The computer program, when executed by a processor, implements the method in any one of claims 1-12. The computer program, when executed by a processor, implements the method in any one of claims 1-12.