Aircraft formation lighting performance control method, electronic device and storage medium
By inserting light keyframes in the drone formation lighting performance, editing parameters and generating control scripts, the problem of lack of simulation methods and control command delays in the drone formation lighting performance is solved, and high-quality lighting performance effects are achieved.
Patent Information
- Application Number
- CN202211028307.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2042-08-25
AI Technical Summary
There is a lack of lighting effect simulation methods in the drone formation lighting performance, and the time of sending the light control command does not match the design time, which affects the performance effect.
By inserting the aircraft light keyframe at the selected time point, editing the light parameters, and previewing the confirmation effect in the three-dimensional preview window, generating a light control script with keyframe time information, and sending control instructions strictly according to the designed time point.
It realizes the simulation of lighting effects in advance and the accurate sending of control instructions, ensuring the performance effect of drone lighting performances.
Smart Images

Figure CN115426545B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned aerial vehicle performance control, and more specifically, to an aircraft light performance control method, device and storage medium. Background Art
[0002] As drone technology matures, drone swarms are being used more and more widely. In some large-scale events, multiple drones form a drone swarm to perform. For example, the prior art discloses a method and device for drone swarm performances. The solution obtains flight data of a drone swarm through testing, determines key indicators of a drone swarm performance based on the flight path data of the drone swarm, and performs a drone swarm performance according to reference values of the key indicators of the drone swarm performance.
[0003] Drone formation performances are booming in China and are very entertaining. Among them, the display of drone lighting effects is extremely important to the success of the performance. Drone performances are usually uniformly controlled by a computer, and its lights are also controlled by computer remote programs. Specifically, the operator binds the lighting control instructions to the drone in advance, and changes the drone lighting status through the lighting control instructions during the drone performance. On the one hand, most of the current lighting status controls are only directly controlled by the computer and the drone directly responds to the lighting effects. If the lighting effect is poor, it cannot be discovered in time; on the other hand, because the drone and the remote computer are generally connected wirelessly, the sending of the control instructions themselves is usually delayed, and in some drone performance controls, there is a disadvantage that the control instructions cannot be sent strictly at the designed time point, which further affects the drone performance effect. Summary of the invention
[0004] In order to solve the problems of lack of lighting effect simulation means and mismatch between the sending time of lighting control instructions and the designed time in the current aircraft formation light show, the present invention proposes an aircraft light show control method, device and computer storage medium, which simulate the lighting effects in advance and send control instructions strictly at the designed time point, thereby ensuring the performance effect of the drone light show.
[0005] In order to achieve the above technical effects, the technical solution of the present invention is as follows:
[0006] A method for controlling an aircraft light show, the method comprising the following steps:
[0007] S1. Insert aircraft lighting keyframe at the selected time point;
[0008] S2. Open the lighting parameter panel corresponding to the keyframe and edit the lighting parameters;
[0009] S3. Preview and confirm the aircraft lighting effect with edited lighting parameters in the 3D preview window;
[0010] S4. Generate a lighting control script with key frame time information;
[0011] S5. The lighting control script runs and continuously obtains the system time of the local control terminal;
[0012] S6. According to the system time, the local control terminal sends a light control command to the aircraft according to the light control script.
[0013] In this technical solution, first, insert the aircraft lighting keyframe at the selected time point, then open the lighting parameter panel corresponding to the keyframe, edit the lighting parameters, and preview and confirm the aircraft lighting effect with the edited lighting parameters in the 3D preview window, so as to simulate the lighting effect in advance and ensure the actual lighting shape, color, flickering and other effects. Finally, generate a lighting control script with keyframe time information, and continuously obtain the system time of the local control terminal when running the lighting control script program. Finally, according to the system time, the local control terminal sends lighting control instructions to the aircraft according to the lighting control script, and sends control instructions strictly at the designed time point to ensure the performance effect of the drone light show.
[0014] Preferably, the aircraft is a manned aircraft.
[0015] Preferably, in step S1, the user presets the timeline according to actual performance needs, and then selects the time point for inserting the aircraft lighting keyframe on the timeline.
[0016] Preferably, in step S2, the inserted aircraft light keyframe corresponds to a light parameter panel, and when the keyframe is selected, the light parameter panel corresponding to the keyframe is automatically opened.
[0017] Preferably, in step S2, the edited lighting parameters include the following: aircraft coordinates, aircraft orientation, aircraft arm light parameters, aircraft flash light parameters, aircraft cabin light parameters, aircraft headlight parameters and aperture parameters;
[0018] When editing the aircraft's lighting parameters, all the aircraft's lights participating in the performance are listed in the lighting parameter panel. According to the lighting show design ideas, the parameters of the listed lights participating in the performance are adjusted, including light brightness, light switch status, light switch order, light focus direction, and the switch order of different types of lights.
[0019] Preferably, when editing the lighting parameters, edit them in the lighting parameter panel according to the initial lighting show design idea, and preview and confirm the aircraft lighting effect of the edited lighting parameters in the three-dimensional preview window. If the aircraft lighting effect does not meet the expected requirements when previewed and confirmed in the three-dimensional preview window, return to S2 to edit and modify again.
[0020] Preferably, after step S3, if it is still necessary to add a key frame, the process returns to step S1; if it is not necessary to add a key frame, the process executes step S4.
[0021] Preferably, the local control terminal is located on a computer.
[0022] Preferably, the local control terminal is connected to the aircraft via Wi-Fi or 4G, and sends light control instructions to the aircraft according to the light control script.
[0023] The present application also proposes an electronic device, comprising:
[0024] a processor and a memory storing instructions executable by the processor;
[0025] The memory stores a computer program, and the computer program is called by the processor. When the processor calls the computer program, the aircraft light show control method is executed.
[0026] The present application also proposes a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is called by a processor to execute an aircraft light show control method.
[0027] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0028] The present invention proposes a method, an electronic device and a computer-readable storage medium for controlling an aircraft light show. First, an aircraft light key frame is inserted at a selected time point, and then a light parameter panel corresponding to the key frame is opened to edit the light parameters. The aircraft light effect with the edited light parameters is previewed and confirmed in a three-dimensional preview window, so as to simulate the light effect in advance and ensure the actual light shape, color, flickering and other effects. Finally, a light control script with key frame time information is generated. When the light control script program is run, the system time of the local control terminal is continuously obtained. Finally, according to the system time, the local control terminal sends a light control instruction to the aircraft according to the light control script, and sends the control instruction strictly at the designed time point, thereby ensuring the performance effect of the unmanned aerial vehicle light show. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram showing a flow chart of an aircraft light show control method proposed in Embodiment 1 of the present invention;
[0030] Figure 2 A schematic diagram showing a flow chart of another aircraft light show control method proposed in Embodiment 2 of the present invention;
[0031] Figure 3 A schematic diagram showing the structure of an electronic device proposed in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0032] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;
[0033] In order to better illustrate the present embodiment, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the actual size;
[0034] It is understandable to those skilled in the art that descriptions of certain well-known contents in the drawings may be omitted.
[0035] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0036] The positional relationships described in the drawings are only for illustrative purposes and should not be construed as limiting the present patent;
[0037] Before introducing the method and device for drone cluster performance provided by the embodiment of the present application, the following points are explained. First, in the embodiments shown below, each term and English abbreviation is an illustrative example given for the convenience of description and should not constitute any limitation to the present application. The present application does not exclude the possibility of other terms that have been or will be defined in the future to achieve the same or similar functions. Second, "at least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one item among a, b and c can represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.
[0038] Example 1
[0039] In order to solve the problem that there is a lack of lighting effect simulation means and the lighting control instruction sending time does not match the design time in the current aircraft formation lighting performance, this embodiment proposes an aircraft lighting performance control method, and the flow chart of the method is as follows: Figure 1 As shown, see Figure 1 , the method comprises the following steps:
[0040] S1. Insert aircraft lighting keyframes at the selected time point; here, keyframes are a very common function in picture production, which plays a very critical role in producing more sophisticated display effects. Frames are the smallest unit of single image pictures in animation, equivalent to each frame of film. On the timeline of animation software, frames are represented as a frame or a mark. Keyframes are equivalent to the original painting in two-dimensional animation, which refers to the frame where the key action of light or other movement or change is located. In light performances, the use of keyframes can make the video more dynamic and beautiful, showing a process of change. For example, the picture changes from dark to light; for example, two performances appear crosswise, one gradually disappears, and the other gradually emerges; for example, the picture gradually enlarges to create a slowly advancing effect.
[0041] S2. Open the lighting parameter panel corresponding to the keyframe and edit the lighting parameters;
[0042] S3. Preview and confirm the aircraft lighting effect with edited lighting parameters in the 3D preview window;
[0043] S4. Generate a lighting control script with key frame time information;
[0044] S5. The lighting control script runs and continuously obtains the system time of the local control terminal; that is, it is obtained strictly according to the designed time point.
[0045] S6. According to the system time, the local control terminal sends a light control command to the aircraft according to the light control script.
[0046] On the whole, first insert the aircraft lighting keyframe at the selected time point, then open the lighting parameter panel corresponding to the keyframe, edit the lighting parameters, and preview and confirm the aircraft lighting effect with the edited lighting parameters in the 3D preview window, so as to simulate the lighting effect in advance and ensure the actual lighting shape, color, flickering and other effects. Finally, generate a lighting control script with keyframe time information, and continuously obtain the system time of the local control end when running the lighting control script program. Finally, according to the system time, the local control end sends lighting control instructions to the aircraft according to the lighting control script, and sends control instructions strictly at the designed time point to ensure the performance effect of the drone light show.
[0047] In this embodiment, the aircraft is a manned aircraft, and the EH216 large manned aircraft developed by Ehang is adopted. Its own conditions and advantages are combined with the formation light show of drones to better enhance the visual impact of the light show. In addition to the technical level, it overcomes the visual defect that there is no new form change in the current drone light show and avoids the audience's aesthetic fatigue.
[0048] In step S1, the user presets the timeline according to the actual performance needs, and then selects the time point to insert the aircraft lighting keyframe on the timeline.
[0049] In step S2, the inserted aircraft light keyframe corresponds to a light parameter panel. When a keyframe is selected, the light parameter panel corresponding to the keyframe is automatically opened. The edited light parameters include the following: aircraft coordinates, aircraft orientation, aircraft arm light parameters, aircraft flash light parameters, aircraft cabin light parameters, aircraft headlight parameters and aperture parameters, which can add large manned aircraft light changing elements to the UAV formation performance.
[0050] Example 2
[0051] In order to solve the problem that there is a lack of lighting effect simulation means and the lighting control instruction sending time does not match the design time in the current aircraft formation lighting performance, this embodiment proposes another aircraft lighting performance control method, such as Figure 2 As shown, the following steps are included:
[0052] S1. Insert aircraft lighting keyframe at the selected time point;
[0053] S2. Open the lighting parameter panel corresponding to the keyframe and edit the lighting parameters;
[0054] S3. Preview and confirm the aircraft lighting effect with edited lighting parameters in the 3D preview window;
[0055] When editing lighting parameters, edit in the lighting parameter panel according to the initial lighting show design idea, and preview and confirm the aircraft lighting effect of the edited lighting parameters in the 3D preview window. If the aircraft lighting effect does not meet the expected expectations when previewed and confirmed in the 3D preview window, return to S2 to edit and modify again; specifically, suppose there is a demand that in a large-scale event, there are requirements for the brightness and sequence of aircraft lights. Use the 3D preview window on the local control end to edit the lighting parameters in advance, such as: aircraft coordinates, aircraft orientation, aircraft arm light parameters, aircraft flashing light parameters, aircraft cabin light parameters, aircraft headlight parameters and aperture parameters, and draw a 3D model that can well simulate the actual light shape, color, flickering and other effects.
[0056] When editing the aircraft's lighting parameters, all the aircraft's lights participating in the performance are listed in the lighting parameter panel. According to the lighting show design ideas, the parameters of the listed lights participating in the performance are adjusted, including light brightness, light switch status, light switch order, light focus direction, and the switch order of different types of lights.
[0057] If a key frame needs to be added after step S3, the process returns to step S1; if a key frame does not need to be added, the process proceeds to step S4;
[0058] S4. Generate a lighting control script with key frame time information;
[0059] S5. The lighting control script runs and continuously obtains the system time of the local control terminal;
[0060] S6. According to the system time, the local control terminal sends a light control command to the aircraft according to the light control script.
[0061] In this embodiment, the local control terminal is located on a computer.
[0062] In this embodiment, the local control terminal is connected to the aircraft via Wi-Fi or 4G, and sends light control instructions to the aircraft according to the light control script.
[0063] Example 3
[0064] like Figure 3 As shown, this embodiment provides an electronic device, which includes:
[0065] a processor and a memory storing instructions executable by the processor;
[0066] The memory stores a computer program, and the computer program is called by the processor. When the processor calls the computer program, the aircraft light show control method described in Example 1 and Example 2 is executed. In this embodiment, the data processing function can be integrated in an electronic device, and the electronic device is used to execute the corresponding step processes in Example 1 and Example 2.
[0067] See also Figure 3 In the schematic diagram of the electronic device proposed in this embodiment, the processor 101 is connected to the memory 102, and the processor 101 executes the computer program stored in the memory 102 to implement the aircraft light show control method described in Embodiment 1 and Embodiment 2.
[0068] Among them, the memory 102 can be a disk, flash memory or any other non-volatile storage medium. After the processor 101 is connected to the memory 102, it can be implemented as one or more integrated circuits, specifically a microprocessor or a microcontroller. When executing the computer program stored in the memory, the aircraft light show control method is implemented.
[0069] Example 4
[0070] This embodiment provides a computer-readable storage medium, which is used to store a computer program. The computer program is called by a processor to execute the aircraft light show control method described in Embodiment 1 and Embodiment 2.
[0071] In this embodiment, the computer storage medium may include: a mobile hard disk, a magnetic disk, a read-only memory ROM, a random access memory RAM, and other media that can store computer program codes.
[0072] It should be noted that, in the application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0073] Obviously, the above embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A method for controlling an aircraft light show, characterized in that: The control method comprises the following steps: S1. Insert aircraft lighting keyframe at the selected time point; S2. Open the lighting parameter panel corresponding to the keyframe and edit the lighting parameters; the edited lighting parameters include aircraft coordinates, aircraft orientation, aircraft arm light parameters, aircraft flash light parameters, aircraft cabin light parameters, aircraft headlight parameters and aperture parameters; S3. Preview and confirm the aircraft lighting effect with edited lighting parameters in the 3D preview window; S4. Generate a lighting control script with key frame time information; S5. The lighting control script runs and continuously obtains the system time of the local control terminal; S6. According to the system time, the local control terminal sends a lighting control command to the aircraft according to the lighting control script.
2. The aircraft light show control method according to claim 1, characterized in that: The aircraft is a manned aircraft.
3. The aircraft light show control method according to claim 1, characterized in that: In step S1, the user presets the timeline according to the actual performance needs, and then selects the time point to insert the aircraft lighting keyframe on the timeline.
4. The aircraft light show control method according to claim 3, characterized in that: In step S2, the inserted aircraft light keyframe corresponds to a light parameter panel, and when a keyframe is selected, the light parameter panel corresponding to the keyframe is automatically opened.
5. The aircraft light show control method according to claim 1, characterized in that: In step S2, when editing the lighting parameters of the aircraft, all lights of the aircraft participating in the performance are listed in the lighting parameter panel. According to the design ideas of the lighting performance, the parameters of the listed lights participating in the performance are adjusted, including the brightness of the lights, the light switch status, the light switch order, the light focus direction and the switch order of different types of lights.
6. The aircraft light show control method according to claim 5, characterized in that: When editing lighting parameters, edit them in the lighting parameter panel according to the initial lighting show design ideas, and preview and confirm the aircraft lighting effects of the edited lighting parameters in the 3D preview window. If the aircraft lighting effects do not meet the expectations when previewed and confirmed in the 3D preview window, return to S2 to edit and modify again.
7. The aircraft light show control method according to claim 1, characterized in that: If it is necessary to add a key frame after step S3, the process returns to step S1; if it is not necessary to add a key frame, the process proceeds to step S4.
8. The aircraft light show control method according to claim 1, characterized in that: The local console is located on the computer.
9. The aircraft light show control method according to claim 8, characterized in that: The local control terminal connects to the aircraft via Wi-Fi or 4G and sends light control instructions to the aircraft according to the light control script.
10. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing instructions executable by the processor; The memory stores a computer program, and the computer program is called by the processor. When the processor calls the computer program, the aircraft light show control method according to any one of claims 1 to 9 is executed.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is called by a processor to execute executable instructions of the aircraft light show control method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Editing method of household sentiment lighting scene
CN102740536A
Event triggering method, device, equipment and system and readable storage medium
CN110708847A