Remote control instruction transmission method, remote control equipment, mobile platform and storage medium

文档序号:1581040 发布日期:2020-01-31 浏览:17次 中文

阅读说明:本技术 遥控指令传输方法、遥控设备、移动平台及存储介质 (Remote control instruction transmission method, remote control equipment, mobile platform and storage medium ) 是由 马宁 陈颖 张志鹏 于 2018-09-28 设计创作,主要内容包括:本发明实施例公开了一种遥控指令传输方法、遥控设备、移动平台及存储介质,其中该方法包括:获取遥控指令的传输指示信息;根据所述传输指示信息向移动平台传输目标遥控指令,所述目标遥控指令包括基本遥控指令或者压缩遥控指令;其中,所述基本遥控指令为原始遥控指令,所述压缩遥控指令为根据当前时刻检测到的原始遥控指令和当前时刻前检测到的原始遥控指令生成的遥控指令。本实施例可以更好地传输遥控指令,降低遥控指令的传输数据量,提高遥控指令传输的成功率。(The embodiment of the invention discloses remote control instruction transmission methods, remote control equipment, a mobile platform and a storage medium, wherein the method comprises the steps of obtaining transmission indication information of a remote control instruction, and transmitting a target remote control instruction to the mobile platform according to the transmission indication information, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction, the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment.)

1, remote control instruction transmission method, characterized by that, including:

acquiring transmission indication information of a remote control instruction;

transmitting a target remote control instruction to a mobile platform according to the transmission instruction information, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction;

the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment.

2. The method of claim 1, wherein the transmission indication information comprises: and the zone bit fed back by the mobile platform.

3. The method of claim 2, wherein transmitting the target remote control command to the mobile platform according to the transmission instruction information comprises:

judging whether the flag bit is an th mark or a second mark;

if the flag bit is the th mark, transmitting the basic remote control command to the mobile platform;

and if the flag bit is the second identifier, transmitting the compressed remote control instruction to the mobile platform.

4. The method of claim 2, wherein the transmission indication information is generated when a flag bit of the mobile platform feedback is not received within a preset time period of ;

the transmission indication information is used for indicating the transmission of the basic remote control instruction to the mobile platform.

5. The method of claim 1, wherein the obtaining transmission indication information of the remote control command comprises:

acquiring a transmission mode of the remote control instruction;

and generating the transmission indication information according to the transmission mode.

6. The method of claim 5, wherein the transmission mode comprises a periodic transmission mode, and the transmission indication information is used for indicating transmission of the basic remote control command to the mobile platform at intervals of a preset period.

7. The method of claim 5, wherein the transmission mode comprises a periodic transmission mode, the transmission indication information comprises th transmission indication information or second transmission indication information;

wherein the th transmission instruction information is used for instructing the transmission of the basic remote control command to the mobile platform, and the second transmission instruction information is used for instructing the transmission of the compressed remote control command to the mobile platform.

8. The method of claim 7, wherein the generating the transmission indication information according to the transmission mode comprises:

acquiring a time interval between the moment of transmitting the basic remote control command for the last times and the current moment;

if the time interval reaches a second preset time length, generating th transmission indication information;

and if the time interval does not reach the second preset time length, generating the second transmission indication information.

9, remote control instruction transmission method, characterized by comprising:

receiving a target remote control instruction transmitted by remote control equipment, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction, the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment;

verifying the target remote control instruction to obtain a verification result;

and determining a zone bit according to the checking result, and feeding back the zone bit to the remote control equipment.

10. The method of claim 9, wherein verifying the target remote control command to obtain a verification result comprises:

decoding the target remote control instruction;

if the decoding is correct, determining that the verification result indicates that the target remote control instruction is a correct remote control instruction;

and if the decoding is wrong, determining that the verification result indicates that the target remote control instruction is a wrong remote control instruction.

11. The method of claim 10, wherein said verifying said target remote control command to obtain a verification result comprises:

judging whether the difference between the target remote control instruction and the target remote control instruction received for the last times meets a preset condition or not;

if yes, determining that the verification result indicates that the target remote control instruction is a correct remote control instruction;

and if not, determining that the verification result indicates that the target remote control instruction is an error remote control instruction.

12. The method of any one of claims 9-11 and , wherein the determining a flag based on the check result comprises:

if the verification result indicates that the target remote control instruction is the correct remote control instruction, setting the flag bit as a second identifier;

