CN114880249B - Aerospace measurement and control comprehensive test software framework system and operation method - Google Patents

Aerospace measurement and control comprehensive test software framework system and operation method Download PDF

Info

Publication number
CN114880249B
CN114880249B CN202210782266.0A CN202210782266A CN114880249B CN 114880249 B CN114880249 B CN 114880249B CN 202210782266 A CN202210782266 A CN 202210782266A CN 114880249 B CN114880249 B CN 114880249B
Authority
CN
China
Prior art keywords
control
measurement
data
interface
module
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
CN202210782266.0A
Other languages
Chinese (zh)
Other versions
CN114880249A (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.)
Hunan Matrix Electronic Technology Co ltd
Original Assignee
Hunan Matrix Electronic 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 Hunan Matrix Electronic Technology Co ltd filed Critical Hunan Matrix Electronic Technology Co ltd
Priority to CN202210782266.0A priority Critical patent/CN114880249B/en
Publication of CN114880249A publication Critical patent/CN114880249A/en
Application granted granted Critical
Publication of CN114880249B publication Critical patent/CN114880249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application relates to the technical field of aerospace measurement and control, and discloses an aerospace measurement and control comprehensive test software framework system, which comprises: the system comprises a bottom framework environment, a user operation terminal layer, a data processing terminal layer and a public interface layer; the bottom framework environment is used for bottom construction and system resource management of the aerospace measurement and control comprehensive test software so as to realize loading and unloading of modules in a user operation terminal layer, a data processing terminal layer and a public interface layer; the user operation terminal layer is used for providing a user interaction interface for measurement and control parameter configuration, measurement and control state display, test flow configuration and test parameter analysis; the data processing terminal layer is used for completing protocol conversion, data processing and data distribution; the common interface layer provides a common module for the user operation terminal layer and the data processing terminal layer, and loads the common module to the user operation terminal layer and the data processing terminal layer in a plug-in mode respectively. The application also correspondingly discloses an operation method of the aerospace measurement and control comprehensive test software.

Description

