Satellite orbit real-time dynamic display method and device, electronic equipment and storage medium
Through the method of generating and displaying satellite orbits in real time, the difficulty of real-time display caused by static CZML files in the prior art is solved, and the user-defined satellite orbit display is realized, which improves user experience and system performance.
Patent Information
- Application Number
- CN202510095444.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-05-16
AI Technical Summary
In the prior art, the dynamic display method of satellite orbits relies on static CZML files, which makes it impossible to generate and display satellite orbits in real time, and users need to reload the file, resulting in complex programs and poor demonstration effects.
By obtaining the preset start time and preset time input by the user, the available time range is generated in real time, and orbit data information and multiple sets of single-circle path operation information are generated in real time based on the number of two rows of the satellite and the available time range, and finally real-time display data in JSON format is generated in real time for display.
Real-time dynamic display of satellite orbits is realized, and users can easily present satellite operation effects based on the number and orbit time of selected satellites, improving operability and practicality and improving user experience.
Smart Images

Figure CN120011614A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of satellite data application technology, and in particular to a method, device, electronic equipment and storage medium for real-time dynamic display of satellite orbits. Background Art
[0002] According to the satellite operation data, the satellite operation demonstration can be simulated. The position of the satellite at a certain moment is calculated through the satellite point data or the two-row root number of the satellite. The point is calculated once every preset time (for example) to obtain the orbit of the satellite. The trajectory of each satellite running one circle each time is not completely overlapped. In this way, two trajectories will appear in the satellite demonstration window when running two circles. In order to display only one trajectory, a CZML file is required. At present, the CZML file is static. The parameters in the static CZML file content are all written unchanged. Only the trajectory of a fixed time range and fixed parameters is displayed. Every time the user needs to view the trajectory of the selected location or time period, a corresponding static CZML file needs to be reloaded. Not only is the program complicated, but it will also cause the demonstration effect to freeze due to the generation and loading of the static CZML file, and it cannot be generated and displayed in real time, which is inconvenient for users to use. Summary of the invention
[0003] In order to solve the above problems existing in the prior art, the present invention provides a method, device, electronic device and storage medium for real-time dynamic display of satellite orbits. The technical problem to be solved by the present invention is achieved through the following technical solutions:
[0004] A first aspect of an embodiment of the present invention provides a method for real-time dynamic display of satellite orbits, comprising the following steps:
[0005] Get the input preset start time and preset duration, and generate the available time range in real time;
[0006] Generate orbital data information in real time according to the two-row root number of the satellite and the preset duration; wherein the orbital data information includes: the position duration from the preset start time and the Cartesian coordinates of the satellite position at the time corresponding to the position duration;
[0007] Generate multiple sets of single-circle path operation information in real time according to the two-row root number of the satellite and the available time range; wherein the single-circle path operation information includes: the leading time of the path and the tracking time of the path;
[0008] Generating real-time display data in JSON format in real time according to the 3D satellite basic model data, the available time range, the orbital data information, and the multiple sets of single-circuit path operation information;
[0009] The real-time display data is parsed and displayed.
[0010] In one embodiment of the present invention, the real-time generation of multiple sets of single-circuit path operation information according to the two-row element number of the satellite and the available time range includes:
[0011] Generate the average number of orbits of the satellite every day based on the two rows of satellite roots;
[0012] Generate the duration of each orbit of the satellite around the earth according to the average daily orbit number;
[0013] A plurality of sets of single-lap path operation information are generated according to the lap duration and the available time range.
[0014] In one embodiment of the present invention, the leading time of each group of said paths and the tracking time of said paths are the same;
[0015] The leading time of the path and the tracking time of the path both include: a group interval time range, a group start time and a group running time.
[0016] In one embodiment of the present invention, the generating of multiple sets of single-lap path operation information according to the lap duration and the available time range includes:
[0017] Generate a group interval time range and a group start time for each group according to the available time range and the duration of each lap;
[0018] The group running time is generated according to the group interval time range.
[0019] A second aspect of an embodiment of the present invention provides a device for real-time dynamic display of a satellite orbit, comprising:
[0020] An acquisition module is used to acquire the input preset start time and preset duration, and generate an available time range in real time;
[0021] A first generating module is used to generate orbital data information in real time according to the two-row root number of the satellite and the preset duration; wherein the orbital data information includes: the position duration from the preset start time and the Cartesian coordinates of the satellite position at the time corresponding to the position duration;
[0022] The second generating module is used to generate multiple sets of single-circle path operation information in real time according to the two-row root number of the satellite and the available time range; wherein the single-circle path operation information includes: the leading time of the path and the tracking time of the path;
[0023] A third generating module is used to generate real-time display data in JSON format in real time according to the 3D satellite basic model data and the available time range, the orbital data information and the multiple sets of single-circuit path operation information;
[0024] The parsing module is used to parse the real-time display data and display it.
[0025] In one embodiment of the present invention, the second generating module is further used to generate the average daily orbit number of the satellite according to the two-row element number of the satellite;
[0026] Generate the duration of each orbit of the satellite around the earth according to the average daily orbit number;
[0027] A plurality of sets of single-lap path operation information are generated according to the lap duration and the available time range.
[0028] In one embodiment of the present invention, the leading time of each group of said paths and the tracking time of said paths are the same;
[0029] The leading time of the path and the tracking time of the path both include: a group interval time range, a group start time and a group running time.
[0030] In one embodiment of the present invention, the second generating module is further used to
[0031] Generate a group interval time range and a group start time for each group according to the available time range and the duration of each lap;
[0032] The group running time is generated according to the group interval time range.
[0033] A third aspect of an embodiment of the present invention provides 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 program, a method for real-time dynamic display of satellite orbits provided in the first aspect of an embodiment of the present invention is implemented.
[0034] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, a method for real-time dynamic display of satellite orbits provided by the first aspect of an embodiment of the present invention is implemented.
[0035] Beneficial effects of the present invention:
[0036] The present invention can generate corresponding data in a CZML data file in real time after obtaining the preset start time and preset duration input by the user at the front end. Real-time analysis of these data can display the operating status of the satellite in real time, realizing real-time generation and display, and can conveniently present the desired satellite operation effect according to the number of satellites and orbital time selected by the user, greatly improving operability and practicality, and enhancing user experience.
[0037] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0038] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0040] Figure 1 A schematic diagram of a flow chart of a method for real-time dynamic display of satellite orbits provided by an embodiment of the present invention;
[0041] Figure 2 A schematic block diagram of a device for real-time dynamic display of satellite orbits provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0043] The main description data of satellite orbits in CZML include:
[0044] Availability: available time range, YYYY-MM-DDThh:mm:ssZ-YYYY-MM-DDThh:mm:ssZ
[0045] Path: path operation information, including path width, material color, motion track display mode, etc. Among them, leadtime (lead time of the path) and trailtime (tracking time of the path) describe the orbit visual display range and play a major role in displaying the satellite motion track.
[0046] Position: The satellite's orbital data information, in the form of an array, mainly composed of time and Cartesian coordinates, in the format of: seconds from the start time, x-axis coordinate, y-axis coordinate, z-axis coordinate;
[0047] Model: 3D satellite basic model.
[0048] like Figure 1 As shown, a first aspect of an embodiment of the present invention provides a method for real-time dynamic display of satellite orbits, comprising the following steps:
[0049] Step 11, obtaining the input preset start time and preset duration, and generating an available time range in real time.
[0050] Step 12, generating orbital data information in real time according to the two-row element number of the satellite and the preset duration.
[0051] The orbital data information includes: the position duration from the preset start time and the Cartesian coordinates of the satellite position at the time corresponding to the position duration.
[0052] Step 13, generating multiple sets of single-circle path operation information in real time according to the two-row element number of the satellite and the available time range.
[0053] The single-lap path operation information includes: the leading time of the path and the tracking time of the path.
[0054] Step 14, generating real-time display data in JSON format in real time according to the 3D satellite basic model data and the available time range, orbit data information and multiple sets of single-circuit path operation information.
[0055] Step 15, parse the real-time display data and display it.
[0056] In this embodiment, after obtaining the preset start time and preset duration input by the user on the front end, the required data can be generated in real time. These data generate real-time display data in JSON format with CZML data content as fields. Real-time parsing of the real-time display data can display the operating status of the satellite in real time, realizing real-time generation and display. There is no need to generate a CZML file, only the data in the CZML file needs to be generated. There is no need to load the CZML file, only the data in the JSON format needs to be parsed. The desired satellite operation effect can be easily presented according to the number of satellites and orbital time selected by the user, which greatly improves operability and practicality, and enhances user experience.
[0057] A second aspect of an embodiment of the present invention provides a method for real-time dynamic display of satellite orbits, which is implemented by front-end scripting language JavaScript calculation, and includes the following steps:
[0058] Step 21, obtain the input preset start time and preset duration, and generate the available time range, that is, Availability, in real time.
[0059] In this step, the user enters the required start time and duration at the front end, which is the preset start time and duration. The format of the preset start time is a time point, for example: YYYY-MM-DDThh:mm:ssZ. The available time range is the preset start time and the time after the preset duration from the preset start time, in the format of YYYY-MM-DDThh:mm:ssZ-YYYY-MM-DDThh:mm:ssZ, which is the satellite operation status within the time period of the available time range that the user needs to simulate.
[0060] Step 22, generating orbital data information in real time according to the two-row element number of the satellite and the preset duration.
[0061] The orbital data information includes: a position duration of a preset interval from a preset start time and the Cartesian coordinates of the satellite position at a time corresponding to the position duration.
[0062] In this step, two rows of roots are obtained, and the Cartesian coordinates of the satellite position at each moment are calculated according to a certain preset time step, and all position durations and coordinate points are combined to form a path queue, such as [0, x, y, z, ...]. The orbital data information is in array form, and the first value in an array is the position duration, and the position duration increases in multiples of the preset time step. For example, with 60s as the preset time step, the starting orbital data information is [0, x0, y0, z0], and the orbital data information at the second moment is [60, x1, y1, z1], that is, the Cartesian coordinates of the satellite at 60s from the preset start time are (x1, y1, z1), and the orbital data information at the third moment is [120, x2, y2, z2], that is, the Cartesian coordinates of the satellite at 120s from the preset start time are (x2, y2, z2), and so on. The first value in the last array is the number of seconds of the preset duration.
[0063] Track data information is also called Position. Track data information also includes the track start time point, which is the preset start time. Position can also include interpolation data, and interpolation calculation can be performed between two adjacent moments. Position can also include other required data, such as available time range and other data.
[0064] For example, the main description fields of Position are
[0065] {
[0066] cartesian:[path data...] (location duration and Cartesian coordinates)
[0067] epoch: track start time point
[0068] }
[0069] Step 23, generating multiple sets of single-circle path operation information in real time according to the two-row element number of the satellite and the available time range.
[0070] The single-lap path operation information includes: the leading time Leadtime of the path and the trailing time TrailTime of the path. The leading time of the path indicates how much time the path is ahead of the current display animation moment, and the trailing time of the path indicates how much time the path is behind the current display animation moment. The description fields of the leading time of the path and the trailing time of the path are the same, including three fields: group interval time range Interval, group start time epoch and group running time Number. In each group of single-lap path operation information, the specific data of the leading time of the path and the trailing time of the path are the same. The single-lap path operation information is also the Path.
[0071] For example, the description data format of a set of Leadtime and TrailTime is
[0072] {
[0073] Epoch: time,
[0074] Interval: time interval (format YYYY-MM-DDThh:mm:ssZ / YYYY-MM-DDThh:mm:ssZ),
[0075] Number: a single number or an array
[0076] }
[0077] Specifically, the specific steps of step 23 include: step 231-step 233:
[0078] Step 231, generate the average number of orbits of the satellite per day according to the two rows of elements of the satellite. Here, 53-63 of the second row of the two rows of elements are the average movement speed (circles / day), that is, the average number of orbits per day.
[0079] Step 232, the duration of each orbit of the satellite around the earth is generated based on the average number of orbits per day. The duration of each orbit is obtained by dividing 24 hours by the number of orbits per day (average number of orbits per day).
[0080] Step 233: Generate multiple sets of single-lap path operation information according to the duration of each lap and the available time range.
[0081] In this step, the available time range is divided into multiple time periods in units of the duration of each lap, each time period is a group, the duration of the second to last time period and the previous time period is the duration of each lap, the duration of the last time period may be less than or equal to the duration of each lap, and the duration of the last time period is the remaining duration after deducting the integer multiple of the duration of each lap from the preset duration, then the group interval time range Interval of each group is the start and end time points of each time period (the time point after the start time point plus the duration of each segment is the stop time point of the group), and the group start time epoch is the start time of each time period. Here, the group running time Number is also the start and end time interval of Interval. For example, the available time range is from 1:00 to 3:10, and the duration of each lap is 1 hour, which is divided into three groups. The Interval of the first group is 1:00-2:00, the Interval of the second group is 2:00-3:00, and the Interval of the third group is 3:00-3:10. A set of single-circle path operation information includes a group interval time range, a corresponding group start time and a corresponding group operation duration, that is, a set of information indicating that only one circle of satellite operation trajectory is displayed. When a trajectory is generated according to each set of single-circle path operation information, only one circle of trajectory can be displayed.
[0082] In a feasible implementation, some auxiliary information is also included as Path information, where Path includes the auxiliary information and all single-circuit path operation information, wherein the auxiliary information includes path width, material, color and other information, which can be preset.
[0083] Step 24, generating real-time display data in JSON format in real time according to the 3D satellite basic model data and the available time range, orbit data information and multiple sets of single-circuit path operation information.
[0084] In this step, the known 3D satellite basic model data and the above-calculated available time range, orbital data information, and multiple sets of single-circuit path operation information are used as the values of the Model, Availability, Position, and Path fields, respectively, to generate real-time display data in JSON format instead of generating a CZML file. The real-time display data in JSON format is the specific content in the CZML file.
[0085] In real-time display data, when generating satellite tracks, as long as the Position data is valid within the time range of Leadtime and TrailTime, it will be drawn and generated. Specifically, in the Position data, the time corresponding to each array of Position can be obtained according to the available time range. If this time is within the Interval range, it is valid Position data.
[0086] When drawing, a set of tracks indicated by Leadtime increases with time, and the corresponding tracks indicated by TrailTime disappear with time.
[0087] Step 25, parse the real-time display data and display it. After the parsing is completed, the satellite's trajectory is displayed in real time.
[0088] like Figure 2 As shown, a third aspect of an embodiment of the present invention provides a device for real-time dynamic display of a satellite orbit, comprising:
[0089] An acquisition module 31 is used to acquire the input preset start time and preset duration, and generate an available time range in real time;
[0090] The first generating module 32 is used to generate orbital data information in real time according to the two-row root number of the satellite and the preset duration; wherein the orbital data information includes: the position duration from the preset start time and the Cartesian coordinates of the satellite position at the time corresponding to the position duration;
[0091] The second generating module 33 is used to generate multiple sets of single-circle path operation information in real time according to the two-row root number of the satellite and the available time range; wherein the single-circle path operation information includes: the leading time of the path and the tracking time of the path;
[0092] The third generating module 34 is used to generate real-time display data in JSON format in real time according to the 3D satellite basic model data and the available time range, orbit data information and multiple sets of single-circuit path operation information;
[0093] The analysis module 35 is used to analyze the real-time display data and display it.
[0094] In one embodiment of the present invention, the second generating module is further used to generate the average daily orbit number of the satellite according to the two-row element number of the satellite;
[0095] The duration of each orbit of the satellite around the earth is generated based on the average number of daily orbits;
[0096] Generate multiple sets of lap path running information based on the lap duration and available time range.
[0097] In one embodiment of the present invention, the leading time and the tracking time of each set of paths are the same;
[0098] The leading time of a path and the tracking time of a path both include: the group interval time range, the group start time and the group running time.
[0099] In one embodiment of the present invention, the second generation module is also used to
[0100] Generate the interval time range and group start time of each group according to the available time range and the duration of each lap;
[0101] Generates group run durations based on group interval time ranges.
[0102] A fourth aspect of an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, a method for real-time dynamic display of satellite orbits provided in the above-mentioned embodiment of the present invention is implemented.
[0103] A fifth aspect of an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of a method for real-time dynamic display of satellite orbits provided in the above-mentioned embodiment of the present invention are implemented.
[0104] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0105] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware systems.
[0106] The method provided in the embodiment of the present invention can be applied to electronic devices. Specifically, the electronic device can be: a desktop computer, a portable computer, an intelligent mobile terminal, a server, etc. This is not limited here, and any electronic device that can implement the present invention belongs to the protection scope of the present invention.
[0107] As for the device / electronic device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0108] 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 flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, 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 flowchart and / or block diagram. 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.
[0109] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate 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 A function specified in one or more boxes.
[0110] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0111] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for real-time dynamic display of satellite orbits, characterized in that: The following steps are involved: Get the input preset start time and preset duration, and generate the available time range in real time; Generate orbital data information in real time according to the two-row root number of the satellite and the preset duration; wherein the orbital data information includes: the position duration from the preset start time and the Cartesian coordinates of the satellite position at the time corresponding to the position duration; Generate multiple sets of single-circle path operation information in real time according to the two-row root number of the satellite and the available time range; wherein the single-circle path operation information includes: the leading time of the path and the tracking time of the path; Generating real-time display data in JSON format in real time according to the 3D satellite basic model data, the available time range, the orbital data information, and the multiple sets of single-circuit path operation information; The real-time display data is parsed and displayed.
2. The method according to claim 1, characterized in that The real-time generation of multiple sets of single-circuit path operation information according to the two-row element number of the satellite and the available time range includes: Generate the average number of orbits of the satellite every day based on the two rows of satellite roots; Generate the duration of each orbit of the satellite around the earth according to the average daily orbit number; A plurality of sets of single-lap path operation information are generated according to the lap duration and the available time range.
3. The method according to claim 2, characterized in that The leading time and the pursuing time of each set of said paths are the same; The leading time of the path and the tracking time of the path both include: a group interval time range, a group start time and a group running time.
4. The method according to claim 2, characterized in that The generating multiple sets of single-lap path operation information according to the lap duration and the available time range includes: Generate a group interval time range and a group start time for each group according to the available time range and the duration of each lap; The group running time is generated according to the group interval time range.
5. A device for real-time dynamic display of satellite orbits, characterized in that: include: An acquisition module is used to acquire the input preset start time and preset duration, and generate an available time range in real time; A first generating module is used to generate orbital data information in real time according to the two-row root number of the satellite and the preset duration; wherein the orbital data information includes: the position duration from the preset start time and the Cartesian coordinates of the satellite position at the time corresponding to the position duration; The second generating module is used to generate multiple sets of single-circle path operation information in real time according to the two-row root number of the satellite and the available time range; wherein the single-circle path operation information includes: the leading time of the path and the tracking time of the path; A third generating module is used to generate real-time display data in JSON format in real time according to the 3D satellite basic model data and the available time range, the orbital data information and the multiple sets of single-circuit path operation information; The parsing module is used to parse the real-time display data and display it.
6. The device according to claim 5, characterized in that The second generating module is further used to generate the daily average number of orbits of the satellite according to the two-row element number of the satellite; Generate the duration of each orbit of the satellite around the earth according to the average daily orbit number; A plurality of sets of single-lap path operation information are generated according to the lap duration and the available time range.
7. The device according to claim 6, characterized in that The leading time and the pursuing time of each set of said paths are the same; The leading time of the path and the tracking time of the path both include: a group interval time range, a group start time and a group running time.
8. The device according to claim 5, characterized in that The second generation module is also used to Generate a group interval time range and a group start time for each group according to the available time range and the duration of each lap; The group running time is generated according to the group interval time range.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the satellite orbit real-time dynamic display method as described in any one of claims 1 to 4 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the satellite orbit real-time dynamic display method according to any one of claims 1 to 4 is implemented.