CN103473056B - A kind of remote measurement configuration file automatic generation method - Google Patents

A kind of remote measurement configuration file automatic generation method Download PDF

Info

Publication number
CN103473056B
CN103473056B CN201310403895.9A CN201310403895A CN103473056B CN 103473056 B CN103473056 B CN 103473056B CN 201310403895 A CN201310403895 A CN 201310403895A CN 103473056 B CN103473056 B CN 103473056B
Authority
CN
China
Prior art keywords
configuration item
data
remote measurement
configuration file
measurement configuration
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.)
Active
Application number
CN201310403895.9A
Other languages
Chinese (zh)
Other versions
CN103473056A (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.)
Beijing Institute of Control Engineering
Original Assignee
Beijing Institute of Control Engineering
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 Beijing Institute of Control Engineering filed Critical Beijing Institute of Control Engineering
Priority to CN201310403895.9A priority Critical patent/CN103473056B/en
Publication of CN103473056A publication Critical patent/CN103473056A/en
Application granted granted Critical
Publication of CN103473056B publication Critical patent/CN103473056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The present invention relates to a kind of remote measurement configuration file automatic generation method, the configuration item provided in the analysis mode of the configuration item selected according to user and input data describes, and automatically generates the remote measurement configuration file meeting call format;The method comprises physical layer by employing, the remote measurement configuration file automatic creation system of data Layer and analytic sheaf realizes, wherein physical layer identification data form, data form is unified by data Layer, analytic sheaf determines parsing order and completes Data Analysis generation remote measurement configuration file, whole process is automatically performed, write compared with remote measurement configuration file with Traditional Man, it is fast that remote measurement configuration file automatically generates speed, remote measurement configuration file formation efficiency can be greatly enhanced, avoid Traditional Man to write the defect easily made mistakes simultaneously, substantially increase the degree of accuracy of remote measurement configuration file, and the method uses layer architecture and analysis mode step by step, can adapt to input file, the change of output format, there is stronger maintainability, extensibility and scalability.

Description

