Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the invention,
Rather than whole embodiments.The group of embodiments of the present invention, which are generally described and illustrated herein in the accompanying drawings
Part can be arranged and designed with a variety of configurations.Therefore, sheet below to providing in the accompanying drawings
The detailed description of the embodiment of invention is not intended to limit the scope of claimed invention, but only
Only represent the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not having
There is the every other embodiment obtained on the premise of making creative work, belong to protection of the present invention
Scope.
It should be noted that:Similar label and letter represents similar terms, therefore, one in following accompanying drawing
It is defined, then it need not be carried out further in subsequent accompanying drawing in a certain Xiang Yi accompanying drawing of denier
Definition and explanation.
Referring to Fig. 1, remote terminal 100 provided in an embodiment of the present invention is used to pass through wireless network 300
Control unmanned plane (Unmanned Aerial Vehicle, UAV), unmanned naval vessel, robot etc. are controlled to be set
Standby 200.
In the embodiment of the present invention, remote terminal 100 is preferably mobile terminal device, for example, can wrap
Include smart mobile phone, tablet personal computer, E-book reader, pocket computer on knee, vehicle-mounted computer,
Wearable mobile terminal etc..Certainly, above-mentioned remote terminal 100 can also be to be provided with intelligent hand
The general unmanned machine remote operator of machine etc..
The embodiment of the present invention propose remote control thereof and device be applicable to tool Android operation system,
The remote terminal 100 of iOS operating systems, Windows Phone operating systems or other platforms, preferably
, remote terminal 100 is smart mobile phone or Intelligent flat computer.The remote control that the embodiment of the present invention is proposed
Device 120 can be installed on remote terminal 100 in the form of application program (APP).
The controlled plant 200 that Fig. 1 is shown is aircraft, and aircraft can be unmanned plane.On aircraft
It is provided with UDP (User Data Protocol, UDP) server 201, aircraft and also sets
Aircraft carrier is equipped with, aircraft carrier can be head, camera etc..Pass through the wireless network
300, remote terminal 100 carries out data interaction with the UDP server 201 on controlled plant 200.
Fig. 2 shows the distant of a kind of remote control thereof using the embodiment of the present invention and remote control 120
The structured flowchart of control terminal 100.As shown in Fig. 2 remote terminal 100 includes memory 102, storage
Controller 104, one or more (one is only shown in figure) processor 106, Peripheral Interfaces 108, is penetrated
Frequency unit 110, audio unit 112 and input-output unit 114 etc..These components by one or
A plurality of communication bus/signal wire 116 is mutually communicated.
The remote control that memory 102 can be used in storage software program and module, such as embodiment of the present invention
Corresponding programmed instruction/the module of device and method, processor 106 is stored in memory 102 by operation
Interior software program and module, so that various function application and data processing are performed, such as present invention
The remote control thereof that embodiment is provided.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one
Individual or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.Processor
106 and access of other possible components to memory 102 can be under the control of storage control 104
Carry out.
Various input/output devices are coupled to processor 106 and memory 102 by Peripheral Interface 108.
In certain embodiments, Peripheral Interface 108, processor 106 and storage control 104 can be in lists
Realized in individual chip.In some other example, they can be realized by independent chip respectively.
Radio frequency unit 110 is used to receiving and sending electromagnetic wave, realizes the mutual of electromagnetic wave and electric signal
Conversion, so as to be communicated with communication network or other equipment.For example, passing through radio frequency unit 110
Communicated with wireless network 300.
Audio unit 112 provides a user COBBAIF, and it may include one or more microphones, one
Individual or multiple loudspeakers and voicefrequency circuit.
Input-output unit 114 is used to be supplied to user input data to realize user and the remote terminal
100 interaction.It is preferred that, input-output unit 114 is the touch-control of smart mobile phone or Intelligent flat computer
Screen 103, Touch Screen 103 is provided with control 101 (as shown in Figure 1).
It is appreciated that the structure shown in Fig. 2 is only signal, remote terminal 100, which may also include, compares Fig. 2
Shown in more either less components or with the configuration different from shown in Fig. 2.Institute in Fig. 2
Each component shown can be realized using hardware, software or its combination.
First embodiment
Fig. 3 shows the structured flowchart of remote control 120 provided in an embodiment of the present invention.Remote control
120 include:Detecting module 121, sending module 122 and handover module 123.
The detecting module 121 is clicked operation for the control 101 of detecting remote control device 120.
In the present embodiment, when user clicks on control 101, detecting module 121 on Touch Screen 103
May detect that control 101 is clicked operation.The dispaly state of control 101 can point out user by
The current state of equipment 200 is controlled, such as by showing the current of text prompt user controlled plant 200
State, such as, the dispaly state of control 101 is " taking off ", then the next step of controlled plant 200 is to hold
Row takeoff maneuver, then the current state of controlled plant 200 is " ground ";Or control 101 passes through display
Different icons are pointed out, such as the circular current state for representing controlled plant 200 to take off in, square
Shape represent the current state of controlled plant 200 as hovering in, etc..
When remote control 120 passes through on wireless network 300 (such as WiFi) and controlled plant 200
When UDP server 201 is attached, detecting module 121 can with detecting remote control device 120 whether
With the successful connection of controlled plant 200, when remote control 120 and controlled plant 200 are disconnected,
Detecting module 121 can send prompt message, to remind user's remote control 120 and controlled plant 200
Connection status.
Further, the detecting module 121 is additionally operable to detect the current status data of controlled plant 200.
After remote control 120 and 200 successful connection of controlled plant, UDP server 201 passes through socket
(Socket) with UDP (UDP) transmission means, ceaselessly to remote control 120
A fixed port (for example, wireless data receiving interface) feedback controlled equipment 200 current shape
State data.Remote control 120 is the current shape that may detect that controlled plant 200 by the fixed port
State data.Specifically, the current status data that UDP server 201 feeds back to remote control 120 is
Compression data packet, remote control 120 is received after the compression data packet of the feedback of UDP server 201,
Need to unpack it, compression data packet includes packet header, inclusion, three parts of verification, controlled plant
200 current status data is stored among inclusion, and the current of controlled plant 200 is just obtained after unpacking
Status data.
In the present embodiment, the current status data of controlled plant 200 can be:According to predetermined protocol,
The data that current state to controlled plant 200 is defined, and it is stored in the UDP of controlled plant 200
In server 201.For example, according to predetermined protocol, the current state to controlled plant 200 is carried out such as
Give a definition:
Table 1
Current state |
In-flight |
Ground |
In taking off |
In landing |
In hovering |
Current status data |
0 |
1 |
2 |
3 |
4 |
As shown in table 1, when the current state of controlled plant 200 is respectively in-flight, ground, taken off
In, landing in, hovering in when, its current status data respectively correspond to 0,1,2,3,4.These are worked as
Preceding status data can be stored in the UDP server 201 on controlled plant 200, and for sending
To remote control 120.For example, when controlled plant 200 is in and takes off middle, UDP server 201
Just current status data " 2 " is sent to remote control 120;When controlled plant 200 is in hovering,
Current status data " 4 " is just sent to remote control 120 by UDP server 201.
What the sending module 122 was used to responding the control 101 is clicked operation, calls and the control
The operational order of the matching of part 101 is simultaneously sent to the controlled plant 200.
In the present embodiment, control 101 and operational order can be matched in advance, and will matching
Operational order be stored in the memory 102 of remote terminal 100, when detecting module 121 is detected
Control 101 is clicked after operation, and just response control 101 is clicked operation to sending module 122,
Called from the memory 102 of remote terminal 100 operational order that is matched with control 101 and send to by
Control the UDP server 201 of equipment 200.For example, the dispaly state of control 101 is " taking off ", that
The operational order matched with control 101 is " instruction of taking off ", is somebody's turn to do " instruction of taking off " and is stored in remote control end
In the memory 102 at end 100.When detecting module 121 detects the control that dispaly state is " taking off "
101 be clicked after operation, is just called " instruction of taking off " from the memory 102 of remote terminal 100
Send to the UDP server 201 of controlled plant 200.UDP server 201 receives that " take off finger
Make " after, parsed and being sent to controlled plant 200 makes it perform take off corresponding with " instruction of taking off "
Action.
The handover module 123 be used for respond the controlled plant 200 according to operational order feed back it is current
Status data, switches the dispaly state of the control 101.
In the present embodiment, controlled plant 200 receive sending module 122 transmission operational order it
Afterwards, current state is changed according to operational order, and is fed back by UDP server to handover module 123
The current status data of controlled plant 200.Handover module 123 is according to the current status data, switching
The dispaly state of the control 101.
For example, controlled plant 200 receive sending module 122 transmission " instruction of taking off " after, foundation
" instruction of taking off " performs takeoff maneuver, and controlled plant 200 takes off by ground, controlled plant 200
Current state " in taking off " is changed into from " ground ", in this process, the current shape of controlled plant 200
State data are changed to " 2 " (in taking off) by " 1 " (ground).Then, the UDP of controlled plant 200
Current state from server 201 to the feedback controlled equipment 200 of handover module 123 of remote control 120
Data " 2 ", according to the current status data " 2 ", handover module 123 can learn controlled plant 200
In taking off, next step need not use the control 101 that dispaly state is " taking off " again, then
The dispaly state " taking off " of control 101 is switched into next dispaly state " landing ".
Second embodiment
Fig. 4 shows the flow chart of remote control thereof provided in an embodiment of the present invention.The embodiment of the present invention is carried
The remote control thereof of confession comprises the following steps:
Step S1, the control 101 of detecting remote control device 120 is clicked operation.
In the present embodiment, step S1 can be performed by the detecting module 121 of remote control 120.When
User clicks on control 101 on Touch Screen 103, and detecting module 121 may detect that control 101
It is clicked operation.The dispaly state of control 101 can point out the current state of user's controlled plant 200,
For example by showing the current state of text prompt user controlled plant 200, such as, control 101
Dispaly state is " taking off ", then the next step of controlled plant 200 is to perform takeoff maneuver, then controlled plant
200 current state is " ground ";Or the icon different by showing of control 101 is pointed out, such as
During circle represents the current state of controlled plant 200 to take off, rectangle represents working as controlled plant 200
Preceding state for hovering in, etc..
When remote control 120 passes through on wireless network 300 (such as WiFi) and controlled plant 200
When UDP server 201 is attached, the detecting remote control device 120 of detecting module 121 can also be passed through
Whether with the successful connection of controlled plant 200, disconnected in remote control 120 with controlled plant 200
When, prompt message can also be sent by detecting module 121, with remind user's remote control 120 with
The connection status of controlled plant 200.
Further, the current state number of controlled plant 200 can also be detected by detecting module 121
According to.After remote control 120 and 200 successful connection of controlled plant, UDP server 201 passes through set
Word (Socket) is connect with UDP (UDP) transmission means, ceaselessly to remote control
120 fixed port (for example, wireless data receiving interface) feedback controlled equipment 200 it is current
Status data.Remote control 120 is may detect that controlled plant 200 current by the fixed port
Status data.
In the present embodiment, the current status data of controlled plant 200 can be:According to predetermined protocol,
The data that current state to controlled plant 200 is defined, for example:When working as controlled plant 200
Preceding state be respectively in-flight, ground, take off in, landing in, hovering in when, its current state number
According to respectively corresponding 0,1,2,3,4.These current status datas can be stored on controlled plant 200
UDP server 201 in, and for being sent to remote control 120.
Step S2, respond the control 101 is clicked operation, calls and is matched with the control 101
Operational order and send to the controlled plant 200.
In the present embodiment, step S2 can be performed by the sending module 122 of remote control 120.Can
In advance to be matched control 101 and operational order, and the operational order of matching is stored in remote control
In the memory 102 of terminal 100, operation is clicked when what detecting module 121 detected control 101
Afterwards, just response control 101 is clicked operation to sending module 122, from depositing for remote terminal 100
Reservoir 102 calls the operational order matched with control 101 and sent to the UDP of controlled plant 200 and takes
Business device 201.For example, the dispaly state of control 101 is " taking off ", then the behaviour matched with control 101
It is " instruction of taking off " to make instruction, is somebody's turn to do " instruction of taking off " and is stored in the memory 102 of remote terminal 100
In.When detecting module 121 detect dispaly state be " taking off " after being clicked operation of control 101,
Just call " instruction of taking off " from the memory 102 of remote terminal 100 and send to controlled plant 200
UDP server 201.UDP server 201 is received after " instruction of taking off ", is parsed and sent
It is set to perform and " instruction of taking off " corresponding takeoff maneuver to controlled plant 200.
Step S3, responds the current status data that the controlled plant 200 feeds back according to operational order,
Switch the dispaly state of the control 101.
In the present embodiment, step S3 can be performed by the handover module 123 of remote control 120.By
Control equipment 200 is received after the operational order of the transmission of sending module 122, according to operational order change
Current state, and by current shape from UDP server to the feedback controlled equipment 200 of handover module 123
State data.Handover module 123 is according to the current status data, the dispaly state of toggle control 101.
For example, controlled plant 200 receive sending module 122 transmission " instruction of taking off " after, foundation
" instruction of taking off " performs takeoff maneuver, and controlled plant 200 takes off by ground, controlled plant 200
Current state " in taking off " is changed into from " ground ", in this process, the current shape of controlled plant 200
State data are changed to " 2 " (in taking off) by " 1 " (ground).Then, the UDP of controlled plant 200
Current state from server 201 to the feedback controlled equipment 200 of handover module 123 of remote control 120
Data " 2 ", according to the current status data " 2 ", handover module 123 can learn controlled plant 200
In taking off, next step need not use the control 101 that dispaly state is " taking off " again, then
The dispaly state " taking off " of control 101 is switched into next dispaly state " landing ".
After the dispaly state of control 101 is switched, return to step S1 continues executing with step S1-S3,
I.e.:The control 101 of detecting remote control device 120 is clicked operation;Respond the quilt of the control 101
Clicking operation, calls the operational order matched with the control 101 and sends to the controlled plant 200;
The current status data that the controlled plant 200 feeds back according to operational order is responded, switches the control
101 dispaly state.With this, current status data that can be according to controlled plant 200, constantly switching
The dispaly state of control 101 and the operational order for calling matching, to realize the work(for being multiplexed same control
Energy.
3rd embodiment
Fig. 5 shows the detailed process using remote control thereof remotely pilotless machine provided in an embodiment of the present invention
Figure.The remote control process of the present embodiment is taken off by ground for unmanned plane and drop to the process on ground again.
First, opening remote control terminal 100, remote control 120 starts by wifi to be connected with unmanned plane
Connect, whether the detecting remote control device 120 of detecting module 121 of remote control 120 connects with unmanned plane wifi
Work(is connected into, if connection is unsuccessful, the dispaly state of control 101 is " taking off " but can not be clicked;If
Successful connection, then the dispaly state of control 101 is " taking off ", and now unmanned plane is to remote control 120
The current status data of feedback is " 1 " (ground).Detecting module 121 continues detecting real-time control 101
Be clicked operation.
Then, user clicks on the control 101 that dispaly state is " taking off ", and detecting module 121 detects control
Part 101 is clicked operation, calls " instruction of taking off " by sending module 122 and sends to unmanned plane.
Unmanned plane, which receives to take off, instructs and performs takeoff maneuver.After unmanned plane starts to take off, nobody
The current state of machine is changed into " in taking off " from " ground ", and the current status data of unmanned plane is changed into from " 1 "
“2”.Detecting module 121 is detected after the current status data " 2 " that unmanned plane is issued, handover module
123 are switched to the dispaly state of control 101 " landing " by " taking off ".
Unmanned plane rises just hovers over aerial, automatic suspension after unmanned plane takes off automatically when flying to a preset height
The action stopped can be preset, and without controlling unmanned plane to be hovered by remote control 120.
For example, height of taking off is preset as 1m, then just hovered over automatically when unmanned plane, which rises, flies to 1m aerial.
At this moment, the current state of unmanned plane is changed into " in hovering " from " in taking off ", the current status data of unmanned plane
It is changed into " 4 " from " 2 ", then, unmanned plane sends current status data " 4 " to remote control 120.This
When, the action hovered automatically after being taken off due to unmanned plane is set in advance, therefore remote control 120
And come the dispaly state of toggle control 101, the display shape of control 101 not based on current status data " 4 "
State is still " landing ".
Then, user clicks on the control 101 that current display state is " landing ", and detecting module 121 is detected
Operation is clicked to control 101, " landing is instructed " is called by sending module 122 and sent to nobody
Machine.
Unmanned plane receives " landing instruction " and performs dropping action.After unmanned plane starts landing, nobody
The current state of machine is changed into " in landing " from " in hovering ", and the current status data of unmanned plane is changed into from " 4 "
“3”.Detecting module 121 is detected after the current status data " 3 " of unmanned plane feedback, handover module
123 are switched to the dispaly state of control 101 " hovering " by " landing ".
Then, user clicks on the control 101 that current display state is " hovering ", and detecting module 121 is detected
Operation is clicked to control 101, " hovering is instructed " is called by sending module 122 and sent to nobody
Machine.
Unmanned plane receives " hovering instruction " and performs hovering action.After unmanned plane starts hovering, nobody
The current state of machine is changed into " in hovering " from " in landing ", and the current status data of unmanned plane is changed into from " 3 "
“4”.Detecting module 121 is detected after the current status data " 4 " of unmanned plane feedback, handover module
123 are switched to the dispaly state of control 101 " landing " by " hovering ".
Then, user clicks on the control 101 that current display state is " landing ", and detecting module 121 is detected
Operation is clicked to control 101, " landing is instructed " is called by sending module 122 and sent to nobody
Machine.
Unmanned plane receives " landing instruction " and performs dropping action.After unmanned plane starts landing, nobody
The current state of machine is changed into " in landing " from " in hovering ", and the current status data of unmanned plane is changed into from " 4 "
“3”.Detecting module 121 is detected after the current status data " 3 " of unmanned plane feedback, handover module
123 are switched to the dispaly state of control 101 " hovering " by " landing ".
Finally, user no longer clicks on control 101, and unmanned plane is directly drop to ground, now, nothing
Man-machine current state is changed on " ground " from " in landing ", and the current status data of unmanned plane is changed into from " 3 "
“1”.Detecting module 121 is detected after the current status data " 1 " of unmanned plane feedback, handover module
123 are switched to the dispaly state of control 101 " taking off " by " hovering ".So far, complete to unmanned plane by
Take off to the whole remote control process of landing.
More than, in the descent of unmanned plane, according to the current status data of unmanned plane, control 101
Dispaly state constantly switch between " hovering " and " landing ", sending module 122 is constantly called and control
" hovering instruction " of 101 matchings or " landing instruction ", with control unmanned plane hovering and dropping action it
Between constantly switch.If in the descent of unmanned plane, user does not click on the control that dispaly state is " hovering "
Part 101, then unmanned plane can also directly drop to ground, without the process of hovering.
In the present embodiment, if WiFi disconnects suddenly in the flight course of unmanned plane, then control
101 dispaly state is the state before disconnecting, and the prompting of detecting module 121 user WiFi has disconnected.When
WiFi is again coupled to, and remote control 120 obtains the current status data of unmanned plane, and switches to control
101 corresponding dispaly states.
Current status data of the embodiment of the present invention according to unmanned plane, the dispaly state of continuous toggle control
And call the operational order of matching, it is possible to achieve take off, hover, land three bonding one, according to difference
Situation, be multiplexed same control, can so making full use of screen space, there is provided bigger video
Preview screen, moreover it is possible to reduce screen distracter.And using such method, can also be according to control
The very clear current state for reflecting unmanned plane of dispaly state, improve user experience.It is whole distant
The switching of control is smooth during control, and whole structure is good.
In several embodiments provided herein, it should be understood that disclosed apparatus and method,
It can also realize by another way.Device embodiment described above be only it is schematical,
For example, the flow chart and block diagram in accompanying drawing show the device of multiple embodiments according to the present invention, side
Architectural framework in the cards, function and the operation of method and computer program product.At this point, flow
Each square frame in journey figure or block diagram can represent a part for a module, program segment or code, institute
State a part for module, program segment or code is used to realize defined logic function comprising one or more
Executable instruction.It should also be noted that in some implementations as replacement, being marked in square frame
The function of note can also be with different from the order marked in accompanying drawing generation.For example, two continuous sides
Frame can essentially be performed substantially in parallel, and they can also be performed in the opposite order sometimes, this according to
Depending on involved function.It is also noted that each square frame in block diagram and/or flow chart and
The combination of square frame in block diagram and/or flow chart, can be with function or action as defined in performing it is special
Hardware based system is realized, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the invention can integrate to form one
Independent part or modules individualism, can also two or more module collection
It is shaped as an independent part.
If the function is realized using in the form of software function module and as independent production marketing or made
Used time, it can be stored in a computer read/write memory medium.Understood based on such, this hair
Part that bright technical scheme substantially contributes to prior art in other words or the technical scheme
Part can be embodied in the form of software product, and the computer software product is stored in a storage
In medium, including some instructions are to cause a computer equipment (can be personal computer, take
It is engaged in device, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention
Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It should be noted that herein, such as first and second or the like relational terms are only used
By an entity or operation with another entity or operate make a distinction, and not necessarily require or
Imply between these entities or operation there is any this actual relation or order.Moreover, term
" comprising ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that bag
Including process, method, article or the equipment of a series of key elements not only includes those key elements, but also wraps
Include other key elements being not expressly set out, or also include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, by sentence " including one ...... " limit
Key element, it is not excluded that also exist in the process including the key element, method, article or equipment
Other identical element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for
For those skilled in the art, the present invention can have various modifications and variations.All essences in the present invention
God is with principle, and any modification, equivalent substitution and improvements made etc. should be included in the present invention
Protection domain within.It should be noted that:Similar label represents similar with letter in following accompanying drawing
, therefore, once be defined in a certain Xiang Yi accompanying drawing, then in subsequent accompanying drawing do not need pair
It further define and explain.