Summary of the invention
Technology of the present invention is dealt with problems and is: to the deficiency of prior art; A kind of spaceborne data managing method and device based on the AOS standard is provided; Various types of data format encapsulation and scheduling to satellite produces have improved data transmission efficiency and channel utilization to satellite.
Technical solution of the present invention is:
A kind of spaceborne data managing method based on the AOS standard; Comprise the spacecraft data are encapsulated the data encapsulation step that produces the VCDU packet; Said spacecraft data comprise the platform data that the spacecraft terminal produces, the test data that business datum that loading device produces and experimental facilities produce; Through counting the scheduling forwarding step that biography physical channel and/or laser physics channel send the VCDU packet.
Said scheduling forwarding step comprises schedule level one forwarding step and second-level dispatching forwarding step, and wherein, the schedule level one forwarding step is used for platform data VCDU packet and business datum VCDU packet are sent through number biography physical channel; The second-level dispatching forwarding step is used for the VCDU packet encapsulation of platform data VCDU packet and business datum is sent through the laser physics channel with the VCDU packet of test data after for set VCDU packet;
In said schedule level one forwarding step or second-level dispatching forwarding step, preferentially send the highest VCDU packet of priority; For the identical VCDU packet of priority, preferentially send the minimum VCDU data of pseudo channel indications.
Further, also comprise in the said scheduling forwarding step being directed against the secondary traffic coding step that number passes the grade-3 service coding step of physical channel and is directed against the laser physics channel,
In the grade-3 service coding step, version number, spacecraft sign, pseudo channel indications, the signaling territory of the VCDU packet behind the schedule level one forwarding step are carried out RS (10,6) coding and whole VCDU packet is carried out the CRC coding;
In the secondary traffic coding step, it is 4 interweave that the whole VCDU packet behind the second-level dispatching forwarding step is carried out RS (255,223) coding and the degree of depth;
Said VCDU data comprise VCDU data and the VCDU of business datum and the VCDU data of set VCDU data in the second-level dispatching forwarding step and test data of the platform data in the schedule level one forwarding step.
Further, after carrying out pseudorandom permutation and add synchronous head, send through the VCDU packet behind said grade-3 service coding step and/or the secondary traffic coding step.
Further, said data encapsulation step comprises the first data encapsulation step, the second data encapsulation step and the 3rd data encapsulation step;
The first data encapsulation step at first is packaged into E_PDU with platform data; Then a plurality of E_PDU are multiplexed into a M_PDU; At last M_PDU is encapsulated as the data field of VCDU, form the VCDU packet of platform data;
The second data encapsulation step at first is packaged into B_PDU with business datum; Then B_PDU is encapsulated as the data field of VCDU, form the VCDU packet of business datum envelope;
The 3rd data encapsulation step encapsulates the data field of test data as VCDU, forms test data VCDU packet.
A kind of spaceborne data administrator based on the AOS standard; Comprise: data encapsulation unit, data dispatch unit, grade-3 service coding unit and secondary traffic coding unit; Wherein, said data encapsulation unit comprises the first data encapsulation unit, the second data encapsulation unit and the 3rd data encapsulation unit; Said data dispatch unit comprises schedule level one unit and second-level dispatching unit;
The first data encapsulation unit at first is packaged into E_PDU with the platform data that the spacecraft terminal produces; Then a plurality of E_PDU are multiplexed into a M_PDU; At last M_PDU is encapsulated as the data field of VCDU, form platform data VCDU packet and send to the schedule level one unit;
The said second data encapsulation unit is packaged into B_PDU earlier with the business datum that loading device produces; Then B_PDU is encapsulated as the data field of VCDU, form business datum VCDU packet and send to the schedule level one unit;
The test data that said the 3rd data encapsulation unit produces experimental facilities encapsulates as the data field of VCDU, forms test data VCDU packet and also sends to the second-level dispatching unit;
Said schedule level one unit carries out buffer memory with said platform data VCDU packet and business datum VCDU packet; When number biography physical channel capable of using carries out data packet transmission, platform data VCDU packet and business datum VCDU packet are outputed to grade-3 service coding transmitting element; Or, when laser physics channel capable of using carries out data packet transmission, send to the second-level dispatching unit after said platform data VCDU packet and business datum VCDU data envelope dressed up set VCDU packet;
When said second-level dispatching unit carries out data packet transmission at laser physics channel capable of using, will gather VCDU packet and test data VCDU packet and output to secondary traffic coding transmitting element;
Said grade-3 service coding transmitting element carries out RS (10 to version number, spacecraft sign, pseudo channel indications, the signaling territory of VCDU packet in platform data VCDU packet and the business datum VCDU packet; 6) coding and whole VCDU packet carried out CRC coding after, pass physical channels through number after carrying out pseudorandom permutation and adding synchronous head and send;
Said secondary traffic coding transmitting element will gather that VCDU packet and test data VCDU packet carry out that RS (255,223) encodes and the degree of depth is after 4 interweave, to send through the laser physics channel after carrying out pseudorandom permutation and adding synchronous head.
The present invention compared with prior art has following advantage:
(1) the present invention is designed for uniformity through data encapsulation on data link layer the platform data in the satellite, business datum and experimental data, for various data types provide the business service of standard, and through coding unified QoS is provided.Satisfy the demand that various spaceborne terminal equipments are handled data, flexible design, wide adaptability.
(2) different pieces of information that the present invention is directed to different service requests on the star is carried out dynamic dispatching according to pseudo channel; Physical channel can be shared by a plurality of different business; Improved channel utilization, made number pass application station and under the situation that does not change standing state, can obtain platform data.
(3) strategy is sent in the scheduling of adopting among the present invention based on priority, and with respect to traditional full isochronous schedules or static scheduling strategy, the adaptability that the burst of reply data payload changes is higher, has improved data-transmission efficiency.
(4) implementation method among the present invention has well satisfied the design of ocean remote sensing satellite data system based on the AOS standard, and participating in international cooperation for China's ocean remote sensing satellite provides technical support.
Embodiment
Just combine accompanying drawing that the present invention is done further introduction below.
Embodiment 1
Be illustrated in figure 1 as the inventive method flow chart, comprise the step of data encapsulation and the step of scheduling transmission.
The data based data source type that is produced by each equipment of spacecraft can be divided into low speed data, medium speed data and high-speed data.Wherein, low speed data comprises that attitude and orbital data, DORIS data, laser with the telemetry of taking aim at data and whole star, are the platform data of spacecraft.Medium speed data comprises the data that produced by radar altimeter, microwave radiometer, microwave scatterometer, correction radiometer and mechanical environment monitoring, is the business datum of spacecraft.High-speed data comprises LVDS test data and 1394 bus test datas, and this data, services is tested in laser communication, is the test data of spacecraft.Therefore, to different data types, the step of data encapsulation further is divided into the first data encapsulation step, the second data encapsulation step and the 3rd data encapsulation step.
As shown in Figure 2, in the first data encapsulation step, at first each platform data is packaged into E_PDU; Then a plurality of E_PDU are multiplexed into a M_PDU; At last M_PDU is encapsulated as the data field of VCDU, form the VCDU packet of platform data.Packaging and multiplexed business have been selected in this step for use; Adapted to well that the platform data terminal quantity is many, type is many and byte-oriented but characteristics different in size; Have very strong flexibility and extensibility; Realize simultaneously the multiple terminals data multiplex is become one road VCDU, saved the VCID resource in the data system.
As shown in Figure 3, in the second data encapsulation step, at first business datum is packaged into B_PDU; Then B_PDU is encapsulated as the data field of VCDU, form the VCDU packet of business datum envelope.Selected bit stream service for use in this step, well adapted to the business datum indefinite length, speed has nothing in common with each other, and characteristics independent of each other, the recovery that is beneficial to behind the data down transmission ground is handled.
As shown in Figure 4, in the 3rd data encapsulation step, the data field of test data as VCDU encapsulated, form test data VCDU packet.According to pseudo channel access business said high speed LVDS experimental data is carried out protocol encapsulation, said 1394 bus experimental datas are carried out protocol encapsulation according to virtual channel data unit unit is professional.Selected for use the pseudo channel access professional in this step, well adapted to the characteristics that test data length is fixed, speed is high, be beneficial to data processing on the star and handle with the recovery that passes down behind the ground.
The form of VCDU packet is as shown in the table
Table 1VCDU data packet format
Comprise:
Version number (2bits): " 01 ", expression CCSDS virtual channel data unit unit;
Spacecraft sign SCID (8bits): fixed number, distribute unitedly by CCSDS;
Pseudo channel indications VCID (6bits);
Pseudo channel counter (24bits): " 0~2
24-1 ", cycle count;
Signaling territory (playback sign 1bit): real-time VCDU is represented in " 0 ", " 1 " expression playback VCDU;
VCDU data cell district: valid data;
The CRC check symbol: 16 bit cyclic redundancy codes, carry out verification to data field.
Pseudo channel is a plurality of parallel " virtual " path that is based upon on the physical channel, can be shared by the user of a plurality of different business through pseudo channel mechanism physical channel.
The step that scheduling is sent is used for that each VCDU packet to the generating step of data encapsulation closes the road and scheduling is sent.The number that uses to transmission passes physical channel and laser physics channel, and the step that scheduling is sent can be divided into the schedule level one forwarding step of logarithm biography physical channel and to the second-level dispatching forwarding step of laser physics channel.
VCDU packet with platform data VCDU packet and business datum VCDU packet and solid-state memory storage when the schedule level one forwarding step is used in satellite gets into the visual segmental arc of number biography ground station synthesizes a circuit-switched data through dynamic dispatching, send number to pass physical channel and sends.VCDU packet with platform data and business datum in the time of outside satellite gets into the visual segmental arc of number biography ground station send the solid-state memory storage.
The second-level dispatching forwarding step is used for when satellite gets into the visual segmental arc of laser ground station; Synthesize a circuit-switched data with the VCDU data of test data through dynamic dispatching after the platform data VCDU packet of solid-state memory storage synthesized set VCDU packet with business datum VCDU packet, send the laser physics channel to send;
As shown in Figure 5, be schedule level one forwarding step and/or second-level dispatching forwarding step scheduling strategy, in order to guarantee efficiently, accomplish in an orderly manner the task of closing the road scheduling to the VCDU packet; Adopt the dynamic dispatching strategy, for each VCDU defines a priority, under any circumstance; At first transmit the high VCDU of priority; If sometime, there is the VCDU of two equal priority to propose the transmission request, then service is provided for the little VCDU of VCID.With respect to traditional full isochronous schedules or static scheduling strategy, the adaptability that the burst of reply data payload changes is higher, according to each VCDU data volume size and priority dynamic assignment pseudo channel, has improved channel transport efficiency simultaneously.
Before sending the VCDU packet, the present invention has also selected quality of service levels for use to different physical channels, promptly data is carried out error control coding.
Pass physical channel for number, the grade-3 service coding step is: RS (10,6) coding is adopted in version number, spacecraft sign, pseudo channel indications, signaling territory to the VCDU packet, and whole VCDU packet is carried out CRC check.
RS (10,6) coding parameter is following:
● the figure place of each RS code element: 4;
● the error correcting capability of an interior RS code element of RS code word: 2;
● each coded word comprises 10 code elements;
● territory generator polynomial: F (x)=x
4+ x+1;
● sign indicating number generator polynomial: g (x)=(x+ α
6) (x+ α
7) (x+ α
8) (x+ α
9).
The CRC coding parameter is following:
● the sign indicating number generator polynomial is: g (x)=x
16+ x
12+ x
5+ 1
Generate check code on the star in real time, and insert in the tailer sequence of VCDU packet.
For the laser physics channel, the secondary traffic coding step is: it is 4 interweave that whole VCDU packet is carried out RS (255,223) coding and the degree of depth.
The RS coding parameter is following:
The figure place of each RS code element: 8;
The error correcting capability of an interior R-S code element of RS code word: 16;
Each coded word comprises 255 code elements;
Territory generator polynomial: F (x)=X
8+ X
7+ x
2+ x+1;
The sign indicating number generator polynomial:
To further carrying out pseudorandom permutation and synchronization process through the VCDU packet behind the coding; The pseudorandom permutation processing procedure is following: the data of coding output are carried out pseudorandom permutation handle; Avoid occurring in the data complete " 0 ", complete " 1 " long code, the data when being beneficial to the ground reception are recovered.The pseudorandom permutation generator polynomial:
h(x)=x
8+x
7+x
5+x
3+1
Pseudorandom permutation is handled and is realized that block diagram is as shown in Figure 6.Each trigger D0~D7 powers on initial condition for " 11111111 "; Under the driving of tranmitting data register; Produce pseudo random sequence and carry out the step-by-step XOR with data to be sent by bit, making has certain bit transition density in the final transmission data sequence, be beneficial to the bit synchronous of ground receiving terminal.
The synchronization process process is following: the data of pseudorandom permutation output are added the synchronous head 0x1ACFFC1D of 32bit, and the frame when being used for ground and receiving is delimited.
Embodiment 2
As shown in Figure 7, this is based on the device sketch map of the method for the invention.Comprise data encapsulation unit, data dispatch unit, grade-3 service coding unit and secondary traffic coding unit, wherein, said data encapsulation unit comprises the first data encapsulation unit, the second data encapsulation unit and the 3rd data encapsulation unit; Said data dispatch unit comprises schedule level one unit and second-level dispatching unit.
Comprise in the data encapsulation unit respectively with the first data encapsulation step, the second data encapsulation step and the 3rd data encapsulation step to the first corresponding data encapsulation unit, the second data encapsulation unit and the 3rd data encapsulation unit, be used for respectively platform data, business datum and experimental data being encapsulated according to the data encapsulation step of correspondence.Platform data VCDU packet, business datum VCDU packet that encapsulation produces are input to the schedule level one unit, and experimental data VCDU packet outputs to the second-level dispatching unit.
The schedule level one unit when satellite entering number passes in the visual segmental arc of ground station, passes physical channel through number and sends according to dispatching method shown in Figure 5 platform data VCDU packet, business datum VCDU packet.VCDU packet with platform data and business datum in the time of outside satellite gets into the visual segmental arc of number biography ground station send the solid-state memory storage.
When the second-level dispatching unit gets into the visual segmental arc of laser ground station at satellite; Synthesize a circuit-switched data with the VCDU data of test data through dynamic dispatching after the platform data VCDU packet of solid-state memory storage synthesized set VCDU packet with business datum VCDU packet; Send the laser physics channel to send, dispatching method is as shown in Figure 5 equally.
Secondary traffic coding unit and grade-3 service coding unit are respectively applied for before the VCDU packet is sent through laser physics channel and number biography physical channel the VCDU packet are encoded.
The grade-3 service coding unit is encoded according to the grade-3 service coding step to platform data VCDU packet, business datum VCDU data; Secondary traffic coding unit pair set VCDU packet and experimental data VCDU packet are encoded according to the secondary traffic coding step.
After carrying out pseudorandom permutation and add synchronous head, sends VCDU packet behind the coding through number biography physical channel or laser physics channel.
The unspecified part of the present invention belongs to general knowledge as well known to those skilled in the art.