if the verification result indicates that the target remote control instruction is the wrong remote control instruction, judging whether the target remote control instruction is the basic remote control instruction or not;

and determining the zone bit according to the judgment result.

13. The method as claimed in claim 12, wherein said determining the flag bit according to the determination result comprises:

if the target remote control instruction is the basic remote control instruction, setting the zone bit as the second identifier;

if the target remote control instruction is not the basic remote control instruction, setting the flag bit as the th mark.

14. The method of claim 9, wherein the method further comprises:

and if the target remote control instruction transmitted by the remote control equipment is not received within a third preset time length, setting the zone bit as an th mark.

A remote control device of the type 15, , comprising a memory for storing program instructions of the th degree and a processor configured to invoke the program instructions of the th degree, the processor performing the steps of:

acquiring transmission indication information of a remote control instruction;

transmitting a target remote control instruction to a mobile platform according to the transmission instruction information, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction;

the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment.

16. The remote control device of claim 15, wherein the transmission indication information comprises: and the zone bit fed back by the mobile platform.

17. The remote control device of claim 15, wherein, in transmitting a target remote control command to a mobile platform according to the transmission indication information, the processor is configured to call the th program instruction, and specifically perform the following steps:

judging whether the flag bit is an th mark or a second mark;

if the flag bit is the th mark, transmitting the basic remote control command to the mobile platform;

and if the flag bit is the second identifier, transmitting the compressed remote control instruction to the mobile platform.

18. The remote control device of claim 16, wherein the transmission indication information is generated when a flag bit of the mobile platform feedback is detected not received within a preset time period of ;

the transmission indication information is used for indicating the transmission of the basic remote control instruction to the mobile platform.

19. The remote control device of claim 15, wherein, in obtaining the transmission indication information of the remote control command, the processor is configured to call the th program instruction, and specifically perform the following steps:

acquiring a transmission mode of the remote control instruction;

and generating the transmission indication information according to the transmission mode.

20. The remote control device according to claim 19, wherein the transmission mode includes a periodic transmission mode, and the transmission indication information is used to indicate transmission of the basic remote control command to the mobile platform at intervals of a preset period.

21. The remote control device according to claim 19, wherein the transmission mode includes a periodic transmission mode, the transmission instruction information includes th transmission instruction information or second transmission instruction information;

wherein the th transmission instruction information is used for instructing the transmission of the basic remote control command to the mobile platform, and the second transmission instruction information is used for instructing the transmission of the compressed remote control command to the mobile platform.

22. The remote control device of claim 21, wherein, in generating the transmission-indicating information according to the transmission mode, the processor is configured to invoke the program instructions to perform the steps of:

acquiring a time interval between the moment of transmitting the basic remote control command for the last times and the current moment;

if the time interval reaches a second preset time length, generating th transmission indication information;

and if the time interval does not reach the second preset time length, generating the second transmission indication information.

23, A mobile platform, comprising a body, a power system, a memory and a processor, wherein the power system is mounted on the body for providing power to the mobile platform, the memory is used for storing second program instructions, and the processor is configured to call the second program instructions to execute the following steps:

receiving a target remote control instruction transmitted by remote control equipment, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction, the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment;

verifying the target remote control instruction to obtain a verification result;

and determining a zone bit according to the checking result, and feeding back the zone bit to the remote control equipment.

24. The mobile platform of claim 23, wherein when the target remote control instruction is verified to obtain a verification result, the processor is configured to invoke the second program instruction, and specifically perform the following steps:

decoding the target remote control instruction;

if the decoding is correct, determining that the verification result indicates that the target remote control instruction is a correct remote control instruction;

and if the decoding is wrong, determining that the verification result indicates that the target remote control instruction is a wrong remote control instruction.

25. The mobile platform of claim 23, wherein when the target remote control instruction is verified to obtain a verification result, the processor is configured to invoke the second program instruction, and specifically perform the following steps:

judging whether the difference between the target remote control instruction and the target remote control instruction received for the last times meets a preset condition or not;

if yes, determining that the verification result indicates that the target remote control instruction is a correct remote control instruction;

and if not, determining that the verification result indicates that the target remote control instruction is an error remote control instruction.

26. The mobile platform of any of claims 23-25 and , wherein, in determining a flag bit based on the verification result, the processor is configured to invoke the second program instructions to perform the steps of:

if the verification result indicates that the target remote control instruction is the correct remote control instruction, setting the flag bit as a second identifier;