Aerospace measurement and control comprehensive test software framework system and operation method
Technical Field
The application relates to the technical field of aerospace measurement and control, in particular to a aerospace measurement and control comprehensive test software framework system and an operation method.
Background
With the continuous development of aerospace industry in China, the satellite launching periods of remote sensing, surveying and mapping, meteorology, communication, navigation and the like are shorter and shorter, low-orbit satellite constellation becomes a development trend, the number of in-orbit satellites is more and more, and the satellite measurement and control task amount is increased at a rapid pace. The satellite measurement and control equipment is used as a core component of the satellite platform, and due to the fact that protocols and test items become faster in the development and development processes and the complexity of the whole satellite test environment is high, space measurement and control comprehensive test software adapted to the satellite measurement and control equipment is required to quickly respond to the change of a test task protocol, and secondary development and function expansion can be quickly carried out according to the change of the whole satellite test and subsystem test requirements.
In addition, compared with other industry software, the aerospace measurement and control comprehensive test software has higher reliability and stability, and has more involved elements when the measurement and control communication protocol and the test item are changed, so that the secondary development of the aerospace measurement and control comprehensive test software has higher requirements on the service understanding and the development capability of developers.
In order to meet the requirements of the complexity and diversity of the functions of the current satellite measurement and control platform on aerospace measurement and control comprehensive test software, a software framework system which can quickly and simply respond to the service change and expansion functions of satellite measurement and control equipment and has an open standard communication interface is urgently needed in the application scene of a multi-measurement and control system.
Disclosure of Invention
The implementation mode of the application provides a space measurement and control comprehensive test software framework system and an operation method, which can adapt to the diversity of test tasks under the requirement of multiple systems; the aerospace measurement and control comprehensive test software has high safety stability and data processing capacity, can quickly and simply respond to the service change and expansion functions of the satellite measurement and control equipment, and has an open standard communication interface.
One aspect of the present application provides a space flight measurement and control software integrated test framework system, including: the system comprises a bottom layer framework environment, a user operation terminal layer, a data processing terminal layer and a public interface layer; the bottom framework environment is used for bottom construction and system resource management of the aerospace measurement and control comprehensive test software so as to realize loading and unloading of modules in a user operation terminal layer, a data processing terminal layer and a public interface layer; the user operation terminal layer is used for providing a user interaction interface for measurement and control parameter configuration, measurement and control state display, test flow configuration and test parameter analysis; the data processing terminal layer is used for completing protocol conversion, data processing and data distribution; the public interface layer provides a public module for the user operation terminal layer and the data processing terminal layer, and loads the public module to the user operation terminal layer and the data processing terminal layer in a plug-in mode respectively.
Further, the bottom framework environment includes a plug-in loading unit, a bottom resource scheduling unit, and a platform compiler scheduling unit, where the plug-in loading unit is used to implement the plug-in loading form of the software module, the bottom resource scheduling unit is used to provide memory and resource scheduling, and the platform compiler scheduling unit is used to implement cross-platform compilation of the software.
Further, the user operation terminal layer comprises an operation interface module and an interface model module; the operation interface module is used for providing a basic interface and a user operation interface of the software and comprises a state display unit, a test interface display unit and a parameter configuration display unit; the interface model module is used for providing a module for displaying data for the operation interface module and comprises a data conversion unit and a view model unit.
Further, the public module comprises a data model module, a universal interface module and a communication module, wherein the data model module is used for defining the basic data structure of each data model and generating a data chain model according to the data type.
Further, the data model module comprises a data model unit and a protocol mapping unit, wherein the data model unit comprises a basic model, a chain module and a protocol mapping structure model; the universal interface module comprises a thread pool base class, a processing unit base class, a log unit, a public UI class and a public method class; the communication module is used for completing data communication between the user operation terminal layer, the data terminal layer and the baseband, and comprises a UDP network type and a TCP network type.
Further, the data processing terminal layer comprises a management and control interface module and a data service module; the control interface module inherits a public UI class in a public interface layer, realizes the layout and the structure of an interface under the current measurement and control system, and comprises a communication connection control unit and an instruction reading and writing unit; the data service module is used for realizing specific service logic of the current measurement and control system, mainly completes the functions of frame analysis and calculation, data distribution and authority control, and comprises a measurement and control frame data processing unit, a baseband frame data processing unit, a data distribution unit and an authority control unit.
Furthermore, the user operation terminal layer further comprises an interface expansion plug-in, wherein the interface expansion plug-in is used for realizing dynamic addition of a measurement and control operation interface and an interface model and comprises an expansion interface display unit, an expansion data conversion unit and an expansion view model unit; the data processing terminal layer further comprises a data service expansion plug-in, the data service expansion plug-in is used for realizing dynamic addition of a data model and a measurement and control task data processing flow and comprises an expansion data processing unit and an expansion data model unit.
The application also provides a method for operating the aerospace measurement and control comprehensive test software, which comprises the following steps: the data processing terminal distributes monitoring authority and master control authority to the user operation terminal, receives and analyzes the baseband frame sent by the measurement and control baseband, packages the analyzed baseband frame data into measurement and control frames and sends the measurement and control frames to the user operation terminal; the user operation terminal receives the measurement and control frame sent by the data processing terminal at regular time, completes the check and analysis of the measurement and control frame, updates the data model corresponding to the data model module in the common interface layer, converts the data model into a view model through a data conversion unit in the user operation terminal layer interface model module, and synchronously updates the interface according to the view model; the user operation terminal carries out parameter configuration and test task configuration according to monitoring authority and master control authority distributed by the data processing terminal so as to generate a measurement and control instruction frame, and sends the measurement and control instruction frame to the data processing terminal; and the data processing terminal also analyzes and packages the measurement and control instruction frame into a baseband instruction frame and sends the baseband instruction frame to the measurement and control baseband.
Further, before the data processing terminal allocates the monitoring right and the master control right to the user operation terminal, the method further includes: and the data processing terminal and the user operation terminal load the plug-in layers of the corresponding systems according to the measurement and control tasks, send an initialization configuration instruction of the current measurement and control task to the measurement and control baseband to complete baseband initialization, and establish connection with the measurement and control baseband according to the heartbeat packet.
Furthermore, the user operation terminal comprises a user operation terminal layer and a common interface layer, and the data processing terminal comprises a data processing terminal layer and a common interface layer.
Compared with the prior art, the application has the following beneficial effects:
(1) The software framework system uses a plug-in framework structure to strip the module from the framework, so that the coupling degree between the framework and the function is reduced. The realization of the software function is independently developed as a module, so that the software design scene with the constantly changing requirements of multi-system aerospace measurement and control tasks can be met, the software can be developed and loaded through an expanded plug-in layer, the software function is expanded, and meanwhile, the compiling and loading of the expanded plug-in do not relate to the main functions of the software, so that a secondary developer does not need to deeply understand aerospace measurement and control business knowledge, the secondary development difficulty is reduced, and the development period is shortened;
(2) The software system comprises a data processing terminal and user operation terminals, the two terminals can be carried on different platforms, a plurality of user operation terminal platforms can be built in a communication environment for simultaneous monitoring, and the requirements of high safety stability and high data processing capacity of the software are met through resource allocation of a thread pool and a high-performance algorithm of a processing module;
(3) The software communication environment that whole star tests are complicated can be adapted to by adopting the standard communication interface and the interface protocol, data and resource interaction can be carried out through the open standard communication interface and external software, and meanwhile, the communication mode can be added in a plug-in loading mode to adapt to different communication requirements.
Drawings
Fig. 1 is a schematic structural diagram of a aerospace measurement and control comprehensive test software framework system according to an embodiment of the present application;
fig. 2 is a schematic diagram of a distribution structure of aerospace measurement and control integrated test software according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a user operation terminal layer according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data processing terminal layer according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a specific common interface layer according to an embodiment of the present application;
fig. 6 is a flowchart of an operation method of aerospace measurement and control comprehensive test software according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of 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 of the present invention. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present application shall fall within the scope of protection of the present application.
The present application will now be described in further detail with reference to the drawings and detailed description.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a aerospace measurement and control comprehensive test software framework system provided in an embodiment of the present application, including: the system comprises a bottom framework environment, a user operation terminal layer, a data processing terminal layer and a public interface layer. The bottom layer framework environment is used for bottom layer construction and system resource management of the space flight measurement and control software to realize loading and unloading of modules in a user operation terminal layer, a data processing terminal layer and a public interface layer, and the concept of each layer in the application is a plug-in assembly taking a module unit as a unit. The user operation terminal layer is used for providing a user interaction interface for measurement and control parameter configuration, measurement and control state display, test process configuration and test parameter analysis. The data processing terminal layer is used for completing protocol conversion, data processing and data distribution, and the data comprises measurement and control frame data and baseband frame data. The common interface layer provides a common module for the user operation terminal layer and the data processing terminal layer, and loads the common module to the user operation terminal layer and the data processing terminal layer in a plug-in mode respectively, and the main functions comprise software basic functions of providing measurement and control data model definition, protocol analysis, terminal communication, thread management and the like.
Specifically, the bottom layer framework environment comprises a plug-in loading unit, a bottom layer resource scheduling unit and a platform compiler scheduling unit, wherein the plug-in loading unit is used for realizing a plug-in loading form of a software module; the bottom layer resource scheduling unit is used for providing memory management and resource scheduling and ensuring software operation; and the platform compiler scheduling unit is used for realizing cross-platform compilation of the software. All module plug-ins in the user operation terminal layer, the common interface layer and the data processing terminal layer are loaded by depending on the bottom frame environment, and the space flight measurement and control comprehensive test software platform is a foundation formed by the space flight measurement and control comprehensive test software platform.
For convenience of understanding, please refer to fig. 2 together, and fig. 2 is a schematic diagram of a distribution structure of an aerospace measurement and control integrated test software according to an embodiment of the present application. Specifically, the user operation terminal comprises a user operation terminal layer and a common interface layer, and the data processing terminal comprises a data processing terminal layer and a common interface layer. The data processing terminal and the measurement and control baseband carry out data interaction, and the plurality of user operation terminals carry out data interaction with the data processing terminal through the communication interface. The development software is divided into secondary development software and external software, the secondary development software is formed by modifying and adding development plug-ins through a data processing terminal and a user terminal and is used for realizing rapid change and iteration of software functions, the external software can be developed by a third party, and a communication protocol meets a measurement and control frame protocol and can be accessed to a measurement and control comprehensive test software system. Therefore, when the software function needs to be expanded, because the compiling of the expansion plug-in does not relate to the main function of the software, a secondary developer does not need to deeply understand the knowledge of the spaceflight measurement and control business, the secondary development difficulty is reduced, and the development period is shortened.
Fig. 3 to fig. 5 are schematic structural diagrams of a user operation terminal layer, a data processing terminal layer and a common interface layer according to an embodiment of the present disclosure. Referring to fig. 3, the user operation terminal layer includes an operation interface module and an interface model module. The operation interface module comprises a state display unit, a test interface display unit and a parameter configuration display unit, and is used for providing a basic interface and a user operation interface for basic software, wherein the basic interface inherits a public UI class in a public interface layer, so that the layout and the structure of the interface are realized, and a monitoring and testing window is mainly provided.
Specifically, the UI design of the state display unit is based on a state display base class in a common UI class in a common interface layer, the base class completes the basic construction and layout design of the UI and opens the display interfaces of a data display frame, an indicator light and an icon. The UI design of the test interface unit is based on a test UI base class in a common UI class in a common interface layer, the base class completes the basic construction and layout design of the UI and opens a test parameter configuration and test data display interface. And updating the content of the corresponding test data on the interface according to the data result after the test data measurement and control frame is analyzed. The design of the parameter configuration unit UI is based on the parameter configuration UI base class in the public UI class in the public interface layer, the base class completes the basic construction and layout design of the UI, provides different controls for setting according to the parameter types and opens a parameter filling interface. According to the instruction data class definition in the public plug-in layer, the UI interface of the current measurement and control system is completed by using the UI interface of the parameter configuration base class. The measurement and control system comprises a spread spectrum measurement and control system, a USB measurement and control system and a data transmission measurement and control system.
The interface model module is used for providing a module for displaying data for the operation interface module, and comprises a data conversion unit and a view model unit, wherein the data conversion unit converts a data model obtained after protocol analysis into a view model, the view model converts data attributes such as data type, content, range and the like of the data model into view attributes and stores the view attributes into the view model unit, and then the view model is mapped into each operation interface.
Referring to fig. 4, the data processing terminal layer includes a management and control interface module and a data service module. The control interface module comprises a communication connection control unit and an instruction reading and writing unit; inheriting to a public UI class in a public interface layer, and realizing the layout and the construction of an interface under the current measurement and control system. The communication connection control unit displays the network port opened by the data processing terminal and the network port of the connected user operation terminal based on the TCP network type in the common interface layer, and provides a management interface to control the network connection of the data processing terminal. The instruction reading and writing unit opens an instruction reading and writing window based on the reading and writing interfaces of the UDP network class and the TCP network class in the common interface layer, realizes the self-defined reading and writing of the instruction, and can be used for internal debugging and testing of software.
The data service module comprises a measurement and control frame data processing unit, a baseband frame data processing unit, a data distribution unit and an authority control unit. The system is used for realizing specific business logic of the current measurement and control system and mainly achieves the functions of frame analysis and calculation, data distribution and authority control. Specifically, the measurement and control frame data processing unit analyzes the measurement and control frame sent by the user operation terminal based on the definition of the data model module of the common interface layer on each measurement and control data to obtain the measurement and control frame data, and encapsulates the measurement and control frame sent to the user operation terminal. The baseband frame data processing unit analyzes the baseband frame sent by the measurement and control baseband to obtain baseband frame data based on a baseband frame protocol, and encapsulates the instruction sent to the measurement and control baseband. The data distribution unit records the IP and the port of each connection network port on the basis of a socket pointer linked list of TCP network types in a common interface layer, and the data processing terminal records the IP and the port of each connection network port; and after the baseband frame processing is finished, sending a measurement and control frame to each connected user operation terminal port. The authority control unit dynamically allocates monitoring/control authority of a user operation terminal at the data processing terminal based on the record of a socket pointer linked list of TCP network class in the common interface layer, and transmits data to all socket pointers, but only receives instructions transmitted by the sockets with control authority.
Furthermore, the user operation terminal layer also comprises an interface expansion plug-in, the interface expansion plug-in comprises an expansion interface display unit, an expansion data conversion unit and an expansion view model unit, and dynamic addition of the measurement and control operation interface and the interface model can be realized based on the plug-in, so that a multi-system difference interface is provided for a user. The data processing terminal layer further comprises a data service expansion plug-in, the data service expansion plug-in comprises an expansion data processing unit and an expansion data model unit, and dynamic addition of a data model and a measurement and control frame data processing flow can be achieved based on the plug-in.
Referring to fig. 5, the common interface layer provides a common module for the user operation terminal layer and the data processing terminal layer, and the common module includes a data model module, a common interface module, and a communication module. The data model module is used for defining a basic data structure of each data model, generating a data chain model according to data types, providing data structure definition, and calling the data chain model by the interface model module in the user operation terminal layer and the data service module in the data processing terminal layer.
Specifically, the data model module comprises a data model unit and a protocol mapping unit, wherein the data model unit comprises a basic model, a chain model and a protocol mapping structure model. Each base model is defined with a parameter class pointer and is created at software initialization. The basic model comprises all information of baseband parameters, including data type, name, data value, reserved decimal point digit and value range, and all information of the basic model is defined in the initialization process. Each basic model forms a chain model, and then the chain model is converted into a protocol mapping model according to a protocol mode defined by a protocol mapping unit so as to complete the generation and analysis of a communication protocol.
The protocol mapping unit provides a protocol conversion mode, and the encapsulation and the analysis of the protocol packet are completed through the sequencing sequence of the data chain model and the data type information of each basic model in the chain model.
The data model module aims to provide a management interface for the whole measurement and control parameter system, comprises all configuration parameters, state parameters and test parameters in the current measurement and control system, can inquire the attribute of each parameter, can automatically form a linked list only by finishing initialization according to the attribute when adding the parameter, and finishes framing and unframing, thereby greatly improving the development efficiency.
The universal interface module comprises a processing unit base class, a log unit, a common UI class, a common method class and a thread pool base class.
The thread pool base class is designed in a single instance class, is convenient to use in other modules and mainly comprises a timer, a processing module class pointer linked list and a thread pool processing class, a processing module class pointer is added from the outside through a module interface to the processing module class pointer linked list in the module, the trigger time of the timer is set through a setting interface of the timer, and finally the thread pool class completes thread resource allocation to the processing module class according to the frequency of the timer, so that each data processing process is completed in an independent thread, and the data processing efficiency is improved. Meanwhile, resources do not need to be manually allocated to the data processing module, and therefore development efficiency and safety are improved.
The processing unit base class runs in the thread pool class, and starts to perform a data processing flow after being allocated with thread resources. But the specific data processing flow is not completed, the data processing virtual function of the parent class needs to be reloaded according to the actual processing flow so as to complete the actual data processing requirement.
The log unit provides an interface for reading/writing logs and is used for recording data records and error reports of problems in the running process of the data processing terminal and the user operation terminal.
The public UI type is a universal module compatible with various measurement and control systems, and can realize the display of a basic interface; meanwhile, the consistency of UI interfaces in different measurement and control application scenes is guaranteed, and therefore the convenience of user operation and learning can be improved. The main frame interface is composed of a plurality of UI components, each component bar can be dragged, can be combined with other component bars into one bar, can be placed in four directions of other component bars, and can be independently suspended for display. The UI component comprises a general state interface, a general configuration interface, a general bit error rate interface and a general measurement interface. Different measurement and control systems are used for the operation terminal layer and can be directly called or inherited according to service requirements, so that the development efficiency is improved.
The common method class mainly encapsulates the general methods of the data processing terminal layer and the user operation terminal layer, and provides interfaces for each module to call.
The communication module comprises a UDP network class and a TCP network class. The communication module mainly completes data communication between the user operation terminal layer, the data processing terminal layer and the baseband, and the communication modes include, but are not limited to, UDP network communication and TCP network communication.
The UDP network class mainly includes three parts: a network transmit class, a network receive class, and a ring buffer class. The network sending class is bound with a local IP and a port and used for providing a writing instruction interface and issuing an instruction to the measurement and control baseband. The network receiving class is used for monitoring real-time data of the baseband network segment and the port and writing the real-time data into different ring buffers according to the type of the baseband frame. The ring buffer is used for guaranteeing the integrity of baseband data, and is provided with a thread lock to guarantee thread safety during multi-thread access.
The main functions of the TCP network class include: a single TCP server class package, a TCP server group class package, a single TCP client class package, and a TCP client group class package. The single TCP server class package mainly comprises a TcpServer server, a thread class, a read-write buffer area and a plurality of Socket pointers, wherein the number of the Socket pointers is determined by the number of user operation terminals. The TCP server is moved to a new thread by creating the thread and the TCP server, and when a new TCP client is connected/disconnected, the pointer and the address of the new TCP client are required to be recorded, and the read-write process of the new TCP client are stored in a read-write buffer area. With each TCP server specifying a type and port. The data processing terminal needs to perform data interaction with all connected user operation terminals, and compared with a UDP network class, a TCP network class has the characteristics of multiple ports and multiple objects, so that a TCP server group/TCP client group is used for completing the realization of a TCP network unit.
The TCP server group class provides a create/access/delete interface for a single TCP server class that can query TCP client information to which a single TCP server is connected. And meanwhile, interfaces for sending and reading instructions are provided for the server and the client.
The single TCP client class mainly comprises a client and a read-write buffer. The TCP client group class is composed of a plurality of TCP client classes and exists in the same thread, provides a creation/access/deletion interface of a single client class, and can inquire the IP and the port of the TCP server connected currently.
According to the method and the system, the software development process is simplified through the packaging and grouping form of the single TCP server and the client.
The embodiment of the present application further provides an operation method of an aerospace measurement and control comprehensive test software, based on the operation of the aerospace measurement and control comprehensive test software framework system described above, and fig. 6 is a flowchart of an operation method of an aerospace measurement and control comprehensive test software provided by the embodiment of the present application, the method includes the steps of:
s10, the data processing terminal distributes monitoring authority and master control authority to the user operation terminal, receives and analyzes a baseband frame sent by a measurement and control baseband, packages the analyzed baseband frame data into a measurement and control frame and sends the measurement and control frame to the user operation terminal;
s20: the user operation terminal receives the measurement and control frame sent by the data processing terminal at regular time, completes the check and analysis of the measurement and control frame, updates the data model corresponding to the data model module in the common interface layer, converts the data model into a view model through a data conversion unit in the user operation terminal layer interface model module, and synchronously updates the interface according to the view model;
s30: the user operation terminal carries out parameter configuration and test task configuration according to the monitoring authority and the master control authority distributed by the data processing terminal so as to generate a measurement and control instruction frame, and sends the measurement and control instruction frame to the data processing terminal; and the data processing terminal also analyzes and packages the measurement and control instruction frame into a baseband instruction frame and sends the baseband instruction frame to the measurement and control baseband.
In step S10, before the data processing terminal allocates the monitoring right and the master control right to the user operation terminal, the method further includes: and the data processing terminal and the user operation terminal load the plug-in layers of the corresponding systems according to the measurement and control tasks, send initialization configuration instructions of the current measurement and control tasks to the measurement and control baseband to complete baseband initialization, and establish connection with the measurement and control baseband according to the heartbeat packet.
Specifically, the user operation terminal comprises a user operation terminal layer and a common interface layer, and the data processing terminal comprises a data processing terminal layer and a common interface layer. The data processing terminal and the measurement and control base band carry out data interaction, and the plurality of user operation terminals carry out data interaction with the data processing terminal through the communication interfaces.
Compared with the prior art, the aerospace measurement and control comprehensive test software framework system and the operation method thereof have the following beneficial effects:
(1) The software framework system uses a plug-in framework structure to strip the module from the framework, and the coupling degree between the framework and the function is reduced. The realization of the software function is independently developed as a module, so that the software design scene with the constantly changing requirements of multi-system aerospace measurement and control tasks can be met, the software can be developed and loaded through an expanded plug-in layer, the software function is expanded, and meanwhile, the compiling and loading of the expanded plug-in do not relate to the main functions of the software, so that a secondary developer does not need to deeply understand the business knowledge of aerospace, the secondary development difficulty is reduced, and the development period is shortened;
(2) The software system comprises a data processing terminal and user operation terminals, the two terminals can be carried on different platforms, a plurality of user operation terminal platforms can be built in a communication environment for simultaneous monitoring, and the requirements of high safety stability and high data processing capacity of the software are met through resource allocation of a thread pool and a high-performance algorithm of a processing module;
(3) The software communication environment that this application adopted standard communication interface and interface protocol, can adapt to whole star test complicacy, can carry out data, resource interaction through open standard communication interface and external software, can add communication mode in order to adapt to different communication demands through the form of loading plug-in simultaneously.
Although the present application has been described with reference to preferred embodiments, it is not intended to limit the present application. Those skilled in the art can make numerous possible variations and modifications to the disclosed solution, or modify equivalent embodiments to equivalent variations, without departing from the scope of the solution, using the teachings disclosed above. Therefore, any simple modification, equivalent change and modification of the above embodiments according to the technical essence of the present application shall fall within the protection scope of the technical solution of the present application, unless it departs from the content of the technical solution of the present application.