A kind of remote measurement configuration file automatic generation method
Technical field
The invention belongs to data processing field, relate to a kind of remote measurement configuration file automatic generation method.
Background technology
In aerospace systems, remote measurement is the main means that ground obtains spacecraft real time status information, is Part indispensable in all spacecrafts.Telemetry system is mainly by spaceborne data sending terminal Constitute with ground telemetering data receiver and processing system.The major function of the latter is that reception spacecraft is descending Telemetry frame, and according to the value of telemetry frame format analysis wherein telemetry parameter.Owing to spacecraft kind is numerous Many, Various Functions, telemetry frame form is the most all not quite similar, in order to the spacecraft of reply difference flexibly Remote measurement task, surface telemetry system the most all uses configurable parsing module, relies on remote measurement configuration file Define concrete telemetry frame form.
The remote measurement resolution system that Beijing Control Engineering Inst. is currently used, is joined by the remote measurement of specific format Put document definition each telemetry parameter analysis mode in telemetry frame, often going of remote measurement configuration file A corresponding telemetry parameter.Although the introducing of remote measurement configuration file greatly reduces remote measurement and resolves the dimension of software Protect cost, but writing of remote measurement configuration file need nonetheless remain for being accomplished manually.Along with spacecraft function is the most multiple Miscellaneous, remote measurement configuration file volume is the hugest, and model task increases in addition, and the spacecraft lead time shortens, Factors above cause present in manual compiling remote measurement configuration file time-consuming for a long time, efficiency is low, error-prone etc. asks Topic more comes out, and in the urgent need to one remote measurement configuration file generation method fast and effectively, minimizing is ground Send out, tester generates and the time of waste in maintenance at remote measurement configuration file.
In spacecraft development process, the form definition of telemetry frame is typically to give with document form Going out, owing to tableau format there may be difference, the describing mode of configuration item is also not quite similar, and therefore designs The difficult point of remote measurement configuration file automatic generation method is: the frame format definition document of pervasive different structure, While the multiple describing mode of configuration item is carried out Intelligent Recognition, extracting, it is ensured that generate the accurate of result Reliably.
Summary of the invention
It is an object of the invention to overcome the above-mentioned deficiency of prior art, it is provided that a kind of remote measurement configuration file is certainly Dynamic generation method, overcome manual compiling remote measurement configuration file time-consumingly for a long time, the problem such as efficiency is low, error-prone, The method can realize automatically generating of remote measurement configuration file, substantially increases remote measurement configuration file and generates effect Rate and the degree of accuracy, and be easily maintained, conveniently extend, there is stronger practicality.
The above-mentioned purpose of the present invention is mainly achieved by following technical solution:
A kind of remote measurement configuration file automatic generation method, real by remote measurement configuration file automatic creation system Existing, described remote measurement configuration file automatic creation system includes physical layer, data Layer and analytic sheaf, specifically walks Rapid as follows:
(1) data of external description telemetry frame form are input to physical layer, carry out data type identification, And from data Layer, select the data processing module corresponding with described data type, afterwards that external description is distant Survey the described data processing module that the data of frame format are input in data Layer;
(2) data processing module in data Layer receives the data of described description telemetry frame form, extracts number Effective information according to is also submitted to analytic sheaf with prescribed form and is processed, and described effective information is every in data The description information that each configuration item of individual telemetry parameter is corresponding;
(3) effective information during analytic sheaf receives the data of data Layer output, analytic sheaf is according to user simultaneously In the effective information of input, the analysis mode of each configuration item, obtains configuration item dependence, and according to joining Put a dependence and determine the parsing order of configuration item;
(4) analytic sheaf according to the parsing of described configuration item order to the effective letter in the described data received Breath carries out dissection process, obtains dissection process result;
(5) described dissection process result is carried out by analytic sheaf according to remote measurement configuration file format set in advance Formatting processes, and by the data genaration remote measurement configuration file after formatting process;
(6) remote measurement configuration file is supplied to ground telemetering resolution system, it is achieved to the solution of telemetry on star Analysis processes.
In above-mentioned remote measurement configuration file automatic generation method, in step (2), data processing module extracts Effective information in data to submit to, with prescribed form, the concrete grammar that analytic sheaf processes as follows:
Step one: data processing module analysis receives the message structure of data;
Step 2: data processing module extracts in described data each distant according to the message structure receiving data Surveying the description information that each configuration item of parameter is corresponding, described configuration item is the attribute of telemetry parameter form;
Step 3: the description information of each configuration item described is connect by data processing module by unified data Mouth submits to analytic sheaf.
In above-mentioned remote measurement configuration file automatic generation method, in step (3), analytic sheaf is according to configuration item Dependence determines that the concrete grammar of the parsing order of configuration item is as follows:
Described configuration item dependence is expressed as an acyclic digraph, and the summit of figure represents configuration item, from To the directed edge of vertex v, (u, parsing v) representing the configuration item that summit u represents need to rely on top to summit u The analysis result of the configuration item that some v represents, dependence graph is described by adjacency list data structure;
Configuration item dependence graph is carried out depth-first traversal, represents respectively with white, grey, black Summit is not accessed, is accessed in current search, terminates to access three kinds of states, and records each The sequencing accessed is terminated on summit;All of summit is initialized as white, and ergodic process finds that certain is white Behind look summit, it is set to grey, and node adjacency table described in recursive traversal the most successively In each summit, if period finds certain grey summit, be then judged as in configuration item dependence graph There is loop, there is endless loop in the dependence that i.e. configuration item resolves, and terminates resolving and leads to user Report an error by mistake;After all summits in adjacency list all travel through and terminate, described summit is set to black, and will All summits all travel through the end access time as described summit in the moment of end;Close when configuration item relies on It is after the depth-first traversal of figure terminates, terminates the access time by early to late order opposite vertexes by each summit It is ranked up, is i.e. met the configuration item parsing order of dependence.
In above-mentioned remote measurement configuration file automatic generation method, in step (4) analytic sheaf according to described in join Put the method that the parsing order of item carries out dissection process to the effective information in the data received, including solely Stand and resolve and combine parsing two ways, wherein the configuration item being independent of other configuration item analysis result is entered Row independent parsing, combines parsing to the configuration item relying on other configuration item analysis results.
In above-mentioned remote measurement configuration file automatic generation method, in step (4), analytic sheaf obtains at parsing After reason result, dissection process result is carried out marginal testing, to by the dissection process of marginal testing Result carries out the formatting in step (5) and processes.
In above-mentioned remote measurement configuration file automatic generation method, utilize redundancy that dissection process result is entered Row marginal testing, by not recorded in report to be checked by the configuration item checked, marks described configuration item Dissection process result for state need to be verified, for avoiding configuration item analysis result uncertainty to spread, pass through The search of configuration item dependence once relied on other configuration items that described configuration item carries out resolving, and was labeled as needing Verification state, and by described operation note to report to be checked;Tied by the configuration item dissection process checked Fruit is labeled as effective status, and the dissection process result after mark is referred to as effective result.
The advantage of the present invention a kind of remote measurement configuration file automatic generation method is:
(1) the remote measurement configuration file that the present invention comprises physical layer, data Layer and analytic sheaf by employing is automatic Generation system realizes automatically generating of remote measurement configuration file, wherein physical layer identification data form, data Layer Being unified by data form, analytic sheaf determines parsing order and completes Data Analysis generation remote measurement configuration literary composition Part, whole process is automatically performed, and writes compared with remote measurement configuration file with Traditional Man, remote measurement configuration file Automatic generation method speed is fast, it is not necessary to user too much participates in, and can be greatly enhanced remote measurement configuration file raw Become efficiency, avoid Traditional Man to write the defect easily made mistakes simultaneously, substantially increase remote measurement configuration file The degree of accuracy;
(2) remote measurement configuration file automatic creation system of the present invention has stronger ease for maintenance, extensibility With scalability: input data separated with analytic method by three-tier architecture, built remote measurement is made to join Put file automatic creation system when in the face of input data form change, only need to change or add corresponding number According to processing module, and without parsing module is made any adjustments;Will by the definition of remote measurement configuration file format Analytic method separates with output file form, make system when changing in the face of remote measurement configuration file format, only Need to revise the definition of remote measurement configuration file format or Formatting Output module, and resolve mould without amendment Block;
(3) remote measurement configuration file automatic generation method of the present invention has good robustness, accuracy and can By property: by setting up report mechanism to be checked and marginal testing link, ensureing analytical algorithm robustness Meanwhile, analysis result is effectively ensured accurately and reliably;
(4) remote measurement configuration file automatic generation method of the present invention has the highest remote measurement configuration file generation effect Rate and the degree of accuracy, realize the dissection process of telemetry on star for ground telemetering resolution system, permissible It is greatly improved the allocative efficiency of ground telemetering resolution system and resolves accuracy, having provided for star ground communication Effect ensures;
(5) the present invention is directed to the definition document various structures of telemetry frame format, configuration item describing mode Equal difficult point, proposes a kind of remote measurement configuration file automatic generation method being easily maintained, conveniently extending, There is stronger practicality.
Accompanying drawing explanation
Fig. 1 is remote measurement configuration file automatic creation system structural representation of the present invention;
Fig. 2 is the data flow figure of physical layer and data Layer in the present invention.
Fig. 3 is the data flow figure of analytic sheaf in the present invention.
Fig. 4 is that in the present invention, channel number extracts finite state machine transformational relation figure.
Detailed description of the invention
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings:
Remote measurement configuration file automatic generation method of the present invention is real by remote measurement configuration file automatic creation system Existing, it is illustrated in figure 1 remote measurement configuration file automatic creation system structural representation of the present invention, as seen from the figure Remote measurement configuration file automatic creation system includes physical layer, data Layer and analytic sheaf.
It is illustrated in figure 2 the data flow figure of physical layer and data Layer in the present invention, as seen from the figure, first The data of external description telemetry frame form are input to physical layer, carry out data type identification, and from data The data processing module corresponding with this data type is selected, afterwards by external description telemetry frame form in Ceng This data processing module that data are input in data Layer.Data processing module uses unified data-interface Definition, provides unified data-interface for analytic sheaf.
Described in the present embodiment, the data of telemetry frame form are given with Word form document form, Mei Gepei Put item to describe with row.The Word form of input is probably irregular form, and the line number of the most each row is not Equal, its form is as shown in the table:
In data Layer, the input file type supported for each system sets up corresponding file process mould Block, analyzes the structure of information in input file, and submits to analytic sheaf process, specifically side with prescribed form Method is:
Step one: by the message structure of document processing module analysis input Word form document;
Step 2: each according to the input Word form document message structure each telemetry parameter of extraction is joined Put the description information that item (attribute of telemetry parameter form in Frame) is corresponding.The genus of telemetry parameter form Property include Chinese variable name, English variable name, channel number, bit number, coded format, equivalent, unit, Syllable sequence.
Step 3: the description information of each configuration item described is connect by data processing module by unified data Mouth submits to analytic sheaf.
Concrete processing procedure in above-mentioned steps one, two is as follows:
(1) method GetInformation () in the ole object provided by Word, obtains form Maximum number of lines and columns, set up integer two-dimension array (line number concordance list) with this parameter, by Word Cursor is positioned at the first row first row of input file form, initializes line number concordance list reading pointer and points to The first row first row of line number concordance list, will be read by ole object method GetInformation () The line number of current cell be assigned to the array element of pointer indication;
(2) method MoveRight () provided by ole object, makes cursor move right a list Unit's lattice (if moving to the end of a line, move cursor and point to next line first row the most next time), OK Number concordance list reading pointer moves right an element position (if pointer moves to the end of a line the most simultaneously Tail, moves pointer the most next time and points to first element of next line), in line number concordance list pointer indication position Put the line number recording current cell, and judge whether current cursor is positioned at the last of input file form Last row of a line, if so, go to step (3), otherwise, repeat step (2);
(3) the Chinese variable name that reading user specifies describes the row number at place, scans the most successively The all elements of same column number in line number concordance list, is saved in an one-dimension array (parameter by its element value Jump list) in (wherein, the element that numerical value is identical only preserves one), then each in parameter jump list Individual element is corresponding to a remote measurement parameter in input file form.
Analyzing input file message structure, after setting up line number concordance list and parameter jump list, n-th is distant Certain configuration item surveying parameter describes location and the extracting method of information, following steps realize:
(1) empty the storage queue being currently configured item in data-interface structure, read in parameter jump list Value row of nth elementsn, value row of (n+1)th elementn+1, read the configuration item of user setup The row m being described in input file form;
(2) method GoTo () provided by ole object and MoveRight (), navigated to cursor The row of input file formnRow m arranges, Initialize index variable k=rown, line number concordance list is read Fetching pin points to the row of line number concordance listnRow m arranges;
(3) judge that whether line number concordance list row k m column element value is less than rown+1, if so, lead to Method GetText () that crossing ole object provides obtains the character string of cursor place cell, is inserted into number According to interface structure is currently configured the storage queue end of item, the method provided by ole object Cursor is moved down a cell by MoveDown (), makes k=k+1, repeats step (3);If it is not, turn step Suddenly (4);
(4) the whole description information extractions being currently configured item of telemetry parameter terminate, and prepare location and carry Take next configuration item to describe.
It is illustrated in figure 3 the data flow figure of analytic sheaf in the present invention, as seen from the figure, adopts inside analytic sheaf With analysis mode step by step, including pretreatment stage (calculating parsing order) and resolution phase, resolution phase Including independent parsing, combine parsing, marginal testing and Formatting Output, with PRELIMINARY RESULTS, middle junction Really, effective intermediate object program, remote measurement configuration file are as four products processing level, thus reduce understanding The degree of coupling of analysis layer total algorithm, improves the maintainability of system.
The pretreatment stage of analytic sheaf, first receives the effective information in the data of data Layer output, simultaneously In effective information according to user's input, the analysis mode of each configuration item, obtains configuration item dependence, And the parsing order of configuration item is determined according to configuration item dependence.
Configuration item dependence describes the dependence between all configuration items of telemetry parameter when resolving, Dependence is different according to the difference of the configuration item analysis mode of user setup, such as, if channel number Analysis mode is " being derived by bit number ", then channel number depends on bit number.In the present embodiment, configuration item depends on Bad relational representation is that an acyclic digraph (if there is loop, then resolves required dependence eternal Cannot be met, cause parsing cannot be carried out), the summit of figure represents configuration item, from summit u to top (u, v) represents the directed edge of some v, and the parsing of the configuration item that summit u represents need to rely on vertex v and represents The analysis result of configuration item, dependence graph is described by adjacency list data structure;Adjacency list is one to be Row and the set of each configuration item chained list one to one composition, store the configuration item that chained list is corresponding in chained list Other configuration items relied on.
It is the ordered arrangement of all configuration items that configuration item resolves sequence list, wherein comes configuration item above Resolve without relying on the analysis result coming configuration item below.Configuration item resolves the foundation of sequence list to be passed through Digraph depth-first traversal algorithm realizes, and implementation step is as follows:
Step (one), use one-dimension array record each configuration item ergodic state (with white, grey, Black represents that summit is not accessed, is accessed in current search, terminates to access respectively), initially The ergodic state changing all configuration items is white, and the end using one-dimension array to record each configuration item accesses Time, the end access time initializing all configuration items is 0, initialization time stamp t=0;
Step (two), one configuration item not yet extracted of extraction, if the ergodic state of its correspondence is white, Then with this configuration item for parameter call depth-first traversal process;If the ergodic state of its correspondence be grey or Black, then repeat step (two);If all configuration items all extracted, then go to step (three);
Step (three), by configuration item end access time ascending order to configuration item sort, then arrange Configuration items list after sequence is configuration item and resolves sequence list.
Depth-first traversal process in step (two) is as follows:
(1) ergodic state putting incoming configuration item is grey, timestamp t=t+1;
(2) each configuration item in the chained list that in traversal adjacency list, incoming configuration item is corresponding, if its Ergodic state is white, then with this configuration item for parameter call depth-first traversal process;If it travels through shape State is grey, then there is loop in report digraph, and ends with system performs;If its ergodic state is black, Do not process;If all configuration items in chained list have all traveled through, then go to step (3);
(3) ergodic state putting incoming configuration item is black, timestamp t=t+1;
(4) the end access time recording incoming configuration item is t.
The resolution phase of analytic sheaf, according to the parsing of configuration item order to receiving in data-interface data Effective information carries out dissection process, obtains dissection process result.Wherein, to being independent of other configuration item solutions The configuration item of analysis result carries out independent parsing, joins the configuration item relying on other configuration item analysis results Close and resolve.Independent parsing all passes through to call the particular solution analysis method realized into different configuration items with combining to resolve Realizing, the incoming parameter of independent parsing is that corresponding configuration item describes, and combines the incoming parameter of parsing except institute Outside needing configuration item to describe, also include the analysis result of relied on configuration item.
Analytic method by text copy, replace, mate, the basic operation such as mapping processes configuration item and describes, Being analyzed content of text and export live part with specified format, analytic method is joined with user setup Put an analysis mode one_to_one corresponding.Below as a example by channel number independent parsing, describe configuration item in detail and resolve Process.
Channel number is by initiateing channel number, initial channel number suffix, last channel number, last channel suffix Four part compositions, such as " 1_A_2_A ".Channel number independent parsing is realized by finite state machine, limited State machine arranges four states altogether: extracts initial channel number, extract initial channel number suffix, extraction end Channel number, extraction last channel suffix, be illustrated in figure 4 channel number in the present invention and extract finite state Machine transformational relation figure, channel number independent parsing step is as follows:
(1), initial configuration item describe character string read index i=0, initialize current state be " extraction Initial channel number ", initialize initial channel number character string, initial suffix character string, last channel word Symbol string, end suffix character string, first, second separator character string are empty;
(2), extract i-th character, i=i+1, if the character numeral of extraction, insert initial channel number word Symbol string end, repeats step (2);If alphabetical, insert initial suffix character string end, go to step (3); If other characters, insert the first separator character string end, go to step (4);If end of string, Then go to step (9);
(3), extract i-th character, i=i+1, if the character letter or number of extraction, insert initial tail Sew character string end, repeat step (3);If other characters, insert the first separator character string end, Go to step (4);If end of string, then go to step (9);
(4), extract i-th character, i=i+1, if the character of extraction is nonnumeric or alphabetical, insert first point Every symbol character string end, repeat step (4);If other characters, insert sign character string end, last channel, Go to step (5);If end of string, then recording channel form illegally arrives report to be checked, goes to step (9);
(5), extract i-th character, i=i+1, if the character numeral of extraction, insert last channel word Symbol string end, repeats step (5);If alphabetical, insert suffix character string end, end, go to step (6); If other characters, insert the second separator character string end, go to step (7);If end of string, turn Step (9);
(6), extract i-th character, i=i+1, if the character letter or number of extraction, insert end tail Sew character string end, repeat step (6);If other characters, insert the second separator character string end, Go to step (7);If end of string, go to step (9);
(7), extract i-th character, i=i+1, if the character of extraction is nonnumeric or alphabetical, insert second point Every symbol character string end, repeat step (7);If other characters, go to step (8);If end of string, Then recording channel form illegally arrives report to be checked, goes to step (9);
(8), to compare first, second separator character string the most identical, if identical, empties last channel number Character string and end suffix character string, insert sign character string end, last channel by current character, and mark is not It is separated symbol again to check, goes to step (5);If differing, record is current is that multistage channel number situation is to treating Look into report, go to step (9);
(9) if initial channel number character string is empty, then output " #### ", and record is worked as in report to be checked Prepass number extracts abnormal;Otherwise, with " _ " press initial channel number, initial suffix, last channel number, end The non-null character string output that is linked in sequence of tail suffix.
After analytic sheaf obtains analysis result, utilize redundancy that dissection process result is carried out reliability inspection Looking into, marginal testing is the process utilizing redundancy to check the correctness of analysis result.Redundancy Information refers in addition to the configuration item analysis result relied on when configuration item resolves, exists with the value of configuration item Other configuration item analysis results of numerical relation or logical relation.Content bag involved by marginal testing Include:
(1) bit number should be 8 times of the comprised total number of channels of channel number;
(2) if equivalent non-1, then unit should have dimension;
(3) if coded format is floating-point or integer, then bit number should be 32;
(4) if unit dimensionless, then coded format should be true form or complement code;
(5) if unit dimensionless, then equivalent should be integer number.
According to foregoing, bit number, channel number, equivalent, unit, coded format can be carried out reliably Property check.Before inspection, all configuration items are initialized as effective status.When carrying out marginal testing, First according to configuration item dependence graph, it is judged that the configuration item analysis result related in the above-mentioned scope of examination is The no resolving that take part in configuration item to be checked, if having neither part nor lot in, then continues judge above-mentioned numerical relation or patrol Whether the relation of collecting meets, if being unsatisfactory for, then is labeled as verifying state by configuration item to be checked, inspection is tied Fruit recorded in report to be checked.
In order to avoid configuration item analysis result uncertainty spreads, when certain configuration item is marked as verifying shape During state, once relied on its other configuration items carrying out resolving by configuration item dependence graph search, and marked It is designated as verifying state, simultaneously by this operation note to report to be checked.
Dissection process result is formatted by analytic sheaf according to remote measurement configuration file format set in advance Process, be wherein labeled as verifying state configuration item analysis result be previously inserted into " ####_ " character string, Quickly to position when user verifies, finally output remote measurement configuration file and the report file to be checked of correspondence.
Report to be checked is to record existing in resolution phase or there may be wrong resolving Daily record document, report content is grouped according to configuration item, and every record is provided which the accurate position of relevant configuration item Put and problem describes.Situations below can be recorded in report to be checked:
(1) configuration item describes disappearance, is derived by other configuration items or uses default value to export;
(2) the configuration item descriptor format in data-interface structure is illegal, causes configuration item to resolve unsuccessfully;
(3) the configuration item descriptor format in data-interface structure and desired format have certain difference, cause Configuration item analysis result may be inaccurate;
(4), when certain configuration item being combined parsing, the analysis result of its configuration item relied on may Inaccurate or do not pass through marginal testing;
(5) analysis result of certain configuration item does not passes through marginal testing;
(6) when formatting, the analysis result of configuration item is empty.
The remote measurement configuration file obtained finally is supplied to ground telemetering resolution system, and ground telemetering resolves system Unite and obtain the required telemetry frame format processed according to remote measurement configuration file, thus according to telemetry frame Form realizes the dissection process of telemetry on star.
The above, the detailed description of the invention that only present invention is optimal, but protection scope of the present invention is not Being confined to this, any those familiar with the art, can in the technical scope that the invention discloses The change readily occurred in or replacement, all should contain within protection scope of the present invention.
The content not being described in detail in description of the invention belongs to the known skill of professional and technical personnel in the field Art.

