Disclosure of Invention
In view of the above, the invention provides an unmanned aerial vehicle control method and a vehicle-mounted terminal, and aims to realize simple, convenient and intelligent control of an unmanned aerial vehicle according to the requirements of users and increase the control distance of the unmanned aerial vehicle.
The invention is realized by the following steps:
the invention provides an unmanned aerial vehicle control method, which comprises the following steps: and establishing wireless connection with the unmanned aerial vehicle through a wireless communication technology, wherein the wireless communication technology comprises a first communication technology and a second communication technology. Receiving a selected instruction aiming at the working mode of the unmanned aerial vehicle so as to select the working mode of the unmanned aerial vehicle, wherein the working mode comprises a landscape shooting mode, an article transfer mode, a vehicle supervision mode and an advertisement delivery mode. The unmanned aerial vehicle control information corresponding to the working mode is acquired, the communication distance between the unmanned aerial vehicle and the unmanned aerial vehicle is acquired in real time, and the unmanned aerial vehicle control information comprises at least one item of flying height control information, flying speed control information, flying direction control information and throwing article operation control information. And if the acquired communication distance accords with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through a first communication technology so as to control the unmanned aerial vehicle correspondingly. And if the acquired communication distance does not accord with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through a second communication technology so as to control the unmanned aerial vehicle correspondingly.
Further, the first communication technology is a WiFi communication technology. If the communication distance who acquires accords with when predetermineeing communication distance, send the control command that corresponds with unmanned aerial vehicle control information to unmanned aerial vehicle through first communication technology to in the step of carrying out corresponding control to unmanned aerial vehicle, include: and receiving the image information sent by the unmanned aerial vehicle in real time through a first communication technology. And displaying the image information.
Further, the working mode of the selected unmanned aerial vehicle is an article transfer mode. In sending the control command that corresponds with unmanned aerial vehicle control information to unmanned aerial vehicle through first communication technology to in the step of carrying out corresponding control to unmanned aerial vehicle, or in sending the control command that corresponds with unmanned aerial vehicle control information to unmanned aerial vehicle through second communication technology, in the step of carrying out corresponding control to unmanned aerial vehicle, include: and sending a flying height control command and a flying direction control command corresponding to the unmanned aerial vehicle control information to the unmanned aerial vehicle so as to control the flying height and the flying direction of the unmanned aerial vehicle. The method comprises the steps of obtaining an image which is sent by the unmanned aerial vehicle and comprises license plate information, controlling the unmanned aerial vehicle to reach the position of a vehicle corresponding to the license plate information when the obtained license plate information is matched with preset license plate information corresponding to an article transfer mode, and controlling the unmanned aerial vehicle to carry out article releasing operation.
Further, be applied to vehicle-mounted terminal, the mode of selecting unmanned aerial vehicle is the vehicle supervision mode. In sending the control command that corresponds with unmanned aerial vehicle control information to unmanned aerial vehicle through first communication technology to in the step of carrying out corresponding control to unmanned aerial vehicle, or in sending the control command that corresponds with unmanned aerial vehicle control information to unmanned aerial vehicle through second communication technology, in the step of carrying out corresponding control to unmanned aerial vehicle, include: and acquiring and sending a corresponding control command to the unmanned aerial vehicle according to the acquired unmanned aerial vehicle control information corresponding to the vehicle supervision mode and the vehicle position information so as to control the unmanned aerial vehicle to fly along with the vehicle. And acquiring a driving rule of the current road section, wherein the driving rule comprises vehicle speed limit information. The method comprises the steps of receiving vehicle running image information sent by an unmanned aerial vehicle, generating and sending reporting information to a reporting end when detecting that running data of an adjacent vehicle in the vehicle running image information is not matched with a running rule, wherein the reporting information comprises the vehicle running image information and license plate information of the adjacent vehicle.
Further, when receiving the vehicle driving image information sent by the unmanned aerial vehicle and detecting that the driving data of the nearby vehicle in the vehicle driving image information is not matched with the driving rule, the step of generating and sending the report information to the report end includes: and generating and sending violation reminding information including the license plate information to a vehicle monitoring server so that the vehicle monitoring server sends the violation reminding information to an information receiving terminal associated with the license plate information.
Further, the working mode of the unmanned aerial vehicle is selected to be a landscape shooting mode. In sending the control command that corresponds with unmanned aerial vehicle control information to unmanned aerial vehicle through first communication technology to in the step of carrying out corresponding control to unmanned aerial vehicle, or in sending the control command that corresponds with unmanned aerial vehicle control information to unmanned aerial vehicle through second communication technology, in the step of carrying out corresponding control to unmanned aerial vehicle, include: input flight destination information corresponding to the landscape shooting mode is received. And acquiring and sending an unmanned aerial vehicle control command corresponding to the flight destination information to the unmanned aerial vehicle so as to control the unmanned aerial vehicle to fly to the destination and fly within a preset range of the destination. Receiving and displaying the landscape image information sent by the unmanned aerial vehicle.
Further, after the step of receiving and displaying the landscape image information sent by the unmanned aerial vehicle, the method comprises the following steps: and receiving a sight spot selection instruction aiming at the sight spot image information, and generating sight spot locking control information according to the sight spot selection instruction so as to control the unmanned aerial vehicle to lock the photographed sight spot and adjust the flight angle.
Further, the working mode of the unmanned aerial vehicle is selected to be an advertisement delivery mode. Send the control command that corresponds with unmanned aerial vehicle control information to unmanned aerial vehicle through first communication technology to in the step of carrying out corresponding control to unmanned aerial vehicle, or send the control command that corresponds with unmanned aerial vehicle control information to unmanned aerial vehicle through second communication technology, in the step of carrying out corresponding control to unmanned aerial vehicle, include: and controlling the unmanned aerial vehicle to start the Bluetooth low energy function. And sending a flying height control command and a flying direction control command corresponding to the unmanned aerial vehicle control information to the unmanned aerial vehicle so as to control the flying height and the flying direction of the unmanned aerial vehicle, and enabling the unmanned aerial vehicle to establish a Bluetooth low energy connection with a vehicle-mounted terminal within a preset range. And receiving advertisement receiving address information of the vehicle-mounted terminal, which is acquired and sent by the unmanned aerial vehicle, wherein the advertisement receiving address information comprises address information of an advertisement receiving server and service identification information of the vehicle-mounted terminal. And sending the advertisement delivery request to an advertisement receiving server corresponding to the address information of the advertisement receiving server, so that the advertisement receiving server sends the advertisement data corresponding to the advertisement delivery request to the vehicle-mounted terminal corresponding to the service identification information, wherein the advertisement delivery request comprises the service identification information. And receiving delivery success prompt information fed back by the advertisement receiving server.
The invention also provides an unmanned aerial vehicle control method, which comprises the following steps: the vehicle-mounted terminal establishes wireless connection with the unmanned aerial vehicle through a wireless communication technology, wherein the wireless communication technology comprises a first communication technology and a second communication technology. The vehicle-mounted terminal receives a selection instruction aiming at the working mode of the unmanned aerial vehicle so as to select the working mode of the unmanned aerial vehicle, wherein the working mode comprises a landscape shooting mode, an article transfer mode, a vehicle supervision mode and an advertisement delivery mode. The vehicle-mounted terminal acquires unmanned aerial vehicle control information corresponding to the working mode and acquires communication distance between the vehicle-mounted terminal and the unmanned aerial vehicle in real time, wherein the unmanned aerial vehicle control information comprises at least one item of flying height control information, flying speed control information, flying direction control information and article throwing operation control information. And if the communication distance acquired by the vehicle-mounted terminal accords with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through a first communication technology. And if the communication distance acquired by the vehicle-mounted terminal does not accord with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through a second communication technology. And the unmanned aerial vehicle carries out corresponding operation according to the received control command.
The invention also provides a vehicle-mounted terminal which comprises a memory and a processor. The processor is for executing a computer program stored in the memory to implement the steps of the drone control method as described above.
The invention provides an unmanned aerial vehicle control method and a vehicle-mounted terminal, wherein the unmanned aerial vehicle control method comprises the following steps: and establishing wireless connection with the unmanned aerial vehicle through a wireless communication technology, wherein the wireless communication technology comprises a first communication technology and a second communication technology. Receiving a selected instruction aiming at the working mode of the unmanned aerial vehicle so as to select the working mode of the unmanned aerial vehicle, wherein the working mode comprises a landscape shooting mode, an article transfer mode, a vehicle supervision mode and an advertisement delivery mode. The unmanned aerial vehicle control information corresponding to the working mode is acquired, the communication distance between the unmanned aerial vehicle and the unmanned aerial vehicle is acquired in real time, and the unmanned aerial vehicle control information comprises at least one item of flying height control information, flying speed control information, flying direction control information and throwing article operation control information. And if the acquired communication distance accords with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through a first communication technology so as to control the unmanned aerial vehicle correspondingly. And if the acquired communication distance does not accord with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through a second communication technology so as to control the unmanned aerial vehicle correspondingly. Therefore, after the unmanned aerial vehicle control method provided by the invention is in wireless connection with the unmanned aerial vehicle, the working mode of the unmanned aerial vehicle can be selected, the unmanned aerial vehicle control information corresponding to the selected working mode is controlled, and different wireless communication technologies are selected to communicate with the unmanned aerial vehicle according to the communication distance of the unmanned aerial vehicle, so that the unmanned aerial vehicle is automatically controlled intelligently, the unmanned aerial vehicle can be controlled in real time without manual operation, and the control distance of the unmanned aerial vehicle can be increased. Therefore, the unmanned aerial vehicle control system can simply, conveniently and intelligently control the unmanned aerial vehicle according to the requirements of users, and increase the control distance of the unmanned aerial vehicle.
In order to make the aforementioned and other objects, features and advantages of the invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The first embodiment:
fig. 1 is a schematic flow chart of a method for controlling an unmanned aerial vehicle according to a first embodiment of the present invention. For a clear description of the method for controlling an unmanned aerial vehicle according to the first embodiment of the present invention, please refer to fig. 1.
The unmanned aerial vehicle control method provided by the first embodiment of the invention comprises the following steps:
and S11, establishing wireless connection with the unmanned aerial vehicle through wireless communication technology, wherein the wireless communication technology comprises a first communication technology and a second communication technology.
In one embodiment, the communication distance of the first communication technology is shorter than the communication distance of the second communication technology.
In one embodiment, the first communication technology includes, but is not limited to, WiFi communication technology, bluetooth communication technology, and the like. The second communication technology includes, but is not limited to, Zigbee communication technology, server communication technology (e.g., 4G communication, 5G communication, C & C communication technology, etc.), and the like. The frequency band used by the Zigbee communication technology may be 433MHz, and since the 433MHz frequency band is an open frequency band, the Zigbee communication technology has the advantages of long wavelength and strong penetration capability, and the communication distance is long (up to five kilometers or more). Therefore, the unmanned aerial vehicle can be controlled to fly to a place other than five kilometers to shoot the scenery as much as possible. In addition, the Zigbee communication technology has the characteristics of low power consumption, low cost, short time delay, and simple protocol.
And S12, receiving a selection instruction aiming at the working mode of the unmanned aerial vehicle so as to select the working mode of the unmanned aerial vehicle, wherein the working mode comprises a landscape shooting mode, an article transfer mode, a vehicle supervision mode and an advertisement delivery mode.
In one embodiment, it should be understood that the modes of operation of the drone include, but are not limited to, landscape capture mode, item delivery mode, vehicle surveillance mode, ad delivery mode, and the like.
And S13, acquiring unmanned aerial vehicle control information corresponding to the working mode, acquiring the communication distance between the unmanned aerial vehicle and the unmanned aerial vehicle in real time, and judging whether the acquired communication distance accords with a preset communication distance.
Wherein, unmanned aerial vehicle control information includes at least one item in flying height control information, flying speed control information, flight direction control information, the operation control information of putting in goods. It should be understood that the drone control information includes, but is not limited to, including, fly-height control information, fly-speed control information, flight-direction control information, and drop-item operational control information.
In an embodiment, the drone control information corresponding to the working mode may be preset by a user, or may be automatically set by the system.
In an embodiment, the communication distance may be obtained according to a positioning signal sent by the drone, or may be obtained by performing corresponding calculation according to the communication signal.
And S14, if the acquired communication distance accords with the preset communication distance, sending a control command corresponding to the unmanned aerial vehicle control information to the unmanned aerial vehicle through the first communication technology so as to correspondingly control the unmanned aerial vehicle.
In one embodiment, the first communication technology is a WiFi communication technology, and in step S14, if the obtained communication distance matches a preset communication distance, the step of sending a control command corresponding to the drone control information to the drone through the first communication technology to perform corresponding control on the drone includes: and receiving the image information sent by the unmanned aerial vehicle in real time through a first communication technology. And displaying the image information. Specifically, because the bandwidth of wiFi communication technology is high, data transmission is fast, consequently can realize controlling unmanned aerial vehicle through wiFi communication technology in certain communication distance to acquire the image that unmanned aerial vehicle shot in real time through wiFi communication technology.
And S15, if the acquired communication distance does not accord with the preset communication distance, sending a control command corresponding to the unmanned aerial vehicle control information to the unmanned aerial vehicle through a second communication technology so as to correspondingly control the unmanned aerial vehicle.
In an embodiment, the second communication technology may be a Zigbee communication technology, and the control command of the drone is transmitted by establishing a wireless connection with the drone through the Zigbee communication technology. In addition, when the acquired communication distance does not accord with the preset communication distance, wireless connection is established with the unmanned aerial vehicle through a server communication technology (such as a 4G communication technology) so as to acquire various information (such as image information and the like) acquired by the unmanned aerial vehicle.
In one embodiment, the selected mode of operation of the drone is an item transfer mode. In the step S14, if the obtained communication distance is not in accordance with the preset communication distance, the control command corresponding to the control information of the drone is sent to the drone through the first communication technology to perform corresponding control on the drone, or in the step S15, if the obtained communication distance is not in accordance with the preset communication distance, the control command corresponding to the control information of the drone is sent to the drone through the second communication technology to perform corresponding control on the drone, which may include, but is not limited to: and sending a flying height control command and a flying direction control command corresponding to the unmanned aerial vehicle control information to the unmanned aerial vehicle so as to control the flying height and the flying direction of the unmanned aerial vehicle. The method comprises the steps of obtaining an image which is sent by the unmanned aerial vehicle and comprises license plate information, controlling the unmanned aerial vehicle to reach the position of a vehicle corresponding to the license plate information when the obtained license plate information is matched with preset license plate information corresponding to an article transfer mode, and controlling the unmanned aerial vehicle to carry out article releasing operation. Specifically, when the vehicle corresponding to the license plate information runs, the flying speed of the unmanned aerial vehicle keeps consistent with the running speed of the vehicle after the unmanned aerial vehicle reaches the position of the vehicle.
Wherein, unmanned aerial vehicle can acquire the height of this vehicle according to self camera and/or ultrasonic sensing device to the flying height when putting in according to the high automatic adjustment article of vehicle.
In an embodiment, the unmanned aerial vehicle control method provided by this embodiment is applied to a vehicle-mounted terminal, and the working mode of the selected unmanned aerial vehicle is a vehicle supervision mode. In one embodiment, the selected mode of operation of the drone is an item transfer mode. In the step S14, if the obtained communication distance is not in accordance with the preset communication distance, the control command corresponding to the control information of the drone is sent to the drone through the first communication technology to perform corresponding control on the drone, or in the step S15, if the obtained communication distance is not in accordance with the preset communication distance, the control command corresponding to the control information of the drone is sent to the drone through the second communication technology to perform corresponding control on the drone, which may include, but is not limited to: and acquiring and sending a corresponding control command to the unmanned aerial vehicle according to the acquired unmanned aerial vehicle control information corresponding to the vehicle supervision mode and the vehicle position information so as to control the unmanned aerial vehicle to fly along with the vehicle. And acquiring a driving rule of the current road section, wherein the driving rule comprises vehicle speed limit information. The method comprises the steps of receiving vehicle running image information sent by an unmanned aerial vehicle, generating and sending reporting information to a reporting end when detecting that running data of an adjacent vehicle in the vehicle running image information is not matched with a running rule, wherein the reporting information comprises the vehicle running image information and license plate information of the adjacent vehicle.
Specifically, the flying height, flying speed, flying direction and the like of the unmanned aerial vehicle can be controlled according to the position information of the vehicle, so that the unmanned aerial vehicle can be controlled to fly along with the vehicle. Specifically, the reporting terminal may be, but is not limited to, a reporting terminal, a reporting server, and the like. The driving rules may also include, for example, emergency lane occupancy information, lane change information, and the like. In the case where the traveling data of the nearby vehicle does not match the traveling rule, for example, the traveling speed in the traveling data of the nearby vehicle is 90km/h, exceeding the vehicle speed limit information (the highest speed limit is 80km/h) of the traveling rule. Therefore, the unmanned aerial vehicle control method provided by the embodiment can also detect the driving data of the nearby vehicle, so that whether the nearby vehicle which drives in an illegal way or the nearby vehicle which can affect the safe driving of the vehicle exists can be judged in advance, and the condition of the nearby vehicle is sent to the reporting end, so that the illegal driving behaviors of other vehicles can be reported, or the evidence can be stored or the following responsibility can be traced after a traffic accident happens.
In an embodiment, when the vehicle driving image information sent by the unmanned aerial vehicle is received and it is detected that the driving data of the nearby vehicle in the vehicle driving image information does not match the driving rule, the step of generating and sending the report information to the report end may include, but is not limited to: and generating and sending violation reminding information including the license plate information to a vehicle monitoring server so that the vehicle monitoring server sends the violation reminding information to an information receiving terminal associated with the license plate information. Therefore, the unmanned aerial vehicle control method provided by the embodiment of the invention can send violation reminding information to the information receiving terminal of the adjacent vehicle when the adjacent vehicle is in violation driving, so that the owner of the adjacent vehicle can correct the violation driving behavior of the owner in time.
In one embodiment, the selected mode of operation of the drone is a landscape capture mode. In the step S14, if the obtained communication distance is not in accordance with the preset communication distance, the control command corresponding to the control information of the drone is sent to the drone through the first communication technology to perform corresponding control on the drone, or in the step S15, if the obtained communication distance is not in accordance with the preset communication distance, the control command corresponding to the control information of the drone is sent to the drone through the second communication technology to perform corresponding control on the drone, which may include, but is not limited to: input flight destination information corresponding to the landscape shooting mode is received. And acquiring and sending an unmanned aerial vehicle control command corresponding to the flight destination information to the unmanned aerial vehicle so as to control the unmanned aerial vehicle to fly to the destination and fly within a preset range of the destination. Receiving and displaying the landscape image information sent by the unmanned aerial vehicle.
The unmanned aerial vehicle control information may be acquired according to the flight destination information and the positioning information of the unmanned aerial vehicle, or may be input by a user, for example, the user inputs the unmanned aerial vehicle control information according to the image information sent by the unmanned aerial vehicle. The flight destination information may be automatically acquired according to image information sent by the unmanned aerial vehicle.
In an embodiment, the unmanned aerial vehicle may perform a storage operation on the acquired landscape image information, for example, store the acquired landscape image information in a storage module of the unmanned aerial vehicle, or send the acquired landscape image information to the cloud for storage.
In one embodiment, after the step of receiving and displaying the landscape image information sent by the unmanned aerial vehicle, the method comprises the following steps: and receiving a sight spot selection instruction aiming at the sight spot image information, and generating sight spot locking control information according to the sight spot selection instruction so as to control the unmanned aerial vehicle to lock the photographed sight spot and adjust the flight angle. The sight spot locking control information comprises direction information of the sight spot and image information of the sight spot. Specifically, unmanned aerial vehicle can be according to the direction information control self flight direction of sight spot and the shooting direction of self camera, and when acquireing the scenery image information who matches with the image information of this sight spot, the sight spot of locking shooting to the flight angle of adjustment self is with shooting this sight spot from different angles.
In one embodiment, the selected mode of operation of the drone is an ad delivery mode. In the step S14, if the obtained communication distance is not in accordance with the preset communication distance, the control command corresponding to the control information of the drone is sent to the drone through the first communication technology to perform corresponding control on the drone, or in the step S15, if the obtained communication distance is not in accordance with the preset communication distance, the control command corresponding to the control information of the drone is sent to the drone through the second communication technology to perform corresponding control on the drone, which may include, but is not limited to: and controlling the unmanned aerial vehicle to start the Bluetooth low energy function. And sending a flying height control command and a flying direction control command corresponding to the unmanned aerial vehicle control information to the unmanned aerial vehicle so as to control the flying height and the flying direction of the unmanned aerial vehicle, and enabling the unmanned aerial vehicle to establish a Bluetooth low energy connection with a vehicle-mounted terminal within a preset range. And receiving advertisement receiving address information of the vehicle-mounted terminal, which is acquired and sent by the unmanned aerial vehicle, wherein the advertisement receiving address information comprises address information of an advertisement receiving server and service identification information of the vehicle-mounted terminal. And sending the advertisement delivery request to an advertisement receiving server corresponding to the address information of the advertisement receiving server, so that the advertisement receiving server sends the advertisement data corresponding to the advertisement delivery request to the vehicle-mounted terminal corresponding to the service identification information, wherein the advertisement delivery request comprises the service identification information. And receiving delivery success prompt information fed back by the advertisement receiving server.
Specifically, after the unmanned aerial vehicle starts the bluetooth low energy function, the bluetooth low energy connection can be established with at least one vehicle-mounted terminal within a preset range.
In one embodiment, the advertisement data may be pre-stored in the advertisement receiving server or may be included in the advertisement delivery request.
In an embodiment, the unmanned aerial vehicle control method provided by this embodiment may be applied to, but is not limited to, a vehicle-mounted terminal and a mobile terminal. The vehicle-mounted terminal is, for example, a vehicle-mounted device, a vehicle-mounted computer, or the like. The mobile terminal is, for example, a mobile phone, a smart watch, a tablet computer, and the like.
The unmanned aerial vehicle control method provided by the first embodiment of the invention comprises the following steps: and establishing wireless connection with the unmanned aerial vehicle through a wireless communication technology, wherein the wireless communication technology comprises a first communication technology and a second communication technology. Receiving a selected instruction aiming at the working mode of the unmanned aerial vehicle so as to select the working mode of the unmanned aerial vehicle, wherein the working mode comprises a landscape shooting mode, an article transfer mode, a vehicle supervision mode and an advertisement delivery mode. The unmanned aerial vehicle control information corresponding to the working mode is acquired, the communication distance between the unmanned aerial vehicle and the unmanned aerial vehicle is acquired in real time, and the unmanned aerial vehicle control information comprises at least one item of flying height control information, flying speed control information, flying direction control information and throwing article operation control information. And if the acquired communication distance accords with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through a first communication technology so as to control the unmanned aerial vehicle correspondingly. And if the acquired communication distance does not accord with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through a second communication technology so as to control the unmanned aerial vehicle correspondingly. Therefore, after the unmanned aerial vehicle control method provided by the embodiment establishes wireless connection with the unmanned aerial vehicle, the working mode of the unmanned aerial vehicle can be selected, the control information of the unmanned aerial vehicle corresponding to the selected working mode is controlled, and meanwhile, different wireless communication technologies are selected to communicate with the unmanned aerial vehicle according to the communication distance of the unmanned aerial vehicle, so that the unmanned aerial vehicle is automatically controlled intelligently, the unmanned aerial vehicle can be controlled in real time without manual operation, and the control distance of the unmanned aerial vehicle can be increased. Therefore, this embodiment can realize according to user's demand, simple, convenient, intelligent controlling unmanned aerial vehicle to increase the control distance to unmanned aerial vehicle.
Second embodiment:
fig. 2 is a schematic flow chart of a method for controlling an unmanned aerial vehicle according to a second embodiment of the present invention. For a clear description of the drone control method provided by the second embodiment of the present invention, please refer to fig. 2.
The unmanned aerial vehicle control method provided by the second embodiment of the invention comprises the following steps:
and S21, establishing wireless connection between the vehicle-mounted terminal and the unmanned aerial vehicle through a wireless communication technology, wherein the wireless communication technology comprises a first communication technology and a second communication technology.
And S22, the vehicle-mounted terminal receives a selection instruction aiming at the working mode of the unmanned aerial vehicle so as to select the working mode of the unmanned aerial vehicle, wherein the working mode comprises a landscape shooting mode, an article transfer mode, a vehicle supervision mode and an advertisement delivery mode.
And S23, the vehicle-mounted terminal acquires the unmanned aerial vehicle control information corresponding to the working mode, acquires the communication distance between the vehicle-mounted terminal and the unmanned aerial vehicle in real time, and judges whether the acquired communication distance meets the preset communication distance.
Wherein, unmanned aerial vehicle control information includes at least one item in flying height control information, flying speed control information, flight direction control information, the operation control information of putting in goods.
And S24, if the communication distance acquired by the vehicle-mounted terminal accords with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through the first communication technology.
And S25, if the communication distance acquired by the vehicle-mounted terminal does not accord with the preset communication distance, sending a control command corresponding to the unmanned aerial vehicle control information to the unmanned aerial vehicle through a second communication technology.
And S26, the unmanned aerial vehicle performs corresponding operation according to the received control command.
In an embodiment, reference may be made to the first embodiment of the present invention for specific implementation and beneficial effects of the method for controlling an unmanned aerial vehicle provided in this embodiment, which will not be described herein again.
The unmanned aerial vehicle control method provided by the second embodiment of the invention comprises the following steps: the vehicle-mounted terminal establishes wireless connection with the unmanned aerial vehicle through a wireless communication technology, wherein the wireless communication technology comprises a first communication technology and a second communication technology. The vehicle-mounted terminal receives a selection instruction aiming at the working mode of the unmanned aerial vehicle so as to select the working mode of the unmanned aerial vehicle, wherein the working mode comprises a landscape shooting mode, an article transfer mode, a vehicle supervision mode and an advertisement delivery mode. The vehicle-mounted terminal acquires unmanned aerial vehicle control information corresponding to the working mode, acquires communication distance between the vehicle-mounted terminal and the unmanned aerial vehicle in real time, judges whether the acquired communication distance accords with preset communication distance, and the unmanned aerial vehicle control information comprises at least one item of flying height control information, flying speed control information, flying direction control information and throwing article operation control information. And if the communication distance acquired by the vehicle-mounted terminal accords with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through a first communication technology. And if the communication distance acquired by the vehicle-mounted terminal does not accord with the preset communication distance, sending a control command corresponding to the control information of the unmanned aerial vehicle to the unmanned aerial vehicle through a second communication technology. And the unmanned aerial vehicle carries out corresponding operation according to the received control instruction. Therefore, this embodiment can realize according to user's demand, simple, convenient, intelligent controlling unmanned aerial vehicle to increase the control distance to unmanned aerial vehicle.
The third embodiment:
fig. 3 is a schematic structural diagram of a vehicle-mounted terminal according to a third embodiment of the present invention. Fig. 4 is a schematic view of a connection structure between a vehicle-mounted terminal and an unmanned aerial vehicle according to a third embodiment of the present invention. For a clear description of the vehicle-mounted terminal provided by the third embodiment of the present invention, please refer to fig. 3 and fig. 4.
A vehicle-mountedterminal 1 according to a third embodiment of the present invention includes: a processor a101 and a memory a201, wherein the processor a101 is configured to execute the computer program a6 stored in the memory a201 to implement the steps of the drone control method as described in the first embodiment.
In an embodiment, the in-vehicle terminal 1 provided in this embodiment may include at least one processor a101 and at least one memory a 201. Wherein, at least one processor A101 may be referred to as a processing unit A1, and at least one memory A201 may be referred to as a memory unit A2. Specifically, the storage unit a2 stores a computer program a6, and when the computer program a6 is executed by the processing unit a1, the vehicle-mountedterminal 1 provided by the present embodiment implements the steps of the drone control method as described above, for example, step S12 shown in fig. 1, that is, receiving a selection instruction for an operation mode of the drone to select the operation mode of the drone, where the operation mode includes a landscape shooting mode, an article transfer mode, a vehicle supervision mode, and an advertisement delivery mode. For another example, in step S13 shown in fig. 1, the control information of the drone corresponding to the working mode is obtained, the communication distance with the drone is obtained in real time, and it is determined whether the obtained communication distance meets the preset communication distance.
In one embodiment, the in-vehicle terminal 1 provided in the present embodiment may include a plurality of memories a201 (referred to as a storage unit A2 for short), and the storage unit A2 may include, for example, a Random Access Memory (RAM) and/or a cache memory and/or a Read Only Memory (ROM), and the like. In one embodiment, the set of processing unit A1 and memory unit A2 may become the control unit.
In one embodiment, the in-vehicle terminal 1 further includes a bus connecting different components (e.g., the processor a101 and the memory a201, the touch display a3, and the like).
In one embodiment, the in-vehicle terminal 1 in this embodiment may further include a communication interface (e.g., I/O interface a4), which may be used for communication with an external device.
In an embodiment, the in-vehicle terminal 1 provided in this embodiment may further include a power supply (not shown in the figure), and a communication device a 5. Wherein the communication device a5 may include at least one of a Zigbee module, WiFi module, bluetooth module, 4G communication module, but it should be understood that the communication module a5 includes but is not limited to including a Zigbee module, WiFi module, bluetooth module, 4G communication module, etc.
Referring to fig. 4, specifically, the communication device a5 of the in-vehicle terminal 1 provided in the present embodiment establishes a wireless communication connection with the communication device B1 of thedrone 2. The unmannedaerial vehicle 1 may further include a power supply B2, a flight control unit B3, a storage unit B4, a driving motor B5, a barometer B6, an electronic compass B7, an inertial measurement unit B8, a positioning device B9, a camera device B10, and the like. Among them, the storage unit B4 may be used to store various image information acquired by the camera B10 of the drone.
The vehicle-mountedterminal 1 provided by the third embodiment of the present invention includes a memory a101 and a processor a201, and the processor a101 is configured to execute the computer program a6 stored in the memory a201 to implement the steps of the unmanned aerial vehicle control method described in the first embodiment, so that the vehicle-mountedterminal 1 provided by this embodiment can implement simple, convenient, and intelligent control of the unmanned aerial vehicle according to the needs of the user, and increase the control distance of the unmanned aerial vehicle.
The third embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program a6, and when being executed by the processor a101, the computer program a6 implements the steps of the drone control method according to the first embodiment, for example, the steps shown in fig. 1 are S11 to S15.
In an embodiment, the computer readable storage medium provided by the embodiment may include any entity or device capable of carrying computer program code, a recording medium, such as ROM, RAM, magnetic disk, optical disk, flash memory, and the like.
When the processor a101 executes the computer program a6 stored in the computer-readable storage medium provided by the third embodiment of the present invention, it is possible to easily, conveniently and intelligently control the drone according to the user's needs, and increase the control distance to the drone.
The present invention is not limited to the above preferred embodiments, and any modification, equivalent replacement or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.