Disclosure of Invention
The invention aims to solve the problem that the short-term power-up of a single whole machine in the prior art cannot meet the use requirement; the single whole machine long-term power-up influences the service life of the short-term working module, and increases the power consumption of the whole machine, so that the reliability index of the whole machine is possibly reduced.
The invention provides a control method of a long-term and short-term working module of a satellite-borne storage device, which comprises the following steps:
s1, starting to power up the whole satellite-borne storage equipment, and starting a long-term module to power up by a satellite-borne storage equipment controller;
s2, detecting whether a short-term module of the satellite-borne storage device has an internally proposed short-term module working request of the satellite-borne storage device by the satellite-borne storage device controller, and if so, performing a step S3; if not, repeating the step S2;
s3, detecting whether a short-term module of the satellite-borne storage equipment is in a power-on state or not by the satellite-borne storage equipment controller, and if so, performing a step S4; if not, starting the power-on state and performing step S5;
s4, detecting whether the power-on state of the short-term module of the satellite-borne storage device is in a power-on flow or not by the satellite-borne storage device controller, if so, continuing to finish the power-on flow, and then running the step S5; if not, step S5 is carried out;
s5, starting a short-term module of the satellite-borne storage equipment to work according to a work request;
s6, completing a short-term module work request of the satellite-borne storage equipment, detecting whether other internal requests or external short-term module power-on instructions of the satellite-borne storage equipment exist or not by the satellite-borne storage equipment controller, if so, continuously powering up the short-term module of the satellite-borne storage equipment into a working state, and performing a step S3 according to the new internal requests or the external short-term module power-on instructions of the satellite-borne storage equipment; if not, the short-term module of the satellite-borne storage equipment is powered off.
When the whole machine is powered on, only the long-term module is powered on, and the short-term module is not powered on, so that the power consumption and the heat consumption are reduced. In the process of executing long-term module work, checking whether a first work request of a short-term module is internally provided, wherein the FPGA or the controller of the long-term module can generate the requirement; continuing to execute long-term module work if no requirement exists; the short-term module is ready to be started. Checking whether the current short-term module is already in power-up work, if the short-term module is powered up and is powered up by an external short-term module power-up instruction, the short-term module function required by the first work request can be directly started to be executed. Checking whether the current short-term module is in the power-on process, if the power-on process of the started short-term module is driven by an internal second work request or an external short-term module power-on instruction but is not completed, the power-on process is not repeatedly started, and only checking whether the short-term module is powered on is completed, so that the short-term module function required by the first work request can be directly started to be executed; and waiting if the power-up is not completed. When the corresponding function of the first work request of the short-term module is completed, checking whether there is a new first internal request or a second internal request or a requirement of an external short-term module power-up instruction, if so, maintaining the power-up state and executing the related function, and if not, powering down the short-term module.
The power-on state is a switchable ready state, and when in the power-on state, a work request can be run.
According to the control method for the long-term and short-term working module of the satellite-borne storage device, which is disclosed by the invention, as an optimal mode, the satellite-borne storage device comprises a satellite-borne storage device controller, a satellite-borne storage device short-term module and a satellite-borne storage device long-term module, wherein the satellite-borne storage device controller is respectively electrically connected with the satellite-borne storage device short-term module and the satellite-borne storage device long-term module, the satellite-borne storage device long-term module is used for controlling the satellite-borne storage device to charge for a long time, the satellite-borne storage device short-term module is used for controlling the satellite-borne storage device to charge for a short time, and the satellite-borne storage device controller realizes the control of the opening and closing of the satellite-borne storage device short-term module through logic control.
According to the control method of the long-term and short-term working module of the satellite-borne storage equipment, the satellite-borne storage equipment controller is connected with at least one short-term module of the satellite-borne storage equipment in an optimal mode.
According to the control method for the long-term and short-term working modules of the satellite-borne storage equipment, which is disclosed by the invention, as an optimal mode, the long-term modules of the satellite-borne storage equipment and the short-term modules of the satellite-borne storage equipment are FPGA.
The method breaks through the traditional power-on and power-off management mode of the storage device, so that the storage device can adapt to the new mode requirements of various load data management of satellites and space vehicles. Meanwhile, the method expands the work management mode of the storage device, so that the storage device gradually develops towards a storage service center of satellite and space vehicle data. Meanwhile, the storage device becomes an indispensable key data support platform in space science test and mapping remote sensing satellites.
The invention has the following beneficial effects:
(1) The working mode of the storage equipment is expanded, so that the storage equipment can adapt to long-term work load data management and short-term work load data management;
(2) The long-term module autonomous management mode of the storage equipment is realized, so that the storage equipment breaks through a single power-on mode and has the capability of timely power-on according to the data storage requirement;
(3) The storage equipment long-term and short-term working modules are simultaneously and independently managed, so that unnecessary power consumption is greatly reduced;
(4) Load management of different working modes is not interfered with each other, and parallel work is realized;
(5) The method realizes the compatibility of two management modes of autonomous power-up management and passive power-up management (which refer to satellite instruction) of a long-short-term working module of the storage device.
Detailed Description
The following description of the embodiments of the present invention will be made more complete in view of the accompanying drawings, in which it is to be understood that the embodiments described are merely some, but not all embodiments of the invention.
Example 1
As shown in fig. 1, a control method for a long-term and short-term working module of a satellite-borne storage device includes the following steps:
s1, starting to power up the whole satellite-borne storage equipment, and starting a long-term module to power up by a satellite-borne storage equipment controller 1;
s2, the satellite-borne storage device controller 1 detects whether the satellite-borne storage device short-term module 2 has an internally proposed satellite-borne storage device short-term module 2 working request, and if so, the step S3 is carried out; if not, repeating the step S2;
s3, the satellite-borne storage device controller 1 detects whether the short-term module 2 of the satellite-borne storage device is in a power-on state, and if so, the step S4 is carried out; if not, starting the power-on state and performing step S5;
s4, detecting whether the power-on state of the short-term module 2 of the satellite-borne storage device is in a power-on flow or not by the satellite-borne storage device controller 1, if so, continuing to finish the power-on flow, and then running a step S5; if not, step S5 is carried out;
s5, starting the short-term module 2 of the satellite-borne storage equipment to work according to the work request;
s6, completing a working request of the short-term module 2 of the satellite-borne storage device, detecting whether other internal requests or external short-term module power-on instructions of the satellite-borne storage device exist or not by the satellite-borne storage device controller 1, if so, continuously powering up the short-term module 2 of the satellite-borne storage device to a working state, and performing a step S3 according to the new internal requests of the satellite-borne storage device or the external short-term module power-on instructions of the satellite-borne storage device; if not, the short-term module 2 of the satellite-borne storage device is powered off.
As shown in fig. 2, the on-board storage device comprises an on-board storage device controller 1, an on-board storage device short-term module 2 and an on-board storage device long-term module 3, wherein the on-board storage device controller 1 is electrically connected with the on-board storage device short-term module 2 and the on-board storage device long-term module 3 respectively, the on-board storage device long-term module 3 is used for controlling on-board storage device long-term power-up, the on-board storage device short-term module 2 is used for controlling on-board storage device short-term power-up, and the on-off of the on-board storage device short-term module 2 is controlled by the on-board storage device controller 1 through logic control.
The on-board storage device controller 1 is connected to at least one on-board storage device short-term module 2.
The long-term module 3 and the short-term module 2 of the satellite-borne storage device are FPGAs.
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, should make equivalent substitutions or modifications according to the technical scheme of the present invention and the inventive concept thereof, and should be covered by the scope of the present invention.