Claims (9)

1. The space flight measurement and control comprehensive test software framework system is characterized by comprising: the system comprises a bottom framework environment, a user operation terminal layer, a data processing terminal layer and a public interface layer; the bottom framework environment is used for bottom construction and system resource management of the aerospace measurement and control comprehensive test software so as to realize loading and unloading of modules in a user operation terminal layer, a data processing terminal layer and a public interface layer; the user operation terminal layer is used for providing a user interaction interface for measurement and control parameter configuration, measurement and control state display, test flow configuration and test parameter analysis, and comprises an operation interface module, an interface model module and an interface expansion plug-in, wherein the interface expansion plug-in is used for realizing dynamic addition of a measurement and control operation interface and an interface model and comprises an expansion interface display unit, an expansion data conversion unit and an expansion view model unit; the data processing terminal layer is used for completing protocol conversion, data processing and data distribution, and comprises a control interface module, a data service module and a data service expansion plug-in, wherein the data service expansion plug-in is used for realizing dynamic addition of a data model and a measurement and control task data processing flow and comprises an expansion data processing unit and an expansion data model unit; the common interface layer provides a common module for the user operation terminal layer and the data processing terminal layer, and loads the common module to the user operation terminal layer and the data processing terminal layer respectively in a plug-in mode, the common module comprises a data model module, a common interface module and a communication module, the common interface module comprises a thread pool base class, and the thread pool base class adds a processing module class from the outside and completes thread resource allocation to the processing module class.
2. The space flight measurement and control integrated test software framework system according to claim 1, wherein the bottom framework environment comprises a plug-in loading unit, a bottom resource scheduling unit and a platform compiler scheduling unit, the plug-in loading unit is used for realizing the plug-in loading form of the software module, the bottom resource scheduling unit is used for providing memory and resource scheduling, and the platform compiler scheduling unit is used for realizing cross-platform compilation of the software.
3. The aerospace measurement and control comprehensive test software framework system according to claim 1, wherein the operation interface module is used for providing a basic interface and a user operation interface of the software, and comprises a state display unit, a test interface display unit and a parameter configuration display unit; the interface model module is used for providing a module for displaying data for the operation interface module and comprises a data conversion unit and a view model unit.
4. The space flight measurement and control integrated test software framework system according to claim 1, wherein the data model module is configured to define a basic data structure of each data model and generate a data chain model according to a data type.
5. The space flight measurement and control comprehensive test software framework system according to claim 4, wherein the data model module comprises a data model unit and a protocol mapping unit, wherein the data model unit comprises a basic model, a chain module and a protocol mapping structure model; the processing unit base class, the log unit, the common UI class and the common method class; the communication module is used for completing data communication between the user operation terminal layer, the data terminal layer and the baseband, and comprises a UDP network type and a TCP network type.
6. The aerospace measurement and control comprehensive test software framework system according to claim 5, wherein the control interface module inherits a common UI class in a common interface layer and realizes layout and construction of an interface under a current measurement and control system, and the control interface module comprises a communication connection control unit and an instruction reading and writing unit; the data service module is used for realizing specific service logic of the current measurement and control system, mainly completes the functions of frame analysis and calculation, data distribution and authority control, and comprises a measurement and control frame data processing unit, a baseband frame data processing unit, a data distribution unit and an authority control unit.
7. An operation method of aerospace measurement and control comprehensive test software, which is operated based on the aerospace measurement and control comprehensive test software framework system of any one of claims 1 to 6, and is characterized by comprising the following steps: the data processing terminal distributes monitoring authority and master control authority to the user operation terminal, receives and analyzes a baseband frame sent by the measurement and control baseband, packages the analyzed baseband frame data into a measurement and control frame and sends the measurement and control frame to the user operation terminal;
the user operation terminal receives the measurement and control frame sent by the data processing terminal at regular time, completes the check and analysis of the measurement and control frame, updates the data model corresponding to the data model module in the common interface layer, converts the data model into a view model through a data conversion unit in the user operation terminal layer interface model module, and synchronously updates the interface according to the view model;
the user operation terminal carries out parameter configuration and test task configuration according to monitoring authority and master control authority distributed by the data processing terminal so as to generate a measurement and control instruction frame, and sends the measurement and control instruction frame to the data processing terminal; and the data processing terminal also analyzes and packages the measurement and control instruction frame into a baseband instruction frame and sends the baseband instruction frame to the measurement and control baseband.
8. The operating method of the space flight measurement and control comprehensive test software according to claim 7, wherein before the data processing terminal allocates the monitoring right and the main control right to the user operation terminal, the method further comprises the following steps: and the data processing terminal and the user operation terminal load the plug-in layers of the corresponding systems according to the measurement and control tasks, send initialization configuration instructions of the current measurement and control tasks to the measurement and control baseband to complete baseband initialization, and establish connection with the measurement and control baseband according to the heartbeat packet.
9. The method according to claim 7, wherein the user operation terminal comprises a user operation terminal layer and a common interface layer, and the data processing terminal comprises a data processing terminal layer and a common interface layer.
CN202210782266.0A 2022-07-05 2022-07-05 Aerospace measurement and control comprehensive test software framework system and operation method Active CN114880249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210782266.0A CN114880249B (en) 2022-07-05 2022-07-05 Aerospace measurement and control comprehensive test software framework system and operation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210782266.0A CN114880249B (en) 2022-07-05 2022-07-05 Aerospace measurement and control comprehensive test software framework system and operation method