if the verification result indicates that the target remote control instruction is the wrong remote control instruction, judging whether the target remote control instruction is the basic remote control instruction or not;

and determining the zone bit according to the judgment result.

27. The mobile platform of claim 26, wherein when determining the flag bit based on the determination, the processor is configured to invoke the second program instruction to perform the following steps:

if the target remote control instruction is the basic remote control instruction, setting the zone bit as the second identifier;

if the target remote control instruction is not the basic remote control instruction, setting the flag bit as the th mark.

28. The mobile platform of claim 23, wherein the processor is configured to invoke the second program instruction to further perform the steps of:

and if the target remote control instruction transmitted by the remote control equipment is not received within a third preset time length, setting the zone bit as an th mark.

29. The mobile platform of claim 23, wherein the mobile platform comprises any of drones, telecplanes, or robots.

Technical Field

The invention relates to the technical field of electronics, in particular to remote control instruction transmission methods, remote control equipment, a mobile platform and a storage medium.

Background

Generally, an operator can control the mobile platform to move through an operation device such as a remote lever or a button on a remote control device, and the specific principle is as follows: the remote control equipment determines a remote control instruction according to the operation of an operator on the operation device, wherein the remote control instruction comprises information such as the moving direction and the moving speed of the mobile platform; and then transmitting the remote control command to the mobile platform so that the mobile platform moves according to the remote control command.

Practice shows that whether the remote control command is transmitted successfully or not generally depends on the quality of the remote control link, and when the quality of the remote control link is poor, for example, there are: link signal interference on the unlicensed channel is severe; the link signal attenuation is serious due to the shielding or multipath effect caused by the rapid movement of the remote terminal; when the communication distance is too far, the remote control command cannot be successfully transmitted to the mobile platform. Therefore, how to better transmit the remote control command becomes a research hotspot.

Disclosure of Invention

The embodiment of the invention provides remote control instruction transmission methods, remote control equipment, a mobile platform and a storage medium, which can better transmit remote control instructions, reduce the transmission data volume of the remote control instructions and improve the success rate of remote control instruction transmission.

, the embodiment of the invention provides methods for transmitting remote control commands, comprising:

acquiring transmission indication information of a remote control instruction;

transmitting a target remote control instruction to a mobile platform according to the transmission instruction information, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction;

the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment.

In another aspect , an embodiment of the present invention provides another remote control instruction transmission methods, including:

receiving a target remote control instruction transmitted by remote control equipment, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction, the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment;

verifying the target remote control instruction to obtain a verification result;

and determining a zone bit according to the checking result, and feeding back the zone bit to the remote control equipment.

In a further aspect, embodiments of the present invention provide a remote control device, the remote control device including a memory and a processor, wherein the memory is configured to store program instructions, and the processor is configured to invoke the program instructions to perform the steps of:

acquiring transmission indication information of a remote control instruction;

transmitting a target remote control instruction to a mobile platform according to the transmission instruction information, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction;

the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment.

In a further aspect, embodiments of the present invention provide mobile platform, which includes a body, a power system, a memory, and a processor, wherein the power system is mounted on the body for providing power to the mobile platform, the memory is used for storing second program instructions, and the processor is configured to call the second program instructions to perform the following steps:

receiving a target remote control instruction transmitted by remote control equipment, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction, the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment;

verifying the target remote control instruction to obtain a verification result;

and determining a zone bit according to the checking result, and feeding back the zone bit to the remote control equipment.

In a further aspect, embodiments of the invention provide computer storage media storing computer program instructions and/or second computer program instructions, the computer program instructions or second computer program instructions when executed implement the above-described remote control instruction transmission method.

Because the compressed remote control command is generated according to the original remote control command detected at the current moment and the original remote control command detected before the current moment, the transmission of the compressed remote control command can reduce the transmission content to a certain extent at , reduce the transmission data volume of the remote control command, ensure the reliability of the transmission of the remote control command and improve the success rate of the transmission of the remote control command.

Drawings

In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.

Fig. 1 is an application scenario diagram of remote control instruction transmission methods according to an embodiment of the present invention;

fig. 2 is a schematic flow chart of remote control instruction transmission methods according to an embodiment of the present invention;

FIG. 3 is a flow chart of a method for transmitting remote control commands according to another embodiment of the present invention;

fig. 4 is a schematic flow chart of remote control instruction transmission methods according to an embodiment of the present invention;

FIG. 5 is a schematic structural diagram of types of remote control devices provided by the embodiment of the invention;

fig. 6 is a schematic structural diagram of kinds of mobile platforms provided by the embodiment of the present invention.

Detailed Description

The embodiment of the invention provides remote control instruction transmission methods, which can be applied to remote control equipment and a mobile platform, wherein the remote control equipment can be a remote controller, the mobile platform can comprise but is not limited to an unmanned aerial vehicle, a remote control ship, a remote control car, a robot and the like, and the mobile platform is taken as the unmanned aerial vehicle as an example in the embodiment of the invention.

As shown in fig. 1, an operator may control the flight of the drone through an operation device such as a joystick, a button, or a roller on a remote control device in a hand, and the remote control device may determine an original remote control command according to the operation command after detecting the operation command of the operator on the operation device, where the original remote control command refers to a remote control command generated based on an initial position, and the original remote control command may include, but is not limited to, joystick amount information or roller information, where the joystick amount information may include a direction of a push rod and an amount of the push rod generated by the operator pushing the joystick in the operation device, for example, the joystick at the initial position is pushed to the left by 10 degrees, the joystick amount information is that the direction of the push rod is to the left, the joystick amount is 10 degrees, and the roller information may include a rolling direction and a rolling amount generated by the operator rolling the roller in the operation device, for example, the operator rolls the roller at the initial position forward twice, and the roller represents 10 degrees every times, the roller information is that the rolling direction is forward, and the.

The remote control device may transmit a basic remote control command to the mobile platform if the remote control device detects an operation command of an operator to the operation device at th time after initial activation or after re-activation for a preset duration, the basic remote control command is an original remote control command, the remote control device may acquire transmission indication information of the remote control command during transmission of subsequent remote control commands, the transmission indication information is related to remote control link quality, if the remote control link quality is good, the transmission indication information may be used to indicate transmission of a compressed remote control command to the mobile platform, the compressed remote control command may be a remote control command generated according to the original remote control command detected at the current time and an original remote control command detected before the current time, if the remote control link quality is poor, the transmission indication information may be used to indicate transmission of a basic remote control command to the mobile platform, therefore, after acquiring the transmission indication information, the remote control device may transmit a target remote control command to the mobile platform according to the transmission indication information, the target remote control command may include a basic remote control command or a compressed remote control command, in embodiments, the compressed remote control command may be a remote control command obtained by converting the compressed remote control command from a sampling time of a sampling interval between the original remote control command and the current remote control command or a sampling time, the remote control command may include a sampling frequency, the sampling time of a sampling interval between the original remote control command obtained by a sampling of a sampling command, the original remote control command, or a sampling time, the sampling of a sampling sequence of a remote control command, the sampling time, the sampling of a sampling sequence of a sampling of a remote control command, the remote control command obtained by a sampling sequence of a remote control command, or a sampling sequence of a remote control command, where the remote control command is a sampling sequence, the remote control command is a sampling sequence, the sampling sequence of a sampling sequence, the remote control command, the sampling sequence of a sampling sequence, the remote control command, the remote control system may include a sampling sequence, the sampling sequence of a sampling sequence of.

When the quality of the remote control link is good, the situation of transmission error of the remote control instruction does not occur, that is, the target remote control instruction is a correct remote control instruction, at this time, the mobile platform can send a flag bit to indicate that the remote control device can transmit the compressed remote control instruction times, when the quality of the remote control link is poor, the situation of transmission error of the remote control instruction may occur, if the target remote control instruction is a wrong remote control instruction, the mobile platform can send a flag bit to indicate that the remote control device can transmit the basic remote control instruction times, therefore, after receiving the target remote control instruction transmitted by the remote control device, the mobile platform can check the remote control target instruction to obtain a check result, and determine the flag bit according to the check result, and feed the flag bit back to the remote control device, so that the remote control device can determine whether the basic remote control instruction or the compressed remote control instruction is transmitted times according to the flag bit, wherein the flag bit is a sign for reflecting whether the target remote control.

Specifically, if the target remote control instruction is a basic remote control instruction, the mobile platform can directly move according to the target remote control instruction, if the target remote control instruction is a compressed remote control instruction, the current original remote control instruction needs to be generated according to the original remote control instruction and the target remote control instruction of the previous times, and then the mobile platform moves according to the generated current original remote control instruction.

