CN114880249A - 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
CN114880249A
CN114880249A CN202210782266.0A CN202210782266A CN114880249A CN 114880249 A CN114880249 A CN 114880249A CN 202210782266 A CN202210782266 A CN 202210782266A CN 114880249 A CN114880249 A CN 114880249A
Authority
CN
China
Prior art keywords
control
measurement
data
interface
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210782266.0A
Other languages
Chinese (zh)
Other versions
CN114880249B (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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

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 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 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 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.
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 also 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, 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 application also provides a space flight measurement and control comprehensive test software operation method, 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.
This application compares in prior art has following beneficial effect:
(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 used as a module to develop independently, which not only can meet the software design scene that the requirement of multi-system spaceflight measurement and control tasks changes continuously, but also can develop and load software by expanding a plug-in layer, and expand the software function, and meanwhile, because the compiling and loading of the expanding plug-in do not relate to the main function of the software, a secondary developer does not need to deeply understand the knowledge of spaceflight measurement and control services, 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.
Drawings
Fig. 1 is a schematic structural diagram of a space measurement and control integrated test software framework system provided in 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 the space 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 space flight 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 framework environment is used for bottom construction and system resource management of the space 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 framework environment comprises a plug-in loading unit, a bottom resource scheduling unit and a platform compiler scheduling unit, wherein the plug-in loading unit is used for realizing a software module plug-in loading form; the bottom layer resource scheduling unit is used for providing memory management and resource scheduling and ensuring software operation; 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, the secondary developer does not need to deeply understand the aerospace measurement and control business knowledge because the compiling of the expansion plug-in does not relate to the main function of the software, 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 UI design of the parameter configuration unit is based on a UI base class configured by parameters in a common UI class in a common 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 of the data model such as data type, content and range 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 class 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 method is used for realizing specific service logic of the current measurement and control system and mainly completing 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 connected 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 connected 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 a measurement and control operation interface and an 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 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 the baseband parameters, including data type, name, data value, reserved decimal point digit and value range, and all the 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, the attribute of each parameter can be inquired, and when the parameter is added, the initialization is completed according to the attribute of each parameter, so that a linked list can be automatically formed, and the framing and the unframing are completed, and the development efficiency is greatly improved.
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 as a single instance class, is convenient to use in other modules and mainly comprises a timer, a processing module class pointer chain table and a thread pool processing class, the processing module class pointer is added from the outside through a module interface and is added to the processing module class pointer chain table 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 as to ensure that each data processing process is completed in an independent thread and improve the data processing efficiency. 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 finished, the data processing virtual function of the father class needs to be reloaded according to the actual processing flow so as to finish 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 used successively according to business requirements so as to improve development efficiency.
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 a baseband network segment and a port and writing the real-time data into different ring buffer areas according to the type of a 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, 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 which is 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 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;
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 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.
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.
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 spirit of the present application shall fall within the protection scope of the technical solution of the present application.

Claims (10)

1. The space flight measurement and control comprehensive test software framework system is characterized by comprising: 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 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.
2. The space flight measurement and control integrated test software framework system according to claim 1, wherein the underlying framework environment comprises a plug-in loading unit, an underlying 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 underlying 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 space flight measurement and control comprehensive test software framework system according to claim 1, wherein 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.
4. The space flight measurement and control comprehensive test software framework system according to claim 1, wherein the common module comprises a data model module, a universal interface module and a communication module, and the data model module is used for defining a basic data structure of each data model and generating a data chain model according to data types.
5. The space flight measurement and control integrated 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 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.
6. The aerospace measurement and control comprehensive test software framework system according to claim 5, wherein the data processing terminal layer includes a management and control interface module and a data service module; the control interface module inherits a public UI (user interface) 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.
7. The aerospace measurement and control comprehensive test software framework system according to claim 3 or 6, wherein the user operation terminal layer further comprises an interface expansion plug-in, 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, 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.
8. An operation method of aerospace measurement and control comprehensive test software 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 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.
9. The operating method of the space flight measurement and control comprehensive test software according to claim 8, 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 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.
10. The method according to claim 8, 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 true CN114880249A (en) 2022-08-09
CN114880249B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115041429A (en) * 2022-08-15 2022-09-13 中国电子科技集团公司第三十研究所 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
CN117170771A (en) * 2023-11-01 2023-12-05 中国电子科技集团公司第十五研究所 Plug-in development method and system for various data transmission

Citations (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
US20060094351A1 (en) * 2004-11-01 2006-05-04 Ses Americom, Inc. System and method of providing N-tiered enterprise/web-based management, procedure coordination, and control of a geosynchronous satellite fleet
WO2007004247A1 (en) * 2005-06-30 2007-01-11 Finmeccanica S.P.A. Multi-protocol programmable user terminal for telecommunication satellite networks
US20130326616A1 (en) * 2011-10-17 2013-12-05 New Mexico Technical Research Foundation Internet Monitoring and Alerting System
US20140269425A1 (en) * 2013-03-15 2014-09-18 Eyecam, LLC Modular device and data management system and gateway for a communications network
US20160056905A1 (en) * 2012-11-29 2016-02-25 Airbus Defence and Space GmbH Interface Device and Method for Exchanging User Data
US20180174332A1 (en) * 2016-12-21 2018-06-21 Beijing Didi Infinity Technology And Development C O., Ltd. Systems and methods for displaying vehicle information for on-demand services
CN108460216A (en) * 2018-03-12 2018-08-28 中国人民解放军国防科技大学 Spacecraft measurement and control coverage analysis design platform
CN110736396A (en) * 2019-10-24 2020-01-31 中国人民解放军32181部队 Missile testing system
CN112328215A (en) * 2020-10-30 2021-02-05 西南电子技术研究所(中国电子科技集团公司第十研究所) Integrated comprehensive operation management framework of aerospace measurement and control data transmission comprehensive equipment
CN112966906A (en) * 2021-02-10 2021-06-15 西南电子技术研究所(中国电子科技集团公司第十研究所) 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
US20220103525A1 (en) * 2019-04-02 2022-03-31 Bright Data Ltd. System and method for managing non-direct url fetching service
CN114518584A (en) * 2021-12-29 2022-05-20 北京空间飞行器总体设计部 Automatic test system for satellite performance in batches

Patent Citations (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
US20060094351A1 (en) * 2004-11-01 2006-05-04 Ses Americom, Inc. System and method of providing N-tiered enterprise/web-based management, procedure coordination, and control of a geosynchronous satellite fleet
WO2007004247A1 (en) * 2005-06-30 2007-01-11 Finmeccanica S.P.A. Multi-protocol programmable user terminal for telecommunication satellite networks
US20130326616A1 (en) * 2011-10-17 2013-12-05 New Mexico Technical Research Foundation Internet Monitoring and Alerting System
US20160056905A1 (en) * 2012-11-29 2016-02-25 Airbus Defence and Space GmbH Interface Device and Method for Exchanging User Data
US20140269425A1 (en) * 2013-03-15 2014-09-18 Eyecam, LLC Modular device and data management system and gateway for a communications network
US20180174332A1 (en) * 2016-12-21 2018-06-21 Beijing Didi Infinity Technology And Development C O., Ltd. Systems and methods for displaying vehicle information for on-demand services
CN108460216A (en) * 2018-03-12 2018-08-28 中国人民解放军国防科技大学 Spacecraft measurement and control coverage analysis design platform
US20220103525A1 (en) * 2019-04-02 2022-03-31 Bright Data Ltd. System and method for managing non-direct url fetching service
CN110736396A (en) * 2019-10-24 2020-01-31 中国人民解放军32181部队 Missile testing system
CN112328215A (en) * 2020-10-30 2021-02-05 西南电子技术研究所(中国电子科技集团公司第十研究所) Integrated comprehensive operation management framework of aerospace measurement and control data transmission comprehensive equipment
CN112966906A (en) * 2021-02-10 2021-06-15 西南电子技术研究所(中国电子科技集团公司第十研究所) 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
CN114518584A (en) * 2021-12-29 2022-05-20 北京空间飞行器总体设计部 Automatic test system for satellite performance in batches

Non-Patent Citations (9)

* Cited by examiner, † Cited by third party
Title
付伟达等: "小卫星测控的模块化自动测试系统构建", 《航天器工程》 *
刘燕都等: "基于通用计算机的基带信号处理系统实时性分析", 《无线电工程》 *
吕殿君等: "航天运输系统快速测试及其关键技术研究", 《电子测试》 *
文永明等: "航空设备通用自动测试平台研究", 《计算机测量与控制》 *
王守斌等: "通用数据采集的运行管理", 《测控技术》 *
盛利: "《基于UWB 技术的无人机室内飞行测试平台设计》", 《传感器与微系统》 *
童艳等: "测控数据实时监测软件设计方法研究", 《计算机测量与控制》 *
苏春梅等: "基于XML的通用数据接口测试工具", 《兵工自动化》 *
马贤颖: "《航天测控系统遥控软件自动化测试仿真平台研究》", 《系统仿真学报》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115041429A (en) * 2022-08-15 2022-09-13 中国电子科技集团公司第三十研究所 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
CN117170771A (en) * 2023-11-01 2023-12-05 中国电子科技集团公司第十五研究所 Plug-in development method and system for various data transmission
CN117170771B (en) * 2023-11-01 2024-02-13 中国电子科技集团公司第十五研究所 Plug-in development method and system for various data transmission

Also Published As

Publication number Publication date
CN114880249B (en) 2022-10-04

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
CN109308224B (en) Cross-platform data communication and cross-platform data processing method, device and system
WO2019095936A1 (en) Method and system for building container mirror image, and server, apparatus and storage medium
CN107566541A (en) Capacitor network resource allocation methods, system, storage medium and electronic equipment
CN111507020A (en) Graphical display method for distributed simulation results of electromechanical systems of multi-electric aircraft
CN113504902B (en) Industrial APP integrated development system and related equipment
CN109697159A (en) A kind of development of automation operational system based on mixing cloud platform
CN108460199A (en) CNI modelings
CN110717268B (en) Portable component unit packaging method based on FACE architecture
CN115185631A (en) World integrated twinning simulation system and method
CN109445323A (en) A kind of distributed intelligence TT&C software platform designing method based on WEB
CN112256406B (en) Operation flow platformization scheduling method
CN109783340A (en) Test code programming method, IP test method and the device of SoC
CN116263694A (en) Warehouse cluster deployment method and device and computing equipment
CN112486807A (en) Pressure testing method and device, electronic equipment and readable storage medium
CN114707242A (en) Universal airborne data bus monitoring and testing software framework design method
CN104063231A (en) Test resource rapid access method based on HIT-TENA
CN117787001A (en) Avionics system simulation verification platform construction method based on FACE architecture
Chang et al. Function-class decomposition: A hybrid software engineering method
CN109669793B (en) Object calling method in middleware process
CN116192670A (en) Environment deployment method, device, equipment and medium
CN116302973A (en) Avionics task software host interface test and simulation system
CN114860401A (en) Heterogeneous cloud desktop scheduling system, method, service system, device and medium
CN114020359A (en) Distributed platform integration method based on plug-in

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