Publications (2)

Publication Number Publication Date
CN114880249A CN114880249A (en) 2022-08-09
CN114880249B true CN114880249B (en) 2022-10-04

Family

ID=82683439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210782266.0A Active CN114880249B (en) 2022-07-05 2022-07-05 Aerospace measurement and control comprehensive test software framework system and operation method

Country Status (1)

Country Link
CN (1) CN114880249B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115041429B (en) * 2022-08-15 2023-01-31 中国电子科技集团公司第三十研究所 Multi-variety mixed line testing device and method for communication module products
CN115904544A (en) * 2022-12-27 2023-04-04 哈尔滨工大卫星技术有限公司 Plug-in digital satellite system and management method and medium thereof
CN117170771B (en) * 2023-11-01 2024-02-13 中国电子科技集团公司第十五研究所 Plug-in development method and system for various data transmission

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994026558A1 (en) * 1993-05-07 1994-11-24 Oztech Industries Pty. Limited Vehicle communication/control system
US7415329B2 (en) * 2004-11-01 2008-08-19 Ses Americom, Inc. System and method of providing N-tiered enterprise/web-based management, procedure coordination, and control of a geosynchronous satellite fleet
ITRM20050348A1 (en) * 2005-06-30 2007-01-01 Finmeccanica Spa MULTI-PROTOCOL PROGRAMMABLE USER TERMINAL FOR SATELLITE TELECOMMUNICATION NETWORKS.
US9032518B2 (en) * 2011-10-17 2015-05-12 New Mexico Technical Research Foundation Internet monitoring and alerting system
DE102012023395A1 (en) * 2012-11-29 2014-06-05 Eads Deutschland Gmbh Interface device and method for exchanging user data
US9219647B2 (en) * 2013-03-15 2015-12-22 Eyecam, LLC Modular device and data management system and gateway for a communications network
CN108230077A (en) * 2016-12-21 2018-06-29 北京嘀嘀无限科技发展有限公司 The reservation vehicle display methods and device of mobile network appliance
CN108460216B (en) * 2018-03-12 2021-09-10 中国人民解放军国防科技大学 Spacecraft measurement and control coverage analysis design platform
EP4030318A1 (en) * 2019-04-02 2022-07-20 Bright Data Ltd. System and method for managing non-direct url fetching service
CN110736396B (en) * 2019-10-24 2020-11-06 中国人民解放军32181部队 Missile testing system
CN112328215B (en) * 2020-10-30 2023-12-19 西南电子技术研究所(中国电子科技集团公司第十研究所) Integrated comprehensive operation management system of aerospace measurement and control data transmission comprehensive equipment
CN112966906B (en) * 2021-02-10 2023-10-17 西南电子技术研究所(中国电子科技集团公司第十研究所) Centralized monitoring platform of spacecraft ground measurement and control station resource pool architecture
CN215769426U (en) * 2021-08-18 2022-02-08 湖北三江航天万峰科技发展有限公司 Multi-bus intelligent test and launch control device
CN114518584B (en) * 2021-12-29 2023-10-17 北京空间飞行器总体设计部 Automatic testing system for batch production satellite performance

