[go: up one dir, main page]

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

A 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
data
ground station
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/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • 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/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

本发明公开了一种通用地面站测试装置、工作方法、计算机设备及存储介质,所述工作方法包括:1)获取帧格式并从数据库中获取预设配置方案,将预设配置方案进行转换;2)将帧格式按照转换后的预设配置方案进行配置;3)根据帧格式和预设配置方案输出配置好的帧格式,并将此数据保存至数据库内;4)对配置完成的帧格式进行转换、解析并用于显示。本发明用于实现任意帧格式的解析、计算和显示,对于不同的帧格式,不需重复编写程序,并且用户可以在主测试界面中自主选择显示项,对于不关注的内容不进行处理,以达到节省系统资源,提高软件效率的目的。

Figure 202010526287

The invention discloses a universal ground station testing device, a working method, computer equipment and a storage medium. The working method includes: 1) acquiring a frame format and acquiring a preset configuration scheme from a database, and converting the preset configuration scheme; 2) Configure the frame format according to the converted preset configuration scheme; 3) Output the configured frame format according to the frame format and the preset configuration scheme, and save the data in the database; 4) For the configured frame format Converted, parsed and used for display. The invention is used to realize the analysis, calculation and display of any frame format. For different frame formats, there is no need to repeatedly write programs, and the user can independently select the display item in the main test interface, and the content that is not concerned is not processed, so as to Achieve the purpose of saving system resources and improving software efficiency.

Figure 202010526287

Description

一种通用地面站测试装置、工作方法、计算机设备及存储介质A universal ground station testing device, working method, computer equipment and storage medium

技术领域technical field

本发明属于上位机软件领域,尤其是一种通用地面站测试装置、工作方法、计算机设备及存储介质。The invention belongs to the field of upper computer software, in particular to a universal ground station testing device, a working method, computer equipment and a storage medium.

背景技术Background technique

在上位机软件中,一般采用C语言、C++以及VB等文本语言编写。文本语言编程不仅需要输入繁多的代码,还要求程序员对底层比较了解,对底层进行各种操作。使编程工作繁重,工作效率低。另外,对于不同项目,不同帧格式的解析显示程序,需要重复的编写程序。不利于提高工作效率。In the host computer software, it is generally written in text languages such as C language, C++ and VB. Text language programming not only requires inputting a lot of code, but also requires programmers to understand the underlying layer and perform various operations on the underlying layer. Make the programming work heavy and low work efficiency. In addition, for different projects and analysis and display programs of different frame formats, repeated programming is required. Not conducive to improving work efficiency.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于克服上述现有技术的缺点,提供一种通用地面站测试装置、工作方法、计算机设备及存储介质。The purpose of the present invention is to overcome the above-mentioned shortcomings of the prior art, and to provide a universal ground station testing device, working method, computer equipment and storage medium.

为达到上述目的,本发明采用以下技术方案予以实现:To achieve the above object, the present invention adopts the following technical solutions to realize:

一种通用地面站测试装置的工作方法,包括以下步骤:A working method of a universal ground station test device, comprising the following steps:

1)获取帧格式并从数据库中获取预设配置方案,将预设配置方案进行转换;1) Obtain the frame format and obtain the preset configuration scheme from the database, and convert the preset configuration scheme;

2)将帧格式按照转换后的预设配置方案进行配置;2) Configure the frame format according to the converted preset configuration scheme;

3)根据帧格式和预设配置方案输出配置好的帧格式,并将此数据保存至数据库内;3) Output the configured frame format according to the frame format and the preset configuration scheme, and save the data to the database;

4)对配置完成的帧格式进行转换、解析并用于显示。4) Convert, parse and display the configured frame format.

进一步的,步骤2)中帧格式的预设配置方案包括帧头配置、帧长配置、模拟量格式配置、数字量格式配置、数字量波道配置、时间信息配置和副帧ID配置中的一种或多种。Further, the preset configuration scheme of frame format in step 2) includes one of frame header configuration, frame length configuration, analog format configuration, digital format configuration, digital channel configuration, time information configuration and subframe ID configuration. one or more.

进一步的,步骤1)中获取帧格式并从数据库中获取预设配置方案,将预设配置方案进行转换,具体包括读取到帧格式配置方案,将数据转换成树控件类型进行界面显示。Further, in step 1), the frame format is obtained and the preset configuration scheme is obtained from the database, and the preset configuration scheme is converted, which specifically includes reading the frame format configuration scheme, and converting the data into a tree control type for interface display.

