CN111831555A - Universal ground station testing device, working method, computer equipment and storage medium - Google Patents

Universal ground station testing device, working method, computer equipment and storage medium Download PDF

Info

Publication number
CN111831555A
CN111831555A CN202010526287.7A CN202010526287A CN111831555A CN 111831555 A CN111831555 A CN 111831555A CN 202010526287 A CN202010526287 A CN 202010526287A CN 111831555 A CN111831555 A CN 111831555A
Authority
CN
China
Prior art keywords
configuration
frame format
frame
ground station
data
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.)
Pending
Application number
CN202010526287.7A
Other languages
Chinese (zh)
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.)
Xi'an Standard Information Technology Co ltd
Original Assignee
Xi'an Standard Information Technology Co ltd
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 Xi'an Standard Information Technology Co ltd filed Critical Xi'an Standard Information Technology Co ltd
Priority to CN202010526287.7A priority Critical patent/CN111831555A/en
Publication of CN111831555A publication Critical patent/CN111831555A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Abstract

The invention discloses a universal ground station testing device, a working method, computer equipment and a storage medium, wherein the working method comprises the following steps: 1) acquiring a frame format, acquiring a preset configuration scheme from a database, and converting the preset configuration scheme; 2) configuring the frame format according to the converted preset configuration scheme; 3) outputting the configured frame format according to the frame format and a preset configuration scheme, and storing the data into a database; 4) and converting, analyzing and displaying the configured frame format. The invention is used for realizing the analysis, calculation and display of any frame format, does not need to repeatedly write programs for different frame formats, and can automatically select display items in the main test interface by a user without processing the contents which are not concerned about, thereby achieving the purposes of saving system resources and improving software efficiency.

Description

