Design methods, devices, electronic equipment and media for visualization of spacecraft platforms

By designing a visual display method for the spacecraft platform and using display files and component dynamic adjustment technology, the problem of being unable to visually display the operating status of the spacecraft subsystem in the existing technology has been solved, and efficient parameter determination and analysis efficiency have been improved.

CN114707196BActive Publication Date: 2024-09-24CHINA ELECTRONICS CORP 6TH RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210456235.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-27
Publication Date
2024-09-24
Estimated Expiration
2042-04-27

AI Technical Summary

Technical Problem

The current display method of the whole system of the spacecraft platform is presented in the form of curves and tables, which cannot meet the intuitive, efficient and diversified display requirements, affects work efficiency, and makes it difficult to intuitively judge the operating status of each subsystem/subsystem.

Method used

Design the visual display method of the spacecraft platform. By loading the display file corresponding to the parameter query requirements, filtering and adjusting the display form of the components to be displayed, intuitively display the acquisition parameters of each subsystem, generate sub-display files, and according to the range of the acquisition parameters Determine the component layout and display form, and implement dynamic updating of components and generation of alarm information.

Benefits of technology

It improves the efficiency of spacecraft parameter determination and sub-system analysis, enables intuitive display of the operating status of each sub-system, meets diversified display needs, and improves the intuitiveness of the monitoring page.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114707196B
    Figure CN114707196B
Patent Text Reader

Abstract

The present application provides a design method, device, electronic device and medium for visualization of a spacecraft platform. According to the acquired parameter query requirements, a display file corresponding to the parameter query requirements is loaded; based on the parameter query requirements, a target display component is screened out from at least one component to be displayed included in the display file, and acquisition parameters corresponding to the target display component are acquired from the acquisition interface according to a preset period; according to the acquisition parameters, a target display form of the target display component is determined, and the target display component is controlled to display according to the target display form. The technical solution provided by the present application can be used to design display files for each subsystem of the spacecraft platform, display the acquisition parameters of the components to be displayed in the display files according to the corresponding display forms, and intuitively display the acquisition parameters of each subsystem, thereby directly acquiring the operating status of each subsystem, and improving the efficiency of determining spacecraft parameters and analyzing each subsystem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of spacecraft technology, and in particular to a design method, device, electronic equipment and storage medium for visualization of a spacecraft platform. Background Art

[0002] The subsystems of a spacecraft platform generally include structure, thermal control, control, measurement and control, propulsion, energy, and payload, etc., and are characterized by multiple subsystems, large amounts of information, complex content, and diverse display requirements. The spacecraft platform block diagram design and display device is used to configure the full system logic block diagram of the spacecraft platform, collect information from each subsystem, and display the principles and status of each subsystem in an intuitive manner. By obtaining the principles and status of each subsystem, the performance and operating status of the spacecraft are monitored.

[0003] At present, the whole system of the spacecraft platform mainly presents the status of each subsystem of the spacecraft platform in the form of curves and tables, which cannot meet the requirements of intuitive, efficient and diversified display. It is impossible to intuitively judge the operating status of each subsystem / subsystem based on the form of curves and tables, which affects work efficiency. Therefore, how to design a visual interface for the whole system of the spacecraft platform, improve the intuitiveness of the monitoring page, and thus improve the efficiency of determining spacecraft parameters has become an urgent problem to be solved. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a method, device, electronic device and storage medium for the visualization of a spacecraft platform, which can design display files for each subsystem of the spacecraft platform, filter out corresponding components to be displayed in the display files according to parameter query requirements, display the acquisition parameters of the components to be displayed in the corresponding display form, and intuitively display the acquisition parameters of each subsystem, so as to directly obtain the operating status of each subsystem, thereby improving the efficiency of determining spacecraft parameters and analyzing each subsystem.

[0005] This application mainly includes the following aspects:

[0006] In a first aspect, an embodiment of the present application provides a visual design method for a spacecraft platform, the design method comprising:

[0007] According to the acquired parameter query requirement, a display file corresponding to the parameter query requirement is loaded; wherein the display file includes at least one component to be displayed, the component to be displayed is used to display the acquisition parameters corresponding to the parameter query requirement, and the display form of the component to be displayed is adjusted according to the corresponding acquisition parameters;

[0008] Based on the parameter query requirement, a target display component is screened out from at least one component to be displayed included in the display file, and acquisition parameters corresponding to the target display component are acquired from an acquisition interface according to a preset period;

[0009] According to the acquisition parameters, the target display form of the target display component is determined, and the target display component is controlled to display according to the target display form.

[0010] Furthermore, before loading the display file corresponding to the parameter query requirement according to the acquired parameter query requirement, the design method further includes:

[0011] According to the structure of each subsystem inside the spacecraft, determining at least one component to be displayed constituting each subsystem;

[0012] For each subsystem, according to at least one component to be displayed of the subsystem and the determined display forms of each component to be displayed, a sub-display file corresponding to the subsystem is generated;

[0013] Determine the display file based on the sub-display files of each subsystem.

[0014] Furthermore, for each subsystem, according to at least one component to be displayed of the subsystem and the determined display forms of each component to be displayed, a sub-display file corresponding to the subsystem is generated:

[0015] According to the system principle of the subsystem, determine the layout structure of the components to be displayed under the subsystem;

[0016] Determine the display form of each component to be displayed based on the range of the acquisition parameters corresponding to each component to be displayed;