进一步的,步骤4)内帧格式方案配置完成后,转换为表格形式。Further, after step 4) the configuration of the intra-frame format scheme is completed, it is converted into a table format.

进一步的,步骤4)包括:Further, step 4) includes:

401)当解析出的数据为模拟量时,将其配置相应计算式,将数据转换为实际量值;401) When the parsed data is an analog quantity, configure it with a corresponding calculation formula, and convert the data into an actual quantity value;

402)当解析出的数据为数字量帧,根据数字量波道信息配置,从数字量帧中解析出相应数字量数据,并配置相应计算式;最后将数据转换为实际量值。402) When the parsed data is a digital quantity frame, according to the configuration of the digital quantity channel information, parse out the corresponding digital quantity data from the digital quantity frame, and configure a corresponding calculation formula; finally, convert the data into an actual quantity value.

一种通用地面站测试的测试装置,包括帧格式配置模块和数据处理模块;A testing device for universal ground station testing, comprising a frame format configuration module and a data processing module;

格式配置模块用于获取帧格式并从数据库中获取预设配置方案,将预设配置方案进行转换,将帧格式按照转换后的预设配置方案进行配置,根据帧格式和预设配置方案输出配置好的帧格式,并将此数据保存至数据库内;The format configuration module is used to obtain the frame format and obtain the preset configuration scheme from the database, convert the preset configuration scheme, configure the frame format according to the converted preset configuration scheme, and output the configuration according to the frame format and the preset configuration scheme good frame format, and save this data to the database;

数据处理模块用于对配置完成的帧格式进行转换、解析并用于显示。The data processing module is used to convert, parse and display the configured frame format.

进一步的,帧格式配置模块包括帧头配置子模块、帧长配置子模块、模拟量格式配置子模块、数字量格式配置子模块、数字量波道配置子模块、时间信息配置单元和副帧ID配置子模块,各个子模块之间彼此独立运行。Further, the frame format configuration module includes a frame header configuration submodule, a frame length configuration submodule, an analog format configuration submodule, a digital format configuration submodule, a digital channel configuration submodule, a time information configuration unit, and a subframe ID. Configure submodules, and each submodule runs independently of each other.

进一步的,所述装置在LabVIEW编程软件内。Further, the device is in LabVIEW programming software.

一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的通用地面站测试的测试方法的步骤。A computer device, comprising a memory, a processor and a computer program stored in the memory and running on the processor, when the processor executes the computer program, the test method for the above-mentioned universal ground station test is implemented A step of.

一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述的通用地面站测试的测试方法的步骤。与现有技术相比,本发明具有以下有益效果:A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the above-mentioned test method for universal ground station test. Compared with the prior art, the present invention has the following beneficial effects:

本发明提供的一种通用地面站测试装置的工作方法,通过数据帧格式配置界面完成帧格式配置,主要包含帧长配置、帧头配置、帧头位置配置、模拟量信息配置、数字量信息配置、数字量波道信息配置、副帧ID信息配置以及时间信息配置等内容;用户可根据需求,完整配置所有帧格式信息,或者部分帧格式信息;配置完成后将帧格式存储到数据库中;实现帧格式存储以及调用;开始测试时,首先从数据库中读取相应的帧格式配置方案,并将帧格式转换为系统能够调用的格式;数据解析部分再根据帧格式方案信息,提取相应的数据进行计算和显示;以实现任意帧格式的解析、计算和显示;对于不同的帧格式,不需重复编写程序。并且用户可以在主测试界面中自主选择显示项。对于不关注的内容可以不进行处理。以节省系统资源,提高软件效率。The working method of a universal ground station testing device provided by the present invention completes frame format configuration through a data frame format configuration interface, which mainly includes frame length configuration, frame header configuration, frame header position configuration, analog information configuration, and digital information configuration , digital channel information configuration, sub-frame ID information configuration, time information configuration, etc.; users can completely configure all frame format information, or part of the frame format information according to their needs; after the configuration is completed, the frame format is stored in the database; Frame format storage and calling; when starting the test, first read the corresponding frame format configuration scheme from the database, and convert the frame format into a format that the system can call; the data parsing part then extracts the corresponding data according to the frame format scheme information. Calculation and display; to realize the analysis, calculation and display of any frame format; for different frame formats, there is no need to repeat the programming. And the user can choose the display item independently in the main test interface. The content that is not concerned can be left untreated. To save system resources and improve software efficiency.

