Disclosure of Invention
The invention mainly aims to provide an unmanned aerial vehicle battery identification method and system, an unmanned aerial vehicle and an intelligent battery device.
In order to achieve the above object, an embodiment of the present invention provides an unmanned aerial vehicle battery identification method, including:
the unmanned aerial vehicle sends a request instruction to the intelligent battery device;
the unmanned aerial vehicle receives an identification activation code generated by the intelligent battery device according to the request instruction;
the unmanned aerial vehicle identifies the intelligent battery device according to the identification activation code.
Optionally, in an embodiment of the present invention, the method further includes: when the intelligent battery device is identified to be an illegal intelligent battery by the unmanned aerial vehicle according to the identification activation code, the unmanned aerial vehicle does not respond to an external control instruction.
Optionally, in an embodiment of the present invention, before the step of sending, by the drone, a request instruction to the smart battery device, the method further includes:
and the unmanned aerial vehicle responds to an external trigger command to send the request instruction.
In order to achieve the above object, a further embodiment of the present invention provides an unmanned aerial vehicle battery identification method, including:
the intelligent battery device receives a request instruction sent by the unmanned aerial vehicle;
the intelligent battery device generates an identification activation code according to the request instruction;
the intelligent battery device transmits the identification activation code to the unmanned aerial vehicle.
In order to achieve the above object, a further embodiment of the present invention provides an unmanned aerial vehicle, including:
the first sending unit is used for sending a request instruction to the intelligent battery device;
the first receiving unit is used for receiving an identification activation code generated by the intelligent battery device according to the request instruction;
and the identification unit is used for identifying the intelligent battery device according to the identification activation code.
Optionally, in an embodiment of the present invention, the method further includes:
and the control unit is used for controlling the unmanned aerial vehicle not to respond to an external control instruction when the intelligent battery device is identified to be an illegal intelligent battery according to the identification activation code.
Optionally, in an embodiment of the present invention, the method further includes
And the trigger unit is used for responding to an external trigger command and sending the request instruction.
In order to achieve the above object, a further embodiment of the present invention provides an intelligent battery device, including:
the second receiving unit is used for receiving a request instruction sent by the unmanned aerial vehicle;
the activation code generating unit is used for generating an activation code according to the request instruction;
a second sending unit, configured to transmit the activation code to the drone.
Optionally, in an embodiment of the present invention, the smart battery device further includes a pre-discharge circuit; the pre-discharge circuit includes: the method comprises the steps of identifying a power supply, a first switch, a second switch and a feedback controller;
the identification power supply is used for responding to an external trigger instruction to provide electric energy required by the identification battery for the unmanned aerial vehicle;
an output port of the identification power supply is connected with one end of the first switch, and the other end of the first switch is connected with a power supply input port of the unmanned aerial vehicle;
an output port of an intelligent battery of the intelligent battery device is connected with one end of the second switch, and the other end of the second switch is connected with a power supply input port of the unmanned aerial vehicle;
the feedback controller is used for controlling the switching states of the first switch and the second switch; if the identification result is an illegal intelligent battery, controlling the first switch to be in a closed state and the second switch to be in an open state; and if the identification result is a legal intelligent battery, controlling the first switch to be in an open state and the second switch to be in a closed state.
In order to achieve the above object, a further embodiment of the present invention provides an unmanned aerial vehicle battery identification system, including: an unmanned aerial vehicle and an intelligent battery device; wherein,
the unmanned aerial vehicle sends a request instruction to the intelligent battery device;
the intelligent battery device generates response information according to the request instruction, generates an identification activation code by utilizing the response information and sends the identification activation code to the unmanned aerial vehicle;
and the unmanned aerial vehicle identifies the intelligent battery device according to the identification activation code.
The technical scheme has the following beneficial effects:
unmanned aerial vehicle sends the request instruction to intelligent battery device and obtains the activation identification code, judges whether intelligent battery is the intelligent battery device that legal authority firm generated according to the activation identification code, in case the discernment is illegal intelligent battery, then this battery can't provide the electric energy for unmanned aerial vehicle or unmanned aerial vehicle does not respond external control, can avoid illegal intelligent battery to bring the unnecessary loss like this.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 working principle of the technical scheme is as follows: the invention provides a technical scheme about unmanned aerial vehicle battery identification. Because intelligent battery is before the discernment matches, unmanned aerial vehicle does not know whether this battery is the part that the manufacturer of legal authorization provided, and under this kind of condition, unmanned aerial vehicle can't directly utilize the electric energy driving motor work that intelligent battery provided. And obtaining the identification activation code from the intelligent battery terminal, and identifying the intelligent battery by using the identification activation code. If the intelligent battery who discerns is illegal intelligent battery, then unmanned aerial vehicle does not respond external control command to unmanned aerial vehicle, leads to unmanned aerial vehicle can't utilize the electric energy that intelligent battery provided to develop the operation to reach the purpose that the user must purchase legal intelligent battery just can drive unmanned aerial vehicle operation.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Exemplary method
As shown in fig. 1, the present invention provides a method for identifying a battery of an unmanned aerial vehicle. The scheme shown in fig. 1 is a technical scheme that the unmanned aerial vehicle identifies the intelligent battery by using an identification activation code provided by the intelligent battery device. The method comprises the following steps:
step 101): the unmanned aerial vehicle sends a request instruction to the intelligent battery device;
in step 101, the request command is generated according to a communication protocol between the drone and the smart battery device, which exists only between terminals provided by legally authorized providers. Once the unmanned aerial vehicle successfully obtains the identification activation code, the possibility that the intelligent battery belongs to the parts provided by the legal authorized manufacturer is shown. It is also possible that highly-sophisticated companies with technical capabilities know the communication protocol by copying the original smart battery system. The purpose of the request command sent by the drone is to obtain an identifying activation code from the smart battery device. In this embodiment, the drone sends a request instruction in response to an external trigger command. The external trigger command may include a start-up command of the unmanned aerial vehicle or a control command sent by a remote control terminal.
Step 102): the unmanned aerial vehicle receives an identification activation code generated by the intelligent battery device according to the request instruction;
step 103): the unmanned aerial vehicle identifies the intelligent battery device according to the identification activation code.
The scheme shown in fig. 1 is a technical scheme that an unmanned aerial vehicle identifies a smart battery by using an identification activation code. The identifying activation code includes: a legal spare part supplier number and a battery ID number; wherein, the battery ID number is compiled according to fixed byte number. Acquiring a supplier number and a battery ID number from the identification activation code, and judging whether the intelligent battery device is from a legal supplier or not according to the supplier number; and judging whether the intelligent battery is a legal intelligent battery or not according to the number of bytes of the battery ID number, wherein once the number of bytes is beyond the range of the number of bytes or is less than the range of the number of bytes, the intelligent battery is not provided by a legal authorized manufacturer, namely an illegal intelligent battery.
In this embodiment, no matter whether the smart battery provides for legal authorized manufacturer, can both provide the electric energy for unmanned aerial vehicle, unmanned aerial vehicle's software program sets up to: the unmanned aerial vehicle responds to an external control instruction to the unmanned aerial vehicle only through identification of an intelligent battery installed on the unmanned aerial vehicle; otherwise, as long as the intelligent battery is identified as an illegal intelligent battery, the unmanned aerial vehicle cannot respond to an external control instruction to the unmanned aerial vehicle. The intelligent battery of the scheme does not change on the circuit structure, and only changes on the software processing program of the unmanned aerial vehicle, so that the aim that the user can drive the unmanned aerial vehicle to operate only by purchasing a legal intelligent battery can be achieved.
As shown in fig. 2, a second flowchart of the method for identifying a battery of an unmanned aerial vehicle according to the embodiment of the present invention is provided. The scheme shown in fig. 2 is a technical scheme that the smart battery device provides an identification activation code for the unmanned aerial vehicle to realize identification. The method comprises the following steps:
step 201): the intelligent battery device receives a request instruction sent by the unmanned aerial vehicle;
step 202): the intelligent battery device generates an identification activation code according to the request instruction;
in step 202, identifying the activation code includes: a legal spare part supplier number and a battery ID number; and the ID number of the battery is compiled according to a fixed byte number. The activation identification code is a unique number configured when a legally authorized manufacturer produces the battery and is written into an address field appointed by a Flash memory of the intelligent battery device. Based on monopoly protection of the intelligent battery technology by the existing encryption technology, in the imitation stage, only a very small probability is used for obtaining the activation identification code from the Flash memory of the original intelligent battery system.
Step 203): the intelligent battery device transmits the identification activation code to the unmanned aerial vehicle.
In this embodiment, add a pre-discharge circuit on intelligent battery device, no matter whether intelligent battery is the spare part that the manufacturer of legal authority provided, before the discernment, unmanned aerial vehicle can't be given to the power supply to the intelligent battery among the intelligent battery device, if not changing intelligent battery device's circuit structure, unmanned aerial vehicle does not have the electric energy, can't implement the discernment to intelligent battery. Newly-increased discharge circuit in advance can both provide required electric energy when discerning the intelligent battery for unmanned aerial vehicle. The intelligent battery can provide the electric energy required by the operation for the unmanned aerial vehicle only through identification. Otherwise, the intelligent battery can not provide the electric energy required by the operation of the unmanned aerial vehicle for the unmanned aerial vehicle. The unmanned aerial vehicle of this scheme does not take place big change in the software procedure, only changes on intelligent battery device's circuit structure, reaches the purpose that the user must purchase legal intelligent battery just can drive unmanned aerial vehicle operation equally.
Based on the analysis, the intelligent battery is identified by the technical scheme, and if the intelligent battery is an illegal intelligent battery, the intelligent battery and the unmanned aerial vehicle cannot be matched to work, so that unnecessary loss and benefit maximization caused by the illegal intelligent battery are avoided.
It should be noted that while the operations of the method of the present invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Exemplary devices
Having described the method of the exemplary embodiment of the present invention, the apparatus of the exemplary embodiment of the present invention will be described next with reference to fig. 3, 4, 5, and 6.
As shown in fig. 3, it is one of the block diagrams of the unmanned aerial vehicle provided in the present invention. The method comprises the following steps:
a first sending unit 301, configured to send a request instruction to the smart battery device;
the request instruction is generated based on a communication protocol between the unmanned aerial vehicle and the intelligent battery device. The unmanned aerial vehicle can send a request command when responding to an external trigger command, where the external trigger command may include a start command of the unmanned aerial vehicle or a control command sent by a remote control terminal.
A first receiving unit 302, configured to receive an activation code generated by the smart battery device according to the request instruction;
in this embodiment, the activation identification code includes: a legal spare part supplier number and a battery ID number; wherein, the battery ID number is compiled according to fixed byte number.
And the identification unit 303 is configured to identify the smart battery device according to the identification activation code.
The unmanned aerial vehicle obtains a supplier number and a battery ID number from the identification activation code, and judges whether the intelligent battery system is from a legal supplier or not according to the supplier number; and judging whether the intelligent battery is a legal battery or not according to the number of bytes of the battery ID number, wherein once the number of bytes is beyond the range of the number of bytes or is less than the range of the number of bytes, the intelligent battery is not provided by a legal authorized manufacturer, namely an illegal intelligent battery.
Fig. 5 is a block diagram of an intelligent battery device according to the present invention. The method comprises the following steps:
a second receiving unit 501, configured to receive a request instruction sent by the unmanned aerial vehicle;
an IDC generation unit 502 for generating an IDC according to the request instruction;
in the technical scheme, the activation identification code is a unique number configured when a legally authorized manufacturer produces the battery and is written into an address field appointed by a Flash memory of the intelligent battery device. Based on monopoly protection of the intelligent battery technology by the existing encryption technology, in the imitation stage, only a very small probability is used for obtaining the activation identification code from the Flash memory of the original intelligent battery system.
A second sending unit 503, configured to transmit the activation code to the drone.
The intelligent battery device shown in fig. 5 provides an identification activation code for the unmanned aerial vehicle, and the unmanned aerial vehicle identifies the intelligent battery according to the identification activation code.
Before the smart battery is discerned, the power supply is given for unmanned aerial vehicle to the smart battery, and unmanned aerial vehicle utilizes the electric energy that the smart battery provided to discern, in case discern the smart battery for illegal smart battery, no matter whether the smart battery provides the electric energy for unmanned aerial vehicle, unmanned aerial vehicle all does not respond external control command to unmanned aerial vehicle. Therefore, on the basis of fig. 3, as shown in fig. 4, the unmanned aerial vehicle further includes:
and the control unit 304 is configured to control the unmanned aerial vehicle not to respond to an external control instruction when the intelligent battery device is identified as an illegal intelligent battery according to the identification activation code.
As can be seen from fig. 3, 4 and 5, the intelligent battery in the present solution does not change in circuit structure, and only changes in the software processing program of the unmanned aerial vehicle, so that the purpose that the user must purchase a legal intelligent battery to drive the unmanned aerial vehicle to operate can be achieved.
There is also a situation where the smart battery is unable to provide power to the drone until it is identified. If the circuit structure of intelligent battery device does not change, unmanned aerial vehicle can't discern the intelligent battery because of not having the electric energy. Only change the circuit structure of intelligent battery device end, add a pre-discharge circuit on intelligent battery device, no matter whether intelligent battery is the spare part that the manufacturer of legal authority provided, pre-discharge circuit can both provide required electric energy when discerning intelligent battery for unmanned aerial vehicle. The unmanned aerial vehicle still obtains the discernment activation code from intelligent battery device, through discernment activation code discernment intelligent battery whether for legal intelligent battery. The intelligent battery can provide the electric energy required by the operation for the unmanned aerial vehicle only through identification. Otherwise, the intelligent battery can not provide the electric energy required by the operation of the unmanned aerial vehicle for the unmanned aerial vehicle.
Based on the foregoing description of the principles, fig. 6 is a block circuit diagram of a smart battery device. The intelligent battery device further comprises a pre-discharge circuit; the pre-discharge circuit includes: the identification power source 61, the first switch K1, the second switch K2, the feedback controller 62; wherein the first switch K1 is in a closed state before identifying the smart battery; the second switch K2 is in an open state before the smart battery is identified. Like this, before discerning the smart battery, because first switch K1 is in the closure state, second switch K2 is in the off-state, and the required electric energy of unmanned aerial vehicle discernment smart battery is provided to the discharge circuit in advance among the smart battery device, and the smart battery among the smart battery device can't provide the required electric energy of operation work for unmanned aerial vehicle.
The identification power supply 62 is used for responding to an external trigger instruction to provide electric energy required by the identification battery for the unmanned aerial vehicle;
the output port of the identification power supply 62 is connected with one end of the first switch K1, and the other end of the first switch K1 is connected with the power supply input port of the unmanned aerial vehicle;
an output port of an intelligent battery of the intelligent battery device is connected with one end of the second switch K2, and the other end of the second switch K2 is connected with a power supply input port of the unmanned aerial vehicle;
the feedback controller 62 is used for controlling the switch states of the first switch K1 and the second switch K2; if the identification result is an illegal intelligent battery, controlling the first switch K1 to be in a closed state and the second switch K2 to be in an open state; and if the identification result is a legal intelligent battery, controlling the first switch K1 to be in an open state and the second switch K2 to be in a closed state.
In summary, the apparatuses shown in fig. 3 to fig. 6 can identify whether the smart battery is a smart battery produced by a legal authorized manufacturer, and once the smart battery is identified as an illegal smart battery, the unmanned aerial vehicle cannot use the electric energy provided by the smart battery to implement driving work, so that the purpose that the user must purchase the legal smart battery to drive the unmanned aerial vehicle to operate is achieved.
Furthermore, although several units of drones and smart battery devices are mentioned in the detailed description above, such division is not mandatory only. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the invention. Also, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Exemplary System
As shown in fig. 7, a block diagram of a battery identification system for an unmanned aerial vehicle according to the present invention includes: the system comprises an unmanned aerial vehicle a and an intelligent battery device b; wherein,
the unmanned aerial vehicle a sends a request instruction to the intelligent battery device;
the intelligent battery device b generates response information according to the request instruction, generates an identification activation code by utilizing the response information and sends the identification activation code to the unmanned aerial vehicle a;
and the unmanned aerial vehicle a identifies the intelligent battery device according to the identification activation code.
The above embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, it should be understood that the above embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present invention should be included in the scope of the present invention.