CN115562466B - Unmanned aerial vehicle hardware reset control method and device and electronic equipment - Google Patents

Unmanned aerial vehicle hardware reset control method and device and electronic equipment Download PDF

Info

Publication number
CN115562466B
CN115562466B CN202211453600.4A CN202211453600A CN115562466B CN 115562466 B CN115562466 B CN 115562466B CN 202211453600 A CN202211453600 A CN 202211453600A CN 115562466 B CN115562466 B CN 115562466B
Authority
CN
China
Prior art keywords
unmanned aerial
aerial vehicle
preset value
terminal
current unmanned
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
Application number
CN202211453600.4A
Other languages
Chinese (zh)
Other versions
CN115562466A (en
Inventor
阳健
许磊
庞智
张捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hobbywing Technology Co Ltd
Original Assignee
Shenzhen Hobbywing Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Hobbywing Technology Co Ltd filed Critical Shenzhen Hobbywing Technology Co Ltd
Priority to CN202211453600.4A priority Critical patent/CN115562466B/en
Publication of CN115562466A publication Critical patent/CN115562466A/en
Application granted granted Critical
Publication of CN115562466B publication Critical patent/CN115562466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2113Multi-level security, e.g. mandatory access control

Abstract

The embodiment of the application discloses a control method and device for hardware reset of an unmanned aerial vehicle and electronic equipment, wherein the method comprises the following steps: receiving a hardware reset request sent by a terminal for carrying out hardware reset on the current unmanned aerial vehicle; acquiring a first preset value corresponding to a specific address of a random access memory of the current unmanned aerial vehicle; the second preset value is a preset value which can control the current unmanned aerial vehicle to perform hardware reset and quick restart through the terminal; and responding to the hardware reset request, comparing the first preset value with the second preset value, determining that the terminal has a first control authority for hardware reset and quick restart for the current unmanned aerial vehicle under the condition that the first preset value is consistent with the second preset value, and opening the first control authority for the terminal.

Description

Unmanned aerial vehicle hardware reset control method and device and electronic equipment
Technical Field
The invention relates to the technical field of unmanned aerial vehicles, in particular to a reset control method and device of unmanned aerial vehicle hardware, a storage medium, electronic equipment and a computer program product.
Background
In an actual service scene, in the existing control method for controlling the unmanned aerial vehicle through the terminal, due to various possible hardware reset interferences, whether the current unmanned aerial vehicle meets preset conditions for hardware reset or not cannot be accurately determined.
In an actual application scene, only when the current condition meets the preset condition of hardware reset, hardware reset and corresponding quick restart are allowed to be carried out on the hardware reset; otherwise, the normal self-checking process is started for the unmanned aerial vehicle.
How to realize the accurate control to unmanned aerial vehicle's hardware reset process is the technical problem who waits to solve.
Disclosure of Invention
Based on this, it is necessary to provide a method, an apparatus, a storage medium, an electronic device, and a computer program product for controlling hardware reset of an unmanned aerial vehicle, for the problem that accurate control of a hardware reset process of the unmanned aerial vehicle cannot be achieved based on an existing control method.
In a first aspect, an embodiment of the present application provides a method for controlling hardware reset of an unmanned aerial vehicle, where the method includes:
receiving a hardware reset request sent by a terminal for carrying out hardware reset on the current unmanned aerial vehicle;
acquiring a first preset value corresponding to a specific address of a random access memory of the current unmanned aerial vehicle; the second preset value is a preset value which can control the current unmanned aerial vehicle to reset hardware and restart rapidly through the terminal;
responding to the hardware reset request, comparing the first preset value with the second preset value, determining that the terminal has a first control authority for hardware reset and quick restart of the current unmanned aerial vehicle under the condition that the first preset value is consistent with the second preset value, and opening the first control authority for the terminal.
In one embodiment, after said opening said first control right for said terminal, further comprising: acquiring state data of the current unmanned aerial vehicle, which is associated with a reset flag bit; and determining the reset fault information of the current unmanned aerial vehicle according to the state data.
In one embodiment, after the determining the reset fault information of the current drone according to the status data, the method further includes:
acquiring the reset fault information of the current unmanned aerial vehicle; the reset fault information includes at least one of: the fault type information of the current unmanned aerial vehicle having the reset fault and/or the fault parameter information of the current unmanned aerial vehicle having the reset fault.
In one embodiment, further comprising: and under the condition that the first preset value is inconsistent with the second preset value, determining that the terminal does not have the first control authority for performing hardware reset and fast restart on the current unmanned aerial vehicle.
In one embodiment, after the determining that the terminal does not have the first control authority to perform hardware reset and fast restart on the current drone, the method further includes: and determining that the terminal has a second control authority for self-checking the current unmanned aerial vehicle, and opening the second control authority for the terminal.
In one embodiment, further comprising: configuring a plurality of terminals with the first control authority for the current unmanned aerial vehicle, and configuring corresponding control authority priority for any one terminal of the plurality of terminals respectively.
In a second aspect, an embodiment of the present application provides a control device for hardware reset of an unmanned aerial vehicle, the device includes:
the receiving module is used for receiving a hardware reset request which is sent by the terminal and used for carrying out hardware reset on the current unmanned aerial vehicle;
the acquisition module is used for acquiring a first preset value corresponding to a specific address of a random access memory of the current unmanned aerial vehicle; the second preset value is a preset value which can control the current unmanned aerial vehicle to perform hardware reset and quick restart through the terminal;
the determining module is used for responding to the hardware reset request, comparing the first preset value with the second preset value, and determining that the terminal has a first control authority for resetting and rapidly restarting the hardware of the current unmanned aerial vehicle under the condition that the first preset value is consistent with the second preset value;
and the permission opening module is used for opening the first control permission for the terminal.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the above method steps.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program for executing the above method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the above-mentioned method steps.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the above-mentioned method steps.
In the embodiment of the application, a hardware reset request for performing hardware reset on the current unmanned aerial vehicle is sent by a receiving terminal; acquiring a first preset value corresponding to a specific address of a random access memory of the current unmanned aerial vehicle; the second preset value is a preset value which can control the current unmanned aerial vehicle to perform hardware reset and quick restart through the terminal; responding to a hardware reset request, comparing the first preset value with the second preset value, determining that the terminal has a first control authority for hardware reset and quick restart of the current unmanned aerial vehicle under the condition that the first preset value is consistent with the second preset value, and opening the first control authority for the terminal. According to the control method for hardware resetting of the unmanned aerial vehicle, the second preset value is configured in advance, and the second preset value is a preset value which can control the current unmanned aerial vehicle to perform hardware resetting and quick restarting through the terminal; responding to a hardware reset request for hardware reset of the current unmanned aerial vehicle, determining that the terminal has a first control authority for hardware reset and quick restart of the current unmanned aerial vehicle under the condition that a first preset value corresponding to a specific address of an obtained random access memory of the current unmanned aerial vehicle is consistent with a second preset value configured in advance, and opening the first control authority for the terminal, so that accurate control of a hardware reset process of the current unmanned aerial vehicle through the terminal is realized.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be obtained by reference to the following drawings. The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a flowchart of a control method for hardware reset of a drone according to an exemplary embodiment of the present application;
fig. 2 is a schematic structural diagram of a control apparatus 200 for hardware reset of a drone according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an electronic device provided by an exemplary embodiment of the present application;
FIG. 4 illustrates a schematic diagram of a computer-readable medium provided by an exemplary embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical terms or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
In addition, the terms "first" and "second", etc. are used to distinguish different objects, rather than to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the application provides a control method and device for hardware reset of an unmanned aerial vehicle, an electronic device and a computer readable medium, which are described below with reference to the accompanying drawings.
Referring to fig. 1, which shows a flowchart of a method for controlling hardware reset of a drone, which is provided in some embodiments of the present application, and is applied to a base station, as shown in the figure, the method for controlling hardware reset of a drone may include the following steps:
step S101: and receiving a hardware reset request sent by the terminal for carrying out hardware reset on the current unmanned aerial vehicle.
Step S102: acquiring a first preset value corresponding to a specific address of a random access memory of the current unmanned aerial vehicle; and a second preset value which is configured in advance, wherein the second preset value is a preset value which can control the current unmanned aerial vehicle to reset hardware and restart rapidly through a terminal.
In an actual application scene, the second preset value can be configured according to the requirements of different application scenes, and the second preset value is a preset value which can control the current unmanned aerial vehicle to perform hardware reset and quick restart through the terminal.
For example, in a specific application scenario, a specific address of the random access memory is assigned (a second preset value), and is assigned as: * (u 32 x) ADDR =0x00000001; from the above, it can be seen that: the second preset value is 0x00000001.
And when the second preset value is obtained to be 0x00000001, obtaining a first preset value corresponding to the specific address of the random access memory of the current unmanned aerial vehicle corresponding to the second preset value.
The above is merely an example, and the second preset value may be adjusted according to requirements of different application scenarios, and details are not described herein again.
Step S103: responding to a hardware reset request, comparing the first preset value with the second preset value, determining that the terminal has a first control authority for hardware reset and quick restart of the current unmanned aerial vehicle under the condition that the first preset value is consistent with the second preset value, and opening the first control authority for the terminal.
In an actual application scenario, in the example above, when the second preset value is obtained to be 0x00000001, and the hardware reset request is responded, the first preset value and the second preset value corresponding to the specific address of the random access memory of the current unmanned aerial vehicle are compared, and when the first preset value is also 0x00000001, that is: under the condition that the first preset value is consistent with the second preset value, the terminal is determined to have a first control authority for hardware resetting and quick restarting of the current unmanned aerial vehicle, and the first control authority is opened for the terminal.
The above is only an example, and the second preset value may be adjusted according to the requirements of different application scenarios, and a process of specifically determining whether the terminal has the first control authority for performing hardware reset and fast restart on the current unmanned aerial vehicle is similar to the above determination process, and is not described herein again.
In a possible implementation manner, after opening the first control right for the terminal, the method further includes the following steps:
acquiring state data of the current unmanned aerial vehicle, which is associated with a reset flag bit;
and determining the current reset fault information of the unmanned aerial vehicle according to the state data.
In an actual application scene, different contents can be configured for the reset fault information of the current unmanned aerial vehicle according to the requirements of different application scenes.
Specifically, the reset fault information of the current unmanned aerial vehicle may include fault type information of the current unmanned aerial vehicle having a reset fault, or may include fault parameter information of the current unmanned aerial vehicle having a reset fault; because the reset fault information can be obtained in time, the current unmanned aerial vehicle with the reset fault can be finally and quickly repaired based on the fault type with the reset fault and the corresponding fault parameters.
Since each repaired reset fault type and each parameter matched with the corresponding fault type are both a conventional type and a corresponding conventional parameter, they are not listed here.
In a possible implementation manner, after determining the reset fault information of the current drone according to the state data, the method further includes the following steps:
acquiring current reset fault information of the unmanned aerial vehicle;
the reset fault information includes at least one of: the method comprises the steps of obtaining fault type information of the current unmanned aerial vehicle having the reset fault and/or fault parameter information of the current unmanned aerial vehicle having the reset fault; because can in time acquire above-mentioned trouble information that resets, consequently, can restore the current unmanned aerial vehicle who takes place the trouble that resets fast.
In a possible implementation manner, the method for controlling hardware reset of an unmanned aerial vehicle provided in the embodiment of the present application further includes the following steps:
and under the condition that the first preset value is inconsistent with the second preset value, determining that the terminal does not have a first control authority for performing hardware reset and fast restart on the current unmanned aerial vehicle.
Under the practical application scene, because the terminal does not have the first control authority of carrying out hardware reset and restart fast to current unmanned aerial vehicle, at this moment, can't carry out hardware reset and restart fast through the current unmanned aerial vehicle of terminal control to realized through the accurate control of terminal to current unmanned aerial vehicle.
In a possible implementation manner, after determining that the terminal does not have the first control authority for performing hardware reset and fast restart on the current unmanned aerial vehicle, the method further includes the following steps:
and determining that the terminal has a second control authority for self-checking the current unmanned aerial vehicle, and opening the second control authority for the terminal.
In an actual application scene, after determining that the terminal does not have the first control authority to the current unmanned aerial vehicle, further determining whether the terminal has the second control authority to carry out self-checking on the current unmanned aerial vehicle, and after determining that the terminal has the second control authority to carry out self-checking on the current unmanned aerial vehicle, developing the second control authority for the terminal, thereby realizing the accurate control on the current unmanned aerial vehicle through the terminal.
In a possible implementation manner, the method for controlling hardware reset of an unmanned aerial vehicle provided in the embodiment of the present application further includes the following steps:
configuring a plurality of terminals with a first control authority for the current unmanned aerial vehicle, and configuring corresponding control authority priority for any one terminal of the plurality of terminals respectively.
In an actual application scenario, a plurality of terminals with a first control authority can be configured for the current unmanned aerial vehicle, and corresponding control authority priorities are configured for different terminals. For example, the terminal a and the terminal B configure corresponding control authority priorities for the terminal a and the terminal B, respectively, for example, configure a first level of control authority for the terminal a, and configure a second level of control authority for the terminal B, where the first level is higher than the second level.
Application scenario 1: when it is determined that both the terminal A and the terminal B have the first control right for the current unmanned aerial vehicle, the current unmanned aerial vehicle is preferentially controlled through the terminal A, and the hardware reset and quick restart processes of the current unmanned aerial vehicle are precisely controlled through the terminal A.
Application scenario 2: when it is determined that both the terminal A and the terminal B have the first control authority over the current unmanned aerial vehicle and the current unmanned aerial vehicle is not controlled by the terminal A, the current unmanned aerial vehicle can be selectively and accurately controlled through the terminal B, and the process of rapidly restarting the hardware resetting machine of the current unmanned aerial vehicle through the terminal B is accurately controlled.
The above two application scenarios are only examples and are not described herein again.
According to the control method for hardware resetting of the unmanned aerial vehicle, the second preset value is configured in advance, and the second preset value is a preset value which can control the current unmanned aerial vehicle to perform hardware resetting and quick restarting through the terminal; responding to a hardware reset request for hardware reset of the current unmanned aerial vehicle, determining that the terminal has a first control authority for hardware reset and quick restart of the current unmanned aerial vehicle under the condition that a first preset value corresponding to a specific address of an obtained random access memory of the current unmanned aerial vehicle is consistent with a second preset value configured in advance, and opening the first control authority for the terminal, so that accurate control of a hardware reset process of the current unmanned aerial vehicle through the terminal is realized.
In the above embodiment, a control method for hardware reset of an unmanned aerial vehicle is provided, and correspondingly, the application further provides a control device for hardware reset of an unmanned aerial vehicle. The control device that unmanned aerial vehicle hardware resets that this application embodiment provided can implement above-mentioned unmanned aerial vehicle hardware control method that resets, and this unmanned aerial vehicle hardware control device that resets can be realized through the mode of software, hardware or software and hardware combination. For example, the control device for hardware reset of the drone may comprise integrated or separate functional modules or units to perform the corresponding steps of the above methods.
Please refer to fig. 2, which illustrates a schematic diagram of a control apparatus for hardware reset of a drone according to some embodiments of the present application. The control device is applied to the base station, and the device embodiment is basically similar to the method embodiment, so that the description is relatively simple, and related points can be referred to part of the description of the method embodiment. The device embodiments described below are merely illustrative.
As shown in fig. 2, the control device 200 for hardware reset of the drone may include:
a receiving module 201, configured to receive a hardware reset request of a current unmanned aerial vehicle sent by a terminal;
an obtaining module 202, configured to obtain a first preset value corresponding to a specific address of a random access memory of a current drone; the second preset value is a preset value which can control the current unmanned aerial vehicle to perform hardware reset and quick restart through the terminal;
the determining module 203 is configured to respond to a hardware reset request, compare the first preset value with the second preset value, and determine that the terminal has a first control permission for hardware reset and fast restart of the current unmanned aerial vehicle when the first preset value is consistent with the second preset value;
and an authority opening module 204, configured to open a first control authority for the terminal.
In some implementations of embodiments of the present application, the obtaining module 202 is further configured to:
after a first control authority is opened for a terminal, state data of the current unmanned aerial vehicle, which are associated with a reset flag bit, are acquired;
the determining module 203 is further configured to: and determining the current reset fault information of the unmanned aerial vehicle according to the state data.
In some implementations of embodiments of the present application, the obtaining module 202 is further configured to:
after the reset fault information of the current unmanned aerial vehicle is determined according to the state data, the reset fault information of the current unmanned aerial vehicle is obtained; the reset fault information acquired by the acquiring module 202 at least includes one of the following items: the fault type information of the current unmanned aerial vehicle having the reset fault and/or the fault parameter information of the current unmanned aerial vehicle having the reset fault.
In some implementations of embodiments of the present application, the determining module 203 is further configured to:
and under the condition that the first preset value is inconsistent with the second preset value, determining that the terminal does not have a first control authority for performing hardware reset and fast restart on the current unmanned aerial vehicle.
In some implementations of embodiments of the present application, the determining module 203 is further configured to:
after determining that the terminal does not have a first control authority for performing hardware reset and fast restart on the current unmanned aerial vehicle, determining that the terminal has a second control authority for performing self-checking on the current unmanned aerial vehicle;
the permission opening module 204 is further configured to: and opening a second control authority for the terminal.
In some implementations of the embodiments of the present application, the apparatus 200 may further include:
a configuration module (not shown in fig. 2) configured to configure a plurality of terminals having a first control authority for a current drone, and configure a corresponding control authority priority for any one of the plurality of terminals, respectively.
In some embodiments of the present application, the control apparatus 200 for hardware resetting of an unmanned aerial vehicle provided in the present application embodiment has the same beneficial effects as the control method for hardware resetting of an unmanned aerial vehicle provided in the foregoing embodiment of the present application.
The embodiment of the present application further provides an electronic device corresponding to the control method for hardware resetting of an unmanned aerial vehicle provided in the foregoing embodiment, where the electronic device may be an electronic device for a server, such as a server, including an independent server and a distributed server cluster, to execute the control method for hardware resetting of an unmanned aerial vehicle; the electronic device may also be an electronic device for a client, such as a mobile phone, a notebook computer, a tablet computer, a desktop computer, and the like, so as to execute the above control method for hardware reset of the unmanned aerial vehicle.
Please refer to fig. 3, which illustrates a schematic diagram of an electronic device according to some embodiments of the present application. As shown in fig. 3, the electronic device 40 includes: a processor 400, a memory 401, a bus 402 and a communication interface 403, wherein the processor 400, the communication interface 403 and the memory 401 are connected through the bus 402; the memory 401 stores a computer program that can be executed on the processor 400, and the processor 400 executes the aforementioned control method for hardware reset of the unmanned aerial vehicle when executing the computer program.
The Memory 401 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 403 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 402 can be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 401 is configured to store a program, and the processor 400 executes the program after receiving an execution instruction, where the control method for hardware resetting of a drone disclosed in any of the embodiments of the present application may be applied to the processor 400, or implemented by the processor 400.
Processor 400 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 400. The Processor 400 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in the memory 401, and the processor 400 reads the information in the memory 401 and completes the steps of the method in combination with the hardware.
The electronic equipment provided by the embodiment of the application and the control method for hardware resetting of the unmanned aerial vehicle provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the electronic equipment.
Referring to fig. 4, a computer readable storage medium is an optical disc 50, on which a computer program (i.e., a program product) is stored, where the computer program, when executed by a processor, executes the control method for hardware reset of the unmanned aerial vehicle.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, a phase change memory (PRAM), a Static Random Access Memory (SRAM), a Dynamic Random Access Memory (DRAM), other types of Random Access Memories (RAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the above embodiment of the present application and the control method for hardware reset of an unmanned aerial vehicle provided by the embodiment of the present application are based on the same inventive concept, and have the same beneficial effects as methods adopted, operated or implemented by application programs stored in the computer-readable storage medium.
It should be noted that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units into only one type of logical function may be implemented in other ways, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill 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; such modifications and substitutions do not depart from the spirit and scope of the present disclosure, and the present disclosure should be construed as being covered by the claims and the specification.

Claims (8)

1. A control method for hardware reset of an unmanned aerial vehicle comprises the following steps:
receiving a hardware reset request sent by a terminal for carrying out hardware reset on the current unmanned aerial vehicle;
acquiring a first preset value corresponding to a specific address of a random access memory of the current unmanned aerial vehicle; the second preset value is a preset value which can control the current unmanned aerial vehicle to perform hardware reset and quick restart through the terminal;
responding to the hardware reset request, comparing the first preset value with the second preset value, determining that the terminal has a first control authority for hardware reset and quick restart of the current unmanned aerial vehicle under the condition that the first preset value is consistent with the second preset value, and opening the first control authority for the terminal;
configuring a plurality of terminals with the first control authority for the current unmanned aerial vehicle, and configuring corresponding control authority priority for any one terminal of the plurality of terminals respectively.
2. The method of claim 1, wherein after the opening the first control right for the terminal, further comprising:
acquiring state data of the current unmanned aerial vehicle, which is associated with a reset flag bit;
and determining the reset fault information of the current unmanned aerial vehicle according to the state data.
3. The method of claim 2, wherein, after said determining reset fault information for the current drone from the status data, further comprising:
acquiring the reset fault information of the current unmanned aerial vehicle;
the reset fault information includes at least one of:
the fault type information of the current unmanned aerial vehicle having the reset fault and/or the fault parameter information of the current unmanned aerial vehicle having the reset fault.
4. The method of claim 1, further comprising:
and under the condition that the first preset value is inconsistent with the second preset value, determining that the terminal does not have the first control permission for resetting the hardware of the current unmanned aerial vehicle and restarting the current unmanned aerial vehicle quickly.
5. The method of claim 4, wherein after the determining that the terminal does not have the first control authority to hardware reset and quickly restart the current drone, further comprising:
and determining that the terminal has a second control authority for self-checking the current unmanned aerial vehicle, and opening the second control authority for the terminal.
6. A control device for hardware reset of an unmanned aerial vehicle comprises:
the receiving module is used for receiving a hardware reset request which is sent by the terminal and used for carrying out hardware reset on the current unmanned aerial vehicle;
the acquisition module is used for acquiring a first preset value corresponding to a specific address of a random access memory of the current unmanned aerial vehicle; the second preset value is a preset value which can control the current unmanned aerial vehicle to perform hardware reset and quick restart through the terminal;
the determining module is used for responding to the hardware reset request, comparing the first preset value with the second preset value, and determining that the terminal has a first control authority for resetting and rapidly restarting the hardware of the current unmanned aerial vehicle under the condition that the first preset value is consistent with the second preset value;
the permission opening module is used for opening the first control permission for the terminal;
and the configuration module is used for configuring a plurality of terminals with the first control authority for the current unmanned aerial vehicle and respectively configuring corresponding control authority priority for any one terminal of the plurality of terminals.
7. A computer-readable storage medium, characterized in that it stores a computer program for performing the method of any of the preceding claims 1 to 5.
8. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the executable instructions to realize the method of any one of the claims 1 to 5.
CN202211453600.4A 2022-11-21 2022-11-21 Unmanned aerial vehicle hardware reset control method and device and electronic equipment Active CN115562466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211453600.4A CN115562466B (en) 2022-11-21 2022-11-21 Unmanned aerial vehicle hardware reset control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211453600.4A CN115562466B (en) 2022-11-21 2022-11-21 Unmanned aerial vehicle hardware reset control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN115562466A CN115562466A (en) 2023-01-03
CN115562466B true CN115562466B (en) 2023-03-03

Family

ID=84770739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211453600.4A Active CN115562466B (en) 2022-11-21 2022-11-21 Unmanned aerial vehicle hardware reset control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115562466B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430047A (en) * 2015-10-29 2016-03-23 北京汉柏科技有限公司 Remote restart method and system
CN109976488A (en) * 2019-03-15 2019-07-05 西北工业大学 A kind of unmanned aerial vehicle onboard computer software automatic reset circuit with programing function
CN111240359A (en) * 2020-01-17 2020-06-05 广东汇卓航科技有限公司 Remote take-off and landing and double-remote control switching control system for unmanned aerial vehicle
CN113377576A (en) * 2021-06-01 2021-09-10 广州朗国电子科技有限公司 Reset control method, equipment and storage medium of education all-in-one machine
WO2021212344A1 (en) * 2020-04-21 2021-10-28 深圳市大疆创新科技有限公司 Fault management method and device for unmanned aerial vehicle, and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113906361A (en) * 2020-05-07 2022-01-07 深圳市大疆创新科技有限公司 Control method and device of unmanned aerial vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430047A (en) * 2015-10-29 2016-03-23 北京汉柏科技有限公司 Remote restart method and system
CN109976488A (en) * 2019-03-15 2019-07-05 西北工业大学 A kind of unmanned aerial vehicle onboard computer software automatic reset circuit with programing function
CN111240359A (en) * 2020-01-17 2020-06-05 广东汇卓航科技有限公司 Remote take-off and landing and double-remote control switching control system for unmanned aerial vehicle
WO2021212344A1 (en) * 2020-04-21 2021-10-28 深圳市大疆创新科技有限公司 Fault management method and device for unmanned aerial vehicle, and storage medium
CN113377576A (en) * 2021-06-01 2021-09-10 广州朗国电子科技有限公司 Reset control method, equipment and storage medium of education all-in-one machine

Also Published As

Publication number Publication date
CN115562466A (en) 2023-01-03

Similar Documents

Publication Publication Date Title
US10958524B2 (en) Method for generating network slice template and for applying network slice template, and apparatus
US20220109974A1 (en) Esim card change method and related device
US11080404B2 (en) Firmware upgrade method, slave station of robot, and machine readable storage medium
CN103281689A (en) Method for network switching and version upgrading and terminal equipment
CN114422618B (en) Cloud-protogenesis-based IOT platform protocol adaptation method, device, equipment and medium
CN112579356B (en) Fault processing method and server
CN110851207B (en) State transition management method and device, electronic equipment and storage medium
US10200864B2 (en) Method and device for managing wireless access point
CN115562466B (en) Unmanned aerial vehicle hardware reset control method and device and electronic equipment
CN112818270A (en) Data cross-domain transfer method and device and computer equipment
US10909270B2 (en) Information processing device, mobile object, information processing method, and computer program product
CN113746879A (en) Data processing method and device based on Virtual Private Cloud (VPC)
CN111767087A (en) Adaptive theme configuration method and device
CN111880916A (en) Multi-drawing task processing method, device, terminal, medium and host in GPU
CN112783635A (en) Resource limit adjusting method and device
CN115794317A (en) Processing method, device, equipment and medium based on virtual machine
CN116113011A (en) Network connection method and device and electronic equipment
CN112328288A (en) Method, system, equipment and storage medium for updating server component
CN111930626A (en) Automatic testing method and device based on PaaS cloud service
CN111796864A (en) Data verification method and device
CN109218042B (en) Fault diagnosis method and device based on web server and computer-readable storage medium
CN112448839B (en) Network card configuration method and device and computer storage medium
CN115022671B (en) Multi-process video output method, cloud terminal, electronic equipment and storage medium
CN110413935B (en) Data information processing method, device and system
CN116546484A (en) Configuration file state management method, device, electronic equipment and storage 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
GR01 Patent grant
GR01 Patent grant