Also Published As

Publication number Publication date
CN114880249A (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN114880249B (en) Aerospace measurement and control comprehensive test software framework system and operation method
CN111542064B (en) Container arrangement management system and arrangement method for wireless access network
WO2019095936A1 (en) Method and system for building container mirror image, and server, apparatus and storage medium
CN109308224B (en) Cross-platform data communication and cross-platform data processing method, device and system
US7047176B2 (en) Method and system for hardware simulation
US6074427A (en) Apparatus and method for simulating multiple nodes on a single machine
CN101887379B (en) Virtual network card-based wireless channel simulation method
CN108460199B (en) CNI modeling system
US20100162230A1 (en) Distributed computing system for large-scale data handling
CN107612962B (en) Distributed simulation evaluation test management system
CN105701005B (en) Application framework test method based on OSGI and system
US20190087075A1 (en) Simulation of cloud platform integration testing in a visual interface
CN111507020A (en) Graphical display method for distributed simulation results of electromechanical systems of multi-electric aircraft
CN109697159A (en) A kind of development of automation operational system based on mixing cloud platform
CN112256406B (en) Operation flow platformization scheduling method
CN114422010B (en) Protocol testing method of satellite communication simulation platform based on network virtualization
CN113504902A (en) Industrial APP integrated development system and related equipment
CN109445323A (en) A kind of distributed intelligence TT&C software platform designing method based on WEB
CN114707236A (en) Model-based virtual-real combined simulation test method
CN110717268B (en) Portable component unit packaging method based on FACE architecture
CN108833005B (en) Optical network communication equipment and automatic test kit and method for networking service thereof
US20230185595A1 (en) Method for realizing live migration, chip, board, and storage medium
CN104063231A (en) Test resource rapid access method based on HIT-TENA
CN116302973A (en) Avionics task software host interface test and simulation system
CN116502437A (en) Signal-level simulation platform clouding method based on cloud+end architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant