CN111026690B - Star affair data processing equipment and method - Google Patents

Star affair data processing equipment and method Download PDF

Info

Publication number
CN111026690B
CN111026690B CN201910756152.7A CN201910756152A CN111026690B CN 111026690 B CN111026690 B CN 111026690B CN 201910756152 A CN201910756152 A CN 201910756152A CN 111026690 B CN111026690 B CN 111026690B
Authority
CN
China
Prior art keywords
data
satellite
transmission
transmission mode
star
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
CN201910756152.7A
Other languages
Chinese (zh)
Other versions
CN111026690A (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.)
Chengdu Star Age Aerospace Technology Co ltd
Original Assignee
Chengdu Star Age Aerospace Technology Co ltd
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 Chengdu Star Age Aerospace Technology Co ltd filed Critical Chengdu Star Age Aerospace Technology Co ltd
Priority to CN201910756152.7A priority Critical patent/CN111026690B/en
Publication of CN111026690A publication Critical patent/CN111026690A/en
Application granted granted Critical
Publication of CN111026690B publication Critical patent/CN111026690B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Abstract

The embodiment of the application provides a star data processing device and a method, wherein the device comprises: the main communication serial port circuit is used for receiving the satellite data sent by the satellite host; the data transmission circuit is used for determining a transmission mode adaptive to the satellite data from a plurality of preset transmission modes and sending the satellite data to the satellite subsystem through the transmission mode adaptive to the satellite data, wherein the transmission modes adaptive to different types of satellite data are different. Because each satellite affair data can be sent in a transmission mode adaptive to each satellite affair data, the transmission efficiency of the satellite affair data is improved, the time delay of the satellite subsystem for processing the satellite affair data is reduced, and the satellite subsystem is prevented from being mistakenly considered as a fault by a satellite host.

Description

Star affair data processing equipment and method
Technical Field
The application relates to the technical field of satellites, in particular to a star affair data processing device and method.
Background
Current satellites, such as cube satellites, typically include a satellite host and a satellite subsystem. The satellite host typically sends the satellite data to the satellite subsystems via the bus for processing. However, since the types of the satellite affair data are many, for example, the types of the satellite affair data may be file type data or state type data, transmitting all types of the satellite affair data through the same bus may reduce transmission efficiency, increase processing delay of the satellite subsystem, and even cause the satellite subsystem to be mistaken for a fault by the satellite host because of the too long processing delay.
Disclosure of Invention
The application aims to provide a housekeeping data processing device and a housekeeping data processing method so as to effectively improve the transmission efficiency of housekeeping data.
In a first aspect, an embodiment of the present application provides a star data processing device, including:
the main communication serial port circuit is used for being connected with a satellite host, and the main communication serial port circuit is used for receiving the satellite data sent by the satellite host;
the data transmission circuit is used for determining a transmission mode of the housekeeping data adaptation from multiple preset transmission modes and sending the housekeeping data to the satellite subsystem through the transmission mode of the housekeeping data adaptation, wherein the transmission modes of different types of the housekeeping data adaptation are different.
In the embodiment of the application, the satellite affair data processing equipment determines the adaptive transmission mode of each satellite affair data and sends the satellite affair data to the satellite subsystem in the adaptive transmission mode of each satellite affair data, so that each satellite affair data can be sent in the adaptive transmission mode, the transmission efficiency of the satellite affair data is improved, the time delay of the satellite subsystem for processing the satellite affair data is reduced, and the satellite subsystem is prevented from being mistaken for a fault by a satellite host.
With reference to the first aspect, in a first possible implementation manner,
the data transmission circuit is used for determining the data type of the star data by analyzing the star data and determining a transmission mode corresponding to the data type from the multiple transmission modes, wherein the transmission mode corresponding to the data type is a transmission mode adaptive to the star data.
In the embodiment of the application, the adaptive transmission mode can be determined quickly and accurately by analyzing the data type of the star data.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the multiple transmission manners include: SPI transmission mode, I2C transmission mode and CAN transmission mode,
the data transmission circuit is configured to determine the I2C transmission mode or the CAN transmission mode corresponding to the data type from the multiple transmission modes when the data type is status data; or when the data type is file data, determining the SPI transmission mode corresponding to the data type from the multiple transmission modes.
In the embodiment of the application, the data volume of the state class data is relatively small, so that high transmission efficiency CAN be achieved through an I2C transmission mode or a CAN transmission mode with a relatively slow speed. The data volume of the file data is large, so that high transmission efficiency needs to be achieved through an SPI transmission mode with high speed. It is thus achieved that the satellite data can be efficiently transmitted to the satellite subsystem regardless of the type of the satellite data.
With reference to the first aspect or any one of the possible implementations of the first aspect, in a third possible implementation,
the main communication serial port circuit is connected with the data transmission circuit through an SPI bus and used for receiving the housekeeping data in a network data format sent by the satellite host, converting the housekeeping data in the network data format into the housekeeping data in the SPI format and sending the housekeeping data in the SPI format to the data transmission circuit through the SPI bus.
In the embodiment of the application, since the network data format of the housekeeping data has different formats, the housekeeping data in the network data format is converted into the housekeeping data in the SPI format, so that the format of the housekeeping data is uniform for subsequent processing.
With reference to the first aspect or any one of the possible implementation manners of the first aspect, in a fourth possible implementation manner, the star data processing apparatus further includes:
the satellite data transmission system comprises a data transmission circuit, a satellite subsystem, a branch communication serial port circuit, a main communication serial port circuit and a satellite communication serial port circuit, wherein the data transmission circuit and the satellite subsystem are connected with the branch communication serial port circuit respectively, the branch communication serial port circuit is used for sending the satellite data to the satellite subsystem at a first transmission rate through a transmission mode adaptive to the satellite data, the main communication serial port circuit receives the satellite data sent by the satellite host at a second transmission rate, and the first transmission rate is greater than the second transmission rate.
In the embodiment of the application, the satellite data can be sent to the satellite subsystem at a higher transmission rate than the satellite host by the sub-communication serial port circuit, so that the real-time performance of the satellite subsystem for receiving the data is ensured, and the influence on the operation of the satellite caused by data delay is avoided.
With reference to the first aspect or any one of the possible implementation manners of the first aspect, in a fifth possible implementation manner, the star data processing apparatus further includes: a memory for caching housekeeping data to be transmitted to the satellite subsystem when the satellite subsystem is in a busy state.
In the embodiment of the application, the satellite data processing equipment firstly caches satellite data in the memory when the satellite subsystem is in a busy state, and transmits the satellite data to the satellite subsystem when the satellite subsystem is in an idle state, so that a response can be timely made to a satellite host, and a working plan of the satellite subsystem is not disturbed.
In a second aspect, an embodiment of the present application provides a method for processing satellite affair data, where the method is applied to a device for processing satellite affair data, and the device for processing satellite affair data is used for connecting with a satellite host and a satellite subsystem in a satellite, respectively, and the method includes:
receiving satellite affair data sent by the satellite host;
and determining a transmission mode adapted to the satellite data from a plurality of preset transmission modes, and sending the satellite data to the satellite subsystem through the transmission mode adapted to the satellite data, wherein the transmission modes adapted to different types of satellite data are different.
With reference to the second aspect, in a first possible implementation manner, the determining, from multiple preset transmission manners, a transmission manner adapted to the star data includes:
determining the data type of the housekeeping data by analyzing the housekeeping data;
and determining a transmission mode corresponding to the data type from the plurality of transmission modes, wherein the transmission mode corresponding to the data type is a transmission mode adapted to the star data.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the multiple transmission manners include: determining a transmission mode corresponding to the data type from the plurality of transmission modes by using an SPI transmission mode, an I2C transmission mode and a CAN transmission mode, wherein the transmission modes comprise:
when the data type is state data, determining the I2C transmission mode or the CAN transmission mode corresponding to the data type from the plurality of transmission modes; or when the data type is file data, determining the SPI transmission mode corresponding to the data type from the multiple transmission modes.
With reference to the second aspect or any one of the possible implementation manners of the first aspect, in a third possible implementation manner, the receiving the satellite data sent by the satellite host includes:
receiving the satellite data in a network data format sent by the satellite host;
converting the housekeeping data in the network data format into the housekeeping data in the SPI format.
In a third aspect, the present application provides a non-transitory computer-readable storage medium storing program code, which, when executed by a computer, performs the method for processing the star data according to the second aspect or any possible implementation manner of the second aspect.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 shows a first block diagram of a star data processing device according to an embodiment of the present application;
fig. 2 shows a second block diagram of a star data processing device according to an embodiment of the present application;
fig. 3 is a circuit diagram illustrating a main communication serial port circuit in a star data processing device according to an embodiment of the present application;
fig. 4 shows a circuit diagram of a data transmission circuit in a star data processing device according to an embodiment of the present application;
fig. 5 is a circuit diagram illustrating a serial port circuit for communication in a star data processing device according to an embodiment of the present application;
fig. 6 shows a schematic structural diagram of a star data processing device provided by an embodiment of the present application;
fig. 7 shows a third structural block diagram of a star data processing device provided by the embodiment of the present application;
fig. 8 is a flowchart illustrating a method for processing star data according to an embodiment of the present application;
fig. 9 shows a sub-flowchart of step S100 in a method for processing star data provided by an embodiment of the present application;
fig. 10 shows a sub-flowchart of step S200 in a method for processing star data according to an embodiment of the present application.
Detailed Description
The technical solution in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a block diagram illustrating a star data processing device 10 according to an embodiment of the present invention, wherein the star data processing device 10 can be applied to a satellite such as a conventional satellite or an emerging cube satellite. The satellite also comprises: a satellite host and a plurality of satellite subsystems. The star data processing device 10 may be configured to establish communication between the satellite host and at least one satellite subsystem, wherein the star data processing device 10 establishes communication between the satellite host and a corresponding satellite subsystem in this embodiment as an example to facilitate understanding of the present solution.
Referring to fig. 1, in this embodiment, the star data processing apparatus 10 may include: a main communication serial port circuit 11 and a data transmission circuit 12. The main communication serial port circuit 11 may be connected to a satellite host, and the data transmission circuit 12 may be connected to the host processing circuit 11 and the satellite subsystem, respectively.
The main communication serial port circuit 11 may be configured to receive the satellite data sent by the satellite host, and forward the satellite data to the data transmission circuit 12. The data types of the satellite data sent by the satellite host are different according to different actual task requirements, for example, the satellite data may be data of a state class (state parameters) or data of a file class (image data) according to the actual task requirements.
The data transmission circuit 12 may be configured to receive the star data sent by the main communication serial port circuit 11, determine a transmission mode adapted to the star data from a plurality of preset transmission modes, and send the star data to the satellite subsystem through the transmission mode adapted to the star data, where the transmission modes adapted to the star data of different types are also different.
As shown in fig. 2, as an exemplary implementation manner of this embodiment, in order to establish communication between the data transmission circuit 12 and the satellite subsystem, the star data processing device 10 may further include: a sub-communication serial port circuit 13. The sub-communication serial port circuit 13 may be connected to the data transmission circuit 12 and the satellite sub-system, respectively. Therefore, the data transmission circuit 12 can transmit the satellite data to the satellite subsystem through the subsystem communication serial port circuit 13 in a transmission mode suitable for the satellite data.
The principle of the main communication serial port circuit 11, the data transmission circuit 12, and the sub communication serial port circuit 13 will be described in detail below with reference to fig. 1 to 5.
Referring to fig. 3 in conjunction with fig. 1 and fig. 2, the main communication serial circuit 11 may be a logic chip with a signal conversion function, such as a W5500 type logic chip.
In this embodiment, the data format of the satellite data sent by the satellite host is generally a network data format, and because the format difference of the satellite data in each network data format is large, the main communication serial port circuit 11 can uniformly convert the satellite data in the network data format into the satellite data in the SPI format for convenience of subsequent processing.
Specifically, the network ports on the main communication serial circuit 11, for example, the 1 st pin, the 2 nd pin, the 5 th pin, and the 6 th pin on the main communication serial circuit 11, can be correspondingly connected to the satellite host. The main serial communication circuit 11 thus receives the satellite data in the network data format transmitted by the satellite host at the first transmission rate through its own network port.
The main communication serial port circuit 11 can uniformly convert the network data format of the housekeeping data into the SPI format of the housekeeping data according to a preset logic program.
The SPI ports on the master communication serial circuit 11, for example, the 32 th to 35 th pins on the master communication serial circuit 11, can be correspondingly connected to the data transmission circuit 12. Therefore, the main communication serial port circuit 11 can transmit the star data in the SPI format to the data transmission circuit 12 through its own SPI port.
Referring to fig. 1 to fig. 3 and fig. 4, the data transmission circuit 12 may be an integrated circuit chip with signal processing capability, such as an STM32F103R8T6 type single chip.
The first SPI port on the data transmission circuit 12 may be connected to the main communication serial port circuit 11 through an SPI bus, for example, the 33 th pin to the 36 th pin on the data transmission circuit 12 may be connected to the 32 th pin to the 35 th pin on the main communication serial port circuit 11 through a SIP bus corresponding thereto. Of course, the data transmission circuit 12 is connected to the main communication serial port circuit 11 by using the 33 rd pin to the 36 th pin as an exemplary manner of the embodiment, which should not be taken as a limitation of the embodiment; for example, any 4 pins of PB pins on the data transmission circuit 12 may be connected to the main communication serial port circuit 11 by programming definition.
The data transmission circuit 12 is connected with the SPI port of the master communication serial port circuit 11 through the first SPI port of the data transmission circuit 12, and the data transmission circuit 12 can receive the star data in the SPI format sent by the master communication serial port circuit 11.
In order to improve the data transmission efficiency, the data transmission circuit 12 may transmit the star data in a star data adaptive transmission manner.
For example, various transmission modes adapted to the star data of each data type may be preset in the data transmission circuit 12, and the transmission modes adapted to the star data of different types are different, where the bus transmission data adopts the transmission mode described in this embodiment, for example, the SPI bus transmission data adopts the mode that is the SPI transmission mode. The data transmission circuit 12 may determine the data type of the star data in SPI format by parsing the star data in SPI format. For example, the star data carries an identifier indicating a data type, and the data transmission circuit 12 may determine the data type of the star data through the identifier. Based on the determined data type, the data transmission circuit 12 may further determine a transmission mode corresponding to the data type from a plurality of preset transmission modes. Wherein, the transmission mode corresponding to the data type is the transmission mode of the satellite data adaptation.
For example, the preset multiple transmission modes include: SPI transmission mode, I2C transmission mode and CAN transmission mode. Since the data type is the state type of the star data, the data size is small, so that the high transmission efficiency CAN be achieved by the I2C transmission mode or the CAN transmission mode with a slow speed, and therefore, the data transmission circuit 12 establishes in advance the corresponding relationship between the state type data and the CAN transmission mode and the I2C transmission mode respectively. Since the data type is the star data of the file data, the data amount is large, and therefore high transmission efficiency needs to be achieved by the SPI transmission mode with a high rate, and therefore, the data transmission circuit 12 also establishes the correspondence between the file data and the SPI transmission mode in advance. Further, through the analysis of the star data, when the data type is determined to be the state type data, the data transmission circuit 12 determines the I2C transmission mode or the CAN transmission mode corresponding to the data type from the multiple transmission modes, or when the data type is the file type data, the data transmission circuit 12 determines the SPI transmission mode corresponding to the data type from the multiple transmission modes.
Of course, in addition to determining the transmission mode by using the data type, the present embodiment may also determine the transmission mode by using other modes. For example, the data transmission circuit 12 may determine the transmission mode according to the size of the star data, and if the star data is state data, the data amount is small, so the I2C transmission mode or the CAN transmission mode corresponding to the small data amount may be determined; on the contrary, if the data is the housekeeping data of the file data, the large data amount can be determined to correspond to the SPI transmission mode because the data amount is large. For another example, the data transmission circuit 12 may determine the transmission mode according to the priority of the star data, and if the star data is status data, the priority is low, so that the priority is low corresponding to the I2C transmission mode or the CAN transmission mode; on the contrary, if the data is the star data of the file data, the priority is high, so that the high-priority corresponding to the SPI transmission mode can be determined.
In order to transmit the satellite data to the satellite subsystem in the form of the adapted transmission of the satellite data, the data transmission circuit 12 needs to convert the format of the satellite data into a format corresponding to the adapted transmission of the satellite data.
Illustratively, the data transmission circuit 12 also presets a data format corresponding to each transmission mode. Thus, the data transmission circuit 12 can convert the star data in the SPI format into the data format corresponding to the transmission mode adapted to the star data. It should be noted that, if the transmission mode adapted to the star data is the SPI transmission mode, the star data in the SPI format can be directly transmitted without performing format conversion because the star data is already in the SPI format.
For example, the data format of the SPI-format house keeping data includes an a field, a B field, and a C field, where the a field includes message header data, the B field includes message content data, and the C field is null. If the transmission mode adapted to the star data is the I2C format, and the I2C format includes the a field, the B field, the c field, and the d field, the data transmission circuit 12 may rewrite the packet header data included in the a field to the a field, and rewrite the packet content data included in the B field to the d field, so that the B field and the c field are null, thereby converting the SPI-format star data into the I2C-format star data.
In this embodiment, in order to transmit the star data to the slave communication serial port circuit 13 in the transmission mode of star data adaptation, the port corresponding to each transmission mode on the data transmission circuit 12 is connected to the slave communication serial port circuit 13. For example, the second SPI port on the data transmission circuit 12 may be connected to the slave communication serial port circuit 13 through the SPI bus, that is, the 20 th pin to the 23 th pin on the data transmission circuit 12 are connected to the slave communication serial port circuit 13. The I2C port on the data transmission circuit 12 may be connected to the sub-communication serial port circuit 13 via an I2C bus, that is, the 14 th pin and the 15 th pin on the data transmission circuit 12 are connected to the sub-communication serial port circuit 13. And the CAN port on the data transmission circuit 12 may be connected to the sub-communication serial port circuit 13 through a CAN bus, that is, the 44 th pin and the 45 th pin on the data transmission circuit 12 are connected to the sub-communication serial port circuit 13. Of course, the specific pins of the second SPI port, I2C port and CAN port of the data transmission circuit 12 are not limited to the above examples, for example, any of the PA pins on the data transmission circuit 12 may be defined by programming to form the second SPI port, I2C port and CAN port of the data transmission circuit 12.
Further, according to the determined transmission mode of the satellite data adaptation, the data transmission circuit 12 may send the satellite data to the branch communication serial port circuit 13 in the adapted transmission mode through the port corresponding to the transmission mode of the satellite data adaptation. For example, the data transmission circuit 12 may send the star data in the I2C format to the slave communication serial port circuit 13 through the 14 th pin and the 15 th pin on the data transmission circuit 12; or, the data transmission circuit 12 may send the star data in the CAN format to the slave communication serial port circuit 13 through the 44 th pin and the 45 th pin on the data transmission circuit 12; alternatively, the data transmission circuit 12 may transmit the SPI format of the star data to the slave serial port circuit 13 through the 20 th to 23 th pins on the data transmission circuit 12.
It should be noted that, due to the special application environment of the satellite, it is difficult to manually check whether the satellite subsystem really fails in the field after the satellite subsystem is identified as failed by the satellite host. Therefore, the real-time performance of the satellite on the communication is very high to avoid the satellite subsystem being identified as invalid by the satellite host due to the forwarding delay of the data by the satellite data processing device 10. Based on this, to reduce the forwarding delay of the data, the data transmission circuit 12 may send the converted data format of the star data to the slave serial port circuit 13 at a first transmission rate that is greater than a second transmission rate, for example, the first transmission rate may be at least twice as high as the second transmission rate.
Referring to fig. 5 in conjunction with fig. 1 to 4, the sub-communication serial port circuit 13 may be used as a connector for data forwarding.
The sub-communication serial port circuit 13 may be connected to the data transmission circuit 12 and the satellite sub-system, respectively, in a communication manner corresponding to the data transmission circuit 12. For example, the 1 st pin to the 4 th pin on the sub-communication serial port circuit 13 may be connected to the 20 th pin to the 23 th pin on the data transmission circuit 12 through the SPI bus; the 5 th pin and the 6 th pin on the sub-communication serial port circuit 13 can be connected with the 14 th pin and the 15 th pin on the data transmission circuit 12 through an I2C bus; and the 7 th pin and the 8 th pin on the sub-communication serial port circuit 13 CAN be connected with the 44 th pin and the 45 th pin on the data transmission circuit 12 through the CAN bus. In addition, the 1 st pin to the 8 th pin of the sub-communication serial port circuit 13 are also connected to the satellite sub-system. Of course, the above-mentioned connection mode of the sub-communication serial port circuit 13 is an exemplary mode of the present embodiment, and should not be taken as a limitation of the present embodiment; for example, by defining the pins on the partial communication serial port circuit 13, the 5 th pin to the 8 th pin on the partial communication serial port circuit 13 may also be connected to the data transmission circuit 12 through the SPI bus.
Further, based on the connection relationship, after the corresponding pin on the sub-communication serial port circuit 13 receives the satellite data, the corresponding pin also correspondingly sends the satellite data to the satellite sub-system.
With reference to fig. 1 and 2 and fig. 6, radiation in space has some effect on the normal operation of the circuit, and in order to reduce the effect of radiation, a radiation-proof layer is generally coated on the satellite. In addition, the present embodiment provides an alternative embodiment to reduce the influence of radiation by selecting the arrangement position of each circuit.
Specifically, the star data processing device 10 may further include: a board body 14, the board body 14 may be a printed circuit board, and the main communication serial port circuit 11, the sub communication serial port circuit 13 and the data transmission circuit 12 may be disposed on the board body 14.
As an exemplary manner of setting the main communication serial port circuit 11, the sub communication serial port circuit 13, and the data transmission circuit 12, the main communication serial port circuit 11 and the sub communication serial port circuit 13 may be respectively set at two ends opposite to the board body 14, for example, the main communication serial port circuit 11 is located at a vertex angle of one end of the board body 14, the sub communication serial port circuit 13 is located at a vertex angle of the other end of the board body 14, and the two vertex angles are opposite angles. Thus, the distance between the main communication serial port circuit 11 and the sub-communication serial port circuit 13 is far enough, and the sub-communication serial port circuit 13 and the main communication serial port circuit 11 are prevented from generating communication interference due to space radiation.
On this basis, in order to avoid the radiation of the outer space, the data transmission circuit 12 is caused to generate communication interference with the main communication serial port circuit 11 and the sub communication serial port circuit 13 respectively, the data transmission circuit 12 can be located at the midpoint position between the two ends of the plate body 14, so that the distances between the data transmission circuit 12 and the main communication serial port circuit 11 and the sub communication serial port circuit 13 are far, and the radiation of the outer space is avoided, so that the communication interference between the data transmission circuit 12 and the main communication serial port circuit 11 and the sub communication serial port circuit 13 is also caused.
Of course, in addition to the purpose of avoiding the communication interference caused by the radiation of the outer space by adjusting the distance between the circuits, the thickness of the board 14 may be increased, and the main communication serial port circuit 11, the sub-communication serial port circuit 13 and the data transmission circuit 12 may be respectively disposed on two opposite surfaces of the board 14 (for example, the data transmission circuit 12 is a dotted line in fig. 6 to indicate that the main communication serial port circuit 11, the sub-communication serial port circuit 13 and the data transmission circuit 12 are respectively disposed on different surfaces), so that the communication interference caused by the radiation of the outer space is avoided by three circuits disposed on different surfaces of the board 14.
Referring to fig. 7, in the embodiment of the present application, when the satellite host transmits the satellite data to the satellite subsystem through the satellite data processing device 10, the satellite subsystem may be busy, and in order to respond to the satellite host in time and not disturb the work plan of the satellite subsystem, the satellite data processing device 10 further includes a memory 15. When the satellite host sends the satellite data to the satellite subsystem, if the satellite subsystem is in an idle state, the satellite data processing device 10 directly transmits the satellite data to the satellite subsystem, if the satellite subsystem is in a busy state, the satellite data processing device 10 stores the satellite data in the memory 15, and when the satellite subsystem is in the idle state, the satellite data is transmitted to the satellite subsystem. As an optional implementation manner, the star data processing device may further include a port protection circuit. The port protection circuit can be connected with the satellite host and the satellite subsystem respectively. The port protection circuit can inhibit the satellite host from outputting surge electric signals to the satellite subsystem. In general, a port protection circuit for suppressing a surge has a strong driving capability and a high-impedance input/output characteristic, and can absorb a spike of a current, thereby suppressing a surge due to the spike of the current.
Referring to fig. 8, an embodiment of the present application provides a method for processing star data, which is applied to a star data processing device 10 in a satellite, and the method for processing star data includes: step S100 and step S200.
Step S100: and receiving the satellite affair data sent by the satellite host.
Step S200: and determining a transmission mode adapted to the satellite data from a plurality of preset transmission modes, and sending the satellite data to the satellite subsystem through the transmission mode adapted to the satellite data, wherein the transmission modes adapted to different types of satellite data are different.
As shown in fig. 9, optionally, step S100 specifically includes: step S110 and step S120.
Step S110: and receiving the satellite data in the network data format sent by the satellite host.
Step S120: converting the housekeeping data in the network data format into the housekeeping data in the SPI format.
As shown in fig. 10, optionally, step S200 specifically includes: step S210 and step S220.
Step S210: and determining the data type of the housekeeping data by analyzing the housekeeping data.
Step S220: and determining a transmission mode corresponding to the data type from the plurality of transmission modes, wherein the transmission mode corresponding to the data type is a transmission mode adapted to the star data.
Wherein, the multiple transmission modes include: SPI transmission mode, I2C transmission mode, and CAN transmission mode, and correspondingly, step S220 specifically includes:
when the data type is state data, determining the I2C transmission mode or the CAN transmission mode corresponding to the data type from the plurality of transmission modes; or when the data type is file data, determining the SPI transmission mode corresponding to the data type from the multiple transmission modes.
It should be noted that, for convenience and brevity of description, for a specific implementation process of the foregoing method, reference may be made to a corresponding process in the embodiments of the foregoing system, apparatus and unit, and details are not described herein again.
Some embodiments of the present application also provide a storage medium of non-volatile program codes executable by a computer, which can be a general-purpose storage medium, such as a removable disk, a hard disk, and the like. The storage medium has stored thereon program code which, when executed by a computer, performs the steps of the star data processing method of any of the above-described embodiments.
The program code product of the data request method provided in the embodiment of the present application includes a computer-readable storage medium storing the program code, and instructions included in the program code may be used to execute the method in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
In summary, the satellite affair data processing device determines the transmission mode adapted to each kind of satellite affair data, and sends the satellite affair data to the satellite subsystem in the transmission mode adapted to each kind of satellite affair data, so that each satellite affair data can be sent in the transmission mode adapted to each kind of satellite affair data, the transmission efficiency of the satellite affair data is improved, the time delay of the satellite subsystem for processing the satellite affair data is reduced, and the satellite subsystem is prevented from being mistaken for a fault by the satellite host.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (7)

1. A star data processing apparatus, comprising:
the main communication serial port circuit is used for connecting with a satellite host, and is used for receiving the housekeeping data in the network data format sent by the satellite host at a second transmission rate and converting the housekeeping data in the network data format into the housekeeping data in the SPI format;
the satellite communication system comprises a sub-communication serial port circuit and a data transmission circuit, wherein the data transmission circuit is connected with the main communication serial port circuit through an SPI bus and is also connected with a satellite subsystem through the sub-communication serial port circuit, and the data transmission circuit is connected with the sub-communication serial port circuit through the SPI bus, an I2C bus and a CAN bus respectively;
the data transmission circuit is used for determining a transmission mode adapted to the star data from a plurality of preset transmission modes, and sending the star data to the branch communication serial port circuit at a first transmission rate through the transmission mode adapted to the star data, wherein the transmission modes adapted to different types of star data are different, and the plurality of transmission modes comprise: SPI transmission mode, I2C transmission mode and CAN transmission mode;
the satellite communication serial port circuit is used for sending the satellite data to the satellite subsystem at the first transmission rate, wherein the first transmission rate is greater than the second transmission rate.
2. The star data processing device according to claim 1,
the data transmission circuit is used for determining the data type of the star data by analyzing the star data and determining a transmission mode corresponding to the data type from the multiple transmission modes, wherein the transmission mode corresponding to the data type is a transmission mode adaptive to the star data.
3. The star data processing device according to claim 2, wherein the data transmission circuit is configured to determine the I2C transmission method or the CAN transmission method corresponding to the data type from the plurality of transmission methods when the data type is status type data; or when the data type is file data, determining the SPI transmission mode corresponding to the data type from the multiple transmission modes.
4. A star data processing device as claimed in any one of claims 1 to 3, characterized in that the star data processing device further comprises a memory for buffering the star data to be transmitted to the satellite subsystem when the satellite subsystem is busy.
5. A method for processing satellite data, characterized in that it is applied to a satellite data processing device according to any one of claims 1-4, said device is used for connecting with a satellite host and a satellite subsystem in a satellite respectively,
the method comprises the following steps:
receiving the satellite affair data in the network data format sent by the satellite host at a second transmission rate, and converting the satellite affair data in the network data format into satellite affair data in an SPI format;
determining a transmission mode adapted to the satellite data from a plurality of preset transmission modes, and sending the satellite data to the satellite subsystem at a first transmission rate by the transmission mode adapted to the satellite data, wherein the transmission modes adapted to different types of satellite data are different, and the plurality of transmission modes include: SPI transmission mode, I2C transmission mode and CAN transmission mode, the first transmission rate is greater than the second transmission rate.
6. The method for processing the star data according to claim 5, wherein the step of determining the adapted transmission mode of the star data from a plurality of preset transmission modes comprises the following steps:
determining the data type of the housekeeping data by analyzing the housekeeping data;
and determining a transmission mode corresponding to the data type from the plurality of transmission modes, wherein the transmission mode corresponding to the data type is a transmission mode adapted to the star data.
7. The method of claim 6, wherein determining the transmission mode corresponding to the data type from the plurality of transmission modes comprises:
when the data type is state data, determining the I2C transmission mode or the CAN transmission mode corresponding to the data type from the plurality of transmission modes; or when the data type is file data, determining the SPI transmission mode corresponding to the data type from the multiple transmission modes.
CN201910756152.7A 2019-08-15 2019-08-15 Star affair data processing equipment and method Active CN111026690B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910756152.7A CN111026690B (en) 2019-08-15 2019-08-15 Star affair data processing equipment and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910756152.7A CN111026690B (en) 2019-08-15 2019-08-15 Star affair data processing equipment and method

