The design method of the space tracking telemetry and control center route system in knowledge based library
Technical field
The invention belongs to field of aerospace measurement and control, are related to a kind of space tracking telemetry and control center route system in knowledge based library
Design method.
Background technique
Space tracking telemetry and control center application route system is the hinge that measuring and control data exchanges inside and outside measurement and control center.It is complete in face of being distributed in
A observing and controlling website of state more than ten and some external tracking telemetry and command stations adapt to changeable measuring and control data and route in real time and process demand, these
Demand mainly has following three classes: first is that conventional measuring and control data route need, i.e., (include number according to existing measuring and control data transport protocol
According to format and transmission requirement) regulation progress measuring and control data routing;Second is that task specific demand, such to need often not meeting observing and controlling
Data Transport Protocol regulation, is the specific demand under specific space flight measurement and control task;Third is that demand of activating business, as rocket is original distant
Survey, the distant pretreatment of star etc., such demand generally requires to expand existing route system.
The characteristics of day-to-day operation of space tracking telemetry and control center has its own: first is that service operation does not interrupt, i.e. 7*24 hours all
There is Satellite TT task, therefore the responsible software systems handled in real time of measurement and control center must be steadily and surely reliable, several years or more than ten years
Without maintenance shut-downs;Second is that new Satellite TT task may bring frequent demand to change, software caused by demand is changed
Upgrade necessary steady and smooth, does not occur upgrading caused failure as far as possible, should then be use up from design for the fault point being likely to occur
Amount guarantees that failure is local fault, rather than the overall situation is stopped.
According to traditional mode, space tracking telemetry and control center application route system is realized by specific software system, the system according to
Mission requirements realize measuring and control data circulation and processing, and software developer modifies software according to mission requirements, and reinforce test and protect
Its stability is demonstrate,proved, overall flow is run in standby machine simultaneously in real time by same process, and hardware environment is as shown in Figure 1, software knot
Structure is as shown in Figure 2.There is no problem in the case where previous Spacecraft Launch density is lower, newly increased requirement is few for the mode, still
With the increase of China's space flight measurement and control task frequency in recent years, satellite in orbit quantity is increased rapidly, and some novelty tasks are as carried
People's space flight, lunar exploration etc. cause system extension, update deployment more the requirements such as measuring and control data circulation, data prediction, to system
Stability has some impact on, or even some possible problems for threatening spacecraft safety occurs, which is China's space flight measurement and control
The pressing problem that field faces in recent years.
Summary of the invention
The object of the present invention is to provide a kind of design methods of the space tracking telemetry and control center route system in knowledge based library, solve
In the case that observing and controlling application route system under traditional mode is more than the demand and task, system stability difference and spacecraft peace is threatened
Full problem.
The technical scheme adopted by the invention is that the design method of the space tracking telemetry and control center route system in knowledge based library,
Specific steps are as follows:
Step 1. establishes the basic operation rule of route system according to existing TT&C task data definition initial knowledge library:
According to the regulation of existing observing and controlling agreement, knowledge addition is carried out to knowledge base, according to different types of software process and
TT&C task example is arranged in a one-to-one correspondence its knowledge base that should be grasped;
Step 2. analyzes newly-increased TT&C task demand, inherit to existing knowledge library according to newly-increased TT&C task or more
Newly, processing software is increased newly when necessary to adapt to TT&C task demand, to obtain observing and controlling application route system:
For generally newly-increased TT&C task, TT&C task state complies fully with measuring and control data transport protocol regulation, in system
It is middle to increase corresponding task Routing Software;
When needing specially treated for newly-increased TT&C task, then existing knowledge library is expanded or revised, expanded
With knowledge base verification should be carried out during revision first, avoid the occurrence of logical contradiction, cause actual treatment and expection it is inconsistent
The phenomenon that;
Step 3. increase newly TT&C task it is online after, carry out task joint-trial, verifying observing and controlling route system whether both guarantee to meet
Newly-increased mission requirements, and having had for task is not impacted, verifying executes space flight measurement and control task after assuring success.
Other features of the invention also reside in,
Detailed process is as follows for the reasoning algorithm of knowledge base:
Firstly, defining inferenctial knowledge unit K and knowledge operator T;
Wherein, K includes four elements: priority P, condition C, exclusive mark F and message name set R;Knowledge operator T:
T(K1,K2,…,Kn)(D)=RR (Ff,Rf), wherein K1,K2,…,KnFor the set of blocks of knowledge composition, D is pending data, and RR is
Inferenctial knowledge is as a result, consist of two parts, first is that the exclusive result FR of process, second is that message name set RS;
Then, the first step reads the priority P of all K in all blocks of knowledge set, is ranked up, and is override with 0,
Form several blocks of knowledge subsets;
Second step is to current pending data D, that is, needs to carry out the data of router-level topology according to highest priority knowledge list
First subset sequentially carries out condition matching, if matching is set up, gives up subsequent blocks of knowledge subset, otherwise continues to match, if
All matchings are all invalid, then FR is false in RR result, and RS is empty set;For a blocks of knowledge subset, if first
Blocks of knowledge K successful match, then be incorporated to RS for its R, FR be set to F, will if having a blocks of knowledge K successful match again
Its R continues to be incorporated to RS, the value of FR be matched FR last time and current rule F logic ask and, traverse all current knowledge subset of cells,
Final RS, FR will form the reasoning results RR;
The knowledge base that should be grasped according to different types of software process and TT&C task example to it in step 1 carries out one by one
It is correspondingly arranged that detailed process is as follows:
(1) it is not necessarily to grasp any knowledge under normal circumstances for survey station agent software, knowledge base is set as empty, according to being
TT&C task data are forwarded directly to corresponding task Routing Software by system design;
(2) knowledge base that task Routing Software is grasped needs to fully understand existing measuring and control data transport protocol, that is,
External data is unconditionally routed to Database Systems storage, and measurement and control center's outgoing data sees whether be routed to number according to storage mark
According to library, routes knowledge and need complete description to task Routing Software knowledge base;
(3) specially treated software is generally not necessarily to knowledge base, if but the multiplexing existing process of route system, construct TT&C task number
It needs to increase when circulating according to message.
When needing specially treated for newly-increased TT&C task in step 2, existing knowledge library is expanded or revised
Detailed process is as follows:
If newly-increased TT&C task demand only relates to route new rule, generally more new knowledge base increases new routing rule;
If newly-increased TT&C task demand is related to new processing, need existing measuring and control data using knowledge base knowledge
Existing process flow is drawn, after increasing one or a set of software process processing newly, foundation makes full use of existing process cooperation relation
Principle, it is complete to realize newly-increased mission requirements.
The particular content of task joint-trial is as follows in step 3:
(1) functional check is carried out to newly-increased TT&C task, whether the data including meeting measuring and control data transport protocol route
Correctly and whether the data of measuring and control data transport protocol are not met by correct specially treated;
(2) if being related to survey station agent software and specially treated software, if will affect other TT&C tasks, need
Special compliance check or test are done, design has special diagnosis mechanism in route system, can be to inter-process messages, network
Information monitored in real time, by the diagnostic message that diagnosis mechanism issues can determine entire route system work whether according to
It is expected that carrying out.
The invention has the advantages that the design method of the space tracking telemetry and control center route system in knowledge based library, solves to pass
In the case that observing and controlling application route system under system mode is more than the demand and task, system stability difference and spacecraft safety is threatened
The problem of.It is had the advantage that compared to traditional observing and controlling application route system
1) the space tracking telemetry and control center application route system in the knowledge based library of method design of the invention, support more survey stations,
Measuring and control data routing and processing under multitask, complicated demand, the design for reducing measurement and control center's other software subsystem are complicated
Degree;
2) method of the invention devises a set of knowledge base description language and operation is guided, and is adapted to that demand coexists, than
Such as, data, which should be routed to database subsystem also, will be routed to the requirement of apparatus monitor system, and being also adapted to exclusiveness needs
It asks;
3) the space tracking telemetry and control center application route system in the knowledge based library of method of the invention design devises routing system
System process diagnoses interface, when route system carries out TT&C task joint-trial, diagnoses interface and its analysis tool can be with efficient diagnosis
Whether current route system is it is anticipated that operation, can find out the generation point of problem as early as possible when not operating as intended.
4) the space tracking telemetry and control center application route system in the knowledge based library of method of the invention design can satisfy existing
The routing of TT&C task data and processing requirement, and have expandability, it, can by increasing routing knowledge and specially treated software
To adapt to subsequent TT&C task demand.
Detailed description of the invention
Fig. 1 is conventional aerospace measurement and control center using route system hardware environment schematic diagram;
Fig. 2 is conventional aerospace measurement and control center using Routing Software structural schematic diagram;
Fig. 3 is the hardware environment schematic diagram of the space tracking telemetry and control center route system in knowledge based library of the invention;
Fig. 4 is the software configuration schematic diagram of the space tracking telemetry and control center route system in knowledge based library of the invention.
Specific embodiment
The following describes the present invention in detail with reference to the accompanying drawings and specific embodiments.
Core of the invention main idea is to establish a set of independently operated space tracking telemetry and control center application layer routing in measurement and control center
System, and the reasoning algorithm model in a set of knowledge based library is devised, system carries out observing and controlling under the guidance of reasoning algorithm model
Data routing and processing.The system may operate on several groups of active/standby servers, by several synthetic operations on each server
Software process composition, supports the measuring and control data of each spacecraft task to route, process demand, whole system hardware environment such as Fig. 3 institute
Show, software configuration is as shown in Figure 4.The software process of synthetic operation is broadly divided into three classes: first is that survey station agent software, in face of surveying
It stands, surveying vessel, launching centre or international networking, responsible measuring and control data protocol conversion are needed when newly-increased survey station direction according to net
The new configuration software process of network communication protocol, parameter;Second is that task Routing Software, is responsible for the data road of specific space flight measurement and control task
By needing when newly-increased TT&C task according to the new configuration software process of measuring and control data route need;Third is that specially treated software, bears
The miscellaneous functions such as data processing, format conversion, time publication are blamed, such software is only needed when application route system function expands
Increase.Three classes software calls knowledge reasoning algorithms library, constructs measuring and control data inter-process messages stream according to router-level topology result
Turn, space flight measurement and control task is completed in collaboration.Such design reduces the workload of observing and controlling route system software development maintenance, reduction
Mission preparation time, improves the reliability of system.
The design method of the space tracking telemetry and control center route system in knowledge based library of the invention, specific steps are as follows:
Step 1. establishes the basic operation rule of route system according to existing TT&C task data definition initial knowledge library:
According to the regulation of existing observing and controlling agreement, knowledge addition is carried out to knowledge base, according to different types of software process and
TT&C task example is arranged in a one-to-one correspondence its knowledge base that should be grasped;
The knowledge base that should be grasped according to different types of software process and TT&C task example to it in step 1 carries out one by one
It is correspondingly arranged that detailed process is as follows:
(1) it is not necessarily to grasp any knowledge under normal circumstances for survey station agent software, knowledge base is set as empty, according to being
TT&C task data are forwarded directly to corresponding task Routing Software by system design;
(2) knowledge base that task Routing Software is grasped needs to fully understand existing measuring and control data transport protocol, that is,
External data is unconditionally routed to Database Systems storage, and measurement and control center's outgoing data sees whether be routed to number according to storage mark
According to library, routes knowledge and need complete description to task Routing Software knowledge base;
(3) specially treated software is generally not necessarily to knowledge base, if but the multiplexing existing process of route system, it constructs measuring and control data and disappears
It needs to increase when breath circulation.
Step 2. analyzes newly-increased TT&C task demand, inherit to existing knowledge library according to newly-increased TT&C task or more
Newly, processing software is increased newly when necessary to adapt to TT&C task demand, to obtain observing and controlling application route system:
For generally newly-increased TT&C task, TT&C task state complies fully with measuring and control data transport protocol regulation, in system
It is middle to increase corresponding task Routing Software;
When needing specially treated for newly-increased TT&C task, then existing knowledge library is expanded or revised, expanded
With knowledge base verification should be carried out during revision first, avoid the occurrence of logical contradiction, cause actual treatment and expection it is inconsistent
The phenomenon that;
When needing specially treated for newly-increased TT&C task in step 2, existing knowledge library is expanded or revised
Detailed process is as follows:
If newly-increased TT&C task demand only relates to route new rule, generally more new knowledge base increases new routing rule;
If newly-increased TT&C task demand is related to new processing, need existing measuring and control data using knowledge base knowledge
Existing process flow is drawn, after increasing one or a set of software process processing newly, foundation makes full use of existing process cooperation relation
Principle, it is complete to realize newly-increased mission requirements.
Step 3. increase newly TT&C task it is online after, carry out task joint-trial, verifying observing and controlling route system whether both guarantee to meet
Newly-increased mission requirements, and having had for task is not impacted, verifying executes space flight measurement and control task after assuring success.
The particular content of task joint-trial is as follows in step 3:
(1) functional check is carried out to newly-increased TT&C task, whether the data including meeting measuring and control data transport protocol route
Correctly and whether the data of measuring and control data transport protocol are not met by correct specially treated;
(2) if being related to survey station agent software and specially treated software, if will affect other TT&C tasks, need
Special compliance check or test are done, design has special diagnosis mechanism in route system, can be to inter-process messages, network
Information monitored in real time, by the diagnostic message that diagnosis mechanism issues can determine entire route system work whether according to
It is expected that carrying out.
Each process of route system can have different knowledge bases, and knowledge base is by basic inferenctial knowledge unit
Composition, detailed process is as follows for the reasoning algorithm of knowledge base:
Firstly, defining inferenctial knowledge unit K and knowledge operator T;
Wherein, K is made of four elements, i.e., (P is the integer more than or equal to 0 to priority P, and the smaller priority of number is got over
It is high), condition C (defines a group of labels according to measuring and control data transport protocol, as shown in Figure 1, for determining currently pending observing and controlling
Whether data meet current inferenctial knowledge unit), (whether this blocks of knowledge overturns the existing processing of current process to exclusive mark F
Logic), message name set R (message name character trail, it can be empty set that this, which integrates, and communication, which uses, between system process subscribes to publication formula,
Specific message name is ordered by specific process, routing of the message name determination data between process);
Knowledge operator T:T(K1,K2,…,Kn)(D)=RR (FR, RS), wherein K1,K2,…,KnFor the collection of blocks of knowledge composition
It closing, D is pending data, and RR is inferenctial knowledge as a result, consisting of two parts, first is that the exclusive result FR (Boolean variable) of process,
Second is that message name set RS (string assemble).
Then, the first step reads the priority P of all K in all blocks of knowledge set, is ranked up, and is override with 0,
Form several blocks of knowledge subsets;
Second step is to current pending data D, that is, needs to carry out the data of router-level topology according to highest priority knowledge list
First subset sequentially carries out condition matching, if matching is set up, gives up subsequent blocks of knowledge subset, otherwise continues to match, if
All matchings are all invalid, then FR is false in RR result, and RS is empty set;For a blocks of knowledge subset, if first
Blocks of knowledge K successful match, then be incorporated to RS for its R, FR be set to F, continue its R if having a K successful match again
Be incorporated to RS, the value of FR be matched FR last time and current rule F logic ask and, traverse all current knowledge subset of cells, final RS,
FR will form the reasoning results RR.
1 conditional tag list of table
Tag name |
Type |
Meaning |
SRC |
16 system integers |
It is eligible that data source address is equal to description value |
EXSRC |
16 system integers |
Data source address is not equal to description value with regard to eligible |
DST |
16 system integers |
It is eligible that data destination address is equal to description value |
EXDST |
16 system integers |
Data destination address is not equal to description value with regard to eligible |
MID |
16 system integers |
It is eligible that data task ID is equal to description value |
EXMID |
16 system integers |
Data task ID is not equal to description value with regard to eligible |
BID |
16 system integers |
It is eligible that data type mark is equal to description value |
EXBID |
16 system integers |
Data type mark is not equal to description value with regard to eligible |
ENC |
Encryption and decryption mark |
It is eligible that encryption and decryption mark is equal to description value |
SAVE |
Storage mark |
It is eligible that storage mark is equal to description value |
SIM |
Emulation mark |
It is eligible that emulation mark is equal to description value |
Method of the invention has the advantage that be guided by devising a set of knowledge base description language and operation.Knowledge
Library description language has used XML format, and element is made of priority, condition, exclusive mark, results messages name set, can be with
Demand coexists in adaptation, to be routed to the requirement of apparatus monitor system as data should be routed to database subsystem also, can also be with
Exclusiveness demand is adapted to, certain feature is only routed to encrypting and deciphering system such as data fit, other routing rules do not come into force, in this way
Design improve routing knowledge flexibility, can satisfy TT&C task data routing various demands.
The space tracking telemetry and control center route system in the knowledge based library that the present invention designs, as shown in figure 3, including on system hardware
Two parts of center server and client.The system is located in central backbone communication network, so as to handle survey station in
The heart, the data exchange of central interior, processing task, server duplex running are mutually backups, and client rs PC can be passed through by operating to it
Machine carries out.
As shown in figure 4, the software of system with the mode operation of C/S (client-server), equally includes central server
End and client two parts.Center server software is server, towards all devices inside and outside center and subsystem, service
Device end uses multi-process co-ordination mode, uses between process and subscribes to publication formula message communicating, each process calls knowledge base
Realize dynamic base, knowledge base algorithm model explained below.
The space tracking telemetry and control center application route system in the knowledge based library that the present invention designs has the advantage that support more and surveys
It stands, multitask, measuring and control data routing and processing under complicated demand.Survey station agent software shields each survey station, launching site, measurement
The difference of ship, international networking station measuring and control data transport protocol is uniformly processed for measurement and control center and lays a good foundation, reduces in observing and controlling
The design complexities of heart other software subsystem;The knowledge-base design of task Routing Software is avoided because mission requirements are modified repeatedly
Software converts technical staff to the circulation planning of task measuring and control data the rule of software for calculation identification, reduces observing and controlling road
The workload safeguarded by systemic software development, reduces mission preparation time, improves the reliability of system;Specially treated is soft
Part can carry out more complicated processing, such as carry out real-time reception to big code stream rocket data and calculate trajectory to avoid at rear end
Big impact of the bit stream data to central site network, such process interface caused by reason disclose, can be by the peopleware of different majors
It is developed, is analyzed the measuring and control data for needing route system to carry out first time processing and completed by such software;Design
Route system include route system process diagnosis interface, route system carry out TT&C task joint-trial when, diagnose interface and its
Whether analysis tool can be with the current route system of efficient diagnosis it is anticipated that operation, can find out as early as possible when not operating as intended and ask
The generation point of topic.
Specific embodiment is as follows:
Below by taking a simplified, typical TT&C task as an example, the essential implementation of each step is provided:
The foundation in step 1 initial knowledge library
Under normal conditions, the route processing of measuring and control data completes observing and controlling by conventional route system (referred to as are as follows: DODS) processing
Data Transport Protocol basic demand, the agreement about routing are as shown in table 2 below:
The conventional route list of table 2
Encryption and decryption field is data unconditional forwarding when need to encrypt or need to decrypt mark in measuring and control data transport protocol field
To encrypting and deciphering system, other routings or processing are not done, this requires to be high priority requirement;If data have storage to identify, answer
Data are routed to Database Systems to achieve;If data are unit discharging (assuming that unit discharging type identification number is
0x01234567), then it is transmitted to the processing of rail system real-time reception, is prepared for track determination.
The demand is conventional requirement, is the simplification of a typical TT&C task, then needs to give corresponding task Routing Software
Configure following knowledge base:
It is clear that above-mentioned knowledge base is made of 3 inferenctial knowledge units, retouched when route system is online for the first time
State, be that most of space flight measurement and control tasks require the knowledge base abided by, in newly-increased TT&C task, increase the software of this task into
Journey, and this description is allocated to newly-increased task Routing Software process;
The expansion and specially treated in step 2. task knowledge library are expanded
Certain particular task may may require that, the data for not meeting measuring and control data transport protocol are carried out specially treated, for example,
Assuming that it is 0x11112222 that, which there is a kind of special data type in the station Weinan1 direction, measuring and control data transport protocol regulation is not met, but
It needs measurement and control center's real time data processing subsystem to be handled to monitor task status, then needs to give the direction Weinan1 survey station
Agent process specially increases the description of dependency inference blocks of knowledge.
Filename: DODS_SR_Weinan1.XML knowledge base be description for the direction Weinan1
<Knowledge>
<bID>0x11112222</BID>data type;
<Priority>2</Priority>
<default>false</Default>the reasoning results it is exclusive, no longer hair task Routing Software processing
<mSG>rDTSRelay</MGS>generate real time data subsystem route messages
</Knowledge>
After above-mentioned inferenctial knowledge unit comes into force, a RDTSRelay message will be generated after receiving 0x11112222 data, will be wrapped
Data containing 0x11112222 itself, to be routed to center real time data processing subsystem.
Assuming that this task, is that big bit stream data is not suitable for direct road there are also a kind of telemetry of launch vehicle initial data 0x66666666
By being handled into measurement and control center, the impact to central site network is avoided, is also not suitable for same in conventional route system (referred to as are as follows: DODS)
It is handled on server, avoids processing impacts routine measuring and control data routing, then need in another group of active/standby server (abbreviation
Are as follows: RSRT) on establish route system, and by knowledge base appropriate description and newly-increased telemetry of launch vehicle original data processing software,
Complete this observing and controlling demand.
Complete this work mainly in two steps, reject such data in survey station agent rule on DODS, still with
For Weinan1, increase following blocks of knowledge in file RSRT_SR_Weinan1.XML:
<Knowledge>
<bID>0x66666666</BID>data type;
<Priority>2</Priority>
<default>false</Default>the reasoning results it is exclusive, no longer hair task Routing Software processing
</Knowledge>
Such knowledge description directly abandons after receiving this type data, it is ensured that does not influence conventional route system.
In RSRT system, the knowledge base in the direction weinan1 is provided that
Filename: RSRT_SR_Weinan1.XML
<Knowledge>
<eXBID>0x66666666</EXBID>data type condition be non-zero x66666666;
<Priority>2</Priority>
<default>false</Default>the reasoning results it is exclusive, no longer hair task Routing Software processing
</Knowledge>
Such knowledge description will ensure that RSRT only handles 0x66666666 data, similar in task route processing software
In encryption and decryption processing, such measuring and control data is led into other message, after specially treated process processing, then is routed to center reality
When processing subsystem.
Filename: RSRT_MR_0x1234.XML knowledge Base article be description for task 0x1234
<Knowledge>
<BID>0x66666666</BID>
<Priority>1</Priority>
<Default>false</Default>
<MSG>RocketRelay</MGS>
</Knowledge>
Message RocketRelay can be generated when system receives telemetry of launch vehicle initial data, is routed to telemetry of launch vehicle original number
It is responsible for according to processing dedicated process, is generated again after completion processing and be routed to center real time data processing subsystem, to realize survey
Mission requirements are controlled, in the process, has increased special and has handled, also taken full advantage of existing process cooperative characteristics.
The comparative situation table of 3 two kinds of route system design patterns of table
Step 3. center joint-trial inspection verifying
In center joint-trial inspection verifying link, checked for the working condition of DODS, RSRT, primarily directed to each
Class meets the data of inferenctial knowledge unit condition whether there is or not relevant message is generated according to given design, and the message name collection of generation is answered
Neither too much nor too little, the message for seldom referring within the scope of exclusive mark action that default generates should be prohibited, and much referring to generate
Route messages should all meet knowledge base description and generate.Such inspection can be used route system process diagnostic feature and check one by one,
It is rapidly completed.
The present invention is applied in Xian Satellite Control Center, and measurement and control center is in office according to solution development front end system
Business deploys the original telemetering processing server of dedicated front end communication server, front end rocket, the distant pre-processing service of front end star on the net
Device, and client is deployed in center monitoring computer room.By taking existing center situation as an example, space tracking telemetry and control center application route system is negative
Blame conventional measuring and control data routing, the original Telemetering Data Processing of rocket, the distant pretreatment of star, the number for not meeting measuring and control data transport protocol
According to according to particular/special requirement route distribution.The demand constitutes including manned space flight, moon exploration program, Beidou and all Xi'an
The space flight measurement and control task that Satellite Monitoring and Control Centre executes, these tasks smoothly complete under the strong support of front end system.Comparison
Traditional space tracking telemetry and control center application route system, there is following improvement, as shown in table 3:
It can be obtained from table 3: system expandable existing for space mission measuring and control data road system design aspect of the invention
Property, in terms of stability the problem of, optimize measuring and control data circulation and processing in space mission, be the early stage observing and controlling and length of space mission
Important foundation has been established in going on smoothly for pipe work.