本发明提供的一种通用地面站测试装置,包含完成上述工作方法的具体模块;A universal ground station testing device provided by the present invention includes specific modules for completing the above working method;

本发明提供一种通用地面站测试装置工作方法的计算机设备及存储介质,用于实现上述工作方法的具体步骤。The present invention provides a computer equipment and a storage medium for a working method of a general ground station testing device, which are used to implement the specific steps of the above working method.

附图说明Description of drawings

图1为本发明的通用地面站测试装置工作方法的流程图;Fig. 1 is the flow chart of the working method of the universal ground station test device of the present invention;

图2为本发明的通用地面站测试装置的原理框图;Fig. 2 is the principle block diagram of the universal ground station testing device of the present invention;

图3为本发明的通用地面站测试装置中帧格式配置模块的原理框图;Fig. 3 is the principle block diagram of the frame format configuration module in the universal ground station testing device of the present invention;

图4是本发明实施例中计算机设备的示意图。FIG. 4 is a schematic diagram of a computer device in an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts 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 the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

下面结合附图对本发明做进一步详细描述:Below in conjunction with accompanying drawing, the present invention is described in further detail:

参见图1,图1为本发明的通用地面站测试装置工作方法的流程图;通用地面站测试装置工作方法包括以下步骤:Referring to Fig. 1, Fig. 1 is a flow chart of the 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)获取帧格式并从数据库中获取预设配置方案,将预设配置方案进行转换;具体的,帧格式配置方案保存于数据库中,测试装置从数据库中读取出相应配置方案。数据库中以表格形式存储数据,而帧格式配置界面中,采用树控件和表格控件。读取到帧格式配置方案后,需要将数据转换成树控件类型进行界面显示。1) Obtain the frame format and obtain the preset configuration scheme from the database, and convert the preset configuration scheme; specifically, the frame format configuration scheme is stored in the database, and the test device reads the corresponding configuration scheme from the database. Data is stored in the form of tables in the database, and tree controls and table controls are used in the frame format configuration interface. After reading the frame format configuration scheme, the data needs to be converted into a tree control type for interface display.

2)将帧格式按照转换后的预设配置方案进行配置;具体的,帧格式方案配置界面中,可以进行帧头配置、帧长配置、模拟量帧格式配置、数字量帧格式配置、数字量波道信息配置,副帧ID信息配置以及时间信息配置等。2) Configure 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 frame format configuration, digital frame format configuration, and digital frame format configuration can be configured. Channel information configuration, subframe ID information configuration, and time information configuration, etc.

其中,模拟量帧格式配置包含模拟量名称、波道起始值、波道数、副帧ID、计算式、理论值、单位、存储文件格式以及字节顺序等内容。Among them, the analog frame format configuration includes analog name, channel start value, channel number, sub-frame ID, calculation formula, theoretical value, unit, storage file format and byte order.

数字量帧格式配置包含数字量名称、波道起始值、波道数、有效数标志波道、数字量帧头、数字量帧长以及副帧ID等内容。The digital frame format configuration includes digital name, channel start value, number of channels, significand channel, digital frame header, digital frame length, and sub-frame ID.

数字量波道信息配置包含数字量名称、信号名称、起始字节、字节数、数据类型、系数、单位以及字节顺序等内容。The digital channel information configuration includes the digital name, signal name, start byte, number of bytes, data type, coefficient, unit, and byte order.

时间信息配置包含起始波道、波道数以及位信息等内容。The time information configuration includes the starting channel, the number of channels, and bit information.

副帧ID信息配置包含起始波道、波道数以及位信息等内容。The subframe ID information configuration includes contents such as the starting channel, the number of channels, and bit information.

帧格式配置完成后,测试装置再将树控件数据转换为表格形式,以便进行帧格式方案保存和数据解析、计算。After the frame format configuration is completed, the test device converts the tree control data into a tabular format, so as to save the frame format scheme and analyze and calculate the data.

3)根据帧格式和预设配置方案输出配置好的帧格式,并将此数据保存至数据库内;并将配置好的帧格式保存至数据库中,重复使用,无需多次配置。3) Output the configured frame format according to the frame format and the preset configuration scheme, and save the data to the database; and save the configured frame format to the database for repeated use without multiple configurations.

4)对数据解析、计算及显示具体包括以下内容:4) Data analysis, calculation and display include the following:

帧格式方案配置完成后,转换为表格形式。首先根据用户界面选择的显示项,提取出相应的配置信息,保存至变量中,以便进行有效数据提取。配置信息提取只在用户修改显示项时进行修改,数据解析式直接使用提取完成的有效配置信息。节省系统资源,提高软件效率。After the frame format scheme is configured, it is converted to table format. First, according to the display items selected by the user interface, the corresponding configuration information is extracted and saved in the variable for effective data extraction. The configuration information extraction is only modified when the user modifies the displayed item, and the data parsing method directly uses the extracted effective configuration information. Save system resources and improve software efficiency.

对于模拟量,测试装置根据显示界面中用户选择的模拟量名称,在提取出的配置信息中查找出表格中相应的配置项,然后根据配置项中起始波道、波道数、数据位数,副帧ID等配置内容在数据中查询出相应数据,在根据配置的计算式进行数据计算和显示。For analog quantities, the test device searches for the corresponding configuration items in the table in the extracted configuration information according to the name of the analog quantity selected by the user in the display interface, and then according to the starting channel, number of channels, and number of data bits in the configuration items , sub-frame ID and other configuration contents, query the corresponding data in the data, and perform data calculation and display according to the configured calculation formula.

而对于数字量,测试装置首先根据数字量名称,从提取出的配置信息中查询出相应配置项。然后根据起始波道、波道数等内容从数据中提取出有效的数字量帧,在根据相应数字量波道配置信息提取出相应数据进行计算和显示。用户可以在主测试界面中自主选择显示项,对于不关注的内容可以不进行解析和转换的处理,以节省系统资源,提高软件效率。As for the digital quantity, the test device firstly queries the corresponding configuration item from the extracted configuration information according to the name of the digital quantity. Then, according to the starting channel, the number of channels, etc., the effective digital frame is extracted from the data, and the corresponding data is extracted according to the corresponding digital channel configuration information for calculation and display. Users can choose the display items independently in the main test interface, and can not parse and convert the content that they do not pay attention to, so as to save system resources and improve software efficiency.

参见图2,图2为本发明的通用地面站测试装置的原理框图;通用地面站测试装置包括帧格式配置模块和数据处理模块,格式配置模块用于获取帧格式并从数据库中获取预设配置方案,将预设配置方案进行转换,将帧格式按照转换后的预设配置方案进行配置,根据帧格式和预设配置方案输出配置好的帧格式,并将此数据保存至数据库内;数据处理模块用于对配置完成的帧格式进行转换、解析并用于显示。Referring to Fig. 2, Fig. 2 is a principle block diagram of the universal ground station test device of the present invention; the universal ground station test device includes a frame format configuration module and a data processing module, and the format configuration module is used to obtain the frame format and obtain the preset configuration from the database scheme, convert the preset configuration scheme, configure the frame format according to the converted preset configuration scheme, output the configured frame format according to the frame format and the preset configuration scheme, and save the data to the database; data processing The module is used to convert, parse and display the configured frame format.

参见图3,图3为本发明的通用地面站测试装置中帧格式配置模块的原理框图;帧格式配置模块包括帧头配置子模块、帧长配置子模块、模拟量格式配置子模块、数字量格式配置子模块、数字量波道配置子模块、时间信息配置单元和副帧ID配置子模块,各个子模块之间彼此独立运行;满足用户任意配置测试项的需求,完整配置整个帧格式信息,或者部分格式信息,根据用户配置信息解析相应数据。Referring to Figure 3, Figure 3 is a schematic block diagram of a frame format configuration module in the universal ground station test device of the present invention; the frame format configuration module includes a frame header configuration submodule, a frame length configuration submodule, an analog format configuration submodule, a digital Format configuration sub-module, digital channel configuration sub-module, time information configuration unit and sub-frame ID configuration sub-module, each sub-module runs independently of each other; it meets the needs of users to configure test items arbitrarily, and completely configures the entire frame format information, Or part of the format information, and parse the corresponding data according to the user configuration information.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图4所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机程序被处理器执行时以实现通用地面站测试装置的工作方法。In one embodiment, a computer device is provided, and the computer device may be a server, and its internal structure diagram may be as shown in FIG. 4 . The computer device includes a processor, memory, a network interface, and a database connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The computer program, when executed by the processor, implements the method of operation of the universal ground station test apparatus.