[0017] After defining and encapsulating the attributes of each component to be displayed according to the display form of each component to be displayed and the layout structure of the component to be displayed, a sub-display file is generated.

[0018] Further, the layout structure of the components to be displayed is determined by the following steps:

[0019] Detect whether the distance between the components to be displayed that need to be connected is less than a preset distance threshold;

[0020] If the distance is less than the preset distance threshold, the components to be displayed that need to be connected are combined, and the distance detection of the next component to be displayed that needs to be connected is continued;

[0021] If the distance is not less than the preset distance threshold, the position of any of the components to be displayed is moved and updated to determine that the distance between the components to be displayed that need to be connected is less than the preset distance threshold, the components to be displayed are connected, and the distance detection of the next component to be displayed that needs to be connected is continued.

[0022] Furthermore, the design method also includes:

[0023] Obtain update instructions for each subsystem structure inside the spacecraft;

[0024] According to the update instruction, determine the components to be updated that need to be updated;

[0025] Performing an update process on the components to be updated that need to be updated, and determining the updated components to be displayed;

[0026] Based on the updated component to be displayed, the display file is updated.

[0027] Furthermore, the design method also includes:

[0028] Acquire a target display form of a target display component according to a predetermined period;

[0029] According to the target display form, determining whether the acquisition parameters corresponding to the target display component meet the alarm condition;

[0030] If it is reached, an alarm message is generated to give an alarm, and a fault analysis is performed on each subsystem of the spacecraft according to the collected parameters;

[0031] If not reached, continue to obtain acquisition parameters according to the predetermined period to display the target display component.

[0032] In a second aspect, an embodiment of the present application further provides a visual design device for a spacecraft platform, the design device comprising:

[0033] A loading module, used to load a display file corresponding to the parameter query requirement according to the acquired parameter query requirement; wherein the display file includes at least one component to be displayed, the component to be displayed is used to display the acquisition parameters corresponding to the parameter query requirement, and the display form of the component to be displayed is adjusted according to the corresponding acquisition parameters;

[0034] A processing module, configured to filter out a target display component from at least one component to be displayed included in the display file based on the parameter query requirement, and obtain acquisition parameters corresponding to the target display component from an acquisition interface according to a preset period;

[0035] The display module is used to determine the target display form of the target display component according to the acquisition parameters, and control the target display component to display according to the target display form.

[0036] Furthermore, the design device further includes a design module, and the design module is used to:

[0037] According to the structure of each subsystem inside the spacecraft, determining at least one component to be displayed constituting each subsystem;

[0038] For each subsystem, according to at least one component to be displayed of the subsystem and the determined display forms of each component to be displayed, a sub-display file corresponding to the subsystem is generated;

[0039] Determine the display file based on the sub-display files of each subsystem.

[0040] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned method for visualizing a spacecraft platform are performed.

[0041] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned method for visualizing a spacecraft platform are executed.

[0042] An embodiment of the present application provides a design method, device, electronic device and storage medium for visualization of a spacecraft platform. The design method includes: loading a display file corresponding to an acquired parameter query requirement according to the acquired parameter query requirement; wherein the display file includes at least one component to be displayed, the component to be displayed is used to display acquisition parameters corresponding to the parameter query requirement, and the display form of the component to be displayed is adjusted according to the corresponding acquisition parameters; based on the parameter query requirement, a target display component is screened out from the at least one component to be displayed included in the display file, and the acquisition parameters corresponding to the target display component are acquired from an acquisition interface according to a preset period; according to the acquisition parameters, a target display form of the target display component is determined, and the target display component is controlled to display according to the target display form.

[0043] In this way, the technical solution provided by the present application can be used to design display files for each subsystem of the spacecraft platform, filter out corresponding components to be displayed in the display files according to parameter query requirements, and display the acquisition parameters of the components to be displayed in the corresponding display format, thereby intuitively displaying the acquisition parameters of each subsystem, and then directly obtaining the operating status of each subsystem, thereby improving the efficiency of determining spacecraft parameters and analyzing each subsystem.

[0044] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 A flow chart of a method for visualizing a spacecraft platform provided in an embodiment of the present application is shown;

[0047] Figure 2 A flowchart showing another method for visualizing a spacecraft platform provided in an embodiment of the present application is shown;

[0048] Figure 3 A schematic diagram of a design system provided in an embodiment of the present application is shown;

[0049] Figure 4 One of the structural schematic diagrams of a visual design device for a spacecraft platform provided in an embodiment of the present application is shown;

[0050] Figure 5 A second structural schematic diagram of a visual design device for a spacecraft platform provided in an embodiment of the present application is shown;

[0051] Figure 6 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0052] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art, under the guidance of the content of the present application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.

[0053] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0054] In order to enable those skilled in the art to use the contents of this application, the following implementation methods are given in combination with the specific application scenario "design of spacecraft platform". For those skilled in the art, the general principles defined here can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application.

[0055] The following methods, devices, electronic devices or computer-readable storage media of the embodiments of the present application can be applied to any scenario requiring the design of a spacecraft platform. The embodiments of the present application are not limited to specific application scenarios. Any scheme using a method, device, electronic device and storage medium for visualizing a spacecraft platform provided by the embodiments of the present application is within the protection scope of the present application.

[0056] It is worth noting that the spacecraft platform subsystems generally include structure, thermal control, control, measurement and control, propulsion, energy, payload, etc., with the characteristics of multiple subsystems, large amount of information, complex content, and diversified display requirements; the spacecraft full system platform is used to configure the logic block diagram of the spacecraft full system, collect information on various aerospace subsystems and display the principles and status of each subsystem in an intuitive way, and monitor the performance and operation status of the spacecraft through the principles and status of each subsystem obtained. The existing system is generally developed in C# or .Net on the Windows system, and mainly presents the status of each subsystem of the spacecraft in the form of curves and tables.

[0057] At present, with the rapid development of my country's aerospace industry, the command display software developed on the Windows system is not only difficult to meet the requirements of high real-time performance and large amount of information, but also unable to meet the requirements of portability and is not adapted to the new software architecture requirements of the measurement and control system; in addition, the entire system of the spacecraft platform mainly presents the status of each subsystem of the spacecraft platform in the form of curves and tables, which cannot meet the requirements of intuitive, efficient and diversified display, and cannot intuitively judge the operating status of each subsystem / subsystem based on the form of curves, tables, etc., which affects work efficiency. Therefore, how to design a visual interface for the entire system of the spacecraft platform, improve the intuitiveness of the monitoring page, and thus improve the efficiency of determining spacecraft parameters has become an urgent problem to be solved.

[0058] Based on this, the present application proposes a design method, device, electronic device and storage medium for visualization of a spacecraft platform, the design method comprising: loading a display file corresponding to the parameter query requirement according to the acquired parameter query requirement; wherein the display file comprises at least one component to be displayed, the component to be displayed is used to display the acquisition parameters corresponding to the parameter query requirement, and the display form of the component to be displayed is adjusted according to the corresponding acquisition parameters; based on the parameter query requirement, filtering out a target display component from the at least one component to be displayed included in the display file, and acquiring the acquisition parameters corresponding to the target display component from the acquisition interface according to a preset period; determining the target display form of the target display component according to the acquisition parameters, and controlling the target display component to display according to the target display form.

[0059] In this way, the technical solution provided by the present application can be used to design display files for each subsystem of the spacecraft platform, filter out corresponding components to be displayed in the display files according to parameter query requirements, and display the acquisition parameters of the components to be displayed in the corresponding display format, thereby intuitively displaying the acquisition parameters of each subsystem, and then directly obtaining the operating status of each subsystem, thereby improving the efficiency of determining spacecraft parameters and analyzing each subsystem.

[0060] To facilitate the understanding of the present application, the technical solution provided by the present application will be described in detail below in conjunction with specific embodiments.

[0061] See also Figure 1 , Figure 1 A flowchart of a method for visualizing a spacecraft platform provided in an embodiment of the present application is shown in FIG. Figure 1 As shown in, the design method comprises:

[0062] S101, according to the acquired parameter query requirement, loading a display file corresponding to the parameter query requirement;

[0063] In this step, the display file is a file for storing display information, including at least one component to be displayed, and the component to be displayed is used to display the acquisition parameters corresponding to the parameter query requirements. The display form of the component to be displayed can be adjusted according to the corresponding acquisition parameters. By reading the display information in the display file, the corresponding component to be displayed can be intuitively displayed in the display interface.

[0064] It should be noted that before performing step S101, that is, before loading the display file corresponding to the parameter query requirement according to the acquired parameter query requirement, it is necessary to determine the display file, see Figure 2 , Figure 2 This is a flow chart of another method for visualizing the design of a spacecraft platform provided in an embodiment of the present application, such as Figure 2 As shown in , determine the display file by following these steps:

[0065] S201, determining at least one component to be displayed constituting each subsystem according to the structure of each subsystem inside the spacecraft;

[0066] It should be noted that the present embodiment displays the operating status of the spacecraft subsystem in the form of a logic block diagram, and can directly display the working principle of the subsystem / subsystem, the operating status of the subsystem / subsystem, and the normal / abnormal status, which is more intuitive and convenient, and is conducive to on-the-job personnel to directly judge the operating status of each subsystem / subsystem; based on the analysis of the task requirements and system architecture displayed by the spacecraft subsystem, a design method for the spacecraft platform is proposed, which can construct the principle block diagram of each subsystem in the form of a logic block diagram, and at the same time, driven by real-time data, the schematic diagram of each subsystem, subsystem, component and unit as well as the normal and abnormal status are displayed through block diagrams and skeuomorphism, and at the same time, the fault diagnosis results can be given according to the fault model; exemplarily, Qt can be used as the basic framework to implement the design method and design device of the spacecraft platform.

[0067] In this step, the components to be displayed are used to carry the visual display of the data of each subsystem of the spacecraft. For example, it includes the development and maintenance of components such as thermometers, speedometers, power switches, pipeline switches, indicator lights, engines, gas cylinders, pressure reducing valves, pressure gauges, pipelines, dynamic connection lines, etc. For example, the pipeline switch needs to be configured with two data sources and two pictures. Different data sources need to be configured with different picture switches, which can realize the driven display of pictures according to the data source; wherein a unified output format is realized for each component to be displayed, so as to realize the quick editing and operation of the components to be displayed.

[0068] Here, according to the structure of each subsystem inside the spacecraft, at least one component to be displayed constituting each subsystem is determined to complete the framework design of the subsystem logic block diagram. Before the design, the framework editing work needs to be initialized, including the parameters of different tasks, configuration files and other task properties; exemplary, the primitive menu bar, button bar, menu bar, drawing tools and creation attribute editor can be initialized. The initialization function for the primitive menu bar, button bar, menu bar, drawing tools and creation attribute editor is as follows:

[0069] void createToolBox(); / / graphics menu bar

[0070] void createActions(); / / Button bar

[0071] void createMenus(); / / Menu bar

[0072] void createToolbars(); / / Drawing tools

[0073] void createPropertyEditor(); / / Create a property editor

[0074] In the process of page maintenance, the page design and parameter subscription are carried out through the design of logic block diagrams, and the "what you see is what you get" page customization is carried out through the drag-and-drop method of components to realize page componentization. After the page design is completed, it is saved as a *.ui file. Subsequently, the display page configuration file that needs to be modified is loaded to display the page component layout in a visual way. The display page configuration file and page layout can be switched.

[0075] S202: for each subsystem, generating a sub-display file corresponding to the subsystem according to at least one component to be displayed of the subsystem and the determined display forms of each component to be displayed;

[0076] In this step, after the spacecraft full system block diagram editing tool completes the initialization work, it enters the editing mode to prepare for subsequent editing operations. The sub-display file corresponding to the subsystem is generated through the following steps:

[0077] S2021. Determine the layout structure of the components to be displayed under the subsystem according to the system principle of the subsystem;

[0078] In this step, illustratively, the spacecraft full system framework editing tool can be used to complete the layout editing of components to be displayed, such as thermometers, speedometers, power switches, pipeline switches, indicator lights, engines, gas cylinders, pressure reducing valves, pressure gauges, pipelines, dynamic connecting lines and other components; including setting data sources, pictures, component colors, pipeline links, and layout operations of each component to be displayed; after completing the editing operation, use the saveConfig(QJsonObject&jsonConfig) function to complete the saving.

[0079] Here, different components to be displayed have the same editing attributes, and the editing attributes represent the display style of the components to be displayed and the drawing parameters when drawing the components to be displayed. For example, please refer to Table 1, which is a table of the same attribute fields of the components to be displayed. As shown in Table 1, the components to be displayed include the following editing attributes:

[0080] Table 1 Table of the same attribute fields of components to be displayed

[0081] Component property fields Interpretation penWidth Brush Width pen Brush Color isBrush Whether to execute the brush brush Brush Color width Component Width height Component height position Component location information

[0082] This involves linking between the components to be displayed, using a VISIO link operation similar to the one in the previous section. The implementation steps are as follows:

[0083] 1) Detect whether the distance between the components to be displayed that need to be connected is less than a preset distance threshold;

[0084] 2) If the distance is less than a preset distance threshold, the components to be displayed that need to be connected are combined, and the distance detection of the next component to be displayed that needs to be connected is continued;

[0085] 3) If the distance is not less than the preset distance threshold, move and update the position of any of the components to be displayed to determine that the distance between the components to be displayed that need to be connected is less than the preset distance threshold, connect the components to be displayed, and continue the distance detection of the next component to be displayed that needs to be connected.

[0086] Exemplarily, when connecting components to be displayed, first obtain the connection line, move the connection line, and then determine the relative position of the head and tail of the connection line and the components to be displayed that need to be connected. If the distance between the two is lower than a preset distance threshold, use the GraphicsToolItem combination method to combine the two; wherein the preset distance threshold is set based on historical experience or historical record data.

[0087] S2022, determining the display form of each component to be displayed based on the range of the acquisition parameter corresponding to each component to be displayed;

[0088] Exemplarily, taking the dial as an example, please refer to Table 2. Table 2 is a field definition table of components to be displayed. As shown in Table 2, the attribute fields of the components to be displayed are listed. According to the range of the acquisition parameters corresponding to the components to be displayed and the definition of each field, the display form of each component to be displayed is determined, and the display form is displayed according to the set attribute field requirements.

[0089] Table 2 Definition of components to be displayed

[0090]

[0091]

[0092] S2023: After defining and encapsulating the attributes of each component to be displayed according to the display form of each component to be displayed and the layout structure of the component to be displayed, a sub-display file is generated.

[0093] In this step, the logic block diagram is determined according to the display form of each component to be displayed and the layout structure of the component to be displayed. After the properties of each component to be displayed in the logic block diagram are defined and packaged and saved, a sub-display file is generated; wherein, the logic block diagram is a vector diagram, which reflects the principle, structure and status of each subsystem inside the spacecraft; after the logic block diagram is designed according to the requirements, it needs to be saved in the UI file. Since there are many skeuomorphic graphic elements in the design and each component has many properties, which are also different, a unified output format of the components to be displayed in the logic block diagram is defined for subsequent editing and operation. Encapsulate the field definition of the component to be displayed into Json format and save it uniformly to <string>< / string> node; exemplarily, by defining the above component fields to be displayed, encapsulate them into <string>< / string> In the node, the example is as follows:

[0094]

[0095] In this way, the properties of the components to be displayed are saved in the display file, and finally the display file is loaded according to the parameter query requirements of the logic block diagram.

[0096] S203: Determine the display file according to the sub-display files of each subsystem.

[0097] In this step, illustratively, a directory tree may be maintained for the display file, and the corresponding display file may be loaded through the directory tree according to the parameter query requirement, and the page of the corresponding logic block diagram display file may be opened by a click operation.

[0098] It should be noted that when the subsystem structures inside the spacecraft are updated, the display files need to be updated through the following steps:

[0099] 1) Obtain update instructions for the subsystem structures inside the spacecraft;

[0100] 2) According to the update instruction, determine the components to be updated that need to be updated;

[0101] 3) performing update processing on the components to be updated that need to be updated, and determining the updated components to be displayed;

[0102] 4) Based on the updated component to be displayed, update the display file.

[0103] In this step, update and maintenance operations such as adding, deleting, and modifying the skeuomorphic graphic element components, that is, the components to be displayed, can be performed.

[0104] Here, it can support the provision of a variety of general composition tools, including static information components, connecting line components, custom images and realistic graphics, etc.; support mouse dragging similar to Visio operation, use general tools or static information components to complete the construction of logic block diagrams, and support fault modeling of each unit; support flexible placement of multiple components on the same page, support relative layout and absolute layout of the entire page, support relative layout, absolute layout and other arrangement methods between components; support logical definition of logic block diagrams, and build them according to the files given by the spacecraft developer, so as to characterize the logic block diagrams of various subsystems of the spacecraft; logic block diagram component elements support data binding, and according to different data, the color, position, display effect and other appearances can be changed; support print preview and printing functions of logic block diagrams; for different components to be displayed, including meter, speedometer, power switch, pipeline switch, indicator light, engine, gas cylinder, pressure reducing valve, pressure gauge, pipeline, dynamic connecting line, etc., define a unified output format to facilitate the management, loading and operation of block diagram display.

[0105] S102: based on the parameter query requirement, filter out a target display component from at least one component to be displayed included in the display file, and obtain acquisition parameters corresponding to the target display component from an acquisition interface according to a preset period;

[0106] In this step, when the page of the corresponding logic block diagram display file is loaded, the subscription data source in the page, that is, the extraction of the collection parameters corresponding to the target display component is completed, and the splicing operation of the data source is completed in JSON format. According to the subscription data (parameter query requirements), the collection parameters corresponding to the target display component are obtained from the collection interface according to the preset period.

[0107] For example, the following is a partial code display of the interface.

[0108] virtual bool loadConfig(QJsonObject&jsonConfig)override;

[0109] virtual bool saveConfig(QJsonObject&jsonConfig)override;

[0110] virtual QString getDataSource()override;

[0111] virtual void setDataSource(QString dataSource)override;

[0112] virtual void receive(const QMap<QString,QString> &data)override;

[0113] The loadConfig() function is responsible for loading the json data in the saved display file, the saveConfig() function is responsible for saving the json data in the display file, the getDataSource() function reads the data source information (acquisition parameters) corresponding to the component to be displayed in the json display file, the setDataSource() function writes the data source information into the corresponding component to be displayed in the display file, and the receive() function receives the data source information for display.

[0114] Here, illustratively, by real-time receiving of multi-task data messages from other subsystems, different directions and different tasks come from different multicast address ports or different message channels, and the communication parameters are configurable; the real-time message format to be processed follows the information transmission protocol (message format parsing is extensible), and the specific data content is in binary or XML format; data can be played back from stored data files, which are ordinary text files, XML files or binary files; various types of acquired data can be pre-processed, converted into the subsystem internal format, and pushed according to subscription requirements; data entering the subsystem can be pre-monitored, and data frames can be monitored Source code; for XML format data, it can be monitored according to the XML structure; the current monitoring data frame can be cached in multiple frames, and the cached data can be switched one by one to view the cached data; the telemetry parameter processing results can be monitored, and the parameters can be refreshed at regular intervals or received data frames can be refreshed; the telemetry data source can be switched; fuzzy search can be performed according to parameter code, parameter name, parameter index number, etc.; the selected parameters can be marked; the current telemetry parameter processing results can be exported as files for storage; multi-satellite measurement and control data can be comprehensively processed to extract key information; mission telemetry parameters can be bit processed, and can be translated into text display according to status bits, value ranges, etc., and an intuitive parameter dictionary editing tool should be provided.

[0115] S103: Determine a target display form of the target display component according to the acquisition parameters, and control the target display component to display according to the target display form.

[0116] In this step, all the acquisition parameters are first received and processed, and then according to the subscribed data source (parameter query requirements), the acquisition parameters are parsed and packaged and sent to the subscribed data (components to be displayed) corresponding to the spacecraft platform in the form of data source-value; after receiving the acquisition parameters, they are sent to the components to be displayed in each logic block diagram according to the unique identifier of the component to be displayed in the logic block diagram, and the dynamic change of the acquisition parameters in the components to be displayed in the logic block diagram is completed in a data-driven way, which is more intuitive.

[0117] Here, it supports associating each component of the logic block diagram with the telemetry parameters (acquisition parameters), so as to intuitively display the state of the spacecraft telemetry parameters in a visual form; it supports the visual display of the change state of the engine, gas cylinder, pressure reducing valve, etc. under data drive. It supports the logic block diagram page search function. The user enters the first letter of the page name, pinyin initials, Chinese characters and other key information to quickly find and list similar pages; it supports the telemetry parameter search function. The user enters the parameter name or parameter code to quickly find and list the related pages containing the telemetry parameter; it supports the screenshot and printing functions of the block diagram page.

[0118] It should be noted that the design method also includes:

[0119] 1) Obtaining a target display form of a target display component according to a predetermined period;

[0120] 2) According to the target display form, determine whether the acquisition parameters corresponding to the target display component meet the alarm condition;

[0121] 3) If it is reached, an alarm message is generated to give an alarm, and a fault analysis is performed on each subsystem of the spacecraft according to the collected parameters;

[0122] 4) If it is not reached, continue to obtain the acquisition parameters according to the predetermined period to display the target display component.

[0123] Here, the components to be displayed of typical subsystems are modeled and analyzed. The modeling methods include the geometric, physical, logical relationships, hotspots and other attributes of the graphics elements. The components to be displayed are mainly presented in a skeuomorphic form, including thermometers, speedometers, power switches, pipeline switches, indicator lights, engines, gas cylinders, pressure reducing valves, pressure gauges, pipelines, dynamic connecting lines, etc.; it supports the establishment of pipeline status through the setting of connection properties; fault modeling and analysis of each subsystem of the spacecraft are carried out, realizing the visual design of the block diagrams of different subsystems of the spacecraft.

[0124] For example, for the design of logic block diagram, please refer to Figure 3 , Figure 3 A schematic diagram of a design system provided in an embodiment of the present application, such as Figure 3 As shown, open the block diagram editing tool of the spacecraft full system logic block diagram, enter the page editing area of ​​the display file, edit the spacecraft full system logic block diagram, select the corresponding components to be displayed (logic block diagram components, including skeuomorphic components, switch components, connecting line components and custom image components, etc.) according to the design requirements to design the logic block diagram, output to the display file in a unified format and save it, display it by loading the display file to the display software, filter and load the parameter query requirements in the corresponding display file through the interface and send it to the data processing software, obtain the acquisition parameters corresponding to the target display component from the acquisition interface according to the preset cycle and send it to the display software, the display software forwards the acquisition parameters to the corresponding target display component, and controls the target display component to load the acquisition parameters and display them according to the target display form. Exemplarily, the post personnel only need to start the block diagram editing tool, drag various components to be displayed and set their geometric, physical, logical relationship and other properties, complete the page layout of the display file, and output it as a ui file for the logic block diagram display software to load and display; the post personnel do not need to develop software, but only need to focus on the construction of the core business page, which reduces the technical threshold of the post personnel, shortens the page development cycle, and improves the efficiency of rapid page production.

[0125] Exemplarily, the block diagram design based on the Qt graphics framework adopts the Qt plug-in mechanism to construct the logic block diagram of the entire spacecraft system in the form of skeuomorphic graphic element components, including: according to the business needs, secondary development is carried out based on the basic components provided by Qt Creater to generate static information components, switch components, connecting line components and skeuomorphic graphic element components (*.so dynamic library files). There are three types of data sources obtained by the components: one is theoretical data files, the second is historical data in the database, and the third is real-time data. The graphic elements to promote the subsystem design include oxidizer tanks, fuel tanks, oxidizer pipelines, fuel pipelines, switches, pressure gauges, thermometers, X1N nozzles, and X2N nozzles. Secondary development is carried out on the basis of Qt Designer source code to build a logic block diagram; in the page maintenance process, by loading the components to be displayed in the logic block diagram, visual page design and parameter subscription are carried out, and the page customization is carried out by dragging components to realize the componentization of the page. After the page design is completed, it is saved as a *.ui file; load the display page configuration file that needs to be modified to display the page component layout in a visual way. It can also support multiple data access methods such as TCP and UDP protocols, the communication parameters can be configured, and it has the expansion capability of data access in other transmission methods. It can be grouped according to display tasks, and only receive and process the data of the selected group; it receives, processes and publishes the three types of data subscribed by the logic block diagram component. In order to build a flexible interface design, it supports the dynamic loading of logic block diagram components, has good reusability and flexible scalability, and is based on the technical architecture of platform + component; the display software of the logic block diagram is a platform for centralized monitoring of various data, and is the human-computer interaction part of the command display system. It is responsible for displaying various types of information, mainly including: internal / external information exchange, processing results of various real-time transmission data, various calculation results calculated by the orbit and control calculation and analysis subsystems, and provides users with printing, saving pictures and data playback and other services; completes the functions of loading components to be displayed, registering with data preprocessing software and receiving data, and pushing subscribed data to components.

[0126] An embodiment of the present application provides a design method, device, electronic device and storage medium for visualization of a spacecraft platform. The design method includes: loading a display file corresponding to an acquired parameter query requirement according to the acquired parameter query requirement; wherein the display file includes at least one component to be displayed, the component to be displayed is used to display acquisition parameters corresponding to the parameter query requirement, and the display form of the component to be displayed is adjusted according to the corresponding acquisition parameters; based on the parameter query requirement, a target display component is screened out from the at least one component to be displayed included in the display file, and the acquisition parameters corresponding to the target display component are acquired from an acquisition interface according to a preset period; according to the acquisition parameters, a target display form of the target display component is determined, and the target display component is controlled to display according to the target display form.

[0127] In this way, the technical solution provided by the present application can be used to design display files for each subsystem of the spacecraft platform, filter out corresponding components to be displayed in the display files according to parameter query requirements, and display the acquisition parameters of the components to be displayed in the corresponding display format, thereby intuitively displaying the acquisition parameters of each subsystem, and then directly obtaining the operating status of each subsystem, thereby improving the efficiency of determining spacecraft parameters and analyzing each subsystem.

