WO2018119706A1 - Communication method, device, and system based on two-dimensional code - Google Patents

Communication method, device, and system based on two-dimensional code Download PDF

Info

Publication number
WO2018119706A1
WO2018119706A1 PCT/CN2016/112481 CN2016112481W WO2018119706A1 WO 2018119706 A1 WO2018119706 A1 WO 2018119706A1 CN 2016112481 W CN2016112481 W CN 2016112481W WO 2018119706 A1 WO2018119706 A1 WO 2018119706A1
Authority
WO
WIPO (PCT)
Prior art keywords
drone
control device
password
identifier
dimensional code
Prior art date
Application number
PCT/CN2016/112481
Other languages
French (fr)
Chinese (zh)
Inventor
李紫阳
周谷越
王斌
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201680004017.1A priority Critical patent/CN107004112B/en
Priority to PCT/CN2016/112481 priority patent/WO2018119706A1/en
Publication of WO2018119706A1 publication Critical patent/WO2018119706A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • Embodiments of the present invention relate to the field of UAV technologies, and in particular, to a communication method, apparatus, and system based on a two-dimensional code.
  • the control device controls the flight of the drone by transmitting a control command to the drone.
  • a communication link between the control device and the drone is required.
  • the existing drone and the control device (for example, the remote controller) establish a communication link by means of frequency matching, that is, the receiver is provided on the drone, and then the receiver of the remote controller and the drone is triggered to enter the frequency matching mode. That is, the remote controller and the receiver of the drone communicate on the same frequency, thereby realizing the establishment of a communication link between the remote controller and the drone.
  • the existing method requires an additional receiver on the drone to increase the cost.
  • Embodiments of the present invention provide a communication method, apparatus, and system based on a two-dimensional code, which can implement communication between a drone and a control device without additional need to add a receiver to the drone, thereby reducing cost.
  • an embodiment of the present invention provides a communication method based on a two-dimensional code, including:
  • the control device generates a two-dimensional code according to the identifier and password of the access point
  • the control device displays the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
  • the control device and the drone establish a communication connection based on the identifier and the password;
  • the access point is the control device or the drone.
  • an embodiment of the present invention provides a communication method based on a two-dimensional code, including:
  • the drone scans and acquires the two-dimensional code displayed by the control device
  • the UAV parses the two-dimensional code to obtain an identifier and a password of the access point
  • the drone and the control device establish a communication connection based on the identifier and the password;
  • the access point is the control device or the drone.
  • an embodiment of the present invention provides a control device, including:
  • a generating module configured to generate a two-dimensional code according to an identifier and a password of the access point
  • a display module configured to display the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
  • the access point is the control device or the drone.
  • an embodiment of the present invention provides a drone, including:
  • a scanning module configured to scan and acquire a two-dimensional code displayed by the control device
  • a parsing module configured to parse the two-dimensional code to obtain an identifier and a password of the access point
  • the access point is the control device or the drone.
  • an embodiment of the present invention provides a control device, including: a memory, a processor, a display screen, and a transceiver;
  • the memory for storing code for executing a two-dimensional code-based communication method
  • the processor is configured to generate a two-dimensional code according to an identifier and a password of the access point;
  • the display screen is configured to display the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
  • the transceiver is configured to establish a communication connection with the drone based on the identifier and the password;
  • the access point is the control device or the drone.
  • an embodiment of the present invention provides a drone, including: a memory, a camera, a processor, and a transceiver;
  • the memory for storing code for executing a two-dimensional code-based communication method
  • the camera is configured to scan and acquire a two-dimensional code displayed by the control device
  • the processor is configured to parse the two-dimensional code to obtain an identifier and a password of an access point;
  • the transceiver is configured to establish a communication connection with the control device based on the identifier and the password;
  • the access point is the control device or the drone.
  • an embodiment of the present invention provides an unmanned flight system, including: the control device according to the third or fifth aspect of the present invention, and the fourth or sixth aspect of the present invention Provided drones.
  • the two-dimensional code-based communication method, device and system provided by the embodiment of the present invention display the generated two-dimensional code by the control device, so that the drone scans to obtain the identification and password of the access point, because the control device and the drone
  • the identification and password of the access point are known, so that the control device and the drone establish a communication connection through the identification and password of the access point in the two-dimensional code to realize communication between the control device and the drone.
  • the process saves power consumption.
  • FIG. 1 is a schematic architectural diagram of an unmanned flight system 100 in accordance with an embodiment of the present invention
  • FIG. 2 is a flowchart of a two-dimensional code-based communication method according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a two-dimensional code-based communication method according to Embodiment 2 of the present invention.
  • FIG. 4 is a flowchart of a method for communicating based on a two-dimensional code according to Embodiment 3 of the present invention.
  • FIG. 5 is a flowchart of a method for communicating based on a two-dimensional code according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic structural diagram of a control device according to Embodiment 1 of the present invention.
  • FIG. 7 is a schematic structural diagram of a drone according to Embodiment 1 of the present invention.
  • FIG. 8 is a schematic structural diagram of a control device according to Embodiment 2 of the present invention.
  • FIG. 9 is a schematic structural diagram of a drone according to a second embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an unmanned flight system according to an embodiment of the present invention.
  • Embodiments of the present invention provide a two-dimensional code based communication method, apparatus, and system.
  • the following description of the invention uses a drone UAV as an example of a drone.
  • the drone can be a small or large drone.
  • the drone may be a rotorcraft, for example, a multi-rotor drone powered by air by a plurality of pushing devices, embodiments of the invention are not limited thereto, drones It can also be other types of drones.
  • FIG. 1 is a schematic architectural diagram of an unmanned flight system 100 in accordance with an embodiment of the present invention. This embodiment is described by taking a rotorless drone as an example.
  • the unmanned flight system 100 can include a drone 110, a pan/tilt head 120, a display device 130, and a steering device 140.
  • the drone 110 can include a power system 150, a flight control system 160, and a rack 170.
  • the drone 110 can be in wireless communication with the manipulation device 140 and the display device 130.
  • Rack 170 can include a fuselage and a stand (also known as a landing gear).
  • the fuselage may include a center frame and one or more arms coupled to the center frame, the one or more arms extending radially from the center frame.
  • the tripod is coupled to the fuselage for supporting when the drone 110 is landing.
  • the powertrain 150 may include an electronic governor (referred to as ESC) 151, one or more propellers 153, and one or more motors 152 corresponding to one or more propellers 153, wherein the motor 152 is coupled to the electronic governor 151 and the propeller 153, the motor 152 and the propeller 153 are disposed on the corresponding arm; the electronic governor 151 is configured to receive the driving signal generated by the flight control system 160, and provide a driving current to the motor 152 according to the driving signal to control The rotational speed of the motor 152.
  • Motor 152 is used to drive the propeller to rotate to power the flight of drone 110, which enables drone 110 to achieve one or more degrees of freedom of motion.
  • the drone 110 can be rotated about one or more axes of rotation.
  • the above-described rotating shaft may include a roll axis, a pan axis, and a pitch axis.
  • the motor 152 can be a DC motor or an AC motor.
  • the motor 152 may be a brushless motor or a brush motor.
  • Flight control system 160 may include flight controller 161 and sensing system 162.
  • the sensing system 162 is used to measure the attitude information of the drone, that is, the position information and state information of the drone 110 in space, for example, three-dimensional position, three-dimensional angle, three-dimensional speed, three-dimensional acceleration, and three-dimensional angular velocity.
  • the sensing system 162 can include, for example, a gyroscope, an electronic compass, and an inertial measurement unit (English: Inertial) At least one of a sensor such as a Measurement Unit (IMU), a vision sensor, a global navigation satellite system, and a barometer.
  • the global navigation satellite system can be a global positioning system (English: Global Positioning System, referred to as: GPS) or.
  • the flight controller 161 is used to control the flight of the drone 110, for example, the flight of the drone 110 can be controlled based on the attitude information measured by the sensing system 162. It should be understood that the flight controller 161 may control the drone 110 in accordance with pre-programmed program instructions, or may control the drone 110 in response to one or more control commands from the steering device 140.
  • the pan/tilt 120 can include an ESC 121 and a motor 122.
  • the pan/tilt is used to carry the photographing device 123.
  • the flight controller 161 can control the motion of the platform 120 through the ESC 121 and the motor 122.
  • the platform 120 may further include a controller for controlling the movement of the platform 120 by controlling the ESC 121 and the motor 122.
  • the platform 120 can be independent of the drone 110 or a portion of the drone 110.
  • the motor 122 can be a DC motor or an AC motor.
  • the motor 122 may be a brushless motor or a brush motor.
  • the gimbal can be located at the top of the drone or at the bottom of the drone.
  • the photographing device 123 may be, for example, a device for capturing an image such as a camera or a video camera, and the photographing device 123 may communicate with the flight controller and perform photographing under the control of the flight controller.
  • the display device 130 is located at the ground end of the unmanned flight system 100, can communicate with the drone 110 wirelessly, and can be used to display attitude information of the drone 110. In addition, an image taken by the photographing device can also be displayed on the display device 130. It should be understood that the display device 130 may be a stand-alone device or may be disposed in the manipulation device 140.
  • the display device can be a screen.
  • the display device may or may not be a touch screen.
  • the display device can be a light emitting diode (LED) screen, an OLED screen, a liquid crystal display (LCD) screen, a plasma screen, or any other type of screen.
  • the display device can be configured to display a graphical user interface (GUI).
  • GUI graphical user interface
  • the GUI can display an image that can allow the user to control the actions of the UAV.
  • a user can select a target from the image.
  • the target can be a stationary target or a moving target.
  • the user can select the direction of travel from the image.
  • a user may select a portion of the image (eg, a point, region, and/or object) to define the target and/or direction.
  • the user can select the target and/or direction by directly touching the screen (eg, a touch screen).
  • the user can touch a part of the screen.
  • the user can touch that portion of the screen by touching a point on the screen.
  • the user may select an area from a pre-existing set of areas on the screen, or may Draw a border for an area, or specify a portion of that plane in any other way.
  • Users can by means of user interaction devices (eg, mouse, joystick, keyboard, trackball, touch panel, buttons, verbal commands, gesture recognition, attitude sensors, thermal sensors, touch capacitive sensors, or any other
  • the device selects the portion of the image to select the target and/or direction.
  • the touch screen can be configured to detect a user's touch location, touch duration, touch pressure, and/or touch motion, wherein each of the above-described touch modes can indicate a particular input command of the user.
  • the image on the display device can show a view collected by means of the payload of the movable object.
  • an image collected by the imaging device can be displayed on the display device.
  • This can be considered a first person video (FPV).
  • FPV first person video
  • a single imaging device can be provided and a single FPV can be provided.
  • a plurality of imaging devices having different fields of view may be provided.
  • the video can be converted between the plurality of FPVs, or the plurality of FPVs can be displayed simultaneously.
  • the plurality of FPVs may correspond to (or be generated by) different imaging devices that may have different fields of view.
  • the user at the user terminal can select a portion of the image collected by the imaging device to specify the target and/or direction of motion of the movable object.
  • the image on the display device can display a map that can be generated by means of information from the payload of the movable object.
  • This map may optionally be generated by means of a plurality of imaging devices (eg, a right camera, a left camera, or more), which may utilize stereo mapping techniques. In some cases, this map may be generated based on location information about the UAV relative to the environment, the imaging device relative to the environment, and/or the UAV relative to the imaging device.
  • the location information may include gesture information, spatial location information, angular velocity, linear velocity, angular acceleration, and/or linear acceleration.
  • Such a map may alternatively be generated by means of one or more additional sensors, such as described in more detail elsewhere herein.
  • Such a map can be a two-dimensional map or a three-dimensional map. It can be converted between 2D map video and 3D map video, or 2D map video and 3D map video can be displayed simultaneously.
  • the user at the user terminal can select a portion of this map to specify the target and/or direction of motion of the movable object.
  • the video may be converted between one or more FPVs and one or more of the atlas images, or the one or more FPVs and one or more of the atlas images may be displayed simultaneously.
  • the user can use either of these videos to select a target or direction.
  • the portion selected by the user may include the target and/or direction.
  • the user can select this portion using any of the selection techniques described.
  • the image may be displayed on a user terminal (eg, a virtual reality system)
  • a user terminal eg, a virtual reality system
  • the 3D virtual environment on the system or augmented reality system is provided.
  • the 3D virtual environment can optionally correspond to a 3D map.
  • the virtual environment can include a plurality of points or objects that can be manipulated by a user.
  • the user can manipulate these points or objects through a variety of different actions in the virtual environment. Examples of such actions may include selecting one or more points or objects, dragging and dropping, panning, rotating, spinning, pushing, pulling, zooming in, zooming out, and the like. Any type of moving action on these points or objects in a three dimensional virtual space is conceivable.
  • Users at the user terminal can manipulate these points or objects in the virtual environment to control the flight path of the UAV and/or the motion characteristics of the UAV
  • the handling device 140 is located at the ground end of the unmanned flight system 100 and can communicate with the drone 110 wirelessly for remote manipulation of the drone 110.
  • the control device may be, for example, a remote controller or a user terminal equipped with an application (English: Application, referred to as APP) for controlling the drone. Since it is a terminal device configured with a touch screen, the user can pass the touch screen to the terminal device to the unmanned person.
  • the machine outputs a flight control command or a camera command, such as one or more of a remote controller, a laptop, a smart phone, a tablet, a ground control station, a smart watch, a smart bracelet, and the like.
  • the user's input is received by the manipulation device, and the drone can be controlled by the input device of the pull wheel, the button, the button, the joystick, or the user interface (UI) on the user terminal. .
  • FIG. 2 is a flowchart of a method for communication based on a two-dimensional code according to Embodiment 1 of the present invention. As shown in FIG. 2, the method in this embodiment may include:
  • the control device generates a two-dimensional code according to the identifier and password of the access point.
  • the control device displays the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password.
  • the control device and the drone establish a communication connection based on the identifier and the password.
  • the control device generates a two-dimensional code according to the identifier and password of the access point, and the access point is a device that broadcasts a wireless signal.
  • the control device displays the two-dimensional code through the display screen, which can be scanned for the identification and password of the access point.
  • the drone can scan the two-dimensional code displayed by the control device to obtain the two-dimensional code, and then parse the two-dimensional code to obtain an identification and password of the access point.
  • the control device learns the identifier and password of the access point, and the drone also scans. Get the password for the identity of the access point.
  • the access point in this embodiment may be a control device or a drone.
  • control device and the drone establish a communication connection with each other based on the identification and password of the access point, so that the control device and the drone can communicate based on the communication connection, for example, the control device sends a control command to the drone.
  • the drone transmits a shooting picture to the control device.
  • the two-dimensional code-based communication method displays the generated two-dimensional code by the control device, so that the drone scans to obtain the identification and password of the access point, and the control device and the drone are both informed of the access point.
  • the identification and password so that the control device and the drone establish a communication connection through the identification and password of the access point in the two-dimensional code to realize communication between the control device and the drone.
  • FIG. 3 is a flowchart of a two-dimensional code-based communication method according to Embodiment 2 of the present invention. As shown in FIG. 3, the method in this embodiment may include:
  • the UAV scans and acquires a two-dimensional code displayed by the control device.
  • the UAV parses the two-dimensional code to obtain an identifier and a password of the access point.
  • the UAV and the control device establish a communication connection based on the identifier and the password.
  • the UAV can scan and acquire the two-dimensional code displayed by the control device through the camera device, and the two-dimensional code displayed by the control device can be a two-dimensional code displayed by the control device through the display screen, or can be the body of the control device.
  • the two-dimensional code displayed on it (for example, printed or pasted on the body of the control device).
  • the UAV scans and obtains the two-dimensional code
  • the two-dimensional code is parsed to obtain an identification and a password of the access point
  • the access point is a device for broadcasting a wireless signal.
  • the control device learns the identifier and password of the access point, and the drone also scans the password for obtaining the identifier of the access point.
  • the access point in this embodiment may be a control device or a drone.
  • the drone and the control device then establish a communication connection with each other based on the identification and password of the access point, so that the drone and the control device can communicate based on the communication connection, for example, the control device sends a control command to the drone.
  • the drone transmits a shooting picture to the control device.
  • the two-dimensional code-based communication method provided by the embodiment scans the two-dimensional code displayed by the control device by the drone to obtain the identification and password of the access point, and the control device and the drone are both informed.
  • the identification and password of the entry point so that the control device and the drone establish a communication connection through the identification and password of the access point in the two-dimensional code to realize communication between the control device and the drone.
  • the process saves power consumption.
  • FIG. 4 is a flowchart of a two-dimensional code-based communication method according to Embodiment 3 of the present invention.
  • an access point is used as a control device, and the method in this embodiment may include:
  • the control device generates a two-dimensional code according to the identifier and the password of the control device.
  • the control device displays the two-dimensional code.
  • the two-dimensional code is used for the drone to scan to obtain the identifier and the password.
  • the control device has an identifier and a password as an access point, and the password is a password for accessing the control device. Therefore, in order for the control device to enable the other device to acquire the identification and password of the control device, the control device generates a two-dimensional code according to the identification and password of the control device, and displays the two-dimensional code. The two-dimensional code is used for the drone to scan to obtain the identification and the password.
  • the UAV scans and acquires a two-dimensional code displayed by the control device.
  • the drone scans the two-dimensional code displayed by the control device to obtain the two-dimensional code.
  • the two-dimensional code displayed by the control device may be a two-dimensional code displayed by the control device through the screen as shown in S301 and S302.
  • the two-dimensional code displayed by the control device may be a two-dimensional code printed or affixed to the body of the control device.
  • the identification and password of the control device in the QR code can be configured by default, for example, pre-configured at the factory.
  • the UAV parses the two-dimensional code to obtain an identifier and a password of the control device.
  • the drone sends an access request to the control device.
  • the access request includes an identifier of the control device and the password.
  • the control device sends an access success response to the drone.
  • a communication connection is established with the control device based on the identifier and password of the control device.
  • the drone sends an access request to the control device, where the access request includes an identifier and a password of the control device, and the access request is used by the drone to establish a communication connection with the control device.
  • the control device sets the identifier and password carried in the access request as the control device.
  • the backup ID and password send an access success response to the drone to indicate that it agrees to establish a communication connection with the drone.
  • the communication connection between the control device and the drone is successfully established.
  • the two-dimensional code-based communication method generateds a two-dimensional code according to the identification and password of the control device by using the control device as an access point; the drone further scans the two-dimensional code displayed by the control device to obtain The identification and password of the control device are controlled, and then the control device and the drone establish a communication connection through the identification and password of the control device in the two-dimensional code to realize communication between the control device and the drone.
  • control device can be used as an access point to establish the foregoing communication connection with multiple UAVs.
  • the control device can be used as an access point to establish the foregoing communication connection with multiple UAVs.
  • the scheme of each UAV refer to the implementation scheme of the UAV in the embodiment shown in FIG.
  • FIG. 5 is a flowchart of a method for communication based on a two-dimensional code according to Embodiment 4 of the present invention.
  • an access point is used as an unmanned aerial vehicle, and this embodiment is used to modify a drone.
  • the password of the embodiment may include:
  • the control device generates a two-dimensional code according to the identifier of the drone and the changed password.
  • the control device displays the two-dimensional code.
  • the drone has an identification and a password as an access point, and the password is a password for accessing the drone.
  • the password of the drone needs to be modified, the user can modify the password of the drone by operating the control device, and the control device can obtain the changed password of the drone input by the user, and then control the device according to the drone.
  • the logo and the changed password generate a QR code, and display the QR code.
  • the two-dimensional code is used for the drone to scan for the identifier of the drone and the changed password.
  • the UAV scans and acquires a two-dimensional code displayed by the control device.
  • the drone scans the two-dimensional code displayed by the control device to obtain the two-dimensional code.
  • the UAV parses the two-dimensional code to obtain an identifier of the drone and a changed password.
  • the UAV updates a password for storing the UAV as the changed password.
  • the UAV and the control device establish a communication connection based on the identifier and the changed password.
  • the drone analyzes the two-dimensional code to obtain the identifier of the drone and the changed password.
  • the changed password is different from the current password of the drone.
  • the drone of this embodiment updates the password of the drone to the changed password.
  • the password of the drone is changed to the changed password, and then The control device and the drone establish a communication connection based on the identifier of the drone and the changed password.
  • an implementation manner of S501 is: the control device generates the two-dimensional code according to the identifier of the drone, the changed password, and a password change indication; the password change indication is used to The password indicating that the drone is updated is the changed password.
  • the UAV can resolve the QR code and obtain the password change indication.
  • the UAV determines that the UAV password needs to be modified according to the password change indication. Therefore, an implementation method when the UAV executes S505 is: And the drone updates the password for storing the drone as the changed password according to the password change indication.
  • the password change of the drone is authenticated prior to the control device performing S501.
  • S501 is executed, and if the identity authentication fails, the process ends (ie, the embodiment shown in FIG. 5 is not executed), so as to avoid maliciously tampering with the password of the drone and causing communication between the control device and the drone.
  • the method for identity authentication includes at least one of the following: face recognition, voiceprint recognition, fingerprint recognition, user ID input, and the like.
  • an implementation manner of S506 is: the control device sends an access request to the drone, the access request includes an identifier of the drone and the changed password, the access request Used to control the device request to establish a communication connection with the drone. Receiving, by the drone, an access request sent by the control device; sending an access success response to the control device according to the identifier and password stored in the access request being the same as the identifier and password stored by the drone Indicates that you agree to establish a communication connection with the control device. After the control device receives the access success response, the communication connection between the control device and the drone is successfully established.
  • the UAV as an access point can establish the foregoing communication connection with multiple control devices. For the solution of other control devices, refer to the implementation scheme of the control device in the implementation manner shown in S506.
  • an implementation manner of the S501 is: the control device generates the two-dimensional code according to the identifier of the drone, the changed password, and the identifier of the control device, where the control device The identifier is used by the control device to request access to the drone.
  • the UAV can analyze the two-dimensional code, and can also obtain the identifier of the control device, and the UAV can determine that the control device requests access to the UAV according to the identifier of the control device. Therefore, an implementation manner of the S506 is: the drone is based on the identifier of the drone, the changed password, and the identifier of the control device.
  • An access success response is sent to the control device to indicate consent to establish a communication connection with the control device. After the control device receives the access success response, the communication connection between the control device and the drone is successfully established.
  • the two-dimensional code-based communication method uses a drone as an access point, and the control device generates a two-dimensional code according to the identifier of the drone and the changed password.
  • the drone scans the QR code displayed by the control device to obtain the logo of the drone and the changed password, and updates the password of the drone as the changed password.
  • the control device and the drone establish a communication connection through the identifier of the drone in the two-dimensional code and the changed password to implement communication between the control device and the drone.
  • the process saves power consumption; and the embodiment modifies the password of the drone based on the two-dimensional code, thereby improving the password modification efficiency of the drone.
  • the UAV outputs prompt information, where the prompt information is used to prompt the UAV and
  • the control device has established a communication connection.
  • the manner in which the drone outputs the prompt information may be: controlling the LED light (for example, the headlight and/or the taillight) to emit a preset light (for example, blinking), controlling the motor of the drone to vibrate, or controlling the unmanned person.
  • the buzzer of the machine generates a preset sound (such as a click of the output cymbal) to notify the user that the communication connection has been established.
  • the control device outputs prompt information, where the prompt information is used to prompt the control device and the The drone has established a communication connection.
  • the control device may output the prompt information by: controlling the indicator light of the control device to generate a preset light (for example, blinking), or controlling the buzzer of the control device to generate a preset sound (for example, one sound of the output), or controlling The display shows preset information, etc., to inform the user that the communication connection has been established.
  • the UAV further outputs a scan optimization indication, where the scan optimization indication is used to indicate that the UAV and the control device display the second The scanning position between the dimensions.
  • the drone may not be able to clearly identify the two-dimensional code.
  • the drone can output a scan optimization indication, for example: indication control The position of the two-dimensional code displayed by the device, for example, indicating that the two-dimensional code displayed by the control device is closer to the position of the drone, or indicating the two-dimensional code displayed by the control device The drone is located farther away.
  • FIG. 6 is a schematic structural diagram of a control device according to Embodiment 1 of the present invention.
  • the control device 600 of the present embodiment may include: a generating module 601, a display module 602, and an establishing module 603.
  • a generating module 601, configured to generate a two-dimensional code according to the identifier and password of the access point
  • a display module 602 configured to display the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
  • An establishing module 603, configured to establish a communication connection with the UAV based on the identifier and the password;
  • the access point is the control device or the drone.
  • the establishing module 603 is specifically configured to: receive an access request sent by the UAV, where the network access request includes the control device Identifying and the password; sending an access success response to the drone.
  • the generating module 601 is specifically configured to: generate the two-dimensional code according to the identifier of the drone and the changed password.
  • the generating module 601 is configured to: generate the two-dimensional code according to the identifier of the drone, the changed password and a password change indication; and the password change indication is used to indicate an update.
  • the password of the drone is the changed password.
  • the establishing module 603 is specifically configured to: send an access request to the UAV, where the access request includes an identifier of the UAV and the changed password; and receiving the The access sent by the drone is successfully responded.
  • the generating module 601 is configured to: generate the two-dimensional code according to the identifier of the drone, the changed password, and the identifier of the control device, where the identifier of the control device is used for The control device requests access to the drone;
  • the establishing module 603 is specifically configured to: receive an access success response sent by the UAV according to the identifier of the UAV, the changed password, and the identifier of the control device.
  • control device 600 further includes: an authentication module 604.
  • the authentication module 604 is configured to perform identity authentication on the password change of the drone before the generating module 601 generates the two-dimensional code according to the identifier of the drone and the changed password.
  • the method further includes: an output module 605.
  • the output module 605 is configured to output, after the establishing module 603 and the drone establish a communication connection based on the identifier and the password, the prompt information is used to prompt the control device and the The man-machine has established a communication connection.
  • control device of this embodiment may be used to perform the technical solution executed by the control device in the foregoing method embodiments of the present invention.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of a UAV according to Embodiment 1 of the present invention.
  • the UAV 700 of the present embodiment may include: a scanning module 701, a parsing module 702, and an establishing module 703.
  • the scanning module 701 is configured to scan and acquire a two-dimensional code displayed by the control device.
  • the parsing module 702 is configured to parse the two-dimensional code to obtain an identifier and a password of the access point;
  • An establishing module 703, configured to establish a communication connection with the control device based on the identifier and the password;
  • the access point is the control device or the drone.
  • the establishing module 703 is specifically configured to: send an access request to the control device, where the access request includes an identifier of the control device, and The password; receiving an access success response sent by the control device.
  • the parsing module 702 is specifically configured to: parse the two-dimensional code to obtain an identifier of the drone and a changed password;
  • the drone further includes a storage module 704.
  • the storage module 704 is configured to update a password for storing the drone as the changed password.
  • the parsing module 702 is further configured to parse the two-dimensional code to obtain a password change indication, where the password change indication is used to indicate that the password of the drone is updated to be the changed password;
  • the storage module 704 is specifically configured to: update, according to the password change indication, a password for storing the drone as the changed password.
  • the establishing module 703 is specifically configured to: receive an access request sent by the control device, where the access request includes an identifier of the UAV and the changed password; The device sends a successful access response.
  • the parsing module 702 is further configured to parse the two-dimensional code to obtain an identifier of the control device, where the identifier of the control device is used by the control device to request access to the drone;
  • the establishing module 703 is specifically configured to: according to the identifier of the drone, the changed The password and the identifier of the control device send an access success response to the control device.
  • the UAV 700 of the embodiment further includes: a first output module 705, configured to output prompt information after the establishing module 703 establishes a communication connection with the control device based on the identifier and the password
  • the prompt information is used to prompt the drone to establish a communication connection with the control device.
  • the drone 700 of the embodiment further includes: a second output module 706, configured to output a scan optimization indication, where the scan optimization indication is used to indicate that the display of the drone and the control device is optimized The scanning position between the two-dimensional codes.
  • a second output module 706, configured to output a scan optimization indication, where the scan optimization indication is used to indicate that the display of the drone and the control device is optimized The scanning position between the two-dimensional codes.
  • the unmanned aerial vehicle of this embodiment can be used to perform the technical solution executed by the unmanned aerial vehicle in the foregoing method embodiments of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of a control device according to Embodiment 2 of the present invention.
  • the control device 800 of this embodiment may include: a memory 801, a processor 802, a display screen 803, and a transceiver 804.
  • the memory 801, the processor 802, the display screen 803, and the transceiver 804 are connected by a communication bus.
  • the memory 801 is configured to store code for executing a two-dimensional code-based communication method
  • the processor 802 is configured to generate a two-dimensional code according to an identifier and a password of the access point.
  • the display screen 803 is configured to display the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
  • the transceiver 804 is configured to establish a communication connection with the UAV based on the identifier and the password;
  • the access point is the control device or the drone.
  • the transceiver 804 is configured to receive an access request sent by the UAV, where the network access request includes the control device. Identifying and the password; and transmitting an access success response to the drone.
  • the processor 802 is specifically configured to: generate the two-dimensional code according to the identifier of the drone and the changed password.
  • the processor 802 is specifically configured to: generate the two-dimensional code according to the identifier of the drone, the changed password, and a password change indication; and the password change indication is used to indicate an update.
  • the password of the drone is the changed password.
  • the transceiver 804 is specifically configured to: send an access request to the drone, where The access request includes an identifier of the drone and the changed password; and receiving an access success response sent by the drone.
  • the processor 802 is configured to generate the two-dimensional code according to the identifier of the drone, the changed password, and the identifier of the control device, where the identifier of the control device is used for The control device requests access to the drone;
  • the transceiver 804 is specifically configured to: receive an access success response sent by the UAV according to the identifier of the UAV, the changed password, and the identifier of the control device.
  • the processor 802 is further configured to perform identity authentication on the password change of the drone before generating the two-dimensional code according to the identifier of the drone and the changed password.
  • the processor 802 is further configured to: after the transceiver 804 and the drone establish a communication connection based on the identifier and the password, output prompt information, where the prompt information is used to prompt the location
  • the control device has established a communication connection with the drone.
  • control device comprises at least one of the following: a remote controller, a mobile terminal (eg, a smart phone, a tablet, etc.).
  • a remote controller e.g., a smart phone, a tablet, etc.
  • a mobile terminal e.g., a smart phone, a tablet, etc.
  • control device of this embodiment may be used to perform the technical solution executed by the control device in the foregoing method embodiments of the present invention.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of a drone according to a second embodiment of the present invention.
  • the drone 900 of the present embodiment may include: a memory 901, a camera 902, a processor 903, and a transceiver 904;
  • the camera 902, the processor 903, and the transceiver 904 are connected by a communication bus.
  • the memory 901 is configured to store code for executing a communication method based on a two-dimensional code
  • the camera 902 is configured to scan and acquire a two-dimensional code displayed by the control device
  • the processor 903 is configured to parse the two-dimensional code to obtain an identifier and a password of an access point.
  • the transceiver 904 is configured to establish a communication connection with the control device based on the identifier and the password;
  • the access point is the control device or the drone.
  • the transceiver 904 is specifically configured to: send an access request to the control device, where the access request includes an identifier of the control device, and The password; receiving an access success response sent by the control device.
  • the processor 903 is specifically configured to: parse the two-dimensional code to obtain an identifier of the drone and a changed password;
  • the memory 901 is further configured to update a password for storing the drone as the changed password.
  • the processor 903 is further configured to parse the two-dimensional code to obtain a password change indication, where the password change indication is used to indicate that the password of the drone is updated to be the changed password;
  • the memory 901 is specifically configured to: update, according to the password change indication, a password for storing the drone as the changed password.
  • the transceiver 904 is specifically configured to: receive an access request sent by the control device, where the access request includes an identifier of the UAV and the changed password; The device sends a successful access response.
  • the processor 903 is further configured to parse the two-dimensional code to obtain an identifier of the control device, where the identifier of the control device is used by the control device to request access to the drone;
  • the transceiver 904 is specifically configured to: send an access success response to the control device according to the identifier of the drone, the changed password, and the identifier of the control device.
  • the processor 903 is further configured to: after the transceiver 904 and the control device establish a communication connection based on the identifier and the password, output prompt information, where the prompt information is used to prompt the The drone has established a communication connection with the control device.
  • the processor 903 is further configured to output a scan optimization indication, where the scan optimization indication is used to indicate that a scan position between the UAV and the two-dimensional code displayed by the control device is optimized.
  • the unmanned aerial vehicle of this embodiment can be used to perform the technical solution executed by the unmanned aerial vehicle in the foregoing method embodiments of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of an unmanned flight system according to an embodiment of the present invention.
  • the unmanned flight system 1000 of the present embodiment includes: a control device 1001 and a drone 1002.
  • the control device 1001 can adopt the structure of the device embodiment shown in FIG. 6 or FIG. 8 , and correspondingly, the technical solution executed by the control device in the foregoing method embodiments of the present invention can be executed, and the implementation principle and the technical effect are similar. I will not repeat them here.
  • the UAV 1002 can adopt the structure of the device embodiment shown in FIG. 7 or FIG. 9 , and correspondingly, the technical solution executed by the UAV in the foregoing method embodiments of the present invention can be executed, and the implementation principle and the technical effect are similar. I will not repeat them here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Toxicology (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Selective Calling Equipment (AREA)

Abstract

Provided in embodiments of the present invention are a communication method, device, and system based on two-dimensional code. The method comprises: a control apparatus generating, according to an identifier and password of an access point, a two-dimensional code; the control apparatus displaying the two-dimensional code configured for an unmanned aerial vehicle to scan to obtain the identifier and password; and the control apparatus and the unmanned aerial vehicle establishing a communication connection on the basis of the identifier and the password, wherein the access point is the control apparatus or the unmanned aerial vehicle. In this way, the present invention enables communication between the control apparatus and the unmanned aerial vehicle, and eliminates the need to provide a receiver on the unmanned aerial vehicle to enable frequency matching between the unmanned aerial vehicle and the control apparatus and communication on an arranged frequency. In this way, the present invention reduces costs and the volume of the unmanned aerial vehicle, eliminates a frequency matching process, and saves power consumption.

Description

基于二维码的通信方法、装置和系统Communication method, device and system based on two-dimensional code 技术领域Technical field
本发明实施例涉及无人机技术领域,尤其涉及一种基于二维码的通信方法、装置和系统。Embodiments of the present invention relate to the field of UAV technologies, and in particular, to a communication method, apparatus, and system based on a two-dimensional code.
背景技术Background technique
目前,控制装置通过向无人机发送控制指令来控制无人机飞行,要实现控制装置与无人机之间的通信,需要控制装置与所述无人机之间建立通信链路。现有的无人机与控制装置(例如遥控器)通过对频方式来建立通信链路,也就是无人机上设置有接收机,然后触发遥控器及无人机的接收机进入对频模式,即遥控器与无人机的接收机均基于同一频率上通信,从而实现了建立遥控器与无人机之间的通信链路。但是,现有的这种方式均需要在无人机上额外增加一个接收机,增加成本。At present, the control device controls the flight of the drone by transmitting a control command to the drone. To realize the communication between the control device and the drone, a communication link between the control device and the drone is required. The existing drone and the control device (for example, the remote controller) establish a communication link by means of frequency matching, that is, the receiver is provided on the drone, and then the receiver of the remote controller and the drone is triggered to enter the frequency matching mode. That is, the remote controller and the receiver of the drone communicate on the same frequency, thereby realizing the establishment of a communication link between the remote controller and the drone. However, the existing method requires an additional receiver on the drone to increase the cost.
发明内容Summary of the invention
本发明实施例提供一种基于二维码的通信方法、装置和系统,用于在无需在无人机上额外增加一个接收机即可实现无人机与控制设备之间的通信,降低成本。Embodiments of the present invention provide a communication method, apparatus, and system based on a two-dimensional code, which can implement communication between a drone and a control device without additional need to add a receiver to the drone, thereby reducing cost.
第一方面,本发明实施例提供一种基于二维码的通信方法,包括:In a first aspect, an embodiment of the present invention provides a communication method based on a two-dimensional code, including:
控制设备根据接入点的标识和密码,生成二维码;The control device generates a two-dimensional code according to the identifier and password of the access point;
所述控制设备显示所述二维码;所述二维码用于供无人机扫描获得所述标识和所述密码;The control device displays the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
所述控制设备与所述无人机基于所述标识和所述密码建立通信连接;The control device and the drone establish a communication connection based on the identifier and the password;
其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
第二方面,本发明实施例提供一种基于二维码的通信方法,包括:In a second aspect, an embodiment of the present invention provides a communication method based on a two-dimensional code, including:
无人机扫描获取控制设备显示的二维码;The drone scans and acquires the two-dimensional code displayed by the control device;
所述无人机解析所述二维码,获得接入点的标识和密码;The UAV parses the two-dimensional code to obtain an identifier and a password of the access point;
所述无人机与所述控制设备基于所述标识和所述密码建立通信连接; The drone and the control device establish a communication connection based on the identifier and the password;
其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
第三方面,本发明实施例提供一种控制设备,包括:In a third aspect, an embodiment of the present invention provides a control device, including:
生成模块,用于根据接入点的标识和密码,生成二维码;a generating module, configured to generate a two-dimensional code according to an identifier and a password of the access point;
显示模块,用于显示所述二维码;所述二维码用于供无人机扫描获得所述标识和所述密码;a display module, configured to display the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
建立模块,用于与所述无人机基于所述标识和所述密码建立通信连接;Establishing a module, configured to establish a communication connection with the drone based on the identifier and the password;
其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
第四方面,本发明实施例提供一种无人机,包括:In a fourth aspect, an embodiment of the present invention provides a drone, including:
扫描模块,用于扫描获取控制设备显示的二维码;a scanning module, configured to scan and acquire a two-dimensional code displayed by the control device;
解析模块,用于解析所述二维码,获得接入点的标识和密码;a parsing module, configured to parse the two-dimensional code to obtain an identifier and a password of the access point;
建立模块,用于与所述控制设备基于所述标识和所述密码建立通信连接;Establishing a module, configured to establish a communication connection with the control device based on the identifier and the password;
其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
第五方面,本发明实施例提供一种控制设备,包括:存储器、处理器、显示屏和收发器;In a fifth aspect, an embodiment of the present invention provides a control device, including: a memory, a processor, a display screen, and a transceiver;
所述存储器,用于存储执行基于二维码的通信方法的代码;The memory for storing code for executing a two-dimensional code-based communication method;
所述处理器,用于根据接入点的标识和密码,生成二维码;The processor is configured to generate a two-dimensional code according to an identifier and a password of the access point;
所述显示屏,用于显示所述二维码;所述二维码用于供无人机扫描获得所述标识和所述密码;The display screen is configured to display the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
所述收发器,用于与所述无人机基于所述标识和所述密码建立通信连接;The transceiver is configured to establish a communication connection with the drone based on the identifier and the password;
其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
第六方面,本发明实施例提供一种无人机,包括:存储器、摄像机、处理器和收发器;In a sixth aspect, an embodiment of the present invention provides a drone, including: a memory, a camera, a processor, and a transceiver;
所述存储器,用于存储执行基于二维码的通信方法的代码;The memory for storing code for executing a two-dimensional code-based communication method;
所述摄像机,用于扫描获取控制设备显示的二维码;The camera is configured to scan and acquire a two-dimensional code displayed by the control device;
所述处理器,用于解析所述二维码,获得接入点的标识和密码;The processor is configured to parse the two-dimensional code to obtain an identifier and a password of an access point;
所述收发器,用于与所述控制设备基于所述标识和所述密码建立通信连接;The transceiver is configured to establish a communication connection with the control device based on the identifier and the password;
其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
第七方面,本发明实施例提供一种无人飞行系统,包括:如本发明第三方面或第五方面提供的所述的控制设备,以及如本发明第四方面或第六方面 提供的无人机。According to a seventh aspect, an embodiment of the present invention provides an unmanned flight system, including: the control device according to the third or fifth aspect of the present invention, and the fourth or sixth aspect of the present invention Provided drones.
本发明实施例提供的基于二维码的通信方法、装置和系统,通过控制设备显示生成的二维码,以供无人机扫描获得接入点的标识和密码,由于控制设备与无人机均获知接入点的标识和密码,从而控制设备与无人机通过二维码中的接入点的标识和密码建立通信连接,以实现控制设备与无人机之间的通信。无需在无人机设置有接收机来使得无人机与控制设备实现对频,然后在约定的频率上通信;因此,降低了成本,也减小了无人机的体积,而且节省了对频过程,节省了电量消耗。The two-dimensional code-based communication method, device and system provided by the embodiment of the present invention display the generated two-dimensional code by the control device, so that the drone scans to obtain the identification and password of the access point, because the control device and the drone The identification and password of the access point are known, so that the control device and the drone establish a communication connection through the identification and password of the access point in the two-dimensional code to realize communication between the control device and the drone. There is no need to have a receiver in the drone to make the drone and the control device achieve the frequency, and then communicate on the agreed frequency; therefore, the cost is reduced, the size of the drone is reduced, and the frequency is saved. The process saves power consumption.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是根据本发明的实施例的无人飞行系统100的示意性架构图;1 is a schematic architectural diagram of an unmanned flight system 100 in accordance with an embodiment of the present invention;
图2为本发明实施例一提供的基于二维码的通信方法的流程图;2 is a flowchart of a two-dimensional code-based communication method according to Embodiment 1 of the present invention;
图3为本发明实施例二提供的基于二维码的通信方法的流程图;3 is a flowchart of a two-dimensional code-based communication method according to Embodiment 2 of the present invention;
图4为本发明实施例三提供的基于二维码的通信方法的流程图;4 is a flowchart of a method for communicating based on a two-dimensional code according to Embodiment 3 of the present invention;
图5为本发明实施例四提供的基于二维码的通信方法的流程图;FIG. 5 is a flowchart of a method for communicating based on a two-dimensional code according to Embodiment 4 of the present invention; FIG.
图6为本发明实施例一提供的控制设备的结构示意图;FIG. 6 is a schematic structural diagram of a control device according to Embodiment 1 of the present invention; FIG.
图7为本发明实施例一提供的无人机的结构示意图;FIG. 7 is a schematic structural diagram of a drone according to Embodiment 1 of the present invention; FIG.
图8为本发明实施例二提供的控制设备的结构示意图;8 is a schematic structural diagram of a control device according to Embodiment 2 of the present invention;
图9为本发明实施例二提供的无人机的结构示意图;9 is a schematic structural diagram of a drone according to a second embodiment of the present invention;
图10为本发明实施例提供的一种无人飞行系统的结构示意图。FIG. 10 is a schematic structural diagram of an unmanned flight system according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. Based on the embodiments of the present invention, those of ordinary skill in the art obtain the following without creative efforts. All other embodiments obtained are within the scope of the invention.
本发明的实施例提供了基于二维码的通信方法、装置和系统。以下对本发明的描述使用无人机UAV作为无人机的示例。对于本领域技术人员将会显而易见的是,可以不受限制地使用其他类型的无人机,本发明的实施例可以应用于各种类型的无人机。例如,无人机可以是小型或大型的无人机。在某些实施例中,无人机可以是旋翼无人机(rotorcraft),例如,由多个推动装置通过空气推动的多旋翼无人机,本发明的实施例并不限于此,无人机也可以是其它类型的无人机。Embodiments of the present invention provide a two-dimensional code based communication method, apparatus, and system. The following description of the invention uses a drone UAV as an example of a drone. It will be apparent to those skilled in the art that other types of drones can be used without limitation, and embodiments of the present invention can be applied to various types of drones. For example, the drone can be a small or large drone. In some embodiments, the drone may be a rotorcraft, for example, a multi-rotor drone powered by air by a plurality of pushing devices, embodiments of the invention are not limited thereto, drones It can also be other types of drones.
图1是根据本发明的实施例的无人飞行系统100的示意性架构图。本实施例以旋翼无人机为例进行说明。1 is a schematic architectural diagram of an unmanned flight system 100 in accordance with an embodiment of the present invention. This embodiment is described by taking a rotorless drone as an example.
无人飞行系统100可以包括无人机110、云台120、显示设备130和操纵设备140。其中,无人机110可以包括动力系统150、飞行控制系统160和机架170。无人机110可以与操纵设备140和显示设备130进行无线通信。The unmanned flight system 100 can include a drone 110, a pan/tilt head 120, a display device 130, and a steering device 140. The drone 110 can include a power system 150, a flight control system 160, and a rack 170. The drone 110 can be in wireless communication with the manipulation device 140 and the display device 130.
机架170可以包括机身和脚架(也称为起落架)。机身可以包括中心架以及与中心架连接的一个或多个机臂,一个或多个机臂呈辐射状从中心架延伸出。脚架与机身连接,用于在无人机110着陆时起支撑作用。Rack 170 can include a fuselage and a stand (also known as a landing gear). The fuselage may include a center frame and one or more arms coupled to the center frame, the one or more arms extending radially from the center frame. The tripod is coupled to the fuselage for supporting when the drone 110 is landing.
动力系统150可以包括电子调速器(简称为电调)151、一个或多个螺旋桨153以及与一个或多个螺旋桨153相对应的一个或多个电机152,其中电机152连接在电子调速器151与螺旋桨153之间,电机152和螺旋桨153设置在对应的机臂上;电子调速器151用于接收飞行控制系统160产生的驱动信号,并根据驱动信号提供驱动电流给电机152,以控制电机152的转速。电机152用于驱动螺旋桨旋转,从而为无人机110的飞行提供动力,该动力使得无人机110能够实现一个或多个自由度的运动。在某些实施例中,无人机110可以围绕一个或多个旋转轴旋转。例如,上述旋转轴可以包括横滚轴、平移轴和俯仰轴。应理解,电机152可以是直流电机,也可以交流电机。另外,电机152可以是无刷电机,也可以有刷电机。The powertrain 150 may include an electronic governor (referred to as ESC) 151, one or more propellers 153, and one or more motors 152 corresponding to one or more propellers 153, wherein the motor 152 is coupled to the electronic governor 151 and the propeller 153, the motor 152 and the propeller 153 are disposed on the corresponding arm; the electronic governor 151 is configured to receive the driving signal generated by the flight control system 160, and provide a driving current to the motor 152 according to the driving signal to control The rotational speed of the motor 152. Motor 152 is used to drive the propeller to rotate to power the flight of drone 110, which enables drone 110 to achieve one or more degrees of freedom of motion. In some embodiments, the drone 110 can be rotated about one or more axes of rotation. For example, the above-described rotating shaft may include a roll axis, a pan axis, and a pitch axis. It should be understood that the motor 152 can be a DC motor or an AC motor. In addition, the motor 152 may be a brushless motor or a brush motor.
飞行控制系统160可以包括飞行控制器161和传感系统162。传感系统162用于测量无人机的姿态信息,即无人机110在空间的位置信息和状态信息,例如,三维位置、三维角度、三维速度、三维加速度和三维角速度等。传感系统162例如可以包括陀螺仪、电子罗盘、惯性测量单元(英文:Inertial  Measurement Unit,简称:IMU)、视觉传感器、全球导航卫星系统和气压计等传感器中的至少一种。例如,全球导航卫星系统可以是全球定位系统(英文:Global Positioning System,简称:GPS)或者。飞行控制器161用于控制无人机110的飞行,例如,可以根据传感系统162测量的姿态信息控制无人机110的飞行。应理解,飞行控制器161可以按照预先编好的程序指令对无人机110进行控制,也可以通过响应来自操纵设备140的一个或多个控制指令对无人机110进行控制。 Flight control system 160 may include flight controller 161 and sensing system 162. The sensing system 162 is used to measure the attitude information of the drone, that is, the position information and state information of the drone 110 in space, for example, three-dimensional position, three-dimensional angle, three-dimensional speed, three-dimensional acceleration, and three-dimensional angular velocity. The sensing system 162 can include, for example, a gyroscope, an electronic compass, and an inertial measurement unit (English: Inertial) At least one of a sensor such as a Measurement Unit (IMU), a vision sensor, a global navigation satellite system, and a barometer. For example, the global navigation satellite system can be a global positioning system (English: Global Positioning System, referred to as: GPS) or. The flight controller 161 is used to control the flight of the drone 110, for example, the flight of the drone 110 can be controlled based on the attitude information measured by the sensing system 162. It should be understood that the flight controller 161 may control the drone 110 in accordance with pre-programmed program instructions, or may control the drone 110 in response to one or more control commands from the steering device 140.
云台120可以包括电调121和电机122。云台用于携带拍摄装置123。飞行控制器161可以通过电调121和电机122控制云台120的运动。可选地,作为另一实施例,云台120还可以包括控制器,用于通过控制电调121和电机122来控制云台120的运动。应理解,云台120可以独立于无人机110,也可以为无人机110的一部分。应理解,电机122可以是直流电机,也可以交流电机。另外,电机122可以是无刷电机,也可以有刷电机。还应理解,云台可以位于无人机的顶部,也可以位于无人机的底部。The pan/tilt 120 can include an ESC 121 and a motor 122. The pan/tilt is used to carry the photographing device 123. The flight controller 161 can control the motion of the platform 120 through the ESC 121 and the motor 122. Optionally, as another embodiment, the platform 120 may further include a controller for controlling the movement of the platform 120 by controlling the ESC 121 and the motor 122. It should be understood that the platform 120 can be independent of the drone 110 or a portion of the drone 110. It should be understood that the motor 122 can be a DC motor or an AC motor. In addition, the motor 122 may be a brushless motor or a brush motor. It should also be understood that the gimbal can be located at the top of the drone or at the bottom of the drone.
拍摄装置123例如可以是照相机或摄像机等用于捕获图像的设备,拍摄装置123可以与飞行控制器通信,并在飞行控制器的控制下进行拍摄。The photographing device 123 may be, for example, a device for capturing an image such as a camera or a video camera, and the photographing device 123 may communicate with the flight controller and perform photographing under the control of the flight controller.
显示设备130位于无人飞行系统100的地面端,可以通过无线方式与无人机110进行通信,并且可以用于显示无人机110的姿态信息。另外,还可以在显示设备130上显示拍摄装置拍摄的图像。应理解,显示设备130可以是独立的设备,也可以设置在操纵设备140中。The display device 130 is located at the ground end of the unmanned flight system 100, can communicate with the drone 110 wirelessly, and can be used to display attitude information of the drone 110. In addition, an image taken by the photographing device can also be displayed on the display device 130. It should be understood that the display device 130 may be a stand-alone device or may be disposed in the manipulation device 140.
该显示设备可以是屏幕。该显示设备可以是或者可以不是触摸屏。该显示设备可以是发光二极管(LED)屏幕、OLED屏幕、液晶显示器(LCD)屏幕、等离子体屏幕、或任何其他类型的屏幕。该显示设备可以被配置成用于显示一个图形用户界面(GUI)。该GUI可以显示出可以允许用户控制UAV的动作的图像。例如,用户可以从该图像中选择目标。该目标可以是静止的目标或移动的目标。用户可以从该图像中选择行进方向。用户可以选择该图像的一部分(例如,点、区域、和/或物体)来限定该目标和/或方向。用户可以通过直接触摸屏幕(例如,触摸屏)来选择该目标和/或方向。用户可以触摸屏幕的一部分。用户可以通过触摸屏幕上的一个点来触摸屏幕的该部分。替代地,用户可以在屏幕上从预先存在的区域集合中选择一个区域、或者可 以针对一个区域绘出边界、或者以任何其他方式指定该平面的一部分。用户可以通过借助于用户交互装置(例如,鼠标、操纵杆、键盘、跟踪球、触式控制板、按钮、口头命令、手势识别、姿态传感器、热学传感器、触碰式电容性传感器、或任何其他装置)选择图像的该部分来选择目标和/或方向。触摸屏可以被配置成用于检测用户的触摸位置、触摸时长、触摸压力、和/或触摸运动,其中上述触摸方式中的每一种都可以指明用户的特定输入命令。The display device can be a screen. The display device may or may not be a touch screen. The display device can be a light emitting diode (LED) screen, an OLED screen, a liquid crystal display (LCD) screen, a plasma screen, or any other type of screen. The display device can be configured to display a graphical user interface (GUI). The GUI can display an image that can allow the user to control the actions of the UAV. For example, a user can select a target from the image. The target can be a stationary target or a moving target. The user can select the direction of travel from the image. A user may select a portion of the image (eg, a point, region, and/or object) to define the target and/or direction. The user can select the target and/or direction by directly touching the screen (eg, a touch screen). The user can touch a part of the screen. The user can touch that portion of the screen by touching a point on the screen. Alternatively, the user may select an area from a pre-existing set of areas on the screen, or may Draw a border for an area, or specify a portion of that plane in any other way. Users can by means of user interaction devices (eg, mouse, joystick, keyboard, trackball, touch panel, buttons, verbal commands, gesture recognition, attitude sensors, thermal sensors, touch capacitive sensors, or any other The device selects the portion of the image to select the target and/or direction. The touch screen can be configured to detect a user's touch location, touch duration, touch pressure, and/or touch motion, wherein each of the above-described touch modes can indicate a particular input command of the user.
该显示设备上的图像可以显示出借助于可移动物体的有效载荷所收集到的视图。例如,可以将成像装置收集的图像显示在该显示设备上。这可以被视为第一人称视像(FPV)。在一些情形下,可以提供单一的成像装置并且可以提供单一的FPV。替代地,可以提供具有不同视野的多个成像装置。可以在这多个FPV之间转换视像,或者可以同时显示出这多个FPV。这多个FPV可以对应于可以具有不同视野的不同成像装置(或由其产生)。用户终端处的用户可以选择该成像装置所收集的图像的一部分来指定可移动物体的目标和/或运动方向。The image on the display device can show a view collected by means of the payload of the movable object. For example, an image collected by the imaging device can be displayed on the display device. This can be considered a first person video (FPV). In some cases, a single imaging device can be provided and a single FPV can be provided. Alternatively, a plurality of imaging devices having different fields of view may be provided. The video can be converted between the plurality of FPVs, or the plurality of FPVs can be displayed simultaneously. The plurality of FPVs may correspond to (or be generated by) different imaging devices that may have different fields of view. The user at the user terminal can select a portion of the image collected by the imaging device to specify the target and/or direction of motion of the movable object.
在另一个实例中,该显示设备上的图像可以显示出可以借助于来自可移动物体的有效载荷的信息而生成的图谱。这个图谱可以可选地是借助于多个成像装置(例如,右相机、左相机、或更多相机)生成的,这可以利用立体映射技术。在一些情形下,这个图可以是基于关于UAV相对于环境的、成像装置相对于环境的、和/或UAV相对于成像装置的位置信息而生成的。位置信息可以包括姿势信息、空间位置信息、角速度、线速度、角加速度、和/或线加速度。这种图谱可以可选地是借助于一个或多个额外传感器而生成的,例如在本文其他地方更详细描述的。这种图谱可以是二维图谱或三维图谱。可以在二维图谱视像与三维图谱视像之间转换,或者可以同时显示二维图谱视像和三维图谱视像。用户终端处的用户可以选择这个图谱的一部分来指定可移动物体的目标和/或运动方向。可以在一个或多个FPV与一个或多个图谱视像之间转换视像,或者可以同时显示该一个或多个FPV和一个或多个图谱视像。用户可以使用这些视像中的任一个来对目标或方向进行选择。用户选择的部分可以包括目标和/或方向。用户可以使用所描述的任一选择技术来选择该部分。In another example, the image on the display device can display a map that can be generated by means of information from the payload of the movable object. This map may optionally be generated by means of a plurality of imaging devices (eg, a right camera, a left camera, or more), which may utilize stereo mapping techniques. In some cases, this map may be generated based on location information about the UAV relative to the environment, the imaging device relative to the environment, and/or the UAV relative to the imaging device. The location information may include gesture information, spatial location information, angular velocity, linear velocity, angular acceleration, and/or linear acceleration. Such a map may alternatively be generated by means of one or more additional sensors, such as described in more detail elsewhere herein. Such a map can be a two-dimensional map or a three-dimensional map. It can be converted between 2D map video and 3D map video, or 2D map video and 3D map video can be displayed simultaneously. The user at the user terminal can select a portion of this map to specify the target and/or direction of motion of the movable object. The video may be converted between one or more FPVs and one or more of the atlas images, or the one or more FPVs and one or more of the atlas images may be displayed simultaneously. The user can use either of these videos to select a target or direction. The portion selected by the user may include the target and/or direction. The user can select this portion using any of the selection techniques described.
在一些实施例中,该图像可以是以显示于用户终端(例如,虚拟现实系 统或增强现实系统)上的3D虚拟环境来提供的。该3D虚拟环境可以可选地对应于一个3D图谱。该虚拟环境可以包括可以由用户操纵的多个点或物体。用户可以通过在该虚拟环境中的多种不同动作来操纵这些点或物体。这些动作的实例可以包括:选择一个或多个点或物体、拖放、平移、旋转、自旋、推、拉、放大、缩小等。可以想到在三维虚拟空间中对这些点或物体的任何类型的移动动作。用户终端处的用户可以操纵虚拟环境中的这些点或物体以控制UAV的飞行路径和/或UAV的运动特性In some embodiments, the image may be displayed on a user terminal (eg, a virtual reality system) The 3D virtual environment on the system or augmented reality system is provided. The 3D virtual environment can optionally correspond to a 3D map. The virtual environment can include a plurality of points or objects that can be manipulated by a user. The user can manipulate these points or objects through a variety of different actions in the virtual environment. Examples of such actions may include selecting one or more points or objects, dragging and dropping, panning, rotating, spinning, pushing, pulling, zooming in, zooming out, and the like. Any type of moving action on these points or objects in a three dimensional virtual space is conceivable. Users at the user terminal can manipulate these points or objects in the virtual environment to control the flight path of the UAV and/or the motion characteristics of the UAV
操纵设备140位于无人飞行系统100的地面端,可以通过无线方式与无人机110进行通信,用于对无人机110进行远程操纵。控制设备例如可以是遥控器或者安装有控制无人机的应用程序(英文:Application,简称:APP)的用户终端,由于是配置有触摸屏的终端设备,用户可以通过对终端设备的触摸屏对无人机输出飞行控制指令或者拍摄装置指令,例如遥控器、膝上型电脑、智能手机、平板电脑、地面控制站、智能手表、智能手环等中的一种或多种。本发明的实施例中,通过操纵设备接收用户的输入,可以指通过遥控器上的拔轮、按钮、按键、摇杆等输入装置或者用户终端上的用户界面(UI)对无人机进行操控。The handling device 140 is located at the ground end of the unmanned flight system 100 and can communicate with the drone 110 wirelessly for remote manipulation of the drone 110. The control device may be, for example, a remote controller or a user terminal equipped with an application (English: Application, referred to as APP) for controlling the drone. Since it is a terminal device configured with a touch screen, the user can pass the touch screen to the terminal device to the unmanned person. The machine outputs a flight control command or a camera command, such as one or more of a remote controller, a laptop, a smart phone, a tablet, a ground control station, a smart watch, a smart bracelet, and the like. In the embodiment of the present invention, the user's input is received by the manipulation device, and the drone can be controlled by the input device of the pull wheel, the button, the button, the joystick, or the user interface (UI) on the user terminal. .
应理解,上述对于无人飞行系统各组成部分的命名仅是出于标识的目的,并不应理解为对本发明的实施例的限制。It should be understood that the above-mentioned nomenclature of the components of the unmanned flight system is for the purpose of identification only and is not to be construed as limiting the embodiments of the invention.
图2为本发明实施例一提供的基于二维码的通信方法的流程图,如图2所示,本实施例的方法可以包括:2 is a flowchart of a method for communication based on a two-dimensional code according to Embodiment 1 of the present invention. As shown in FIG. 2, the method in this embodiment may include:
S201、控制设备根据接入点的标识和密码,生成二维码。S201. The control device generates a two-dimensional code according to the identifier and password of the access point.
S202、所述控制设备显示所述二维码;所述二维码用于供无人机扫描获得所述标识和所述密码。S202. The control device displays the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password.
S203、所述控制设备与所述无人机基于所述标识和所述密码建立通信连接。S203. The control device and the drone establish a communication connection based on the identifier and the password.
本实施例中,控制设备根据接入点的标识和密码,生成二维码,该接入点为广播无线信号的设备。然后控制设备通过显示屏显示该二维码,该二维码可以供扫描以获得接入点的标识和密码。无人机可以对控制设备显示的该二维码扫描以获得该二维码,然后解析该二维码,获得接入点的标识和密码。本实施例中,控制设备是获知该接入点的标识和密码的,而且无人机也扫描 获得该接入点的标识的密码。本实施例中的接入点可以是控制设备,也可以是无人机。然后控制设备与无人机基于该接入点的标识和密码相互之间建立通信连接,从而控制设备与无人机可以基于该通信连接进行通信,例如:控制设备向无人机发送控制指令等,无人机向控制设备传输拍摄画面等。In this embodiment, the control device generates a two-dimensional code according to the identifier and password of the access point, and the access point is a device that broadcasts a wireless signal. The control device then displays the two-dimensional code through the display screen, which can be scanned for the identification and password of the access point. The drone can scan the two-dimensional code displayed by the control device to obtain the two-dimensional code, and then parse the two-dimensional code to obtain an identification and password of the access point. In this embodiment, the control device learns the identifier and password of the access point, and the drone also scans. Get the password for the identity of the access point. The access point in this embodiment may be a control device or a drone. Then, the control device and the drone establish a communication connection with each other based on the identification and password of the access point, so that the control device and the drone can communicate based on the communication connection, for example, the control device sends a control command to the drone. The drone transmits a shooting picture to the control device.
本实施例提供的基于二维码的通信方法,通过控制设备显示生成的二维码,以供无人机扫描获得接入点的标识和密码,由于控制设备与无人机均获知接入点的标识和密码,从而控制设备与无人机通过二维码中的接入点的标识和密码建立通信连接,以实现控制设备与无人机之间的通信。无需在无人机设置有接收机来使得无人机与控制设备实现对频,然后在约定的频率上通信;因此,降低了成本,也减小了无人机的体积,而且节省了对频过程,节省了电量消耗。The two-dimensional code-based communication method provided by this embodiment displays the generated two-dimensional code by the control device, so that the drone scans to obtain the identification and password of the access point, and the control device and the drone are both informed of the access point. The identification and password, so that the control device and the drone establish a communication connection through the identification and password of the access point in the two-dimensional code to realize communication between the control device and the drone. There is no need to have a receiver in the drone to make the drone and the control device achieve the frequency, and then communicate on the agreed frequency; therefore, the cost is reduced, the size of the drone is reduced, and the frequency is saved. The process saves power consumption.
图3为本发明实施例二提供的基于二维码的通信方法的流程图,如图3所示,本实施例的方法可以包括:FIG. 3 is a flowchart of a two-dimensional code-based communication method according to Embodiment 2 of the present invention. As shown in FIG. 3, the method in this embodiment may include:
S301、无人机扫描获取控制设备显示的二维码。S301. The UAV scans and acquires a two-dimensional code displayed by the control device.
S302、所述无人机解析所述二维码,获得接入点的标识和密码。S302. The UAV parses the two-dimensional code to obtain an identifier and a password of the access point.
S303、所述无人机与所述控制设备基于所述标识和所述密码建立通信连接。S303. The UAV and the control device establish a communication connection based on the identifier and the password.
本实施例中,无人机可以通过摄像装置扫描获取控制设备显示的二维码,控制设备显示的二维码可以是控制设备通过显示屏显示的二维码,也可以是控制设备的机身上显示的二维码(例如是印刷或者粘贴在该控制设备的机身上)。In this embodiment, the UAV can scan and acquire the two-dimensional code displayed by the control device through the camera device, and the two-dimensional code displayed by the control device can be a two-dimensional code displayed by the control device through the display screen, or can be the body of the control device. The two-dimensional code displayed on it (for example, printed or pasted on the body of the control device).
在无人机扫描获取二维码后,解析该二维码,可以获得接入点的标识和密码,该接入点为广播无线信号的设备。本实施例中,控制设备是获知该接入点的标识和密码的,而且无人机也扫描获得该接入点的标识的密码。本实施例中的接入点可以是控制设备,也可以是无人机。然后无人机与控制设备基于该接入点的标识和密码相互之间建立通信连接,从而无人机与控制设备可以基于该通信连接进行通信,例如:控制设备向无人机发送控制指令等,无人机向控制设备传输拍摄画面等。After the UAV scans and obtains the two-dimensional code, the two-dimensional code is parsed to obtain an identification and a password of the access point, and the access point is a device for broadcasting a wireless signal. In this embodiment, the control device learns the identifier and password of the access point, and the drone also scans the password for obtaining the identifier of the access point. The access point in this embodiment may be a control device or a drone. The drone and the control device then establish a communication connection with each other based on the identification and password of the access point, so that the drone and the control device can communicate based on the communication connection, for example, the control device sends a control command to the drone. The drone transmits a shooting picture to the control device.
本实施例提供的基于二维码的通信方法,通过无人机对控制设备显示的二维码扫描,以获得接入点的标识和密码,由于控制设备与无人机均获知接 入点的标识和密码,从而控制设备与无人机通过二维码中的接入点的标识和密码建立通信连接,以实现控制设备与无人机之间的通信。无需在无人机设置有接收机来使得无人机与控制设备实现对频,然后在约定的频率上通信;因此,降低了成本,也减小了无人机的体积,而且节省了对频过程,节省了电量消耗。The two-dimensional code-based communication method provided by the embodiment scans the two-dimensional code displayed by the control device by the drone to obtain the identification and password of the access point, and the control device and the drone are both informed. The identification and password of the entry point, so that the control device and the drone establish a communication connection through the identification and password of the access point in the two-dimensional code to realize communication between the control device and the drone. There is no need to have a receiver in the drone to make the drone and the control device achieve the frequency, and then communicate on the agreed frequency; therefore, the cost is reduced, the size of the drone is reduced, and the frequency is saved. The process saves power consumption.
图4为本发明实施例三提供的基于二维码的通信方法的流程图,如图4所示,本实施例以接入点为控制设备为例,本实施例的方法可以包括:4 is a flowchart of a two-dimensional code-based communication method according to Embodiment 3 of the present invention. As shown in FIG. 4, in this embodiment, an access point is used as a control device, and the method in this embodiment may include:
S401、控制设备根据所述控制设备的标识和密码,生成二维码。S401. The control device generates a two-dimensional code according to the identifier and the password of the control device.
S402、所述控制设备显示所述二维码。所述二维码用于供无人机扫描获得所述标识和所述密码。S402. The control device displays the two-dimensional code. The two-dimensional code is used for the drone to scan to obtain the identifier and the password.
本实施例中,控制设备作为接入点具有标识和密码,该密码为用于接入该控制设备的密码。因此,控制设备为了使其它设备能获取该控制设备的标识和密码,该控制设备根据该控制设备的标识和密码,生成二维码,并显示该二维码。该二维码用于供无人机扫描获得所述标识和所述密码。In this embodiment, the control device has an identifier and a password as an access point, and the password is a password for accessing the control device. Therefore, in order for the control device to enable the other device to acquire the identification and password of the control device, the control device generates a two-dimensional code according to the identification and password of the control device, and displays the two-dimensional code. The two-dimensional code is used for the drone to scan to obtain the identification and the password.
S403、无人机扫描获取控制设备显示的二维码。S403. The UAV scans and acquires a two-dimensional code displayed by the control device.
本实施例,无人机对控制设备显示的二维码进行扫描,以获取该二维码。In this embodiment, the drone scans the two-dimensional code displayed by the control device to obtain the two-dimensional code.
其中,控制设备显示的二维码可以是如S301和S302所示的控制设备通过屏幕显示的二维码。The two-dimensional code displayed by the control device may be a two-dimensional code displayed by the control device through the screen as shown in S301 and S302.
作为另一种可替换的方式,控制设备显示的二维码可以是印刷或者粘贴在控制设备机身上的二维码。二维码中的控制设备的标识和密码可以是默认配置的,例如是在出厂时预先配置好的。As a further alternative, the two-dimensional code displayed by the control device may be a two-dimensional code printed or affixed to the body of the control device. The identification and password of the control device in the QR code can be configured by default, for example, pre-configured at the factory.
S404、所述无人机解析所述二维码,获得控制设备的标识和密码。S404. The UAV parses the two-dimensional code to obtain an identifier and a password of the control device.
S405、所述无人机向所述控制设备发送接入请求。所述接入请求包括所述控制设备的标识和所述密码。S405. The drone sends an access request to the control device. The access request includes an identifier of the control device and the password.
S406、所述控制设备向所述无人机发送接入成功响应。S406. The control device sends an access success response to the drone.
本实施例中,无人机解析该二维码,获得控制设备的标识和密码后,基于该控制设备的标识和密码与控制设备建立通信连接。一种实现方式为:无人机向控制设备发送接入请求,该接入请求包括该控制设备的标识和密码,该接入请求用于无人机请求与该控制设备建立通信连接。控制设备接收到该无人机发送的接入请求后,根据该接入请求中携带的标识和密码为该控制设 备的标识和密码,向无人机发送接入成功响应,以表示同意与无人机建立通信连接。无人机接收到该接入成功响应后,控制设备与无人机之间的通信连接成功建立。In this embodiment, after the UAV parses the two-dimensional code and obtains the identifier and password of the control device, a communication connection is established with the control device based on the identifier and password of the control device. In one implementation manner, the drone sends an access request to the control device, where the access request includes an identifier and a password of the control device, and the access request is used by the drone to establish a communication connection with the control device. After receiving the access request sent by the drone, the control device sets the identifier and password carried in the access request as the control device. The backup ID and password send an access success response to the drone to indicate that it agrees to establish a communication connection with the drone. After the drone receives the successful response, the communication connection between the control device and the drone is successfully established.
本实施例提供的基于二维码的通信方法,通过控制设备作为接入点,根据该控制设备的标识和密码生成二维码;无人机再对控制设备显示的二维码扫描,以获得控制设备的标识和密码,然后控制设备与无人机通过二维码中的控制设备的标识和密码建立通信连接,以实现控制设备与无人机之间的通信。无需在无人机设置有接收机来使得无人机与控制设备实现对频,然后在约定的频率上通信;因此,降低了成本,也减小了无人机的体积,而且节省了对频过程,节省了电量消耗。The two-dimensional code-based communication method provided by this embodiment generates a two-dimensional code according to the identification and password of the control device by using the control device as an access point; the drone further scans the two-dimensional code displayed by the control device to obtain The identification and password of the control device are controlled, and then the control device and the drone establish a communication connection through the identification and password of the control device in the two-dimensional code to realize communication between the control device and the drone. There is no need to have a receiver in the drone to make the drone and the control device achieve the frequency, and then communicate on the agreed frequency; therefore, the cost is reduced, the size of the drone is reduced, and the frequency is saved. The process saves power consumption.
可选地,控制设备作为接入点可以与多个无人机建立上述通信连接,每个无人机的方案可以参见图4所示实施例中无人机的执行方案。Optionally, the control device can be used as an access point to establish the foregoing communication connection with multiple UAVs. For the scheme of each UAV, refer to the implementation scheme of the UAV in the embodiment shown in FIG.
图5为本发明实施例四提供的基于二维码的通信方法的流程图,如图5所示,本实施例以接入点为无人机为例,本实施例用于修改无人机的密码,本实施例的方法可以包括:FIG. 5 is a flowchart of a method for communication based on a two-dimensional code according to Embodiment 4 of the present invention. As shown in FIG. 5, in this embodiment, an access point is used as an unmanned aerial vehicle, and this embodiment is used to modify a drone. The password of the embodiment may include:
S501、控制设备根据无人机的标识和更改后的密码,生成二维码。S501. The control device generates a two-dimensional code according to the identifier of the drone and the changed password.
S502、所述控制设备显示所述二维码。S502. The control device displays the two-dimensional code.
本实施例中,无人机作为接入点具有标识和密码,该密码为用于接入该无人机的密码。当需要修改无人机的密码时,用户可以通过操作控制设备来修改无人机的密码,控制设备可以获取该用户输入的该无人机的更改后的密码,然后控制设备根据该无人机的标识和更改后的密码,生成二维码,并显示该二维码。该二维码用于供无人机扫描获得无人机的所述标识和所述更改后的密码。In this embodiment, the drone has an identification and a password as an access point, and the password is a password for accessing the drone. When the password of the drone needs to be modified, the user can modify the password of the drone by operating the control device, and the control device can obtain the changed password of the drone input by the user, and then control the device according to the drone. The logo and the changed password, generate a QR code, and display the QR code. The two-dimensional code is used for the drone to scan for the identifier of the drone and the changed password.
S503、无人机扫描获取控制设备显示的二维码。S503. The UAV scans and acquires a two-dimensional code displayed by the control device.
本实施例,无人机对控制设备显示的二维码进行扫描,以获取该二维码。In this embodiment, the drone scans the two-dimensional code displayed by the control device to obtain the two-dimensional code.
S504、所述无人机解析所述二维码,获得无人机的标识和更改后的密码。S504. The UAV parses the two-dimensional code to obtain an identifier of the drone and a changed password.
S505、所述无人机更新存储所述无人机的密码为所述更改后的密码。S505. The UAV updates a password for storing the UAV as the changed password.
S506、所述无人机与所述控制设备基于所述标识和所述更改后的密码建立通信连接。S506. The UAV and the control device establish a communication connection based on the identifier and the changed password.
本实施例中,无人机解析该二维码,获得无人机的标识和更改后的密码。 更改后的密码与无人机当前的密码不同,本实施例的无人机更新存储该无人机的密码为更改后的密码,此时,无人机的密码变更为更改后的密码,然后,控制设备与无人机基于该无人机的标识和该变更改后的密码建立通信连接。In this embodiment, the drone analyzes the two-dimensional code to obtain the identifier of the drone and the changed password. The changed password is different from the current password of the drone. The drone of this embodiment updates the password of the drone to the changed password. At this time, the password of the drone is changed to the changed password, and then The control device and the drone establish a communication connection based on the identifier of the drone and the changed password.
在一些实施方式中,S501的一种实现方式为:控制设备根据所述无人机的标识、所述更改后的密码和密码更改指示,生成所述二维码;所述密码更改指示用于指示更新所述无人机的密码为所述更改后的密码。相应地,无人机解析二维码,还可以获得密码更改指示,无人机根据密码更改指示确定无人机的密码需要修改,因此,在无人机执行S505时的一种实现方式为:所述无人机根据所述密码更改指示,更新存储所述无人机的密码为所述更改后的密码。In some implementations, an implementation manner of S501 is: the control device generates the two-dimensional code according to the identifier of the drone, the changed password, and a password change indication; the password change indication is used to The password indicating that the drone is updated is the changed password. Correspondingly, the UAV can resolve the QR code and obtain the password change indication. The UAV determines that the UAV password needs to be modified according to the password change indication. Therefore, an implementation method when the UAV executes S505 is: And the drone updates the password for storing the drone as the changed password according to the password change indication.
在一些实施方式中,在控制设备执行S501之前,对无人机的密码更改进行身份认证。在身份认证成功之后执行S501,若身份认证失败后则结束(即不执行图5所示的实施例),这样可以避免恶意篡改无人机的密码而造成控制设备与无人机之间无法通信的问题。其中,对身份认证的方式包括以下至少一种:脸部识别、声纹识别、指纹识别、用户ID输入等。In some embodiments, the password change of the drone is authenticated prior to the control device performing S501. After the identity authentication succeeds, S501 is executed, and if the identity authentication fails, the process ends (ie, the embodiment shown in FIG. 5 is not executed), so as to avoid maliciously tampering with the password of the drone and causing communication between the control device and the drone. The problem. The method for identity authentication includes at least one of the following: face recognition, voiceprint recognition, fingerprint recognition, user ID input, and the like.
在一些实施方式中,S506的一种实现方式为:控制设备向无人机发送接入请求,所述接入请求包括所述无人机的标识和所述更改后的密码,该接入请求用于控制设备请求与该无人机建立通信连接。所述无人机接收所述控制设备发送的接入请求;根据接入请求中的标识与密码与所述无人机存储的标识和密码相同,向所述控制设备发送接入成功响应,以表示同意与控制设备建立通信连接。控制设备接收到该接入成功响应后,控制设备与无人机之间的通信连接成功建立。可选地,无人机作为接入点可以与多个控制设备建立上述通信连接,其它控制设备的方案可以参见S506所示的这种实现方式中控制设备的执行方案。In some embodiments, an implementation manner of S506 is: the control device sends an access request to the drone, the access request includes an identifier of the drone and the changed password, the access request Used to control the device request to establish a communication connection with the drone. Receiving, by the drone, an access request sent by the control device; sending an access success response to the control device according to the identifier and password stored in the access request being the same as the identifier and password stored by the drone Indicates that you agree to establish a communication connection with the control device. After the control device receives the access success response, the communication connection between the control device and the drone is successfully established. Optionally, the UAV as an access point can establish the foregoing communication connection with multiple control devices. For the solution of other control devices, refer to the implementation scheme of the control device in the implementation manner shown in S506.
在一些实施方式中,S501的一种实现方式为:所述控制设备根据所述无人机的标识、更改后的密码和所述控制设备的标识,生成所述二维码,所述控制设备的标识用于所述控制设备请求接入所述无人机。相应地,无人机解析二维码,还可以获得该控制设备的标识,无人机根据该控制设备的标识可以确定该控制设备请求接入该无人机。因此,S506的一种实现方式为:所述无人机根据所述无人机的标识、所述更改后的密码和所述控制设备的标识, 向所述控制设备发送接入成功响应,以表示同意与控制设备建立通信连接。控制设备接收到该接入成功响应后,控制设备与无人机之间的通信连接成功建立。In some implementations, an implementation manner of the S501 is: the control device generates the two-dimensional code according to the identifier of the drone, the changed password, and the identifier of the control device, where the control device The identifier is used by the control device to request access to the drone. Correspondingly, the UAV can analyze the two-dimensional code, and can also obtain the identifier of the control device, and the UAV can determine that the control device requests access to the UAV according to the identifier of the control device. Therefore, an implementation manner of the S506 is: the drone is based on the identifier of the drone, the changed password, and the identifier of the control device. An access success response is sent to the control device to indicate consent to establish a communication connection with the control device. After the control device receives the access success response, the communication connection between the control device and the drone is successfully established.
本实施例提供的基于二维码的通信方法,通过无人机作为接入点,控制设备根据该无人机的标识和更改后的密码生成二维码。无人机再对控制设备显示的二维码扫描,以获得无人机的标识和更改后的密码,并更新该无人机的密码为该更改后的密码。然后控制设备与无人机通过二维码中的该无人机的标识和更改后的密码建立通信连接,以实现控制设备与无人机之间的通信。无需在无人机设置有接收机来使得无人机与控制设备实现对频,然后在约定的频率上通信;因此,降低了成本,也减小了无人机的体积,而且节省了对频过程,节省了电量消耗;而且本实施例基于二维码来修改无人机的密码,提高了无人机的密码修改效率。The two-dimensional code-based communication method provided by this embodiment uses a drone as an access point, and the control device generates a two-dimensional code according to the identifier of the drone and the changed password. The drone scans the QR code displayed by the control device to obtain the logo of the drone and the changed password, and updates the password of the drone as the changed password. Then, the control device and the drone establish a communication connection through the identifier of the drone in the two-dimensional code and the changed password to implement communication between the control device and the drone. There is no need to have a receiver in the drone to make the drone and the control device achieve the frequency, and then communicate on the agreed frequency; therefore, the cost is reduced, the size of the drone is reduced, and the frequency is saved. The process saves power consumption; and the embodiment modifies the password of the drone based on the two-dimensional code, thereby improving the password modification efficiency of the drone.
在本发明上述各实施例的基础上,可选地,所述控制设备与所述无人机建立通信连接之后,无人机输出提示信息,所述提示信息用于提示所述无人机与所述控制设备已建立通信连接。其中,无人机输出提示信息的方式可以为:控制LED灯(例如机头灯和/或机尾灯)发出预设灯光(例如闪烁),控制无人机的电机发生振动,或者,控制无人机的蜂鸣器发生预设声音(例如输出哔的一声)等,以此来通知用户通信连接已建立。On the basis of the foregoing embodiments of the present invention, optionally, after the control device establishes a communication connection with the UAV, the UAV outputs prompt information, where the prompt information is used to prompt the UAV and The control device has established a communication connection. The manner in which the drone outputs the prompt information may be: controlling the LED light (for example, the headlight and/or the taillight) to emit a preset light (for example, blinking), controlling the motor of the drone to vibrate, or controlling the unmanned person. The buzzer of the machine generates a preset sound (such as a click of the output cymbal) to notify the user that the communication connection has been established.
在本发明上述各实施例的基础上,可选地,所述控制设备与所述无人机建立通信连接之后,控制设备输出提示信息,所述提示信息用于提示所述控制设备与所述无人机已建立通信连接。其中,控制设备输出提示信息的方式可以为:控制控制设备的指示灯发生预设灯光(例如闪烁),或者,控制控制设备的蜂鸣器发生预设声音(例如输出哔的一声),或者控制显示屏显示预设信息等,以此来通知用户通信连接已建立。On the basis of the foregoing embodiments of the present invention, optionally, after the control device establishes a communication connection with the UAV, the control device outputs prompt information, where the prompt information is used to prompt the control device and the The drone has established a communication connection. The control device may output the prompt information by: controlling the indicator light of the control device to generate a preset light (for example, blinking), or controlling the buzzer of the control device to generate a preset sound (for example, one sound of the output), or controlling The display shows preset information, etc., to inform the user that the communication connection has been established.
在本发明上述各实施例的基础上,可选地,所述无人机还输出扫描优化指示,所述扫描优化指示用于指示优化所述无人机与所述控制设备显示的所述二维码之间的扫描位置。在将无人机对二维码进行扫描的过程中,无人机可能无法清晰认别二维码,为了方便无人机识别二维码,无人机可以输出扫描优化指示,例如:指示控制设备显示的二维码的摆放位置,例如:指示控制设备显示的二维码与无人机的位置更加靠近,或者指示控制设备显示的二维码与 无人机的位置更加远离。On the basis of the foregoing embodiments of the present invention, optionally, the UAV further outputs a scan optimization indication, where the scan optimization indication is used to indicate that the UAV and the control device display the second The scanning position between the dimensions. In the process of scanning the two-dimensional code by the drone, the drone may not be able to clearly identify the two-dimensional code. In order to facilitate the identification of the two-dimensional code by the drone, the drone can output a scan optimization indication, for example: indication control The position of the two-dimensional code displayed by the device, for example, indicating that the two-dimensional code displayed by the control device is closer to the position of the drone, or indicating the two-dimensional code displayed by the control device The drone is located farther away.
图6为本发明实施例一提供的控制设备的结构示意图,如图6所示,本实施例的控制设备600可以包括:生成模块601、显示模块602和建立模块603。FIG. 6 is a schematic structural diagram of a control device according to Embodiment 1 of the present invention. As shown in FIG. 6, the control device 600 of the present embodiment may include: a generating module 601, a display module 602, and an establishing module 603.
生成模块601,用于根据接入点的标识和密码,生成二维码;a generating module 601, configured to generate a two-dimensional code according to the identifier and password of the access point;
显示模块602,用于显示所述二维码;所述二维码用于供无人机扫描获得所述标识和所述密码;a display module 602, configured to display the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
建立模块603,用于与所述无人机基于所述标识和所述密码建立通信连接;An establishing module 603, configured to establish a communication connection with the UAV based on the identifier and the password;
其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
可选地,当所述接入点为所述控制设备600时,建立模块603,具体用于:接收所述无人机发送的接入请求,所述网络接入请求包括所述控制设备的标识和所述密码;向所述无人机发送接入成功响应。Optionally, when the access point is the control device 600, the establishing module 603 is specifically configured to: receive an access request sent by the UAV, where the network access request includes the control device Identifying and the password; sending an access success response to the drone.
可选地,当所述接入点为所述无人机时,所述生成模块601,具体用于:根据所述无人机的标识和更改后的密码,生成所述二维码。Optionally, when the access point is the drone, the generating module 601 is specifically configured to: generate the two-dimensional code according to the identifier of the drone and the changed password.
可选地,所述生成模块601,具体用于:根据所述无人机的标识、所述更改后的密码和密码更改指示,生成所述二维码;所述密码更改指示用于指示更新所述无人机的密码为所述更改后的密码。Optionally, the generating module 601 is configured to: generate the two-dimensional code according to the identifier of the drone, the changed password and a password change indication; and the password change indication is used to indicate an update. The password of the drone is the changed password.
可选地,所述建立模块603,具体用于:向所述无人机发送接入请求,所述接入请求包括所述无人机的标识和所述更改后的密码;以及接收所述无人机发送的接入成功响应。Optionally, the establishing module 603 is specifically configured to: send an access request to the UAV, where the access request includes an identifier of the UAV and the changed password; and receiving the The access sent by the drone is successfully responded.
可选地,所述生成模块601,具体用于:根据所述无人机的标识、更改后的密码和所述控制设备的标识,生成所述二维码,所述控制设备的标识用于所述控制设备请求接入所述无人机;Optionally, the generating module 601 is configured to: generate the two-dimensional code according to the identifier of the drone, the changed password, and the identifier of the control device, where the identifier of the control device is used for The control device requests access to the drone;
所述建立模块603,具体用于:接收所述无人机根据所述无人机的标识、更改后的密码和所述控制设备的标识发送的接入成功响应。The establishing module 603 is specifically configured to: receive an access success response sent by the UAV according to the identifier of the UAV, the changed password, and the identifier of the control device.
可选地,控制设备600还包括:认证模块604。Optionally, the control device 600 further includes: an authentication module 604.
认证模块604,用于在所述生成模块601根据所述无人机的标识和更改后的密码,生成所述二维码之前,对所述无人机的密码更改进行身份认证。The authentication module 604 is configured to perform identity authentication on the password change of the drone before the generating module 601 generates the two-dimensional code according to the identifier of the drone and the changed password.
可选地,还包括:输出模块605。 Optionally, the method further includes: an output module 605.
输出模块605,用于在所述建立模块603与所述无人机基于所述标识和所述密码建立通信连接之后,输出提示信息,所述提示信息用于提示所述控制设备与所述无人机已建立通信连接。The output module 605 is configured to output, after the establishing module 603 and the drone establish a communication connection based on the identifier and the password, the prompt information is used to prompt the control device and the The man-machine has established a communication connection.
本实施例的控制设备,可以用于执行本发明上述各方法实施例中控制设备执行的技术方案,其实现原理和技术效果类似,此处不再赘述。The control device of this embodiment may be used to perform the technical solution executed by the control device in the foregoing method embodiments of the present invention. The implementation principle and technical effects are similar, and details are not described herein again.
图7为本发明实施例一提供的无人机的结构示意图,如图7所示,本实施例的无人机700可以包括:扫描模块701、解析模块702和建立模块703。FIG. 7 is a schematic structural diagram of a UAV according to Embodiment 1 of the present invention. As shown in FIG. 7, the UAV 700 of the present embodiment may include: a scanning module 701, a parsing module 702, and an establishing module 703.
其中,扫描模块701,用于扫描获取控制设备显示的二维码;The scanning module 701 is configured to scan and acquire a two-dimensional code displayed by the control device.
解析模块702,用于解析所述二维码,获得接入点的标识和密码;The parsing module 702 is configured to parse the two-dimensional code to obtain an identifier and a password of the access point;
建立模块703,用于与所述控制设备基于所述标识和所述密码建立通信连接;An establishing module 703, configured to establish a communication connection with the control device based on the identifier and the password;
其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
可选地,当所述接入点为所述控制设备时,所述建立模块703,具体用于:向所述控制设备发送接入请求,所述接入请求包括所述控制设备的标识和所述密码;接收所述控制设备发送的接入成功响应。Optionally, when the access point is the control device, the establishing module 703 is specifically configured to: send an access request to the control device, where the access request includes an identifier of the control device, and The password; receiving an access success response sent by the control device.
可选地,当所述接入点为所述无人机700时,所述解析模块702,具体用于:解析所述二维码,获得所述无人机的标识和更改后的密码;Optionally, when the access point is the drone 700, the parsing module 702 is specifically configured to: parse the two-dimensional code to obtain an identifier of the drone and a changed password;
所述无人机还包括:存储模块704。The drone further includes a storage module 704.
所述存储模块704,用于更新存储所述无人机的密码为所述更改后的密码。The storage module 704 is configured to update a password for storing the drone as the changed password.
可选地,所述解析模块702,还用于解析所述二维码,获得密码更改指示,所述密码更改指示用于指示更新所述无人机的密码为所述更改后的密码;Optionally, the parsing module 702 is further configured to parse the two-dimensional code to obtain a password change indication, where the password change indication is used to indicate that the password of the drone is updated to be the changed password;
所述存储模块704,具体用于:根据所述密码更改指示,更新存储所述无人机的密码为所述更改后的密码。The storage module 704 is specifically configured to: update, according to the password change indication, a password for storing the drone as the changed password.
可选地,所述建立模块703,具体用于:接收所述控制设备发送的接入请求,所述接入请求包括所述无人机的标识和所述更改后的密码;向所述控制设备发送接入成功响应。Optionally, the establishing module 703 is specifically configured to: receive an access request sent by the control device, where the access request includes an identifier of the UAV and the changed password; The device sends a successful access response.
可选地,所述解析模块702,还用于解析所述二维码,获得所述控制设备的标识,所述控制设备的标识用于所述控制设备请求接入所述无人机;Optionally, the parsing module 702 is further configured to parse the two-dimensional code to obtain an identifier of the control device, where the identifier of the control device is used by the control device to request access to the drone;
所述建立模块703,具体用于:根据所述无人机的标识、所述更改后的 密码和所述控制设备的标识,向所述控制设备发送接入成功响应。The establishing module 703 is specifically configured to: according to the identifier of the drone, the changed The password and the identifier of the control device send an access success response to the control device.
可选地,本实施例的无人机700还包括:第一输出模块705,用于在所述建立模块703与所述控制设备基于所述标识和所述密码建立通信连接之后,输出提示信息,所述提示信息用于提示所述无人机与所述控制设备已建立通信连接。Optionally, the UAV 700 of the embodiment further includes: a first output module 705, configured to output prompt information after the establishing module 703 establishes a communication connection with the control device based on the identifier and the password The prompt information is used to prompt the drone to establish a communication connection with the control device.
可选地,本实施例的无人机700还包括:第二输出模块706,用于输出扫描优化指示,所述扫描优化指示用于指示优化所述无人机与所述控制设备显示的所述二维码之间的扫描位置。Optionally, the drone 700 of the embodiment further includes: a second output module 706, configured to output a scan optimization indication, where the scan optimization indication is used to indicate that the display of the drone and the control device is optimized The scanning position between the two-dimensional codes.
本实施例的无人机,可以用于执行本发明上述各方法实施例中无人机执行的技术方案,其实现原理和技术效果类似,此处不再赘述。The unmanned aerial vehicle of this embodiment can be used to perform the technical solution executed by the unmanned aerial vehicle in the foregoing method embodiments of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
图8为本发明实施例二提供的控制设备的结构示意图,如图8所示,本实施例的控制设备800可以包括:存储器801、处理器802、显示屏803和收发器804。存储器801、处理器802、显示屏803和收发器804通过通信总线连接。FIG. 8 is a schematic structural diagram of a control device according to Embodiment 2 of the present invention. As shown in FIG. 8, the control device 800 of this embodiment may include: a memory 801, a processor 802, a display screen 803, and a transceiver 804. The memory 801, the processor 802, the display screen 803, and the transceiver 804 are connected by a communication bus.
所述存储器801,用于存储执行基于二维码的通信方法的代码;The memory 801 is configured to store code for executing a two-dimensional code-based communication method;
所述处理器802,用于根据接入点的标识和密码,生成二维码;The processor 802 is configured to generate a two-dimensional code according to an identifier and a password of the access point.
所述显示屏803,用于显示所述二维码;所述二维码用于供无人机扫描获得所述标识和所述密码;The display screen 803 is configured to display the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
所述收发器804,用于与所述无人机基于所述标识和所述密码建立通信连接;The transceiver 804 is configured to establish a communication connection with the UAV based on the identifier and the password;
其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
可选地,当所述接入点为所述控制设备800时,所述收发器804,用于接收所述无人机发送的接入请求,所述网络接入请求包括所述控制设备的标识和所述密码;以及向所述无人机发送接入成功响应。Optionally, when the access point is the control device 800, the transceiver 804 is configured to receive an access request sent by the UAV, where the network access request includes the control device. Identifying and the password; and transmitting an access success response to the drone.
可选地,当所述接入点为所述无人机时,所述处理器802,具体用于:根据所述无人机的标识和更改后的密码,生成所述二维码。Optionally, when the access point is the drone, the processor 802 is specifically configured to: generate the two-dimensional code according to the identifier of the drone and the changed password.
可选地,所述处理器802,具体用于:根据所述无人机的标识、所述更改后的密码和密码更改指示,生成所述二维码;所述密码更改指示用于指示更新所述无人机的密码为所述更改后的密码。Optionally, the processor 802 is specifically configured to: generate the two-dimensional code according to the identifier of the drone, the changed password, and a password change indication; and the password change indication is used to indicate an update. The password of the drone is the changed password.
可选地,所述收发器804,具体用于:向所述无人机发送接入请求,所 述接入请求包括所述无人机的标识和所述更改后的密码;以及接收所述无人机发送的接入成功响应。Optionally, the transceiver 804 is specifically configured to: send an access request to the drone, where The access request includes an identifier of the drone and the changed password; and receiving an access success response sent by the drone.
可选地,所述处理器802,具体用于:根据所述无人机的标识、更改后的密码和所述控制设备的标识,生成所述二维码,所述控制设备的标识用于所述控制设备请求接入所述无人机;Optionally, the processor 802 is configured to generate the two-dimensional code according to the identifier of the drone, the changed password, and the identifier of the control device, where the identifier of the control device is used for The control device requests access to the drone;
所述收发器804,具体用于:接收所述无人机根据所述无人机的标识、更改后的密码和所述控制设备的标识发送的接入成功响应。The transceiver 804 is specifically configured to: receive an access success response sent by the UAV according to the identifier of the UAV, the changed password, and the identifier of the control device.
可选地,所述处理器802,还用于在根据所述无人机的标识和更改后的密码,生成所述二维码之前,对所述无人机的密码更改进行身份认证。Optionally, the processor 802 is further configured to perform identity authentication on the password change of the drone before generating the two-dimensional code according to the identifier of the drone and the changed password.
可选地,所述处理器802,还用于在所述收发器804与所述无人机基于所述标识和所述密码建立通信连接之后,输出提示信息,所述提示信息用于提示所述控制设备与所述无人机已建立通信连接。Optionally, the processor 802 is further configured to: after the transceiver 804 and the drone establish a communication connection based on the identifier and the password, output prompt information, where the prompt information is used to prompt the location The control device has established a communication connection with the drone.
可选地,所述控制设备包括以下至少一种:摇控器,移动终端(例如智能手机,平板电脑等)。Optionally, the control device comprises at least one of the following: a remote controller, a mobile terminal (eg, a smart phone, a tablet, etc.).
本实施例的控制设备,可以用于执行本发明上述各方法实施例中控制设备执行的技术方案,其实现原理和技术效果类似,此处不再赘述。The control device of this embodiment may be used to perform the technical solution executed by the control device in the foregoing method embodiments of the present invention. The implementation principle and technical effects are similar, and details are not described herein again.
图9为本发明实施例二提供的无人机的结构示意图,如图9所示,本实施例的无人机900可以包括:存储器901、摄像机902、处理器903和收发器904;存储器901、摄像机902、处理器903和收发器904通过通信总线连接。FIG. 9 is a schematic structural diagram of a drone according to a second embodiment of the present invention. As shown in FIG. 9, the drone 900 of the present embodiment may include: a memory 901, a camera 902, a processor 903, and a transceiver 904; The camera 902, the processor 903, and the transceiver 904 are connected by a communication bus.
所述存储器901,用于存储执行基于二维码的通信方法的代码;The memory 901 is configured to store code for executing a communication method based on a two-dimensional code;
所述摄像机902,用于扫描获取控制设备显示的二维码;The camera 902 is configured to scan and acquire a two-dimensional code displayed by the control device;
所述处理器903,用于解析所述二维码,获得接入点的标识和密码;The processor 903 is configured to parse the two-dimensional code to obtain an identifier and a password of an access point.
所述收发器904,用于与所述控制设备基于所述标识和所述密码建立通信连接;The transceiver 904 is configured to establish a communication connection with the control device based on the identifier and the password;
其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
可选地,当所述接入点为所述控制设备时,所述收发器904,具体用于:向所述控制设备发送接入请求,所述接入请求包括所述控制设备的标识和所述密码;接收所述控制设备发送的接入成功响应。Optionally, when the access point is the control device, the transceiver 904 is specifically configured to: send an access request to the control device, where the access request includes an identifier of the control device, and The password; receiving an access success response sent by the control device.
可选地,当所述接入点为所述无人机900时,所述处理器903,具体用于:解析所述二维码,获得所述无人机的标识和更改后的密码; Optionally, when the access point is the drone 900, the processor 903 is specifically configured to: parse the two-dimensional code to obtain an identifier of the drone and a changed password;
所述存储器901,还用于更新存储所述无人机的密码为所述更改后的密码。The memory 901 is further configured to update a password for storing the drone as the changed password.
可选地,所述处理器903,还用于解析所述二维码,获得密码更改指示,所述密码更改指示用于指示更新所述无人机的密码为所述更改后的密码;Optionally, the processor 903 is further configured to parse the two-dimensional code to obtain a password change indication, where the password change indication is used to indicate that the password of the drone is updated to be the changed password;
所述存储器901,具体用于:根据所述密码更改指示,更新存储所述无人机的密码为所述更改后的密码。The memory 901 is specifically configured to: update, according to the password change indication, a password for storing the drone as the changed password.
可选地,所述收发器904,具体用于:接收所述控制设备发送的接入请求,所述接入请求包括所述无人机的标识和所述更改后的密码;向所述控制设备发送接入成功响应。Optionally, the transceiver 904 is specifically configured to: receive an access request sent by the control device, where the access request includes an identifier of the UAV and the changed password; The device sends a successful access response.
可选地,所述处理器903,还用于解析所述二维码,获得所述控制设备的标识,所述控制设备的标识用于所述控制设备请求接入所述无人机;Optionally, the processor 903 is further configured to parse the two-dimensional code to obtain an identifier of the control device, where the identifier of the control device is used by the control device to request access to the drone;
所述收发器904,具体用于:根据所述无人机的标识、所述更改后的密码和所述控制设备的标识,向所述控制设备发送接入成功响应。The transceiver 904 is specifically configured to: send an access success response to the control device according to the identifier of the drone, the changed password, and the identifier of the control device.
可选地,所述处理器903,还用于在所述收发器904与所述控制设备基于所述标识和所述密码建立通信连接之后,输出提示信息,所述提示信息用于提示所述无人机与所述控制设备已建立通信连接。Optionally, the processor 903 is further configured to: after the transceiver 904 and the control device establish a communication connection based on the identifier and the password, output prompt information, where the prompt information is used to prompt the The drone has established a communication connection with the control device.
可选地,所述处理器903,还用于输出扫描优化指示,所述扫描优化指示用于指示优化所述无人机与所述控制设备显示的所述二维码之间的扫描位置。Optionally, the processor 903 is further configured to output a scan optimization indication, where the scan optimization indication is used to indicate that a scan position between the UAV and the two-dimensional code displayed by the control device is optimized.
本实施例的无人机,可以用于执行本发明上述各方法实施例中无人机执行的技术方案,其实现原理和技术效果类似,此处不再赘述。The unmanned aerial vehicle of this embodiment can be used to perform the technical solution executed by the unmanned aerial vehicle in the foregoing method embodiments of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
图10为本发明实施例提供的一种无人飞行系统的结构示意图,如图10所示,本实施例的无人飞行系统1000,包括:控制设备1001和无人机1002。其中,控制设备1001可以采用图6或图8所示装置实施例的结构,其对应地,可以执行本发明上述各方法实施例中控制设备所执行的技术方案,其实现原理和技术效果类似,此处不再赘述。无人机1002可以采用图7或图9所示装置实施例的结构,其对应地,可以执行本发明上述各方法实施例中无人机所执行的技术方案,其实现原理和技术效果类似,此处不再赘述。FIG. 10 is a schematic structural diagram of an unmanned flight system according to an embodiment of the present invention. As shown in FIG. 10, the unmanned flight system 1000 of the present embodiment includes: a control device 1001 and a drone 1002. The control device 1001 can adopt the structure of the device embodiment shown in FIG. 6 or FIG. 8 , and correspondingly, the technical solution executed by the control device in the foregoing method embodiments of the present invention can be executed, and the implementation principle and the technical effect are similar. I will not repeat them here. The UAV 1002 can adopt the structure of the device embodiment shown in FIG. 7 or FIG. 9 , and correspondingly, the technical solution executed by the UAV in the foregoing method embodiments of the present invention can be executed, and the implementation principle and the technical effect are similar. I will not repeat them here.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读 取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读内存(英文:Read-Only Memory,简称:ROM)、随机存取存储器(英文:Random Access Memory,简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable In the storage medium, when the program is executed, the steps including the foregoing method embodiments are performed; and the foregoing storage medium includes: read-only memory (English: Read-Only Memory, abbreviated as: ROM), random access memory (English: Random Access Memory (RAM), disk or optical disk, etc., which can store program code.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (50)

  1. 一种基于二维码的通信方法,其特征在于,包括:A communication method based on a two-dimensional code, comprising:
    控制设备根据接入点的标识和密码,生成二维码;The control device generates a two-dimensional code according to the identifier and password of the access point;
    所述控制设备显示所述二维码;所述二维码用于供无人机扫描获得所述标识和所述密码;The control device displays the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
    所述控制设备与所述无人机基于所述标识和所述密码建立通信连接;The control device and the drone establish a communication connection based on the identifier and the password;
    其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
  2. 根据权利要求1所述的方法,其特征在于,当所述接入点为所述控制设备时,所述控制设备与所述无人机基于所述标识和所述密码建立通信连接,包括:The method according to claim 1, wherein when the access point is the control device, the control device and the drone establish a communication connection based on the identifier and the password, including:
    所述控制设备接收所述无人机发送的接入请求,所述网络接入请求包括所述控制设备的标识和所述密码;Receiving, by the control device, an access request sent by the drone, where the network access request includes an identifier of the control device and the password;
    所述控制设备向所述无人机发送接入成功响应。The control device sends an access success response to the drone.
  3. 根据权利要求1所述的方法,其特征在于,当所述接入点为所述无人机时,所述控制设备根据接入点的标识和密码,生成二维码,包括:The method according to claim 1, wherein when the access point is the drone, the control device generates a two-dimensional code according to the identifier and password of the access point, including:
    所述控制设备根据所述无人机的标识和更改后的密码,生成所述二维码。The control device generates the two-dimensional code according to the identifier of the drone and the changed password.
  4. 根据权利要求3所述的方法,其特征在于,所述控制设备根据所述无人机的标识和更改后的密码,生成所述二维码,包括:The method according to claim 3, wherein the control device generates the two-dimensional code according to the identifier of the drone and the changed password, including:
    所述控制设备根据所述无人机的标识、所述更改后的密码和密码更改指示,生成所述二维码;所述密码更改指示用于指示更新所述无人机的密码为所述更改后的密码。The control device generates the two-dimensional code according to the identifier of the drone, the changed password and a password change indication, and the password change indication is used to indicate that updating the password of the drone is the Changed password.
  5. 根据权利要求3或4所述的方法,其特征在于,所述控制设备与所述无人机基于所述标识和所述密码建立通信连接,包括:The method according to claim 3 or 4, wherein the control device and the drone establish a communication connection based on the identifier and the password, including:
    所述控制设备向所述无人机发送接入请求,所述接入请求包括所述无人机的标识和所述更改后的密码;The control device sends an access request to the drone, the access request including an identifier of the drone and the changed password;
    所述控制设备接收所述无人机发送的接入成功响应。The control device receives an access success response sent by the drone.
  6. 根据权利要求3或4所述的方法,其特征在于,所述控制设备根据所述无人机的标识和更改后的密码,生成所述二维码,包括:The method according to claim 3 or 4, wherein the control device generates the two-dimensional code according to the identifier of the drone and the changed password, including:
    所述控制设备根据所述无人机的标识、更改后的密码和所述控制设备的标识,生成所述二维码,所述控制设备的标识用于所述控制设备请求接入所 述无人机;The control device generates the two-dimensional code according to the identifier of the drone, the changed password, and the identifier of the control device, where the identifier of the control device is used by the control device to request an access station. UAV
    所述控制设备与所述无人机基于所述标识和所述密码建立通信连接,包括:Establishing a communication connection between the control device and the drone based on the identifier and the password, including:
    所述控制设备接收所述无人机根据所述无人机的标识、更改后的密码和所述控制设备的标识发送的接入成功响应。The control device receives an access success response sent by the drone according to the identifier of the drone, the changed password, and the identifier of the control device.
  7. 根据权利要求3-6任意一项所述的方法,其特征在于,所述控制设备根据所述无人机的标识和更改后的密码,生成所述二维码之前,还包括:The method according to any one of claims 3-6, wherein the control device, before generating the two-dimensional code according to the identifier of the drone and the changed password, further includes:
    对所述无人机的密码更改进行身份认证。Identity authentication is performed on the password change of the drone.
  8. 根据权利要求1-7任意一项所述的方法,其特征在于,所述控制设备与所述无人机基于所述标识和所述密码建立通信连接之后,还包括:The method according to any one of claims 1 to 7, wherein after the control device and the drone establish a communication connection based on the identifier and the password, the method further includes:
    所述控制设备输出提示信息,所述提示信息用于提示所述控制设备与所述无人机已建立通信连接。The control device outputs prompt information, and the prompt information is used to prompt the control device to establish a communication connection with the drone.
  9. 一种基于二维码的通信方法,其特征在于,包括:A communication method based on a two-dimensional code, comprising:
    无人机扫描获取控制设备显示的二维码;The drone scans and acquires the two-dimensional code displayed by the control device;
    所述无人机解析所述二维码,获得接入点的标识和密码;The UAV parses the two-dimensional code to obtain an identifier and a password of the access point;
    所述无人机与所述控制设备基于所述标识和所述密码建立通信连接;The drone and the control device establish a communication connection based on the identifier and the password;
    其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
  10. 根据权利要求9所述的方法,其特征在于,当所述接入点为所述控制设备时,所述无人机与控制设备基于所述标识和所述密码建立通信连接,包括:The method according to claim 9, wherein when the access point is the control device, the UAV and the control device establish a communication connection based on the identifier and the password, including:
    所述无人机向所述控制设备发送接入请求,所述接入请求包括所述控制设备的标识和所述密码;The UAV sends an access request to the control device, where the access request includes an identifier of the control device and the password;
    所述无人机接收所述控制设备发送的接入成功响应。The drone receives an access success response sent by the control device.
  11. 根据权利要求9所述的方法,其特征在于,当所述接入点为所述无人机时,所述无人机解析所述二维码,获得接入点的标识和密码,包括:The method according to claim 9, wherein when the access point is the drone, the drone parses the two-dimensional code to obtain an identification and a password of the access point, including:
    所述无人机解析所述二维码,获得所述无人机的标识和更改后的密码;The UAV parses the two-dimensional code to obtain an identifier of the UAV and a changed password;
    所述方法还包括:The method further includes:
    所述无人机更新存储所述无人机的密码为所述更改后的密码。The UAV updates the password for storing the drone as the changed password.
  12. 根据权利要求11所述的方法,其特征在于,还包括:所述无人机解析所述二维码,获得密码更改指示,所述密码更改指示用于指示更新所述无 人机的密码为所述更改后的密码;The method of claim 11 further comprising: said drone parsing said two-dimensional code to obtain a password change indication, said password change indication for indicating said updating said none The password of the man machine is the changed password;
    所述无人机更新存储所述无人机的密码为所述更改后的密码,包括:The UAV updates the password of the UAV to the changed password, including:
    所述无人机根据所述密码更改指示,更新存储所述无人机的密码为所述更改后的密码。And the drone updates the password for storing the drone as the changed password according to the password change indication.
  13. 根据权利要求11或12所述的方法,其特征在于,所述无人机与控制设备基于所述标识和所述密码建立通信连接,包括:The method according to claim 11 or 12, wherein the UAV and the control device establish a communication connection based on the identifier and the password, including:
    所述无人机接收所述控制设备发送的接入请求,所述接入请求包括所述无人机的标识和所述更改后的密码;Receiving, by the drone, an access request sent by the control device, where the access request includes an identifier of the drone and the changed password;
    所述无人机向所述控制设备发送接入成功响应。The drone sends an access success response to the control device.
  14. 根据权利要求11或12所述的方法,其特征在于,还包括:所述无人机解析所述二维码,获得所述控制设备的标识,所述控制设备的标识用于所述控制设备请求接入所述无人机;The method according to claim 11 or 12, further comprising: said unmanned aircraft parsing said two-dimensional code to obtain an identification of said control device, said identification of said control device being used for said control device Requesting access to the drone;
    所述无人机与控制设备基于所述标识和所述密码建立通信连接,包括:The UAV and the control device establish a communication connection based on the identifier and the password, including:
    所述无人机根据所述无人机的标识、所述更改后的密码和所述控制设备的标识,向所述控制设备发送接入成功响应。The UAV sends an access success response to the control device according to the identifier of the UAV, the changed password, and the identifier of the control device.
  15. 根据权利要求9-14任意一项所述的方法,其特征在于,所述无人机与所述控制设备基于所述标识和所述密码建立通信连接之后,还包括:The method according to any one of claims 9 to 14, wherein after the UAV and the control device establish a communication connection based on the identifier and the password, the method further includes:
    所述无人机输出提示信息,所述提示信息用于提示所述无人机与所述控制设备已建立通信连接。The UAV outputs prompt information, and the prompt information is used to prompt the UAV to establish a communication connection with the control device.
  16. 根据权利要求9-15任意一项所述的方法,其特征在于,还包括:The method of any of claims 9-15, further comprising:
    所述无人机输出扫描优化指示,所述扫描优化指示用于指示优化所述无人机与所述控制设备显示的所述二维码之间的扫描位置。The drone outputs a scan optimization indication for indicating a scan position between the two-dimensional code displayed by the drone and the control device.
  17. 一种控制设备,其特征在于,包括:A control device, comprising:
    生成模块,用于根据接入点的标识和密码,生成二维码;a generating module, configured to generate a two-dimensional code according to an identifier and a password of the access point;
    显示模块,用于显示所述二维码;所述二维码用于供无人机扫描获得所述标识和所述密码;a display module, configured to display the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
    建立模块,用于与所述无人机基于所述标识和所述密码建立通信连接;Establishing a module, configured to establish a communication connection with the drone based on the identifier and the password;
    其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
  18. 根据权利要求17所述的控制设备,其特征在于,当所述接入点为所述控制设备时,所述建立模块,具体用于:收所述无人机发送的接入请求, 所述网络接入请求包括所述控制设备的标识和所述密码;向所述无人机发送接入成功响应。The control device according to claim 17, wherein when the access point is the control device, the establishing module is specifically configured to: receive an access request sent by the drone, The network access request includes an identifier of the control device and the password; and an access success response is sent to the drone.
  19. 根据权利要求17所述的控制设备,其特征在于,当所述接入点为所述无人机时,所述生成模块,具体用于:根据所述无人机的标识和更改后的密码,生成所述二维码。The control device according to claim 17, wherein when the access point is the drone, the generating module is specifically configured to: according to the identifier of the drone and the changed password And generating the two-dimensional code.
  20. 根据权利要求19所述的控制设备,其特征在于,所述生成模块,具体用于:根据所述无人机的标识、所述更改后的密码和密码更改指示,生成所述二维码;所述密码更改指示用于指示更新所述无人机的密码为所述更改后的密码。The control device according to claim 19, wherein the generating module is configured to: generate the two-dimensional code according to the identifier of the drone, the changed password and a password change indication; The password change indication is used to indicate that the password of the drone is updated to the changed password.
  21. 根据权利要求19或20所述的控制设备,其特征在于,所述建立模块,具体用于:向所述无人机发送接入请求,所述接入请求包括所述无人机的标识和所述更改后的密码;以及接收所述无人机发送的接入成功响应。The control device according to claim 19 or 20, wherein the establishing module is specifically configured to: send an access request to the drone, the access request including an identifier of the drone and The changed password; and receiving an access success response sent by the drone.
  22. 根据权利要求19或20所述的控制设备,其特征在于,所述生成模块,具体用于:根据所述无人机的标识、更改后的密码和所述控制设备的标识,生成所述二维码,所述控制设备的标识用于所述控制设备请求接入所述无人机;The control device according to claim 19 or 20, wherein the generating module is configured to generate the second according to the identifier of the drone, the changed password, and the identifier of the control device. a dimension code, the identifier of the control device is used by the control device to request access to the drone;
    所述建立模块,具体用于:接收所述无人机根据所述无人机的标识、更改后的密码和所述控制设备的标识发送的接入成功响应。The establishing module is specifically configured to: receive an access success response sent by the drone according to the identifier of the drone, the changed password, and the identifier of the control device.
  23. 根据权利要求19-22任意一项所述的控制设备,其特征在于,还包括:The control device according to any one of claims 19 to 22, further comprising:
    认证模块,用于在所述生成模块根据所述无人机的标识和更改后的密码,生成所述二维码之前,对所述无人机的密码更改进行身份认证。And an authentication module, configured to perform identity authentication on the password change of the drone before the generating module generates the two-dimensional code according to the identifier of the drone and the changed password.
  24. 根据权利要求19-23任意一项所述的控制设备,其特征在于,还包括:The control device according to any one of claims 19 to 23, further comprising:
    输出模块,用于在所述建立模块与所述无人机基于所述标识和所述密码建立通信连接之后,输出提示信息,所述提示信息用于提示所述控制设备与所述无人机已建立通信连接。An output module, configured to output prompt information after the establishing module and the drone establish a communication connection based on the identifier and the password, where the prompt information is used to prompt the control device and the drone A communication connection has been established.
  25. 一种无人机,其特征在于,包括:A drone, characterized in that it comprises:
    扫描模块,用于扫描获取控制设备显示的二维码;a scanning module, configured to scan and acquire a two-dimensional code displayed by the control device;
    解析模块,用于解析所述二维码,获得接入点的标识和密码; a parsing module, configured to parse the two-dimensional code to obtain an identifier and a password of the access point;
    建立模块,用于与所述控制设备基于所述标识和所述密码建立通信连接;Establishing a module, configured to establish a communication connection with the control device based on the identifier and the password;
    其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
  26. 根据权利要求25所述的无人机,其特征在于,当所述接入点为所述控制设备时,所述建立模块,具体用于:向所述控制设备发送接入请求,所述接入请求包括所述控制设备的标识和所述密码;接收所述控制设备发送的接入成功响应。The UAV according to claim 25, wherein when the access point is the control device, the establishing module is specifically configured to: send an access request to the control device, where the The incoming request includes an identifier of the control device and the password; and receives an access success response sent by the control device.
  27. 根据权利要求25所述的无人机,其特征在于,当所述接入点为所述无人机时,所述解析模块,具体用于:解析所述二维码,获得所述无人机的标识和更改后的密码;The unmanned aerial vehicle according to claim 25, wherein when the access point is the drone, the parsing module is specifically configured to: parse the two-dimensional code to obtain the unmanned Machine identification and changed password;
    所述无人机还包括:存储模块;The drone further includes: a storage module;
    所述存储模块,用于更新存储所述无人机的密码为所述更改后的密码。The storage module is configured to update a password for storing the drone as the changed password.
  28. 根据权利要求27所述的无人机,其特征在于,所述解析模块,还用于解析所述二维码,获得密码更改指示,所述密码更改指示用于指示更新所述无人机的密码为所述更改后的密码;The drone according to claim 27, wherein the parsing module is further configured to parse the two-dimensional code to obtain a password change indication, where the password change indication is used to indicate that the drone is updated. The password is the changed password;
    所述存储模块,具体用于:根据所述密码更改指示,更新存储所述无人机的密码为所述更改后的密码。The storage module is specifically configured to: update, according to the password change indication, a password for storing the drone as the changed password.
  29. 根据权利要求27或28所述的无人机,其特征在于,所述建立模块,具体用于:接收所述控制设备发送的接入请求,所述接入请求包括所述无人机的标识和所述更改后的密码;向所述控制设备发送接入成功响应。The unmanned aerial vehicle according to claim 27 or 28, wherein the establishing module is specifically configured to: receive an access request sent by the control device, where the access request includes an identifier of the drone And the changed password; sending an access success response to the control device.
  30. 根据权利要求27或28所述的无人机,其特征在于,所述解析模块,还用于解析所述二维码,获得所述控制设备的标识,所述控制设备的标识用于所述控制设备请求接入所述无人机;The unmanned aerial vehicle according to claim 27 or 28, wherein the parsing module is further configured to parse the two-dimensional code to obtain an identifier of the control device, and the identifier of the control device is used for the The control device requests access to the drone;
    所述建立模块,具体用于:根据所述无人机的标识、所述更改后的密码和所述控制设备的标识,向所述控制设备发送接入成功响应。The establishing module is specifically configured to: send an access success response to the control device according to the identifier of the drone, the changed password, and the identifier of the control device.
  31. 根据权利要求25-30任意一项所述的无人机,其特征在于,还包括:第一输出模块,用于在所述建立模块与所述控制设备基于所述标识和所述密码建立通信连接之后,输出提示信息,所述提示信息用于提示所述无人机与所述控制设备已建立通信连接。The drone according to any one of claims 25-30, further comprising: a first output module, configured to establish communication between the establishing module and the control device based on the identifier and the password After the connection, the prompt information is output, and the prompt information is used to prompt the drone to establish a communication connection with the control device.
  32. 根据权利要求25-31任意一项所述的无人机,其特征在于,还包括:The drone according to any one of claims 25 to 31, further comprising:
    第二输出模块,用于输出扫描优化指示,所述扫描优化指示用于指示优 化所述无人机与所述控制设备显示的所述二维码之间的扫描位置。a second output module, configured to output a scan optimization indication, where the scan optimization indication is used to indicate an optimal And scanning a scan position between the drone and the two-dimensional code displayed by the control device.
  33. 一种控制设备,其特征在于,包括:存储器、处理器、显示屏和收发器;A control device, comprising: a memory, a processor, a display screen, and a transceiver;
    所述存储器,用于存储执行基于二维码的通信方法的代码;The memory for storing code for executing a two-dimensional code-based communication method;
    所述处理器,用于根据接入点的标识和密码,生成二维码;The processor is configured to generate a two-dimensional code according to an identifier and a password of the access point;
    所述显示屏,用于显示所述二维码;所述二维码用于供无人机扫描获得所述标识和所述密码;The display screen is configured to display the two-dimensional code; the two-dimensional code is used for scanning by a drone to obtain the identifier and the password;
    所述收发器,用于与所述无人机基于所述标识和所述密码建立通信连接;The transceiver is configured to establish a communication connection with the drone based on the identifier and the password;
    其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
  34. 根据权利要求33所述的控制设备,其特征在于,当所述接入点为所述控制设备时,所述收发器,用于接收所述无人机发送的接入请求,所述网络接入请求包括所述控制设备的标识和所述密码;以及向所述无人机发送接入成功响应。The control device according to claim 33, wherein when the access point is the control device, the transceiver is configured to receive an access request sent by the drone, and the network is connected The incoming request includes an identification of the control device and the password; and an access success response is sent to the drone.
  35. 根据权利要求33所述的控制设备,其特征在于,当所述接入点为所述无人机时,所述处理器,具体用于:根据所述无人机的标识和更改后的密码,生成所述二维码。The control device according to claim 33, wherein when the access point is the drone, the processor is specifically configured to: according to the identifier of the drone and the changed password And generating the two-dimensional code.
  36. 根据权利要求35所述的控制设备,其特征在于,所述处理器,具体用于:根据所述无人机的标识、所述更改后的密码和密码更改指示,生成所述二维码;所述密码更改指示用于指示更新所述无人机的密码为所述更改后的密码。The control device according to claim 35, wherein the processor is configured to: generate the two-dimensional code according to the identifier of the drone, the changed password and a password change indication; The password change indication is used to indicate that the password of the drone is updated to the changed password.
  37. 根据权利要求35或36所述的控制设备,其特征在于,所述收发器,具体用于:向所述无人机发送接入请求,所述接入请求包括所述无人机的标识和所述更改后的密码;以及接收所述无人机发送的接入成功响应。The control device according to claim 35 or claim 36, wherein the transceiver is specifically configured to: send an access request to the drone, the access request including an identifier of the drone and The changed password; and receiving an access success response sent by the drone.
  38. 根据权利要求35或36所述的控制设备,其特征在于,所述处理器,具体用于:根据所述无人机的标识、更改后的密码和所述控制设备的标识,生成所述二维码,所述控制设备的标识用于所述控制设备请求接入所述无人机;The control device according to claim 35 or claim 36, wherein the processor is configured to: generate the second according to the identifier of the drone, the changed password, and the identifier of the control device a dimension code, the identifier of the control device is used by the control device to request access to the drone;
    所述收发器,具体用于:接收所述无人机根据所述无人机的标识、更改后的密码和所述控制设备的标识发送的接入成功响应。The transceiver is specifically configured to: receive an access success response sent by the drone according to the identifier of the drone, the changed password, and the identifier of the control device.
  39. 根据权利要求33-38任意一项所述的控制设备,其特征在于,所述 处理器,还用于在根据所述无人机的标识和更改后的密码,生成所述二维码之前,对所述无人机的密码更改进行身份认证。A control apparatus according to any one of claims 33 to 38, wherein said said The processor is further configured to perform identity authentication on the password change of the drone before generating the two-dimensional code according to the identifier of the drone and the changed password.
  40. 根据权利要求33-39任意一项所述的控制设备,其特征在于,所述处理器,还用于在所述收发器与所述无人机基于所述标识和所述密码建立通信连接之后,输出提示信息,所述提示信息用于提示所述控制设备与所述无人机已建立通信连接。The control device according to any one of claims 33 to 39, wherein the processor is further configured to: after the transceiver and the drone establish a communication connection based on the identifier and the password And outputting prompt information, wherein the prompt information is used to prompt the control device to establish a communication connection with the drone.
  41. 根据权利要求33-40任意一项所述的控制设备,其特征在于,所述控制设备包括以下至少一种:摇控器,移动终端。The control device according to any one of claims 33 to 40, wherein the control device comprises at least one of the following: a remote controller, a mobile terminal.
  42. 一种无人机,其特征在于,包括:存储器、摄像机、处理器和收发器;A drone, comprising: a memory, a camera, a processor, and a transceiver;
    所述存储器,用于存储执行基于二维码的通信方法的代码;The memory for storing code for executing a two-dimensional code-based communication method;
    所述摄像机,用于扫描获取控制设备显示的二维码;The camera is configured to scan and acquire a two-dimensional code displayed by the control device;
    所述处理器,用于解析所述二维码,获得接入点的标识和密码;The processor is configured to parse the two-dimensional code to obtain an identifier and a password of an access point;
    所述收发器,用于与所述控制设备基于所述标识和所述密码建立通信连接;The transceiver is configured to establish a communication connection with the control device based on the identifier and the password;
    其中,所述接入点为所述控制设备或者所述无人机。The access point is the control device or the drone.
  43. 根据权利要求42所述的无人机,其特征在于,当所述接入点为所述控制设备时,所述收发器,具体用于:向所述控制设备发送接入请求,所述接入请求包括所述控制设备的标识和所述密码;接收所述控制设备发送的接入成功响应。The unmanned aerial vehicle according to claim 42, wherein when the access point is the control device, the transceiver is specifically configured to: send an access request to the control device, where the The incoming request includes an identifier of the control device and the password; and receives an access success response sent by the control device.
  44. 根据权利要求42所述的无人机,其特征在于,当所述接入点为所述无人机时,所述处理器,具体用于:解析所述二维码,获得所述无人机的标识和更改后的密码;The drone according to claim 42, wherein when the access point is the drone, the processor is specifically configured to: parse the two-dimensional code to obtain the unmanned Machine identification and changed password;
    所述存储器,还用于更新存储所述无人机的密码为所述更改后的密码。The memory is further configured to update a password for storing the drone as the changed password.
  45. 根据权利要求44所述的无人机,其特征在于,所述处理器,还用于解析所述二维码,获得密码更改指示,所述密码更改指示用于指示更新所述无人机的密码为所述更改后的密码;The drone according to claim 44, wherein said processor is further configured to parse said two-dimensional code to obtain a password change indication, said password change indication being used to instruct updating of said drone The password is the changed password;
    所述存储器,具体用于:根据所述密码更改指示,更新存储所述无人机的密码为所述更改后的密码。The memory is specifically configured to: update the password for storing the drone to the changed password according to the password change indication.
  46. 根据权利要求44或45所述的无人机,其特征在于,所述收发器, 具体用于:接收所述控制设备发送的接入请求,所述接入请求包括所述无人机的标识和所述更改后的密码;向所述控制设备发送接入成功响应。A drone according to claim 44 or 45, wherein said transceiver, Specifically, the method is: receiving an access request sent by the control device, where the access request includes an identifier of the UAV and the changed password; and sending an access success response to the control device.
  47. 根据权利要求44或45所述的无人机,其特征在于,所述处理器,还用于解析所述二维码,获得所述控制设备的标识,所述控制设备的标识用于所述控制设备请求接入所述无人机;The unmanned aerial vehicle according to claim 44 or 45, wherein the processor is further configured to parse the two-dimensional code to obtain an identifier of the control device, and the identifier of the control device is used for the The control device requests access to the drone;
    所述收发器,具体用于:根据所述无人机的标识、所述更改后的密码和所述控制设备的标识,向所述控制设备发送接入成功响应。The transceiver is specifically configured to: send an access success response to the control device according to the identifier of the drone, the changed password, and the identifier of the control device.
  48. 根据权利要求42-47任意一项所述的无人机,其特征在于,所述处理器,还用于在所述收发器与所述控制设备基于所述标识和所述密码建立通信连接之后,输出提示信息,所述提示信息用于提示所述无人机与所述控制设备已建立通信连接。The drone according to any one of claims 42 to 47, wherein the processor is further configured to: after the transceiver and the control device establish a communication connection based on the identifier and the password And outputting prompt information, the prompt information is used to prompt the drone to establish a communication connection with the control device.
  49. 根据权利要求42-48任意一项所述的无人机,其特征在于,所述处理器,还用于输出扫描优化指示,所述扫描优化指示用于指示优化所述无人机与所述控制设备显示的所述二维码之间的扫描位置。The drone according to any one of claims 42 to 48, wherein the processor is further configured to output a scan optimization indication, the scan optimization indication being used to indicate that the drone is optimized and the Controlling the scanning position between the two-dimensional codes displayed by the device.
  50. 一种无人飞行系统,其特征在于,包括:如权利要求17-24任意一项所述的控制设备和如权利要求25-32任意一项所述的无人机;或者,An unmanned flight system, comprising: the control device according to any one of claims 17-24; and the drone according to any one of claims 25-32; or
    如权利要求33-41任意一项所述的控制设备和如权利要求42-49任意一项所述的无人机。 A control device according to any of claims 33-41 and a drone according to any of claims 42-49.
PCT/CN2016/112481 2016-12-27 2016-12-27 Communication method, device, and system based on two-dimensional code WO2018119706A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680004017.1A CN107004112B (en) 2016-12-27 2016-12-27 Communication means, device and system based on two dimensional code
PCT/CN2016/112481 WO2018119706A1 (en) 2016-12-27 2016-12-27 Communication method, device, and system based on two-dimensional code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/112481 WO2018119706A1 (en) 2016-12-27 2016-12-27 Communication method, device, and system based on two-dimensional code

Publications (1)

Publication Number Publication Date
WO2018119706A1 true WO2018119706A1 (en) 2018-07-05

Family

ID=59431582

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112481 WO2018119706A1 (en) 2016-12-27 2016-12-27 Communication method, device, and system based on two-dimensional code

Country Status (2)

Country Link
CN (1) CN107004112B (en)
WO (1) WO2018119706A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107613491B (en) * 2017-09-12 2020-12-15 上海连尚网络科技有限公司 Method and apparatus for obtaining password information of wireless access point using augmented reality

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015117513A1 (en) * 2014-08-20 2015-08-13 中兴通讯股份有限公司 Video conference control method and system
CN104933347A (en) * 2014-03-17 2015-09-23 联想(北京)有限公司 Information processing method and electronic device
CN105334863A (en) * 2015-11-23 2016-02-17 杨珊珊 Multi-control end unmanned aerial vehicle as well as consoles and control switching method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3028495B1 (en) * 2014-11-14 2016-11-18 Airbus Helicopters METHOD AND DEVICE FOR CONTROLLING AT LEAST TWO SUBSYSTEMS OF AN AIRCRAFT
CN105357481A (en) * 2015-11-12 2016-02-24 国网河南省电力公司濮阳供电公司 Multi-dimensional stereoscopic inspection system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104933347A (en) * 2014-03-17 2015-09-23 联想(北京)有限公司 Information processing method and electronic device
WO2015117513A1 (en) * 2014-08-20 2015-08-13 中兴通讯股份有限公司 Video conference control method and system
CN105334863A (en) * 2015-11-23 2016-02-17 杨珊珊 Multi-control end unmanned aerial vehicle as well as consoles and control switching method thereof

Also Published As

Publication number Publication date
CN107004112B (en) 2019-04-23
CN107004112A (en) 2017-08-01

Similar Documents

Publication Publication Date Title
US10551834B2 (en) Method and electronic device for controlling unmanned aerial vehicle
US11423792B2 (en) System and method for obstacle avoidance in aerial systems
US20220374010A1 (en) User Interaction Paradigms For A Flying Digital Assistant
US20190317502A1 (en) Method, apparatus, device, and system for controlling unmanned aerial vehicle
EP3345832B1 (en) Unmanned aerial vehicle and method for controlling the same
US20210333807A1 (en) Method and system for controlling aircraft
KR20150134591A (en) The Apparatus and Method for Portable Device controlling Unmanned Aerial Vehicle
WO2019155335A1 (en) Unmanned aerial vehicle including an omnidirectional depth sensing and obstacle avoidance aerial system and method of operating same
WO2018112848A1 (en) Flight control method and apparatus
JPWO2018146803A1 (en) Position processing apparatus, flying object, position processing system, flight system, position processing method, flight control method, program, and recording medium
WO2021168819A1 (en) Return control method and device for unmanned aerial vehicle
WO2020048365A1 (en) Flight control method and device for aircraft, and terminal device and flight control system
JP6974247B2 (en) Information processing equipment, information presentation instruction method, program, and recording medium
WO2020062356A1 (en) Control method, control apparatus, control terminal for unmanned aerial vehicle
WO2018119706A1 (en) Communication method, device, and system based on two-dimensional code
WO2020042186A1 (en) Control method for movable platform, movable platform, terminal device and system
JP6560479B1 (en) Unmanned aircraft control system, unmanned aircraft control method, and program
WO2023025204A1 (en) Remote control method and device and first and second control ends
US20200334192A1 (en) Communication method, device, and system
CN107636592B (en) Channel planning method, control end, aircraft and channel planning system
JP6684012B1 (en) Information processing apparatus and information processing method
WO2022000245A1 (en) Aircraft positioning method, and control method and apparatus for assisted positioning system
WO2021087724A1 (en) Control method, control device, movable platform, and control system
WO2022205294A1 (en) Method and apparatus for controlling unmanned aerial vehicle, unmanned aerial vehicle, and storage medium
KR102542181B1 (en) Method and apparatus for controlling unmanned air vehicle for generating 360 degree virtual reality image

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16925454

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16925454

Country of ref document: EP

Kind code of ref document: A1