Control method, control device and computer readable storage medium

文档序号:1510280 发布日期:2020-02-07 浏览:5次 中文

阅读说明:本技术 一种控制方法、控制设备及计算机可读存储介质 (Control method, control device and computer readable storage medium ) 是由 莫维宇 于 2018-09-30 设计创作,主要内容包括:一种控制方法、控制设备及计算机可读存储介质,所述控制方法应用于控制设备中,所述控制设备与移动平台相连接,所述移动平台与提示设备相连接,所述控制设备与所述提示设备相连接,其中控制方法包括:当接收到用户输入的模式切换操作时,基于所述模式切换操作生成模式切换指令(S301);根据所述模式切换指令切换所述控制设备的控制模式(S302);其中,所述控制模式包括第一控制模式和第二控制模式,工作在所述第一控制模式下的所述控制设备产生的第一指令用于控制所述移动平台;工作在所述第二控制模式下的所述控制设备产生的第二指令用于控制所述提示设备,因此可以较安全的控制移动平台。(A control method, a control device and a computer readable storage medium, wherein the control method is applied to the control device, the control device is connected with a mobile platform, the mobile platform is connected with a prompt device, and the control device is connected with the prompt device, wherein the control method comprises the following steps: generating a mode switching instruction based on a mode switching operation when the mode switching operation input by a user is received (S301); switching a control mode of the control device according to the mode switching instruction (S302); the control mode comprises a first control mode and a second control mode, and a first instruction generated by the control equipment working in the first control mode is used for controlling the mobile platform; the second instruction generated by the control device working in the second control mode is used for controlling the prompting device, so that the mobile platform can be controlled more safely.)

1. A control method is applied to control equipment, the control equipment is connected with a mobile platform, the control equipment is connected with prompt equipment, and the method comprises the following steps:

when mode switching operation input by a user is received, the control equipment generates a mode switching instruction based on the mode switching operation;

the control equipment switches the control mode of the control equipment according to the mode switching instruction;

the control mode comprises a first control mode and a second control mode, and a first instruction generated by the control equipment working in the first control mode is used for controlling the mobile platform; and a second instruction generated by the control device working in the second control mode is used for controlling the prompting device.

2. The method of claim 1, wherein the prompting device is to display a user interface, and the second instructions are to control the user interface displayed on the prompting device.

3. The method of claim 2, wherein the control device includes at least one directional key, the method further comprising:

in the first control mode, when a user operation is received on a target direction key of the at least one direction key, the control device generates a control instruction for controlling the moving direction of the mobile platform based on the user operation on the target direction key;

in the second control mode, when the user operation is received on a target direction key of the at least one direction key, the control device generates a movement control instruction for controlling the selection identifier displayed in the presentation device based on the user operation on the target direction key.

4. The method of claim 2, wherein the control device includes at least one directional key, the method further comprising:

in the second control mode, when a user operation is received on a target direction key of the at least one direction key, the control device generates a selection instruction for selecting an interface element displayed in the prompt device according to the user operation on the target direction key.

5. The method of claim 3, wherein the control device further comprises a confirmation key, and after generating the movement control instruction for controlling the selection identifier displayed in the prompting device, the method further comprises:

when a confirmation operation on the confirmation key is detected, the control device generates a confirmation instruction based on the confirmation operation;

the control equipment performs display control on a target interface element on the user interface in the prompt equipment based on the confirmation instruction;

and after the target interface element controls the selection identifier to move to the target position according to the movement control instruction, the interface element corresponding to the selection identifier.

6. The method of claim 4, wherein the control device further comprises a confirmation key, and after generating the selection instruction for selecting the interface element displayed in the prompting device, the method further comprises:

when a confirmation operation on the confirmation key is detected, the control device generates a confirmation instruction based on the confirmation operation;

the control equipment performs display control on a target interface element on the user interface in the prompt equipment based on the confirmation instruction;

wherein the target interface element is an interface element selected on the user interface according to the selection instruction.

7. The method of claim 4, wherein the control device further comprises a thumbwheel, and wherein after generating the selection instruction for selecting the interface element displayed in the prompting device, comprises:

receiving a first scrolling operation on the thumb wheel;

and if the interface element selected by the selection instruction on the user interface is a parameter adjustment element, the control equipment generates an adjustment instruction for adjusting the parameter of the parameter adjustment element according to the first rolling operation.

8. The method of claim 2, wherein the control device includes a thumbwheel, the method further comprising:

in the second control mode, when a second scroll operation on the jog dial is detected, the control device generates a movement control instruction for controlling the selection identifier displayed in the presentation device based on the second scroll operation.

9. The method of claim 2, wherein the control device includes a thumbwheel, the method further comprising:

and in the second control mode, when a second scroll operation is received on the thumb wheel, the control device generates a selection instruction for selecting the interface element displayed in the prompt device according to the second scroll operation.

10. The method of claim 8, wherein the control device further comprises a confirmation key, and after the control device generates a movement control instruction for controlling the selection identifier displayed in the prompting device based on the second scrolling operation, the method further comprises:

when a confirmation operation on the confirmation key is detected, the control device generates a confirmation instruction based on the confirmation operation;

the control device controls the prompt device to perform display control on a target interface element on the user interface in the prompt device based on the confirmation instruction;

and after the target interface element controls the selection identifier to move to the target position according to the movement control instruction, the interface element corresponding to the selection identifier.

11. The method of claim 9, wherein the control device further comprises a confirmation key, and after generating the selection instruction for selecting the interface element displayed in the prompting device, the method further comprises:

when a confirmation operation on the confirmation key is detected, the control device generates a confirmation instruction based on the confirmation operation;

