CN108762790B - Unmanned aerial vehicle battery restart processing method and device and storage medium - Google Patents
Unmanned aerial vehicle battery restart processing method and device and storage medium Download PDFInfo
- Publication number
- CN108762790B CN108762790B CN201810559312.4A CN201810559312A CN108762790B CN 108762790 B CN108762790 B CN 108762790B CN 201810559312 A CN201810559312 A CN 201810559312A CN 108762790 B CN108762790 B CN 108762790B
- Authority
- CN
- China
- Prior art keywords
- state
- unmanned aerial
- aerial vehicle
- vehicle battery
- battery
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0068—Battery or charger load switching, e.g. concurrent charging and load supply
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention provides a method and a device for restarting an unmanned aerial vehicle battery and a storage medium, wherein the method comprises the following steps: and when the unmanned aerial vehicle battery is restarted, acquiring the state of the unmanned aerial vehicle battery before restarting, and setting the unmanned aerial vehicle battery in the state before restarting. The unmanned aerial vehicle battery restart processing method, the unmanned aerial vehicle battery restart processing device and the storage medium avoid automatic startup caused by battery restart in a standing state of the unmanned aerial vehicle, avoid potential safety hazards brought by the battery restart, ensure the safety and reliability of the unmanned aerial vehicle in the battery restart process, and further ensure and improve user experience.
Description
Technical Field
The invention relates to the technical field of unmanned aerial vehicles, in particular to a battery restart processing method and device for an unmanned aerial vehicle and a storage medium.
Background
At present, the environment variety that unmanned aerial vehicle used is various, and all relatively more complicated under the many circumstances, therefore unmanned aerial vehicle inevitable when the operation has a considerable interference to exist. In these various complicated interference environment, the unmanned aerial vehicle battery is as the power source in the unmanned aerial vehicle flight, and some situations also can appear because of these interference unavoidably, and then influence unmanned aerial vehicle's use.
In the prior art, the battery of the unmanned aerial vehicle can trigger the battery to restart, namely, the battery program is operated again under the condition of some interference. After that, the battery of the drone enters an initial default discharge state.
Adopt prior art's unmanned aerial vehicle, though take place to restart in flight in-process battery and can guarantee that unmanned aerial vehicle can not cut off the power supply in flight. However, if the unmanned aerial vehicle is not started and stands still, the restart of the battery may cause the automatic start of the unmanned aerial vehicle, which brings serious potential safety hazard, and further causes the reliability of the existing unmanned aerial vehicle in the battery restart process to be lower.
Disclosure of Invention
The invention provides a battery restart processing method and device for an unmanned aerial vehicle and a storage medium, which improve the reliability of the unmanned aerial vehicle in the battery restart process.
The invention provides a method for restarting an unmanned aerial vehicle battery, which comprises the following steps:
when the unmanned aerial vehicle battery is restarted, acquiring the state of the unmanned aerial vehicle battery before restarting;
placing the unmanned aerial vehicle battery in the pre-restart state; wherein the state before restarting is: a discharge state, a charge state, an alarm state, a self-discharge state, a shutdown state, or an upgrade state.
In an embodiment of the first aspect of the present invention, the obtaining a state of the battery of the unmanned aerial vehicle before restarting includes:
and acquiring the state of the unmanned aerial vehicle battery before restarting from the first storage space.
In an embodiment of the first aspect of the present invention, the method further includes:
when the state of the unmanned aerial vehicle battery changes, acquiring the latest state of the unmanned aerial vehicle battery;
and storing the latest state of the unmanned aerial vehicle battery to a first storage space.
In an embodiment of the first aspect of the present invention, the first storage space is a random access memory RAM of a master integrated circuit IC chip of the unmanned aerial vehicle battery.
In an embodiment of the first aspect of the present invention, the state of the drone battery includes at least:
a discharge state, a charge state, an alarm state, a self-discharge state, a shutdown state, and an upgrade state.
In an embodiment of the first aspect of the present invention, after obtaining the state of the drone battery before restarting, the method further includes: judging whether the acquired state of the unmanned aerial vehicle battery is reliable or not;
and if so, placing the unmanned aerial vehicle battery in the state before restarting.
In an embodiment of the first aspect of the present invention, the determining whether the acquired state of the unmanned aerial vehicle battery is reliable, and if the determination result is negative, further includes:
and placing the unmanned aerial vehicle battery in an upgrading state.
In an embodiment of the first aspect of the present invention, the obtaining a state of the battery of the unmanned aerial vehicle before restarting includes: and when the unmanned aerial vehicle starts to operate and start to load the Bootloader, acquiring the state of the unmanned aerial vehicle battery before restarting.
In an embodiment of the first aspect of the present invention, the placing the battery of the drone in the pre-reboot state includes: if the state is a shutdown state or a self-discharge state, the output of the unmanned aerial vehicle battery is closed; if the state is an upgrading state, the Bootloader is kept to operate within preset upgrading time; and if the state is a discharging state, a charging state or an alarming state, operating the application program of the unmanned aerial vehicle battery.
In summary, in the unmanned aerial vehicle battery restart processing method provided by the first aspect of the present invention, after the unmanned aerial vehicle battery is restarted, the state of the unmanned aerial vehicle battery before restarting is acquired, and the unmanned aerial vehicle battery is set in the state before restarting. Thereby avoided unmanned aerial vehicle battery restart under the state of stewing to lead to the automatic start, stopped the potential safety hazard that its brought, guaranteed unmanned aerial vehicle security and reliability at the battery restart in-process to further guarantee and promote user experience.
The second aspect of the present invention provides an unmanned aerial vehicle battery restart processing apparatus, including:
the acquisition module is used for acquiring the state of the unmanned aerial vehicle battery before restarting after the unmanned aerial vehicle battery is restarted;
a processing module for placing the UAV battery in the pre-reboot state; wherein the state before restarting is: a discharge state, a charge state, an alarm state, a self-discharge state, a shutdown state, or an upgrade state.
In an embodiment of the second aspect of the present invention, the obtaining module is specifically configured to obtain, from the first storage space, a state of the unmanned aerial vehicle battery before the restart.
In an embodiment of the second aspect of the present invention, the obtaining module is further configured to obtain a latest state of the drone battery when a state of the drone battery changes;
the processing module is further used for storing the latest state of the unmanned aerial vehicle battery to a first storage space.
In an embodiment of the second aspect of the present invention, the first storage space is a random access memory RAM of a master integrated circuit IC chip of the unmanned aerial vehicle battery.
In an embodiment of the second aspect of the present invention, the state of the drone battery includes at least:
a discharge state, a charge state, an alarm state, a self-discharge state, a shutdown state, and an upgrade state.
In an embodiment of the second aspect of the present invention, the processing module is further configured to determine whether the acquired state of the unmanned aerial vehicle battery is reliable;
and if so, placing the unmanned aerial vehicle battery in the state before restarting.
In an embodiment of the second aspect of the present invention, the processing module is further configured to, when the determination result is negative, place the unmanned aerial vehicle battery in an upgrade state.
In an embodiment of the second aspect of the present invention, the obtaining module is specifically configured to obtain a state of the battery of the unmanned aerial vehicle before restarting when the unmanned aerial vehicle starts to operate, start, and load the Bootloader.
In an embodiment of the second aspect of the present invention, the processing module is specifically configured to, if the state is a shutdown state or a self-discharge state, turn off an output of the drone battery; if the state is an upgrading state, the Bootloader is kept to operate within preset upgrading time; and if the state is a discharging state, a charging state or an alarming state, operating the application program of the unmanned aerial vehicle battery.
In summary, in the unmanned aerial vehicle battery restart processing apparatus provided in the second aspect of the present invention, after the unmanned aerial vehicle battery is restarted, the obtaining module obtains the state of the unmanned aerial vehicle battery before restarting, and the processing module places the unmanned aerial vehicle battery in the state before restarting. Thereby avoided unmanned aerial vehicle battery restart under the state of stewing to lead to the automatic start, stopped the potential safety hazard that its brought, guaranteed unmanned aerial vehicle security and reliability at the battery restart in-process to further guarantee and promote user experience.
In a third aspect, the present invention provides a storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the method for battery restart processing for a drone according to any of the first aspects of the present application.
In a fourth aspect, the present invention provides an unmanned aerial vehicle, comprising: a processor;
and a memory for storing executable instructions of the processor;
wherein the processor is configured to execute, via the executable instructions, the drone battery restart processing method according to any one of the first aspects of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a first embodiment of a battery restart processing method for a drone according to the present invention;
fig. 2 is a schematic flow chart of a second method for restarting a battery of an unmanned aerial vehicle according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a first unmanned aerial vehicle battery restart processing apparatus according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. The drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments. The technical means of the present invention will be described in detail with reference to specific examples. The following embodiments may be combined with each other and may not be described in detail in some embodiments for the same or similar concepts or processes.
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 terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a flowchart illustrating a first method for handling a battery restart of a drone according to an embodiment of the present invention. As shown in fig. 1, the method for handling a restart of a battery of an unmanned aerial vehicle according to this embodiment includes:
s101: when the unmanned aerial vehicle battery is restarted, acquiring the state of the unmanned aerial vehicle battery before restarting;
specifically, an execution subject of the battery information recording method for the unmanned aerial vehicle in this embodiment may be a main control Integrated Circuit (IC) chip of a battery of the unmanned aerial vehicle. In S101, after the unmanned aerial vehicle battery is restarted, the state of the unmanned aerial vehicle battery before restarting is immediately acquired. For example: and the battery of the unmanned aerial vehicle starts to restart at the time t1 and finishes restarting at the time t2, and the state of the battery of the unmanned aerial vehicle before the time t1 needs to be acquired at the time t 2.
Alternatively, the state of the unmanned aerial vehicle battery acquired in S101 may be any one of a discharge state, a charge state, an alarm state, a self-discharge state, a shutdown state, or an upgrade state. It can be understood that the states of the drones are only examples, and the division of the states of the drones in practical applications may not be limited to the above classification.
S102: the drone battery is placed in a pre-restart state.
Specifically, in this step, according to the state of the battery of the unmanned aerial vehicle before restarting, which is obtained in S101, the battery of the unmanned aerial vehicle is placed in the same state as that before restarting. For example: the state of the unmanned aerial vehicle battery before restarting is a shutdown state, and no power is supplied to the unmanned aerial vehicle. When the unmanned aerial vehicle battery starts to restart at the time t1 and finishes restarting at the time t2, the state of the unmanned aerial vehicle before restarting is acquired at the time t2 and is a shutdown state. Subsequently, the battery of the unmanned aerial vehicle is continuously set to be in a shutdown state, so that the power supply to the unmanned aerial vehicle is still not started after the battery of the unmanned aerial vehicle is restarted, and the unmanned aerial vehicle is prevented from being started after the battery of the unmanned aerial vehicle is restarted in the shutdown state.
To sum up, the unmanned aerial vehicle battery restart processing method provided by the embodiment avoids automatic startup caused by battery restart of the unmanned aerial vehicle in a standing state, avoids potential safety hazards caused by the battery restart, ensures safety and reliability of the unmanned aerial vehicle in the battery restart process, and further ensures and improves user experience.
Further, in the above embodiment, S101 specifically includes: and acquiring the state of the unmanned aerial vehicle battery before restarting from the first storage space. The first storage space can be specially arranged in the unmanned aerial vehicle to store the state of the unmanned aerial vehicle battery, and the state stored in the first storage space can be acquired from the first storage space after the unmanned aerial vehicle is restarted.
Preferably, the first storage space may be a Random Access Memory (RAM) of a main control IC chip of the drone battery. The RAM of the main control IC chip can be read and written at any time, so that the operation is more convenient than that of FLASH (FLASH is limited by the number of times of erasing and writing), and excessive FLASH space is not occupied. Moreover, bootloader and other application programs of the unmanned aerial vehicle can access the RAM of the main control IC chip, so that the RAM of the main control IC chip of the unmanned aerial vehicle battery is considered as a first storage space.
Optionally, the first storage space is a space specially opened for storing the state information in a RAM in the battery main control IC chip, and the first storage space is not used for storing other information except the state information. I.e. to ensure the reliability of the recording area, the RAM area reserved for the first storage space is isolated, i.e. other functional uses are limited, while dynamic tunneling and other variable uses are not operable in this area. Or the first storage space is any space in the RAM in the battery main control IC chip, the free space of the RAM is judged when the state information needs to be stored each time, the state information is stored in the free space, and the storage position is recorded for reading.
Further, in the above embodiment, it can be understood that, in order to acquire the latest battery state before the restart after the restart each time, the unmanned aerial vehicle needs to record the state of the battery in real time when the restart does not occur.
One possible implementation is: when the state of the unmanned aerial vehicle battery changes, acquiring the latest state of the unmanned aerial vehicle battery; and storing the latest state of the unmanned aerial vehicle battery to the first storage space. For example: and whether the unmanned aerial vehicle battery runs or not, the state of the unmanned aerial vehicle battery is monitored in real time, and the current latest state of the unmanned aerial vehicle battery is recorded. For example: when a battery of the unmanned aerial vehicle enters a discharging state from a closed state at the moment t1, the discharging state needs to be recorded into a first storage space; when the discharge state enters the charge state at time t2, the discharge state stored in the first storage space needs to be modified to the charge state.
Another possible implementation is: after the state of the unmanned aerial vehicle battery is obtained every interval of first preset time, the obtained latest state of the unmanned aerial vehicle battery is stored in a first storage space. And the first preset time can also be according to the state of unmanned aerial vehicle or accept user's setting. For example: when the unmanned aerial vehicle is in a flight state, acquiring the state of the unmanned aerial vehicle battery every 5 seconds; when the unmanned aerial vehicle is in a static state, the state of the unmanned aerial vehicle battery is acquired every 10 seconds. Or when the battery power of the unmanned aerial vehicle is lower than a fixed value, the state of the unmanned aerial vehicle battery is acquired every 20 seconds.
Alternatively, since RAM is power-down volatile, data stored in RAM will be lost when the battery is powered down, causing confusion if the data in RAM is retrieved at that time. In the above embodiment, after the state of the drone battery before restarting is acquired, it is also necessary to determine whether the acquired state of the drone battery is reliable; and if so, putting the unmanned aerial vehicle battery in a state before restarting. If not, the unmanned aerial vehicle battery is placed in an upgrading state.
For the recording mode of the state of the unmanned aerial vehicle battery, some special values can be selected, the value range of the special values is defined, and meanwhile, the values of the areas before and after the address where the recorded value is located can be monitored, so that the reliability of the state value is ensured. For example, a multiple of 11 is selected as a record value of the battery state of the unmanned aerial vehicle, values of a previous address and a next address of the state record value are dynamically changed according to the record value, the change method is that the value of the previous address of the record value is the quotient of the previous address of the record value and the last address of the record value is the remainder of the record value and the 3. Therefore, if one of the state records is tampered with, the state record is considered unreliable. Meanwhile, if the record should have unreliability, a default state is adopted as the operation state after the battery is restarted. Table 1 below shows some of the drone battery states.
TABLE 1
More specifically, since the unmanned aerial vehicle may operate to start the Bootloader after the battery is restarted, a possible implementation manner of S101 in the above embodiment is as follows: when the unmanned aerial vehicle starts to operate the Bootloader, the state of the unmanned aerial vehicle battery before restarting is obtained.
Then S102 may be implemented as follows: if the state is a shutdown state or a self-discharge state, the output of the unmanned aerial vehicle battery is closed; if the state is the upgrading state, the Bootloader is kept running within the preset upgrading time; and if the state is a discharging state, a charging state or an alarming state, operating the application program of the unmanned aerial vehicle battery.
Specifically, after the unmanned aerial vehicle battery is restarted, the Bootloader is firstly operated, then the battery APP program is operated, and the default output switch of the battery is opened when the Bootloader is operated, so that the state judgment is firstly made in the Bootloader, if the battery is in a shutdown state or a self-discharge state before being restarted, and the like, which do not need to open the battery output, the MOS output by the battery is required to be immediately turned off, so as to avoid short-time starting of the aircraft, and if the battery is in an active restart caused by software upgrading, the battery APP program is not directly jumped to, and the MOS output of the battery is required to be turned off for waiting for upgrading for a period of time in the Bootloader. Therefore, the state record value needs to be read in the Bootloader, and the state is determined and then the battery state before the battery APP continues to operate and restart is skipped to.
For example: fig. 2 is a schematic flow chart of a second method for restarting a battery of an unmanned aerial vehicle according to an embodiment of the present invention. As shown in fig. 2, after the unmanned aerial vehicle battery state is transitioned, a state value representing the unmanned aerial vehicle battery state is recorded in the first storage space. And when the unmanned aerial vehicle battery is restarted, starting to operate the Bootloader, and acquiring the state value recorded in the first storage space in the Bootloader. And judging whether the state value needs to open the power supply output of the battery after the state value is judged to be reliable, if so, starting the power supply output, and if not, closing the power supply output of the battery. If the state value is not reliable, the unmanned aerial vehicle is set to be in an upgrading state in an optional mode, and the default state value of the upgrading state is stored in the first storage space. When starting power supply output back, further judge whether this state value is the upgrading state, if then need wait for the default time to accomplish after the upgrading jump to battery APP, if whether directly jump to battery APP after judging battery APP is reliable, wherein, judge that the reliable purpose of battery APP is that the battery APP after guaranteeing the upgrading is complete, available, avoid opening the system error that battery APP leads to. An optional judgment mode is that the unmanned aerial vehicle synchronously acquires the check code of the program when acquiring the upgrade data packet of the battery APP program, and then the data of the upgraded battery APP program can be checked. Reading the state value again after the battery APP runs, judging whether the state value is reliable or not, if so, judging whether the state value is an upgrading state, and if so, starting discharging the battery APP and waiting for upgrading; if not, entering the corresponding state to operate according to the reliable state value. And if judge that the state value is unreliable, an optional mode this moment is to put unmanned aerial vehicle into the discharge state when battery APP moves to the state value that the battery was in the discharge state this moment is saved in first memory space.
Fig. 3 is a schematic structural diagram of a first unmanned aerial vehicle battery restart processing apparatus according to an embodiment of the present invention. As shown in fig. 3, the battery restart apparatus provided in this embodiment includes: an acquisition module 301 and a processing module 302. The obtaining module 301 is configured to obtain a state of the battery of the unmanned aerial vehicle before restarting after the battery of the unmanned aerial vehicle is restarted; the processing module 302 is configured to place the battery of the unmanned aerial vehicle in a state before restarting; wherein, the state before restarting at least includes: a discharge state, a charge state, an alarm state, a self-discharge state, a shutdown state, and an upgrade state.
The unmanned aerial vehicle battery restart apparatus provided in this embodiment is configured to execute the unmanned aerial vehicle battery restart processing method shown in fig. 1, and an implementation manner thereof is the same as a principle, and is not described again.
Optionally, in the above embodiment, the obtaining module 301 is specifically configured to obtain, from the first storage space, a state of the drone battery before the reboot.
Optionally, in the above embodiment, the obtaining module 301 is further configured to obtain the latest state of the drone battery when the state of the drone battery changes;
the processing module 302 is further configured to store the latest state of the drone battery to the first storage space.
Optionally, in the above embodiment, the first storage space is a random access memory RAM of a master integrated circuit IC chip of the drone battery.
Optionally, in the above embodiment, the state of the drone battery includes at least: a discharge state, a charge state, an alarm state, a self-discharge state, a shutdown state, and an upgrade state.
Optionally, in the foregoing embodiment, the processing module 302 is specifically configured to determine whether the acquired state of the drone battery is reliable;
if yes, placing the battery of the unmanned aerial vehicle in a state before restarting; if not, the unmanned aerial vehicle battery is placed in an upgrading state.
Optionally, in the above embodiment, the obtaining module 301 is specifically configured to obtain a state of the battery of the unmanned aerial vehicle before restarting when the unmanned aerial vehicle starts to run, start, and load the Bootloader.
Optionally, in the foregoing embodiment, the processing module 302 is specifically configured to turn off the output of the drone battery if the state is the shutdown state or the self-discharge state;
if the state is the upgrading state, the Bootloader is kept running within the preset upgrading time;
and if the state is a discharging state, a charging state or an alarming state, operating the application program of the unmanned aerial vehicle battery.
The unmanned aerial vehicle battery restart processing apparatus that this embodiment provided for realize aforementioned unmanned aerial vehicle battery restart processing method, its implementation is the same with the principle, no longer gives unnecessary details.
The present invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the drone battery restart processing method of any one of the preceding embodiments.
The present invention also provides an unmanned aerial vehicle, comprising: a processor; and (c) a second step of,
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the drone battery restart processing method of any of the above embodiments via execution of the executable instructions.
The invention also provides a battery restart processing device for the unmanned aerial vehicle, which comprises: the system comprises a memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the unmanned aerial vehicle battery restart processing method in each embodiment.
The present invention also provides a program product comprising a computer program (i.e., executing instructions) stored in a readable storage medium. The computer program may be read from a readable storage medium by at least one processor of the encoding apparatus, and execution of the computer program by the at least one processor causes the encoding apparatus to implement the drone battery restart processing method provided by the various embodiments described above.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (5)
1. An unmanned aerial vehicle battery restart processing method is characterized by comprising the following steps:
when the unmanned aerial vehicle starts to operate and start loading Bootloader after the unmanned aerial vehicle battery is restarted, acquiring the state of the unmanned aerial vehicle battery before restarting from a Random Access Memory (RAM) of a main control Integrated Circuit (IC) chip of the unmanned aerial vehicle battery;
judging whether the acquired state of the unmanned aerial vehicle battery is reliable or not;
if so, placing the unmanned aerial vehicle battery in the state before restarting; wherein the state before restarting is: a discharge state, a charge state, an alarm state, a self-discharge state, a shutdown state, or an upgrade state;
if not, placing the unmanned aerial vehicle battery in an upgrading state;
the placing the unmanned aerial vehicle battery in the state before restarting comprises:
if the state is a shutdown state or a self-discharge state, the output of the unmanned aerial vehicle battery is closed;
if the state is an upgrading state, the Bootloader is kept to operate within preset upgrading time;
and if the state is a discharging state, a charging state or an alarming state, operating the application program of the unmanned aerial vehicle battery.
2. The method of claim 1, further comprising:
when the state of the unmanned aerial vehicle battery changes, acquiring the latest state of the unmanned aerial vehicle battery;
and storing the latest state of the unmanned aerial vehicle battery to a first storage space.
3. The utility model provides an unmanned aerial vehicle battery restarts processing apparatus which characterized in that includes:
the acquisition module is used for acquiring the state of the unmanned aerial vehicle battery before restarting from a Random Access Memory (RAM) of a main control Integrated Circuit (IC) chip of the unmanned aerial vehicle battery when the unmanned aerial vehicle starts to run and start a Bootloader after the unmanned aerial vehicle battery is restarted;
the processing module is used for judging whether the acquired state of the unmanned aerial vehicle battery is reliable or not;
if so, placing the unmanned aerial vehicle battery in the state before restarting; wherein the pre-reboot state includes at least: a discharging state, a charging state, an alarming state, a self-discharging state, a shutdown state and an upgrading state;
if not, placing the unmanned aerial vehicle battery in an upgrading state;
the placing the unmanned aerial vehicle battery in the state before restarting comprises:
if the state is a shutdown state or a self-discharge state, the output of the unmanned aerial vehicle battery is closed;
if the state is an upgrading state, the Bootloader is kept running within preset upgrading time;
and if the state is a discharging state, a charging state or an alarming state, operating the application program of the unmanned aerial vehicle battery.
4. A storage medium having a computer program stored thereon, wherein,
the computer program, when executed by a processor, implements the drone battery restart processing method of claim 1 or 2.
5. An unmanned aerial vehicle, comprising: a processor; and the number of the first and second groups,
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the drone battery restart processing method of claim 1 or 2 via execution of the executable instructions.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810559312.4A CN108762790B (en) | 2018-06-01 | 2018-06-01 | Unmanned aerial vehicle battery restart processing method and device and storage medium |
PCT/CN2019/089788 WO2019228537A1 (en) | 2018-06-01 | 2019-06-03 | Battery restart processing method and device for unmanned aerial vehicle, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810559312.4A CN108762790B (en) | 2018-06-01 | 2018-06-01 | Unmanned aerial vehicle battery restart processing method and device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108762790A CN108762790A (en) | 2018-11-06 |
CN108762790B true CN108762790B (en) | 2022-10-11 |
Family
ID=64002232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810559312.4A Active CN108762790B (en) | 2018-06-01 | 2018-06-01 | Unmanned aerial vehicle battery restart processing method and device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108762790B (en) |
WO (1) | WO2019228537A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108762790B (en) * | 2018-06-01 | 2022-10-11 | 深圳市道通智能航空技术股份有限公司 | Unmanned aerial vehicle battery restart processing method and device and storage medium |
CN114180090B (en) * | 2021-12-11 | 2024-02-02 | 浙江极客桥智能装备股份有限公司 | Unmanned aerial vehicle intelligent storage management method and system |
CN116974800A (en) * | 2023-06-05 | 2023-10-31 | 广州菲利斯太阳能科技有限公司 | Method and system for preventing repeated restarting caused by battery abnormality based on flash technology |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090073630A (en) * | 2007-12-31 | 2009-07-03 | 경남도립남해대학 산학협력단 | Security system for unmanned aerial vehicle |
EP2208311B1 (en) * | 2007-06-19 | 2012-08-22 | Sand Holdings, LLC | An autonomous, automatic-reset/restore client and a monitoring system |
CN106598636A (en) * | 2016-07-14 | 2017-04-26 | 深圳曼塔智能科技有限公司 | Firmware upgrading method and device for unmanned aerial vehicle |
CN106716776A (en) * | 2016-02-26 | 2017-05-24 | 深圳市大疆创新科技有限公司 | Unmanned aerial vehicle, and power supply system, method and device thereof |
CN107074347A (en) * | 2016-02-29 | 2017-08-18 | 深圳市大疆创新科技有限公司 | Flight control method, system and unmanned vehicle |
CN206421176U (en) * | 2017-01-24 | 2017-08-18 | 深圳市大疆创新科技有限公司 | Battery management system, battery and unmanned plane |
CN107608828A (en) * | 2017-09-21 | 2018-01-19 | 郑州云海信息技术有限公司 | Method, system, device and the storage medium that data center's power down recovers automatically |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375765A (en) * | 2010-08-19 | 2012-03-14 | 鸿富锦精密工业(深圳)有限公司 | Server power failure detection system and method |
CN103840806B (en) * | 2012-11-27 | 2017-02-08 | 比亚迪股份有限公司 | Battery power failure detecting circuit |
CN103092315B (en) * | 2013-01-09 | 2015-11-25 | 惠州Tcl移动通信有限公司 | The mobile terminal of rear recovery application program can be restarted |
WO2016106567A1 (en) * | 2014-12-30 | 2016-07-07 | 深圳市大疆创新科技有限公司 | Battery preheating method, apparatus and device |
CN106716771B (en) * | 2016-09-22 | 2018-11-13 | 深圳市大疆创新科技有限公司 | Control method, control system, storage medium and the unmanned vehicle of battery pack |
CN106572259A (en) * | 2016-11-09 | 2017-04-19 | 惠州Tcl移动通信有限公司 | Mobile terminal battery power displaying method and system |
CN106874033A (en) * | 2017-01-05 | 2017-06-20 | 重庆零度智控智能科技有限公司 | The firmware upgrade method of UAV Intelligent battery, device and intelligent battery |
CN106785156A (en) * | 2017-01-23 | 2017-05-31 | 中国科学院青岛生物能源与过程研究所 | It is a kind of with automatic identification ability and to be wirelessly transferred the unmanned electromechanical source of warning function |
CN108762790B (en) * | 2018-06-01 | 2022-10-11 | 深圳市道通智能航空技术股份有限公司 | Unmanned aerial vehicle battery restart processing method and device and storage medium |
-
2018
- 2018-06-01 CN CN201810559312.4A patent/CN108762790B/en active Active
-
2019
- 2019-06-03 WO PCT/CN2019/089788 patent/WO2019228537A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2208311B1 (en) * | 2007-06-19 | 2012-08-22 | Sand Holdings, LLC | An autonomous, automatic-reset/restore client and a monitoring system |
KR20090073630A (en) * | 2007-12-31 | 2009-07-03 | 경남도립남해대학 산학협력단 | Security system for unmanned aerial vehicle |
CN106716776A (en) * | 2016-02-26 | 2017-05-24 | 深圳市大疆创新科技有限公司 | Unmanned aerial vehicle, and power supply system, method and device thereof |
CN107074347A (en) * | 2016-02-29 | 2017-08-18 | 深圳市大疆创新科技有限公司 | Flight control method, system and unmanned vehicle |
CN106598636A (en) * | 2016-07-14 | 2017-04-26 | 深圳曼塔智能科技有限公司 | Firmware upgrading method and device for unmanned aerial vehicle |
CN206421176U (en) * | 2017-01-24 | 2017-08-18 | 深圳市大疆创新科技有限公司 | Battery management system, battery and unmanned plane |
CN107608828A (en) * | 2017-09-21 | 2018-01-19 | 郑州云海信息技术有限公司 | Method, system, device and the storage medium that data center's power down recovers automatically |
Also Published As
Publication number | Publication date |
---|---|
WO2019228537A1 (en) | 2019-12-05 |
CN108762790A (en) | 2018-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109634645B (en) | Firmware upgrading method and terminal | |
CN108762790B (en) | Unmanned aerial vehicle battery restart processing method and device and storage medium | |
US9274788B2 (en) | Information processing apparatus, method for controlling the same, and storage medium | |
KR101861724B1 (en) | Selective power management for pre-boot firmware updates | |
US8751783B2 (en) | Booting computing devices with EFI aware operating systems | |
CN103970557B (en) | The method and storage device of storage device activation system | |
US9524216B2 (en) | Method, device and mobile terminal for information backup | |
US20230135295A1 (en) | Electronic device which prefetches application and method therefor | |
CN108829449B (en) | Method, device, equipment and medium for starting operating system by BIOS (basic input output System) | |
CN104519190A (en) | Mobile apparatus low-electric-quantity power-on control method and system | |
CN102609290B (en) | The method for upgrading software of electronic product | |
CN105786544A (en) | Method for booting computer system rapidly and booting system of computer | |
CN108345464A (en) | A kind of the startup method and Android vehicle device of Android system | |
US20170277250A1 (en) | Dual-processor system and control method thereof | |
CN116009921A (en) | Method, device and medium for upgrading embedded operating system | |
CN115237647A (en) | Firmware abnormity repairing method and device, electronic equipment and computer storage medium | |
CN106101406B (en) | Shutdown alarm triggering processing method based on mobile terminal and mobile terminal | |
CN106611124B (en) | Computer installation and its starting-up method | |
CN106471436B (en) | Vehicle infotainment system | |
US20210004240A1 (en) | Electronic device for performing booting, and operating method therefor | |
CN105354066A (en) | OTA (over the air) downloading method and device and intelligent terminal | |
US20140253569A1 (en) | Information processing device, information processing method, and recording medium | |
CN111399926A (en) | Method and device for downloading starting program | |
US20170131946A1 (en) | Method and device for formatting storage of mobile terminal | |
CN114020308A (en) | Camera equipment upgrading method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 518055 Shenzhen, Guangdong, Nanshan District Xili street, No. 1001, Zhiyuan Road, B1 9. Applicant after: Shenzhen daotong intelligent Aviation Technology Co.,Ltd. Address before: 518055 Shenzhen, Guangdong, Nanshan District Xili street, No. 1001, Zhiyuan Road, B1 9. Applicant before: AUTEL ROBOTICS Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |