Summary of the invention
Technology of the present invention is dealt with problems and is: for the deficiencies in the prior art, provide a kind of spaceborne data managing method based on AOS standard and device, the Various types of data format encapsulation produce satellite and scheduling, improve the data transmission efficiency to satellite and channel utilization.
Technical solution of the present invention is:
A kind of spaceborne data managing method based on AOS standard, comprise and carry out encapsulating the data encapsulation step producing VCDU packet to spacecraft data, described spacecraft data comprise the platform data that spacecraft terminal produces, the business datum that loading device produces and the test data that experimental facilities produces; By the scheduling forwarding step that number biography physical channel and/or laser physics channel send VCDU packet.
Described scheduling forwarding step comprises schedule level one forwarding step and second-level dispatching forwarding step, and wherein, schedule level one forwarding step is used for that platform data VCDU packet and business datum VCDU packet are passed physical channel by number and sends; It is after set VCDU packet by the VCDU packet encapsulation of platform data VCDU packet and business datum that second-level dispatching forwarding step is used for and the VCDU packet of test data is sent by laser physics channel;
In described schedule level one forwarding step or second-level dispatching forwarding step, the VCDU packet that preferential transmission priority is the highest; For the VCDU packet that priority is identical, the VCDU data that preferential transmission pseudo channel indications is minimum.
Further, also comprise in described scheduling forwarding step and pass the grade-3 service coding step of physical channel and the secondary traffic coding step for laser physics channel for number,
In grade-3 service coding step, the version number of the VCDU packet after schedule level one forwarding step, spacecraft mark, pseudo channel indications, signaling territory are carried out to RS (10,6) coding and carried out CRC coding to whole VCDU packet;
In secondary traffic coding step, to the whole VCDU packet after second-level dispatching forwarding step carry out RS (255,223) coding and the degree of depth be the intertexture of 4;
Described VCDU data comprise the VCDU data of set VCDU data in the VCDU data of the platform data in schedule level one forwarding step and the VCDU of business datum and second-level dispatching forwarding step and test data.
Further, pseudorandom permutation carried out to the VCDU packet after described grade-3 service coding step and/or secondary traffic coding step and send after adding synchronous head.
Further, described data encapsulation step comprises the first data encapsulation step, the second data encapsulation step and the 3rd data encapsulation step;
First platform data is packaged into E_PDU by the first data encapsulation step; Then multiple E_PDU is multiplexed into a M_PDU; Finally M_PDU is encapsulated as the data field of VCDU, form the VCDU packet of platform data;
First business datum is packaged into B_PDU by the second data encapsulation step; Then B_PDU is encapsulated as the data field of VCDU, form the VCDU packet of business datum envelope;
The data field of test data as VCDU encapsulates by the 3rd data encapsulation step, forms test data VCDU packet.
A kind of spaceborne data administrator based on AOS standard, comprise: data packaging unit, data scheduling unit, grade-3 service coding unit and secondary traffic coding unit, wherein, described data packaging unit comprises the first data packaging unit, the second data packaging unit and the 3rd data packaging unit; Described data scheduling unit comprises schedule level one unit and second-level dispatching unit;
First the platform data that spacecraft terminal produces is packaged into E_PDU by the first data packaging unit; Then multiple E_PDU is multiplexed into a M_PDU; Finally M_PDU is encapsulated as the data field of VCDU, form platform data VCDU packet and send to schedule level one unit;
The business datum that loading device produces first is packaged into B_PDU by described second data packaging unit; Then B_PDU is encapsulated as the data field of VCDU, form business datum VCDU packet and send to schedule level one unit;
The test data that experimental facilities produces by described 3rd data packaging unit encapsulates as the data field of VCDU, forms test data VCDU packet and sends to second-level dispatching unit;
Described platform data VCDU packet and business datum VCDU packet are carried out buffer memory by described schedule level one unit, when number biography physical channel can be utilized to carry out data packet transmission, platform data VCDU packet and business datum VCDU packet are outputted to grade-3 service coding transmitting element; Or, when laser physics channel can be utilized to carry out data packet transmission, after described platform data VCDU packet and business datum VCDU data envelope being dressed up set VCDU packet, be sent to second-level dispatching unit;
Set VCDU packet and test data VCDU packet, when laser physics channel can be utilized to carry out data packet transmission, are outputted to secondary traffic coding transmitting element by described second-level dispatching unit;
Described grade-3 service coding transmitting element carries out RS (10 to the version number of VCDU packet in platform data VCDU packet and business datum VCDU packet, spacecraft mark, pseudo channel indications, signaling territory, 6) encode and after carrying out CRC coding to whole VCDU packet, carry out pseudorandom permutation and pass physical channel by number after adding synchronous head sending;
Described secondary traffic coding transmitting element set VCDU packet and test data VCDU packet is carried out RS (255,223) coding and the degree of depth is, after the intertexture of 4, carry out pseudorandom permutation and sent by laser physics channel after adding synchronous head.
The present invention compared with prior art tool has the following advantages:
(1) the present invention is designed for uniformity by data encapsulation on data link level to the platform data in satellite, business datum and experimental data, for various data type provides the business service of standard, and provide unified QoS by coding.Meet various spaceborne terminal equipment to the demand of data processing, flexible design, wide adaptability.
(2) different pieces of information that the present invention is directed to different service request on star carries out dynamic dispatching according to pseudo channel, make physical channel can share by multiple different business, improve channel utilization, make number pass application and stand in when not changing standing state and can obtain platform data.
(3) the scheduling sending strategy based on priority adopted in the present invention, relative to the scheduling of traditional synchronize fully or static scheduling strategy, the adaptability of reply data payload burst change is higher, improves data-transmission efficiency.
(4) implementation method in the present invention, based on AOS standard, well meets ocean remote sensing satellite data system design, and participating in international cooperation for China's ocean remote sensing satellite provides technical support.
Embodiment
Just by reference to the accompanying drawings the present invention is described further below.
Embodiment 1
Be illustrated in figure 1 the inventive method flow chart, comprise the step of data encapsulation and the step of scheduling transmission.
The data produced by each equipment of spacecraft can be divided into low speed data, medium speed data and high-speed data according to data source types.Wherein, low speed data comprises the telemetry of attitude and orbital data, DORIS data, laser pointing data and whole star, is the platform data of spacecraft.Medium speed data comprises monitors by radar altimeter, microwave radiometer, microwave scatterometer, correction radiometer and mechanical environment the data produced, and is the business datum of spacecraft.High-speed data comprises LVDS test data and 1394 bus test datas, and this data, services, in laser communication experiment, is the test data of spacecraft.Therefore, for different data types, the step of data encapsulation is further 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, first each platform data is packaged into E_PDU; Then multiple E_PDU is multiplexed into a M_PDU; Finally M_PDU is encapsulated as the data field of VCDU, form the VCDU packet of platform data.Packaging and multiplexed business has been selected in this step, well adapt to that platform data terminal quantity is many, type is many and byte-oriented but feature different in size, there is very strong flexibility and extensibility, realize multiple terminals data-reusing to become a road VCDU simultaneously, save the VCID resource in data system.
As shown in Figure 3, in the second data encapsulation step, 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.Select bit stream service in this step, well adapted to business datum indefinite length, speed is different, and feature independent of each other, be beneficial to the Recovery processing behind data down transmission ground.
As shown in Figure 4, in the 3rd data encapsulation step, the data field of test data as VCDU is encapsulated, form test data VCDU packet.According to pseudo channel access business, protocol encapsulation is carried out to described high speed LVDS experimental data, according to virtual channel data unit unit business, protocol encapsulation is carried out to described 1394 bus experimental datas.Select pseudo channel to access business in this step, well adapted to the feature that test data length is fixed, speed is high, be beneficial to data processing and the Recovery processing after passing down ground on star.
The form of VCDU packet is as shown in the table
Table 1VCDU data packet format
Comprise:
Version number (2bits): " 01 ", represents CCSDS virtual channel data unit unit;
Spacecraft mark SCID (8bits): fixed number, is distributed unitedly by CCSDS;
Pseudo channel indications VCID (6bits);
Virtual channel counter (24bits): " 0 ~ 2
24-1 ", cycle count;
Signaling territory (playback mark 1bit): " 0 " represents real-time VCDU, " 1 " represents playback VCDU;
VCDU data cell district: valid data;
CRC check accords with: 16 bit cyclic redundancy check, verify data field.
Pseudo channel is multiple parallel " virtual " path be based upon on a physical channel, can be shared by pseudo channel mechanism physical channel by the user of multiple different business.
The step that scheduling sends is used for each VCDU packet that the step of data encapsulation produces is carried out to conjunction road and dispatches transmission.The number used for transmission passes physical channel and laser physics channel, and the step that scheduling sends can be divided into logarithm to pass the schedule level one forwarding step of physical channel and the second-level dispatching forwarding step to laser physics channel.
Schedule level one forwarding step is used for, when satellite enters in the visual segmental arc of Shuo Chuan ground station, the VCDU packet of platform data VCDU packet and business datum VCDU packet and solid-state memory storage is synthesized a circuit-switched data by dynamic dispatching, send number to pass physical channel and sends.Solid-state memory is sent to store the VCDU packet of platform data and business datum when satellite enters outside the visual segmental arc of Shuo Chuan ground station.
Second-level dispatching forwarding step is used for when satellite enters the visual segmental arc of laser ground station, the platform data VCDU packet store solid-state memory and business datum VCDU packet synthesize a circuit-switched data with the VCDU data of test data by dynamic dispatching after synthesizing set VCDU packet, send laser physics channel to send;
As shown in Figure 5, for schedule level one forwarding step and/or second-level dispatching forwarding step are to the scheduling strategy of VCDU packet, in order to ensure efficiently, completing in an orderly manner the task of closing road scheduling, adopt Dynamic Scheduling Strategy, for each VCDU defines a priority, under any circumstance, first the high VCDU of priority is transmitted, if sometime, the VCDU of two equal priority is had to propose transfer request, then for the VCDU that VCID is little provides service.Relative to the scheduling of traditional synchronize fully or static scheduling strategy, the adaptability of reply data payload burst change is higher, simultaneously according to each VCDU data volume size and priority dynamic assignment pseudo channel, improves channel transport efficiency.
Before transmission VCDU packet, the present invention has also selected quality of service levels for different physical channels, namely carries out error control coding to data.
Pass physical channel for number, grade-3 service coding step is: adopt RS (10,6) to encode to the version number of VCDU packet, spacecraft mark, pseudo channel indications, signaling territory, carry out CRC check to whole VCDU packet.
RS (10,6) coding parameter is as follows:
● the figure place of each RS code element: 4;
● the error correcting capability of RS code element in a RS code word: 2;
● each coded word comprises 10 code elements;
● territory generator polynomial: F (x)=x
4+ x+1;
● code generator polynomial: g (x)=(x+ α
6) (x+ α
7) (x+ α
8) (x+ α
9).
CRC coding parameter is as follows:
● code generator polynomial is: g (x)=x
16+ x
12+ x
5+ 1
Star generates check code in real time, and inserts in the tailer sequence of VCDU packet.
For laser physics channel, secondary traffic coding step is: to whole VCDU packet carry out RS (255,223) coding and the degree of depth be the intertexture of 4.
RS coding parameter is as follows:
The figure place of each RS code element: 8;
The error correcting capability of R-S code element in a RS code word: 16;
Each coded word comprises 255 code elements;
Territory generator polynomial: F (x)=X
8+ X
7+ x
2+ x+1;
Code generator polynomial:
Further pseudorandom permutation and synchronization process are carried out to the VCDU packet after coding, pseudorandom permutation processing procedure is as follows: carry out pseudorandom permutation process to the data that coding exports, avoid in data, occurring complete " 0 ", complete " 1 " long code, be beneficial to date restoring during ground receiver.Pseudorandom permutation generator polynomial:
h(x)=x
8+x
7+x
5+x
3+1
Pseudorandom permutation process realizes block diagram 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 by bit and carry out step-by-step XOR with data to be sent, making there is certain bit transition density in final transmission data sequence, be beneficial to the bit synchronous of ground receiver end.
Synchronization process process is as follows: the synchronous head 0x1ACFFC1D data of pseudorandom permutation output being added to 32bit, delimits for frame during ground receiver.
Embodiment 2
As shown in Figure 7, this is based on the device schematic diagram of the method for the invention.Comprise data packaging unit, data scheduling unit, grade-3 service coding unit and secondary traffic coding unit, wherein, described data packaging unit comprises the first data packaging unit, the second data packaging unit and the 3rd data packaging unit; Described data scheduling unit comprises schedule level one unit and second-level dispatching unit.
Data packaging unit comprise respectively with the first data encapsulation step, the second data encapsulation step and the 3rd data encapsulation step to the first corresponding data packaging unit, the second data packaging unit and the 3rd data packaging unit, for the data encapsulation step respectively according to correspondence, platform data, business datum and experimental data are encapsulated.The platform data VCDU packet that encapsulation produces, business datum VCDU packet are input to schedule level one unit, and experimental data VCDU packet outputs to second-level dispatching unit.
Schedule level one unit to platform data VCDU packet, business datum VCDU packet according to the dispatching method shown in Fig. 5 when satellite enters in the visual segmental arc of Shuo Chuan ground station, by number pass physical channel send.Solid-state memory is sent to store the VCDU packet of platform data and business datum when satellite enters outside the visual segmental arc of Shuo Chuan ground station.
Second-level dispatching unit is when satellite enters the visual segmental arc of laser ground station, the platform data VCDU packet store solid-state memory and business datum VCDU packet synthesize a circuit-switched data with the VCDU data of test data by dynamic dispatching after synthesizing set VCDU packet, send laser physics channel to send, dispatching method equally as shown in Figure 5.
Secondary traffic coding unit and grade-3 service coding unit are respectively used to encode to VCDU packet before carrying out transmission to VCDU packet by laser physics channel and number biography physical channel.
Grade-3 service coding unit is encoded according to grade-3 service coding step to platform data VCDU packet, business datum VCDU data; Secondary traffic coding unit is encoded according to secondary traffic coding step to set VCDU packet and experimental data VCDU packet.
VCDU packet after coding is carried out pseudorandom permutation and is sent by number biography physical channel or laser physics channel after adding synchronous head.
The unspecified part of the present invention belongs to general knowledge as well known to those skilled in the art.