CN109062549A - The method and device of artificial intelligence writing satellite radio frequency channel telemetering decoding program - Google Patents

The method and device of artificial intelligence writing satellite radio frequency channel telemetering decoding program Download PDF

Info

Publication number
CN109062549A
CN109062549A CN201810806221.6A CN201810806221A CN109062549A CN 109062549 A CN109062549 A CN 109062549A CN 201810806221 A CN201810806221 A CN 201810806221A CN 109062549 A CN109062549 A CN 109062549A
Authority
CN
China
Prior art keywords
radio frequency
frequency channel
telemetering
telemetry
definition
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.)
Granted
Application number
CN201810806221.6A
Other languages
Chinese (zh)
Other versions
CN109062549B (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201810806221.6A priority Critical patent/CN109062549B/en
Publication of CN109062549A publication Critical patent/CN109062549A/en
Application granted granted Critical
Publication of CN109062549B publication Critical patent/CN109062549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radio Relay Systems (AREA)

Abstract

The present invention relates to the method and devices that a kind of artificial intelligence writes satellite radio frequency channel telemetering decoding program.This method comprises: Green Formula radio frequency channel telemetry intelligence (TELINT);It establishes ground decoding program source code and writes decision tree;According to the radio frequency channel telemetry intelligence (TELINT) and the decision tree, satellite radio frequency channel telemetering decoding program is write.This method is described based on digital satellite radio frequency channel telemetry formatization, is established ground decoding program source code and is write decision tree, and the source code of simulation ground control station processing radio frequency channel telemetry process is automatically generated.The present invention is able to solve the automatic writing of satellite radio frequency channel telemetering ground decoding source program, can greatly reduce telemetry subsystem simulating developer workload during spacecraft simulation, improves efficiency of research and development.

Description

The method and device of artificial intelligence writing satellite radio frequency channel telemetering decoding program
Technical field
The present invention relates to source code intelligent writing method, in particular to a kind of artificial intelligence writes satellite radio frequency channel telemetering decoding The method and device of program.
Background technique
Emulation technology is a kind of technology simulated using digital world to real world, has controllability height, without broken Bad property allows to be repeated several times, is limited the advantages such as small by current conditions.Emulation technology can promote the development efficiency and quality of product, Shorten the R&D cycle.
Since 20th century mid-term, with the development of space industry, emulation technology is provided for space flight and is effectively assisted.Especially Its nearly more than 20 years, with computer, visualization technology rapid development with merge, emulation technology is in space product development process In obtain large-scale application, especially design etc. key links play very important effect, become space product number The chief component of word development mode.
Observing and controlling emulation is the important component of space flight digital product, and surface telemetry system is to guarantee safety satellite flight Important system.The system has the function of record flight data, is collection analysis telemetry, the in-orbit state of verifying satellites Important means.
Different satellites are required individually to develop when having corresponding telemetry subsystem, and being directed to multi-satellite A set of telemetry subsystem, heavy workload, period are long, and especially multiple and different programmers participates, and error rate is high.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind A kind of artificial intelligence for stating problem writes the method and device of satellite radio frequency channel telemetering decoding program.
In a first aspect, the embodiment of the present invention provides the method that artificial intelligence writes satellite radio frequency channel telemetering decoding program, the party Method includes: Green Formula radio frequency channel telemetry intelligence (TELINT);It establishes ground decoding program source code and writes decision tree;It is distant according to the radio frequency channel Measurement information and the decision tree write satellite radio frequency channel telemetering decoding program.
In one embodiment, the Green Formula radio frequency channel telemetry intelligence (TELINT) includes:
Description is formatted to radio frequency channel telemetry intelligence (TELINT) using database.
In one embodiment, the database includes that radio frequency channel telemetry intelligence (TELINT) defines tables of data;
It is described that description is formatted to radio frequency channel telemetry intelligence (TELINT) using database, comprising:
The radio frequency channel telemetry intelligence (TELINT) defines tables of data and completes the definition of telemetering state amount and radio frequency channel distribution information definition;
The definition of data table related completion status amount star internal transmission information and telemetry code solution that the telemetering state amount defines Code mode defines;
The data table related completion telemetering main channel distribution that the radio frequency channel distribution information defines defines, radio frequency channel is content-defined, Telemetering working condition and quantity of state definition.
In one embodiment, the ground decoding program source code of establishing writes decision tree, comprising:
Satellite telemetry radio frequency channel decoding program source code is decomposed at many levels;Establish satellite telemetry radio frequency channel decoding program source Code writes decision tree;The artificial intelligence program person for executing specification writing operation is established according to decision tree branches situation.
In one embodiment, the ground decoding program source code, comprising:
Whether can be changed according to the content of the source code, the source code is divided into universal code and individualized code;Institute State universal code, including data transmit-receive simulation source file and telemetry decoding functions source file;The individualized code, including Telemetering channel defines header file, telemetry parameter macrodefinition header file, radio frequency channel distribution working condition parsing source file, radio frequency channel operating condition and sentences Disconnected source file and radio frequency channel operating condition decode source file.
In one embodiment, according to the radio frequency channel telemetry intelligence (TELINT) and the decision tree, satellite radio frequency channel telemetering decoding is write Program, comprising:
It is inserted into using fixed code and completes universal code writing;
Individualized code includes:
It is defined according to satellite telemetry subsystem definition and telemetering state amount, completes telemetering channel and define header file, telemetering ginseng Number macrodefinition header file is write;
Information definition and the definition of telemetering working condition are distributed according to radio frequency channel, radio frequency channel distribution working condition is completed and parses source document Part, radio frequency channel operating condition judge that source file is write;
Information definition and quantity of state definition are distributed according to radio frequency channel, radio frequency channel operating condition decoding source file is completed and writes.
Second aspect, the embodiment of the present invention provide the device that artificial intelligence writes satellite radio frequency channel telemetering decoding program, comprising:
Formatting module is used for Green Formula radio frequency channel telemetry intelligence (TELINT);
Module is established, writes decision tree for establishing ground decoding program source code;
Module is write, for the telemetering of satellite radio frequency channel being write and decoding journey according to the radio frequency channel telemetry intelligence (TELINT) and the decision tree Sequence.
In one embodiment, the formatting module is specifically used for carrying out lattice to radio frequency channel telemetry intelligence (TELINT) using database Formulaization description.
In one embodiment, the database includes that radio frequency channel telemetry intelligence (TELINT) defines tables of data;
The formatting module, specifically for the radio frequency channel telemetry intelligence (TELINT) define tables of data complete telemetering state amount definition with Radio frequency channel distributes information definition;Data table related completion status amount star internal transmission information that the telemetering state amount defines definition and distant Coding and decoding mode is surveyed to define;The data table related that the radio frequency channel distribution information defines completes telemetering main channel distribution definition, wave Road is content-defined, telemetering working condition and quantity of state definition.
In one embodiment, described to establish module, it is specifically used for carrying out satellite telemetry radio frequency channel decoding program source code It is multi-level to decompose;It establishes satellite telemetry radio frequency channel decoding program source code and writes decision tree;It is held according to the foundation of decision tree branches situation The artificial intelligence program person of row specification writing operation.
In one embodiment, the ground decoding program source code, comprising: whether may be used according to the content of the source code Become, the source code is divided into universal code and individualized code;The universal code, including data transmit-receive simulation source file and Telemetry decoding functions source file;The individualized code, including telemetering channel define header file, telemetry parameter macrodefinition head File, radio frequency channel distribution working condition parsing source file, radio frequency channel operating condition judge source file and radio frequency channel operating condition decoding source file.
In one embodiment, the writing module, comprising: universal code writes module, for being inserted using fixed code Enter to complete universal code writing;
Individualized code writes module, for being defined according to satellite telemetry subsystem definition and telemetering state amount, completes distant It surveys channel and defines header file, the writing of telemetry parameter macrodefinition header file;For distributing information definition and telemetering operating condition according to radio frequency channel Conditional definition completes radio frequency channel distribution working condition parsing source file, radio frequency channel operating condition judges that source file is write;For according to radio frequency channel point With information definition and quantity of state definition, completes radio frequency channel operating condition decoding source file and write.
The beneficial effect of above-mentioned technical proposal provided in an embodiment of the present invention includes at least:
The method that artificial intelligence provided in an embodiment of the present invention writes satellite radio frequency channel telemetering decoding program, comprising: format Radio frequency channel telemetry intelligence (TELINT) is described;It establishes ground decoding program source code and writes decision tree;According to the radio frequency channel telemetry intelligence (TELINT) and described Decision tree writes satellite radio frequency channel telemetering decoding program.This method is described based on digital satellite radio frequency channel telemetry formatization, establishes ground Decoding program source code writes decision tree, automatically generates the source code of simulation ground control station processing radio frequency channel telemetry process. The present invention is able to solve the automatic writing of satellite radio frequency channel telemetering ground decoding source program, during capable of greatly reducing spacecraft simulation Telemetry subsystem simulating developer workload improves efficiency of research and development.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the process for the method that artificial intelligence provided in an embodiment of the present invention writes satellite radio frequency channel telemetering decoding program Figure;
Fig. 2 is the block diagram of database structure provided in an embodiment of the present invention signal;
Fig. 3 is the flow chart of step S103 provided in an embodiment of the present invention;
Fig. 4 is the flow chart of step S1033 provided in an embodiment of the present invention;
Fig. 5 is the flow chart of step S1034 provided in an embodiment of the present invention;
Fig. 6 is the block diagram for the device that artificial intelligence provided in an embodiment of the present invention writes satellite radio frequency channel telemetering decoding program.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Satellite radio frequency channel telemetering decoding program according to the present invention, also known as telemetry subsystem are opened for each satellite The satellite radio frequency channel telemetering decoding simulation program of hair, telemetry subsystem design not only has similar frame structure, but also has different Telemetry intelligence (TELINT) definition.
The artificial intelligence program person being directed to, establishment process are as follows: carrying out to digital aircraft source code multi-level It decomposes;It establishes digital aircraft source code and writes decision tree;It is established according to decision tree branches situation and executes specification writing operation Artificial intelligence program person;
Artificial intelligence program person writes source code specifications decision and executes method, comprising: (1) to the minimal decomposition result It is clustered, provides the applicable object and applicable elements of branch after cluster;
(2) by after minimal decomposition result cluster, decision tree is established.
Above-mentioned cluster is according to including versatility:
The application layer code in code level is clustered according to versatility, including all aircraft are general, same class Type aircraft is general, the different special three parts of aircraft model;
Execution method is write to source code and is selected according to the scope of application, change frequency, variation pattern factor, establishes intelligence It can programmer;Writing working specification and executing method includes saving as file, saving as database, be fixed on writing logic manually In intelligent program person.
Shown in referring to Fig.1, the method that artificial intelligence provided in an embodiment of the present invention writes satellite radio frequency channel telemetering decoding program, Including step S101~S103:
S101, Green Formula radio frequency channel telemetry intelligence (TELINT);
S102, ground decoding program source code writing decision tree is established;
S103, according to the radio frequency channel telemetry intelligence (TELINT) and the decision tree, write satellite radio frequency channel telemetering decoding program.
Green Formula radio frequency channel telemetry intelligence (TELINT) in step S101, for example, make storage data type is consistent, unit is consistent;Or Person is to be consistent data storage method, for example be unified into binary format data and (turn octal system true form, hexadecimal It is changed to binary system source code).Radio frequency channel telemetry intelligence (TELINT) can store in formatted document, for example be extensible markup language Data interchange format (the JavaScript of (eXtensible Markup Language, XML) formatted document or lightweight Object Notation, JSON) document.Wherein XML document and JSON document are easy to people's reading and write, while being also easy to machine Device parsing and generation.The embodiment of the present disclosure does not limit this.
Ground decoding program source code is established in step S102 and writes decision tree, it may be assumed that standardization defines ground decoding program Source code is to convert the common ground in different satellite radio frequency channel telemetering decoding process to standardization definition, is mainly conducive to artificial Intelligent writing.
Step S103 is realized according to the decision tree in the radio frequency channel telemetry intelligence (TELINT) and S102 of S101 Green Formula and is write satellite Radio frequency channel telemetering decoding program.
In the present embodiment, digital satellite radio frequency channel telemetering ground decoding program source code of this method based on Green Formula, Standardization definition and data formatization description are converted by the common ground in different satellite radio frequency channel telemetering decoding process, difference is adopted With data configuration information;That is: follow the procedure definition standard, according to datalogging information, is automatically performed decoding program source code It is automatic to write.This method can greatly reduce telemetry subsystem simulating developer workload during spacecraft simulation, avoid people's Overlapping development work, reduces error rate, improves program development efficiency, and then also improve efficiency of research and development.
In one embodiment, step S101, including database is used to be formatted description to radio frequency channel telemetry intelligence (TELINT).Than It can such as be used according to the programming language for writing code, selection such as Access, Oracle, DB2, Sybase, MS SQL The databases such as Server, Informax, MySQL, for example, program language be ASP.NET when, using ACCESS or MS SQL Server database.Any of the above-described kind of database can be formatted description to radio frequency channel telemetry intelligence (TELINT), it can by more Corresponding content is realized and is configured by the mode of new data table, for example 1 day, 10 hours, 60 minutes is uniformly updated to be divided into list The data of position: 1440 minutes, 600 minutes, 60 minutes.
Further, the database in above-described embodiment includes that radio frequency channel telemetry intelligence (TELINT) defines tables of data, and step S101 is specific It is embodied as, referring to shown in Fig. 2, radio frequency channel telemetry intelligence (TELINT) defines tables of data 2 and completes telemetering state amount definition 21 and radio frequency channel distribution information 22 are defined, telemetering state amount defines 21 completion status amount star internal transmission informations and defines 211 and the definition of telemetry code decoding process 212;Radio frequency channel, which distributes information and defines 22 and complete the distribution of telemetering main channels, defines that 221, radio frequency channel is content-defined 222, telemetering working condition 223 and quantity of state define 224.
For using the definition of Access database, including radio frequency channel telemetry intelligence (TELINT) defines tables of data, includes in the tables of data The definition of telemetering state amount, radio frequency channel distribution information define two classes, are respectively provided with following feature:
(1) telemetering state amount defines: telemetering state amount data table related define the title of telemetering state amount, data type, In the star and star ground information such as transmission process code encoding/decoding mode.
(2) radio frequency channel distribution information definition: radio frequency channel distributes information related data from telemetering main channel, radio frequency channel combination, radio frequency channel group Closing comprising operating condition, operating condition trigger condition, operating condition includes that quantity of state or source are wrapped several ranks and be formatted to radio frequency channel distribution information Description.
(3) tables of data relationship: telemetering state amount defines data table related completion status amount type, content, processing mode phase Close definition.Radio frequency channel distribution information is defined to be required successively to form operating condition and source by the telemetering state amount that configuration is completed according to radio frequency channel distribution Packet, radio frequency channel combination, radio frequency channel.
For example, by passing satellite position vectors Rx, Ry, Rz and attitude of satellite vector theta x, θ y, θ z under multiplexing radio frequency channel.
It is as follows that the quantity of state that satellite passes down is defined first:
The definition of 1 quantity of state of table
Satellite position vectors and orientation vector wheel are flowed down into biography by a radio frequency channel, are made by the definition of main channel allocation table Radio frequency channel combination, as shown in table 2;
The definition of 2 main channel of table
Serial number Occupy number of channels Originate radio frequency channel Terminate radio frequency channel Title
1 1 1 2 Channel1
Radio frequency channel distribution operating condition defines table and defines the operating condition that radio frequency channel includes, as shown in table 3;
The definition of 3 radio frequency channel operating condition of table
Radio frequency channel serial number Operating condition ID Operating condition title Working condition Operating condition content
1 1 Channel1Case1 1 Physical quantity
1 2 Channel1Case2 2 Physical quantity
Working condition defines the condition that table defines operating condition triggering, as shown in table 4;
The definition of 4 working condition of table
Operating condition serial number Condition number Quantity of state serial number Condition Logical relation
1 1 3 3 be even number Nothing
2 2 3 3 be odd number Nothing
Operating condition includes that state scale defines the quantity of state that each operating condition includes.
5 operating condition of table includes state scale
Operating condition serial number Operating condition internal state amount serial number Quantity of state attribute Quantity of state serial number Quantity of state dimension
1 1 Single machine quantity of state 1 3
2 1 Single machine quantity of state 2 3
By said combination, it is formatted to the telemetry channel configuration for stating satellite position and posture information is caught under telemetering Description, the input of source code is write as subsequent artefacts intelligent program person automatically.
In the present embodiment, for different satellites, telemetry subsystem design not only has similar frame structure, but also has not Same telemetry intelligence (TELINT) definition.Digital satellite radio frequency channel telemetering ground decoding program source code Writing method based on Green Formula, Standardization definition and database description are converted by the common ground in different satellite radio frequency channel telemetering decoding process, difference uses number According to library configuration information.The automatic writing of decoding program source code is realized in conjunction with the two.This method can greatly reduce telemetry subsystem Simulating developer workload reduces error rate, improves efficiency of research and development.
Artificial intelligence program person writes satellite radio frequency channel telemetering decoding program source code process and is related to acquisition of information, writes decision Tree establishes, writes module automatically.
Data obtaining module reads the formatting that artificial intelligence program person writes telemetry channel telemetry intelligence (TELINT) under current working Description record, including telemetering state amount defines information and radio frequency channel distribution defines information.
Intelligent decision module establishes the decision tree that radio frequency channel telemetering decoding program is write automatically.It is distant according to existing satellite radio frequency channel Decoding program source code is surveyed, source code program collection is established.Intelligent decision module is directed to the versatility of code to source code program collection It is clustered.Source code is divided into variable part and immutable part by the result of cluster.Variable part and immutable part are pressed Function further clusters, and obtains functional file.Wherein, immutable part mainly includes data transmit-receive simulation, data processing etc. Fixed code file, it may be assumed that data transmit-receive simulates source file and telemetry decoding functions source file;Variable part mainly includes distant It surveys associated documents, the i.e. telemetering channels such as channel definition, parameter definition, radio frequency channel distribution definition and it is macro fixed to define header file, telemetry parameter Adopted header file, radio frequency channel distribution working condition parsing source file, radio frequency channel operating condition judge source file and radio frequency channel operating condition decoding source file.Root According to clustering as a result, establishing intelligent writing decision tree, the normalized written of each file is determined.
Automatic writing module is defended according to decision tree as a result, converting the Green Formula record result of design of satellites result to Star radio frequency channel telemetering ground decoding program source code.Writing process creates corresponding C language project file, and text is written in required code In part, automatic write is realized.
In one embodiment, step S102 establishes ground decoding program source code and writes decision tree, comprising: distant to satellite Radio frequency channel decoding program source code is surveyed to be decomposed at many levels;It establishes satellite telemetry radio frequency channel decoding program source code and writes decision tree; The artificial intelligence program person for executing specification writing operation is established according to decision tree branches situation.
Further, standardization defines bottom surface decoding program source code, and further implementable is decoding program source code According to whether changing with database configuration information in generating process, immutable part and variable part can be divided into.Immutable part Mainly comprising fixed codes files such as data transmit-receive simulation, data processings, it may be assumed that data transmit-receive simulates source file and telemetry solution Code function source file;Variable part mainly includes the associated documents such as telemetering channel definition, parameter definition, radio frequency channel distribution definition, i.e., Telemetering channel defines header file, telemetry parameter macrodefinition header file, radio frequency channel distribution working condition parsing source file, radio frequency channel operating condition and sentences Disconnected source file and radio frequency channel operating condition decode source file.
It is explained below simply by two examples.
One, such as universal code file can be divided into negotiation registration, communication data transmitting-receiving simulation, reading and writing data by function division Pretreatment, file read-write and processing, five class file of mathematical function library.Five class file be respectively stored in Agent, Data, File, In five files of IO, Maths, fixed C/C++ source file and header file are saved as.By way of direct copying, it is added Into decoding program engineering.
Wherein, coding and decoding mathematical function library file saves the supported all volumes of decoding program as independent file The corresponding processing function of decoding process.The linear compression of the code encoding/decoding mode for including, telemetry value and binary system true form, binary system are mended Code, binary offset code, octal system true form, hexadecimal true form mutually turn, and binary system mutually turns with Temperature Quantity, binary system and telemetering are electric Pressure amount mutually turns, linear interpolation, look-up table.
Two, such as individualized code file by function division can be divided into data transmission definition, radio frequency channel parse two parts.
Parameter needed for program deployment process is defined using the mode of header file, this document uses the side of fixed form Formula is realized.When file is write, fixed header file and mode macrodefinition variable are write first.Then, for example, pass through char array Mode defines variable involved in data transmission.Array includes that content is write according to federal configuration-related data table content.Most Afterwards, telemetering transmission channel is defined by the way of macrodefinition.
Radio frequency channel parsing part is divided into 3 files, realizes solution data packet, solution radio frequency channel, solution operating condition function respectively.It is standardized in file Content is called in format write, header file, variable-definition and calling, function definition and statement.
A. format write specification: function enters a new line after defining brace.Variable declarations and concrete operations sentence sky a line. An empty lattice before and after operator.It is aligned with one-level code, it is not at the same level to be successively retracted.An empty lattice between two functions.
B. header file specification: the header file for including in file includes that system header file and user define two class of header file, Content is fixed, and is directly write by code snippet.
C. variable declarations and calling standardize: telemetering state amount title and type are according to the telemetering primary word in data table related Joint number according to and the comprehensive byte data title of telemetering and type determine, when name, types of variables mark is added as variable prefix. Telemetering state amount is defined as static variable.Telemetry channel combination is defined as char array, and array length is the number of channels occupied, than Group name in full is defined as " chr+ originates radio frequency channel number+termination radio frequency channel number ".
D. specification is called in function definition and statement: it is realized using independent function from main channel and is resolved to radio frequency channel anabolic process, Function input and output are fixed, and particular content is divided into the definition of telemetry channel combination array, the definition of transitory state amount, parsing radio frequency channel to wave Road combination stage calls next layer of analytical function, and wherein transitory state amount is defined as fixed code segment, remaining content is according to telemetering Main channel allocation table is write.
Operating condition analytical function is divided into two layers, and first layer is working condition judgement.For example function name is defined as " Parse+ radio frequency channel Combine title ", function inputs current received frame number and combines aray variable with telemetry channel;Define temporary variable UcConditonIndex is parsed according to working condition judging result to variable assignments according to variable assignments call by result quantity of state Function.The second layer is quantity of state analytical function, for example normalized function name is defined as " ParseChannel+ starting radio frequency channel number+end Only radio frequency channel number+case+ operating condition serial number ", function input frame number ucFrameIndex and combine aray variable with telemetry channel.Function will Quantity of state, into telemetering state quantitative change amount, and calls corresponding decoding function to be decoded from solution in operating condition array.For not using The quantity of state of coding, directly from copy corresponding length content in operating condition aray variable into corresponding states amount;For using coding Quantity of state, first from operating condition aray variable copy corresponding length content into temporary variable, recall decoding functions by two into The temporary variable shown of tabulating is decoded as physical quantity and is stored in corresponding state amount.
In one embodiment, ground telemetering decoding program source code generates the parsing for completing to pass content down to radio frequency channel, packet Include the decoding that telemetry is corresponded under condition resolution, radio frequency channel multiplexing judgement and multiplexed situation.Step S103, including universal code book It writes and is write with individualized code.
Referring to shown in Fig. 3, main flow includes the following:
S1031, fixed code file copy;
Fixed code copies respective file in final file as defined in specification.
S1032, channel define file writing;
File normalized written is defined according to channel, completes to write according to federal configuration-related data table.
S1033, radio frequency channel resolution file are write;It includes that header file is write, working condition distributes letter that radio frequency channel resolution file, which is write, Number statement is write, radio frequency channel analytical function is write.
S1034, operating condition resolution file are write;Operating condition resolution file, which is write, to be write comprising header file, quantity of state writing, decodes The writing of mode related definition, working condition analytical function, working condition partition function, quantity of state analytical function.
Wherein: referring to shown in Fig. 4, above-mentioned steps S1033 includes 4 small steps:
S401, document creation;File is created by file stream operation.
S402, header file are write;Header file reference includes system header file and the customized header file of user.Header file conduct Fixed code is written by file stream mode.
S403, the statement of working condition partition function are write;Telemetering main channel allocation table is traversed, each radio frequency channel combination establishes one A working condition partition function.According to function definition standard, the statement of working condition partition function is write.
S404, the statement of working condition partition function are write;Function uses fixed form, and function name, function input are fixation Code.Such as multiple operating conditions, function completes judgement using fixed if ... elseif structure.
For the operating condition 1 and 2 of data in aforementioned case such as table 4 and table 5, Rule of judgment is the parity of transmission times. The writing result of its Rule of judgment is
If (usSendIndex%2==0)
{ParseChannel1Case1();}
else
{ParseChannel1Case2();}
Telemetering main channel allocation table is traversed, radio frequency channel combination and corresponding radio frequency channel is determined, it is fixed to write telemetry channel union variable Adopted code.Temporary variable used in decoding process is then write in a manner of fixed code.Write working condition analytical function It calls.
Telemetering main channel allocation table is traversed, by main channel content assignment into corresponding radio frequency channel union variable array, and is write The calling of working condition partition function.
Referring to Figure 5, above-mentioned steps S1034 includes the following:
S501, document creation;File is created by file stream operation.
S502, header file are write;Header file reference includes system header file and user's header file;Header file is as fixed generation Code, is written by file stream mode.
S503, telemetering state amount are write;The definition of telemetering state amount is divided into the definition of single machine quantity of state and comprehensive byte data is fixed Justice.
The content-defined table of radio frequency channel is read in writing process first, obtains the basic byte of observing and controlling used in this telemetering process In data ID and the comprehensive byte data ID deposit list array of observing and controlling.According to definition supplement synthesis in position in the comprehensive byte data of observing and controlling The basic byte data ID of the observing and controlling that byte data is included.
List array is traversed, quantity of state title and type information in corresponding data table are extracted, according to quantity of state definition standard, The automatic writing that completion status amount defines.
For passing the quantity of state of mode down using source packet, serial ports packet correlated variables, including source packet buffer area, transmission packet are write Total length, address offset count.
S504, decoding process related definition are write;The quantity of state counted is traversed, for using linear interpolation decoding process Quantity of state, write linear interpolation table.
S505, working condition analytical function are write;Traversal working condition defines table, extracts all working conditions.Using solid Solid plate creates working condition analytical function, and quantity of state decoding process needed for the judgement of all working conditions is put into the function In.
S506, working condition partition function are write;Telemetering main channel allocation table is traversed, a work is established in each radio frequency channel combination Condition condition partition function.It writes first and the lower statement of operating condition function and the definition of work condition state temporary variable is combined to the radio frequency channel.With Assignment is carried out to work condition state according to working condition afterwards, which the kind operating condition for belonging to radio frequency channel combination under conditions present marked.Work Condition condition is inserted into the form of code snippet, and source file is stored in unique file folder, with operating condition name nominating.For example it uses Switch ... case ... sentence judges work condition state, according to assignment as a result, calling corresponding quantity of state analytical function.
S507, quantity of state analytical function are write;Traversal radio frequency channel distribution operating condition defines table, combines lower correspond to according to each radio frequency channel Operating condition number, determine function name.Write temporary variable involved in the forwarding of decoding process follow-up data, including forwarding character string Array, forwarding packet format (packet header, variable ID, types of variables).Traversing operating condition includes quantity of state, successively writes each quantity of state Decoding.Normalized written is detailed in the definition of decoding program source code specifications.Data forwarding code, including group packet are write to each variable Code and transmission data function call.
S508, source packet are unpacked and are write;It the case where being source packet for operating condition content, calls and unpacks function.
The function is fixed code segment, completes packet length under different frame and counts, and total greater than source packet in statistics total length When length, source packet content is parsed, resolving is similar to quantity of state analytical function.
The method that artificial intelligence provided by the invention writes satellite radio frequency channel telemetering decoding program, related execution step, Sequence is executed without stringent, is not limited this.
Based on the same inventive concept, the embodiment of the invention also provides artificial intelligence to write satellite radio frequency channel telemetering decoding program Device, by the solved problem of the device principle and aforementioned artificial intelligence write satellite radio frequency channel telemetering decoding program method It is similar, therefore the implementation of the device may refer to the implementation of preceding method, overlaps will not be repeated.
Second aspect, the embodiment of the present invention provide the device that artificial intelligence writes satellite radio frequency channel telemetering decoding program, reference Shown in Fig. 6, comprising:
Formatting module 61 is used for Green Formula radio frequency channel telemetry intelligence (TELINT);
Module 62 is established, writes decision tree for establishing ground decoding program source code;
Module 63 is write, for writing satellite radio frequency channel telemetering decoding according to the radio frequency channel telemetry intelligence (TELINT) and the decision tree Program.
In one embodiment, the formatting module 61 is specifically used for carrying out radio frequency channel telemetry intelligence (TELINT) using database Green Formula.
In one embodiment, the database includes that radio frequency channel telemetry intelligence (TELINT) defines tables of data;
The formatting module 61 defines tables of data specifically for the radio frequency channel telemetry intelligence (TELINT) and completes the definition of telemetering state amount With radio frequency channel distribution information definition;The definition of data table related completion status amount star internal transmission information that the telemetering state amount defines and The definition of telemetry code decoding process;The data table related that radio frequency channel distribution information defines complete telemetering main channel distribution definition, Radio frequency channel is content-defined, telemetering working condition and quantity of state definition.
In one embodiment, described to establish module, it is specifically used for carrying out satellite telemetry radio frequency channel decoding program source code It is multi-level to decompose;It establishes satellite telemetry radio frequency channel decoding program source code and writes decision tree;It is held according to the foundation of decision tree branches situation The artificial intelligence program person of row specification writing operation.
In one embodiment, the ground decoding program source code, comprising: whether may be used according to the content of the source code Become, the source code is divided into universal code and individualized code;The universal code, including data transmit-receive simulation source file and Telemetry decoding functions source file;The individualized code, including telemetering channel define header file, telemetry parameter macrodefinition head File, radio frequency channel distribution working condition parsing source file, radio frequency channel operating condition judge source file and radio frequency channel operating condition decoding source file.
In one embodiment, the writing module 63, comprising: universal code writes module 631, for using fixed generation Code insertion is completed universal code and is write;
Individualized code writes module 632, for being defined according to satellite telemetry subsystem definition and telemetering state amount, completes Telemetering channel defines header file, telemetry parameter macrodefinition header file is write;For distributing information definition and telemetering work according to radio frequency channel Condition conditional definition completes radio frequency channel distribution working condition parsing source file, radio frequency channel operating condition judges that source file is write;For according to radio frequency channel Information definition and quantity of state definition are distributed, radio frequency channel operating condition decoding source file is completed and writes.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. the method for artificial intelligence writing satellite radio frequency channel telemetering decoding program characterized by comprising
Green Formula radio frequency channel telemetry intelligence (TELINT);
It establishes ground decoding program source code and writes decision tree;
According to the radio frequency channel telemetry intelligence (TELINT) and the decision tree, satellite radio frequency channel telemetering decoding program is write.
2. the method as described in claim 1, which is characterized in that the Green Formula radio frequency channel telemetry intelligence (TELINT) includes:
Description is formatted to radio frequency channel telemetry intelligence (TELINT) using database.
3. method according to claim 2, which is characterized in that the database includes that radio frequency channel telemetry intelligence (TELINT) defines tables of data;
It is described that description is formatted to radio frequency channel telemetry intelligence (TELINT) using database, comprising:
The radio frequency channel telemetry intelligence (TELINT) defines tables of data and completes the definition of telemetering state amount and radio frequency channel distribution information definition;
The definition of data table related completion status amount star internal transmission information and telemetry code decoding side that the telemetering state amount defines Formula definition;
The data table related completion telemetering main channel distribution that the radio frequency channel distribution information defines defines, radio frequency channel is content-defined, telemetering Working condition and quantity of state definition.
4. the method as described in claim 1, which is characterized in that the ground decoding program source code of establishing writes decision tree, Include:
Satellite telemetry radio frequency channel decoding program source code is decomposed at many levels;Establish satellite telemetry radio frequency channel decoding program source code Write decision tree;The artificial intelligence program person for executing specification writing operation is established according to decision tree branches situation.
5. the method as described in claim 1, which is characterized in that the ground decoding program source code, comprising:
Whether can be changed according to the content of the source code, the source code is divided into universal code and individualized code;It is described logical With code, including data transmit-receive simulation source file and telemetry decoding functions source file;The individualized code, including telemetering Channel defines header file, telemetry parameter macrodefinition header file, radio frequency channel distribution working condition parsing source file, radio frequency channel operating condition and judges source File and radio frequency channel operating condition decode source file.
6. method as claimed in claim 5, which is characterized in that according to the radio frequency channel telemetry intelligence (TELINT) and the decision tree, write Satellite radio frequency channel telemetering decoding program, comprising:
It is inserted into using fixed code and completes universal code writing;
Individualized code includes:
It is defined according to satellite telemetry subsystem definition and telemetering state amount, it is macro that completion telemetering channel defines header file, telemetry parameter Header file is defined to write;
Information definition and the definition of telemetering working condition are distributed according to radio frequency channel, radio frequency channel distribution working condition is completed and parses source file, wave Road operating condition judges that source file is write;
Information definition and quantity of state definition are distributed according to radio frequency channel, radio frequency channel operating condition decoding source file is completed and writes.
7. the device of artificial intelligence writing satellite radio frequency channel telemetering decoding program characterized by comprising
Formatting module is used for Green Formula radio frequency channel telemetry intelligence (TELINT);
Module is established, writes decision tree for establishing ground decoding program source code;
Module is write, for writing satellite radio frequency channel telemetering decoding program according to the radio frequency channel telemetry intelligence (TELINT) and the decision tree.
8. device as claimed in claim 7, which is characterized in that the formatting module is specifically used for using database to wave Road telemetry intelligence (TELINT) is formatted description.
9. device as claimed in claim 8, which is characterized in that the database includes that radio frequency channel telemetry intelligence (TELINT) defines tables of data;
The formatting module defines tables of data specifically for the radio frequency channel telemetry intelligence (TELINT) and completes the definition of telemetering state amount and radio frequency channel Distribute information definition;The definition of data table related completion status amount star internal transmission information and telemetering that the telemetering state amount defines are compiled Code decoding process definition;The data table related that the radio frequency channel distribution information defines is completed the distribution of telemetering main channel and is defined, in radio frequency channel Hold definition, telemetering working condition and quantity of state definition.
10. device as claimed in claim 7, which is characterized in that it is described to establish module, it is specifically used for satellite telemetry radio frequency channel solution Coded program source code is decomposed at many levels;It establishes satellite telemetry radio frequency channel decoding program source code and writes decision tree;According to decision It sets branch's situation and establishes the artificial intelligence program person for executing specification writing operation.
CN201810806221.6A 2018-07-20 2018-07-20 Method and device for writing satellite channel telemetering decoding program by artificial intelligence Active CN109062549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810806221.6A CN109062549B (en) 2018-07-20 2018-07-20 Method and device for writing satellite channel telemetering decoding program by artificial intelligence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810806221.6A CN109062549B (en) 2018-07-20 2018-07-20 Method and device for writing satellite channel telemetering decoding program by artificial intelligence

Publications (2)

Publication Number Publication Date
CN109062549A true CN109062549A (en) 2018-12-21
CN109062549B CN109062549B (en) 2022-07-01

Family

ID=64834999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810806221.6A Active CN109062549B (en) 2018-07-20 2018-07-20 Method and device for writing satellite channel telemetering decoding program by artificial intelligence

Country Status (1)

Country Link
CN (1) CN109062549B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050251298A1 (en) * 2004-04-27 2005-11-10 The Boeing Company Automatic generation of telemetry flight software, accompanying specifications, and decode files
CN102542002A (en) * 2011-12-08 2012-07-04 北京空间飞行器总体设计部 Satellite telemetry data treatment system and realization method thereof
CN106094587A (en) * 2016-06-23 2016-11-09 中国空间技术研究院 A kind of satellite frame telemetry channel determines system and method
CN106407531A (en) * 2016-09-05 2017-02-15 北京空间飞行器总体设计部 Incremental model-based spacecraft telemetering method
CN108287958A (en) * 2018-01-15 2018-07-17 北京航空航天大学 Artificial intelligence program person writes the limited decision Method of digital aircraft source code
CN108287959A (en) * 2018-01-15 2018-07-17 北京航空航天大学 Artificial intelligence program person writes digital aircraft source code specifications decision and executes method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050251298A1 (en) * 2004-04-27 2005-11-10 The Boeing Company Automatic generation of telemetry flight software, accompanying specifications, and decode files
CN102542002A (en) * 2011-12-08 2012-07-04 北京空间飞行器总体设计部 Satellite telemetry data treatment system and realization method thereof
CN106094587A (en) * 2016-06-23 2016-11-09 中国空间技术研究院 A kind of satellite frame telemetry channel determines system and method
CN106407531A (en) * 2016-09-05 2017-02-15 北京空间飞行器总体设计部 Incremental model-based spacecraft telemetering method
CN108287958A (en) * 2018-01-15 2018-07-17 北京航空航天大学 Artificial intelligence program person writes the limited decision Method of digital aircraft source code
CN108287959A (en) * 2018-01-15 2018-07-17 北京航空航天大学 Artificial intelligence program person writes digital aircraft source code specifications decision and executes method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HSIAO-HWA CHEN 等: "On Next Generation CDMA Technologies: The REAL Approach for Perfect Orthogonal Code Generation", 《IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY》, 16 September 2008 (2008-09-16) *
董云峰等: "数字卫星源代码生成技术", 《2015年小卫星技术交流会论文集》 *
董云峰等: "数字卫星源代码生成技术", 《2015年小卫星技术交流会论文集》, 21 June 2016 (2016-06-21), pages 50 - 53 *

Also Published As

Publication number Publication date
CN109062549B (en) 2022-07-01

Similar Documents

Publication Publication Date Title
CN106569801B (en) Configuration display and control system based on complex parameters
US10102039B2 (en) Converting a hybrid flow
CN101841515B (en) Target variable protocol data unit codec code automatic generation implementation method
CN107273117A (en) A kind of quick Code automatic build system for programming friendly
CN106293664A (en) Code generating method and device
CN103246733A (en) Dynamic form system based on metadata and generation method thereof
CN103838672A (en) Automated testing method and device for all-purpose financial statements
CN107291450A (en) A kind of quick code automatic generation method for programming friendly
CN108694214A (en) Generation method, generating means, readable medium and the electronic equipment of data sheet
CN106951305B (en) Method for generating midCore script from QVT-R language based on model conversion
CN109614446A (en) Method of data synchronization, device, electronic equipment and storage medium
CN110147361A (en) The system and method for master data coding rule maintenance function are realized under big data environment
CN109062565B (en) Artificial intelligence writing method for telemetry source code of digital satellite AOS protocol
CN109446221A (en) A kind of interactive data method for surveying based on semantic analysis
CN107148615A (en) Computer executable model reverse engineering approach and device
CN104503767A (en) System and method for automatically generating codes based on LIN protocol
Qian et al. Use of the ADAMO data management system within ALEPH
CN113254026A (en) Low code development method and device
CN103699746B (en) CADDS5 piping three-dimensional design method based on data base and system
CN109086035B (en) Artificial intelligent writing method for satellite AOS protocol remote control source program
CN109062549A (en) The method and device of artificial intelligence writing satellite radio frequency channel telemetering decoding program
CN202143092U (en) Message processing system
CN106844855A (en) A kind of conventional data interaction models build, based on the model based coding and coding/decoding method
CN114036769B (en) Avionics system physical architecture-oriented function deployment scheme generation method and device
CN109062566B (en) Artificial intelligent writing method for telemetry source code of digital spacecraft channel

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