Universal ground station testing device, working method, computer equipment and storage medium
Technical Field
The invention belongs to the field of upper computer software, and particularly relates to a universal ground station testing device, a working method, computer equipment and a storage medium.
Background
In the upper computer software, the upper computer software is generally written by adopting text languages such as C language, C + + and VB. Text language programming not only requires the input of a large number of codes, but also requires a programmer to have a good understanding of the underlying layers and perform various operations on the underlying layers. The programming work is heavy and the work efficiency is low. In addition, for different items, the parsing and displaying programs in different frame formats need to be written repeatedly. Is not beneficial to improving the working efficiency.
Disclosure of Invention
The present invention is directed to overcome the above disadvantages of the prior art, and provides a universal ground station testing apparatus, a working method, a computer device and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme to realize the purpose:
a working method of a universal ground station testing device comprises the following steps:
1) acquiring a frame format, acquiring a preset configuration scheme from a database, and converting the preset configuration scheme;
2) configuring the frame format according to the converted preset configuration scheme;
3) outputting the configured frame format according to the frame format and a preset configuration scheme, and storing the data into a database;
4) and converting, analyzing and displaying the configured frame format.
Further, the preset configuration scheme of the frame format in step 2) includes one or more of frame header configuration, frame length configuration, analog format configuration, digital channel configuration, time information configuration, and subframe ID configuration.
Further, the frame format is obtained in the step 1), the preset configuration scheme is obtained from the database, the preset configuration scheme is converted, and the method specifically comprises the steps of reading the frame format configuration scheme, and converting the data into the tree control type for interface display.
Further, after the configuration of the frame format scheme in the step 4) is completed, the frame format scheme is converted into a table form.
Further, step 4) comprises:
401) when the analyzed data is analog quantity, configuring a corresponding calculation formula, and converting the data into an actual quantity value;
402) when the analyzed data is a digital quantity frame, corresponding digital quantity data is analyzed from the digital quantity frame according to the configuration of the digital quantity channel information, and a corresponding calculation formula is configured; and finally, converting the data into an actual magnitude.
A testing device for testing a universal ground station comprises a frame format configuration module and a data processing module;
the format configuration module is used for acquiring a frame format and acquiring a preset configuration scheme from the database, converting the preset configuration scheme, configuring the frame format according to the converted preset configuration scheme, outputting the configured frame format according to the frame format and the preset configuration scheme, and storing the data into the database;
and the data processing module is used for converting, analyzing and displaying the configured frame format.
Further, the frame format configuration module comprises a frame header configuration submodule, a frame length configuration submodule, an analog quantity format configuration submodule, a digital quantity channel configuration submodule, a time information configuration unit and a subframe ID configuration submodule, and all the submodules operate independently.
Further, the apparatus is within LabVIEW programming software.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the test method for universal ground station testing described above when executing the computer program.
A computer-readable storage medium, which stores a computer program that, when being executed by a processor, carries out the steps of the method for testing of a universal ground station test described above. Compared with the prior art, the invention has the following beneficial effects:
the invention provides a working method of a universal ground station testing device, which finishes frame format configuration through a data frame format configuration interface and mainly comprises frame length configuration, frame header position configuration, analog quantity information configuration, digital quantity channel information configuration, subframe ID information configuration, time information configuration and the like; the user can completely configure all frame format information or part of the frame format information according to the requirement; after configuration is completed, storing the frame format into a database; realizing frame format storage and calling; when the test is started, reading a corresponding frame format configuration scheme from a database, and converting the frame format into a format which can be called by a system; the data analysis part extracts corresponding data for calculation and display according to the frame format scheme information; so as to realize the analysis, calculation and display of any frame format; the program does not need to be repeatedly written for different frame formats. And the user may autonomously select a display item in the main test interface. Content that is not of interest may not be processed. Thereby saving system resources and improving software efficiency.
The invention provides a universal ground station testing device, which comprises a specific module for completing the working method;
the invention provides computer equipment and a storage medium for a working method of a universal ground station testing device, which are used for realizing the specific steps of the working method.
Drawings
FIG. 1 is a flow chart of a method of operation of the universal ground station test apparatus of the present invention;
FIG. 2 is a schematic block diagram of a universal ground station test apparatus of the present invention;
FIG. 3 is a block diagram of a frame format configuration module of the universal ground station testing apparatus of the present invention;
FIG. 4 is a schematic diagram of a computer device in an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention is described in further detail below with reference to the accompanying drawings:
referring to fig. 1, fig. 1 is a flow chart of a working method of the universal ground station testing device of the present invention; the working method of the universal ground station testing device comprises the following steps:
1) acquiring a frame format, acquiring a preset configuration scheme from a database, and converting the preset configuration scheme; specifically, the frame format configuration scheme is stored in a database, and the test apparatus reads out the corresponding configuration scheme from the database. The data is stored in the database in a table form, and a tree control and a table control are adopted in the frame format configuration interface. After reading the frame format configuration scheme, the data needs to be converted into tree control types for interface display.
2) Configuring the frame format according to the converted preset configuration scheme; specifically, in the frame format scheme configuration interface, frame header configuration, frame length configuration, analog quantity frame format configuration, digital quantity channel information configuration, subframe ID information configuration, time information configuration, and the like may be performed.
The analog frame format configuration includes contents such as an analog name, a channel start value, a channel number, a subframe ID, a calculation formula, a theoretical value, a unit, a storage file format, a byte order, and the like.
The digital quantity frame format configuration comprises the contents of digital quantity name, channel initial value, channel number, significant number mark channel, digital quantity frame head, digital quantity frame length, subframe ID and the like.
The channel information configuration of digital quantity includes digital quantity name, signal name, start byte, byte number, data type, coefficient, unit and byte order.
The time information configuration includes the contents of the start channel, the channel number, and the bit information.
The subframe ID information configuration includes the start channel, the number of channels, and the bit information.
After the frame format configuration is completed, the test device converts the tree control data into a table form so as to store the frame format scheme and analyze and calculate the data.
3) Outputting the configured frame format according to the frame format and a preset configuration scheme, and storing the data into a database; and the configured frame format is stored in a database for repeated use without repeated configuration.
4) The data analysis, calculation and display specifically comprise the following contents:
and after the configuration of the frame format scheme is finished, converting the frame format scheme into a table form. Firstly, according to the display item selected by the user interface, extracting corresponding configuration information, and storing the configuration information into a variable so as to extract effective data. Configuration information extraction is only modified when a user modifies a display item, and the data analytic expression directly uses the extracted effective configuration information. Saving system resources and improving software efficiency.
For the analog quantity, the testing device searches the corresponding configuration items in the table in the extracted configuration information according to the analog quantity name selected by the user in the display interface, then inquires corresponding data in the data according to the configuration contents such as the initial channel, the channel number, the data bit number, the subframe ID and the like in the configuration items, and calculates and displays the data according to the configured calculation formula.
For the digital quantity, the testing device firstly inquires out the corresponding configuration item from the extracted configuration information according to the name of the digital quantity. Then extracting effective digital quantity frames from the data according to the content of the initial channel, the channel number and the like, and extracting corresponding data according to the corresponding digital quantity channel configuration information for calculation and display. The user can independently select the display item in the main test interface, and the analysis and conversion processing can not be carried out on the content which is not concerned about, so that the system resource is saved, and the software efficiency is improved.
Referring to fig. 2, fig. 2 is a schematic block diagram of the universal ground station testing apparatus of the present invention; the universal ground station testing device comprises a frame format configuration module and a data processing module, wherein the frame format configuration module is used for acquiring a frame format and acquiring a preset configuration scheme from a database, converting the preset configuration scheme, configuring the frame format according to the converted preset configuration scheme, outputting the configured frame format according to the frame format and the preset configuration scheme, and storing the data into the database; and the data processing module is used for converting, analyzing and displaying the configured frame format.
Referring to fig. 3, fig. 3 is a schematic block diagram of a frame format configuration module in the universal ground station testing apparatus according to the present invention; the frame format configuration module comprises a frame header configuration submodule, a frame length configuration submodule, an analog quantity format configuration submodule, a digital quantity channel configuration submodule, a time information configuration unit and a subframe ID configuration submodule, and all the submodules operate independently; the method meets the requirement of a user for configuring the test items at will, completely configures the whole frame format information or partial format information, and analyzes corresponding data according to the user configuration information.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The computer program is executed by a processor to implement a method of operation of a universal ground station test apparatus.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring a frame format, acquiring a preset configuration scheme from a database, and converting the preset configuration scheme; configuring the frame format according to the converted preset configuration scheme; outputting the configured frame format according to the frame format and a preset configuration scheme, and storing the data into a database; and converting, analyzing and displaying the configured frame format.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a frame format, acquiring a preset configuration scheme from a database, and converting the preset configuration scheme; configuring the frame format according to the converted preset configuration scheme; outputting the configured frame format according to the frame format and a preset configuration scheme, and storing the data into a database; and converting, analyzing and displaying the configured frame format.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned contents are only for illustrating the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and any modification made on the basis of the technical idea of the present invention falls within the protection scope of the claims of the present invention.