Publications (2)

Publication Number Publication Date
CN111026690A CN111026690A (en) 2020-04-17
CN111026690B true CN111026690B (en) 2021-05-07

Family

ID=70203774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910756152.7A Active CN111026690B (en) 2019-08-15 2019-08-15 Star affair data processing equipment and method

Country Status (1)

Country Link
CN (1) CN111026690B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978288A (en) * 2022-05-23 2022-08-30 北京微纳星空科技有限公司 Spacecraft system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322102A (en) * 2005-10-13 2008-12-10 泽格·布里耶 Method and system for modeling and naming a software class
CN103970691A (en) * 2013-01-24 2014-08-06 宏碁股份有限公司 Electronic device and data processing method thereof
CN204360155U (en) * 2015-01-23 2015-05-27 上海微小卫星工程中心 A kind of quick test integrated manipulator for microsatellite

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712200B (en) * 2018-03-29 2021-08-10 航天东方红卫星有限公司 Intelligent wireless satellite affair system for minisatellite and control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322102A (en) * 2005-10-13 2008-12-10 泽格·布里耶 Method and system for modeling and naming a software class
CN103970691A (en) * 2013-01-24 2014-08-06 宏碁股份有限公司 Electronic device and data processing method thereof
CN204360155U (en) * 2015-01-23 2015-05-27 上海微小卫星工程中心 A kind of quick test integrated manipulator for microsatellite

Also Published As

Publication number Publication date
CN111026690A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN106959935B (en) Method compatible with I2C communication and IPMB communication
CN105141603A (en) Communication data transmission method and system
US11231983B2 (en) Fault tolerance processing method, apparatus, and server
CN105487937A (en) RDMA (Remote Direct Memory Access) implementation method and device
US7389469B2 (en) Bus systems, apparatuses, and methods of operating a bus
WO2020253293A1 (en) Device and method for satellite service data transmission, and storage medium
CN111026690B (en) Star affair data processing equipment and method
CN105183687A (en) Time-sharing serial communication method and system
CN115827549A (en) Network interface card, message sending method and storage device
CN113452475B (en) Data transmission method, device and related equipment
CN116150054B (en) Interrupt information processing method based on PCIE
CN103902472A (en) Memory access processing method and system based on interconnection of memory chips, and memory chips
EP3985928A1 (en) Communication device, communication method, and program
KR20140125311A (en) Apparatus and method for processing traffic using network interface card with multi-core
CN108632898B (en) Communication equipment and packet transmission method
CN104850517A (en) Method and apparatus for transmitting packet data using DMA
JP2004505474A (en) Station and method for operating a CAN communication line
CN101441661A (en) System and method for sharing file resource between multiple embedded systems
JP4934862B2 (en) Electronic device, broadcast control method and program for electronic device
CN113196255B (en) Data transmission method and transmission device based on internal integrated circuit protocol
CN108304214B (en) Method and device for verifying integrity of immediate data
CN116915584B (en) Method and device for processing online computing exception
CN114286393A (en) Link self-adaption method, device, equipment and storage medium
CN112511603B (en) Data port updating method and device, electronic equipment and readable storage medium
WO2019015049A1 (en) Method and device for exception handling in wireless sensor network

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