[0128] Based on the same application concept, the embodiment of the present application also provides a spacecraft platform visualization design device corresponding to the spacecraft platform visualization design method provided in the above embodiment. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the spacecraft platform visualization design method in the above embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0129] See also Figure 4 , Figure 5 , Figure 4 This is one of the structural diagrams of a visual design device for a spacecraft platform provided in an embodiment of the present application. Figure 5 This is a second structural diagram of a visual design device for a spacecraft platform provided in an embodiment of the present application. Figure 4 As shown in , the design device 410 includes:

[0130] The loading module 411 is used to load a display file corresponding to the parameter query requirement according to the acquired parameter query requirement; wherein the display file includes at least one component to be displayed, the component to be displayed is used to display the acquisition parameters corresponding to the parameter query requirement, and the display form of the component to be displayed is adjusted according to the corresponding acquisition parameters;

[0131] The processing module 412 is used to filter out a target display component from at least one component to be displayed included in the display file based on the parameter query requirement, and obtain acquisition parameters corresponding to the target display component from the acquisition interface according to a preset period;

[0132] The display module 413 is used to determine the target display form of the target display component according to the acquisition parameters, and control the target display component to display according to the target display form.

[0133] Optional, such as Figure 5 As shown, the design device 410 further includes a design module 414, and the design module 414 is used to:

[0134] According to the structure of each subsystem inside the spacecraft, determining at least one component to be displayed constituting each subsystem;

[0135] For each subsystem, according to at least one component to be displayed of the subsystem and the determined display forms of each component to be displayed, a sub-display file corresponding to the subsystem is generated;

[0136] Determine the display file based on the sub-display files of each subsystem.

[0137] Optionally, when the design module 414 is used to generate, for each subsystem, a sub-display file corresponding to the subsystem according to at least one component to be displayed of the subsystem and the determined display forms of each component to be displayed, the design module 414 is specifically used to:

[0138] According to the system principle of the subsystem, determine the layout structure of the components to be displayed under the subsystem;

[0139] Determine the display form of each component to be displayed based on the range of the acquisition parameters corresponding to each component to be displayed;

[0140] After defining and encapsulating the attributes of each component to be displayed according to the display form of each component to be displayed and the layout structure of the component to be displayed, a sub-display file is generated.

[0141] Optionally, when the design module 414 is used to determine the layout structure of the components to be displayed, the design module 414 is specifically used to:

[0142] Detect whether the distance between the components to be displayed that need to be connected is less than a preset distance threshold;

[0143] If the distance is less than the preset distance threshold, the components to be displayed that need to be connected are combined, and the distance detection of the next component to be displayed that needs to be connected is continued;

[0144] If the distance is not less than the preset distance threshold, the position of any of the components to be displayed is moved and updated to determine that the distance between the components to be displayed that need to be connected is less than the preset distance threshold, the components to be displayed are connected, and the distance detection of the next component to be displayed that needs to be connected is continued.

[0145] Optional, such as Figure 5 As shown, the design device 410 further includes an updating module 415, and the updating module 415 is used to:

[0146] Obtain update instructions for each subsystem structure inside the spacecraft;

[0147] According to the update instruction, determine the components to be updated that need to be updated;

[0148] Performing an update process on the components to be updated that need to be updated, and determining the updated components to be displayed;

[0149] Based on the updated component to be displayed, the display file is updated.

[0150] Optional, such as Figure 5 As shown, the design device 410 further includes an alarm module 416, and the alarm module 416 is used to:

[0151] Acquire a target display form of a target display component according to a predetermined period;

[0152] According to the target display form, determining whether the acquisition parameters corresponding to the target display component meet the alarm condition;

[0153] If it is reached, an alarm message is generated to give an alarm, and a fault analysis is performed on each subsystem of the spacecraft according to the collected parameters;

[0154] If not reached, continue to obtain acquisition parameters according to the predetermined period to display the target display component.

[0155] An embodiment of the present application provides a visual design device for a spacecraft platform, the design device comprising: a loading module, used to load a display file corresponding to the parameter query requirement according to the acquired parameter query requirement; wherein the display file comprises at least one component to be displayed, the component to be displayed is used to display the acquisition parameters corresponding to the parameter query requirement, and the display form of the component to be displayed is adjusted according to the corresponding acquisition parameters; a processing module, used to filter out a target display component from the at least one component to be displayed included in the display file based on the parameter query requirement, and obtain the acquisition parameters corresponding to the target display component from the acquisition interface according to a preset period; a display module, used to determine the target display form of the target display component according to the acquisition parameters, and control the target display component to display according to the target display form.

[0156] In this way, the technical solution provided by the present application can be used to design display files for each subsystem of the spacecraft platform, filter out corresponding components to be displayed in the display files according to parameter query requirements, and display the acquisition parameters of the components to be displayed in the corresponding display format, thereby intuitively displaying the acquisition parameters of each subsystem, and then directly obtaining the operating status of each subsystem, thereby improving the efficiency of determining spacecraft parameters and analyzing each subsystem.

[0157] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown in , the electronic device 600 includes a processor 610 , a memory 620 and a bus 630 .

[0158] The memory 620 stores machine-readable instructions executable by the processor 610. When the electronic device 600 is running, the processor 610 communicates with the memory 620 via the bus 630. When the machine-readable instructions are executed by the processor 610, the above-mentioned Figure 1 as well as Figure 2 The steps of the method for visualizing the design of a spacecraft platform in the method embodiment shown in the figure, and the specific implementation method thereof can be found in the method embodiment, which will not be described in detail here.

