Unmanned aerial vehicle control method and device, vehicle-mounted system, electronic device and storage medium
Through the drone control method, the drone flight shooting is used to use the pre-generated shooting lens data, solving the problems of shooting freedom and low efficiency of traditional ground shooting methods, and achieving efficient automatic follow-up of racing sports.
Patent Information
- Application Number
- CN202411305560.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-10
AI Technical Summary
Traditional ground shooting methods have low shooting freedom and efficiency in motorsports, and cannot effectively track the high-speed movement of racing cars on complex tracks.
Through the drone control method, a variety of shooting lens data are created, including drone movement parameters, and the drone is controlled to perform flight shooting based on the data selected by the user, so as to realize active tracking and shooting of vehicle movement.
It improves shooting freedom and efficiency, reduces economic costs, and achieves efficient and automatic follow-up of the racing process.
Smart Images

Figure CN119105526A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of drone photography, and in particular to drone control methods, devices, vehicle-mounted systems, electronic devices, and storage media. Background Art
[0002] In the field of motorsports, with the continuous advancement of technology and the increasing demand of the audience for the viewing experience of the event, the requirements for shooting and recording motorsports have also increased. When motorsports are carried out in the racetrack, the racing process is often recorded by capturing the camera.
[0003] At present, the footage of the event is usually captured based on ground shooting. Since car races are often held in complex track environments, such as curves, ramps, straight sections, etc., high-speed sports shooting of cars requires professional shooting skills. Ground shooting methods require passive adjustment of shooting position and angle according to the progress of the event, which leads to low shooting freedom and low shooting efficiency.
[0004] With regard to the problems of low shooting freedom and shooting efficiency in traditional ground shooting methods in related technologies, no effective solution has been proposed so far. Summary of the invention
[0005] In this embodiment, a drone control method, device, vehicle-mounted system, electronic device and storage medium are provided to solve the problems of low shooting freedom and shooting efficiency in traditional ground shooting methods in related technologies.
[0006] In a first aspect, a method for controlling a drone is provided in this embodiment, including:
[0007] In response to a shooting request received from a target vehicle, a plurality of pre-generated shooting lens data corresponding to the site where the target vehicle is located is output; each of the shooting lens data includes multi-dimensional drone mobile shooting parameters; different shooting lens data correspond to different location areas in the site;
[0008] In response to the user's selection operation on the multiple shooting lens data, the drone is controlled to perform flight shooting according to the selected target shooting lens data.
[0009] In some of the embodiments, before outputting the pre-generated multiple shooting lens data corresponding to the site where the target vehicle is located in response to the shooting request received from the target vehicle, the method further includes:
[0010] In the process of controlling the drone to perform pre-shooting on the site, shooting lens data for the site is generated based on the shooting control operation of the drone.
[0011] In some embodiments, in the process of controlling the drone to perform pre-shooting on the site, based on the shooting control operation of the drone, generating shooting lens data for the site includes:
[0012] During the process of controlling the drone to perform pre-shooting on the site, periodically recording the current state information of the drone under the shooting control operation until it is determined that the shooting of the current shot is finished;
[0013] When it is determined that the current shot shooting is finished, the shooting shot data is generated according to the collected state information.
[0014] In some embodiments, the shooting lens data includes at least: shooting start position, shooting end position, shooting duration, drone position point, drone height and lens direction.
[0015] In some embodiments, in response to the user's selection operation of the multiple shooting lens data, controlling the drone to perform flight shooting according to the selected target shooting lens data includes:
[0016] In response to the user's selection operation of the multiple shooting lens data, the drone is controlled to fly to the first tracking position according to the selected target shooting lens data and hover and wait until the drone detects that the target vehicle appears at the preset position of the venue. Based on the target shooting lens data, the drone is controlled to shoot the target vehicle at different tracking positions in turn.
[0017] In some embodiments, the method further comprises:
[0018] After completing the shooting based on the target shooting lens data, the shooting segment data collected by the drone is synthesized to generate complete shooting video data.
[0019] In a second aspect, a drone control device is provided in this embodiment, including: a data loading module and a control module; wherein:
[0020] The data loading module is used to respond to a shooting request received from a target vehicle and output a plurality of pre-generated shooting lens data corresponding to the site where the target vehicle is located; each of the shooting lens data includes multi-dimensional drone mobile shooting parameters; different shooting lens data correspond to different location areas in the site;
[0021] The control module is used to control the drone to perform flight shooting according to the selected target shooting lens data in response to the user's selection operation on the multiple shooting lens data.
[0022] In a third aspect, a vehicle-mounted system is provided in this embodiment, comprising the drone control device described in the second aspect, and the vehicle-mounted system is communicatively connected to the drone.
[0023] In a fourth aspect, an electronic device is provided in this embodiment, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the drone control method described in the first aspect when executing the computer program.
[0024] In a fifth aspect, a storage medium is provided in this embodiment, on which a computer program is stored, and when the program is executed by a processor, the drone control method described in the first aspect is implemented.
[0025] Compared with the related art, the present embodiment provides a drone control method, device, vehicle-mounted system, electronic device and storage medium. The drone control method, in response to a shooting request received from a target vehicle, outputs a plurality of pre-generated shooting lens data corresponding to the site where the target vehicle is located; each shooting lens data includes multi-dimensional drone mobile shooting parameters; different shooting lens data correspond to different positions in the site; in response to a user's selection operation of the plurality of shooting lens data, controls the drone to perform flight shooting according to the selected target shooting lens data. It can apply drone shooting to vehicle tracking, and control the drone to actively track and shoot the vehicle's motion process according to the pre-set shooting lens data, thereby improving shooting freedom and shooting efficiency.
[0026] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0028] Figure 1 is a hardware structure block diagram of a terminal of the drone control method of this embodiment;
[0029] Figure 2 is a flow chart of the drone control method of this embodiment;
[0030] Figure 3 is a flow chart of a drone control method of some of the embodiments;
[0031] Figure 4 is a flow chart of a method for collecting shooting lens data provided by some embodiments;
[0032] Figure 5 is a flow chart of a method for selecting shooting lens data at a user end in some of the embodiments;
[0033] Figure 6 4 is a structural block diagram of the drone control device of this embodiment. DETAILED DESCRIPTION
[0034] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
[0035] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the", "these" and the like in this application do not represent quantitative restrictions, and they can be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether directly or indirectly. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. Usually, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0036] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. For example, running on a terminal, Figure 1 FIG. 1 is a hardware structure diagram of a terminal of the drone control method of this embodiment. Figure 1 As shown, the terminal may include one or more ( Figure 1Only one is shown in the figure) processor 102 and memory 104 for storing data, wherein processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA. The above terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0037] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the drone control method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0038] The transmission device 106 is used to receive or send data via a network. The above network includes a wireless network provided by the communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0039] In this embodiment, a method for controlling a drone is provided. Figure 2 is a flow chart of the drone control method of this embodiment. Figure 2 As shown, the process includes the following steps:
[0040] Step S210, in response to a shooting request received from a target vehicle, output a plurality of pre-generated shooting lens data corresponding to the site where the target vehicle is located; each shooting lens data includes multi-dimensional drone mobile shooting parameters; different shooting lens data correspond to different location areas in the site.
[0041] The target vehicle may be a vehicle that needs to be followed and filmed, and the site where the target vehicle is located may be a lane site for following a moving vehicle, such as a racetrack site for following a racing car. The shooting lens data is generated in advance for the site features such as the route and driving direction of the above-mentioned site, and includes the drone mobile shooting parameters of multiple dimensions such as the shooting start position, the shooting end position, the shooting duration, and the position point of the drone during the lens shooting, the drone height, and the lens direction. It should also be noted that a variety of shooting lens data can be pre-generated in a site, and different shooting lens data can correspond to different position areas in the site. In addition, a variety of different shooting lens data can also be pre-generated in the same position area in the site, and then, in response to the shooting request received from the target vehicle, one shooting lens data is selected from the multiple shooting lens data in the position area for output. That is, the different shooting lens data output in response to the shooting request correspond to different position areas of the site.
[0042] Exemplarily, a certain field may pre-generate shooting lens data 1, shooting lens data 2, shooting lens data 3, shooting lens data 4, shooting lens data 5, and shooting lens data 6, wherein the values of the parameters contained in different shooting lens data may be different. For example, the shooting start position and shooting end position in shooting lens data 1 are different from the shooting start position and shooting end position in shooting lens data 2. In addition, shooting lens data 1 may correspond to the first section of the planned position area in the field, and shooting lens data 2 may correspond to the second section of the position area in the field. In particular, in order to improve the tracking effect, the shooting start position of shooting lens data 2 and the shooting end position of shooting lens data 1 may be separated by a preset distance, so that the driving time of the vehicle from the corresponding position area of shooting lens data 1 on the lane to the corresponding position area of shooting lens data 2 on the lane is greater than the time it takes for the drone to fly from the shooting end position of shooting lens data 1 to the shooting start position of shooting lens data 2.
[0043] After generating a plurality of shooting lens data, the plurality of shooting lens data can also be combined into a shooting mode corresponding to the target site. For example, the shooting lens data 1, shooting lens data 2, and shooting lens data 3 are combined into shooting mode A, and the shooting lens data 4, shooting lens data 5, and shooting lens data 6 are combined into shooting mode B.
[0044] When receiving a data loading request, the pre-generated multiple shooting lens data can be combined to obtain one or more shooting modes, and then the shooting modes are output to the user, each mode containing different shooting lens data. In addition, the user can also select one or more generated shooting lens data to form a new shooting mode.
[0045] Exemplarily, a type of shooting lens data may have the following storage format:
[0046]
[0047] Among them, sceneId is the unique identifier (Identity document, referred to as Id) of each type of shooting lens data, duration is the maximum duration of the shooting of the lens, startPoint is the starting position of the shooting, endPoint is the ending position of the shooting, sceneData is the location point of all drones in this type of shooting lens data and the shooting parameters such as the lens direction and altitude of the drone at this location point. The specific format can be: [(longitude a, latitude a, direction a, altitude a...), (longitude b, latitude b, direction b, altitude b...)].
[0048] In addition, the shooting modes composed of different types of shooting lens data can have the following storage forms:
[0049] schemeId trackId sceneIds 1 1 [1,2,5...]
[0050] Among them, schemeId is the unique identifier of the shooting mode, trackId is the unique identifier of the target scene corresponding to the shooting mode, and sceneIds represents the unique identifier of all shooting lens data contained in the shooting mode.
[0051] After outputting a variety of shooting lens data corresponding to the target site to the user, the user can select different shooting lens data to form a desired shooting mode. Alternatively, different shooting modes that have been combined are output to the user, and the user selects the desired shooting mode from them. For example, shooting mode A and shooting mode B can be preloaded in response to a data loading request. Shooting mode A includes shooting lens data 1, shooting lens data 2, and shooting lens data 3; shooting mode B includes shooting lens data 4, shooting lens data 5, and shooting lens data 6. The user can directly select shooting mode A or shooting mode B, or select shooting lens data 1, shooting lens data 5, and shooting lens data 6 to form a new shooting mode C.
[0052] In addition to using pre-loaded shooting lens data, users can also control the drone to shoot the site in advance to generate relevant shooting lens data, and use the generated shooting lens data, or share it with others through the cloud.
[0053] Step S220, in response to the user's selection operation for the multiple shooting lens data, the drone is controlled to perform flight shooting according to the selected target shooting lens data.
[0054] The above-mentioned multiple shooting modes can be output to the user so that the user can select the desired shooting mode, and the shooting lens data included in the selected shooting mode is the target shooting lens data. In addition, the user can also directly select some shooting lens data from the multiple shooting lens data as the target shooting lens data, which is not specifically limited in this embodiment.
[0055] After the target shooting lens data is determined, a connection can be established with the drone, and the drone can be controlled to track and shoot the moving target vehicle above the target vehicle site according to the target shooting lens data. It can be understood that communication with the drone, tracking of the vehicle target, and flight control of the drone can all be achieved based on the conventional software development kit (SDK) provided by the drone manufacturer.
[0056] In the related art, in order to achieve tracking shooting of vehicles, ground shooting is often used, and the shooting position angle is passively adjusted following the movement of the vehicle, and professional shooting skills are required to capture the moving images of the vehicle. Therefore, the shooting freedom is low and the shooting efficiency is low. In addition, the related art often needs to rely on third-party professionals to shoot in order to get the ideal picture. Therefore, the economic cost required to achieve vehicle tracking shooting in scenes such as track sports in the related art is also high.
[0057] Different from this, this embodiment can select the desired shooting lens data from the pre-generated multiple shooting lens data for the current site through the above steps based on the user, so that the drone can automatically fly to the best shooting position and angle for shooting without the assistance of professionals. When generating the shooting lens data, this embodiment can combine the information such as vehicle speed and site length to generate the shooting lens data, and then set the appropriate shooting mode to make shooting more efficient.
[0058] The above-mentioned drone control method can be implemented by the shooting software installed in the vehicle system. This embodiment combines the drone shooting capability with the vehicle system, so that the user only needs to start the corresponding software before the car to complete a series of shooting requirements such as automatic follow-up shooting and snapshot shooting during the movement of vehicles such as cars. Based on this embodiment, the user only needs to prepare a drone and install the corresponding shooting software on the car to complete the shooting process on the site where the vehicle is located. From the user's end, the whole process is relatively simple to operate. Compared with asking third-party professionals to shoot, the economic cost can be reduced. In addition, this embodiment can accurately plan the best shooting path and camera position according to the data of the site in advance. Compared with the current manual shooting method, the shooting speed is faster, thereby improving the shooting efficiency. Furthermore, this embodiment will provide different shooting schemes according to different track venues and shooting requirements. Users can choose the required shooting scheme according to their preferences. Therefore, based on this embodiment, users have a higher degree of freedom in shooting.
[0059] In the above steps S210 to S220, in response to the shooting request received from the target vehicle, a plurality of pre-generated shooting lens data corresponding to the site where the target vehicle is located is output; each shooting lens data includes multi-dimensional drone movement shooting parameters; different shooting lens data correspond to different positions in the site; in response to the user's selection operation of the plurality of shooting lens data, the drone is controlled to perform flight shooting according to the selected target shooting lens data. It can apply drone shooting to vehicle tracking shooting, and control the drone to realize active tracking shooting of the vehicle movement process according to the pre-set shooting lens data, thereby improving the shooting freedom and shooting efficiency.
[0060] Additionally, in one embodiment, before outputting the pre-generated multiple shooting lens data corresponding to the site where the target vehicle is located in response to the shooting request received from the target vehicle, the above-mentioned drone control method may further include:
[0061] In the process of controlling the drone to perform pre-shooting on the site, shooting lens data for the site is generated based on the shooting control operation of the drone.
[0062] Among them, the best shooting path and camera position can be pre-planned according to the site conditions. For example, multiple location areas can be set as shooting areas for the site in combination with information such as the driving direction of the vehicle in the site, the allowed speed, the length of the site, and the shape of the site. Afterwards, based on the multiple location areas selected from the site, the drone is controlled to perform flight pre-shooting on the site, thereby generating shooting lens data for the site.
[0063] For example, N position areas can be set in a field, and M shooting lens data can be generated in each position area. For example, shooting lens data such as swooping shooting, rotating shooting, and zoom shooting can be generated in one position area. Afterwards, a number of shooting lens data can be selected from the N×M shooting lens data to form a shooting mode, or the selected shooting lens data can be directly output to the user. In the shooting lens data output to the user, one shooting lens data is output from the same position area.
[0064] This embodiment performs pre-shooting based on the site information to generate shooting lens data, thereby improving the shooting efficiency and shooting quality of subsequent formal shooting.
[0065] Specifically, in one embodiment, in the process of controlling the drone to perform pre-shooting on the site, based on the shooting control operation of the drone, the shooting lens data for the site is generated, including:
[0066] In the process of controlling the drone to perform pre-shooting on the field, the current status information of the drone under the shooting control operation is recorded periodically until it is determined that the shooting of the current shot is completed; when it is determined that the shooting of the current shot is completed, the shooting shot data is generated according to the collected status information.
[0067] Next, we will take the track shooting as an example. First, select a shooting start position, control the drone from this position, follow the track driving direction, and correspond to a certain position area planned on the track. Continue to control the drone to adjust the shooting position, shooting height, lens direction and other status information, and regularly (for example, every 1 second) record the current status information of the drone such as the position, height and lens direction until the shooting is finished. The recorded starting position, end position, shooting duration, parameters of the lens process and other information of the lens are stored as a kind of shooting lens data, and the corresponding unique identifier is recorded. In this way, the generation of shooting lens data corresponding to different position areas of the drone on the track is completed.
[0068] In this embodiment, the shooting speed can be increased by accurately planning the best shooting path and camera position in advance based on the data of the track site.
[0069] In one embodiment, the shooting lens data at least includes: shooting start position, shooting end position, shooting duration, drone position point, drone height and lens direction.
[0070] In one embodiment, based on the above step S220, in response to the user's selection operation for multiple shooting lens data, controlling the drone to perform flight shooting according to the selected target shooting lens data may specifically include:
[0071] In response to the user's selection operation for multiple shooting lens data, the drone is controlled to fly to the first tracking position according to the selected target shooting lens data and hover and wait until the drone detects that the target vehicle appears at the preset position of the venue. Based on the target shooting lens data, the drone is controlled to shoot the target vehicle at different tracking positions in turn.
[0072] After the user selects the shooting lens data, the drone can be started for shooting. The above-mentioned first follow-up shooting position can be the shooting starting position in the first target shooting lens data. Specifically, establish a connection with the drone; control the drone to automatically fly to the starting position of the first shooting lens data and hover and wait. At the same time, control the drone to start real-time monitoring of the target vehicle to determine the real-time position of the target vehicle. When the drone detects that the target vehicle appears at the specified position (for example, the first position area on the site that needs to be followed), the drone is controlled to start shooting according to the first shooting lens data. Afterwards, when the shooting is completed according to the first shooting lens data, the drone will fly to the starting position indicated in the second shooting lens data to continue shooting, so as to complete the follow-up of the target vehicle. Among them, the order of the shooting lens data selected by the user can be set according to the driving direction of the target vehicle on the site.
[0073] From the user's perspective, after observing that the drone has arrived at the first tracking position, the user starts the target vehicle and drives along the field, such as running laps along the track. While the user is driving the target vehicle, the drone will automatically adjust the position, height, and lens direction according to the shooting lens data selected by the user to achieve tracking shooting of the user's driving process. If the drone does not detect the target vehicle in the lens for a long time, the shooting will automatically end and the drone will automatically fly back to the first tracking position.
[0074] In this embodiment, by controlling the drone to shoot the target vehicle at different tracking positions according to the target shooting lens data, the target vehicle can be actively and efficiently tracked and shot, thereby improving the efficiency of vehicle shooting.
[0075] In addition, in one embodiment, the above-mentioned drone control method may further include:
[0076] After completing the shooting based on the target shooting lens data, the shooting clip data collected by the drone is synthesized to generate complete shooting video data.
[0077] A filming button may be associated with the filming software of the vehicle-mounted system. When the drone completes filming, the user may click the filming button to execute the filming operation. The filming software responds to the user's filming operation and synthesizes all the filming segment data collected based on the target filming lens data to form a complete filming video of the site. The filming segment data is the data shot based on the target filming lens data.
[0078] Therefore, this embodiment can directly synthesize the shooting clip data collected by the drone on the software side, and output complete and usable shooting video data to the user, without the need for the user to synthesize the shooting data by themselves, thereby improving the convenience and efficiency of the entire shooting process.
[0079] Figure 3 is a flow chart of a drone control method in some embodiments, which is applied to vehicle tracking in a track scene, such as Figure 3 As shown, the drone control method includes the following steps:
[0080] Step S301, outputting a variety of shooting lens data to the user; wherein, a variety of shooting lens data can be generated in advance for the track, and a plurality of shooting modes can be obtained by combining the plurality of shooting lens data. For example, the shooting lens data 1, shooting lens data 2, and shooting lens data 3 are combined into shooting mode A, and the shooting lens data 4, shooting lens data 5, and shooting lens data 6 are combined into shooting mode B. Afterwards, shooting mode A and shooting mode B are output to the user as recommended shooting modes for the user to choose. In addition, the user can also select a number of shooting lens data from the plurality of shooting lens data to form a custom shooting mode C, for example, the user selects shooting lens data 1, shooting lens data 5, and shooting lens data 6 to form a new shooting mode C. Each shooting mode contains a plurality of shooting lens data.
[0081] Step S302, obtaining the shooting mode selected by the user. The user can select a desired shooting mode from a plurality of preloaded shooting modes, in which a plurality of shooting lens data can be selected; in addition, the user can combine a plurality of shooting lens data to form a new shooting mode.
[0082] Step S303, in response to the user's operation of starting the drone to shoot, the drone is controlled to start shooting through communication with the drone.
[0083] Step S304: When the user drives the vehicle around the track, the drone is controlled to automatically follow the vehicle driven by the user according to the shooting mode selected by the user.
[0084] Step S305: after the shooting is completed, the data of each shooting segment is synthesized to generate complete shooting video data of the track and send it to the user.
[0085] The above steps S301 to S305 can apply drone photography to vehicle tracking photography, and control the drone according to pre-set shooting lens data to achieve active tracking photography of the vehicle's movement process, thereby improving shooting freedom and shooting efficiency.
[0086] Figure 4 is a flow chart of a method for collecting shooting lens data provided by some embodiments, such as Figure 4 As shown, the method for collecting shooting lens data includes the following steps:
[0087] Step S401, adjusting the drone to the starting position before data collection.
[0088] Step S402, continuously controlling the drone along the direction of the track, adjusting the shooting position, shooting height and lens direction, so as to achieve shooting of the planned track location area.
[0089] Step S403, recording the position, altitude and lens direction of the drone once every preset time period; the preset time period can be set according to the needs of the actual application scenario, for example, 1 second, or other time periods; this embodiment does not specifically limit this.
[0090] Step S404, determine whether the current shooting is finished; if so, execute step S405; otherwise, return to execute step S402.
[0091] Step S405, stop shooting.
[0092] Step S406, storing the drone's shooting start position, shooting end position, shooting duration, lens process parameters and other data as a type of shooting lens data corresponding to the current position area, and generating a unique identifier.
[0093] In the above steps S401 to S406, the best shooting path and camera position are accurately planned in advance according to the data of the track site, so that the shooting speed can be improved.
[0094] Figure 5 is a flowchart of a method for selecting shooting lens data at a user end in some of the embodiments, such as Figure 5 As shown, the shooting lens data selection method includes the following steps:
[0095] Step S501, determining whether the target vehicle is traveling in a clockwise or counterclockwise direction on the track;
[0096] Step S502, selecting corresponding shooting lens data from a plurality of shooting lens data according to the driving direction;
[0097] Step S503, calculating the average flight time of the drone from the shooting end position of the last successfully selected shooting shot data to the shooting start position of the currently selected shooting shot data according to the shooting shot data selected in step S502;
[0098] Step S504, calculating the average driving time of the target vehicle between the position areas corresponding to the two shooting lens data;
[0099] Step S505, determining whether the average flight time is less than the average driving time; if so, executing step S506; otherwise, executing step S507;
[0100] Step S506, confirming that the shooting lens data selection is successful, and adding it as the selected shooting lens data for subsequent shooting; executing step S508;
[0101] Step S507, confirming that the shooting lens data selection fails; executing step S508;
[0102] Step S508, determine whether it is necessary to continue adding shooting lens data; if so, return to step S502; otherwise, end the process.
[0103] The above steps S501 to S508 constrain the process of the user selecting the shooting lens data according to the information such as the running direction of the track, so as to ensure the availability of the selected shooting lens data in the subsequent shooting process, thereby further improving the shooting efficiency.
[0104] In this embodiment, a drone control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. The terms "module", "unit", "subunit", etc. used below can implement a combination of software and / or hardware of predetermined functions. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0105] Figure 6 60 is a block diagram of the structure of the drone control device 60 of this embodiment. Figure 6 As shown, the drone control device 60 includes: a data loading module 62 and a control module 64; wherein:
[0106] The data loading module 62 is used to respond to the shooting request received from the target vehicle and output a plurality of pre-generated shooting lens data corresponding to the site where the target vehicle is located; each shooting lens data includes multi-dimensional drone movement shooting parameters; different shooting lens data correspond to different location areas in the site; the control module 64 is used to respond to the user's selection operation for the plurality of shooting lens data and control the drone to perform flight shooting according to the selected target shooting lens data.
[0107] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0108] In this embodiment, a vehicle-mounted system is also provided, the vehicle-mounted system includes the drone control device provided in the above embodiment, and the vehicle-mounted system is connected to the drone for communication. Specifically, the drone control device can be implemented by an application, which is installed in the vehicle-mounted system, and the user can start the application by operating the vehicle-mounted system.
[0109] In this embodiment, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0110] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0111] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0112] S1, in response to a shooting request received from a target vehicle, outputting a plurality of pre-generated shooting lens data corresponding to the site where the target vehicle is located; each shooting lens data includes a multi-dimensional drone mobile shooting parameter; different shooting lens data correspond to different location areas in the site;
[0113] S2, in response to the user's selection operation for a plurality of shooting lens data, controlling the drone to perform flight shooting according to the selected target shooting lens data.
[0114] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.
[0115] In addition, in combination with the drone control method provided in the above embodiments, a storage medium may be provided in this embodiment to implement the method. The storage medium stores a computer program; when the computer program is executed by a processor, any drone control method in the above embodiments is implemented.
[0116] It should be understood that the specific embodiments described herein are only used to explain the application, rather than to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of this application.
[0117] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0118] Obviously, the drawings are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that although the work done in this development process may be complicated and lengthy, for ordinary technicians in the field, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application.
[0119] The term "embodiment" in this application refers to a specific feature, structure or characteristic described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various locations in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is clearly or implicitly understood by those of ordinary skill in the art that the embodiments described in this application can be combined with other embodiments without conflict.
[0120] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.
Claims
1. A method for controlling a drone, It is characterized in that include: In response to a shooting request received from a target vehicle, a plurality of pre-generated shooting lens data corresponding to the site where the target vehicle is located is output; each of the shooting lens data includes multi-dimensional drone mobile shooting parameters; different shooting lens data correspond to different location areas in the site; In response to the user's selection operation on the multiple shooting lens data, the drone is controlled to perform flight shooting according to the selected target shooting lens data.
2. The drone control method according to claim 1, It is characterized in that Before outputting the pre-generated multiple shooting lens data corresponding to the site where the target vehicle is located in response to the shooting request received from the target vehicle, the method further includes: In the process of controlling the drone to perform pre-shooting on the site, shooting lens data for the site is generated based on the shooting control operation of the drone.
3. The drone control method according to claim 2, It is characterized in that In the process of controlling the drone to perform pre-shooting on the site, based on the shooting control operation of the drone, generating shooting lens data for the site, including: During the process of controlling the drone to perform pre-shooting on the site, periodically recording the current state information of the drone under the shooting control operation until it is determined that the shooting of the current shot is finished; When it is determined that the current shot shooting is finished, the shooting shot data is generated according to the collected state information.
4. The drone control method according to any one of claims 1 to 3, It is characterized in that The shooting lens data at least includes: shooting start position, shooting end position, shooting duration, drone position point, drone height and lens direction.
5. The drone control method according to claim 1, It is characterized in that In response to the user's selection operation of the multiple shooting lens data, controlling the drone to perform flight shooting according to the selected target shooting lens data includes: In response to the user's selection operation of the multiple shooting lens data, the drone is controlled to fly to the first tracking position according to the selected target shooting lens data and hover and wait until the drone detects that the target vehicle appears at the preset position of the venue. Based on the target shooting lens data, the drone is controlled to shoot the target vehicle at different tracking positions in turn.
6. The drone control method according to claim 1, It is characterized in that The method further comprises: After completing the shooting based on the target shooting lens data, the shooting segment data collected by the drone is synthesized to generate complete shooting video data.
7. A drone control device, It is characterized in that include: Data loading module and control module; wherein: The data loading module is used to respond to a shooting request received from a target vehicle and output a plurality of pre-generated shooting lens data corresponding to the site where the target vehicle is located; each of the shooting lens data includes multi-dimensional drone mobile shooting parameters; different shooting lens data correspond to different location areas in the site; The control module is used to control the drone to perform flight shooting according to the selected target shooting lens data in response to the user's selection operation on the multiple shooting lens data.
8. A vehicle-mounted system, It is characterized in that Including the drone control device as described in claim 7, the vehicle-mounted system is communicatively connected with the drone.
9. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to run the computer program to execute the drone control method according to any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the drone control method according to any one of claims 1 to 6 are implemented.
