[go: up one dir, main page]

CN110737482B - Satellite house service system on-line two-out-of-three starting device and method - Google Patents

Satellite house service system on-line two-out-of-three starting device and method Download PDF

Info

Publication number
CN110737482B
CN110737482B CN201910949563.8A CN201910949563A CN110737482B CN 110737482 B CN110737482 B CN 110737482B CN 201910949563 A CN201910949563 A CN 201910949563A CN 110737482 B CN110737482 B CN 110737482B
Authority
CN
China
Prior art keywords
starting
memory
data
module
cache
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910949563.8A
Other languages
Chinese (zh)
Other versions
CN110737482A (en
Inventor
孟广凯
张顾洪
沈建谅
金仲和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201910949563.8A priority Critical patent/CN110737482B/en
Publication of CN110737482A publication Critical patent/CN110737482A/en
Application granted granted Critical
Publication of CN110737482B publication Critical patent/CN110737482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • G06F15/781On-chip cache; Off-chip memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • G06F15/7814Specially adapted for real time processing, e.g. comprising hardware timers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Security & Cryptography (AREA)
  • Radio Relay Systems (AREA)

Abstract

本发明公开了一种卫星星务系统在线三取二启动装置与方法,该方法主要包括:星务系统连接启动存储器A进行启动;同时,三取二模块以块为单位读取三取二存储器中的三份启动文件数据后将三块数据写入缓存,三取二模块按位读取缓存中的三块启动数据后进行三取二操作得出该位正确数据,并将该位数据写回缓存进行修复,三取二模块以块为单位将缓存中的正确启动数据写入启动存储器B的同时对三取二存储器中的原始数据进行修复。此时星务系统可连接启动存储器B进行在线启动。本发明保证了卫星星务系统启动过程和三取二流程的相互独立,保证了每一次三取二数据的可靠,为卫星星务系统在线启动提供了一种手段,具有重要的科学意义与应用价值。

Figure 201910949563

The invention discloses an online three-fetch-two starting device and method for a satellite satellite service system. The method mainly includes: the star service system is connected to a start-up memory A to start; at the same time, a three-fetch-two module reads the three-fetch-two memory in units of blocks. After the three startup file data in , the three pieces of data are written into the cache, and the three-bit-by-two module reads the three pieces of startup data in the cache, and then performs the three-bit operation to obtain the correct data, and writes the bit of data. Back to the cache for repair, the three-fetch-two module writes the correct startup data in the cache into the boot-up memory B in units of blocks, and at the same time repairs the original data in the three-fetch-two memory. At this time, the star system can connect to the startup memory B for online startup. The invention ensures the mutual independence of the satellite star service system startup process and the three-take-two process, ensures the reliability of each three-take-two data, provides a means for the online start of the satellite star service system, and has important scientific significance and application. value.

Figure 201910949563

Description

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.

Claims (2)

1. An on-line two-out-of-three starting method for a satellite house service system is realized by using an on-line two-out-of-three starting device for the satellite house service system, and is characterized in that: the device comprises a star system (1), a starting memory A (2), a starting memory B (3), an FPGA (4), a cache (7) and a two-out-of-three memory (8), wherein the FPGA (4) mainly comprises a switch logic unit switch (5) and a two-out-of-three module (6), and the switch logic unit switch (5) is provided with A, B, I and II contacts; the start memory A (2) is connected with a contact A of a switch logic unit (5), the start memory B (3) is connected with a contact B of the switch logic unit (5), the star system (1) is connected with a contact II of the switch logic unit (5), the two-out-of-three module (6) is connected with a contact I of the switch logic unit (5), the two-out-of-three module (6) is simultaneously connected with a 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 A (2) or the start memory B (3) through the switch logic unit (5);
the method comprises the following steps: a in the switch logic unit switch (5) is dialed to II, the star system (1) is connected with a starting memory A (2) to read starting data, and normal starting is carried out; meanwhile, B in the switch logic unit switch (5) is dialed to I, the starting memory B (3) is connected with the two-out-of-three module (6), the two-out-of-three module (6) reads three starting file data in the two-out-of-three memory (8) by taking a block as a unit and writes three blocks of data into the cache (7), then the two-out-of-three module (6) reads three pieces of starting data in the cache (7) according to the bit to carry out two-out-of-three operation to obtain the correct data of the bit, the data of the bit is written back to the cache (7) for repair, the two-out-of-three module (6) writes correct starting data which is subjected to the two-out-of-three operation in the cache (7) into the starting memory B (3) by taking a block as a unit and repairs original data in the two-out-of-three memory (8), and the starting memory B (3) and the two-out-of-three memory (8) are closed after all data are transmitted so as to ensure that the data in the two-out-of-three memory cannot be knocked over by high-speed particles; at the moment, a switch A of a control switch logic unit (5) is dialed to I, a switch B of the control switch logic unit is dialed to II, a starting memory B (3) and a two-out-of-three memory (8) are started, a satellite system (1) is connected with the starting memory B (3) to read starting data in a block unit for online starting, a starting memory A (2) is connected with a two-out-of-three module (6) to perform a 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 (5) so as to ensure that the satellite system can be started correctly online.
2. The on-line three-out-of-two starting method of the satellite star service system according to claim 1, characterized in that:
the star affair system (1) can be controlled by a switch logic unit (5) to be connected with a starting memory A (2) or a starting memory B (3) and read starting data in the starting memory for starting;
the starting memory A (2) can be connected with the house keeping system (1) and writes starting data into the house keeping system (1);
the starting memory B (3) can be connected with the two-out-of-three module (6), the starting data in the cache (7) is read by the two-out-of-three module (6) by taking a block as a unit, and the starting data is written into the star service system (1) by taking the block as a unit to complete online starting;
the switch logic unit switch (5) can connect the starting memory A (2) or the starting memory B (3) with the star system (1) and the two-out-of-three module (6), but the starting memory A (2) and the starting memory B (3) cannot be connected with the star system (1) or the two-out-of-three module (6) at the same time, namely the switch A, B cannot be simultaneously dialed to I or II;
the two-out-of-three module (6) is used for simultaneously reading three starting file data in the two-out-of-three memory (8) by taking a block as a unit, simultaneously reading three starting data written in the cache (7) by taking a bit as a unit, performing two-out-of-three operation to obtain correct data of the bit, writing the correct starting data of the bit into the cache (7) for repair, and simultaneously writing the correct starting data after the two-out-of-three operation in the cache (7) 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 (8);
the buffer (7) is used for temporarily storing the starting data in the two-out-of-three memory (8) and writing the starting data after the two-out-of-three operation into the starting memory B (3) through the two-out-of-three module (6);
the two-out-of-three memory (8) comprises three same starting file storages for storing starting data required by starting the satellite system.
CN201910949563.8A 2019-10-08 2019-10-08 Satellite house service system on-line two-out-of-three starting device and method Active CN110737482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910949563.8A CN110737482B (en) 2019-10-08 2019-10-08 Satellite house service system on-line two-out-of-three starting device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910949563.8A CN110737482B (en) 2019-10-08 2019-10-08 Satellite house service system on-line two-out-of-three starting device and method

Publications (2)

Publication Number Publication Date
CN110737482A CN110737482A (en) 2020-01-31
CN110737482B true CN110737482B (en) 2021-05-07

Family

ID=69268573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910949563.8A Active CN110737482B (en) 2019-10-08 2019-10-08 Satellite house service system on-line two-out-of-three starting device and method

Country Status (1)

Country Link
CN (1) CN110737482B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857884B (en) * 2020-07-24 2023-11-14 中国科学院微小卫星创新研究院 Highly reliable spaceborne software startup system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649173B (en) * 2016-10-10 2019-04-09 上海航天控制技术研究所 The in-orbit self-correction system and method for highly reliable spaceborne computer based on 1553B bus
US9817675B1 (en) * 2017-01-31 2017-11-14 Hytrust, Inc. Methods and systems for attaching an encrypted data partition during the startup of an operating system
CN107515800A (en) * 2017-07-17 2017-12-26 上海卫星工程研究所 On-board software dependability design system and method based on software redundancy

Also Published As

Publication number Publication date
CN110737482A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
TWI435215B (en) Method for giving read commands and reading data, and controller and storage system using the same
TWI424435B (en) Method for giving program commands to flash memory chips, and controller and storage system using the same
US10776267B2 (en) Mirrored byte addressable storage
US20080046639A1 (en) Memory system with nonvolatile semiconductor memory
CN109582217A (en) Data storage device and method of writing data to memory device
TWI409633B (en) Flash memory storage device, controller thereof, and method for programming data
JP5353887B2 (en) Disk array device control unit, data transfer device, and power recovery processing method
CN104583977B (en) The compression of the memory block of main frame auxiliary
JP4248510B2 (en) Computer system, disk device, and data update control method
US20100042774A1 (en) Block management method for flash memory, and storage system and controller using the same
CN106168925A (en) For storage and the method and system from flash recovery data
CN103425589A (en) Control apparatus, storage device, and storage control method
CN103699344A (en) Nonvolatile memory device and method of operating the same
CN102135927A (en) Method and device for system booting based on NAND FLASH
CN109697170A (en) The method of access flash memory module and relevant flash controller and electronic device
CN110970078A (en) Method for fast boot read
TWI540428B (en) Data writing method, memory controller and memory storage apparatus
CN110737482B (en) Satellite house service system on-line two-out-of-three starting device and method
TWI494756B (en) Method for giving read commands, flash memory controller and flash memory storage system using the same
CN111026325B (en) Flash memory controller, method for controlling flash memory controller, and related electronic device
CN102129353B (en) Data writing system and data writing method
EP3841472A1 (en) Tracking error-correction parity calculations
KR20120088454A (en) Non-Volatile Memory System and Apparatus, Program Method Therefor
CN102023811B (en) Method and system for issuing programmatic instructions to flash memory
TWI516934B (en) Data storing method, memory control circuit unit and memory stoarge apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant