Flight trajectory video generation method, electronic device and storage medium

The video generation system draws and displays the flight trajectory video of the flight, which solves the problem of difficulty in intuitively displaying the flight trajectory of the historical flight in the prior art and improves the user experience.

CN117591579BActive Publication Date: 2025-03-14MOBILE TECH COMPANY CHINA TRAVELSKY HLDG
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311558378.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2025-03-14
Estimated Expiration
2043-11-21

AI Technical Summary

Technical Problem

The prior art is difficult to visually display the flight trajectory of historical flights, resulting in poor user experience.

Method used

Through the video generation system, the aircraft's flight trajectory curve is drawn according to the departure and arrival location identification of the target flight, and integrated it on the map display platform to establish the association relationship between the target viewport and the moving trajectory point, so that the target viewport moves along the moving trajectory curve with the moving trajectory point, and generate the moving trajectory video.

Benefits of technology

It enables users to intuitively view the flight trajectory video of historical flights, improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117591579B_ABST
    Figure CN117591579B_ABST
Patent Text Reader

Abstract

The present invention provides a flight trajectory video generation method, electronic device and storage medium, the method comprising: obtaining a departure location identifier and an arrival location identifier corresponding to a target flight; drawing a flight trajectory curve of an aircraft corresponding to the target flight; determining a moving trajectory point on the flight trajectory curve; integrating map tile image information and the flight trajectory curve onto a map display platform; establishing an association relationship between a target viewport and a moving trajectory point; integrating the target image information onto the map display platform; and generating a moving trajectory video of the moving trajectory point on the flight trajectory curve. The present invention generates a historical flight trajectory curve of a target flight according to a target flight order completed by a user, and integrates the flight trajectory curve with the map display platform, so that the user can intuitively view the flight trajectory video on the map display platform.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of society, more and more people choose airplanes as a means of long-distance transportation. After completing a flight order, users usually check historical flight orders to learn about the flight trajectories of historical flights. However, this method requires users to compile statistics themselves, and the data cannot be intuitively presented, resulting in a poor user experience. Summary of the Invention

[0003] In view of the above technical problems, the technical solution adopted by the present invention is:

[0004] According to one aspect of the present application, a flight trajectory video generation method is provided, which is applied to a video generation system. The video generation system stores a plurality of target image information and a plurality of map tile image information, each target image information corresponding to a unique target location identifier, and each map tile image information corresponding to a tile location identifier and a tile image level; the video generation system includes a map display platform, and the map display platform is provided with a target viewport;

[0005] The flight trajectory video generation method comprises the following steps:

[0006] Step S100: In response to receiving a trajectory video generation request for a target flight, obtaining a departure location identifier and an arrival location identifier corresponding to the target flight included in the trajectory video generation request;

[0007] Step S200: Draw a flight trajectory curve of the aircraft corresponding to the target flight according to the departure location identifier and the arrival location identifier;

[0008] Step S300: select any point on the flight trajectory curve and determine it as a moving trajectory point, so that the moving trajectory point moves from the starting point to the end point on the flight trajectory curve according to a preset moving rate;

[0009] Step S400: Integrate the corresponding map tile image information onto the map display platform according to each tile location identifier and tile image level;

[0010] Step S500: Integrate the flight trajectory curve of the aircraft corresponding to the target flight onto the map display platform according to the departure location identifier and the arrival location identifier corresponding to the target flight;

[0011] Step S600: establishing an association relationship between a target viewport and a moving trajectory point, so that the target viewport moves along the flight trajectory curve following the moving trajectory point, and the direction of the target viewport is the same as the moving direction of the moving trajectory point;

[0012] Step S700: Integrate the corresponding target image information onto the map display platform according to the target location identifier;

[0013] Step S800: Generate a moving trajectory video of the moving trajectory point on the flight trajectory curve, with the starting point of the moving trajectory point on the map display platform at the starting point of the flight trajectory curve as the starting node and the end point of the moving trajectory point on the map display platform moving to the end point of the flight trajectory curve as the ending node.

[0014] In an exemplary embodiment of the present application, step S200 includes:

[0015] Step S210, obtaining the departure location longitude J1 corresponding to the departure location identifier and the arrival location longitude J2 corresponding to the arrival location identifier;

[0016] Step S220: If J1∈[-180°, 0°] and / or J2∈[-180°, 0°], execute step S230; otherwise, execute step S240;

[0017] Step S230: If J1∈[-180°,0°], set J1=J1+360°; if J2∈[-180°,0°], set J2=J2+360°, and execute step S240;

[0018] Step S240: If J2-J1>180°, then determine the direction and longitude difference D of the aircraft corresponding to the target flight as J2-J1-360°; if J2-J1<-180°, then determine the direction and longitude difference D of the aircraft corresponding to the target flight as J2-J1+360°; if -180°≤J2-J1≤180°, then determine the direction and longitude difference D of the aircraft corresponding to the target flight as J2-J1;

[0019] Step S250: If D>0°, the aircraft corresponding to the target flight is determined to fly eastward; if D<0°, the aircraft corresponding to the target flight is determined to fly westward;

[0020] Step S260: Determine the auxiliary track coordinate point V on the map display platform based on the departure coordinate point Z1 corresponding to the departure location marker on the map display platform, the arrival coordinate point Z2 corresponding to the arrival location marker on the map display platform, and the flight direction of the aircraft corresponding to the target flight;

[0021] Step S270: Draw the flight trajectory curve G(t)=(1-t) of the aircraft corresponding to the target flight based on Z1, Z2 and V. 2 ×Z1+2t(1-t)×V+t 2 ×Z2; t∈[0,1].

[0022] In an exemplary embodiment of the present application, step S260 includes:

[0023] Step S261: Get the coordinates of Z1 on the map display platform (Z11 ,Z 12 ,Z 13 ) and the coordinates of Z2 on the map display platform (Z 21 ,Z 22 ,Z 23 ); where Z 11 is the horizontal coordinate corresponding to Z1, Z 12 is the vertical coordinate corresponding to Z1, Z 13 is the vertical coordinate corresponding to Z1; Z 21 is the horizontal coordinate corresponding to Z2, Z 22 is the vertical coordinate corresponding to Z2, Z 23 is the vertical coordinate corresponding to Z2;

[0024] Step S262: Determine the coordinates (Z 31 ,Z 32 ,Z 33 ); where Z 31 is the horizontal coordinate corresponding to Z3, Z 31 =(Z 11 +Z 21 ) / 2; Z 32 is the vertical coordinate corresponding to Z3, Z 32 =(Z 12 +Z 22 ) / 2; Z 33 is the vertical coordinate corresponding to Z3, Z 33 =(Z 13 +Z 23 ) / 2;

[0025] Step S263: If the aircraft corresponding to the target flight is flying eastward, execute step S264; if the aircraft corresponding to the target flight is flying westward, execute step S265;

[0026] Step S264: Determine the auxiliary coordinate point V of the trajectory based on Z1, Z2, and Z3; where V = (V1, V2, V3); V1 is the horizontal coordinate corresponding to V, V2 is the vertical coordinate corresponding to V, V3 is the vertical coordinate corresponding to V,

[0027] Step S265: Determine the auxiliary coordinate point V of the trajectory according to Z1, Z2, and Z3; V = (V1, V2, V3); V1 is the horizontal coordinate corresponding to V, V2 is the vertical coordinate corresponding to V, V3 is the vertical coordinate corresponding to V,

[0028] In an exemplary embodiment of the present application, step S400 includes:

[0029] Step S410: Obtain the tile location identifier corresponding to each map tile image information, and obtain a tile location identifier set H = (H1, H2, ..., H j ,...,H m ); where j = 1, 2, ..., m; m is the number of map tile image information; H j is the tile location identifier corresponding to the j-th map tile image information;

[0030] Step S420: Get H j The tile image level W of the corresponding map tile image information j ;

[0031] Step S430: If W j =1, then H j The corresponding map tile image information is integrated into the H j The corresponding coordinate point; otherwise, execute step S440;

[0032] Step S440: If the H j The tile image level of the topmost map tile image information at the corresponding coordinate point is W j -1, then H j The corresponding map tile image information is integrated into the H j The corresponding coordinate point; otherwise, execute step S450;

[0033] Step S450: Get the H of the current map display platform j The tile image level C of the topmost map tile image information at the corresponding coordinate point now ;

[0034] Step S460: Set the tile image level to C now +1 and the tile location is marked as H j The map tile image information is integrated into the H j The corresponding coordinate points.

[0035] In an exemplary embodiment of the present application, step S500 includes:

[0036] Step S510: Obtain the coordinates of each track point on the flight track curve of the aircraft corresponding to the target flight on the map display platform;

[0037] Step S520: Integrate each trajectory point on the flight trajectory curve into its corresponding coordinate point on the map display platform.

[0038] In an exemplary embodiment of the present application, step S700 includes:

[0039] Step S710: Obtain the target location identifier corresponding to each target image information, and obtain the target location identifier set G = (G1, G2, ..., G h ,...,G n ); where h = 1, 2, ..., n; n is the number of target image information; G h is the target location identifier corresponding to the h-th target image information;

[0040] Step S720: G h The corresponding target image information is integrated into the G map display platform according to the image display strategy. h The corresponding coordinate points are located so that when the conditions of the image display strategy are met, the corresponding target image is displayed on the map display platform.

[0041] In an exemplary embodiment of the present application, the image display strategy is:

[0042] Step S721: Get the real-time coordinates of the moving track point on the map display platform. now ;

[0043] Step S722: Get G h The corresponding location is the coordinate point D on the map display platform h ;

[0044] Step S723: When D now With D h When the distance between them is less than the preset image display distance threshold, G h The corresponding target image is displayed on the map display platform.

[0045] In an exemplary embodiment of the present application, step S723 further includes:

[0046] Step S7231: When D now With D h The distance between them is greater than or equal to the preset image display distance threshold or G h When the display time of the corresponding target image on the map display platform is greater than or equal to the preset image display time threshold, G h The corresponding target image is hidden.

[0047] According to one aspect of the present application, a non-transitory computer-readable storage medium is provided, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by a processor to implement the aforementioned flight trajectory video generation method.

[0048] According to one aspect of the present application, an electronic device is provided, including a processor and the aforementioned non-transitory computer-readable storage medium.

[0049] The present invention has at least the following beneficial effects:

[0050] The present invention draws a flight trajectory curve of an aircraft corresponding to a target flight based on the departure location identifier and arrival location identifier corresponding to the target flight, determines a moving trajectory point on the flight trajectory curve, integrates the flight trajectory curve and map tile image information into a map display platform, establishes an association relationship between a target viewport and the moving trajectory point, so that the target viewport follows the moving trajectory point on the flight trajectory curve, and the direction of the target viewport is the same as the moving direction of the moving trajectory point, integrates each target image information into the map display platform, displays the target image corresponding to the target image information on the map display platform, and generates a moving trajectory video of the moving trajectory point on the flight trajectory curve, with the starting node at the starting point of the flight trajectory curve on the map display platform and the ending node at the moving trajectory point on the map display platform moving to the end point of the flight trajectory curve on the map display platform. Based on the target flight order completed by the user, a historical flight trajectory curve of the target flight is generated, and the flight trajectory curve is integrated with the map display platform, so that the user can intuitively view the flight trajectory video on the map display platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0052] Figure 1 This is a flowchart of a flight trajectory video generation method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.

[0054] A flight trajectory video generation method is applied to a video generation system. The video generation system stores a plurality of target image information and a plurality of map tile image information. Each target image information corresponds to a unique target location identifier, and each map tile image information corresponds to a tile location identifier and a tile image level. The video generation system includes a map display platform, which is provided with a target viewport.

[0055] The flight trajectory video generation method is as follows: Figure 1 As shown, the following steps are included:

[0056] Step S100: In response to receiving a trajectory video generation request for a target flight, obtaining a departure location identifier and an arrival location identifier corresponding to the target flight included in the trajectory video generation request;

[0057] The target flight is the historical flight for which a flight trajectory needs to be drawn and a trajectory video generated. The departure location identifier for the target flight is the identifier corresponding to the target flight's departure location, and the arrival location identifier is the identifier corresponding to the target flight's arrival location. The trajectory video generation request also includes a user identifier, which represents the user who sent the trajectory video generation request and, therefore, the user who needs to draw the target flight's flight trajectory and generate a trajectory video.

[0058] Step S200: Draw a flight trajectory curve of the aircraft corresponding to the target flight according to the departure location identifier and the arrival location identifier;

[0059] Further, step S200 includes:

[0060] Step S210, obtaining the departure location longitude J1 corresponding to the departure location identifier and the arrival location longitude J2 corresponding to the arrival location identifier;

[0061] Step S220: If J1∈[-180°, 0°] and / or J2∈[-180°, 0°], execute step S230; otherwise, execute step S240;

[0062] In order to facilitate the subsequent comparison of the departure longitude and the arrival longitude of the target flight, the longitude values ​​between -180° and 0° are processed, that is, the longitude of the west longitude is processed so that the longitudes of the east longitude and the west longitude are 0° to 360°.

[0063] Step S230: If J1∈[-180°,0°], set J1=J1+360°; if J2∈[-180°,0°], set J2=J2+360°, and execute step S240;

[0064] Step S240: If J2-J1>180°, then determine the direction and longitude difference D of the aircraft corresponding to the target flight as J2-J1-360°; if J2-J1<-180°, then determine the direction and longitude difference D of the aircraft corresponding to the target flight as J2-J1+360°; if -180°≤J2-J1≤180°, then determine the direction and longitude difference D of the aircraft corresponding to the target flight as J2-J1;

[0065] Since the longitudes of the departure and arrival points are processed so that their values ​​are in the range of [0°, 360°], the difference between the longitudes of the arrival point and the departure point may be greater than 180°. In order to determine the flight direction of the target flight's aircraft, the difference must be subtracted by 360°.

[0066] Step S250: If D>0°, the aircraft corresponding to the target flight is determined to fly eastward; if D<0°, the aircraft corresponding to the target flight is determined to fly westward;

[0067] Step S260: Determine the auxiliary track coordinate point V on the map display platform based on the departure coordinate point Z1 corresponding to the departure location marker on the map display platform, the arrival coordinate point Z2 corresponding to the arrival location marker on the map display platform, and the flight direction of the aircraft corresponding to the target flight;

[0068] The coordinates are the coordinates corresponding to the page or system where the flight trajectory is drawn, such as the Cesium page, which has the coordinates of each point on the earth.

[0069] Wherein, step S260 includes:

[0070] Step S261: Get the coordinates of Z1 on the map display platform (Z 11 ,Z 12 ,Z 13 ) and the coordinates of Z2 on the map display platform (Z 21 ,Z 22 ,Z 23 ); where Z 11 is the horizontal coordinate corresponding to Z1, Z 12 is the vertical coordinate corresponding to Z1, Z 13 is the vertical coordinate corresponding to Z1; Z 21 is the horizontal coordinate corresponding to Z2, Z 22 is the vertical coordinate corresponding to Z2, Z 23 is the vertical coordinate corresponding to Z2;

[0071] Step S262: Determine the coordinates (Z 31 ,Z 32 ,Z 33 ); where Z31 is the horizontal coordinate corresponding to Z3, Z 31 =(Z 11 +Z 21 ) / 2; Z 32 is the vertical coordinate corresponding to Z3, Z 32 =(Z 12 +Z 22 ) / 2; Z 33 is the vertical coordinate corresponding to Z3, Z 33 =(Z 13 +Z 23 ) / 2;

[0072] Step S263: If the aircraft corresponding to the target flight is flying eastward, execute step S264; if the aircraft corresponding to the target flight is flying westward, execute step S265;

[0073] Step S264: Determine the auxiliary coordinate point V of the trajectory based on Z1, Z2, and Z3; where V = (V1, V2, V3); V1 is the horizontal coordinate corresponding to V, V2 is the vertical coordinate corresponding to V, V3 is the vertical coordinate corresponding to V,

[0074] Step S265: Determine the auxiliary coordinate point V of the trajectory according to Z1, Z2, and Z3; V = (V1, V2, V3); V1 is the horizontal coordinate corresponding to V, V2 is the vertical coordinate corresponding to V, V3 is the vertical coordinate corresponding to V,

[0075] Step S270: Draw the flight trajectory curve G(t)=(1-t) of the aircraft corresponding to the target flight based on Z1, Z2 and V. 2 ×Z1+2t(1-t)×V+t 2 ×Z2; t∈[0,1].

[0076] Step S300: select any point on the flight trajectory curve and determine it as a moving trajectory point, so that the moving trajectory point moves from the starting point to the end point on the flight trajectory curve according to a preset moving rate;

[0077] Step S400: Integrate the corresponding map tile image information onto the map display platform according to each tile location identifier and tile image level;

[0078] Furthermore, step S400 includes:

[0079] Step S410: Obtain the tile location identifier corresponding to each map tile image information, and obtain a tile location identifier set H = (H1, H2, ..., H j ,...,H m ); where j = 1, 2, ..., m; m is the number of map tile image information; H j is the tile location identifier corresponding to the j-th map tile image information;

[0080] Step S420: Get H j The tile image level W of the corresponding map tile image information j ;

[0081] Step S430: If W j =1, then H j The corresponding map tile image information is integrated into the H j The corresponding coordinate point; otherwise, execute step S440;

[0082] The first layer of tile images is first integrated into the map display platform, and then the second layer of tile images at the coordinate point is integrated into the corresponding first layer of tile images, and so on until the highest layer of tile images at the coordinate point is integrated.

[0083] Step S440: If the H j The tile image level of the topmost map tile image information at the corresponding coordinate point is W j -1, then H j The corresponding map tile image information is integrated into the H j The corresponding coordinate point; otherwise, execute step S450;

[0084] Step S450: Get the H of the current map display platform j The tile image level C of the topmost map tile image information at the corresponding coordinate point now ;

[0085] Step S460: Set the tile image level to C now +1 and the tile location is marked as H j The map tile image information is integrated into the H j The corresponding coordinate points.

[0086] Step S500: Integrate the flight trajectory curve of the aircraft corresponding to the target flight onto the map display platform according to the departure location identifier and the arrival location identifier corresponding to the target flight;

[0087] Furthermore, step S500 includes:

[0088] Step S510: Obtain the coordinates of each track point on the flight track curve of the aircraft corresponding to the target flight on the map display platform;

[0089] Step S520: Integrate each trajectory point on the flight trajectory curve into its corresponding coordinate point on the map display platform.

[0090] Step S600: establishing an association relationship between a target viewport and a moving trajectory point, so that the target viewport moves along the flight trajectory curve following the moving trajectory point, and the direction of the target viewport is the same as the moving direction of the moving trajectory point;

[0091] When the moving trajectory point moves, the target viewport also moves with the moving trajectory point to dynamically display the flight trajectory.

[0092] Step S700: Integrate the corresponding target image information onto the map display platform according to the target location identifier;

[0093] Furthermore, step S700 includes:

[0094] Step S710: Obtain the target location identifier corresponding to each target image information, and obtain the target location identifier set G = (G1, G2, ..., G h ,...,G n ); where h = 1, 2, ..., n; n is the number of target image information; G h is the target location identifier corresponding to the h-th target image information;

[0095] Step S720: G h The corresponding target image information is integrated into the G map display platform according to the image display strategy. h At the corresponding coordinate point, when the conditions of the image display strategy are met, the corresponding target image is displayed on the map display platform;

[0096] Among them, the image display strategy is:

[0097] Step S721: Get the real-time coordinates of the moving track point on the map display platform. now ;

[0098] Step S722: Get G h The corresponding location is the coordinate point D on the map display platform h ;

[0099] Step S723: When D now With D h When the distance between them is less than the preset image display distance threshold, G h The corresponding target image is displayed on the map display platform;

[0100] When the moving track point moves to within the image display distance threshold range from the location where the target image is located, the corresponding target image is displayed.

[0101] Step S7231: When D now With D h The distance between them is greater than or equal to the preset image display distance threshold or G h When the display time of the corresponding target image on the map display platform is greater than or equal to the preset image display time threshold, G h The corresponding target image is hidden.

[0102] Step S800: Generate a moving trajectory video of the moving trajectory point on the flight trajectory curve, with the starting point of the moving trajectory point on the map display platform at the starting point of the flight trajectory curve as the starting node and the end point of the moving trajectory point on the map display platform moving to the end point of the flight trajectory curve as the ending node.

[0103] The present invention draws a flight trajectory curve of an aircraft corresponding to a target flight based on the departure location identifier and arrival location identifier corresponding to the target flight, determines a moving trajectory point on the flight trajectory curve, integrates the flight trajectory curve and map tile image information into a map display platform, establishes an association relationship between a target viewport and the moving trajectory point, so that the target viewport follows the moving trajectory point on the flight trajectory curve, and the direction of the target viewport is the same as the moving direction of the moving trajectory point, integrates each target image information into the map display platform, displays the target image corresponding to the target image information on the map display platform, and generates a moving trajectory video of the moving trajectory point on the flight trajectory curve, with the starting node at the starting point of the flight trajectory curve on the map display platform and the ending node at the moving trajectory point on the map display platform moving to the end point of the flight trajectory curve on the map display platform. Based on the target flight order completed by the user, a historical flight trajectory curve of the target flight is generated, and the flight trajectory curve is integrated with the map display platform, so that the user can intuitively view the flight trajectory video on the map display platform.

[0104] An embodiment of the present invention further provides a computer program product comprising program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present invention described above in this specification.

[0105] Furthermore, although the steps of the method of the present disclosure are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0106] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0107] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0108] Those skilled in the art will appreciate that various aspects of the present invention may be implemented as systems, methods, or program products. Therefore, various aspects of the present invention may be implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits," "modules," or "systems."

[0109] The electronic device according to this embodiment of the present invention is merely an example and should not limit the functions and scope of use of the embodiments of the present invention.

[0110] The electronic device is implemented as a general-purpose computing device. Components of the electronic device may include, but are not limited to, the aforementioned at least one processor, the aforementioned at least one storage, and a bus connecting different system components (including the storage and the processor).

[0111] The storage stores program codes, which can be executed by the processor, so that the processor performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0112] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).

[0113] The storage may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0114] The bus may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.

[0115] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may communicate with one or more devices that enable a user to interact with the electronic device, and / or may communicate with any device that enables the electronic device to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface. Furthermore, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter. As shown, the network adapter communicates with other modules of the electronic device via a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0116] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0117] In exemplary embodiments of the present disclosure, a computer-readable storage medium is also provided, on which is stored a program product capable of implementing the aforementioned methods of this specification. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product comprising program code. When the program product is executed on a terminal device, the program code is configured to cause the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the "Exemplary Methods" section of this specification.

[0118] The program product may be implemented in any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0119] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0120] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0121] The program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, and the like, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0122] Furthermore, the figures above are merely illustrative of the processes included in the method according to exemplary embodiments of the present invention and are not intended to be limiting. It is readily understood that the processes illustrated in the figures above do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0123] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0124] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A flight trajectory video generation method, characterized in that: Applied to a video generation system, the video generation system stores a plurality of target image information and a plurality of map tile image information, each of the target image information corresponds to a unique target location identifier, and each of the map tile image information corresponds to a tile location identifier and a tile image level; the video generation system includes a map display platform, and the map display platform is provided with a target viewport; The method comprises the following steps: Step S100, in response to receiving a trajectory video generation request of a target flight, obtaining a departure location identifier and an arrival location identifier corresponding to the target flight included in the trajectory video generation request; Step S200, drawing a flight trajectory curve of the aircraft corresponding to the target flight according to the departure location identifier and the arrival location identifier; Step S300, selecting any point on the flight trajectory curve and determining it as a moving trajectory point, so that the moving trajectory point moves from the starting point to the end point on the flight trajectory curve according to a preset moving rate; Step S400: Integrate the corresponding map tile image information onto the map display platform according to each tile location identifier and tile image level; Step S500, integrating the flight trajectory curve of the aircraft corresponding to the target flight onto the map display platform according to the departure location identifier and the arrival location identifier corresponding to the target flight; Step S600, establishing an association relationship between the target viewport and the moving trajectory point, so that the target viewport moves along the flight trajectory curve following the moving trajectory point, and the direction of the target viewport is the same as the moving direction of the moving trajectory point; Step S700: integrating the target image information corresponding to the target location identifier onto the map display platform; Step S800, taking the starting point of the flight trajectory curve at the moving trajectory point on the map display platform as a starting node and taking the moving trajectory point on the map display platform moving to the end point of the flight trajectory curve as an ending node, generating a moving trajectory video of the moving trajectory point on the flight trajectory curve; Wherein, the step S200 includes: Step S210, obtaining the departure location longitude J1 corresponding to the departure location identifier and the arrival location longitude J2 corresponding to the arrival location identifier; Step S220: If J1∈[-180°, 0°] and / or J2∈[-180°, 0°], execute step S230; otherwise, execute step S240; Step S230, if J1∈[-180°,0°], set J1=J1+360°; if J2∈[-180°,0°], set J2=J2+360°, and execute step S240; Step S240, if J2-J1>180°, then determine the direction longitude difference D=J2-J1-360° of the aircraft corresponding to the target flight; if J2-J1<-180°, then determine the direction longitude difference D=J2-J1+360° of the aircraft corresponding to the target flight; if -180°≤J2-J1≤180°, then determine the direction longitude difference D=J2-J1 of the aircraft corresponding to the target flight; Step S250: if D>0°, then determine that the aircraft corresponding to the target flight is flying eastward; if D<0°, then determine that the aircraft corresponding to the target flight is flying westward; Step S260, determining the track auxiliary coordinate point V on the map display platform according to the departure coordinate point Z1 corresponding to the departure location mark on the map display platform, the arrival coordinate point Z2 corresponding to the arrival location mark on the map display platform, and the flight direction of the aircraft corresponding to the target flight; Step S270: Draw the flight trajectory curve G(t)=(1-t) of the aircraft corresponding to the target flight according to Z1, Z2 and V. 2 ×Z1+2t(1-t)×V+t 2 ×Z2; t∈[0,1].

2. The method according to claim 1, characterized in that The step S260 includes: Step S261: Obtain the coordinates of Z1 on the map display platform (Z 11 ,Z 12 ,Z 13 ) and the coordinates of Z2 on the map display platform (Z 21 ,Z 22 ,Z 23 ), where Z 11 is the horizontal coordinate corresponding to Z1, Z 12 is the ordinate corresponding to Z1, Z 13 is the vertical coordinate corresponding to Z1; Z 21 is the horizontal coordinate corresponding to Z2, Z 22 is the ordinate corresponding to Z2, Z 23 is the vertical coordinate corresponding to Z2; Step S262: Determine the coordinates (Z 31 ,Z 32 ,Z 33 ), where Z 31 is the horizontal coordinate corresponding to Z3, Z 31 =(Z 11 +Z 21 ) / 2; Z 32 is the ordinate corresponding to Z3, Z 32 =(Z 12 +Z 22 ) / 2; Z 33 is the vertical coordinate corresponding to Z3, Z 33 =(Z 13 +Z 23 ) / 2; Step S263: If the aircraft corresponding to the target flight is flying eastward, execute step S264; if the aircraft corresponding to the target flight is flying westward, execute step S265; Step S264: Determine the auxiliary coordinate point V of the trajectory according to Z1, Z2, and Z3; wherein V=(V1, V2, V3); V1 is the horizontal coordinate corresponding to V, ; V2 is the ordinate corresponding to V, ; V3 is the vertical coordinate corresponding to V, ; Step S265: Determine the auxiliary coordinate point V of the trajectory according to Z1, Z2, and Z3; V=(V1, V2, V3); V1 is the horizontal coordinate corresponding to V, ; V2 is the ordinate corresponding to V, ; V3 is the vertical coordinate corresponding to V, .

3. The method according to claim 1, characterized in that The step S400 includes: Step S410: Obtain the tile location identifier corresponding to each of the map tile image information to obtain a tile location identifier set H=(H1, H2, ..., H j ,...,H m ), where j = 1, 2, ..., m; m is the number of map tile image information; H j is the tile location identifier corresponding to the j-th map tile image information; Step S420: Get H j The tile image level W of the corresponding map tile image information j ; Step S430: If W j =1, then H j The corresponding map tile image information is integrated into the H j The corresponding coordinate point; otherwise, execute step S440; Step S440: If the H j The tile image level of the topmost map tile image information at the corresponding coordinate point is W j -1, then H j The corresponding map tile image information is integrated into the H j The corresponding coordinate point; otherwise, execute step S450; Step S450: Obtain the H of the current map display platform j The tile image level C of the topmost map tile image information at the corresponding coordinate point now ; Step S460: Set the tile image level to C now +1 and the tile location is marked as H j The map tile image information is integrated into the H j The corresponding coordinate points.

4. The method according to claim 1, characterized in that: The step S500 includes: Step S510, obtaining the coordinates of each track point on the flight track curve of the aircraft corresponding to the target flight on the map display platform; Step S520: Integrate each trajectory point on the flight trajectory curve into the corresponding coordinate point on the map display platform.

5. The method according to claim 1, characterized in that The step S700 includes: Step S710: Obtain the target location identifier corresponding to each target image information to obtain a target location identifier set G=(G1, G2, ..., G h ,...,G n ), where h=1,2,...,n, and n is the number of target image information; G h is the target location identifier corresponding to the h-th target image information; Step S720: G h The corresponding target image information is integrated into the G on the map display platform according to the image display strategy. h At the corresponding coordinate point, when the conditions of the image display strategy are met, the corresponding target image is displayed on the map display platform.

6. The method according to claim 5, characterized in that The image display strategy is: Step S721: Obtain the real-time coordinate point D of the moving track point on the map display platform now ; Step S722: Get G h The coordinate point D of the corresponding location on the map display platform h ; Step S723: When D now With D h When the distance between them is less than the preset image display distance threshold, G h The corresponding target image is displayed on the map display platform.

7. The method according to claim 6, characterized in that The step S723 further includes: Step S7231: When D now With D h The distance between them is greater than or equal to the preset image display distance threshold or G h When the display time of the corresponding target image on the map display platform is greater than or equal to the preset image display time threshold, h The corresponding target image is hidden.

8. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded and executed by the processor to implement the method according to any one of claims 1 to 7.

9. An electronic device, characterized in that: The invention comprises a processor and the non-transitory computer-readable storage medium as claimed in claim 8.

Citation Information

Patent Citations

  • Flight track drawing method, electronic equipment and storage medium

    CN117589173A