Search

CN-122001450-A - Extended scene optimization method and system for satellite unit serial-parallel data acquisition algorithm

CN122001450ACN 122001450 ACN122001450 ACN 122001450ACN-122001450-A

Abstract

The invention provides an extended scene optimization method and system of a satellite unit serial-parallel data acquisition algorithm, wherein the method comprises the steps of maintaining data acquisition modes of parallel requests for data requests of different parallel units in the same data updating period, adopting a serial request data acquisition mode for different data requests of the same parallel unit, requesting next data after one data request is completed, adopting a parallel request data acquisition mode for a plurality of data requests belonging to different buses in the serial requests, simultaneously requesting data and simultaneously receiving data, and maintaining the serial request data acquisition mode for the data requests of the plurality of serial units in the same bus. The invention can support the requests of a plurality of different data of the same parallel unit in the same data updating period, realize the reliable receiving of the data, support the parallel data requests among more than 2 serial buses and improve the data receiving efficiency.

Inventors

  • XU DONGXIAO
  • CAI ZHIMING
  • ZHANG YONGHE
  • ZHANG YE
  • LIU HUAQIU
  • LI FEI
  • LIU SHUO

Assignees

  • 中国科学院微小卫星创新研究院
  • 上海微小卫星工程中心

Dates

Publication Date
20260508
Application Date
20260227

Claims (8)

  1. 1. The extended scene optimization method of the satellite unit serial-parallel data acquisition algorithm is characterized by comprising the following steps of: Within the same data update period: for the data requests of different parallel units, the data acquisition mode of the parallel requests is still maintained; For different data requests of the same parallel unit, a serial request data acquisition mode is adopted, and after one data request is completed, the next data request is carried out; For a plurality of data requests belonging to different buses in the serial requests, adopting a data acquisition mode of parallel requests, requesting data at the same time, and receiving data at the same time; For data requests of a plurality of serial units in the same bus, a data acquisition mode of serial requests is still maintained.
  2. 2. The method for optimizing an extended scenario of a satellite unit serial-parallel data acquisition algorithm according to claim 1, wherein for different data requests of the same parallel unit, a serial request data acquisition mode is adopted, and the method comprises the following steps: And for the same parallel equipment, when the continuous acquisition requests are triggered in the same period, automatically switching the waiting strategy of the continuous requests from the parallel waiting strategy to the serial waiting strategy, and arranging corresponding acquisition requests and receiving actions in series on the corresponding serial time line.
  3. 3. The method for optimizing an extended scenario of a satellite unit serial-parallel data acquisition algorithm according to claim 1, wherein for a plurality of data requests belonging to different buses in a serial request, a data acquisition mode of parallel requests is adopted, which comprises: The device configured as a serial waiting strategy between different buses is used for serially arranging acquisition requests and receiving actions on independent serial time lines according to the type of the bus, the different buses are not interfered with each other and can be overlapped with each other, and the serial time lines are started simultaneously to form a data acquisition mode of parallel requests.
  4. 4. An extended scene optimization system of a satellite unit serial-parallel data acquisition algorithm, comprising: The parallel request module is used for maintaining the data acquisition modes of parallel requests for the data requests of different parallel units in the same data updating period, adopting the data acquisition mode of serial requests for the different data requests of the same parallel unit, and requesting the next data after requesting one data; And the serial request module is used for adopting a parallel request data acquisition mode for a plurality of data requests belonging to different buses in the serial requests in the same data updating period, simultaneously requesting data and simultaneously receiving data, and still maintaining the serial request data acquisition mode for the data requests of a plurality of serial units in the same bus.
  5. 5. The extended scenario optimization system of the satellite unit serial-parallel data acquisition algorithm according to claim 1, wherein the parallel request module adopts a serial request data acquisition mode for different data requests of the same parallel unit, and further comprises: And for the same parallel equipment, when the continuous acquisition requests are triggered in the same period, automatically switching the waiting strategy of the continuous requests from the parallel waiting strategy to the serial waiting strategy, and arranging corresponding acquisition requests and receiving actions in series on the corresponding serial time line.
  6. 6. The extended scenario optimization system of the satellite unit serial-parallel data acquisition algorithm according to claim 1, wherein the serial request module, for a plurality of data requests belonging to different buses in a serial request, adopts a data acquisition mode of parallel requests, includes: The device configured as a serial waiting strategy between different buses is used for serially arranging acquisition requests and receiving actions on independent serial time lines according to the type of the bus, the different buses are not interfered with each other and can be overlapped with each other, and the serial time lines are started simultaneously to form a data acquisition mode of parallel requests.
  7. 7. A satellite unit serial-parallel data acquisition system comprising a control center, a plurality of parallel units communicatively connected to the control center and serial units connected to the same and/or different buses, the control center comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor is operative to perform the method of any of claims 1-3 when executing the computer program.
  8. 8. A computer readable storage medium having stored thereon a computer program, which, when executed by a processor, is operable to perform the method of any of claims 1-3.

