A processing method and device for sending measurement and control instructions
By obtaining the interface identifier and link usage type identifier, calculating the link establishment status value, and using binary operations to automatically find the target arc segment and send measurement and control instructions, the problem of low efficiency in relay satellite measurement and control instruction arrangement is solved, and efficient and accurate instruction sending is achieved.
Patent Information
- Application Number
- CN202210646893.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-09
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2042-06-09
AI Technical Summary
In the existing technology, the tracking and control command arrangement of relay satellites requires manual judgment of link status and manual selection of command files, resulting in slow response speed, low efficiency and high error probability. It cannot adapt to the increasing frequency of relay satellite use and the need for urgent changes in link status.
By obtaining the interface identifier and link usage type identifier, calculating the link establishment status value, using binary operations to find the matching target arc segment in the entire set of relay measurement and control arc segments, and automatically sending measurement and control instructions, including compatible and exclusive usage type operation methods.
It improves the efficiency of sending measurement and control instructions and reduces the probability of instruction programming errors. It is applicable to different types of spacecraft and measurement and control equipment and has good scalability and software system maintainability.
Smart Images

Figure CN114936042B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of measurement and control technology, and in particular to a processing method and device for sending measurement and control instructions. Background Art
[0002] Relay communication uses relay satellites as forwarding stations to relay signals to orbiting spacecraft, such as satellites and spacecraft. Relay satellites typically operate in the Ka and S bands, and newer generations of relay satellites are often equipped with both single-access and multi-access antennas. Single-access antennas can provide single-access links in different frequency bands, while multi-access antennas can provide multiple multi-access links within the same frequency band. Therefore, relay satellites can establish multiple communication links simultaneously with spacecraft, providing measurement, control, and communication services. In engineering applications, a spacecraft may utilize all or only a portion of the relay links, requiring the determination of the actual link status to assign appropriate measurement, control, and communication commands and conduct appropriate space activities.
[0003] For example, a certain type of relay satellite can provide three links: L1, L2, and L3. There are seven possible scenarios for establishing links:
[0004] a) Establish link l1
[0005] b) Establish link l2
[0006] c) Establish link l3
[0007] d) Establish links l1 and l2
[0008] e) Establish links l2 and l3
[0009] f) Establish links l1 and l3
[0010] g) Establish links l1, l2, and l3
[0011] In fact, due to the differences in bus design of different spacecraft, the actual needs of measurement and control activities and other reasons, in engineering applications, it is necessary not only to determine which links are established, but also to distinguish between the two types of use of the links: "compatible use" and "exclusive use", so as to accurately judge the link status and correctly arrange the supporting instructions.
[0012] For example, to send power-on / off commands for a certain type of device within a relay arc that meets the "compatible with link 12" status, it's necessary to determine which link establishment conditions meet the expected status. The judgment criterion is "as long as link 12 exists, the condition is satisfied." Looking at the seven scenarios above, we can see that scenarios b, d, e, and g all meet the "compatible with link 12" status. Therefore, in engineering applications, as long as the link establishment condition for a relay arc falls into any of b, d, e, or g, the relay arc is considered to meet the "compatible with link 12" status requirement, and the corresponding device power-on / off commands can be issued.
[0013] Taking the three links l1, l2, and l3 as an example, there are seven situations in which links can be established. If we further distinguish between the two usage types of "compatible use" and "exclusive use", there will be a total of 13 states, as shown in Table 1.
[0014] Table 1
[0015]
[0016]
[0017] The existing solution requires designing corresponding instruction arrangement files for each link state in advance. In engineering applications, the link establishment status of each relay arc segment is manually checked to determine whether it meets the required link state. If it meets the requirements, the matching instruction arrangement file is manually selected.
[0018] For example, taking the three links l1, l2, and l3 as an example, assuming that the corresponding instructions need to be arranged for the link state of "compatible use of link l2", the processing process of the existing solution is as follows:
[0019] First, design instruction arrangement files for all 13 link states: FILE i , i=1,2,…,13, list the relevant instructions in each file;
[0020] Secondly, manually check the link establishment status of each relay arc segment to determine whether it meets the required link status and find the relay arc segments that meet the link status of "compatible use link l2";
[0021] Finally, the file FILE2 is manually selected and set as the input parameter of the measurement and control software system. The measurement and control software reads and processes it to carry out subsequent work.
[0022] Existing technical solutions require manual evaluation of relay link status and selection of command files. This manual approach was adequate when relay satellites were used infrequently and link status was stable. However, as relay satellites have become the primary TT&C method, the frequency of relay TT&C arc usage has increased, especially with the increasing number of emergency link status changes. Continuing to use this manual approach would result in slow response, low efficiency, and a significantly increased probability of command errors, making it completely unsuitable. Summary of the Invention
[0023] In response to the problems in the prior art, an embodiment of the present invention provides a method and apparatus for sending measurement and control instructions, which can at least partially solve the problems in the prior art.
[0024] In one aspect, the present invention provides a method for sending a measurement and control instruction, comprising:
[0025] Obtaining an interface identifier and calculating a link establishment state value corresponding to a used link; the interface identifier includes a link use type identifier and the used link;
[0026] According to the link usage type identifier and the usage link establishment state value, searching for a target arc segment that matches the usage requirement according to the target link establishment state value in the entire set of relay measurement and control arc segments;
[0027] Sending a measurement and control instruction to the target spacecraft corresponding to the target arc segment.
[0028] The link usage type identifier includes a first identifier corresponding to compatible usage; accordingly, searching for a target arc segment that matches the usage requirement based on a target link establishment state value in the entire set of relay measurement and control arc segments according to the link usage type identifier and the usage link establishment state value includes:
[0029] If it is determined that the link usage type identifier is the first identifier, calculating the link usage state value and the target link establishment state value corresponding to each relay measurement and control arc segment in the full set of relay measurement and control arc segments by using a first operation method;
[0030] The relay measurement and control arc segment corresponding to the target link establishment state value whose comparison judgment value obtained by the first operation mode is greater than zero is used as the target arc segment;
[0031] The first operation method is to calculate the ratio judgment value by using a binary bitwise AND method.
[0032] The link usage type identifier includes a second identifier corresponding to exclusive use; accordingly, searching for a target arc segment that matches the usage requirement based on the target link establishment state value in the entire set of relay measurement and control arc segments according to the link usage type identifier and the usage link establishment state value includes:
[0033] If it is determined that the link usage type identifier is the second identifier, the target link establishment state value corresponding to each relay measurement and control arc segment in the full set of relay measurement and control arc segments is calculated using a second operation method;
[0034] The relay measurement and control arc segment corresponding to the target link establishment state value equal to the link establishment state value obtained by the second operation mode is used as the target arc segment;
[0035] The second operation method is a calculation method of comparing the used link establishment state value with the target link establishment state value.
[0036] The calculating of the link establishment state value corresponding to the used link includes:
[0037] Obtaining each single link included in the used link;
[0038] Calculate the link mark value corresponding to each single link;
[0039] Perform a binary bitwise OR operation on each link tag value to obtain a link establishment state value corresponding to the used link.
[0040] The calculating of the link tag value corresponding to each single link includes:
[0041] The link mark value corresponding to each single link is calculated using a binary shift operation.
[0042] The sending of a measurement and control instruction to a target spacecraft corresponding to the target arc segment includes:
[0043] Sending a measurement and control instruction to the target spacecraft corresponding to the target arc segment according to the measurement and control mission type.
[0044] In one aspect, the present invention provides a processing device for sending a measurement and control instruction, comprising:
[0045] An acquiring unit, configured to acquire an interface identifier and calculate a link establishment state value corresponding to a used link; the interface identifier includes a link use type identifier and the used link;
[0046] A search unit, configured to search, according to the link usage type identifier and the usage link establishment state value, a target arc segment that matches the usage requirement in the entire set of relay measurement and control arc segments according to the target link establishment state value;
[0047] The sending unit is used to send measurement and control instructions to the target spacecraft corresponding to the target arc segment.
[0048] In another aspect, an embodiment of the present invention provides a computer 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 following method is implemented:
[0049] Obtaining an interface identifier and calculating a link establishment state value corresponding to a used link; the interface identifier includes a link use type identifier and the used link;
[0050] According to the link usage type identifier and the usage link establishment state value, searching for a target arc segment that matches the usage requirement according to the target link establishment state value in the entire set of relay measurement and control arc segments;
[0051] Sending a measurement and control instruction to the target spacecraft corresponding to the target arc segment.
[0052] An embodiment of the present invention provides a computer-readable storage medium, including:
[0053] The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following method is implemented:
[0054] Obtaining an interface identifier and calculating a link establishment state value corresponding to a used link; the interface identifier includes a link use type identifier and the used link;
[0055] According to the link usage type identifier and the usage link establishment state value, searching for a target arc segment that matches the usage requirement according to the target link establishment state value in the entire set of relay measurement and control arc segments;
[0056] Sending a measurement and control instruction to the target spacecraft corresponding to the target arc segment.
[0057] An embodiment of the present invention further provides a computer program product, comprising a computer program. When the computer program is executed by a processor, the computer program implements the following method:
[0058] Obtaining an interface identifier and calculating a link establishment state value corresponding to a used link; the interface identifier includes a link use type identifier and the used link;
[0059] According to the link usage type identifier and the usage link establishment state value, searching for a target arc segment that matches the usage requirement according to the target link establishment state value in the entire set of relay measurement and control arc segments;
[0060] Sending a measurement and control instruction to the target spacecraft corresponding to the target arc segment.
[0061] The processing method and device for sending measurement and control instructions provided in an embodiment of the present invention obtain an interface identifier and calculate a usage link establishment status value corresponding to the usage link; the interface identifier includes a link usage type identifier and the usage link; according to the link usage type identifier and the usage link establishment status value, a target arc segment that matches the usage requirement is searched in the entire set of relay measurement and control arc segments according to the target link establishment status value; and measurement and control instructions are sent to the target spacecraft corresponding to the target arc segment, which can improve the work efficiency of sending measurement and control instructions and reduce the probability of instruction arrangement errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] 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:
[0063] Figure 1 It is a flowchart of a processing method for sending measurement and control instructions provided by an embodiment of the present invention.
[0064] Figure 2 It is a flowchart of a processing method for sending measurement and control instructions provided by another embodiment of the present invention.
[0065] Figure 3 It is a flowchart of a processing method for sending measurement and control instructions provided by another embodiment of the present invention.
[0066] Figure 4 It is a structural diagram of a processing device for sending measurement and control instructions provided by an embodiment of the present invention.
[0067] Figure 5 A schematic diagram of the physical structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0068] 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.
[0069] The professional terms of the embodiments of the present invention are explained as follows:
[0070] Compatible use: Certain links (one or more) are not affected by other links and can be used simultaneously with other links. The condition constraint is described as "the condition is satisfied as long as any link within the specified range exists."
[0071] Exclusive use: Certain links (one or more) are affected by other links and cannot be used simultaneously with other links. The condition constraint is described as "only all links in the specified range meet the condition."
[0072] The relay tracking and control arc, abbreviated as the "relay arc," refers to the time range during which a relay satellite can observe a spacecraft while it is in orbit. Within this arc, the relay satellite can receive downlink data from the spacecraft and send remote control commands and upload flight parameters to the spacecraft, thereby providing tracking and control.
[0073] Figure 1 FIG. 1 is a flow chart of a method for sending a measurement and control instruction according to an embodiment of the present invention. Figure 1 As shown, the processing method for sending measurement and control instructions provided by the embodiment of the present invention includes:
[0074] Step S1: Acquire an interface identifier and calculate a link establishment state value corresponding to a used link; the interface identifier includes a link use type identifier and the used link.
[0075] Step S2: According to the link usage type identifier and the usage link establishment state value, a target arc segment that matches the usage requirement is searched in the entire set of relay measurement and control arc segments according to the target link establishment state value.
[0076] Step S3: Sending measurement and control instructions to the target spacecraft corresponding to the target arc segment.
[0077] In step S1 above, the device obtains an interface identifier and calculates a link establishment status value corresponding to the link being used; the interface identifier includes a link usage type identifier and the link being used. The device may be a computer device, such as a server, that executes the method. The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations. The calculation of the link establishment status value corresponding to the link being used includes:
[0078] Obtaining each single link included in the used link;
[0079] Calculate the link mark value corresponding to each single link;
[0080] Perform a binary bitwise OR operation on each link tag value to obtain a link establishment state value corresponding to the used link.
[0081] The calculating of the link tag value corresponding to each single link includes:
[0082] The link mark value corresponding to each single link is calculated using a binary shift operation.
[0083] The marking method for a single link is as follows:
[0084] To distinguish each link, an integer value is assigned to each link as the tag value of the link.
[0085] Assume that a certain type of relay satellite can provide n links, let L = {l1, l2, ...l i 、...l n} represents the link set that the device can provide, where l i represents the i-th link, i=1, 2, ...n.
[0086] To facilitate software development and engineering applications, each link is assigned an integer value as its tag value. Link tag values are calculated using binary bit shift operations, which can be achieved by shifting the integer 1 left by i bits.
[0087] For example, for the first link l1 in the link set, shift the integer 1 to the left by 1 bit; for the second link l2 in the link set, shift the integer 1 to the left by 2 bits; for the i-th link l i , shift the integer 1 left by i bits; and so on, assign the tag value of each link.
[0088] Let v i Represents the i-th link l i The tag values are:
[0089] v i =f(l i )=1<<i,i=1, 2,...n
[0090] For example: v1=1<<1=2 1 =2, that is, shifting left by 1 bit, to obtain the tag value of the first link, whose decimal integer value is 2, as shown in Table 2:
[0091] Table 2
[0092]
[0093] v2=1<<2=2 2 =4, that is, shifted left by 2 bits, to obtain the tag value of the second link, whose decimal integer value is 4, as shown in Table 3:
[0094] Table 3
[0095]
[0096] v3=1<<3=2 3 =8, that is, shifting left by 3 bits, we get the tag value of the third link, whose decimal integer value is 8, as shown in Table 4:
[0097] Table 4
[0098]
[0099] The marking method for the link establishment status is as follows:
[0100] In engineering applications, different relay arcs may establish one or more links, resulting in different link establishment states for each relay arc. To distinguish between different link establishment states, each link usage status is assigned an integer value as the status value. Link establishment status values are calculated using binary bitwise operations, using the tag values of each link through a bitwise OR operation.
[0101] Assume there are m link establishment states, and in the jth link establishment state, t links are established, which are: Here p = 1, 2, ... t, L is the set of all links, and its meaning is as described above.
[0102] Order s j Indicates the link establishment status value in the jth case:
[0103]
[0104] For example, in a certain situation, two links are established, namely l2 and l3. The link tag values corresponding to links l2 and l3 are decimal numbers 4 and 8, respectively. Then the link state value s j =4|8=2 2 +2 3 =12, as shown in Table 5:
[0105] Table 5
[0106]
[0107] The interface identification method is described as follows:
[0108] The interface identifier corresponds to the link establishment status one by one, allowing engineering application personnel to set constraints based on usage requirements. This makes it easy for engineering application personnel to identify and use it, and also facilitates software developers to design and implement it.
[0109] Let A={a1, a2, ...a j 、...a m} represents a set of interface identifiers, where Indicates an interface identifier, j = 1, 2, ..., m.
[0110] An interface identifier a j Contains two aspects of information, the meaning of each part is as follows:
[0111] 1) Link usage type identifier b j
[0112] The link usage type identifier is used to distinguish between the two usage types of "compatible use" and "exclusive use". j Indicates the type of link used.
[0113]
[0114] 2) The interface identifier corresponds to each link established
[0115] In the j-th link establishment state, t links are established, which are: Here p = 1, 2, ... t, L is the set of all links, and its meaning is as described above.
[0116] A complete interface identifier is defined by b j 、 These two aspects of information can fully and intuitively express the meaning of "how many links to establish and how to use them". The corresponding link establishment state value is recorded as s j , where b j 、 For personnel identification in engineering applications, j For software system calculation comparison judgment. For example, if the jth interface identifier is to express the meaning of "exclusively use l2 and l3", then the interface identifier a j ={false,{l2,l3}}, accordingly, the software system uses the link state marking method to calculate the link state value s j is 12.
[0117] In the above step S2, the device searches for a target arc segment that matches the usage requirement according to the link usage type identifier and the usage link establishment state value in the entire set of relay measurement and control arc segments according to the target link establishment state value.
[0118] The link usage type identifier includes a first identifier corresponding to compatible usage; accordingly, searching for a target arc segment that matches the usage requirement based on a target link establishment state value in the entire set of relay measurement and control arc segments according to the link usage type identifier and the usage link establishment state value includes:
[0119] If it is determined that the link usage type identifier is the first identifier, calculating the link usage state value and the target link establishment state value corresponding to each relay measurement and control arc segment in the full set of relay measurement and control arc segments by using a first operation method;
[0120] The relay measurement and control arc segment corresponding to the target link establishment state value whose comparison judgment value obtained by the first operation mode is greater than zero is used as the target arc segment;
[0121] The first operation method is to calculate the ratio judgment value by using a binary bitwise AND method.
[0122] The link usage type identifier includes a second identifier corresponding to exclusive use; accordingly, searching for a target arc segment that matches the usage requirement based on a target link establishment state value in the entire set of relay measurement and control arc segments according to the link usage type identifier and the usage link establishment state value includes:
[0123] If it is determined that the link usage type identifier is the second identifier, the target link establishment state value corresponding to each relay measurement and control arc segment in the full set of relay measurement and control arc segments is calculated using a second operation method;
[0124] The relay measurement and control arc segment corresponding to the target link establishment state value equal to the link establishment state value obtained by the second operation mode is used as the target arc segment;
[0125] The second operation method is a calculation method of comparing the used link establishment state value with the target link establishment state value.
[0126] The method for determining whether the target link establishment status matches the usage requirements is described as follows:
[0127] In engineering applications, based on actual needs and preset constraints according to the interface identification method described above, the measurement and control software system traverses the relay measurement and control arcs one by one, compares the target link establishment state value of the relay measurement and control arc with the used link establishment state value in the interface identification, and determines whether the target link establishment state matches the usage requirements. The method is as follows:
[0128] 1) If the link usage type flag is true, indicating that the link usage condition is "compatible use", the binary operation "bitwise AND" is used to calculate the comparison value between the used link establishment status value and the target link establishment status value. The final judgment is whether the condition is met based on whether the comparison value is 0:
[0129]
[0130] 2) If the link usage type flag is false, it indicates that the link usage condition is "exclusive use" and the link establishment status value is directly compared with the target link establishment status value.
[0131]
[0132] Here are some examples:
[0133] 1) Example 1: The precondition is "compatible with link l2", and the arc actually establishes link l3
[0134] Use the link status value of 2 2 =4, that is, the expected condition is to establish the second link l2;
[0135] The target link status value is 2 3 =8, that is, the actual condition is to establish the third link l3;
[0136] The binary operation "bitwise AND" is used to obtain the ratio judgment value of 4 & 8 = 0. The conditions do not match, that is, the relay measurement and control arc does not meet the preset conditions and cannot be used, as shown in Table 6:
[0137] Table 6
[0138]
[0139] 2) Example 2, the preset condition is "compatible with link l2", the arc segment actually establishes links l2 and l3
[0140] Use the link status value of 2 2 =4, that is, the expected condition is to establish the second link l2;
[0141] The target link status value is 2 2 +2 3 =12, that is, the actual condition is to establish the second and third links l2 and l3;
[0142] The binary operation "bitwise AND" is used to obtain the ratio judgment value of 4 & 12 = 4 > 0. The conditions are matched, that is, the relay measurement and control arc section meets the preset conditions and can be used, as shown in Table 7:
[0143] Table 7
[0144]
[0145] 3) Example 3, the precondition is "exclusively use link l2", the arc actually establishes links l2 and l3
[0146] Use the link status value of 2 2 =4, that is, the expected condition is to establish the second link l2;
[0147] The target link status value is 2 2 +2 3 =12, that is, the actual condition is to establish the second and third links l2 and l3;
[0148] The link establishment status value is directly compared with the target link establishment status value: 4≠12, the conditions do not match, that is, the relay measurement and control arc does not meet the preset conditions and cannot be used, as shown in Table 8:
[0149] Table 8
[0150]
[0151]
[0152] 4) Example 4, the precondition is "exclusive use of link l2", the arc actually establishes link l2
[0153] Use the link status value of 2 2 =4, that is, the expected condition is to establish the second link l2;
[0154] The target link status value is 2 2 =4, that is, the actual condition is to establish the second link l2;
[0155] The link establishment status value is directly compared with the target link establishment status value: 4=4, the conditions match, that is, the relay measurement and control arc meets the preset conditions and can be used, as shown in Table 9:
[0156] Table 9
[0157]
[0158] In the above step S3, the device sends a measurement and control instruction to the target spacecraft corresponding to the target arc segment. The measurement and control instruction may include a remote control instruction, an injection flight parameter, etc.
[0159] The sending of a measurement and control instruction to the target spacecraft corresponding to the target arc segment includes:
[0160] The measurement and control instruction is sent to the target spacecraft corresponding to the target arc segment according to the measurement and control task type. The measurement and control task type can be determined according to the actual measurement and control task.
[0161] Combine Figure 2 and Figure 3 The implementation method of sending the measurement and control instruction according to the embodiment of the present invention is described as follows:
[0162] Step 1: Figure 2 As shown in the mark 1, according to the interface identifier, the expected link establishment state value corresponding to the interface identifier is calculated (corresponding to the use of the link establishment state value);
[0163] Step 2: Figure 2As shown in the mark 2, all relay arcs are traversed in a loop, and the link establishment state value of each arc is calculated using the link establishment state marking method; r represents the total number of relay measurement and control arcs in the entire set of relay measurement and control arcs.
[0164] Step 3: Figure 2 Mark 3 and Figure 3 As shown, the instruction arrangement module traverses the entire set of relay measurement and control arc segments, and sequentially compares and determines whether the link establishment status of each relay arc segment can match the usage requirements. The loop variable is k, k=1, ..., r.
[0165] 3-I) Determine the link usage type:
[0166] If the usage type is true, that is, it is a compatible usage type, then go to step 3-II);
[0167] On the contrary, if the usage type is false, that is, it is an exclusive usage type, then go to step 3-III);
[0168] 3-II) First, the binary operation "bitwise AND" is used to calculate the comparison value between the link establishment state value and the link establishment state value;
[0169] Then, determine whether the ratio is greater than 0:
[0170] If the comparison value is greater than 0, it is determined that the link state of the arc segment matches the usage requirement. At this time, the link state is the target link state, and the corresponding instruction is arranged, and then step 3-IV) is entered;
[0171] On the contrary, if the ratio judgment value is not greater than 0, directly go to step 3-IV;
[0172] 3-III) Determine whether the link establishment status value is equal to the used link establishment status value:
[0173] If the link state value is equal to the used link state value, it is determined that the link state of the arc segment matches the used requirement. At this time, the link state is the target link state, and the corresponding instruction is arranged, and then step 3-IV) is entered;
[0174] On the contrary, if the link establishment status value is not equal to the used link establishment status value, go directly to step 3-IV;
[0175] 3-IV) Determine whether the arc segment is the last arc segment in the complete set of relay measurement and control arc segments:
[0176] If it is the last arc segment, the processing ends;
[0177] On the contrary, if it is not the last arc segment, set k=k+1 and compare to determine the next relay arc segment.
[0178] The embodiments of the present invention have the following beneficial effects:
[0179] (1) It is easy for engineering application personnel to understand and master, and the interface identification is simple and intuitive.
[0180] (2) The unified calculation method provides an accurate and standardized basis for engineering implementation, which is convenient for software developers to write code. The code implementation is simple and the software system is more maintainable.
[0181] (3) It is applicable to different types of spacecraft and different types of measurement and control equipment, and has good scalability.
[0182] The embodiments of the present invention use formal expression methods and standardized interfaces to fully and accurately describe the link status, provide an efficient and concise method for software development, enhance the automatic processing capability of measurement and control software in relay instruction arrangement, increase the system response speed in engineering applications, reduce dependence on manual means, and improve work efficiency.
[0183] The processing method for sending measurement and control instructions provided in an embodiment of the present invention obtains an interface identifier and calculates a usage link establishment status value corresponding to the usage link; the interface identifier includes a link usage type identifier and the usage link; according to the link usage type identifier and the usage link establishment status value, a target arc segment that matches the usage requirement is searched in the entire set of relay measurement and control arc segments according to the target link establishment status value; and measurement and control instructions are sent to the target spacecraft corresponding to the target arc segment, which can improve the work efficiency of sending measurement and control instructions and reduce the probability of instruction arrangement errors.
[0184] Furthermore, the link usage type identifier includes a first identifier corresponding to compatible usage; accordingly, searching for a target arc segment that matches the usage requirement based on a target link establishment state value in the entire set of relay measurement and control arc segments according to the link usage type identifier and the usage link establishment state value includes:
[0185] If it is determined that the link usage type identifier is the first identifier, the first operation method is used to calculate the link establishment state value used and the target link establishment state value corresponding to each relay measurement and control arc segment in the entire set of relay measurement and control arc segments; please refer to the above description and no further details will be given.
[0186] The relay measurement and control arc segment corresponding to the target link establishment state value whose comparison value obtained by the first operation method is greater than zero is used as the target arc segment; please refer to the above description and no further details will be given.
[0187] The first operation mode is to calculate the comparison value by using a binary bitwise AND method.
[0188] Furthermore, the link usage type identifier includes a second identifier corresponding to exclusive use; accordingly, searching for a target arc segment that matches the usage requirement based on the target link establishment state value in the entire set of relay measurement and control arc segments according to the link usage type identifier and the usage link establishment state value includes:
[0189] If it is determined that the link usage type identifier is the second identifier, the second operation method is used to calculate the target link establishment state value corresponding to each relay measurement and control arc segment in the entire set of relay measurement and control arc segments; please refer to the above description and no further details will be given.
[0190] The relay measurement and control arc segment corresponding to the target link establishment state value equal to the link establishment state value obtained by the second operation mode is the target arc segment; please refer to the above description and will not repeat it again.
[0191] The second operation mode is a calculation mode of comparing the used link establishment state value with the target link establishment state value.
[0192] Furthermore, the calculating of the link establishment state value corresponding to the used link includes:
[0193] Obtain each single link included in the used link; refer to the above description and no further details will be given.
[0194] Calculate the link tag value corresponding to each single link; refer to the above description and do not repeat it here.
[0195] Perform a binary bitwise OR operation on each link tag value to obtain the link establishment state value corresponding to the link in use.
[0196] Furthermore, the calculating of the link tag value corresponding to each single link includes:
[0197] The link tag value corresponding to each individual link is calculated using a binary shift operation. The above description can be referred to and will not be repeated here.
[0198] Furthermore, the sending of a measurement and control instruction to a target spacecraft corresponding to the target arc segment includes:
[0199] According to the measurement and control mission type, a measurement and control instruction is sent to the target spacecraft corresponding to the target arc segment.
[0200] Figure 4 FIG. 1 is a schematic diagram of a structure of a processing device for sending measurement and control instructions provided by an embodiment of the present invention. Figure 4As shown, the processing device for sending measurement and control instructions provided by the embodiment of the present invention includes an acquisition unit 401, a search unit 402 and a sending unit 403, wherein:
[0201] The acquisition unit 401 is used to obtain the interface identifier and calculate the usage link establishment status value corresponding to the usage link; the interface identifier includes the link usage type identifier and the usage link; the search unit 402 is used to search for the target arc segment that matches the usage requirement according to the target link establishment status value in the entire set of relay measurement and control arc segments based on the link usage type identifier and the usage link establishment status value; the sending unit 403 is used to send measurement and control instructions to the target spacecraft corresponding to the target arc segment.
[0202] Specifically, the acquisition unit 401 in the device is used to obtain the interface identifier and calculate the usage link establishment status value corresponding to the usage link; the interface identifier includes the link usage type identifier and the usage link; the search unit 402 is used to search for the target arc segment that matches the usage requirement according to the target link establishment status value in the entire set of relay measurement and control arc segments based on the link usage type identifier and the usage link establishment status value; the sending unit 403 is used to send measurement and control instructions to the target spacecraft corresponding to the target arc segment.
[0203] The processing device for sending measurement and control instructions provided by an embodiment of the present invention obtains an interface identifier and calculates a usage link establishment status value corresponding to the usage link; the interface identifier includes a link usage type identifier and the usage link; according to the link usage type identifier and the usage link establishment status value, a target arc segment that matches the usage requirement is searched in the entire set of relay measurement and control arc segments according to the target link establishment status value; and measurement and control instructions are sent to the target spacecraft corresponding to the target arc segment, which can improve the work efficiency of sending measurement and control instructions and reduce the probability of instruction arrangement errors.
[0204] The embodiment of the present invention provides an embodiment of a processing device for sending measurement and control instructions, which can be specifically used to execute the processing flow of the above-mentioned method embodiments. Its functions are not described in detail here, and reference can be made to the detailed description of the above-mentioned method embodiments.
[0205] Figure 5 A schematic diagram of the physical structure of a computer device provided in an embodiment of the present invention is shown in FIG. Figure 5 As shown, the computer device includes: a memory 501, a processor 502, and a computer program stored in the memory 501 and executable on the processor 502. When the processor 502 executes the computer program, the following method is implemented:
[0206] Obtaining an interface identifier and calculating a link establishment state value corresponding to a used link; the interface identifier includes a link use type identifier and the used link;
[0207] According to the link usage type identifier and the usage link establishment state value, searching for a target arc segment that matches the usage requirement according to the target link establishment state value in the entire set of relay measurement and control arc segments;
[0208] Sending a measurement and control instruction to the target spacecraft corresponding to the target arc segment.
[0209] This embodiment discloses a computer program product, which includes a computer program. When the computer program is executed by a processor, the following method is implemented:
[0210] Obtaining an interface identifier and calculating a link establishment state value corresponding to a used link; the interface identifier includes a link use type identifier and the used link;
[0211] According to the link usage type identifier and the usage link establishment state value, searching for a target arc segment that matches the usage requirement according to the target link establishment state value in the entire set of relay measurement and control arc segments;
[0212] Sending a measurement and control instruction to the target spacecraft corresponding to the target arc segment.
[0213] This embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the following method is implemented:
[0214] Obtaining an interface identifier and calculating a link establishment state value corresponding to a used link; the interface identifier includes a link use type identifier and the used link;
[0215] According to the link usage type identifier and the usage link establishment state value, searching for a target arc segment that matches the usage requirement according to the target link establishment state value in the entire set of relay measurement and control arc segments;
[0216] Sending a measurement and control instruction to the target spacecraft corresponding to the target arc segment.
[0217] Compared with the technical solutions in the prior art, the embodiments of the present invention obtain an interface identifier and calculate a usage link establishment status value corresponding to the usage link; the interface identifier includes a link usage type identifier and the usage link; according to the link usage type identifier and the usage link establishment status value, a target arc segment that matches the usage requirement is searched in the entire set of relay measurement and control arc segments according to the target link establishment status value; and measurement and control instructions are sent to the target spacecraft corresponding to the target arc segment, which can improve the work efficiency of measurement and control instruction sending and reduce the probability of instruction arrangement errors.
[0218] 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.
[0219] 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.
[0220] 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.
[0221] 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.
[0222] 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.
[0223] 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 sending a measurement and control instruction, characterized in that: include: Obtaining an interface identifier and calculating a link establishment state value corresponding to a used link; the interface identifier includes a link use type identifier and the used link; According to the link usage type identifier and the usage link establishment state value, searching for a target arc segment that matches the usage requirement according to the target link establishment state value in the entire set of relay measurement and control arc segments; Sending a measurement and control instruction to a target spacecraft corresponding to the target arc segment; The link usage type identifier includes a first identifier corresponding to compatible usage; accordingly, searching for a target arc segment that matches the usage requirement based on a target link establishment state value in the entire set of relay measurement and control arc segments according to the link usage type identifier and the usage link establishment state value includes: If it is determined that the link usage type identifier is the first identifier, calculating the link usage state value and the target link establishment state value corresponding to each relay measurement and control arc segment in the full set of relay measurement and control arc segments by using a first operation method; The relay measurement and control arc segment corresponding to the target link establishment state value whose comparison judgment value obtained by the first operation mode is greater than zero is used as the target arc segment; Wherein, the first operation mode is to calculate the ratio judgment value by using a binary bitwise AND method; The calculating of the link establishment state value corresponding to the used link includes: Obtaining each single link included in the used link; Calculate the link mark value corresponding to each single link; Perform a binary bitwise OR operation on each link tag value to obtain a link establishment state value corresponding to the used link.
2. The method for sending measurement and control instructions according to claim 1, characterized in that: The link usage type identifier includes a second identifier corresponding to exclusive use; accordingly, searching for a target arc segment that matches the usage requirement based on a target link establishment state value in the entire set of relay measurement and control arc segments according to the link usage type identifier and the usage link establishment state value includes: If it is determined that the link usage type identifier is the second identifier, the target link establishment state value corresponding to each relay measurement and control arc segment in the full set of relay measurement and control arc segments is calculated using a second operation method; The relay measurement and control arc segment corresponding to the target link establishment state value equal to the link establishment state value obtained by the second operation mode is used as the target arc segment; The second operation method is a calculation method of comparing the used link establishment state value with the target link establishment state value.
3. The processing method for sending measurement and control instructions according to claim 1, characterized in that: The calculating of the link tag value corresponding to each single link includes: The link mark value corresponding to each single link is calculated using a binary shift operation.
4. The method for sending measurement and control instructions according to claim 1, wherein: The sending of a measurement and control instruction to the target spacecraft corresponding to the target arc segment includes: Sending a measurement and control instruction to the target spacecraft corresponding to the target arc segment according to the measurement and control mission type.
5. A processing device for sending measurement and control instructions, characterized in that: include: An acquiring unit, configured to acquire an interface identifier and calculate a link establishment state value corresponding to the link being used; The interface identifier includes a link usage type identifier and the usage link; A search unit, configured to search, according to the link usage type identifier and the usage link establishment state value, a target arc segment that matches the usage requirement in the entire set of relay measurement and control arc segments according to the target link establishment state value; a sending unit, configured to send a measurement and control instruction to a target spacecraft corresponding to the target arc segment; The link usage type identifier includes a first identifier corresponding to compatible usage; accordingly, the search unit is specifically configured to: If it is determined that the link usage type identifier is the first identifier, calculating the link usage state value and the target link establishment state value corresponding to each relay measurement and control arc segment in the full set of relay measurement and control arc segments by using a first operation method; The relay measurement and control arc segment corresponding to the target link establishment state value whose comparison judgment value obtained by the first operation mode is greater than zero is used as the target arc segment; Wherein, the first operation mode is to calculate the ratio judgment value by using a binary bitwise AND method; The acquisition unit is specifically configured to: Obtaining each single link included in the used link; Calculate the link mark value corresponding to each single link; Perform a binary bitwise OR operation on each link tag value to obtain a link establishment state value corresponding to the used link.
6. A computer 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 method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
8. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Relay satellite tracking method and device
CN110011725A
Satellite remote sensing task planning and ground resource scheduling combined solving method
CN112580906A