Claims (5)

1. a remote measurement configuration file automatic generation method, it is characterised in that: by remote measurement configuration file Automatic creation system realize, described remote measurement configuration file automatic creation system include physical layer, data Layer and Analytic sheaf, specifically comprises the following steps that
Step (1), the data of external description telemetry frame form are input to physical layer, carry out data type Identify, and from data Layer, select the data processing module corresponding with described data type, afterwards by outside The described data processing module that the data of telemetry frame form are input in data Layer is described;
Data processing module in step (2), data Layer receives the data of described description telemetry frame form, Extracting the effective information in data and submit to analytic sheaf process with prescribed form, described effective information is number The description information that according to, each configuration item of each telemetry parameter is corresponding;
Step (3), analytic sheaf receive the effective information in the data of data Layer output, analytic sheaf root simultaneously According to the analysis mode of each configuration item in the effective information of user's input, obtain configuration item dependence, and The parsing order of configuration item is determined according to configuration item dependence;
Step (4), analytic sheaf according to the parsing of described configuration item order in the described data received Effective information carries out dissection process, obtains dissection process result;
Described dissection process is tied by step (5), analytic sheaf according to remote measurement configuration file format set in advance Fruit formats process, and by the data genaration remote measurement configuration file after formatting process;
Step (6), remote measurement configuration file are supplied to ground telemetering resolution system, it is achieved to remote measurement number on star According to dissection process;
In described step (3), analytic sheaf determines the parsing order of configuration item according to configuration item dependence Concrete grammar is as follows:
Described configuration item dependence is expressed as an acyclic digraph, and the summit of figure represents configuration item, from To the directed edge of vertex v, (u, parsing v) representing the configuration item that summit u represents need to rely on top to summit u The analysis result of the configuration item that some v represents, dependence graph is described by adjacency list data structure;
Configuration item dependence graph is carried out depth-first traversal, represents respectively with white, grey, black Summit is not accessed, is accessed in current search, terminates to access three kinds of states, and records each The sequencing accessed is terminated on summit;All of summit is initialized as white, and ergodic process finds that certain is white Behind look summit, it is set to grey, and the most successively in adjacency list described in recursive traversal Each summit, if period finds certain grey summit, then is judged as in configuration item dependence graph existing There is endless loop in the dependence that loop, i.e. configuration item resolve, terminates resolving and circulate a notice of mistake to user By mistake;After all summits in adjacency list all travel through and terminate, described summit is set to black, and will be all Summit all travels through the end access time as described summit in the moment of end;When configuration item dependence graph Depth-first traversal terminate after, terminate the access time by early carrying out to late order opposite vertexes by each summit Sequence, is i.e. met the configuration item parsing order of dependence.
A kind of remote measurement configuration file automatic generation method the most according to claim 1, its feature exists In: in described step (2), data processing module extracts the effective information in data and carries with prescribed form The concrete grammar giving analytic sheaf process is as follows:
Step one: data processing module analysis receives the message structure of data;
Step 2: data processing module extracts in described data each distant according to the message structure receiving data Surveying the description information that each configuration item of parameter is corresponding, described configuration item is the attribute of telemetry parameter form;
Step 3: the description information of each configuration item described is passed through unified data-interface by data processing module Submit to analytic sheaf.
A kind of remote measurement configuration file automatic generation method the most according to claim 1, its feature exists In: in described step (4) analytic sheaf according to the parsing of described configuration item order in the data received The effective information method that carries out dissection process, including independent parsing with combine parsing two ways, wherein The configuration item being independent of other configuration item analysis result is carried out independent parsing, to relying on other configuration item solutions The configuration item of analysis result carries out associating parsing.
A kind of remote measurement configuration file automatic generation method the most according to claim 1, its feature exists In: after in described step (4), analytic sheaf obtains dissection process result, carrying out dissection process result can By property inspection, at the formatting carried out by the dissection process result of marginal testing in step (5) Reason.
A kind of remote measurement configuration file automatic generation method the most according to claim 4, its feature exists In: utilize redundancy that dissection process result is carried out marginal testing, by not by the configuration item checked Recorded in report to be checked, mark the dissection process result of described configuration item for state need to be verified, for avoiding Configuration item analysis result uncertainty spreads, and once relies on described configuration by the search of configuration item dependence Item carries out other configuration items resolved, and is labeled as verifying state, and recorded in report to be checked;Pass through The configuration item dissection process result queue checked is effective status, and the dissection process result after mark is referred to as having Effect result.
CN201310403895.9A 2013-09-06 2013-09-06 A kind of remote measurement configuration file automatic generation method Active CN103473056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310403895.9A CN103473056B (en) 2013-09-06 2013-09-06 A kind of remote measurement configuration file automatic generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310403895.9A CN103473056B (en) 2013-09-06 2013-09-06 A kind of remote measurement configuration file automatic generation method