在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:获取帧格式并从数据库中获取预设配置方案,将预设配置方案进行转换;将帧格式按照转换后的预设配置方案进行配置;根据帧格式和预设配置方案输出配置好的帧格式,并将此数据保存至数据库内;对配置完成的帧格式进行转换、解析并用于显示。In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor executing the computer program to achieve the following steps: acquiring a frame format and obtaining a frame format from a database Obtain the preset configuration scheme from , convert the preset configuration scheme; configure the frame format according to the converted preset configuration scheme; output the configured frame format according to the frame format and the preset configuration scheme, and save the data to In the database; the configured frame format is converted, parsed and used for display.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:获取帧格式并从数据库中获取预设配置方案,将预设配置方案进行转换;将帧格式按照转换后的预设配置方案进行配置;根据帧格式和预设配置方案输出配置好的帧格式,并将此数据保存至数据库内;对配置完成的帧格式进行转换、解析并用于显示。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: acquiring a frame format and acquiring a preset configuration scheme from a database, Convert the configuration scheme; configure the frame format according to the converted preset configuration scheme; output the configured frame format according to the frame format and the preset configuration scheme, and save the data to the database; Converted, parsed and used for display.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本发明所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided by the present invention may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above.

以上内容仅为说明本发明的技术思想,不能以此限定本发明的保护范围,凡是按照本发明提出的技术思想,在技术方案基础上所做的任何改动,均落入本发明权利要求书的保护范围之内。The above content is only to illustrate the technical idea of the present invention, and cannot limit the protection scope of the present invention. Any modification made on the basis of the technical solution proposed in accordance with the technical idea of the present invention falls within the scope of the claims of the present invention. within the scope of protection.

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 A 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 A 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 A 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 A 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 flow analysis method based on general 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 flow analysis method based on general 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
CN109739894B (en) Method, device, equipment and storage medium for supplementing metadata description
CN111813963B (en) Knowledge graph construction method and device, electronic equipment and storage medium
WO2021184571A1 (en) Dynamic form generation method, apparatus, computer device, and storage medium
CN111666296B (en) SQL data real-time processing method and device based on Flink, computer equipment and medium
US8082489B2 (en) Using a spreadsheet engine as a server-side calculation model
WO2015124042A1 (en) Method, device and host for updating metadata stored in columns in distributed file system
CN112818138B (en) Knowledge graph ontology construction method and device, terminal device and readable storage medium
CN110941427B (en) Code generation method and code generator
WO2021184574A1 (en) Document data importing method and apparatus, document data exporting method and apparatus, and storage medium
CN101751382A (en) Data acquisition method based on labels and system thereof
CN112163025A (en) Database data exporting method and device, computer equipment and storage medium
CN109710220B (en) Relational database query method, relational database query device, relational database query equipment and storage medium
CN107463706B (en) A method and system for storing and analyzing massive wave recording data based on Hadoop
WO2021259290A1 (en) Stored procedure conversion method and apparatus, and device and storage medium
CN111190587A (en) Method and system for automatically generating engineering front-end code based on JDBC
CN112860727A (en) Data query method, device, equipment and medium based on big data query engine
CN112000903A (en) Data query method, device, computer equipment and storage medium
CN111198898A (en) Big data query method and big data query device
CN111552903A (en) Page generation method and device based on HTML (Hypertext markup language) template and computer equipment
CN111831555A (en) A universal ground station testing device, working method, computer equipment and storage medium
CN102486772A (en) A data export method and device
CN113806429A (en) Canvas type log analysis method based on large data stream processing framework
WO2023015841A1 (en) Sql statement generation method, apparatus, and device based on artificial intelligence, and storage medium
CN114546402A (en) JAVA-based structured data reconstruction method, device, equipment and storage medium
CN108897742A (en) A kind of log method for internationalizing, system, equipment and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201027

RJ01 Rejection of invention patent application after publication