Description

Extended scene optimization method and system for satellite unit serial-parallel data acquisition algorithm Technical Field The invention relates to the technical field of embedded software, in particular to an extended scene optimization method and an extended scene optimization system for a satellite unit serial-parallel data acquisition algorithm, and simultaneously relates to a corresponding satellite unit serial-parallel data acquisition system and a computer readable storage medium. Background The communication mode between the satellite control center and other units is usually an RR (request-reply) mode, and time waiting is needed between the request and the reply so as to request response time and data transmission time for the other units, so that when the satellite control center requests data of a plurality of units, the waiting time is too long, and the operation efficiency of the satellite control center is low. To solve the above problems, a method of dividing satellite intercom into two types according to hardware connection is generally adopted at present. First, parallel communication is performed, the topological connection relationship between the satellite and the parallel data units is shown in fig. 1, and the satellite control center and each parallel control unit are connected in a point-to-point manner. When the satellite control center and other units are in point-to-point physical connection on hardware, the satellite control center is provided with separate physical communication links, the requests of the point-to-point physical connection can be sent out simultaneously, then data can be received simultaneously, the physical communication links are not affected by each other, and specific communication modes such as RS232 communication, RS422 communication and the like are complex in wiring and occupy a lot of resources. The serial communication is carried out, the topological connection relation between the satellite and the serial data units is shown in figure 2, the satellite control center and each serial control unit are in bus physical connection, namely, after the satellite control center requests to receive one unit of data, other serial single-machine data are required to be requested, at the moment, the satellite control center and each serial node are connected through a bus, the satellite control center and each serial node are in physical same passage, at the same moment, only one active node CAN send data on the bus due to a bus competition mechanism, the data CAN be received at each node, each node CAN carry out data filtering on software or hardware and only data required by the node are required, the data waiting time CAN be naturally saved due to the parallel waiting request data, the type is a standard scene, and the specific communication modes such as CAN communication, RS485 communication and the like CAN only send data by one device at the same time and collision needs to be avoided. The two modes have the following two problems that firstly, if the control unit continuously requests different data of the same parallel unit, the parallel waiting principle can simultaneously request, so that the adopted unit cannot respond to the data in time, and secondly, if a plurality of buses are connected, the data request cannot be carried out according to a single bus, the data request needs to be respectively carried out according to serial data, and the two buses are integrally parallel requests, so that the operation efficiency is low. These two problems can be collectively defined as problems of an extended scenario. Disclosure of Invention The invention aims at the defects in the prior art, provides an extended scene optimization method and an extended scene optimization system for a satellite unit serial-parallel data acquisition algorithm, and simultaneously provides a corresponding satellite unit serial-parallel data acquisition system and a computer readable storage medium. According to a first aspect of the present invention, there is provided an extended scene optimization method of a satellite unit serial-parallel data acquisition algorithm, including: Within the same data update period: for the data requests of different parallel units, the data acquisition mode of the parallel requests is still maintained; For different data requests of the same parallel unit, a serial request data acquisition mode is adopted, and after one data request is completed, the next data request is carried out; For a plurality of data requests belonging to different buses in the serial requests, adopting a data acquisition mode of parallel requests, requesting data at the same time, and receiving data at the same time; For data requests of a plurality of serial units in the same bus, a data acquisition mode of serial requests is still maintained. Preferably, for different data requests of the same parallel unit, a data acquisition mode of serial requests is adopted, and the m