CN113542009B - Fault-tolerant method and system for SpaceWire bus communication of dual-port RAM - Google Patents

Fault-tolerant method and system for SpaceWire bus communication of dual-port RAM Download PDF

Info

Publication number
CN113542009B
CN113542009B CN202110637284.5A CN202110637284A CN113542009B CN 113542009 B CN113542009 B CN 113542009B CN 202110637284 A CN202110637284 A CN 202110637284A CN 113542009 B CN113542009 B CN 113542009B
Authority
CN
China
Prior art keywords
area
dual
port ram
data
entering
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
CN202110637284.5A
Other languages
Chinese (zh)
Other versions
CN113542009A (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.)
Beijing Institute of Control Engineering
Original Assignee
Beijing Institute of Control Engineering
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 Beijing Institute of Control Engineering filed Critical Beijing Institute of Control Engineering
Priority to CN202110637284.5A priority Critical patent/CN113542009B/en
Publication of CN113542009A publication Critical patent/CN113542009A/en
Application granted granted Critical
Publication of CN113542009B publication Critical patent/CN113542009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • H04L12/40176Flexible bus arrangements involving redundancy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to a fault tolerance method and a fault tolerance system for a SpaceWire bus communication of a dual-port RAM, which realize redundant backup design of RAM storage by carrying out partition design on a RAM storage area, design a discrimination mode of a SpaceWire bus communication fault taking RAM storage data as a center according to a SpaceWire bus communication protocol format, provide a two-stage fault processing strategy of dual-port RAM storage area switching and SpaceWire communication controller switching for the communication fault, solve the problem of SpaceWire communication failure and improve the reliability of the SpaceWire bus communication of the dual-port RAM.

Description

Fault-tolerant method and system for SpaceWire bus communication of dual-port RAM
Technical Field
The invention relates to a fault tolerance method and a fault tolerance system for a SpaceWire bus communication of a dual-port RAM, which are mainly used for the reliability design and realization of satellite SpaceWire bus communication and belong to the field of embedded software design of spacecrafts.
Background
SpaceWire is a high-speed, point-to-point and full duplex serial bus network designed for the aerospace field abroad, and has the advantages of strong universality, high speed and expandability. The SpaceWire bus has been successfully used in a number of spacecraft abroad. Domestic space also begins to use the SpaceWire bus to carry out communication connection between the computer and the terminal equipment. The SpaceWire communication controller provides an interface for data transmission between the SpaceWire bus and a data processing node including a control processing unit and a communication data memory. The SpaceWire communication controller can be connected with a dual-port RAM in a hanging mode, and the other end of the dual-port RAM is used for being connected with a CPU. The CPU only needs to interact with the RAM, the SpaceWire communication controller can automatically interact with the RAM and transmit the data on the SpaceWire link, and the CPU does not need to pay any attention to the process.
For the SpaceWire communication mode of the dual-port RAM, whether the RAM has a partial storage area fault caused by space environment and the like or the SpaceWire communication controller has a fault, the data transmission can be failed, and the spacecraft can possibly not work normally.
Disclosure of Invention
The invention solves the technical problems that: the fault tolerance method and the fault tolerance system for the SpaceWire bus communication of the dual-port RAM are provided, and the problem of reliability of the SpaceWire bus communication of the dual-port RAM is solved.
The technical scheme adopted by the invention is as follows:
a fault tolerance method for the SpaceWire bus communication of a dual-port RAM is provided, which comprises the following steps:
(1) Redundant backup processing is carried out on the dual-port RAM storage area;
(2) Setting an initial use area of the dual-port RAM;
(3) Extracting communication fault conditions according to a SpaceWire bus communication protocol, and judging communication faults;
(4) And according to the communication fault judgment result, performing SpaceWire bus communication fault processing.
Further, the specific process of performing redundancy backup processing on the dual-port RAM storage area in the step (1) is as follows: dividing the dual-port RAM into two areas according to the storage capacity of the dual-port RAM, wherein the areas are respectively an area A and an area B, and the capacities of the area A and the area B are equal; the A area and the B area are divided into a data transmitting area and a data receiving area again, and the capacity of the data transmitting area and the capacity of the data receiving area are set according to the size of data to be transmitted and the size of data to be received.
Further, the step (2) sets an initial usage area of the dual-port RAM, specifically: and initializing and setting an A storage area of the dual-port RAM as an initial use area of the dual-port RAM, namely carrying out data interaction by a data transmission area and a data receiving area of the initial use A storage area by default of the CPU and the SpaceWire communication controller.
Further, the step (3) extracts a communication fault condition according to the spaceWire bus communication protocol, and performs communication fault judgment, specifically:
(3.1) the CPU fetches the data from the data receiving area of the A storage area of the dual port RAM and unpacks the data content according to the predetermined communication protocol;
(3.2) if the frame head is incorrect, adding 1 to the frame head error count, and entering the step (3.6), otherwise, clearing the frame head error count, and entering the step (3.3);
(3.3) if the data length is incorrect, adding 1 to the data length error count, and entering a step (3.6), otherwise, clearing the data length error count, and entering a step (3.4);
(3.4) if the checksum is incorrect, adding 1 to the checksum error count, and entering a step (3.6), otherwise, resetting the checksum error count, and entering a step (3.5);
(3.5) if the frame count is unchanged from the frame count received last time, adding 1 to the frame count error count, and entering the step (3.6), otherwise, clearing the frame count error count, and entering the step (3.6);
and (3.6) ending the protocol unpacking.
Further, the step (4) performs spaceWire bus communication fault processing according to the result of the communication fault judgment, specifically:
(4.1) judging the sizes of frame head error count, length error count, checksum error count and frame count error count value, if any count value is greater than M, entering a step (4.2), otherwise, entering a step (4.3);
(4.2) judging whether the current dual-port RAM using storage area is an A storage area, if so, switching the dual-port RAM storage area hung by the SpaceWire communication controller, switching the B storage area from the A storage area, resetting all error counts, and entering the step (4.3); otherwise, switching the on-board computer, controlling by using the backup on-board computer, and entering the step (4.3);
(4.3) the communication fault processing is finished.
Further, M in the step (4.1) is a preset threshold of communication failure times, which is a positive integer.
Furthermore, the invention also provides a SpaceWire bus communication fault-tolerant system, which comprises:
RAM backup processing module: redundant backup processing is carried out on the dual-port RAM storage area;
initializing a setting module: setting an initial use area of the dual-port RAM;
and a communication fault judging module: extracting communication fault conditions according to a SpaceWire bus communication protocol, and judging communication faults;
and the communication fault processing module is used for: and according to the communication fault judgment result, performing SpaceWire bus communication fault processing.
In the system, the specific process of carrying out redundant backup processing on the dual-port RAM storage area is as follows: dividing the dual-port RAM into two areas according to the storage capacity of the dual-port RAM, wherein the areas are respectively an area A and an area B, and the capacities of the area A and the area B are equal; the A area and the B area are divided into a data transmitting area and a data receiving area again, and the capacity of the data transmitting area and the capacity of the data receiving area are set according to the size of data to be transmitted and the size of data to be received;
the method comprises the steps of setting an initial use area of the dual-port RAM, specifically: and initializing and setting an A storage area of the dual-port RAM as an initial use area of the dual-port RAM, namely carrying out data interaction by a data transmission area and a data receiving area of the initial use A storage area by default of the CPU and the SpaceWire communication controller.
In the system, communication fault conditions are extracted according to a SpaceWire bus communication protocol, and communication fault judgment is carried out, specifically:
(9.1) the CPU retrieving data from the data receiving area of the a storage area of the dual port RAM and unpacking the data content according to a predetermined communication protocol;
(9.2) if the frame head is incorrect, adding 1 to the frame head error count, and entering a step (9.6), otherwise, clearing the frame head error count, and entering a step (9.3);
(9.3) if the data length is incorrect, adding 1 to the data length error count, and entering a step (9.6), otherwise, clearing the data length error count, and entering a step (9.4);
(9.4) if the checksum is incorrect, the checksum error count is increased by 1, and the step (9.6) is performed, otherwise, the checksum error count is cleared, and the step (9.5) is performed;
(9.5) if the frame count is unchanged from the frame count received last time, adding 1 to the frame count error count, and entering a step (9.6), otherwise, clearing the frame count error count, and entering the step (9.6);
and (9.6) ending the protocol unpacking.
In the system, according to the result of communication fault judgment, spaceWire bus communication fault processing is carried out, specifically:
(10.1) judging the sizes of frame head error count, length error count, checksum error count and frame count error count value, if any count value is greater than M, entering a step (10.2), otherwise, entering a step (10.3);
(10.2) judging whether the current dual-port RAM using storage area is an A storage area, if so, switching the dual-port RAM storage area hung by the SpaceWire communication controller, switching the B storage area from the A storage area, resetting all error counts, and entering the step (10.3); otherwise, switching the on-board computer, controlling by using the backup on-board computer, and entering the step (10.3);
(10.3) the communication fault processing is finished.
Compared with the prior art, the invention has the advantages that:
(1) The invention aims at the hung dual-port RAM, realizes the redundant backup design of RAM storage by carrying out partition design on the RAM storage area, solves the problem of communication failure caused by partial fault of the dual-port RAM in a space environment, and improves the reliability of data storage of the dual-port RAM.
(2) According to the SpaceWire bus communication protocol format, the invention extracts the discrimination conditions of the data frame header, the data length, the checksum and the frame count, and realizes the discrimination mode of the SpaceWire bus communication fault taking RAM storage data as the center.
(3) The invention provides a two-stage fault processing strategy aiming at switching of a dual-port RAM storage area and a SpaceWire communication controller for communication faults, and when the communication faults occur, the dual-port RAM storage area is switched first; after the switching, if the communication is still unsuccessful, the switching of the SpaceWire communication controller is performed by switching the on-board computer. The problem of SpaceWire communication failure is solved, and the reliability of SpaceWire bus communication is improved.
Drawings
FIG. 1 is a schematic diagram of a dual port RAM memory area design;
FIG. 2 is a flowchart of a SpaceWire bus communication fault determination;
FIG. 3 is a flowchart of the SpaceWire bus communication fault process.
Detailed Description
Aiming at SpaceWire bus communication, the SpaceWire communication controller can be connected with a dual-port RAM in a hanging mode, and the other end of the dual-port RAM is used for being connected with a CPU. The CPU only needs to interact with the RAM, the SpaceWire communication controller can automatically interact with the RAM and transmit the data on the SpaceWire link, and the CPU does not need to pay any attention to the process. For the SpaceWire communication mode of the dual-port RAM, if a part of storage areas of the RAM are faulty due to space environment and the like, and communication errors are caused, the fault tolerance method for the SpaceWire bus communication of the dual-port RAM provided by the invention carries out redundant backup design on the storage areas of the dual-port RAM, and according to the SpaceWire bus communication protocol, communication fault discrimination is designed, a reliable and reasonable fault processing strategy is provided, and the reliability of the SpaceWire bus communication of the dual-port RAM is improved.
The following describes in further detail the embodiments of the present invention with reference to the accompanying drawings.
The invention discloses a fault tolerance method for SpaceWire bus communication of a dual-port RAM, which comprises the following specific steps:
the first step, the design of the memory area of the dual-port RAM comprises the following steps:
according to the storage capacity of the dual-port RAM, the dual-port RAM is divided into two areas, namely an area A and an area B, and the capacities of the area A and the area B are equal. Each area is divided into a data transmitting area and a data receiving area again, and the capacity of the transmitting area and the receiving area may be unequal, and set according to the size of the data to be transmitted and the size of the received data. A dual port RAM memory area design is shown in fig. 1.
By carrying out partition design on the RAM storage area, the redundant backup design of the RAM storage is realized, the problem of communication failure caused by partial failure of the dual-port RAM in a space environment is solved, and the reliability of data stored in the dual-port RAM is improved.
Second, setting the initial use area of the dual-port RAM:
the software initialization sets an A storage area using a dual-port RAM, namely, a CPU and a SpaceWire communication controller use a data transmission area and a data receiving area of the A area to conduct data interaction.
Thirdly, judging the communication faults of the SpaceWire bus:
CPU software takes out data from the data receiving area of the dual port RAM, and unpacks the data content according to the communication protocol agreed in advance. According to the SpaceWire bus communication protocol format, the invention extracts the discrimination conditions of the data frame header, the data length, the checksum and the frame count, and realizes the discrimination mode of the SpaceWire bus communication fault taking RAM storage data as the center.
As shown in fig. 2, when unpacking, it is strictly determined whether the data frame header, the data length, the checksum is correct, and whether the frame count is updated.
The method comprises the following specific steps:
if the frame head is incorrect, the frame head error count is increased by 1, otherwise, the frame head error count is cleared;
if the data length is incorrect, the data length error count is increased by 1, otherwise, the data length error count is cleared;
if the checksum is incorrect, the checksum error count is increased by 1, otherwise, the checksum error count is cleared;
if the frame count is unchanged from the frame count received last time, the frame count error count is increased by 1, otherwise, the frame count error count is cleared;
fourthly, designing a SpaceWire bus communication fault processing strategy:
any one of the frame header error count, the length error count, the checksum error count and the frame count error count is not 0, which indicates that the SpaceWire communication controller does not receive correct data or that the dual-port RAM storage area fails to cause data errors.
And judging the magnitude of an error count value in each control period, if any count value is larger than M (the M value is set according to actual requirements), switching the dual-port RAM storage area hung by the SpaceWire communication controller, switching the use area from the area A, and resetting all error counts.
After the RAM memory area is switched, the B area is continuously used for transmitting and receiving data. If errors still occur, namely the error count value is larger than M, the software controls the computer to cut off, and the backup spaceWire bus of the backup spaceborne computer is used for controlling, namely the backup spaceborne computer is used for communicating. A flowchart of the SpaceWire bus communication fault handling is shown in fig. 3.
Furthermore, the invention also provides a SpaceWire bus communication fault-tolerant system, which comprises:
RAM backup processing module: redundant backup processing is carried out on the dual-port RAM storage area;
initializing a setting module: setting an initial use area of the dual-port RAM;
and a communication fault judging module: extracting communication fault conditions according to a SpaceWire bus communication protocol, and judging communication faults;
and the communication fault processing module is used for: and according to the communication fault judgment result, performing SpaceWire bus communication fault processing.
The fault processing strategy aiming at the faults of the dual-port RAM storage areas and the SpaceWire communication controller disclosed by the invention is that when the communication faults occur, the dual-port RAM storage areas are switched firstly; after the switching, if the communication is still unsuccessful, the switching of the SpaceWire communication controller is performed by switching the on-board computer. The problem of SpaceWire communication failure is solved, and the reliability of SpaceWire bus communication is improved.