Publications (2)

Publication Number Publication Date
CN103473056A CN103473056A (en) 2013-12-25
CN103473056B true CN103473056B (en) 2016-08-17

Family

ID=49797928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310403895.9A Active CN103473056B (en) 2013-09-06 2013-09-06 A kind of remote measurement configuration file automatic generation method

Country Status (1)

Country Link
CN (1) CN103473056B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970027B (en) * 2014-04-02 2015-07-08 北京控制工程研究所 Telemetry processing unit simulation method in integrated electronic simulation software environment
CN108304186B (en) * 2016-08-16 2021-07-06 阿里巴巴集团控股有限公司 Method and equipment for executing multiple operations based on synthetic configuration file
CN107092491B (en) * 2017-04-21 2021-04-16 网宿科技股份有限公司 Configuration loading method and system
CN107992625A (en) * 2017-12-25 2018-05-04 湖南星汉数智科技有限公司 A kind of automatic abstracting method of web page form data and device
CN109255111A (en) * 2018-08-28 2019-01-22 中国人民解放军63920部队 A kind of telemetry intelligence (TELINT) standard configurations method, system, medium and equipment
CN109901888B (en) * 2019-02-01 2022-07-15 卡斯柯信号有限公司 Design method of automatic configuration file generation tool
CN109978499B (en) * 2019-03-18 2023-06-16 张东 Quick processing method for multi-station post telemetry data
CN110175051B (en) * 2019-04-11 2022-03-29 上海卫星工程研究所 Satellite-ground integrated remote measurement configuration management method
CN110703725B (en) * 2019-09-23 2020-09-18 北京控制工程研究所 Path optimization method suitable for aerospace attitude orbit control system
CN113656347B (en) * 2021-08-17 2023-12-05 成都统信软件技术有限公司 File directory export method, file directory import method and computing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520941A (en) * 2011-12-01 2012-06-27 大唐移动通信设备有限公司 Method and device for generating executable documents
CN102541540A (en) * 2011-12-08 2012-07-04 北京空间飞行器总体设计部 Starry telemetry parameter imaging configuration system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8621083B2 (en) * 2003-05-15 2013-12-31 Hewlett-Packard Development Company, L.P. System and method for multicasting through a localized computer network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520941A (en) * 2011-12-01 2012-06-27 大唐移动通信设备有限公司 Method and device for generating executable documents
CN102541540A (en) * 2011-12-08 2012-07-04 北京空间飞行器总体设计部 Starry telemetry parameter imaging configuration system