the control equipment performs display control on a target interface element on the user interface in the prompt equipment based on the confirmation instruction;

wherein the target interface element is an interface element selected by the selection instruction on the user interface.

12. The method of claim 9, wherein after generating the selection instruction for selecting the interface element displayed in the prompting device, the method further comprises:

receiving a third scrolling operation on the thumb wheel;

if the interface element selected by the selection instruction on the user interface is a parameter adjustment element, the control device generates an adjustment instruction for performing parameter adjustment on the parameter adjustment element based on the third scrolling operation.

13. The method of claim 1, wherein the method further comprises: the mode switching operation input by the user refers to a preset operation input by the user on a mode switching key, and the preset operation comprises one or more of the following operations: a preset pressing operation, a preset toggling operation, and a preset rotating operation.

14. The method of claim 1, wherein the control device is a touch screen device.

15. The method of claim 1, wherein the prompting device is a display device comprising a display screen; or the prompting device is an indicating device comprising an indicating lamp.

16. The method of claims 2-15, wherein the user interface of the prompting device displays data to be displayed related to the mobile platform, wherein the data to be displayed comprises motion data of the mobile platform and/or data collected by the mobile platform.

17. A control device, wherein the control device is connected to a mobile platform, wherein the mobile platform is connected to a notification device, wherein the control device is connected to the notification device, wherein the control device comprises a processor and a memory:

the memory for storing a computer program comprising program instructions;

the processor is used for executing the following steps when calling the program instruction:

when mode switching operation input by a user is received, generating a mode switching instruction based on the mode switching operation;

switching the control mode of the control equipment according to the mode switching instruction;

the control mode comprises a first control mode and a second control mode, and a first instruction generated by the control equipment working in the first control mode is used for controlling the mobile platform; and a second instruction generated by the control device working in the second control mode is used for controlling the prompting device.

18. The control device of claim 17, wherein the prompting device is to display a user interface, and wherein the second instructions are to control the user interface displayed on the prompting device.

19. The control device of claim 18, wherein the control device includes at least one directional key, the processor when invoking the program instructions further performs:

in the first control mode, when a user operation is received on a target direction key in the at least one direction key, generating a control instruction for controlling the moving direction of the mobile platform based on the user operation on the target direction key;

in the second control mode, when the user operation is received on a target direction key of the at least one direction key, a movement control instruction for controlling a selection identifier displayed in the presentation apparatus is generated based on the user operation on the target direction key.

20. The control device of claim 18, wherein the control device includes at least one directional key, the processor when invoking the program instructions further performs:

and in the second control mode, when user operation is received on a target direction key in the at least one direction key, generating a selection instruction for selecting an interface element displayed in the prompt device according to the user operation on the target direction key.

21. The control device of claim 19, wherein the control device further comprises a confirmation key, and wherein the processor when invoked by the program instructions further performs, after generating the movement control instruction for controlling the selection identifier displayed in the prompting device:

when a confirmation operation on the confirmation key is detected, generating a confirmation instruction based on the confirmation operation;

performing display control on a target interface element on the user interface in the prompting device based on the confirmation instruction;

and after the target interface element controls the selection identifier to move to the target position according to the movement control instruction, the interface element corresponding to the selection identifier.

22. The control device of claim 20, wherein the control device further comprises a confirmation key, and wherein the processor, when invoked by the program instructions, further performs, after generating the selection instruction for selecting the interface element displayed in the prompting device:

when a confirmation operation on the confirmation key is detected, generating a confirmation instruction based on the confirmation operation;

performing display control on a target interface element on the user interface in the prompting device based on the confirmation instruction;

wherein the target interface element is an interface element selected on the user interface according to the selection instruction.

23. The control device of claim 20, wherein the control device further comprises a thumbwheel, and wherein after generating the selection instruction for selecting the interface element displayed in the prompting device, the processor when invoking the program instructions further performs:

receiving a first scrolling operation on the thumb wheel;

and if the interface element selected by the selection instruction on the user interface is a parameter adjustment element, generating an adjustment instruction for performing parameter adjustment on the parameter adjustment element according to the first rolling operation.

24. The control device of claim 18, wherein the control device includes a thumbwheel, the processor when invoking the program instructions further performs:

in the second control mode, when a second scroll operation on the jog dial is detected, a movement control instruction for controlling a selection identifier displayed in the presentation device is generated based on the second scroll operation.

25. The control device of claim 18, wherein the control device includes a thumbwheel, the processor when invoking the program instructions further performs:

and in the second control mode, when a second scroll operation is received on the thumb wheel, generating a selection instruction for selecting an interface element displayed in the prompting device according to the second scroll operation.

26. The control device of claim 24, wherein the control device further comprises a confirmation key, and wherein after the control device generates a movement control instruction for controlling the selection identifier displayed in the prompting device based on the second scrolling operation, the processor when invoking the program instructions further performs:

when a confirmation operation on the confirmation key is detected, generating a confirmation instruction based on the confirmation operation;

controlling the prompting device to perform display control on a target interface element on the user interface in the prompting device based on the confirmation instruction;

and after the target interface element controls the selection identifier to move to the target position according to the movement control instruction, the interface element corresponding to the selection identifier.

27. The control device of claim 25, wherein the control device further comprises a confirmation key, and wherein the processor, when invoked by the program instructions, further performs, after generating the selection instruction for selecting the interface element displayed in the prompting device:

when a confirmation operation on the confirmation key is detected, generating a confirmation instruction based on the confirmation operation;

performing display control on a target interface element on the user interface in the prompting device based on the confirmation instruction;

wherein the target interface element is an interface element selected by the selection instruction on the user interface.

28. The control device of claim 25, wherein after generating the selection instructions for selecting the interface element displayed in the prompting device, the processor when invoking the program instructions further performs:

receiving a third scrolling operation on the thumb wheel;

and if the interface element selected by the selection instruction on the user interface is a parameter adjustment element, generating an adjustment instruction for performing parameter adjustment on the parameter adjustment element based on the third rolling operation.

29. The control apparatus according to claim 17, wherein the mode switching operation input by the user refers to a preset operation input by the user on a mode switching key, and the preset operation includes one or more of: a preset pressing operation, a preset toggling operation, and a preset rotating operation.

30. The control device of claim 17, wherein the control device is a touch screen device.

31. The control device of claim 17, wherein the prompting device is a display device including a display screen; or the prompting device is an indicating device comprising an indicating lamp.

32. The control device according to claims 17-31, wherein the user interface of the prompting device displays data to be displayed related to the mobile platform, wherein the data to be displayed comprises motion data of the mobile platform and/or data collected by the mobile platform.

33. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the control method according to any one of claims 1 to 16.

Technical Field

The present invention relates to the field of communications technologies, and in particular, to a control method, a control device, and a computer-readable storage medium.

Background

With the development of video transmission and mobile phones and display screens, most of the mobile platforms capable of being remotely controlled display related operation interfaces by using the mobile phones or external display screens, and control devices such as remote controllers are matched to control the mobile platforms. In controlling a mobile platform using a control device, it is common for a user to operate the control device with both hands to achieve control of the basic motion of the mobile platform.

When interaction with a related operation interface displayed on a display screen is required, for example, related parameters of a mobile platform on the display screen are adjusted, a hand is required to leave the control device to operate the display screen interface, and at this time, the mobile platform is in a one-hand control state, even a state that both hands cannot control the mobile platform. In the process, if the mobile platform is in an abnormal condition, a user cannot control the mobile platform through the control equipment in time, so that a serious accident can be caused. Therefore, in a scenario where a mobile platform, a control device, and a presentation device are present, how to perform security control is currently a focus of research.

Disclosure of Invention

The embodiment of the invention provides a control method, control equipment and a computer readable storage medium, which can control a mobile platform more safely.

In a first aspect, an embodiment of the present invention provides a control method, where the control method is applied to a control device, the control device is connected to a mobile platform, the mobile platform is connected to a prompt device, and the control device is connected to the prompt device, and the method includes:

when mode switching operation input by a user is received, the control equipment generates a mode switching instruction based on the mode switching operation;

the control equipment switches the control mode of the control equipment according to the mode switching instruction;

the control mode comprises a first control mode and a second control mode, and a first instruction generated by the control equipment working in the first control mode is used for controlling the mobile platform; and a second instruction generated by the control device working in the second control mode is used for controlling the prompting device.

In a second aspect, an embodiment of the present invention provides a control device, where the control device is connected to a mobile platform, the mobile platform is connected to a prompt device, and the control device is connected to the prompt device. The control equipment comprises a processor and a memory, wherein the processor is connected with the memory, the memory stores a computer program, the computer program comprises program instructions, and the processor is used for executing the following steps when calling the program instructions:

when mode switching operation input by a user is received, the control equipment generates a mode switching instruction based on the mode switching operation;

the control equipment switches the control mode of the control equipment according to the mode switching instruction;

the control mode comprises a first control mode and a second control mode, and a first instruction generated by the control equipment working in the first control mode is used for controlling the mobile platform; and a second instruction generated by the control device working in the second control mode is used for controlling the prompting device.

Accordingly, an embodiment of the present invention provides a computer-readable storage medium, which stores computer program instructions, when executed, for implementing the control method according to the first aspect.

In the embodiment of the invention, the control equipment generates the mode switching instruction according to the received user operation, so that the control mode of the control equipment is switched based on the mode switching instruction, the control equipment can control the mobile platform and the prompting equipment, the mobile platform and the prompting equipment can be controlled by one control equipment, the interaction efficiency of the user and the prompting equipment is improved, and the safety of the mobile platform is ensured.

Drawings

Fig. 1 is a schematic structural diagram of a control system of a mobile platform according to an embodiment of the present invention;

fig. 2 is a schematic structural diagram of a control system of another mobile platform according to an embodiment of the present invention;

fig. 3 is a schematic flow chart of a control method according to an embodiment of the present invention;

FIG. 4 is a schematic structural diagram of a control device provided in the implementation of the present invention;

fig. 5a is a schematic diagram of a control device controlling a prompting device according to an embodiment of the present invention;

fig. 5b is a schematic diagram of another control device control prompting device according to an embodiment of the present invention;

FIG. 6 is a schematic diagram of a parameter adjustment element adjusted by a thumb wheel according to an embodiment of the present invention;

fig. 7 is a schematic structural diagram of another control device 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 below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The embodiment of the invention provides a control method, which is applied to control equipment, wherein the control equipment is respectively connected with a mobile platform and prompting equipment, and the mobile platform is connected with the prompting equipment. The connection modes among the control device, the mobile platform and the prompting device can be wired connection or wireless connection, such as bluetooth connection, radio frequency connection, wireless high fidelity WiFi connection and the like.

In one embodiment, the mobile platform may be an unmanned aerial vehicle, an automobile, a robot, or the like, and the control device may be a touch screen device, or may be a non-touch screen device, for example, the control device is a non-touch screen remote controller with a rocker, or the control device is a touch screen remote controller. The prompting device may be a display device including a display screen, for example, the prompting device may be a liquid crystal display screen, and is used for displaying motion data of the mobile platform in the moving process, such as a motion speed, a motion environment, and the like; or the prompting device may also be an indicating device including an indicator light, where the indicator light may be used to indicate whether the current movement state of the mobile platform conforms to a preset movement state. Further, in an embodiment, the control device and the prompting device may be integrally formed, for example, a remote controller provided with a rocker and a display screen at the same time, or a control panel provided with a key and an indicator light at the same time, etc.; in another embodiment, the control device and the prompting device may also be separately provided, for example, the control device is a remote controller, and the prompting device is a separately provided display screen, and the like, which is not limited herein.

Further, for example, assuming that the prompting device is an indicating device, the indicating device includes a moving altitude indicator light of the moving platform and a moving speed indicator light of the moving platform, for the moving altitude indicator light, when the moving altitude of the moving platform exceeds an altitude threshold, a red indicator light in the moving altitude indicator light is turned on, and when the moving altitude of the moving platform is smaller than the altitude threshold, a green indicator light in the moving altitude indicator light is turned on; for the moving speed indicator lamp, when the moving speed of the moving platform exceeds the speed threshold value, the red indicator lamp of the moving speed indicator lamp is turned on, and when the moving speed of the moving platform is smaller than the speed threshold value, the green indicator lamp of the moving speed indicator lamp is turned on. It is understood that the specific indication states of the indicating device and the indicating lamp included in the indicating device are only one possible implementation manner included in the indicating device listed in the embodiments of the present invention, and the specific indication states of the indicating device and the indicating lamp are not particularly limited.

In one embodiment, the mobile platform performs corresponding operations according to the control command of the control device, such as accelerating flight, stopping flight, steering operation, and the like. For example, referring to fig. 1, which is a schematic structural diagram of a control system of a mobile platform according to an embodiment of the present invention, the system of fig. 1 includes a mobile platform 101, a control device 102, and a prompt device 103, where the mobile platform 101 is an unmanned aerial vehicle, the control device 102 is a remote controller, the prompt device 103 is a display device, and the remote controller in fig. 1 may include a power switch, an electric quantity indicator, a direction key, and the like, where the power switch is used to control the control device 102 to turn on or off, and when the control device 102 is in an on state, the control device 102 is used to control the mobile platform 101, and when the control device 102 is in an off state, the control device 102 cannot control the; the power indicator is used for indicating the power condition of the control device 102, and a user can determine whether the control device 102 needs to be charged according to the power indicator; the direction keys may be used to control the movement of the mobile platform 101 in various directions.

In one embodiment, the prompting device 103 may be configured to display a user interface, where data to be displayed related to the mobile platform 101 may be displayed, where the data to be displayed includes motion data of the mobile platform 101 and/or data collected by the mobile platform 101. For example, please refer to the schematic structural diagram of the control system of the mobile platform 101 described in fig. 1, it is assumed that the prompt device 103 is a display device including a display screen, as can be seen from fig. 1, the mobile platform 101 and the prompt device 103 are connected in a wired or wireless manner, the motion data generated by the mobile platform 101 during the moving process or the data collected by the mobile platform 101 are transmitted to the prompt device 103 through the connection, and the prompt device 103 displays the received data on the display screen. For example, the mobile platform 101 transmits the current flying height, flying speed and currently acquired image data to the prompting device 103, and the prompting device 103 displays the data.

In another embodiment, for example, please refer to fig. 2, which is a schematic structural diagram of another control system of a mobile platform according to an embodiment of the present invention, in fig. 2, it is assumed that a mobile platform 201 is an unmanned aerial vehicle, a control device 202 is a remote controller, a prompt device 203 is an indication device including an indication lamp, the unmanned aerial vehicle is respectively connected to the remote controller and the indication device, the unmanned aerial vehicle determines whether flight data generated during a flight process, such as a flight altitude, a flight speed, and the like, meet preset conditions, and then determines how to control the indication lamp in the indication device to display according to a determination result.

In one embodiment, the user may operate the data to be displayed of the mobile platform 101 displayed in the prompting device 103 shown in fig. 1 and the indicator lights included in the prompting device 203 shown in fig. 2 to interact with the mobile platform. For example, the data to be displayed on the mobile platform 101 displayed in the prompting device 103 includes parameters of the image sensor on the mobile platform 101 when the image sensor captures an image, and the user may modify the parameters of the image sensor in the prompting device 103. If a user interacts with the prompting device 103, one hand or even both hands leave the remote controller to operate the prompting device 103, and the mobile platform 101 is in an unmanned control state, so that an unmanned aerial vehicle accident is easily caused, the control device 102 in the implementation of the invention can control the mobile platform 101 and the prompting device 103, and the user can realize the switching between the control device 102 controlling the mobile platform 101 and the control device 102 controlling the prompting device 103 only by inputting switching operation, so that the safety of the mobile platform 101 is ensured.

Referring to fig. 3, which is a schematic flow chart of a control method according to an embodiment of the present invention, in the control device of the control method shown in fig. 3, the control device is respectively connected to a mobile platform and a prompt device, the prompt device is connected to the mobile platform, and the control method may be executed by the control device.

By using the control method shown in fig. 3, the control device may control both the mobile platform and the notification device, where the control device specifically controls the mobile platform or controls the notification device and is determined according to a mode switching instruction of the control device, and in S301, when a mode switching operation input by a user is received, the control device generates a mode switching instruction based on the mode switching operation. In one embodiment, the mode switching operation input by the user refers to a preset operation input by the user on a mode switching key. In other words, the control device may include a mode switching key, and when a preset operation of the user is received at the mode switching key, it is determined that the user has input a mode switching operation to the control device, and then a mode switching instruction is generated according to the mode switching operation input by the user.