[0159] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 as well as Figure 2 The steps of the method for visualizing the design of a spacecraft platform in the method embodiment shown in the figure, and the specific implementation method thereof can be found in the method embodiment, which will not be described in detail here.

[0160] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0161] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0162] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0163] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0164] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0165] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A visual design method for a spacecraft platform, characterized in that: The design method comprises: According to the acquired parameter query requirement, a display file corresponding to the parameter query requirement is loaded; wherein the display file includes at least one component to be displayed, the component to be displayed is used to display the acquisition parameters corresponding to the parameter query requirement, and the display form of the component to be displayed is adjusted according to the corresponding acquisition parameters; Based on the parameter query requirement, a target display component is screened out from at least one component to be displayed included in the display file, and acquisition parameters corresponding to the target display component are acquired from an acquisition interface according to a preset period; Determine the target display form of the target display component according to the acquisition parameters, and control the target display component to display according to the target display form; Before loading the display file corresponding to the parameter query requirement according to the acquired parameter query requirement, the design method further includes: According to the structure of each subsystem inside the spacecraft, determining at least one component to be displayed constituting each subsystem; For each subsystem, according to at least one component to be displayed of the subsystem and the determined display forms of each component to be displayed, a sub-display file corresponding to the subsystem is generated; Determine the display file according to the sub-display files of each subsystem; The method of generating, for each subsystem, a sub-display file corresponding to the subsystem according to at least one component to be displayed of the subsystem and the determined display forms of each component to be displayed, includes: According to the system principle of the subsystem, determine the layout structure of the components to be displayed under the subsystem; Determine the display form of each component to be displayed based on the range of the acquisition parameters corresponding to each component to be displayed; After defining and encapsulating the properties of each component to be displayed according to the display form of each component to be displayed and the layout structure of the component to be displayed, a sub-display file is generated; Determine the layout structure of the components to be displayed by following the steps below: Detect whether the distance between the components to be displayed that need to be connected is less than a preset distance threshold; If the distance is less than the preset distance threshold, the components to be displayed that need to be connected are combined, and the distance detection of the next component to be displayed that needs to be connected is continued; If the distance is not less than the preset distance threshold, the position of any of the components to be displayed is moved and updated to determine that the distance between the components to be displayed that need to be connected is less than the preset distance threshold, the components to be displayed are connected, and the distance detection of the next component to be displayed that needs to be connected is continued.

2. The design method according to claim 1, characterized in that: The design method further comprises: Obtain update instructions for each subsystem structure inside the spacecraft; According to the update instruction, determine the components to be updated that need to be updated; Performing an update process on the components to be updated that need to be updated, and determining the updated components to be displayed; Based on the updated component to be displayed, the display file is updated.

3. The design method according to claim 1, characterized in that: The design method further comprises: Acquire a target display form of a target display component according to a predetermined period; According to the target display form, determining whether the acquisition parameters corresponding to the target display component meet the alarm condition; If it is reached, an alarm message is generated to give an alarm, and a fault analysis is performed on each subsystem of the spacecraft according to the collected parameters; If not reached, continue to obtain acquisition parameters according to the predetermined period to display the target display component.

4. A visual design device for a spacecraft platform, characterized in that: The design device comprises: A loading module, used to load a display file corresponding to the parameter query requirement according to the acquired parameter query requirement; wherein the display file includes at least one component to be displayed, the component to be displayed is used to display the acquisition parameters corresponding to the parameter query requirement, and the display form of the component to be displayed is adjusted according to the corresponding acquisition parameters; A processing module, configured to filter out a target display component from at least one component to be displayed included in the display file based on the parameter query requirement, and obtain acquisition parameters corresponding to the target display component from an acquisition interface according to a preset period; A display module, used to determine a target display form of the target display component according to the acquisition parameters, and control the target display component to display according to the target display form; The design device further comprises a design module, wherein the design module is used to: According to the structure of each subsystem inside the spacecraft, determining at least one component to be displayed constituting each subsystem; For each subsystem, according to at least one component to be displayed of the subsystem and the determined display forms of each component to be displayed, a sub-display file corresponding to the subsystem is generated; Determine the display file according to the sub-display files of each subsystem; When the design module is used to generate, for each subsystem, a sub-display file corresponding to the subsystem according to at least one component to be displayed of the subsystem and the determined display forms of each component to be displayed, the design module is specifically used to: According to the system principle of the subsystem, determine the layout structure of the components to be displayed under the subsystem; Determine the display form of each component to be displayed based on the range of the acquisition parameters corresponding to each component to be displayed; After defining and encapsulating the properties of each component to be displayed according to the display form of each component to be displayed and the layout structure of the component to be displayed, a sub-display file is generated; When the design module is used to determine the layout structure of the components to be displayed, the design module is specifically used to: Detect whether the distance between the components to be displayed that need to be connected is less than a preset distance threshold; If the distance is less than the preset distance threshold, the components to be displayed that need to be connected are combined, and the distance detection of the next component to be displayed that needs to be connected is continued; If the distance is not less than the preset distance threshold, the position of any of the components to be displayed is moved and updated to determine that the distance between the components to be displayed that need to be connected is less than the preset distance threshold, the components to be displayed are connected, and the distance detection of the next component to be displayed that needs to be connected is continued.

5. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are run by the processor, the steps of the method for designing a visual spacecraft platform as described in any one of claims 1 to 3 are executed.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for designing a visual spacecraft platform as claimed in any one of claims 1 to 3 are executed.