Therefore, when the quality of the remote control link is good, the remote control equipment can only transmit the compressed remote control command to the mobile platform, the transmission content can be reduced to a certain extent at , namely, the transmitted data volume (bit) is reduced, and the transmission efficiency of the remote control command can be improved, the signal-to-noise ratio formula is Eb/N0, wherein Eb is the signal energy corresponding to each bit of the transmitted data, N0 is the power spectral density of noise, the number of transmitted bits is reduced, the energy rise of a unit bit can be ensured, and the success rate of the remote control command transmission can be improved, and the remote control equipment can also receive the flag bit fed back by the mobile platform, determine whether the basic remote control command is transmitted or compressed for times according to the flag bit, and can ensure that the basic remote control command is transmitted to the mobile platform in time when the remote control command is transmitted in error, the remote control command can be recovered quickly, so that the reliability of the remote control command transmission is ensured in steps.

Based on the above description, the embodiment of the present invention provides remote control instruction transmission methods, which may be executed by a remote control device, please refer to fig. 2, which may include the following steps S201 to S202:

s201, acquiring transmission instruction information of the remote control instruction.

In the process of transmitting subsequent remote control commands, the transmission indication information of the remote control commands can be obtained, and then whether the basic remote control commands or the compressed remote control commands are transmitted to the mobile platform is determined according to the transmission indication information.

In embodiments, the remote control device may obtain the transmission indication information of the remote control command from the mobile platform, that is, the transmission indication information may include a flag bit fed back by the mobile platform, where the flag bit may include an error flag bit or a correct flag bit, and for convenience of description, the flag bits mentioned later in the embodiments of the present invention all take the error flag bit as an example.

And S202, transmitting the target remote control command to the mobile platform according to the transmission instruction information.

In embodiments, the compressed remote control command may be a differential remote control command generated according to a difference between the original remote control command detected at the current time and the original remote control command detected before the current time.

Correspondingly, the specific implementation manner of transmitting the target remote control command to the mobile platform according to the transmission indication information may be to determine whether the flag bit is a th identifier or a second identifier, where the th identifier may be represented as "TRUE" and the second identifier may be represented as "FALSE".

In still another embodiments, if the remote control device does not receive the flag fed back by the mobile platform within the preset time period, it may be that the quality of the remote control link is poor at this time, and transmission of the flag fails, and at this time, the remote control device transmits the basic remote control command to the mobile platform, therefore, in step S201, the remote control device may also generate transmission indication information when detecting that the flag fed back by the mobile platform is not received within the preset time period, so as to obtain the transmission indication information, where the transmission indication information may be generated when detecting that the flag fed back by the mobile platform is not received within the preset time period, and the transmission indication information is used to indicate transmission of the basic remote control command to the mobile platform.

Because the compressed remote control command is generated according to the original remote control command detected at the current moment and the original remote control command detected before the current moment, the transmission of the compressed remote control command can reduce the transmission content to a certain extent at , reduce the transmission data volume of the remote control command, ensure the reliability of the transmission of the remote control command and improve the success rate of the transmission of the remote control command.

Based on the above description, the embodiment of the present invention provides remote control instruction transmission methods, which may be executed by a remote control device, please refer to fig. 3, which may include the following steps S301 to S303:

s301, acquiring a transmission mode of the remote control command.

S302, generating transmission indication information according to the transmission mode.

In steps S301 to S302, in embodiments, the transmission mode may include a periodic transmission mode, where the transmission indication information may be used to indicate, at intervals of a preset period, to transmit the basic remote control instruction to the mobile platform.

In still another embodiments, the transmission modes may include another periodic transmission modes, where the periodic transmission mode refers to a mode for transmitting basic remote control commands to the mobile platform based on a preset period, and the transmission indication information includes th transmission indication information or second transmission indication information, where the th transmission indication information indicates transmission of the basic remote control commands to the mobile platform, and the second transmission indication information indicates transmission of the compressed remote control commands to the mobile platform.

The specific implementation manner of generating the transmission indication information according to the transmission mode may be that the second preset time interval is cycles, the time interval between the time of last times of transmitting the basic remote control command and the current time is obtained, if the time interval reaches the second preset time interval, the th transmission indication information is generated, and if the time interval does not reach the second preset time interval, the second transmission indication information is generated.

And S303, transmitting the target remote control command to the mobile platform according to the transmission instruction information.

In embodiments, the compressed remote control command may be a differential remote control command generated according to a difference between the original remote control command detected at the current time and the original remote control command detected before the current time.

Correspondingly, the specific implementation of transmitting the target remote control command to the mobile platform according to the transmission instruction information may be to transmit the basic remote control command to the mobile platform if the transmission instruction information includes th transmission instruction information, and transmit the compressed remote control command to the mobile platform if the transmission instruction information includes second transmission instruction information.

The compressed remote control command is generated according to the original remote control command detected at the current moment and the original remote control command detected before the current moment, so that the transmission content of the compressed remote control command can be reduced to degree, the transmission data volume of the remote control command is reduced, the reliability of the remote control command transmission is ensured, the success rate of the remote control command transmission is improved, the remote control command can be periodically recovered based on the periodic transmission of the basic remote control command, and the reliability of the remote control command transmission is ensured in degree step .

Based on the above description, the present invention further provides remote control instruction transmission methods, which may be executed by a mobile platform, where the mobile platform may include, but is not limited to, an unmanned aerial vehicle, a remote control boat, a remote control car, a robot, etc. referring to fig. 4, the remote control instruction transmission method may include the following steps S401 to S403:

s401, receiving a target remote control instruction transmitted by the remote control equipment.

In embodiments, the compressed remote control command may be a difference remote control command generated according to a difference between the original remote control command detected at the current time and the original remote control command detected before the current time.

S402, verifying the target remote control instruction to obtain a verification result.

The specific implementation mode of verifying the target remote control instruction to obtain the verification result in embodiments may be that the target remote control instruction is decoded, if the decoding is correct, the verification result indicates that the target remote control instruction is the correct remote control instruction, and if the decoding is wrong, the verification result indicates that the target remote control instruction is the wrong remote control instruction.

In the embodiments, the specific implementation manner of verifying the target remote control instruction to obtain the verification result may be to determine whether the difference between the target remote control instruction and the target remote control instruction received last times meets a preset condition, determine that the verification result indicates that the target remote control instruction is the correct remote control instruction if the difference meets the preset condition, and determine that the verification result indicates that the target remote control instruction is the wrong remote control instruction if the difference does not meet the preset condition.

In embodiments, the preset condition may include that the difference between the target remote control command received each time and the target remote control command received last times should be a fixed value, for example, a fixed value of 10 degrees, and whether the difference between the target remote control command and the target remote control command received last times meets the preset condition may be determined by calculating the difference between the target remote control command and the target remote control command received last times, determining whether the calculated difference is the fixed value, if so, considering that the preset condition is met, and if not, considering that the preset condition is not met.

In still another embodiments, the preset condition may include that a difference between the target remote control command received each time and the target remote control command received last times should satisfy a preset difference range, for example, the preset difference range is [0, 10], and a specific implementation manner of determining whether the difference between the target remote control command and the target remote control command received last times satisfies the preset condition may be to calculate a difference between the target remote control command and the target remote control command received last times, determine whether the calculated difference satisfies the preset difference range, if so, consider that the preset condition is satisfied, and if not, consider that the preset condition is not satisfied.

In still embodiments, the preset condition may include that the difference between the target remote control command received each time and the target remote control command received last times should be the same, and the specific implementation manner of determining whether the difference between the target remote control command and the target remote control command received last times meets the preset condition may be to calculate a difference between the target remote control command and the target remote control command received last times, calculate a second difference between the target remote control command received last times and the target remote control command received last times, determine whether the difference and the second difference are the same, if yes, consider that the preset condition is met, and if not, consider that the preset condition is not met.

And S403, determining a zone bit according to the verification result, and feeding the zone bit back to the remote control equipment.

As can be seen from the foregoing, the flag bits may include an error flag bit or a correct flag bit, and for convenience of description, the following flag bits in the embodiments of the present invention are all exemplified by the error flag bit. The specific implementation of determining the flag bit according to the check result may be: if the verification result indicates that the target remote control instruction is a correct remote control instruction, setting the flag bit as a second identifier, namely the second identifier can be represented as 'FALSE'; if the verification result indicates that the target remote control instruction is the wrong remote control instruction, judging whether the target remote control instruction is the basic remote control instruction or not; and determining the zone bit according to the judgment result.

The specific implementation manner of determining the flag bit according to the determination result may be that the flag bit is set to be the second flag if the target remote control instruction is the basic remote control instruction, and the flag bit is set to be the th flag if the target remote control instruction is not the basic remote control instruction, that is, the th flag may be denoted as "TRUE".

In implementations, when the quality of the remote control link is poor, it may result in a failure to transmit the target remote control command, i.e. the mobile platform cannot receive the target remote control command, and at this time, the mobile platform needs to instruct the remote control device to transmit the basic remote control command.

The method comprises the steps of determining a zone bit according to a verification result, feeding the zone bit back to the remote control equipment, so that the remote control equipment can determine to transmit a basic remote control instruction or a compressed remote control instruction to the mobile platform according to the zone bit, wherein the compressed remote control instruction is generated according to an original remote control instruction detected at the current moment and an original remote control instruction detected before the current moment, so that the content of transmission can be reduced to a certain extent by transmitting the compressed remote control instruction at , the transmission data quantity of the remote control instruction is reduced, the reliability of remote control instruction transmission is ensured, the success rate of remote control instruction transmission is improved, and the remote control equipment can timely recover the target remote control instruction when the target remote control instruction has transmission errors by feeding back the zone bit to the remote control equipment, so that the mobile platform can move based on the correct remote control instruction.

Based on the description of the foregoing method embodiment, in implementations, the embodiment of the present invention provides a structural schematic diagram of remote control devices as shown in fig. 5, where the remote control device as shown in fig. 5 may at least include a memory 101 and a processor 102, where the memory 101 is used to store the th program instruction, and the processor 102 is configured to call and execute the th program instruction.

In embodiments, the Processor 102 may be a Central Processing Unit (CPU), or other general purpose Processor such as a microprocessor or any conventional Processor such as a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable array (FPGA) or other Programmable logic device, discrete or transistor logic, discrete hardware components, or the like.

The memory 101 may include both read-only memory and random access memory and provides instructions and data to the processor 102. Therefore, the processor 102 and the memory 101 are not limited herein.

In embodiments, the memory 101 is configured to store program instructions, and the processor 102 is configured to invoke the program instructions to perform the steps of:

acquiring transmission indication information of a remote control instruction;

transmitting a target remote control instruction to a mobile platform according to the transmission instruction information, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction;

the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment.

In , the transmission indication information includes a flag bit fed back by the mobile platform.

In still another implementation, when the target remote control command is transmitted to the mobile platform according to the transmission instruction information, the processor 102 is configured to invoke the program command to perform the following steps:

judging whether the flag bit is an th mark or a second mark;

if the flag bit is the th mark, transmitting the basic remote control command to the mobile platform;

and if the flag bit is the second identifier, transmitting the compressed remote control instruction to the mobile platform.

In another embodiments, the transmission indication information is generated when detecting that the flag bit fed back by the mobile platform is not received within a preset time period of ;

the transmission indication information is used for indicating the transmission of the basic remote control instruction to the mobile platform.

In another implementation manner, when obtaining the transmission indication information of the remote control command, the processor 102 is configured to call the program command, and specifically perform the following steps:

acquiring a transmission mode of the remote control instruction;

and generating the transmission indication information according to the transmission mode.

In still another embodiments, the transmission mode includes a periodic transmission mode, and the transmission indication information is used to indicate to transmit the basic remote control command to the mobile platform at intervals of a preset period.

In still another embodiments, the transmission mode includes a periodic transmission mode, and the transmission indication information includes th transmission indication information or second transmission indication information;

wherein the th transmission instruction information is used for instructing the transmission of the basic remote control command to the mobile platform, and the second transmission instruction information is used for instructing the transmission of the compressed remote control command to the mobile platform.

In still another implementation, when the transmission indicating information is generated according to the transmission mode, the processor 102 is configured to invoke the program instructions, and specifically execute the following steps:

acquiring a time interval between the moment of transmitting the basic remote control command for the last times and the current moment;

if the time interval reaches a second preset time length, generating th transmission indication information;

and if the time interval does not reach the second preset time length, generating the second transmission indication information.

The compressed remote control command is generated according to the original remote control command detected at the current moment and the original remote control command detected before the current moment, so that the transmission content of the compressed remote control command can be reduced to degree, the transmission data volume of the remote control command is reduced, the reliability of the remote control command transmission is ensured, the success rate of the remote control command transmission is improved, the remote control command can be periodically recovered based on the periodic transmission of the basic remote control command, and the reliability of the remote control command transmission is ensured in degree step .

In implementation manners according to the embodiments of the present invention, there are provided structural diagrams of the mobile platform shown in fig. 6, which can communicate with a remote control device, the mobile platform shown in fig. 6 may at least include a body 601, a power system 602, a memory 603, and a processor 604, wherein the power system is mounted on the body for providing power to the mobile platform, the memory 603 is used for storing a second program instruction, and the processor 604 is configured to call and execute the second program instruction.

In embodiments, the Processor 604 may be a Central Processing Unit (CPU), or other general purpose Processor such as a microprocessor or any conventional Processor such as a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable array (FPGA) or other Programmable logic device, discrete or transistor logic, discrete hardware components, or the like.

The memory 603 may include both read-only memory and random access memory, and provides instructions and data to the processor 604. Therefore, the processor 604 and the memory 603 are not limited herein.

In embodiments, the memory 603 is configured to store second program instructions, and the processor 604 is configured to call the second program instructions to perform the steps of:

receiving a target remote control instruction transmitted by remote control equipment, wherein the target remote control instruction comprises a basic remote control instruction or a compressed remote control instruction, the basic remote control instruction is an original remote control instruction, and the compressed remote control instruction is a remote control instruction generated according to the original remote control instruction detected at the current moment and the original remote control instruction detected before the current moment;

verifying the target remote control instruction to obtain a verification result;

and determining a zone bit according to the checking result, and feeding back the zone bit to the remote control equipment.

In , when the target remote control instruction is verified to obtain a verification result, the processor 604 is configured to invoke the second program instruction, and specifically execute the following steps:

decoding the target remote control instruction;

if the decoding is correct, determining that the verification result indicates that the target remote control instruction is a correct remote control instruction;

and if the decoding is wrong, determining that the verification result indicates that the target remote control instruction is a wrong remote control instruction.

In another implementation manners, when the target remote control instruction is verified to obtain a verification result, the processor 604 is configured to invoke the second program instruction, and specifically execute the following steps:

judging whether the difference between the target remote control instruction and the target remote control instruction received for the last times meets a preset condition or not;

if yes, determining that the verification result indicates that the target remote control instruction is a correct remote control instruction;

and if not, determining that the verification result indicates that the target remote control instruction is an error remote control instruction.

In another implementation manner, when determining the flag according to the check result, the processor 604 is configured to invoke the second program instruction, and specifically perform the following steps:

if the verification result indicates that the target remote control instruction is the correct remote control instruction, setting the flag bit as a second identifier;

if the verification result indicates that the target remote control instruction is the wrong remote control instruction, judging whether the target remote control instruction is the basic remote control instruction or not;

and determining the zone bit according to the judgment result.

In another implementation manner, when the flag is determined according to the determination result, the processor 604 is configured to invoke the second program instruction, and specifically perform the following steps:

if the target remote control instruction is the basic remote control instruction, setting the zone bit as the second identifier;

if the target remote control instruction is not the basic remote control instruction, setting the flag bit as the th mark.

In yet another embodiment, the processor 604 is configured to invoke the second program instruction and further perform the steps of:

and if the target remote control instruction transmitted by the remote control equipment is not received within a third preset time length, setting the zone bit as an th mark.

In yet another embodiments, the mobile platform comprises any of a drone, a remotely controlled boat, a remotely controlled car, or a robot.

The method comprises the steps of determining a zone bit according to a verification result, feeding the zone bit back to the remote control equipment, so that the remote control equipment can determine to transmit a basic remote control instruction or a compressed remote control instruction to the mobile platform according to the zone bit, wherein the compressed remote control instruction is generated according to an original remote control instruction detected at the current moment and an original remote control instruction detected before the current moment, so that the content of transmission can be reduced to a certain extent by transmitting the compressed remote control instruction at , the transmission data quantity of the remote control instruction is reduced, the reliability of remote control instruction transmission is ensured, the success rate of remote control instruction transmission is improved, and the remote control equipment can timely recover the target remote control instruction when the target remote control instruction has transmission errors by feeding back the zone bit to the remote control equipment, so that the mobile platform can move based on the correct remote control instruction.

It should be noted that, for the specific working processes of the mobile platform and the remote control device described above, reference may be made to the relevant descriptions in the foregoing embodiments, and details are not described here again.

It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments may be implemented by hardware instructions of a computer program, and the program may be stored in computer readable storage medium, and when executed, the program may include the processes of the above methods, wherein the storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like, i.e., computer storage media are provided, and the computer storage media store computer program instructions, the computer program instructions are suitable for being loaded by a processor and executing the remote control instruction transmission method shown in fig. 2 or fig. 3, or the computer storage media store computer program instructions, the second computer program instructions are suitable for being loaded by a processor and executing the remote control instruction transmission method shown in fig. 4.

While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:行驶控制方法以及行驶控制装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!