Also Published As

Publication number Publication date
CN103473056A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN103473056B (en) A kind of remote measurement configuration file automatic generation method
CN101464905B (en) Web page information extraction system and method
CN107423278B (en) Evaluation element identification method, device and system
CN105653517A (en) Recognition rate determining method and apparatus
CN102236600B (en) Method and device for obtaining code coverage rate
CN106294222A (en) A kind of method and device determining PCIE device and slot corresponding relation
CN104834717A (en) Web information automatic extraction method based on webpage clustering
CN106294606B (en) A kind of CAE document conversion method and device based on general read-write frame
CN104699611A (en) Defect information extraction method based on open-source software defect code modification mode
CN104391796B (en) A kind of test case analytic method
CN104199871A (en) High-speed test question inputting method for intelligent teaching
CN104808806A (en) Chinese character input method and device in accordance with uncertain information
CN109977383A (en) A kind of form information extracting method based on Excel
CN106648819A (en) Internationalized code conversion method based on editor
CN107463538A (en) A kind of Unionpay's file data comparison method and system
CN110414318A (en) Container number recognition methods under large scene
CN105138683A (en) Method and system for converting JSON data into two-dimensional array
CN107169321A (en) The program plagiarism detection method and system being combined based on attribute count and structure measurement technology
CN103235757B (en) Several apparatus and method that input domain tested object is tested are made based on robotization
CN101493340A (en) Method for quickly searching interested point information in navigation system for vehicles
CN103929499A (en) Internet of things heterogeneous identification recognition method and system
CN109725900A (en) The SMV model building method of Method at Register Transfer Level Verilog code
CN103810365A (en) Automatic grading method based on hydroelectric simulation training system
CN105302547A (en) Fault injection method for Verilog HDL design
CN105373473B (en) CDR accuracys method of testing and test system based on original signaling decoding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant