Method and device for determining data storage status of patroller
By using the storage event model and event queue in the patrol to process storage events, calculate the data storage status, and evaluate and correct the execution results of storage events based on the delay telemetry data, the problem of large storage status maintenance work under the complex storage logic of the patrol is solved, and more efficient and accurate data storage status management is achieved.
Patent Information
- Application Number
- CN202210379490.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-12
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2042-04-12
AI Technical Summary
The number of storage areas of the patrol is large, the data storage logic is complex, and there is an association between the storage areas, resulting in a large amount of storage state maintenance work.
A method for determining data storage status of a patrol is proposed. By inputting storage event-related data into the storage event model, adding it to the corresponding event queue, processing storage events through each storage event model, calculating data storage status, and evaluating and correcting the execution results of storage events based on the download delay telemetry data.
It reduces the storage state maintenance workload, improves the accuracy and efficiency of data storage state calculations, and supports more scientific and correct remote operation planning.
Smart Images

Figure CN114816245B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aerospace measurement and control technology, and in particular to a method and device for determining the data storage state of a patrol vehicle. Background Art
[0002] In the patrol and exploration mission on the surface of extraterrestrial bodies, the rover performs sensing, movement, detection and communication according to the planning results on the ground, generates a series of telemetry data and image data, and stores them in the data storage area on the rover. The data storage state of the rover will be used as the input of the next teleoperation planning on the ground, and the planning itself includes the operation of the data storage area itself. Therefore, accurate calculation of the storage state helps to formulate the correct image compression method and data transmission strategy, and improve the correctness and scientificity of the planning results.
[0003] For traditional patrollers, there are only two storage areas: telemetry data storage area and image data storage area, which are independent of each other and have simple storage logic. Therefore, the technical solution adopted is as follows: the ground uses Excel tools to design a storage status calculation algorithm based on remote control instructions and injected data execution results, and records the storage status manually. The current storage status is obtained from real-time telemetry for verification to support subsequent planning tasks.
[0004] However, the patroller has a large number of storage areas, the data storage logic is complex, there are associations between the storage areas, and the workload of maintaining the storage status is large. Summary of the invention
[0005] In view of the problems in the prior art, an embodiment of the present invention provides a method and device for determining the data storage state of a patroller, which can at least partially solve the problems in the prior art.
[0006] In one aspect, the present invention provides a method for determining a data storage state of a patroller, comprising:
[0007] Inputting storage event related data into the storage event model, and adding the corresponding storage events to the corresponding event queues respectively through the storage event model; the storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model;
[0008] The storage events in each event queue are processed in turn by each storage event model to obtain the calculation result of the data storage state;
[0009] The execution results of the storage events are evaluated based on the downlink delayed telemetry data, and the calculation results of the data storage status of the storage events that were not correctly executed are corrected.
[0010] The process of processing the storage events in each event queue in turn through each storage event model to obtain the calculation result of the data storage state includes:
[0011] The storage events in the compressed image storage event queue are processed by the compressed image storage event model to obtain the calculation result of the compressed image data storage state; specifically, the method includes:
[0012] The calculation result of the compressed image data storage status is calculated based on the original image size, the number of compressed image data frames corresponding to each single node pointed to by the address pointer, the amount of image data contained in each compressed image data frame, the number of bad blocks between the start address pointer and the record address pointer for executing the current compressed image storage, the number of node addresses corresponding to each bad block, and the compression ratio.
[0013] The process of processing the storage events in each event queue in turn through each storage event model to obtain the calculation result of the data storage state includes:
[0014] The storage events in the delayed telemetry storage event queue are processed by the delayed telemetry storage event model to obtain the calculation result of the delayed telemetry data storage state; specifically including:
[0015] Determine the count value of the telemetry storage frame, and calculate the result of the delayed telemetry data storage status according to the count value of the telemetry storage frame, the number of telemetry storage frames corresponding to each single node pointed to by the address pointer, the amount of telemetry data contained in each telemetry storage frame, the length of each telemetry storage frame, the number of bad blocks between the start address pointer and the record address pointer for executing the current delayed telemetry storage, and the number of node addresses corresponding to each bad block.
[0016] The data storage state determination method further includes obtaining the delayed telemetry storage execution time, the delayed telemetry storage period, the preset deadline time and the number of storage events in the delayed telemetry storage event queue; accordingly, determining the count value of the telemetry storage frame includes:
[0017] The count value of the telemetry storage frame is calculated according to the delayed telemetry storage execution time, the delayed telemetry storage period, the preset deadline and the number of storage events in the delayed telemetry storage event queue.
[0018] The step of evaluating the execution result of the stored event according to the downlink delayed telemetry data includes:
[0019] Determine a target parameter for evaluating the storage event according to the downlink delayed telemetry data, and determine a target parameter value interval corresponding to the target parameter;
[0020] An evaluation result of the execution result of the storage event is determined according to a comparison result of the target parameter and the target parameter value interval.
[0021] Wherein, determining the evaluation result of the execution result of the storage event according to the comparison result between the target parameter and the target parameter numerical range includes:
[0022] If it is determined that the target parameter is not within the target parameter value range, then the evaluation result is determined to be a storage event that is not executed correctly.
[0023] The correcting of the calculation result of the data storage state of the incorrectly executed storage event includes:
[0024] The storage event corresponding to the calculation result of the data storage state of the storage event that is not correctly executed is deleted, and the relevant data in the corresponding event queue is updated.
[0025] In one aspect, the present invention provides a data storage state determination device of a patroller, comprising:
[0026] An input unit, used to input storage event related data into a storage event model, and to add the corresponding storage events to the corresponding event queues through the storage event model; the storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model;
[0027] A processing unit, used to process the storage events in each event queue in turn through each storage event model to obtain a calculation result of the data storage state;
[0028] The correction unit is used to evaluate the execution result of the storage event according to the downlink delayed telemetry data, and to correct the calculation result of the data storage state of the storage event that was not correctly executed.
[0029] In another aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory, and a bus, wherein:
[0030] The processor and the memory communicate with each other via the bus;
[0031] The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the following method:
[0032] Inputting storage event related data into the storage event model, and adding the corresponding storage events to the corresponding event queues respectively through the storage event model; the storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model;
[0033] The storage events in each event queue are processed in turn by each storage event model to obtain the calculation result of the data storage state;
[0034] The execution results of the storage events are evaluated based on the downlink delayed telemetry data, and the calculation results of the data storage status of the storage events that were not correctly executed are corrected.
[0035] An embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
[0036] The non-transitory computer-readable storage medium stores computer instructions, which cause the computer to execute the following method:
[0037] Inputting storage event related data into the storage event model, and adding the corresponding storage events to the corresponding event queues respectively through the storage event model; the storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model;
[0038] The storage events in each event queue are processed in turn by each storage event model to obtain the calculation result of the data storage state;
[0039] The execution results of the storage events are evaluated based on the downlink delayed telemetry data, and the calculation results of the data storage status of the storage events that were not correctly executed are corrected.
[0040] The data storage status determination method and device of the patroller provided in the embodiment of the present invention input storage event related data into the storage event model, and add the corresponding storage events to the corresponding event queues respectively through the storage event model; the storage event model includes the original image storage event model, the compressed image storage event model and the delayed telemetry storage event model; the storage events in each event queue are processed in turn by each storage event model to obtain the calculation result of the data storage status; the execution result of the storage event is evaluated according to the downlink delayed telemetry data, and the calculation result of the data storage status of the storage event that is not correctly executed is corrected, which can reduce the workload of storage status maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0042] Figure 1 The present invention is a flowchart of a method for determining a data storage state of a patroller provided in an embodiment of the present invention.
[0043] Figure 2 It is a flowchart of a method for determining data storage status of a patroller provided by another embodiment of the present invention.
[0044] Figure 3 It is a structural diagram of a data storage status determination device of a patroller provided by an embodiment of the present invention.
[0045] Figure 4 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily.
[0047] Figure 1 FIG. 1 is a flow chart of a method for determining a data storage state of a patroller provided by an embodiment of the present invention. Figure 1 As shown, the data storage status determination method of the patroller provided by the embodiment of the present invention includes:
[0048] Step S1: input storage event related data into the storage event model, and add the corresponding storage events to the corresponding event queue through the storage event model; the storage event model includes the original image storage event model, the compressed image storage event model and the delayed telemetry storage event model.
[0049] Step S2: Process the storage events in each event queue in turn through each storage event model to obtain the calculation result of the data storage state.
[0050] Step S3: Evaluate the execution result of the storage event according to the downlink delayed telemetry data, and correct the calculation result of the data storage state of the storage event that is not correctly executed.
[0051] In the above step S1, the device inputs the storage event related data into the storage event model, and adds the corresponding storage events to the corresponding event queues through the storage event model; the storage event model includes the original image storage event model, the compressed image storage event model and the delayed telemetry storage event model. The device can be a computer device that executes the method, such as a control center server, which can obtain the storage event related data and download the delayed telemetry data and other data required to execute the method. The method of the embodiment of the present invention can simulate the data storage state of the data stored in the rover, and the rover can include an external celestial body rover.
[0052] It is necessary to establish a storage event model in advance, where the storage event model for the original image is:
[0053] Four types of cameras can be installed on the patroller. After being driven by the imaging drive instruction, one or more cameras will start to generate several raw images, which are stored in the corresponding storage areas A1~A4 respectively. The raw image sizes are fixed values S1~S4 (unit Mb). This model defines the generation of a single raw image as a raw image storage event. As shown in Table 1, an imaging drive instruction is usually accompanied by the occurrence of multiple raw image storage events.
[0054] Table 1
[0055]
[0056] The model elements included in the original image storage event model are not limited to the model elements in Table 1, and may also include model elements required by the original image storage event model to process storage events.
[0057] For compressed image storage event model:
[0058] After the image compression remote control injection data is input, the selected multiple images are compressed in sequence according to the numbering order from the specified original image storage area and stored in the compressed image storage area in the form of data frames. This model defines the compression storage of a single original image as a storage event, as shown in Table 2. An image compression instruction is usually accompanied by multiple compressed image storage events.
[0059] Table 2
[0060]
[0061] The model elements included in the compressed image storage event model are not limited to the model elements in Table 2, and may also include model elements required by the compressed image storage event model to process storage events.
[0062] For delayed telemetry storage event model:
[0063] In the patrol detection working state, the patroller writes delayed telemetry data to the three delayed telemetry storage areas at different frequencies; if a storage area stops writing, the storage frequency is considered to be 0. This model defines the remote control command execution related to telemetry mode switching and delayed telemetry storage cycle adjustment as a delayed telemetry storage event, as shown in Table 3.
[0064] Table 3
[0065]
[0066]
[0067] The model elements included in the delayed telemetry storage event model are not limited to the model elements in Table 3, and may also include model elements required for the delayed telemetry storage event model to process storage events.
[0068] The storage event related data can be obtained by receiving uplink remote control data. The storage event related data may include drive instructions and injection parameters related to the storage event, and the corresponding storage events are triggered in sequence; if one instruction corresponds to multiple events in multiple storage areas, they are triggered separately. The corresponding storage events can be triggered in the order of original image storage events, compressed image storage events, and delayed telemetry storage events.
[0069] The storage events are added to the corresponding event queues respectively, including adding the original image storage events to the original image storage event queues L1~L4, adding the compressed image storage events to the compressed image storage event queue L5, and adding the delayed telemetry storage events to the delayed telemetry storage event queues L6~L8.
[0070] In the above step S2, the device processes the storage events in each event queue in turn through each storage event model to obtain the calculation result of the data storage state.
[0071] The storage events in the original image storage event queue are processed by the original image storage event model; conventional processing methods in the art may be used.
[0072] The storage events in the compressed image storage event queue are processed by the compressed image storage event model to obtain the calculation result of the compressed image data storage state; specifically, the method includes:
[0073] The calculation result of the compressed image data storage status is calculated based on the original image size, the number of compressed image data frames corresponding to each single node pointed to by the address pointer, the amount of image data contained in each compressed image data frame, the number of bad blocks between the start address pointer and the record address pointer for executing the current compressed image storage, the number of node addresses corresponding to each bad block, and the compression ratio.
[0074] The number of compressed image data frames that can be stored in each single node pointed to by the address pointer can be set independently according to actual conditions, and can be selected as 4.
[0075] The amount of image data contained in each compressed image data frame is Len bytes. It should be noted that the 4 compressed image data frames of each node need to be fully written during storage. Therefore, when the compressed compressed image data frame is not an integer multiple of 4, 1 to 3 idle frames will be filled.
[0076] The calculation result of the compressed image data storage state is calculated according to the original image size, the number of compressed image data frames corresponding to each single node pointed to by the address pointer, the amount of image data contained in each compressed image data frame, the number of bad blocks between the start address pointer and the record address pointer for executing the current compressed image storage, the number of node addresses corresponding to each bad block, and the compression ratio, specifically including calculation according to the following formula:
[0077] W2=W1+ceil(ceil((Si / r)×1024×1024 / 8 / Len) / 4)+64×M
[0078] Among them, Si is the original image size (Mb), the function ceil(X) means returning the smallest integer greater than X, M is the number of bad blocks between W1 and W2, r is the compression ratio (specific description, as shown in Table 2), and the number of nodes corresponding to a single bad block can be set independently according to actual conditions, and can be selected as 64, which can be explained in Table 2. The W1 of the first event in queue L5 is the initial address W0 of the compressed storage area, and the W2 of the previous event is used as the W1 of the next event, and it is continuously iterated until the entire process of calculating the compressed image data storage state is completed.
[0079] Other model elements can be obtained from instruction information and injection parameters.
[0080] The storage events in the delayed telemetry storage event queue are processed by the delayed telemetry storage event model to obtain the calculation result of the delayed telemetry data storage state; specifically including:
[0081] Determine the count value of the telemetry storage frame, and calculate the result of the delayed telemetry data storage status according to the count value of the telemetry storage frame, the number of telemetry storage frames corresponding to each single node pointed to by the address pointer, the amount of telemetry data contained in each telemetry storage frame, the length of each telemetry storage frame, the number of bad blocks between the start address pointer and the record address pointer for executing the current delayed telemetry storage, and the number of node addresses corresponding to each bad block.
[0082] The number of telemetry storage frames that can be stored in each single node pointed to by the address pointer can be set independently according to actual conditions, and can be selected as 4.
[0083] The amount of image data contained in each telemetry storage frame is Ls bytes, and the length of each telemetry storage frame is Lf bytes.
[0084] Specifically, it is calculated according to the following formula:
[0085] w2=w1+ceil(N×Lf / Ls / 4)+64×m
[0086] Among them, N is the count value of the telemetry storage frame, the number of bad blocks between the start address pointer and the record address pointer for executing the current delayed telemetry storage is m, and the number of nodes corresponding to a single bad block can be set independently according to the actual situation, which can be selected as 64, as shown in Table 2. w1 and w2 are the start address pointer and record address pointer of the current delayed telemetry storage, respectively. w2 of the previous event is used as w1 of the next event, and it is continuously iterated until the entire process of calculating the delayed telemetry data storage state is completed.
[0087] If the delayed telemetry event queue meets T i <T end There are k storage events in total, then the deadline is T end The telemetry data frame count stored at this time is the count value of the telemetry storage frame.
[0088] The data storage state determination method further includes obtaining a delayed telemetry storage execution time, a delayed telemetry storage period, a preset deadline time, and the number of storage events in the delayed telemetry storage event queue; accordingly, determining the count value of the telemetry storage frame includes:
[0089] The count value of the telemetry storage frame is calculated according to the delayed telemetry storage execution time, the delayed telemetry storage cycle, the preset cut-off time and the number of storage events in the delayed telemetry storage event queue. The preset cut-off time can be set independently according to actual conditions. The count value N of the telemetry storage frame can be calculated according to the following formula:
[0090]
[0091] Among them, T k is the delayed telemetry storage execution time corresponding to the kth storage event, T i is the delayed telemetry storage execution time corresponding to the i-th storage event, T end is the preset cut-off time, P k is the delayed telemetry storage period corresponding to the kth storage event, P i is the delayed telemetry storage period corresponding to the i-th storage event.
[0092] In addition, if an erase instruction is encountered, the corresponding event queue is cleared, and the record address pointer of the compressed image and delayed telemetry storage area is restored to the initial address of the memory.
[0093] In the above step S3, the device evaluates the execution result of the storage event according to the downlink delayed telemetry data, and corrects the calculation result of the data storage state of the storage event that is not correctly executed.
[0094] like Figure 2 As shown, the evaluation of the execution result of the storage event according to the downlink delayed telemetry data includes:
[0095] S31: Determine the target parameters for evaluating the storage event according to the downlink delayed telemetry data, and determine the target parameter value range corresponding to the target parameters; if the target parameters for evaluating storage event a are A1 and B2, extract the target parameters A1 and B2 from the downlink delayed telemetry data, and storage event a can be one of the above-mentioned original image storage event, compressed image storage event and delayed telemetry storage event.
[0096] The target parameter value interval of A1 is (a11, a12), and the target parameter value interval of B2 is (b21, b22). The target parameter value interval is a parameter value interval corresponding to the correct execution of a predetermined storage event.
[0097] S32: Determine the evaluation result of the execution result of the storage event according to the comparison result of the target parameter and the target parameter value interval. If A1 and B2 are both in (a11, a12) and (b21, b22) respectively, then determine that the evaluation result is a correctly executed storage event.
[0098] The step of determining an evaluation result of the execution result of the storage event according to a comparison result between the target parameter and the target parameter value interval includes:
[0099] If it is determined that the target parameter is not within the target parameter value range, then the evaluation result is determined to be a storage event that is not executed correctly.
[0100] If at least one of A1 and B2 is not in (a11, a12) and / or (b21, b22), the evaluation result is determined to be a storage event that is not correctly executed.
[0101] The stored events in each event queue are evaluated one by one, and the evaluation results are recorded: "not correctly executed" or "correctly executed"; events that have been evaluated will not be evaluated again.
[0102] The correction processing of the calculation result of the data storage state of the storage event that is not correctly executed includes:
[0103] The storage event corresponding to the calculation result of the data storage state of the storage event that was not correctly executed is deleted, and the relevant data in the corresponding event queue is updated. If a certain original image storage event is not correctly executed, the storage event in the original image storage event queue is deleted, and the "image number" of the subsequent storage event in the original image storage event queue is recalculated. At the same time, the "compressed original image information" of the relevant storage event in the compressed image storage event queue is updated, and the address pointers W1, W2 and the number of bad blocks M are updated according to the calculation method of the compressed image data storage state.
[0104] If a compressed image storage event is not correctly executed, the storage event in the compressed image storage event queue is deleted, and the address pointers W1, W2 and the number of bad blocks M are updated according to the calculation method of the compressed image data storage state.
[0105] If a delayed telemetry storage event is not correctly executed, the storage event in the delayed telemetry storage event queue is deleted, and the address pointers w1, w2 and the number of bad blocks m are updated according to the calculation method of the delayed telemetry data storage state.
[0106] The data storage status determination method of the patroller provided in the embodiment of the present invention inputs storage event related data into the storage event model, and adds the corresponding storage events to the corresponding event queues respectively through the storage event model; the storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model; the storage events in each event queue are processed in turn by each storage event model to obtain the calculation result of the data storage status; the execution result of the storage event is evaluated according to the downlink delayed telemetry data, and the calculation result of the data storage status of the storage event that is not correctly executed is corrected, which can reduce the workload of storage status maintenance.
[0107] Furthermore, the storage events in each event queue are processed in sequence by each storage event model to obtain a calculation result of the data storage state, including:
[0108] The storage events in the compressed image storage event queue are processed by the compressed image storage event model to obtain the calculation result of the compressed image data storage state; specifically, the method includes:
[0109] The calculation result of the compressed image data storage state is calculated according to the original image size, the number of compressed image data frames corresponding to each single node pointed to by the address pointer, the image data amount contained in each compressed image data frame, the number of bad blocks between the start address pointer and the record address pointer for executing the current compressed image storage, the number of node addresses corresponding to each bad block, and the compression ratio. Please refer to the above description and do not repeat it again.
[0110] Furthermore, the storage events in each event queue are processed in sequence by each storage event model to obtain a calculation result of the data storage state, including:
[0111] The storage events in the delayed telemetry storage event queue are processed by the delayed telemetry storage event model to obtain the calculation result of the delayed telemetry data storage state; specifically including:
[0112] Determine the count value of the telemetry storage frame, and calculate the calculation result of the delayed telemetry data storage state according to the count value of the telemetry storage frame, the number of telemetry storage frames corresponding to each single node pointed to by the address pointer, the amount of telemetry data contained in each telemetry storage frame, the length of each telemetry storage frame, the number of bad blocks between the start address pointer and the record address pointer for executing the current delayed telemetry storage, and the number of node addresses corresponding to each bad block. Please refer to the above description and do not repeat it again.
[0113] Furthermore, the data storage state determination method further includes obtaining the delayed telemetry storage execution time, the delayed telemetry storage period, the preset deadline time and the number of storage events in the delayed telemetry storage event queue; accordingly, determining the count value of the telemetry storage frame includes:
[0114] The count value of the telemetry storage frame is calculated according to the delayed telemetry storage execution time, the delayed telemetry storage period, the preset end time and the number of storage events in the delayed telemetry storage event queue.
[0115] Further, the evaluating the execution result of the stored event according to the downlink delayed telemetry data includes:
[0116] Determine the target parameter for evaluating the storage event based on the downlink delayed telemetry data, and determine the target parameter value range corresponding to the target parameter; refer to the above description and no further details will be given.
[0117] According to the comparison result between the target parameter and the target parameter value range, the evaluation result of the execution result of the storage event is determined. Please refer to the above description and no further details will be given.
[0118] Further, the determining the evaluation result of the execution result of the storage event according to the comparison result between the target parameter and the target parameter numerical range includes:
[0119] If it is determined that the target parameter is not within the target parameter value range, the evaluation result is determined to be a storage event that is not correctly executed. Please refer to the above description and no further details will be given.
[0120] Furthermore, the correction processing of the calculation result of the data storage state of the incorrectly executed storage event includes:
[0121] The storage event corresponding to the calculation result of the data storage state of the storage event that is not correctly executed is deleted, and the relevant data in the corresponding event queue is updated. Please refer to the above description and no further details will be given.
[0122] The method of the embodiment of the present invention also has the following beneficial effects.
[0123] 1. It can realize the storage state calculation of patrollers with multiple storage areas, high complexity and large workload.
[0124] 2. The whole process is unattended, reducing the need for manual intervention.
[0125] 3. Delayed telemetry data can be used to evaluate storage events and correct storage calculation results.
[0126] 4. The storage status calculation results are highly reliable, which helps to improve the accuracy and scientificity of teleoperation planning results.
[0127] Figure 3 FIG. 1 is a schematic diagram of a data storage state determination device for a patroller according to an embodiment of the present invention. Figure 3 As shown, the data storage state determination device of the patroller provided by the embodiment of the present invention includes an input unit 301, a processing unit 302 and a correction unit 303, wherein:
[0128] The input unit 301 is used to input storage event related data into the storage event model, and add the corresponding storage events to the corresponding event queues through the storage event model; the storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model; the processing unit 302 is used to process the storage events in each event queue in turn through each storage event model to obtain the calculation result of the data storage status; the correction unit 303 is used to evaluate the execution result of the storage event according to the downlink delayed telemetry data, and correct the calculation result of the data storage status of the storage event that is not correctly executed.
[0129] Specifically, the input unit 301 in the device is used to input storage event related data into the storage event model, and add the corresponding storage events to the corresponding event queues through the storage event model; the storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model; the processing unit 302 is used to process the storage events in each event queue in turn through each storage event model to obtain the calculation result of the data storage status; the correction unit 303 is used to evaluate the execution result of the storage event according to the downlink delayed telemetry data, and correct the calculation result of the data storage status of the storage event that is not correctly executed.
[0130] The data storage status determination device of the patroller provided by the embodiment of the present invention inputs storage event related data into the storage event model, and adds the corresponding storage events to the corresponding event queues respectively through the storage event model; the storage event model includes the original image storage event model, the compressed image storage event model and the delayed telemetry storage event model; the storage events in each event queue are processed in turn by each storage event model to obtain the calculation result of the data storage status; the execution result of the storage event is evaluated according to the downlink delayed telemetry data, and the calculation result of the data storage status of the storage event that is not correctly executed is corrected, which can reduce the workload of storage status maintenance.
[0131] The data storage status determination device of the patroller provided in the embodiment of the present invention can be specifically used to execute the processing flow of the above-mentioned method embodiments. Its functions are not described in detail here, and reference can be made to the detailed description of the above-mentioned method embodiments.
[0132] Figure 4 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present invention, such as Figure 4 As shown, the electronic device includes: a processor (processor) 401, a memory (memory) 402 and a bus 403;
[0133] The processor 401 and the memory 402 communicate with each other via a bus 403;
[0134] The processor 401 is used to call the program instructions in the memory 402 to execute the methods provided by the above method embodiments, for example, including:
[0135] Inputting storage event related data into the storage event model, and adding the corresponding storage events to the corresponding event queues respectively through the storage event model; the storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model;
[0136] The storage events in each event queue are processed in turn by each storage event model to obtain the calculation result of the data storage state;
[0137] The execution results of the storage events are evaluated based on the downlink delayed telemetry data, and the calculation results of the data storage status of the storage events that were not correctly executed are corrected.
[0138] This embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can perform the methods provided by the above method embodiments, for example, including:
[0139] Inputting storage event related data into the storage event model, and adding the corresponding storage events to the corresponding event queues respectively through the storage event model; the storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model;
[0140] The storage events in each event queue are processed in turn by each storage event model to obtain the calculation result of the data storage state;
[0141] The execution results of the storage events are evaluated based on the downlink delayed telemetry data, and the calculation results of the data storage status of the storage events that were not correctly executed are corrected.
[0142] This embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program enables the computer to execute the methods provided by the above method embodiments, for example, including:
[0143] Inputting storage event related data into the storage event model, and adding the corresponding storage events to the corresponding event queues respectively through the storage event model; the storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model;
[0144] The storage events in each event queue are processed in turn by each storage event model to obtain the calculation result of the data storage state;
[0145] The execution results of the storage events are evaluated based on the downlink delayed telemetry data, and the calculation results of the data storage status of the storage events that were not correctly executed are corrected.
[0146] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0147] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0148] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0150] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0151] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for determining the data storage status of a patroller, characterized in that: include: Inputting storage event related data into the storage event model, and adding the corresponding storage events to the corresponding event queues respectively through the storage event model; The storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model; The storage events in each event queue are processed in turn by each storage event model to obtain a calculation result of the data storage state; the calculation result of the data storage state includes an address pointer and a number of bad blocks; The execution results of the storage events are evaluated based on the downlink delayed telemetry data, and the calculation results of the data storage status of the storage events that were not correctly executed are corrected.
2. The method for determining the data storage status of a patroller according to claim 1, characterized in that: The storage events in each event queue are processed in sequence by each storage event model to obtain the calculation result of the data storage state, including: The storage events in the compressed image storage event queue are processed by the compressed image storage event model to obtain the calculation result of the compressed image data storage state; specifically, the method includes: The calculation result of the compressed image data storage status is calculated based on the original image size, the number of compressed image data frames corresponding to each single node pointed to by the address pointer, the amount of image data contained in each compressed image data frame, the number of bad blocks between the start address pointer and the record address pointer for executing the current compressed image storage, the number of node addresses corresponding to each bad block, and the compression ratio.
3. The method for determining the data storage status of a patroller according to claim 2, characterized in that: The storage events in each event queue are processed in sequence by each storage event model to obtain the calculation result of the data storage state, including: The storage events in the delayed telemetry storage event queue are processed by the delayed telemetry storage event model to obtain the calculation result of the delayed telemetry data storage state; specifically including: Determine the count value of the telemetry storage frame, and calculate the result of the delayed telemetry data storage status according to the count value of the telemetry storage frame, the number of telemetry storage frames corresponding to each single node pointed to by the address pointer, the amount of telemetry data contained in each telemetry storage frame, the length of each telemetry storage frame, the number of bad blocks between the start address pointer and the record address pointer for executing the current delayed telemetry storage, and the number of node addresses corresponding to each bad block.
4. The method for determining the data storage status of a patroller according to claim 3, characterized in that: The data storage state determination method further includes obtaining a delayed telemetry storage execution time, a delayed telemetry storage period, a preset deadline time, and the number of storage events in the delayed telemetry storage event queue; accordingly, determining the count value of the telemetry storage frame includes: The count value of the telemetry storage frame is calculated according to the delayed telemetry storage execution time, the delayed telemetry storage period, the preset deadline and the number of storage events in the delayed telemetry storage event queue.
5. The method for determining the data storage status of a patroller according to any one of claims 1 to 4, characterized in that: The evaluating the execution result of the storage event according to the downlink delayed telemetry data includes: Determine a target parameter for evaluating the storage event according to the downlink delayed telemetry data, and determine a target parameter value interval corresponding to the target parameter; An evaluation result of the execution result of the storage event is determined according to a comparison result of the target parameter and the target parameter value interval.
6. The method for determining the data storage status of a patroller according to claim 5, characterized in that: The step of determining an evaluation result of the execution result of the storage event according to a comparison result between the target parameter and the target parameter value interval includes: If it is determined that the target parameter is not within the target parameter value range, then the evaluation result is determined to be a storage event that is not executed correctly.
7. The method for determining the data storage status of a patroller according to claim 6, characterized in that: The correction processing of the calculation result of the data storage state of the storage event that is not correctly executed includes: The storage event corresponding to the calculation result of the data storage state of the storage event that is not correctly executed is deleted, and the relevant data in the corresponding event queue is updated.
8. A device for determining the data storage status of a patroller, characterized in that: include: An input unit, used for inputting storage event related data into the storage event model, and adding the corresponding storage events to the corresponding event queues respectively through the storage event model; The storage event model includes an original image storage event model, a compressed image storage event model and a delayed telemetry storage event model; A processing unit, used to process the storage events in each event queue in turn through each storage event model to obtain a calculation result of the data storage state; the calculation result of the data storage state includes an address pointer and a number of bad blocks; The correction unit is used to evaluate the execution result of the storage event according to the downlink delayed telemetry data, and to correct the calculation result of the data storage state of the storage event that was not correctly executed.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Data processing method used for two-device joint test
CN103235782A
Satellite delay telemetry data storing and downloading method
CN104749593A