In one embodiment, the preset operation may be preset by the control device, and the control device presets the preset operation and specifies that the mode switching instruction is generated only when the user operation detected on the mode switching key belongs to the preset operation, so that a situation that the control device switches the control mode due to a user operating the mode switching key by mistake is avoided, and power consumption overhead of the control device can be saved. In one embodiment, the preset operation comprises one or more of: a preset pressing operation, a preset toggling operation, and a preset rotating operation. The preset pressing operation may include pressing a mode switching key, releasing the mode switching key, continuously pressing the mode switching key N times within a preset time, pressing the mode switching key M seconds, and the like, wherein N and M are positive integers greater than 1; the preset dialing operation can point to a preset direction to dial the mode switching key for a preset number of times; the preset rotation operation may refer to rotating the mode switching key in a preset direction or times. In the embodiment of the present invention, only some optional preset operations are listed, and the specific preset operations are not limited.

After a control apparatus generates a mode switching instruction based on a mode switching operation, the control apparatus switches a control mode of the control apparatus according to the mode switching instruction in S302. In an embodiment, the control device according to an embodiment of the present invention may include a first control mode and a second control mode, where when the control device operates in the first control mode, a first instruction generated by the control device is used to control the mobile platform, and when the control device operates in the second control mode, a second instruction generated by the control device is used to control the prompt device.

In one embodiment, the mode switching instruction may include a switching command for controlling the control device to switch the control mode, and the switching the control mode of the control device may be implemented by: determining a current control mode in which the control device is located; and switching the control mode of the control equipment according to the current control mode and the mode switching instruction. That is, if an instruction included in the mode switching instruction is used to instruct the control device to perform an operation of switching the control mode, the control device determines the current control mode of the control device before performing the operation indicated by the mode switching instruction, and if the current control mode of the control device is the first control mode, the control device performs the switching operation indicated by the mode switching instruction to switch the control device from the first control mode to the second control mode. Similarly, if the current control mode of the control device is the second control mode, the control device executes the switching operation of the instruction of the mode switching instruction, and switches the control device from the second control mode to the first control mode.

In still another embodiment, the mode switching instruction may include a switching command and a switching operation for controlling the control device to switch the control mode, where the switching operation is used to instruct the control device to switch to which control mode, for example, the switching operation instructs the control device to switch to the first control mode or the second control mode. In one embodiment, if a correspondence relationship between a mode switching operation input by a user and a control mode of the control apparatus is predefined, the manner in which the control apparatus generates the mode switching instruction based on the mode switching operation input by the user may be: acquiring a control mode corresponding to the mode switching operation input by the user; generating a mode switching instruction based on the control mode.

For example, the correspondence relationship between the mode switching operation and the control mode of the user input, which is predetermined by the control device, may be: pressing the mode switching key twice within 5 seconds corresponds to a first control mode; and a second control mode corresponding to long-time pressing of the mode switching key for 3 seconds. Assuming that the control device detects that the mode switching operation input by the user is long-pressing the mode switching key for 3 seconds, it may be determined that the control mode corresponding to the mode switching operation is the second control mode, and further, the control device generates a mode switching instruction carrying the second control mode. Thus, the mode switching instruction includes a switching command for controlling the control device to switch the control mode, and also includes a specific switching operation.

In an embodiment, if the mode switching instruction includes both a switching command for controlling the control device to switch the control mode and a specific switching operation, the switching of the control mode of the control device according to the mode switching instruction in S302 may be implemented by: and acquiring a control mode included in the mode switching instruction, and then switching the control equipment to the control mode included in the switching instruction. In an embodiment, before performing switching of the control device to the control mode included in the switching instruction, the control device may further determine whether the control mode in which the control device is currently located is the same as the control mode included in the mode switching instruction, if so, the switching operation may not be performed, and if not, the step of switching the control device to the control mode included in the switching instruction may be performed, so that power consumption overhead of the control device may be saved.

In an embodiment, the control method shown in fig. 3 may be applied to the working scenario of the mobile platform shown in fig. 1, where the prompting device included in fig. 1 may be used to display a user interface, and when the control device is in the second control mode, the second instruction generated by the control device is used to control the user interface displayed on the prompting device. Referring to fig. 4, a schematic structural diagram of a control device in an operating scenario of the mobile platform of fig. 1 according to an embodiment of the present invention is provided.

In one embodiment, a mode switching key 401 may be included in the control apparatus illustrated in fig. 4, and the control apparatus switches the control mode of the control apparatus when a preset operation by a user is detected on the mode switching key 401. In one embodiment, the control device shown in fig. 4 may further include at least one direction key, for example, fig. 4 includes a first direction key 4021 and a second direction key 4022, and in the first control mode, when a user operation is received on a target direction key of the at least one direction key, the control device generates a movement control instruction for controlling a movement direction of the mobile platform based on the user operation on the target direction key; in the second control mode, when the user operation is received on a target direction key of the at least one direction key, the control device generates a movement control instruction for controlling the selection identifier displayed in the presentation device based on the user operation on the target direction key.

Alternatively, the target direction key may include any one of the at least one direction key, or all of the at least one direction key. When the control device works in the first control mode, the control device is used for controlling the mobile platform, therefore, the control device generates a movement control instruction for controlling the movement of the mobile platform according to the user operation on the target direction key, namely, in the first control mode, the control instruction generated by the control device acts on the mobile platform. The manner of generating the movement control instruction by the control device according to the user operation on the target direction key may be: acquiring a moving direction indicated by user operation; generating a control instruction based on the moving direction. And if the control instruction carries the moving direction, the control equipment controls the moving platform to move according to the moving direction in the control instruction. For example, if the control device is a remote controller and the target direction key on the remote controller is a rocker, if a user operation of rotating to the left is detected on the rocker, the moving direction carried in the generated control instruction is to move to the left, and the control device controls the moving platform to move to the left.

When the control device operates in the second control mode, the control device is used for controlling the prompting device, so that the control device generates a movement control instruction for controlling the selection identifier displayed in the prompting device according to the user operation on the target direction key, namely, the control instruction generated by the control device acts on the prompting device in the second control mode. The manner in which the control device generates the movement control instruction for controlling the selection identifier displayed in the presentation device according to the user operation on the target direction key may be: acquiring a moving direction indicated by user operation; generating a movement control instruction based on the movement direction. In one embodiment, the selection identifier displayed in the prompting device includes a cursor, and the control device controls the cursor to move in a movement direction indicated in the movement control instruction based on the movement direction.

In yet another embodiment, in the second control mode, when a user operation is received on a target direction key of the at least one direction key, the control device generates a selection instruction for selecting an interface element displayed in the prompt device according to the user operation on the target direction key, where the interface element is generated according to the data to be displayed. For example, the interface element may be motion data of the mobile platform, and/or data collected by the mobile platform. Optionally, the selection instruction is used to control to move one display frame, the control device detects a moving direction corresponding to a user operation through a direction key, and generating the selection instruction including the moving direction may be understood as: if the moving direction is upward movement, the display frame displayed on the current prompting device can be moved upward, so that a certain interface element is displayed in the display frame, and the user is prompted that the interface element is selected.

In summary, in the second control mode, the target direction key may be regarded as an external mouse of the pointing device, and the mouse may control the user interface of the pointing device by controlling a selection identifier, such as a cursor, and a selection instruction, such as a display frame, in the pointing device.

In one embodiment, the control device shown in fig. 4 further includes a confirmation key 403, and the control device generates a confirmation instruction based on a confirmation operation when the confirmation operation on the confirmation key is detected after generating a movement control instruction for controlling the selection identifier displayed in the presentation device; and the control equipment performs display control on a target interface element on the user interface in the prompt equipment based on the confirmation instruction. Optionally, the target interface element is an interface element corresponding to the selection identifier after the selection identifier is controlled to move to the target position according to the movement control instruction. That is, if the user wants to select a target interface element in the prompting device through the control device, the user may first input an operation with a moving direction on the target direction key so that the control device moves the selection identifier in the prompting device to the target position, and then input a confirmation operation on the confirmation key so as to complete the selection of the target interface element in the prompting device.

For example, referring to fig. 5a, which is a schematic diagram of the control device controlling the prompt device, assuming that the control device is a remote controller, the remote controller includes two direction keys, a confirmation key and a mode switching key, and the remote controller is switched to the second control mode according to a preset operation of the user on the mode switching key, an interface element in a user interface included in the prompt device may be a function menu of the mobile platform, and the selection identifier is a cursor 50 a. Assuming that the control cursor 50a moves from the position a to the position b according to the user operation input on the direction key, and the control device detects the confirmation operation of the user on the confirmation key, the control device may determine that the position b is selected by the user, that is, the flight parameter setting, and the control device controls the prompt device to display the interface element included in the flight parameter setting menu. In one embodiment, the direction key, the confirmation key, the mode switching key and other keys may be some mechanical keys or virtual keys based on a touch screen.

In still another embodiment, the control device shown in fig. 4 further includes a confirmation key 403, and after generating a selection instruction for selecting an interface element displayed in the presentation device, when a confirmation operation on the confirmation key is detected, the control device generates a confirmation instruction based on the confirmation operation; and the control equipment performs display control on a target element on the user interface in the prompt equipment based on the confirmation instruction. Optionally, the target interface here is originally an interface element selected on the user interface according to the selection instruction. That is, the interface element selected by the selection instruction may also be, when a confirmation operation on the confirmation key is detected, the control device controls the prompt device to display the interface element selected by the selection instruction, as shown in fig. 5b, assuming that the selection instruction is a display frame 50b, the control device may determine that the display frame moves upward from the originally selected interface element (i.e., the flight mode) to the interface element selected by the confirmation (i.e., the flight parameter setting), and a specific implementation process thereof may be described with reference to fig. 5a, which is not described herein again.

In one embodiment, the control device shown in fig. 4 further includes a dial 404, and the dial 404 may be a dial above the confirmation key 403 or the mode switching key 401, or may be separately disposed at other suitable positions of the control device. In the present embodiment, the dial 404 is provided above the enter key 403 for easy operation by the user. Further, after generating a selection instruction for prompting an interface element displayed in the prompting device, the control device detects that a first scrolling operation is received on a thumb wheel; and if the interface element selected by the selection instruction on the user interface is a parameter adjustment element, the control equipment generates an adjustment instruction for adjusting the parameter of the parameter adjustment element according to the first rolling operation. In another embodiment, the parameter adjustment interface on the user interface may also correspond to the selection identifier. That is, if the interface element selected by the selection instruction or the interface element corresponding to the selection identifier is a parameter adjustment element, the thumbwheel on the control device may be used to adjust the parameter of the parameter adjustment element.

Referring to fig. 6, which is a schematic diagram of a thumbwheel adjustment parameter interface element according to an embodiment of the present invention, on the basis of fig. 5b, it is assumed that an interface element displayed in a pointing device is a parameter adjustment element, such as a moving speed threshold of a mobile platform or a moving height threshold of the mobile platform. It can be assumed that if the scrolling operation on the thumb wheel is to scroll a thumb wheel in a scrolling direction a as shown in fig. 6, the corresponding movement speed parameter can be reduced by a preset value; if the scroll parameter on the thumb wheel is to scroll a thumb wheel along the scroll direction B as shown in fig. 6, the corresponding motion speed parameter can be increased by a preset value. The embodiment of the invention only lists some possible parameter adjusting modes, and the specific parameter adjusting mode is not limited, and can be set according to different working scenes of the mobile platform or can be limited according to the self performance of the mobile platform.

In other embodiments, the control device may also preset a first direction key 4021 in at least one direction key as a target direction key, and generate a movement control instruction for controlling movement of a selection identifier in the pointing device when receiving a user operation on the first direction key 4021, or generate a selection instruction for selecting an interface element in the pointing device; the second direction key 4022 is a parameter adjustment key, and when receiving a user operation on the second direction key 4022, generates an adjustment instruction for adjusting a parameter adjustment element in the pointing device. Alternatively, the dial wheel 404 may be configured to generate the movement control command or the selection command when receiving a user operation. In short, in the control device shown in fig. 4, when the control device operates in the second control mode, and when a user operation is received on each key in the control device, what function is specifically used for controlling the prompting device to implement may be arbitrarily set, and is not limited to what is described in the embodiment of the present invention. In other embodiments, the control device shown in fig. 4 may also include a power key, a power indicator light, etc. (not shown in fig. 4).

In summary, if the control method shown in fig. 3 is applied to the control device shown in fig. 4, when the control device operates in the second control mode, the mode switching key 401, the direction keys, the enter key 403, and the dial wheel 404 in the control device respectively generate different instructions for controlling the user interface in the notification device when receiving the user operation, so that the user can interact with the notification device through the control device. In a popular way, the control method shown in fig. 3 is used for controlling the equipment to control the mobile platform and the prompting equipment, and the user can interact with the prompting equipment without leaving the remote controller, so that the interaction efficiency is improved, the mobile platform can be quickly switched back to be controlled in an emergency, and the safety of the mobile platform is ensured.

In one embodiment, in the control method shown in fig. 3, the control device may preset whether the control device operates in the first control mode or the second control mode, the direction key is always used for controlling the moving direction of the mobile platform, and the dial wheel and the confirmation key are used for controlling the prompting device in the second control mode. So can be so when under the second control mode, mobile platform also can not be in unmanned control state, and the user is when interacting with the suggestion equipment, if the moving direction that finds mobile platform is skew, operation direction key that can be quick controls mobile platform, and under this kind of condition, controlgear has realized simultaneously and has interacted with the suggestion equipment, has realized the control to mobile platform again, has strengthened the user to mobile platform's experience, has also ensured mobile platform's safety.

In one embodiment, in the second control mode, when a second scroll operation on the jog dial is detected, the control device generates a movement control instruction for controlling the selection identifier displayed in the presentation device based on the second scroll operation. In still another embodiment, the control device may further generate a selection instruction for selecting an interface element displayed in the prompt device according to the second scroll operation. That is, if operating in the second control mode, the thumb wheel acts as a control key for controlling the prompting device, and when receiving a user operation, the selection identifier in the prompting device can be controlled to move or a selection instruction can be generated.

In one embodiment, after the control device generates a movement control instruction for controlling the selection identifier displayed in the presentation device based on the second scroll operation, when a confirmation operation on the confirmation key is detected, the control device generates a confirmation instruction based on the confirmation operation; and the control device controls the prompting device to perform display control on a target interface element on the user interface in the prompting device based on the confirmation instruction. Optionally, the target interface element is an interface element corresponding to the movement identifier after the selection identifier is controlled to move to the target position according to the movement control instruction. That is, the user can control the selection identifier displayed in the prompting device to move to the target position through the dial wheel, then click the confirmation key to select the interface element corresponding to the selection identifier at the moment, and the prompting device displays the interface element selected by the user according to the confirmation operation of the user.

In other embodiments, after generating a selection instruction for selecting an interface element displayed in the presentation device, when a confirmation operation on the confirmation key is detected, the control device generates a confirmation instruction based on the confirmation operation; and the control device performs display control on a target interface element on the user interface in the prompting device based on the confirmation instruction, wherein the target interface element is the interface element selected by the selection instruction on the user interface. The user can generate a selection instruction in the prompting device through the dial wheel, and then the prompting device is controlled by the confirmation key to display the interface element corresponding to the selection instruction.

In an embodiment, after generating the selection instruction for selecting the interface element displayed in the prompting device, when it is detected that a third scrolling operation is received on the thumb wheel, if the interface element selected by the selection instruction on the user interface is a parameter adjustment element, the control device generates an adjustment instruction for performing parameter adjustment on the parameter adjustment element based on the third scrolling operation. Optionally, the description of the control device generating the adjustment instruction for performing the parameter adjustment on the parameter adjustment element may refer to the description of the control device in fig. 4, and is not repeated here.

In the control method shown in fig. 3 in the embodiment of the present invention, the control device generates a mode switching instruction according to a received user operation, so as to switch the control mode of the control device based on the mode switching instruction, the control device can control both the mobile platform and the prompt device, and the mobile platform and the prompt device can be controlled by one control device, thereby improving the interaction efficiency between the user and the prompt device, and ensuring the safety of the mobile platform.

Referring to fig. 7, which is a schematic structural diagram of a control device according to an embodiment of the present invention, the control device shown in fig. 7 is connected to a mobile platform, the mobile platform is connected to a prompt device, and the control device is connected to the prompt device. For specific connections, see above, they are not described in detail here. The control device comprises a processor 701 and a memory 702, the memory 702 and the processor 701 being connected by a bus 703, the memory 702 being adapted to store program instructions.

The memory 702 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 702 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the memory 702 may also comprise a combination of the above types of memory.

The processor 701 may be a Central Processing Unit (CPU). The processor 701 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or the like. The PLD may be a field-programmable gate array (FPGA), a General Array Logic (GAL), or the like. The processor 701 may also be a combination of the above structures.

In the embodiment of the present invention, the memory 702 is configured to store a computer program, the computer program includes program instructions, and the processor 701 is configured to execute the program instructions stored in the memory 702, so as to implement the steps of the corresponding method in the embodiment shown in fig. 3.

In one embodiment, when the processor 701 is configured to execute the program instructions stored in the memory 702 to implement the corresponding method in the embodiment shown in fig. 3, the processor 701 is configured to execute, when calling the program instructions: when mode switching operation input by a user is received, generating a mode switching instruction based on the mode switching operation; and switching the control mode of the control equipment according to the mode switching instruction. In one embodiment, the control modes include a first control mode and a second control mode, and a first instruction generated by the control device operating in the first control mode is used for controlling the mobile platform; and a second instruction generated by the control device working in the second control mode is used for controlling the prompting device.

In one embodiment, the prompting device is configured to display a user interface, and the second instruction is configured to control the user interface displayed on the prompting device.

In one embodiment, the control device comprises at least one direction key, and the processor 701 is configured to, when calling the program instruction, further perform: in the first control mode, when a user operation is received on a target direction key in the at least one direction key, generating a control instruction for controlling the moving direction of the mobile platform based on the user operation on the target direction key; in the second control mode, when the user operation is received on a target direction key of the at least one direction key, a movement control instruction for controlling a selection identifier displayed in the presentation apparatus is generated based on the user operation on the target direction key.

In one embodiment, the control device comprises at least one direction key, and the processor 701 is configured to, when calling the program instruction, further perform: in the second control mode, when a user operation is received on a target direction key of the at least one direction key, a selection instruction for selecting an interface element displayed in the prompt device is generated according to the user operation on the target direction key, wherein the interface element is generated according to the data to be displayed.

In one embodiment, the control device further comprises a confirmation key, and after the generating of the movement control instruction for controlling the selection identifier displayed in the prompting device, the processor 701 is configured to further perform, when invoking the program instruction: when a confirmation operation on the confirmation key is detected, generating a confirmation instruction based on the confirmation operation; performing display control on a target interface element on the user interface in the prompting device based on the confirmation instruction; and after the target interface element controls the selection identifier to move to the target position according to the movement control instruction, the interface element corresponding to the selection identifier.

In one embodiment, the control device further includes a confirmation key, and after the generating of the selection instruction for selecting the interface element displayed in the prompting device, the processor 701 is configured to further perform, when invoking the program instruction: when a confirmation operation on the confirmation key is detected, generating a confirmation instruction based on the confirmation operation; performing display control on a target interface element on the user interface in the prompting device based on the confirmation instruction; wherein the target interface element is an interface element selected on the user interface according to the selection instruction.

In one embodiment, the control device further includes a dial wheel, and after the generating of the selection instruction for selecting the interface element displayed in the prompting device, the processor 701 is configured to further perform, when invoking the program instruction: receiving a first scrolling operation on the thumb wheel; and if the interface element selected by the selection instruction on the user interface is a parameter adjustment element, generating an adjustment instruction for performing parameter adjustment on the parameter adjustment element according to the first rolling operation.

In one embodiment, the control device comprises a dial wheel, and the processor 701 is configured to further perform, when invoking the program instructions: in the second control mode, when a second scroll operation on the jog dial is detected, a movement control instruction for controlling a selection identifier displayed in the presentation device is generated based on the second scroll operation.

In one embodiment, the control device comprises a dial wheel, and the processor 701 is configured to further perform, when invoking the program instructions: and in the second control mode, when a second scroll operation is received on the thumb wheel, generating a selection instruction for selecting an interface element displayed in the prompting device according to the second scroll operation.

In one embodiment, the control device further includes a confirmation key, and after generating a movement control instruction for controlling the selection identifier displayed in the prompting device based on the second scroll operation, the processor 701 is configured to further perform, when invoking the program instruction: when a confirmation operation on the confirmation key is detected, generating a confirmation instruction based on the confirmation operation; controlling the prompting device to perform display control on a target interface element on the user interface in the prompting device based on the confirmation instruction; and after the target interface element controls the selection identifier to move to the target position according to the movement control instruction, the interface element corresponding to the selection identifier.

In one embodiment, the control device further includes a confirmation key, and after the generating of the selection instruction for selecting the interface element displayed in the prompting device, the processor 701 is configured to further perform, when invoking the program instruction: when a confirmation operation on the confirmation key is detected, generating a confirmation instruction based on the confirmation operation; performing display control on a target interface element on the user interface in the prompting device based on the confirmation instruction; wherein the target interface element is an interface element selected by the selection instruction on the user interface.

In one embodiment, after the generating the selection instruction for selecting the interface element displayed in the prompting device, the processor 701 is configured to, when calling the program instruction, further perform: receiving a third scrolling operation on the thumb wheel; and if the interface element selected by the selection instruction on the user interface is a parameter adjustment element, generating an adjustment instruction for performing parameter adjustment on the parameter adjustment element based on the third rolling operation.

In one embodiment, the mode switching operation input by the user refers to a preset operation input by the user on a mode switching key, and the preset operation includes one or more of the following operations: a preset pressing operation, a preset toggling operation, and a preset rotating operation.

In one embodiment, the control device is a touch screen device.

In one embodiment, the prompting device refers to a display device comprising a display screen; or the prompting device is an indicating device comprising an indicating lamp.

In one embodiment, the data to be displayed related to the mobile platform is displayed in the user interface of the prompting device, and the data to be displayed includes motion data of the mobile platform and/or data collected by the mobile platform.

It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.

The above disclosure is intended to be illustrative of only some embodiments of the invention, and is not intended to limit the scope of the invention.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于基于设备可靠性指数控制基于批次风险分数的动态批次测量的方法和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类