Claims (5)

1. A fault tolerance method for the SpaceWire bus communication of a dual-port RAM is characterized by comprising the following steps:
redundant backup processing is carried out on the dual-port RAM storage area, and the specific process is as follows: dividing the dual-port RAM into two areas according to the storage capacity of the dual-port RAM, wherein the areas are respectively an area A and an area B, and the capacities of the area A and the area B are equal; the A area and the B area are divided into a data transmitting area and a data receiving area again, and the capacity of the data transmitting area and the capacity of the data receiving area are set according to the size of data to be transmitted and the size of data to be received;
the method comprises the steps of setting an initial use area of the dual-port RAM, specifically: an A storage area of the dual-port RAM is initialized and set to be used as an initial use area of the dual-port RAM, namely, a CPU and a SpaceWire communication controller default the data transmission area and the data receiving area of the initial use A storage area for data interaction;
extracting communication fault conditions according to a SpaceWire bus communication protocol, and judging the communication fault, wherein the communication fault comprises the following specific steps:
(3.1) the CPU fetches the data from the data receiving area of the A storage area of the dual port RAM and unpacks the data content according to the predetermined communication protocol;
(3.2) if the frame head is incorrect, adding 1 to the frame head error count, and entering the step (3.6), otherwise, clearing the frame head error count, and entering the step (3.3);
(3.3) if the data length is incorrect, adding 1 to the data length error count, and entering a step (3.6), otherwise, clearing the data length error count, and entering a step (3.4);
(3.4) if the checksum is incorrect, adding 1 to the checksum error count, and entering a step (3.6), otherwise, resetting the checksum error count, and entering a step (3.5);
(3.5) if the frame count is unchanged from the frame count received last time, adding 1 to the frame count error count, and entering the step (3.6), otherwise, clearing the frame count error count, and entering the step (3.6);
(3.6) ending the protocol unpacking;
and according to the communication fault judgment result, performing SpaceWire bus communication fault processing.
2. The fault tolerant method for a spaceWire bus communication with dual-port RAM attached as recited in claim 1, wherein: and (4) performing SpaceWire bus communication fault processing according to the communication fault judging result, wherein the steps are as follows:
(4.1) judging the sizes of frame head error count, length error count, checksum error count and frame count error count value, if any count value is greater than M, entering a step (4.2), otherwise, entering a step (4.3);
(4.2) judging whether the current dual-port RAM using storage area is an A storage area, if so, switching the dual-port RAM storage area hung by the SpaceWire communication controller, switching the B storage area from the A storage area, resetting all error counts, and entering the step (4.3); otherwise, switching the on-board computer, controlling by using the backup on-board computer, and entering the step (4.3);
(4.3) the communication fault processing is finished.
3. The fault tolerance method for the spaceWire bus communication of the dual-port RAM in the hanging connection mode according to claim 2, wherein the fault tolerance method comprises the following steps: and (3) M in the step (4.1) is a preset communication failure frequency threshold value, and is a positive integer.
4. A SpaceWire bus communication fault-tolerant system implemented based on the SpaceWire bus communication fault-tolerant method of the dual-port RAM of claim 1, comprising:
RAM backup processing module: redundant backup processing is carried out on the dual-port RAM storage area;
initializing a setting module: setting an initial use area of the dual-port RAM;
and a communication fault judging module: extracting communication fault conditions according to a SpaceWire bus communication protocol, and judging communication faults;
and the communication fault processing module is used for: according to the result of the communication fault judgment, carrying out SpaceWire bus communication fault processing;
the specific process of redundant backup processing for the dual-port RAM storage area is as follows: dividing the dual-port RAM into two areas according to the storage capacity of the dual-port RAM, wherein the areas are respectively an area A and an area B, and the capacities of the area A and the area B are equal; the A area and the B area are divided into a data transmitting area and a data receiving area again, and the capacity of the data transmitting area and the capacity of the data receiving area are set according to the size of data to be transmitted and the size of data to be received;
the method comprises the steps of setting an initial use area of the dual-port RAM, specifically: an A storage area of the dual-port RAM is initialized and set to be used as an initial use area of the dual-port RAM, namely, a CPU and a SpaceWire communication controller default the data transmission area and the data receiving area of the initial use A storage area for data interaction;
extracting communication fault conditions according to a SpaceWire bus communication protocol, and judging the communication fault, wherein the communication fault comprises the following specific steps:
(9.1) the CPU retrieving data from the data receiving area of the a storage area of the dual port RAM and unpacking the data content according to a predetermined communication protocol;
(9.2) if the frame head is incorrect, adding 1 to the frame head error count, and entering a step (9.6), otherwise, clearing the frame head error count, and entering a step (9.3);
(9.3) if the data length is incorrect, adding 1 to the data length error count, and entering a step (9.6), otherwise, clearing the data length error count, and entering a step (9.4);
(9.4) if the checksum is incorrect, the checksum error count is increased by 1, and the step (9.6) is performed, otherwise, the checksum error count is cleared, and the step (9.5) is performed;
(9.5) if the frame count is unchanged from the frame count received last time, adding 1 to the frame count error count, and entering a step (9.6), otherwise, clearing the frame count error count, and entering the step (9.6);
and (9.6) ending the protocol unpacking.
5. The spaceWire bus communication fault tolerance system of claim 4, wherein: according to the result of communication fault judgment, the SpaceWire bus communication fault processing is carried out, specifically:
(10.1) judging the sizes of frame head error count, length error count, checksum error count and frame count error count value, if any count value is greater than M, entering a step (10.2), otherwise, entering a step (10.3);
(10.2) judging whether the current dual-port RAM using storage area is an A storage area, if so, switching the dual-port RAM storage area hung by the SpaceWire communication controller, switching the B storage area from the A storage area, resetting all error counts, and entering the step (10.3); otherwise, switching the on-board computer, controlling by using the backup on-board computer, and entering the step (10.3);
(10.3) the communication fault processing is finished.
CN202110637284.5A 2021-06-08 2021-06-08 Fault-tolerant method and system for SpaceWire bus communication of dual-port RAM Active CN113542009B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110637284.5A CN113542009B (en) 2021-06-08 2021-06-08 Fault-tolerant method and system for SpaceWire bus communication of dual-port RAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110637284.5A CN113542009B (en) 2021-06-08 2021-06-08 Fault-tolerant method and system for SpaceWire bus communication of dual-port RAM

Publications (2)

Publication Number Publication Date
CN113542009A CN113542009A (en) 2021-10-22
CN113542009B true CN113542009B (en) 2024-04-12

Family

ID=78095640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110637284.5A Active CN113542009B (en) 2021-06-08 2021-06-08 Fault-tolerant method and system for SpaceWire bus communication of dual-port RAM

Country Status (1)

Country Link
CN (1) CN113542009B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115001643B (en) * 2022-06-20 2023-10-03 广州万协通信息技术有限公司 System and method for realizing SWP full duplex communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603420A (en) * 2016-11-22 2017-04-26 北京控制工程研究所 Network-on-chip router with real-time and fault-tolerant feature
CN107315659A (en) * 2017-06-27 2017-11-03 郑州云海信息技术有限公司 The redundancy backup method and device of a kind of metadata
CN112162784A (en) * 2020-09-28 2021-01-01 中国科学院微小卫星创新研究院 Loongson-based medium and high orbit satellite data processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9021409B2 (en) * 2011-07-11 2015-04-28 The Board Of Trustees Of The University Of Illinois Integration of data mining and static analysis for hardware design verification

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603420A (en) * 2016-11-22 2017-04-26 北京控制工程研究所 Network-on-chip router with real-time and fault-tolerant feature
CN107315659A (en) * 2017-06-27 2017-11-03 郑州云海信息技术有限公司 The redundancy backup method and device of a kind of metadata
CN112162784A (en) * 2020-09-28 2021-01-01 中国科学院微小卫星创新研究院 Loongson-based medium and high orbit satellite data processing system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SpaceWire冗余网络故障检测恢复技术实现;曾华菘;张春熹;伊小素;陶聪凌;刘文莉;;计算机测量与控制(第08期);正文第1-3页 *
SpaceWire数据网络测试系统开发;穆永亮;李慧军;;微计算机信息(第32期);正文第1-3页 *

Also Published As

Publication number Publication date
CN113542009A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
US8082373B2 (en) Specialized universal serial bus controller
CN101321085B (en) Intelligent failover in a load-balanced networking environment
CN100559749C (en) A kind of implementation method of star network bus redundancy backup
CN113542009B (en) Fault-tolerant method and system for SpaceWire bus communication of dual-port RAM
CN104842903A (en) Electric control system of electric vehicle, electric vehicle and fault information transfer method
CN105071904A (en) Communication interface and protocol
CN112859711B (en) Spacecraft CAN bus autonomous switching processing system and method
CN111786819A (en) Serial server with dual-network-port redundancy function
CN104579605B (en) A kind of data transmission method and device
CN109728985A (en) A kind of real-time redundant communication system based on RS422 and CAN bus isomery
CN1302647C (en) Method for transmitting data of dissimilar bus cooperative work and equipment thereof
CN113114551A (en) Dual-redundancy LIN bus communication device
CN114884767B (en) Synchronous dual-redundancy CAN bus communication system, method, equipment and medium
CN115695069A (en) Logic ring-shaped CAN bus networking and intelligent reconstruction method
CN113794507B (en) Autonomous fault processing method and system based on-orbit route switching
CN116055583A (en) Communication system compatible with multiple protocols, control method thereof and electronic equipment
CN110677283B (en) Method for fast switching network dual redundancy
CN112596369B (en) Multi-machine redundancy seamless switching system and method thereof
CN112713923A (en) Dynamic scheduling method for satellite integrated electronic data link
JP3266841B2 (en) Communication control device
US11757799B2 (en) Line monitor device and network switch
CN115277299B (en) Synchronous loop communication system suitable for cascading converter topology
CN115801642B (en) RDMA communication management module, method, equipment and medium based on state control
CN114172556B (en) Satellite network communication method and system
CN114338265B (en) Program downloading system and method based on TTP/C bus

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