Claims (10)

1. A working method of a universal ground station testing device is characterized by comprising the following steps:
1) acquiring a frame format, acquiring a preset configuration scheme from a database, and converting the preset configuration scheme;
2) configuring the frame format according to the converted preset configuration scheme;
3) outputting the configured frame format according to the frame format and a preset configuration scheme, and storing the data into a database;
4) and converting, analyzing and displaying the configured frame format.
2. The method as claimed in claim 1, wherein the predetermined configuration scheme of the frame format in step 2) includes one or more of a frame header configuration, a frame length configuration, an analog format configuration, a digital channel configuration, a time information configuration, and a subframe ID configuration.
3. The working method of the universal ground station testing device according to claim 1, wherein the frame format is obtained in step 1) and the preset configuration scheme is obtained from the database, and the conversion of the preset configuration scheme specifically includes reading the frame format configuration scheme and converting the data into the tree control type for interface display.
4. The method as claimed in claim 1, wherein the frame format scheme in step 4) is converted into a table format after the configuration.
5. The method for operating the universal ground station test device according to claim 1, wherein the step 4) comprises:
401) when the analyzed data is analog quantity, configuring a corresponding calculation formula, and converting the data into an actual quantity value;
402) when the analyzed data is a digital quantity frame, corresponding digital quantity data is analyzed from the digital quantity frame according to the configuration of the digital quantity channel information, and a corresponding calculation formula is configured; and finally, converting the data into an actual magnitude.
6. The testing device for testing the universal ground station is characterized by comprising a frame format configuration module and a data processing module;
the format configuration module is used for acquiring a frame format and acquiring a preset configuration scheme from the database, converting the preset configuration scheme, configuring the frame format according to the converted preset configuration scheme, outputting the configured frame format according to the frame format and the preset configuration scheme, and storing the data into the database;
and the data processing module is used for converting, analyzing and displaying the configured frame format.
7. The testing device for testing the universal ground station according to claim 6, wherein the frame format configuration module comprises a frame header configuration submodule, a frame length configuration submodule, an analog format configuration submodule, a digital channel configuration submodule, a time information configuration unit and a subframe ID configuration submodule, and all the submodules operate independently from each other.
8. The universal ground station test device of claim 6 or 7, wherein said device is within LabVIEW programming software.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the test method for universal ground station testing of any of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method for testing of a universal ground station test of any one of claims 1-4.
CN202010526287.7A 2020-06-09 2020-06-09 Universal ground station testing device, working method, computer equipment and storage medium Pending CN111831555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010526287.7A CN111831555A (en) 2020-06-09 2020-06-09 Universal ground station testing device, working method, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010526287.7A CN111831555A (en) 2020-06-09 2020-06-09 Universal ground station testing device, working method, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111831555A true CN111831555A (en) 2020-10-27

Family

ID=72899099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010526287.7A Pending CN111831555A (en) 2020-06-09 2020-06-09 Universal ground station testing device, working method, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111831555A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112533276A (en) * 2020-11-27 2021-03-19 北京宇航系统工程研究所 Adaptive framing design method and system based on rocket-borne wireless sensor network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262304A (en) * 2008-04-24 2008-09-10 浙江大学 A data stream parsing method based on universal communication data format
CN102098131A (en) * 2009-12-15 2011-06-15 航天科工惯性技术有限公司 Dynamic parameter configuration-based general framing and de-framing method for serial port data frames
CN107026689A (en) * 2016-01-29 2017-08-08 华为技术有限公司 A kind of frame format collocation method, device and system
FR3073121A1 (en) * 2017-10-26 2019-05-03 Alstom Transport Technologies ELECTRONIC SYSTEM WITH AT LEAST ONE CARD SUPPORT DEVICE
CN110933146A (en) * 2019-11-14 2020-03-27 厦门网宿有限公司 Data conversion method and device and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262304A (en) * 2008-04-24 2008-09-10 浙江大学 A data stream parsing method based on universal communication data format
CN102098131A (en) * 2009-12-15 2011-06-15 航天科工惯性技术有限公司 Dynamic parameter configuration-based general framing and de-framing method for serial port data frames
CN107026689A (en) * 2016-01-29 2017-08-08 华为技术有限公司 A kind of frame format collocation method, device and system
FR3073121A1 (en) * 2017-10-26 2019-05-03 Alstom Transport Technologies ELECTRONIC SYSTEM WITH AT LEAST ONE CARD SUPPORT DEVICE
CN110933146A (en) * 2019-11-14 2020-03-27 厦门网宿有限公司 Data conversion method and device and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈建辉: "《计算机网络技术教程》", 31 July 2004, 成都:电子科技大学出版社, pages: 102 - 104 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112533276A (en) * 2020-11-27 2021-03-19 北京宇航系统工程研究所 Adaptive framing design method and system based on rocket-borne wireless sensor network
CN112533276B (en) * 2020-11-27 2023-11-10 北京宇航系统工程研究所 Self-adaptive framing design method and system based on arrow-mounted wireless sensor network

Similar Documents

Publication Publication Date Title
CN107918666B (en) Data synchronization method and system on block chain
CN112380213B (en) Information acquisition method and device, computer equipment and storage medium
CN109254959B (en) Data evaluation method and device, terminal equipment and readable storage medium
CN102004744A (en) Data extraction system and method from one source table to table of at least one object database
CN111752571A (en) Program upgrading method, device, equipment and storage medium
CN112306620B (en) Multi-language loading method and device for user-defined form control
CN111831555A (en) Universal ground station testing device, working method, computer equipment and storage medium
CN111460017A (en) Document data import method, document data export method, device and storage medium
CN112528619A (en) Page template file generation method and device, electronic equipment and storage medium
CN109325042A (en) Handle template acquisition methods, form processing method, device, equipment and medium
CN110275703B (en) Method and device for assigning key value to data, computer equipment and storage medium
CN112631704A (en) Interface element identification method and device, storage medium and electronic equipment
CN111190587A (en) Method and system for automatically generating engineering front-end code based on JDBC
CN110647350A (en) Interface document generation method and device, computer equipment and storage medium
CN115935917A (en) Data processing method, device and equipment for visual chart and storage medium
CN104834643A (en) Fast common gateway interface file analysis method and apparatus
CN111796830B (en) Protocol analysis processing method, device, equipment and medium
CN112052253B (en) Data processing method, electronic device and storage medium
CN106708534A (en) Method and system for generating saving based on mobile terminal webpages
CN110119502A (en) A method of dynamic table single domain is realized based on OFD document
CN110019198B (en) Data query method and device
CN111831457A (en) Double-channel ground station testing device, working method, computer equipment and storage medium
CN117540704B (en) Data reverse perspective conversion method, device, equipment and medium of data table
CN105224539B (en) Page file processing method and device
CN110162538B (en) Method, device and computer equipment for automatically generating general query language CQL

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