Method and device for obtaining process information of spacecraft ground measurement and control application software system
By configuring the cluster meta information table, process scheduling information table and host allocation information table, and using SQL statements to compile views to display process configuration information, the problem of large number of processes and difficult information configuration and acquisition of spacecraft ground measurement and control application software system is solved, and efficient process information acquisition and configuration is achieved.
Patent Information
- Application Number
- CN202411847477.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2044-12-16
AI Technical Summary
The spacecraft ground measurement and control application software system has a huge number of processes, and it is difficult to configure and obtain information, making it difficult to efficiently maintain and obtain process information in complex measurement and control scenarios.
By configuring the cluster meta information table, process scheduling information table and host allocation information table, the SQL statement compilation view displays process configuration information, and responds to the target process information query instructions, to achieve efficient acquisition of process information.
It realizes efficient configuration and rapid acquisition of process information of large-scale spacecraft ground measurement and control application software systems, reduces information redundancy and improves configuration and acquisition efficiency.
Smart Images

Figure CN119883402B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aerospace measurement and control technology, and in particular to a method and device for acquiring process information of a spacecraft ground measurement and control application software system. Background Art
[0002] With the advancement of space technology, the on-orbit operation time, TT&C communication coverage, information transmission volume, and transmission frequency of large spacecraft have significantly increased compared to previous generations. Consequently, the requirements for spacecraft ground TT&C application software systems are becoming increasingly stringent. Cluster-based system architectures have gradually replaced active-standby architectures as the primary, high-reliability, and high-availability strategy for spacecraft ground TT&C application software systems. Cluster-based systems utilize an order of magnitude more physical servers than the previous active-standby model. The complex TT&C application scenarios of space missions have also placed greater functional demands on spacecraft ground TT&C application software systems, leading to an increasing number of components. According to statistics, the number of process instances in the ground TT&C application software system of one large spacecraft exceeded 2,000. Furthermore, during mission preparation, to enable parallel development, testing, and joint testing, and to prevent conflicting business data, the system must be logically partitioned into distinct operating networks and environments. The same server cluster can belong to different networks or environments, with automatic identification during process scheduling.
[0003] In summary, the number of processes in the spacecraft ground measurement and control application software system is very large, centralized information configuration and maintenance is very difficult, and it is not easy to obtain process information of the spacecraft ground measurement and control application software system. Summary of the Invention
[0004] In response to the problems in the prior art, an embodiment of the present invention provides a method and apparatus for obtaining process information of a spacecraft ground measurement and control application software system, which can at least partially solve the problems in the prior art.
[0005] In one aspect, the present invention provides a method for obtaining process information of a spacecraft ground measurement and control application software system, comprising:
[0006] Obtaining the process configuration information of the pre-configured spacecraft ground measurement and control application software system;
[0007] The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs;
[0008] The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information;
[0009] In response to a target process information query instruction triggered by the process configuration information, the target process information query instruction is executed to obtain a target process information query result.
[0010] The step of obtaining the process configuration information of the pre-configured spacecraft ground measurement and control application software system includes:
[0011] The process configuration information is displayed in a view display manner compiled through SQL statements.
[0012] The step of responding to a target process information query instruction triggered by the process configuration information and executing the target process information query instruction to obtain a target process information query result includes:
[0013] In response to a trigger action executed by a user by browsing the process configuration information, a pre-compiled SQL statement is called to execute the target process information query instruction to obtain the target process information query result.
[0014] Wherein, pre-configuring the process configuration information includes:
[0015] Configure all meta information consisting of each type of meta information table;
[0016] Among them, the metadata information stored in each type of metadata table does not change with the addition of new spacecraft missions;
[0017] Clustering is performed based on the similarity of spacecraft mission functions, and a scheduling ID corresponding to each similar function is obtained;
[0018] Traversing all the meta information to determine the progress scheduling configuration information corresponding to each similar function, establishing an association relationship between the progress scheduling configuration information and the scheduling ID, and obtaining the process scheduling information table;
[0019] All the meta information is traversed to determine the host allocation configuration information corresponding to each similar function, and an association relationship is established between the host allocation configuration information and the host allocation ID that realizes the corresponding similar function to obtain the host allocation information table.
[0020] The configuration includes all meta-information consisting of each type of meta-information table, including:
[0021] Configure the network meta-information table, host meta-information table, environment meta-information table, spacecraft meta-information table, mission meta-information table, cluster meta-information table, and process meta-information table.
[0022] The step of traversing all the meta information to determine the schedule scheduling configuration information corresponding to each similar function includes:
[0023] The cluster meta information table and the process meta information table are traversed to determine the schedule scheduling configuration information corresponding to each similar function.
[0024] The traversing of all the meta information to determine the host allocation configuration information corresponding to each similar function includes:
[0025] The network meta-information table, the host meta-information table, the environment meta-information table, the spacecraft meta-information table, the task meta-information table and the cluster meta-information table are traversed to determine the host allocation configuration information corresponding to each similar function.
[0026] In one aspect, the present invention provides a process information acquisition device for a spacecraft ground measurement and control application software system, comprising:
[0027] A first acquisition unit is used to acquire process configuration information of a pre-configured spacecraft ground measurement and control application software system;
[0028] The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs;
[0029] The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information;
[0030] The second acquiring unit is configured to respond to a target process information query instruction triggered by the process configuration information, and execute the target process information query instruction to obtain a target process information query result.
[0031] On the other hand, an embodiment of the present invention provides an electronic device, comprising: a processor, a memory, and a bus, wherein:
[0032] The processor and the memory communicate with each other via the bus;
[0033] The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the following method:
[0034] Obtaining the process configuration information of the pre-configured spacecraft ground measurement and control application software system;
[0035] The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs;
[0036] The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information;
[0037] In response to a target process information query instruction triggered by the process configuration information, the target process information query instruction is executed to obtain a target process information query result.
[0038] An embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
[0039] The non-transitory computer-readable storage medium stores computer instructions, which cause the computer to execute the following method:
[0040] Obtaining the process configuration information of the pre-configured spacecraft ground measurement and control application software system;
[0041] The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs;
[0042] The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information;
[0043] In response to a target process information query instruction triggered by the process configuration information, the target process information query instruction is executed to obtain a target process information query result.
[0044] The embodiment of the present invention provides a method and device for obtaining process information of a spacecraft ground measurement and control application software system, which obtains process configuration information of a pre-configured spacecraft ground measurement and control application software system; wherein the process configuration information includes a cluster meta-information table, a process scheduling information table and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to process scheduling configuration information and the cluster ID to which it belongs; the host allocation information table includes at least one cluster ID corresponding to the host allocation ID, and each host allocation ID corresponds to the host allocation configuration information; responding to a target process information query instruction triggered by the process configuration information, executing the target process information query instruction to obtain a target process information query result, can conveniently and efficiently obtain the process information of the spacecraft ground measurement and control application software system. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0046] Figure 1 The present invention provides a flowchart of a method for obtaining process information of a spacecraft ground measurement and control application software system according to an embodiment of the present invention.
[0047] Figure 2 This is a schematic diagram illustrating process configuration information provided by an embodiment of the present invention.
[0048] Figure 3 It is a structural diagram of a process information acquisition device of a spacecraft ground measurement and control application software system provided by one embodiment of the present invention.
[0049] Figure 4 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] To make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of this application can be combined with each other in any manner.
[0051] Figure 1FIG. 1 is a flow chart of a method for obtaining process information of a spacecraft ground measurement and control application software system according to an embodiment of the present invention. Figure 1 As shown, the process information acquisition method of the spacecraft ground measurement and control application software system provided by the embodiment of the present invention includes:
[0052] Step S1: obtaining process configuration information of a pre-configured spacecraft ground measurement and control application software system;
[0053] The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs;
[0054] The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information.
[0055] Step S2: responding to the target process information query instruction triggered by the process configuration information, executing the target process information query instruction to obtain a target process information query result.
[0056] In the above step S1, the device obtains the process configuration information of the pre-configured spacecraft ground measurement and control application software system;
[0057] The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs;
[0058] The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information. The device can be a computer device that executes the method, for example, a server. It should be noted that the acquisition and analysis of data involved in the embodiment of the present invention is authorized by the user. The contents of the process scheduling information table and the host allocation information table are as follows: Figure 2 shown.
[0059] The obtaining of the process configuration information of the pre-configured spacecraft ground measurement and control application software system includes:
[0060] The process configuration information is displayed in a view display method compiled by SQL statements. The view display method is implemented as follows:
[0061] CREATE VIEW V_COM_SCHEINFO
[0062] As SELECT
[0063] DISTINCT S.Schedule ID,
[0064] S.Process ID,
[0065] P.Process code,
[0066] P.Process name,
[0067] S. Process description,
[0068] S. Process execution path,
[0069] S. Process start time,
[0070] S. Process exit time,
[0071] S. Process additional parameters,
[0072] S. Process constraint mark,
[0073] S. Process constraint entry number,
[0074] S. Process constraint offset,
[0075] S. Process type,
[0076] B. Environment ID,
[0077] O. Spacecraft ID,
[0078] O. Spacecraft digital code,
[0079] O. Spacecraft English code,
[0080] O. Chinese name of spacecraft,
[0081] A.Host name,
[0082] A.Host IP
[0083] FROM
[0084] Host allocation information table B,
[0085] Host meta information table A,
[0086] Process scheduling information table S,
[0087] Spacecraft metadata table O,
[0088] Process meta-information table P,
[0089] WHERE ( ( (
[0093] (S.cluster ID = B.cluster ID)
[0094] AND(STRPOS(CONCAT(CONCAT(','::text,(B.Host ID)::text),','::text),CONCAT(CONCAT(','::text,(A.Host ID)::text),','::text))>0) )
[0096] AND((B.Spacecraft ID)::numeric(18,0)=O.Spacecraft ID) )
[0098] AND((S.Process ID)::numeric(18,0)=P.Process ID) )
[0100] ORDER BY
[0101] S. Scheduling ID, S. Process ID, P. Process code, P. Process name, S. Process description, S. Process execution path, S. Process start time, S. Process exit time, S. Process additional parameters, S. Process constraint label, S. Process constraint entry number, S. Process constraint offset, B. Environment ID, O. Spacecraft ID, O. Spacecraft digital code, O. Spacecraft English code, O. Spacecraft Chinese name, A. Host name, A. Host IP, S. Process type.
[0102] In the above step S2, the device responds to the target process information query instruction triggered by the process configuration information, executes the target process information query instruction to obtain the target process information query result.
[0103] The responding to the target process information query instruction triggered by the process configuration information, executing the target process information query instruction to obtain a target process information query result, includes:
[0104] In response to the trigger action executed by the user by browsing the process configuration information, the pre-compiled SQL statement is called to execute the target process information query instruction to obtain the target process information query result. An example is as follows:
[0105] When a user starts a process for a specific spacecraft mission in a specific environment on a specific host, he can obtain a list of process information to be started by querying the view conditionally. For example, to obtain the process with the code 1234 for the spacecraft in environment 1 on the XDT1 server:
[0106] SELECT * FROM V_COM_SCHEINFO
[0107] WHERE
[0108] Host name = 'XDT1' and spacecraft number = '1234' and environment ID = 1.
[0109] Pre-configuring the process configuration information includes:
[0110] Configure all meta information consisting of each type of meta information table;
[0111] Among them, the metadata information stored in each type of metadata table does not change with the addition of new spacecraft missions;
[0112] Clustering is performed based on the similarity of spacecraft mission functions, and a scheduling ID corresponding to each similar function is obtained;
[0113] Traversing all the meta information to determine the progress scheduling configuration information corresponding to each similar function, establishing an association relationship between the progress scheduling configuration information and the scheduling ID, and obtaining the process scheduling information table;
[0114] This metadata is traversed to determine the host allocation configuration information corresponding to each similar function. This information is then associated with the host allocation IDs of the corresponding similar functions to create the host allocation information table. When adding a new spacecraft mission, only a small amount of configuration is required in the host allocation information table to specify the cluster to which it belongs. There is no need to configure all process information on the host.
[0115] The process of configuring process configuration information is as follows:
[0116] 1. Configure all meta information.
[0117] 2. Configure process scheduling information. This step abstracts processes with similar functions into a functional cluster.
[0118] 3. Configure host allocation information. This step specifies the host, environment, network, and spacecraft on which each functional cluster runs.
[0119] The configuration consists of all meta information in each type of meta information table, including:
[0120] Configure the network meta-information table, host meta-information table, environment meta-information table, spacecraft meta-information table, mission meta-information table, cluster meta-information table, and process meta-information table. The meta-information is described as follows:
[0121] Stores all metadata information. This type of information usually only needs to be configured once. When adding a new task, it can be assumed that this type of information does not change with the addition of the task. It includes the network metadata table, host metadata table, environment metadata table, spacecraft metadata table, mission metadata table, cluster metadata table, and process metadata table; they are described as follows:
[0122] The network meta-information table includes: network ID and network name.
[0123] The environment metadata table includes: environment ID and environment name.
[0124] The host meta information table includes: host ID, host name, host IP, and network ID.
[0125] The cluster meta-information table includes: cluster ID and cluster name.
[0126] The process meta-information table includes: process ID, process code, and process name.
[0127] The spacecraft meta-information table includes: spacecraft ID, mission ID, spacecraft English code, spacecraft Chinese name, and spacecraft digital code.
[0128] The task meta-information table includes: task ID, task English code, task Chinese name, and task digital code.
[0129] The related information is described as follows:
[0130] Stores process scheduling information and associates process information with host information. When adding a new task, this type of information is mainly changed, including process scheduling information and host allocation information.
[0131] The traversing all the meta information to determine the schedule scheduling configuration information corresponding to each similar function includes:
[0132] The cluster meta information table and the process meta information table are traversed to determine the schedule scheduling configuration information corresponding to each similar function.
[0133] The traversing of all the meta information to determine the host allocation configuration information corresponding to each similar function includes:
[0134] Traverse the network meta-information table, the host meta-information table, the environment meta-information table, the spacecraft meta-information table, the mission meta-information table and the cluster meta-information table to determine the host allocation configuration information corresponding to each similar function. Figure 2 Description.
[0135] The process information acquisition method of the spacecraft ground measurement and control application software system provided by the embodiment of the present invention addresses the technical problems of the existing large-scale spacecraft ground measurement and control application software system with a large number of servers, a large number of process instances, and difficulty in maintaining scheduling information. The process information that jointly realizes a certain function can be logically divided into different functional clusters at one time. When the user maintains the information, it only needs to allocate server information to different functional clusters according to the network, environment, task, and goal to which it belongs, which greatly reduces the duplication of binding content and improves binding efficiency.
[0136] The process information acquisition method of the spacecraft ground measurement and control application software system provided by the embodiment of the present invention is briefly described as follows:
[0137] 1. An efficient configuration method for process information in large-scale spacecraft ground measurement and control application software systems. This method abstracts processes with similar functions into a functional cluster for configuration and binding, and then allocates hosts based on the functional cluster granularity. This significantly reduces the amount of process configuration information and improves process information configuration efficiency.
[0138] 2. Efficient acquisition of process information for large-scale spacecraft ground measurement and control application software systems. Based on the configuration information defined in Technical Point 1, a process scheduling information view is defined, allowing rapid acquisition of process information by simply specifying the server, environment, and spacecraft.
[0139] The beneficial effects of the process information acquisition method of the spacecraft ground measurement and control application software system provided by the embodiment of the present invention are described as follows:
[0140] 1. It realizes the efficient process information configuration process under complex systems, and can realize the fast and efficient configuration of processes in multi-network, multi-environment, multi-host and multi-spacecraft of large-scale spacecraft ground measurement and control application software systems, greatly reducing information redundancy.
[0141] 2. Efficient acquisition of process information under complex startup constraints is achieved, and process information can be quickly acquired by simply specifying the server, environment, and spacecraft.
[0142] The embodiment of the present invention provides a method for obtaining process information of a spacecraft ground measurement and control application software system, which obtains process configuration information of a pre-configured spacecraft ground measurement and control application software system; wherein the process configuration information includes a cluster meta-information table, a process scheduling information table and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to process scheduling configuration information and the cluster ID to which it belongs; the host allocation information table includes at least one cluster ID corresponding to the host allocation ID, and each host allocation ID corresponds to the host allocation configuration information; responding to a target process information query instruction triggered by the process configuration information, executing the target process information query instruction to obtain a target process information query result, can conveniently and efficiently obtain the process information of the spacecraft ground measurement and control application software system.
[0143] Furthermore, the obtaining of the process configuration information of the pre-configured spacecraft ground measurement and control application software system includes:
[0144] The process configuration information is displayed in a view display mode compiled by SQL statements.
[0145] Furthermore, the response to the target process information query instruction triggered by the process configuration information, executing the target process information query instruction to obtain a target process information query result, includes:
[0146] In response to the trigger action executed by the user by browsing the process configuration information, the pre-compiled SQL statement is called to execute the target process information query instruction to obtain the target process information query result.
[0147] Furthermore, pre-configuring the process configuration information includes:
[0148] All meta-information consisting of each type of meta-information table is configured; the above-mentioned embodiment can be referred to for description and will not be repeated here.
[0149] Among them, the metadata information stored in each type of metadata table does not change with the addition of new spacecraft missions; please refer to the above embodiment for description and no further details will be given.
[0150] Clustering is performed according to the similarity of the spacecraft mission functions to obtain a scheduling ID corresponding to each similar function. The above description can be referred to in the embodiment and will not be repeated here.
[0151] Traverse all the meta-information to determine the progress scheduling configuration information corresponding to each similar function, establish an association between the progress scheduling configuration information and the scheduling ID, and obtain the process scheduling information table; refer to the above embodiment for description and no further details will be given.
[0152] All the meta information is traversed to determine the host allocation configuration information corresponding to each similar function, and an association relationship is established between the host allocation configuration information and the host allocation ID that realizes the corresponding similar function to obtain the host allocation information table.
[0153] Furthermore, the configuration includes all meta information consisting of each type of meta information table, including:
[0154] The configuration of the network meta-information table, host meta-information table, environment meta-information table, spacecraft meta-information table, mission meta-information table, cluster meta-information table, and process meta-information table can be described with reference to the above embodiment and will not be repeated here.
[0155] Furthermore, the traversing of all the meta information to determine the schedule scheduling configuration information corresponding to each similar function includes:
[0156] The cluster meta-information table and the process meta-information table are traversed to determine the schedule scheduling configuration information corresponding to each similar function.
[0157] Furthermore, traversing all the meta information to determine the host allocation configuration information corresponding to each similar function includes:
[0158] The network meta-information table, the host meta-information table, the environment meta-information table, the spacecraft meta-information table, the mission meta-information table, and the cluster meta-information table are traversed to determine the host allocation configuration information corresponding to each similar function.
[0159] Figure 3 FIG. 1 is a schematic diagram of a process information acquisition device of a spacecraft ground measurement and control application software system according to an embodiment of the present invention. Figure 3 As shown, the process information acquisition device of the spacecraft ground measurement and control application software system provided by the embodiment of the present invention includes a first acquisition unit 301 and a second acquisition unit 302, wherein:
[0160] The first acquisition unit 301 is used to obtain the process configuration information of the pre-configured spacecraft ground measurement and control application software system; wherein, the process configuration information includes a cluster meta-information table, a process scheduling information table and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs; the host allocation information table includes at least one cluster ID corresponding to the host allocation ID, and each host allocation ID corresponds to the host allocation configuration information; the second acquisition unit 302 is used to respond to the target process information query instruction triggered by the process configuration information, execute the target process information query instruction to obtain the target process information query result.
[0161] Specifically, the first acquisition unit 301 in the device is used to obtain the process configuration information of a pre-configured spacecraft ground measurement and control application software system; wherein, the process configuration information includes a cluster meta-information table, a process scheduling information table and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to process scheduling configuration information and its cluster ID; the host allocation information table includes at least one cluster ID corresponding to the host allocation ID, and each host allocation ID corresponds to host allocation configuration information; the second acquisition unit 302 is used to respond to a target process information query instruction triggered by the process configuration information, and execute the target process information query instruction to obtain a target process information query result.
[0162] The process information acquisition device of the spacecraft ground measurement and control application software system provided by the embodiment of the present invention obtains the process configuration information of the pre-configured spacecraft ground measurement and control application software system; wherein, the process configuration information includes a cluster meta-information table, a process scheduling information table and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function one by one, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs; the host allocation information table includes at least one cluster ID corresponding to the host allocation ID, and each host allocation ID corresponds to the host allocation configuration information; responding to a target process information query instruction triggered by the process configuration information, executing the target process information query instruction to obtain a target process information query result, can conveniently and efficiently obtain the process information of the spacecraft ground measurement and control application software system.
[0163] The embodiment of the present invention provides an embodiment of a process information acquisition device for a spacecraft ground measurement and control application software system, which can be specifically used to execute the processing flow of the above-mentioned method embodiments. Its functions are not repeated here, and reference can be made to the detailed description of the above-mentioned method embodiments.
[0164] Figure 4 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present invention, such as Figure 4 As shown, the electronic device includes: a processor 401, a memory 402 and a bus 403;
[0165] The processor 401 and the memory 402 communicate with each other via a bus 403.
[0166] The processor 401 is configured to call the program instructions in the memory 402 to execute the methods provided by the above method embodiments, for example, including:
[0167] Obtaining the process configuration information of the pre-configured spacecraft ground measurement and control application software system;
[0168] The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs;
[0169] The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information;
[0170] In response to a target process information query instruction triggered by the process configuration information, the target process information query instruction is executed to obtain a target process information query result.
[0171] This embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can perform the methods provided in the above-mentioned method embodiments, for example, including:
[0172] Obtaining the process configuration information of the pre-configured spacecraft ground measurement and control application software system;
[0173] The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs;
[0174] The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information;
[0175] In response to a target process information query instruction triggered by the process configuration information, the target process information query instruction is executed to obtain a target process information query result.
[0176] This embodiment provides a computer-readable storage medium storing a computer program. The computer program enables the computer to execute the methods provided in the above method embodiments, for example, including:
[0177] Obtaining the process configuration information of the pre-configured spacecraft ground measurement and control application software system;
[0178] The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs;
[0179] The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information;
[0180] In response to a target process information query instruction triggered by the process configuration information, the target process information query instruction is executed to obtain a target process information query result.
[0181] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0182] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0183] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0184] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0185] Throughout this specification, reference to terms such as "one embodiment," "a specific embodiment," "some embodiments," "for example," "example," "specific example," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0186] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. 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. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for obtaining process information of a spacecraft ground measurement and control application software system, characterized in that: include: Obtaining the process configuration information of the pre-configured spacecraft ground measurement and control application software system; The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs; The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information; In response to a target process information query instruction triggered by the process configuration information, executing the target process information query instruction to obtain a target process information query result; Pre-configuring the process configuration information includes: Configure all meta information consisting of each type of meta information table; Among them, the metadata information stored in each type of metadata table does not change with the addition of new spacecraft missions; Clustering is performed based on the similarity of spacecraft mission functions, and a scheduling ID corresponding to each similar function is obtained; Traversing all the meta information to determine the progress scheduling configuration information corresponding to each similar function, establishing an association relationship between the progress scheduling configuration information and the scheduling ID, and obtaining the process scheduling information table; All the meta information is traversed to determine the host allocation configuration information corresponding to each similar function, and an association relationship is established between the host allocation configuration information and the host allocation ID that realizes the corresponding similar function to obtain the host allocation information table.
2. The process information acquisition method of the spacecraft ground measurement and control application software system according to claim 1 is characterized in that: The obtaining of the process configuration information of the pre-configured spacecraft ground measurement and control application software system includes: The process configuration information is displayed in a view display manner compiled through SQL statements.
3. The process information acquisition method of the spacecraft ground measurement and control application software system according to claim 2, characterized in that: The responding to the target process information query instruction triggered by the process configuration information, executing the target process information query instruction to obtain a target process information query result, includes: In response to a trigger action executed by a user by browsing the process configuration information, a pre-compiled SQL statement is called to execute the target process information query instruction to obtain the target process information query result.
4. The process information acquisition method of the spacecraft ground measurement and control application software system according to claim 1 is characterized in that: The configuration consists of all meta information in each type of meta information table, including: Configure the network meta-information table, host meta-information table, environment meta-information table, spacecraft meta-information table, mission meta-information table, cluster meta-information table, and process meta-information table.
5. The process information acquisition method of the spacecraft ground measurement and control application software system according to claim 4 is characterized in that: The traversing all the meta information to determine the schedule scheduling configuration information corresponding to each similar function includes: The cluster meta information table and the process meta information table are traversed to determine the schedule scheduling configuration information corresponding to each similar function.
6. The process information acquisition method of the spacecraft ground measurement and control application software system according to claim 4 is characterized in that: The traversing of all the meta information to determine the host allocation configuration information corresponding to each similar function includes: The network meta-information table, the host meta-information table, the environment meta-information table, the spacecraft meta-information table, the task meta-information table and the cluster meta-information table are traversed to determine the host allocation configuration information corresponding to each similar function.
7. A process information acquisition device for a spacecraft ground measurement and control application software system, characterized in that: include: A first acquisition unit is used to acquire process configuration information of a pre-configured spacecraft ground measurement and control application software system; The process configuration information includes a cluster meta-information table, a process scheduling information table, and a host allocation information table; the cluster meta-information table includes a cluster ID and a cluster name; the process scheduling information table includes a scheduling ID corresponding to each similar function, and each scheduling ID corresponds to the process scheduling configuration information and the cluster ID to which it belongs; The host allocation information table includes at least one cluster ID corresponding to each host allocation ID, and each host allocation ID corresponds to host allocation configuration information; a second acquiring unit, configured to respond to a target process information query instruction triggered by the process configuration information, execute the target process information query instruction to obtain a target process information query result; Pre-configuring the process configuration information includes: Configure all meta information consisting of each type of meta information table; Among them, the metadata information stored in each type of metadata table does not change with the addition of new spacecraft missions; Clustering is performed based on the similarity of spacecraft mission functions, and a scheduling ID corresponding to each similar function is obtained; Traversing all the meta information to determine the progress scheduling configuration information corresponding to each similar function, establishing an association relationship between the progress scheduling configuration information and the scheduling ID, and obtaining the process scheduling information table; All the meta information is traversed to determine the host allocation configuration information corresponding to each similar function, and an association relationship is established between the host allocation configuration information and the host allocation ID that realizes the corresponding similar function to obtain the host allocation information table.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Data enquiring method, device, computer equipment and storage medium
CA3151209A1
Container cluster building system and method
CN111666128A