Satellite house service system on-line two-out-of-three starting device and method
Technical Field
The invention relates to an on-line two-out-of-three starting device and method for a satellite house keeping system, and belongs to the field of satellite house keeping systems.
Background
At present, a satellite house keeping system mostly adopts a method for starting based on a three-taking two-flow process, wherein the three-taking two-flow process means that any two or more than two of three original data are required to be selected for each starting data to meet the same condition, and the starting data needs to be subjected to two-taking three operation and finally written into the satellite house keeping system to complete the starting. The method avoids the situation that the staring system cannot read correct starting data and cannot normally complete starting due to the fact that high-speed particles in the space overturn data in the starting memory, and improves the on-orbit reliability of the staring system. However, the conventional satellite affair system based on the three-out-of-two flow adopts a mode that the three-out-of-two flow and the starting process are sequentially performed, that is, the satellite affair system can be normally started only when the three-out-of-two flow is finished, so that the three-out-of-two flow and the starting process cannot be performed simultaneously, that is, the on-line starting of the satellite affair system cannot be realized, and the restoration of the original stored data cannot be realized. The invention provides an on-line two-out-of-three starting device and method of a satellite house service system, which are improved on the basis of the original starting based on two-out-of-three flow.
Disclosure of Invention
The invention aims to provide an on-line two-out-of-three starting device and method for a satellite star service system aiming at the defects of the prior art.
The purpose of the invention is realized by the following technical scheme:
an on-line two-out-of-three starting device of a satellite star service system comprises the star service system, a starting memory A, a starting memory B, FPGA, a cache and a two-out-of-three memory, wherein an FPGA mainly comprises a switch logic unit and a two-out-of-three module, and the switch logic unit switch is provided with A, B, I and II contacts. The starting memory A is connected with the switch logic unit switch contact A, the starting memory B is connected with the switch logic unit switch contact B, the star system is connected with the switch logic unit switch contact II, the two-out-of-three module is connected with the switch logic unit switch contact I, the two-out-of-three module is simultaneously connected with the cache and the two-out-of-three memory, and the star system and the two-out-of-three module can be connected to the starting memory A or the starting memory B through the switch logic unit switch.
In the technical scheme, the star service system can be controlled by the switch logic unit to be connected with the starting memory A or the starting memory B, and the starting data in the starting memory is read for starting.
The starting memory A can be connected with the star affair system and writes starting data into the star affair system.
The starting memory B can be connected with the two-out-of-three module, the starting data in the cache is read by the two-out-of-three module by taking a block as a unit, and the starting data is written into the star system by taking the block as a unit to complete online starting.
The switch logic unit may connect the boot memory a or the boot memory B to the star system or the two-out-of-three module, but the boot memory a and the boot memory B may not be connected to the star system or the two-out-of-three module at the same time, i.e. the switch A, B may not be simultaneously toggled to i or ii.
The two-out-of-three module is used for simultaneously reading three starting file data in the two-out-of-three memory by taking a block as a unit and writing the three starting file data into the cache, simultaneously reading the three starting data written in the cache by taking a bit as a unit and performing two-out-of-three operation to obtain correct data of the bit, writing the correct starting data of the bit into the cache for repairing, and writing the correct starting data after the two-out-of-three operation in the cache into the starting memory B (3) by taking the block as a unit and repairing original starting data in the two-out-of-three memory.
The cache temporarily stores the starting data in the two-out-of-three memory, and writes the starting data after the two-out-of-three operation into the starting memory B through the two-out-of-three module.
The two-out-of-three memory comprises three same starting file storages for storing starting data required by starting the satellite system.
A specific implementation method of an online two-out-of-three starting device of a satellite house service system is as follows: a in the switch logic unit is dialed to II, the star system is connected with the starting memory A to read starting data, and normal starting is carried out; meanwhile, B in the switch logic unit switch is dialed to I, the starting memory B is connected with a two-out-of-three module, the two-out-of-three module reads three starting file data in the two-out-of-three memory by taking a block as a unit after the cache is cleared, three blocks of data are written into the cache, then the two-out-of-three module reads three blocks of starting data in the cache by taking a block as a unit to obtain correct data of the bit, the bit data are written back to the cache to be repaired, the two-out-of-three module writes the correct starting data subjected to the two-out-of-three operation in the cache into the starting memory B by taking the block as a unit and repairs the original data in the two-out-of-three memory at the same time, and the starting memory B and the two-out-of-three memory are closed after all data are transmitted; at the moment, the switch A of the control switch logic unit is dialed to I, the switch B is dialed to II, the starting memory B and the two-out-of-three memory are started, the satellite system is connected with the starting memory B, the starting data is read by taking a block as a unit to be started on line, the starting memory A is connected with the two-out-of-three module to perform the two-out-of-three flow again, and therefore the starting memory A, B can alternately perform the two-out-of-three flow by controlling the toggling of the switch logic unit, so that the satellite system can be started on line correctly.
Compared with the prior art, the invention has the following beneficial effects:
1) the method is different from the traditional method for carrying out the three-out-of-two process and the start sequence of the satellite system, the separation of the start process of the satellite system and the three-out-of-two process is realized, the two processes are independent, the operation of the satellite system is ensured, and the three-out-of-two of the satellite software can be completed;
2) the method writes the correct starting data after the two-out-of-three comparison back to the two-out-of-three memory in the two-out-of-three process, repairs the wrong initial starting data in the two-out-of-three memory, ensures the reliability of the two-out-of-three data every time, and improves the efficiency of the next two-out-of-three process.
Drawings
FIG. 1 is a schematic structural diagram of an on-line two-out-of-three starting device of a satellite house service system;
FIG. 2 is a schematic flow chart of an on-line two-out-of-three starting method for a satellite house service system;
Detailed Description
Fig. 1 is an online two-out-of-three starting device for a satellite star service system, which mainly includes a star service system 1, a starting memory a2, a starting memory B3, an FPGA4, a cache 7, and a two-out-of-three memory 8, where the FPGA4 mainly includes a switch logic unit switch5 and a two-out-of-three module 6, and the switch logic unit switch has A, B, i, and ii four contacts. The start memory A2 is connected with a switch logic unit switch5 contact A, the start memory B3 is connected with a switch logic unit switch5 contact B, the star system 1 is connected with a switch logic unit switch5 contact II, the two-out-of-three module 6 is connected with a switch logic unit switch5 contact I, the two-out-of-three module (6) is simultaneously connected with the cache 7 and the two-out-of-three memory 8, and the star system 1 and the two-out-of-three module 6 can be connected to the start memory A2 or the start memory B3 through a switch logic unit switch 5.
Fig. 2 is a specific implementation method of an on-line two-out-of-three start of a satellite house service system, which comprises the following processes:
a in the switch logic unit is dialed to II, the star system is connected with the starting memory A to read starting data, and normal starting is carried out; meanwhile, B in the switch logic unit switch is toggled to i to enable the boot memory B to perform a two-out-of-three flow, as shown by the dashed line box in fig. 2, that is: the starting memory B is connected with a two-out-of-three module, the two-out-of-three module reads three starting file data in the two-out-of-three memory by taking a block as a unit and writes three pieces of data into a cache after the cache is emptied, then the two-out-of-three module reads three pieces of starting data in the cache by a bit and performs two-out-of-three operation to obtain correct data of the bit, the data of the bit is written back to the cache for repair, the two-out-of-three module writes the correct starting data in the cache by taking the block as a unit into the starting memory B and repairs original data in the two-out-of-three memory at the same time, and the starting memory B and the two-out-of-three memory are closed after all data are transmitted so as to ensure that the; at the moment, the switch A of the control switch logic unit is switched to I, the switch B is switched to II, the starting memory B and the two-out-of-three memory are started, the staring system is connected with the starting memory B to read starting data by taking a block as a unit for on-line starting, and the starting memory A is connected with the two-out-of-three module to perform the two-out-of-three flow again.
The following is a detailed description of an on-line two-out-of-three starting device and method for a satellite star service system.
An on-line two-out-of-three starting device for a satellite house service system. The star affair system carries a Linux system based on DSP or ARM processor hardware so as to respond to external interruption and read starting data in real time; the boot memory A, the boot memory B and the two-out-of-three memory can use NandFlash or eMMC (embedded Multi Media card) to store file data required by the start of the satellite system; using eMMC or SSD as a cache unit; for example, the star affair system adopts an ARM processor, the starting memory, the two-out-of-three memory and the cache all use eMMC, the star affair system ARM is connected with the FPGA through an ARM bus, and the memory and the cache are connected with the FPGA through an eMMC interface. The specific starting process of the device is as follows: the switch logic unit A is switched to II, the star system ARM is connected with the starting eMMC (A) to read starting data for normal starting; meanwhile, the switch logic unit B is dialed to I, eMMC (B) is started to connect a two-out-of-three module, the two-out-of-three module reads three pieces of starting file data in the two-out-of-three eMMC by taking a block as a unit and writes three pieces of data into a cache after the cache is emptied, then the two-out-of-three module reads three pieces of starting data in the cache by taking a block as a unit to obtain correct data of the bit and writes the correct starting data into the starting eMMC (B) by taking the block as a unit while repairing the original data in the two-out-of-three eMMC, and the starting eMMC (B) and the two-out-of-three eMMC are closed to ensure that the data cannot be knocked over by high-speed particles; at the moment, the switch A of the controllable switch logic unit is switched to I, the switch B is switched to II, the eMMC (B) and the two-out-of-three eMMC (B) are started, the star system ARM is connected with the eMMC (B) and starts the eMMC (B) to read starting data by taking a block as a unit for on-line starting, and the eMMC (A) is connected with the two-out-of-three module for a two-out-of-three flow.
The previous description of the disclosed examples is provided to enable any person skilled in the art to make or use the present invention. Various modifications to this example will be readily apparent to those skilled in the art. The satellite star system on-line two-out-of-three starting system defined in this document is only an example of the satellite star system on-line two-out-of-three starting system of the present invention, but the number of the star systems is not limited to 1, and the increase in the number should fall within the protection scope of the corresponding claims of the present invention, and the selection of the types and the number of the memories and the caches in the satellite star system on-line two-out-of-three starting device should also fall within the protection scope of the corresponding claims of the present invention. Thus, the present invention is not intended to be limited to the examples shown herein but is to be accorded the widest scope consistent with the principles disclosed herein.