Spacecraft on-orbit management front-end form generation method and function library
By introducing the method of plug -in and data dictionary templates in the front -end framework, the efficient front -end form that is suitable for the aerospace field solves the problem that existing technology cannot meet the complex needs of the aerospace business, and achieves efficient and flexible data management and user experience improvement.
Patent Information
- Application Number
- CN202411324372.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-01-24
AI Technical Summary
The existing front-end frameworks cannot meet higher data processing capabilities, more complex data representations and more advanced interaction methods in the aerospace field, resulting in the inability to provide sufficiently intuitive and efficient user experience to meet the complex needs of the aerospace business.
The initial form is generated through the user's introduction of plug-ins, and the corresponding data dictionary is imported in response to the aerospace function type input by the user, the data dictionary template is configured and edited, applied to the initial form, field rendering and data verification are performed, and the front-end form is finally generated.
It realizes flexible data management functions, improves the efficiency of data management, ensures the consistency and accuracy of data, can adapt to the complex needs of different spacecraft business scenarios, and improves the user experience.
Smart Images

Figure CN119358520A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of front-end technology, and in particular to a method for generating a front-end form for on-orbit management of a spacecraft and a function library. Background Art
[0002] In modern web application development, front-end technology plays a vital role. Front-end frameworks, such as Ant Design, El ement UI, React, Vue.js, etc., greatly simplify the development process of complex interfaces. These frameworks provide a wealth of interface components, such as buttons, forms, tables, dialog boxes, etc., as well as support for responsive design and interactive logic implementation.
[0003] Although existing front-end frameworks provide convenience for developers, they still have limitations when dealing with the needs of specific fields, such as aerospace business. These frameworks usually provide general solutions rather than customized needs for specific industries. In the aerospace field, the needs for data management, display, and operation often far exceed general commercial applications. Existing front-end frameworks cannot provide higher data processing capabilities, more complex data representations, and more advanced interaction methods. At the same time, the calculation and display of orbital data are beyond the scope of existing front-end frameworks, resulting in the existing front-end frameworks may not be able to provide a sufficiently intuitive and efficient user experience to meet the needs of these complex scenarios. Summary of the invention
[0004] The present invention provides a method for generating a front-end form for on-orbit management of a spacecraft and a function library, so as to solve the technical problems in the prior art that the existing front-end framework has high limitations and cannot achieve higher data processing capabilities in the aerospace field and present more complex data representation forms and interaction methods.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a method for generating a front-end form for on-orbit management of a spacecraft, comprising:
[0006] In response to a user introducing a plug-in, an initial form is generated;
[0007] In response to the user's aerospace function type, a data dictionary corresponding to the aerospace function type is imported, and the data dictionary of the aerospace function type is configured according to the initial form, thereby importing a digital dictionary template;
[0008] According to the data dictionary template, the configured data dictionary is edited, and the edited data dictionary is applied to the initial form, so that the fields of the initial form are rendered and the data is verified according to the digital dictionary to generate a front-end form.
[0009] As a preferred solution, in response to the user introducing the plug-in, generating the initial form specifically includes:
[0010] In response to the user introducing a plug-in, the form type to be generated by the user is determined according to the plug-in, thereby generating an initial functional form or an initial customized form; wherein the initial form includes an initial functional form and an initial customized form.
[0011] As a preferred solution, if an initial function form is generated, before importing the data dictionary corresponding to the aerospace function type, it also includes:
[0012] In response to the aerospace function type input by the user, a first form template corresponding to the aerospace function type is generated; wherein the aerospace function type includes: satellite, antenna, orbit, constellation and station.
[0013] As a preferred solution, if an initial custom form is generated, before importing the data dictionary corresponding to the aerospace function type in response to the user's aerospace function type, the method further includes:
[0014] In response to a user's customization operation on the template, a second form template corresponding to the customization operation is generated.
[0015] As a preferred solution, in response to the user's aerospace function type, the data dictionary corresponding to the aerospace function type is imported, and the data dictionary of the aerospace function type is configured according to the initial form, thereby importing the digital dictionary template, specifically including:
[0016] In response to the aerospace function type of the user, importing a data dictionary corresponding to the aerospace function type;
[0017] The data dictionary is configured according to the first form template or the second form template, thereby defining the fields and standardizing the data format, and then importing the data dictionary template.
[0018] As a preferred solution, the configured data dictionary is edited according to the data dictionary template, and the edited data dictionary is applied to the initial form, specifically including:
[0019] Edit the configured data dictionary according to the imported data dictionary template to add, modify or set validation rules for fields;
[0020] The edited data dictionary is applied to the first form template or the second form template through the data dictionary template.
[0021] As a preferred solution, the initial form is rendered and data verified according to the digital dictionary to generate a front-end form, which specifically includes:
[0022] According to the edited data dictionary and the correspondence between the data dictionary template and the first form template or the second form template, when the spacecraft data is input into the initial functional form or the initial custom form, the spacecraft data is subjected to field rendering and data verification, so that after all the spacecraft data is input, the corresponding functional form or custom form is generated; wherein the front-end form includes a functional form and a custom form.
[0023] Accordingly, the present invention also provides a component library for implementing the method for generating a front-end form for on-orbit management of a spacecraft as described in any one of the above, comprising: a function form module, a custom form module and a data dictionary module;
[0024] The functional form module is used to generate a front-end form of spacecraft data corresponding to the functional space energy type input by the user;
[0025] The custom form module is used to generate a front-end form of spacecraft data customized by the user;
[0026] The data dictionary module is used to define and manage spacecraft data in the process of generating front-end forms.
[0027] Correspondingly, the present invention also provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements the method for generating a front-end form for in-orbit management of a spacecraft as described in any one of the above items.
[0028] Correspondingly, the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method for generating a front-end form for in-orbit management of a spacecraft as described in any one of the above items.
[0029] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0030] The technical solution of the present invention generates an initial form by introducing a plug-in by the user, and imports a corresponding data dictionary in response to the aerospace function type input by the user, and then configures the data dictionary according to the initial form, and imports a digital dictionary template to edit the data dictionary, and then applies the edited data dictionary to the initial form to ensure field rendering and data verification of the initial form, and finally generates a front-end form. By means of a data dictionary, flexible data management functions are provided to users. At the same time, the generation of the initial form by the data dictionary effectively improves the efficiency of data management, ensures the consistency and accuracy of the data, can adapt to the complex needs of business scenarios of different spacecraft, and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 : A flowchart of a method for generating a front-end form for on-orbit management of a spacecraft provided by an embodiment of the present invention;
[0032] Figure 2 : A structural diagram of a component library provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] Embodiment 1
[0035] Please refer to Figure 1 , a method for generating a front-end form for on-orbit management of a spacecraft provided in an embodiment of the present invention, comprising the following steps S101-S103:
[0036] Step S101: In response to a user introducing a plug-in, an initial form is generated.
[0037] As a preferred solution, in response to the user introducing the plug-in, generating the initial form specifically includes:
[0038] In response to the user introducing a plug-in, the form type to be generated by the user is determined according to the plug-in, thereby generating an initial functional form or an initial customized form; wherein the initial form includes an initial functional form and an initial customized form.
[0039] In this embodiment, the user introduces a plug-in to ensure that the current system is in a form generation state, thereby executing the current form generation, and then determining the type of form the user wants to generate based on the plug-in, that is, whether the user directly generates a functional form or needs to customize the form before generating it. The currently generated form is an initial form, which is mainly used to determine whether user customization is required.
[0040] As a preferred solution, if an initial function form is generated, before importing the data dictionary corresponding to the aerospace function type, it also includes:
[0041] In response to the aerospace function type input by the user, a first form template corresponding to the aerospace function type is generated; wherein the aerospace function type includes: satellite, antenna, orbit, constellation and station.
[0042] In this embodiment, by receiving the function type (such as satellite, antenna, orbit, constellation, station, etc.) input by the user, a corresponding form template, ie, the first form template, is automatically generated.
[0043] Furthermore, the user enters a specific function type (for example, selects the "satellite" type) on the API by referencing the component library of the function form. The system calls the form template corresponding to the type from the predefined template library based on the input function type. The template library has built-in form templates for a variety of function types, and each template contains specific fields and operation functions. For example, taking the "satellite" type as an example, the form template contains fields such as satellite name, orbit information, launch date, satellite type, and corresponding add, delete, modify and query (CRUD) functions. The component adds parameter configuration functions and Domcument slots, which can be used to supplement the functional integrity and specificity, making the component flexible and convenient.
[0044] As a preferred solution, if an initial custom form is generated, before importing the data dictionary corresponding to the aerospace function type in response to the user's aerospace function type, the method further includes:
[0045] In response to a user's customization operation on the template, a second form template corresponding to the customization operation is generated.
[0046] In this embodiment, the corresponding second form template can be generated through the user's customized operation.
[0047] Furthermore, by referencing the component library of the custom form, users can pass in the corresponding form JSON data (such as list display fields, newly added edit field information, field type, field addition method, etc., field addition methods include: drop-down function, single-select and multiple-select function, date picker, etc.) and the corresponding add, delete, modify and query interface functions on the API; and users can adjust the form layout by dragging and dropping, or directly define the field order, required items, data types, etc. through the configuration file. Among them, the component library provides a wealth of customization options, including field display / hiding, data validation rules, default value settings, etc.
[0048] In this embodiment, the custom form may include but is not limited to: passing in a custom form display field, passing in a custom added satellite information form field, transmitting a custom satellite query condition field, passing in a custom import function address and whether it is enabled, passing in a custom export function address and whether it is enabled, passing in a custom add, delete, modify and check button configuration, and passing in a custom UI theme type and a custom UI.
[0049] Step S102: In response to the user's aerospace function type, a data dictionary corresponding to the aerospace function type is imported, and the data dictionary of the aerospace function type is configured according to the initial form, thereby importing a digital dictionary template.
[0050] As a preferred solution, in response to the user's aerospace function type, the data dictionary corresponding to the aerospace function type is imported, and the data dictionary of the aerospace function type is configured according to the initial form, thereby importing the digital dictionary template, specifically including:
[0051] In response to the user's aerospace function type, a data dictionary corresponding to the aerospace function type is imported; according to the first form template or the second form template, the data dictionary is configured to define the fields and standardize the data format, and then the data dictionary template is imported.
[0052] In this embodiment, the user first introduces the data dictionary function component, and then responds to the aerospace function type input by the user to import the data dictionary corresponding to the aerospace function type, and configures the data dictionary through the first form template or the second form template, and then selects a suitable template from the data dictionary templates provided by the component library for import. The data dictionary template contains all possible field definitions and data format specifications under the function type.
[0053] Step S103: according to the data dictionary template, the configured data dictionary is edited, and the edited data dictionary is applied to the initial form, so as to perform field rendering and data verification on the initial form according to the digital dictionary to generate a front-end form.
[0054] As a preferred solution, the configured data dictionary is edited according to the data dictionary template, and the edited data dictionary is applied to the initial form, specifically including:
[0055] According to the imported data dictionary template, the configured data dictionary is edited so as to add, change or set verification rules for fields; through the data dictionary template, the edited data dictionary is applied to the first form template or the second form template.
[0056] In this embodiment, through the imported digital dictionary template, the user can further edit the imported data dictionary, such as adding new fields, changing field types, setting field validation rules, etc. The component library supports editing of the data dictionary through a visual interface or a JSON configuration file.
[0057] In this embodiment, the data dictionary management function is imported, including: satellite module, station module, antenna module, constellation module, orbit module, orbit calculation and user module; wherein the satellite module includes form display field, new satellite information form field, satellite query condition field, import function address and whether it is enabled, export function address and whether it is enabled, add, delete, modify and query button configuration, etc. and UI theme type; the station module includes form display field, new station information form field, station query condition field, import function address and whether it is enabled, export function address and whether it is enabled, add, delete, modify and query button configuration and UI theme type; the antenna module includes form display field, new antenna information form field, antenna query condition field, import function address and whether the import function is enabled, export function address and whether the export function is enabled, add, delete, modify and query button configuration and UI theme type and custom UI; the constellation module includes form display field, new antenna information form field, antenna query condition field, import function address and whether the import function is enabled, export function address and whether the export function is enabled, add, delete, modify and query button configuration and UI theme type and custom UI. The address and export function are enabled, the add, delete, modify and query button configuration and the UI theme type and custom UI; the orbit module includes: whether to display two lines of roots, display six elements of the orbit, display two historical lines, display six elements of the historical orbit, the import function address and whether the import function is enabled, the export function address and whether the export function is enabled, the add, delete, modify and query button configuration and the UI theme type and custom UI; the orbit calculation includes: configuring whether the orbit determination function is used and the form fields, configuring whether the ephemeris prediction function is used and the form fields, configuring whether the tracking prediction function is used and the form fields, configuring whether the antenna guidance function is used and the form fields, configuring whether the attitude prediction function is used and the form fields, configuring whether the auxiliary tool function is used and the form fields, configuring whether the result management function is used and the form fields and the UI theme type and custom UI; the user module includes configuring whether the user management function is used and the form fields, configuring whether the role management function is used and the form fields, configuring whether the resource management function is used and the form fields and the UI theme type and custom UI.
[0058] As a preferred solution, the initial form is rendered and data verified according to the digital dictionary to generate a front-end form, which specifically includes:
[0059] According to the edited data dictionary and the correspondence between the data dictionary template and the first form template or the second form template, when the spacecraft data is input into the initial functional form or the initial custom form, the spacecraft data is subjected to field rendering and data verification, so that after all the spacecraft data is input, the corresponding functional form or custom form is generated; wherein the front-end form includes a functional form and a custom form.
[0060] In this embodiment, through the edited data dictionary, combined with the correspondence between the fields in the data dictionary template and the first form template or the second form template, the configured data dictionary is automatically applied to the relevant initial functional form and the initial custom form, so that when the initial form is generated, the fields will be rendered and the data will be verified according to the definition in the data dictionary, ensuring the accuracy and consistency of data input.
[0061] In this embodiment, for the initial function form, the system automatically generates a function form based on the first form template configuration and combined with the data dictionary, and renders it in the front-end page. The generated function form not only contains all the necessary fields, but also has the function of importing and exporting data, supports tree table display, and hierarchical relationship processing of data. Furthermore, the generated function form can be directly operated by the user, including adding, editing, deleting and viewing data. At the same time, the function form also supports complex interactive operations, such as conditional search, paging display, inline editing, etc., to meet the specific needs of aerospace business.
[0062] In this embodiment, for custom forms, the system dynamically generates a corresponding custom form structure based on the user's custom configuration. The generated custom form structure is configured through the second form template and rendered in real time on the front-end page in combination with the data dictionary. Users can directly enter and operate data. At the same time, the custom form supports instant saving and updating. After saving the form configuration, the user can immediately apply it to actual business. The custom form also supports linkage with other modules (including but not limited to the data dictionary) to ensure the consistency and correctness of the form data.
[0063] In this embodiment, the data dictionary module also supports continuous maintenance and updating. Users can adjust the data dictionary configuration at any time according to business needs and update it to all relevant forms in real time. Through the collaborative work of functional forms, custom forms and data dictionaries, a highly flexible, efficient and customized data management solution is provided for aerospace measurement, operation and control services. This component not only simplifies the processing of comprehensive aerospace data, but also greatly improves the scalability and user experience of the system, providing a set of efficient and flexible data management components for aerospace services.
[0064] Implementing the above embodiments has the following effects:
[0065] The technical solution of the present invention generates an initial form by introducing a plug-in by the user, and imports a corresponding data dictionary in response to the aerospace function type input by the user, and then configures the data dictionary according to the initial form, and imports a digital dictionary template to edit the data dictionary, and then applies the edited data dictionary to the initial form to ensure field rendering and data verification of the initial form, and finally generates a front-end form. By means of a data dictionary, flexible data management functions are provided to users. At the same time, the generation of the initial form by the data dictionary effectively improves the efficiency of data management, ensures the consistency and accuracy of the data, can adapt to the complex needs of business scenarios of different spacecraft, and improves the user experience.
[0066] Embodiment 2
[0067] See also Figure 2 , which is a component library provided by the present invention, used to implement the method for generating a front-end form for on-orbit management of a spacecraft as described in the first embodiment above, including: a function form module, a custom form module and a data dictionary module;
[0068] The functional form module is used to generate a front-end form of spacecraft data corresponding to the functional space energy type input by the user;
[0069] The custom form module is used to generate a front-end form of spacecraft data customized by the user;
[0070] The data dictionary module is used to define and manage spacecraft data in the process of generating front-end forms.
[0071] In this embodiment, after the component is installed in the form of an NPM package, the developer can easily introduce the component library in the front-end project. The component library is initialized by configuring parameters, and the component library allows developers to initialize the corresponding functional modules by passing in different component types (such as user modules, orbital modules, satellite modules, etc.). Each component type provides the add, delete, modify and query (CRUD) fields related to the type by default, and supports data export functions. For example, when the orbital module type is passed in, the component library will automatically generate an orbital management page and configure the relevant fields according to the orbital type (such as type 1: six orbital roots, satellite code, orbital identification. Type 2: two-row orbital roots) for adding, editing, deleting and querying orbital data. Developers can extend the function of the component library through the API interface or custom plug-ins (addition and deletion functions provide corresponding parameter configurations and slots, which can be used to supplement the functional integrity and particularity) to meet the special needs of aerospace business. The component library supports data configuration in JSON format, so that users can flexibly define the behavior and performance of components. For example, users can dynamically generate data management pages by passing in JSON objects containing field information, configure page layout, field order, and data validation rules, etc., so that users can dynamically adjust fields, form layout, and operation logic to ensure its applicability in different application scenarios. The component library also supports multi-level permission control and data security management. Developers can configure different operation permissions according to different user roles to ensure the security and flexibility of data management. It is mainly used for data processing and display in the aerospace field. It focuses on improving the efficiency of aerospace data processing and display. Key points include customized form generation technology, aerospace business data dictionary components, and comprehensive aerospace data processing capabilities. This approach provides a comprehensive aerospace data processing platform by integrating multiple components such as satellites, antennas, orbits, constellations, stations, and orbit calculations.
[0072] In this embodiment, through customized form generation technology, relevant data forms including satellites, antennas, orbits, constellations, stations, etc. can be automatically generated according to the specific needs of aerospace business. The business function library is mainly composed of three modules: function form, custom form and data dictionary. Each module is powerful and can adapt to the complex needs of different business scenarios. This customization capability enables the structure, layout, fields and data types of the form to be dynamically adjusted according to specific business needs, thereby meeting the personalized needs of aerospace business.
[0073] Furthermore, the business function library is mainly composed of three modules: function form, custom form and data dictionary. Each module is powerful and can adapt to the complex needs of different business scenarios. Secondly, the aerospace business data dictionary component provides users with flexible data management functions. Users can customize and edit related data forms and tables according to different aerospace component requirements, including personalized settings of layout, fields and data types. This personalized data management method effectively improves the efficiency of data management and ensures the consistency and accuracy of data.
[0074] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0075] Implementing the above embodiments has the following effects:
[0076] The technical solution of the present invention generates an initial form by introducing a plug-in by the user, and imports a corresponding data dictionary in response to the aerospace function type input by the user, and then configures the data dictionary according to the initial form, and imports a digital dictionary template to edit the data dictionary, and then applies the edited data dictionary to the initial form to ensure field rendering and data verification of the initial form, and finally generates a front-end form. By means of a data dictionary, flexible data management functions are provided to users. At the same time, the generation of the initial form by the data dictionary effectively improves the efficiency of data management, ensures the consistency and accuracy of the data, can adapt to the complex needs of business scenarios of different spacecraft, and improves the user experience.
[0077] Embodiment 3
[0078] Correspondingly, the present invention also provides a terminal device, comprising: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements the method for generating a front-end form for in-orbit management of a spacecraft as described in any one of the above embodiments.
[0079] The terminal device of this embodiment includes: a processor, a memory, and a computer program and a computer instruction stored in the memory and executable on the processor. When the processor executes the computer program, each step in the above-mentioned embodiment 1 is implemented, for example: Figure 1 Steps S101 to S103 are shown.
[0080] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the terminal device.
[0081] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the diagram, or may combine certain components, or different components. For example, the terminal device may also include an input / output device, a network access device, a bus, etc.
[0082] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and various interfaces and lines are used to connect various parts of the entire terminal device.
[0083] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the terminal device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile terminal, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (SecureDi gita l, SD) card, a flash card (F l ash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0084] Wherein, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0085] Embodiment 4
[0086] Correspondingly, the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method for generating a front-end form for in-orbit management of a spacecraft as described in any one of the above embodiments.
[0087] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for generating a front-end form for on-orbit management of a spacecraft, characterized in that: include: In response to a user introducing a plug-in, an initial form is generated; In response to the user's aerospace function type, a data dictionary corresponding to the aerospace function type is imported, and the data dictionary of the aerospace function type is configured according to the initial form, thereby importing a digital dictionary template; According to the data dictionary template, the configured data dictionary is edited, and the edited data dictionary is applied to the initial form, so that the fields of the initial form are rendered and the data is verified according to the digital dictionary to generate a front-end form.
2. A method for generating a front-end form for on-orbit management of a spacecraft as claimed in claim 1, characterized in that: In response to the user introducing the plug-in, generating an initial form specifically includes: In response to the user introducing a plug-in, the form type to be generated by the user is determined according to the plug-in, thereby generating an initial functional form or an initial customized form; wherein the initial form includes an initial functional form and an initial customized form.
3. A method for generating a front-end form for on-orbit management of a spacecraft as claimed in claim 2, characterized in that: If the initial function form is generated, before importing the data dictionary corresponding to the aerospace function type, it also includes: In response to the aerospace function type input by the user, a first form template corresponding to the aerospace function type is generated; wherein the aerospace function type includes: satellite, antenna, orbit, constellation and station.
4. A method for generating a front-end form for on-orbit management of a spacecraft as claimed in claim 3, characterized in that: If an initial custom form is generated, before importing the data dictionary corresponding to the aerospace function type in response to the user's aerospace function type, the process further includes: In response to a user's customization operation on the template, a second form template corresponding to the customization operation is generated.
5. A method for generating a front-end form for on-orbit management of a spacecraft as claimed in claim 4, characterized in that: The step of importing a data dictionary corresponding to the aerospace function type in response to the user's aerospace function type and configuring the data dictionary of the aerospace function type according to the initial form, thereby importing a digital dictionary template, specifically includes: In response to the aerospace function type of the user, importing a data dictionary corresponding to the aerospace function type; The data dictionary is configured according to the first form template or the second form template, thereby defining the fields and standardizing the data format, and then importing the data dictionary template.
6. A method for generating a front-end form for on-orbit management of a spacecraft as claimed in claim 5, characterized in that: The step of editing the configured data dictionary according to the data dictionary template and applying the edited data dictionary to the initial form specifically includes: Edit the configured data dictionary according to the imported data dictionary template to add, modify or set validation rules for fields; The edited data dictionary is applied to the first form template or the second form template through the data dictionary template.
7. A method for generating a front-end form for on-orbit management of a spacecraft as claimed in claim 6, characterized in that: The performing of field rendering and data verification on the initial form according to the digital dictionary to generate a front-end form specifically includes: According to the edited data dictionary and the correspondence between the data dictionary template and the first form template or the second form template, when the spacecraft data is input into the initial functional form or the initial custom form, the spacecraft data is subjected to field rendering and data verification, so that after all the spacecraft data is input, the corresponding functional form or custom form is generated; wherein the front-end form includes a functional form and a custom form.
8. A component library, characterized in that: A method for generating a front-end form for on-orbit management of a spacecraft according to any one of claims 1 to 7, comprising: a function form module, a custom form module and a data dictionary module; The functional form module is used to generate a front-end form of spacecraft data corresponding to the functional space energy type input by the user; The custom form module is used to generate a front-end form of spacecraft data customized by the user; The data dictionary module is used to define and manage spacecraft data in the process of generating front-end forms.
9. A terminal device, characterized in that: It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the method for generating a front-end form for on-orbit management of a spacecraft as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method for generating a front-end form for on-orbit management of a spacecraft as described in any one of claims 1 to 7.
Citation Information
Cited By
Front-end form generation method, product, equipment and storage medium
CN120560655A