Programming methods, devices, remote controllers, and storage media for remote controllers

By introducing an automatic programming mode into the RC remote control system, sampling the channel value and time of the control channel to form a sequence curve, solving the problems of complex programming and high workload in the prior art, and achieving efficient programming of multiple control channels.

CN119380520BActive Publication Date: 2025-04-08FLYSKY TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411976556.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-08
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

In the prior art, programming an action requires multiple operations, which leads to complex programming process. Especially for actions involving more than three control channels, the workload of realizing programming is very huge.

Method used

A programming method is provided, including setting a correspondence between the programming sequence and the control channel, sampling the channel value of each control channel in the automatic programming mode, and forming a plurality of sequence curves based on the sampling value and sampling time.

Benefits of technology

Through the automatic programming mode, multiple control channels can be programmed without the need for users to program multiple times on each control channel, reducing user operation steps and improving programming convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119380520B_ABST
    Figure CN119380520B_ABST
Patent Text Reader

Abstract

The present application provides a programming method, device, remote control and storage medium for a remote controller, the method comprising: setting a corresponding relationship between a programming sequence and a control channel; sampling a channel value corresponding to each control channel corresponding to a programming action in an automatic programming mode; forming multiple sequence curves based on each channel value obtained by sampling and the sampling time of each channel value. In the embodiment of the present application, multiple control channels can be automatically programmed without the user having to perform multiple programming operations on one control channel, thereby reducing the user's operation steps and improving the convenience of programming the remote controller system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of RC model aircraft control technology, and in particular to a programming method, device, remote controller and storage medium applied to a remote controller. Background Art

[0002] In RC model control, there are usually scenarios that require programming control. For example, the control command to control the model to retract the landing gear requires the control of the equipment at the landing gear position to move so that the wheels are retracted into the cabin and then the cabin door is closed. This control command actually executes two channel control actions, and has a time sequence.

[0003] At present, the conventional method of applying programming to a remote controller is usually to set a sequence corresponding to the control channel, and the sequence is a curve graph with time as the horizontal axis and output value as the vertical axis. The user forms points by defining the output value at a specific time, and connects the points to form a curve.

[0004] In the above method, successfully programming an action requires setting the output value of all channels controlling the action at different times, which means that multiple programming point settings must be performed to complete an action, and multiple verifications must be run to succeed, making the programming process more complicated. Moreover, for actions involving more than three control channels, the workload of programming is very huge. Summary of the invention

[0005] The main purpose of the present application is to provide a programming method, device, remote control and storage medium, aiming to solve the technical problem that programming an action requires multiple operations, which makes the programming of the remote control system more complicated.

[0006] To achieve the above object, the present application provides a programming method, which includes:

[0007] Set the corresponding relationship between programming sequence and control channel;

[0008] In the case of automatic programming mode, the channel value corresponding to each control channel corresponding to the programming action is sampled;

[0009] A plurality of sequence curves are formed based on each channel value obtained by sampling and the sampling time of each channel value.

[0010] Optionally, the sequence curve includes set points, the ordinates of the set points represent channel values, the abscissas of the set points represent sampling time, and the sequence curve is a curve formed by connecting the set points in chronological order;

[0011] A sequence curve is formed based on each channel value obtained by sampling and the sampling time of each channel value, including:

[0012] If there are no two or more set points before the current sampling time, a set point is generated based on the current sampling time as the horizontal axis and the current sampling channel value as the vertical axis;

[0013] When there are two or more set points before the current sampling time, determine that the two points closest to the current sampling time are connected in a straight line. When the current sampling time is the horizontal coordinate position, the corresponding vertical coordinate is the first channel value, and the sampling channel value corresponding to the current sampling time is the second channel value;

[0014] The current sampling time is calculated based on the first channel value and the second channel value to be a previous set point of the movement, or a new set point is added;

[0015] A sequence curve is generated by connecting the set points in chronological order.

[0016] Optionally, the current sampling time calculated based on the first channel value and the second channel value is a previous set point, or a newly added set point, including:

[0017] Calculating an absolute value of a difference between the second channel value and the first channel value;

[0018] When the absolute value is greater than or equal to the preset value, a setting point is added, the ordinate is the second channel value, and the abscissa is the current sampling time;

[0019] When the absolute value is smaller than the preset value, the previous setting point is moved so that the ordinate of the previous setting point is the first channel value and the abscissa is the current sampling time.

[0020] Optionally, after forming a plurality of sequence curves based on each channel value obtained by sampling and the sampling time of each channel value, the method further comprises:

[0021] Setting a switch as a running switch for executing programming, and establishing a first programming action sequence corresponding to the running switch;

[0022] Determine the time from the start of each action to the start of the first action based on the running time corresponding to each action and the execution order of the actions;

[0023] Based on the time from each action to the start of the first action and the running switch corresponding to the first programmed action sequence, a timer switch corresponding to each programmed action is established;

[0024] A corresponding relationship between each action sequence and the timer switch corresponding to the programmed action is set.

[0025] Optionally, the method further comprises:

[0026] In manual programming mode, receive setting instructions for sequence curves;

[0027] In response to the setting instruction, adjusting, adding or deleting a setting point;

[0028] Based on a plurality of setting points, the sequence curve is adjusted to obtain a new sequence curve.

[0029] Optionally, in the case of the automatic programming mode, before sampling the channel value corresponding to each control channel corresponding to the programming action, the method further includes:

[0030] Set the target programming sequence to automatic programming mode and the non-target programming sequence to manual programming mode;

[0031] An automatic programming start switch is set, and after the automatic programming start switch is started, a target programming sequence associated with the automatic programming mode is controlled to perform automatic programming.

[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a programming device, the programming device comprising:

[0033] A setting module, used to set the corresponding relationship between the programming sequence and the control channel;

[0034] The sampling module is used to sample the channel value corresponding to each control channel corresponding to the programming action in the case of the automatic programming mode;

[0035] The processing module is used to form a plurality of sequence curves based on each channel value obtained by sampling and the sampling time of each channel value.

[0036] In order to solve the above technical problems, the embodiment of the present application further provides a remote controller, which adopts the following technical solution:

[0037] The remote control includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the programming methods proposed in the embodiments of the present application are implemented.

[0038] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0039] The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of any one of the programming methods proposed in the embodiments of the present application are implemented.

[0040] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0041] The present application provides a programming method, device, remote control and storage medium for a remote control, the method comprising: setting a corresponding relationship between a programming sequence and a control channel; in the case of an automatic programming mode, sampling the channel value corresponding to each control channel corresponding to the programming action; forming multiple sequence curves based on each channel value obtained by sampling and the sampling time of each channel value. In the embodiment of the present application, multiple control channels can be automatically programmed without the user having to perform multiple programming operations on one control channel, thereby reducing the user's operating steps and improving the convenience of programming the remote control system. In addition, the embodiment of the present application provides a one-time run after step-by-step programming, and the user does not need to set the output of the corresponding time for each control channel, and the programming file can be formed only through normal model control. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0043] Figure 1 It is a flow chart of the control architecture applied to the remote controller in the prior art;

[0044] Figure 2 is a flowchart of a programming method provided in an embodiment of the present application;

[0045] Figure 3 It is a time flow diagram of automatic programming and sequence runtime provided by an embodiment of the present application;

[0046] Figure 4 It is one of the schematic diagrams of the sequence curve provided in the embodiment of the present application;

[0047] Figure 5 This is the second schematic diagram of the sequence curve provided in the embodiment of the present application;

[0048] Figure 6 It is an application scenario diagram of step-by-step programming provided in an embodiment of the present application;

[0049] Figure 7 This is an application scenario diagram of manual programming provided in an embodiment of the present application;

[0050] Figure 8 is a schematic diagram of the structure of an embodiment of a programming device provided in an embodiment of the present application;

[0051] Fig. 9 This is a basic structural block diagram of the remote control provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] The programming method provided in the embodiment of the present application is applied to the programming device. Unless otherwise defined, all technical and scientific terms used in this article have the same meaning as those generally understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" in the specification and claims of the present application and the above-mentioned drawings and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0053] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0054] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0055] See also Figure 1 , Figure 1 It is a flow chart of the control architecture used in the remote controller in the prior art. Figure 1 The remote controller operation module is used to convert the signal trigger into a specific control channel value change through some operations; Figure 1 The control in is the control button that can be turned on the remote control, and the signal change trigger; Figure 1 The channels in can directly correspond to the control components on the model such as servos and motors; Figure 1 The motors / servos / lights in the controller are controlled components that can receive channel signals and perform different responses corresponding to different channel values.

[0056] In the prior art, successfully programming an action requires setting the output values ​​of all channels controlling the action at different times, which means that multiple programming point settings must be performed to complete an action, and multiple verifications must be run to succeed, making the programming process more complicated. Moreover, for actions involving more than three control channels, the workload of programming is very huge.

[0057] To solve the above technical problems, please refer to Figure 2 , Figure 2 A flowchart of an embodiment of a programming method proposed in the present application is shown.

[0058] The programming method provided in the embodiment of the present application comprises the following steps:

[0059] S210, setting the corresponding relationship between the programming sequence and the control channel.

[0060] In this step, before programming, the corresponding relationship between the programming sequence and the control channel can be manually set, that is, the control channels corresponding to different programming sequences can be set.

[0061] S220, in the case of the automatic programming mode, sampling the channel value corresponding to each control channel corresponding to the programming action.

[0062] Start the automatic programming mode. In the automatic programming mode, the model is manually controlled to execute preset actions. During this process, the channel value corresponding to the control channel corresponding to each programming sequence is sampled.

[0063] S230 , forming a plurality of sequence curves based on each channel value obtained by sampling and the sampling time of each channel value.

[0064] After sampling the channel value corresponding to each control channel, the channel value of each control channel is obtained, thereby forming multiple sequence curves based on each channel value and the sampling time of each channel value to achieve automatic programming.

[0065] It should be understood that the abscissa corresponding to the above sequence curve represents the sampling time, and the corresponding ordinate represents the channel value.

[0066] See also Figure 3 , Figure 3 The corresponding relationship between channels and sequences in the automatic programming mode is shown. In the automatic programming mode, the channel value corresponding to the preset sequence is sampled to form a sequence curve; during the sequence operation, the sequence operation switch is triggered to give the channel corresponding to the preset sequence a control source that changes according to the value of the sequence curve.

[0067] In the embodiment of the present application, multiple control channels can be automatically programmed without defining the horizontal and vertical coordinates of each point forming the curve separately, thereby reducing the user's operation steps and improving the convenience of programming the remote control system. In addition, the technical solution provided by the embodiment of the present application can be run once after step-by-step programming. The user does not need to perform a very successful manual control once, but can achieve an action through a simple manual control model and then program the next action. This allows non-professionals to simply learn control and quickly form a programming sequence curve.

[0068] The following is a detailed description of the generation process of a set of sequence curves:

[0069] Optionally, the sequence curve includes set points, the ordinates of the set points represent channel values, the abscissas of the set points represent sampling time, and the sequence curve is a curve formed by connecting the set points in chronological order;

[0070] A sequence curve is formed based on each channel value obtained by sampling and the sampling time of each channel value, including:

[0071] If there are no two or more set points before the current sampling time, a set point is generated based on the current sampling time as the horizontal axis and the current sampling channel value as the vertical axis;

[0072] When there are two or more set points before the current sampling time, determine that the two points closest to the current sampling time are connected in a straight line. When the current sampling time is the horizontal coordinate position, the corresponding vertical coordinate is the first channel value, and the sampling channel value corresponding to the current sampling time is the second channel value;

[0073] The current sampling time is calculated based on the first channel value and the second channel value to be a previous set point of the movement, or a new set point is added;

[0074] A sequence curve is generated by connecting the set points in chronological order.

[0075] It should be understood that there are multiple groups of sequence curves, each group of sequence curves corresponds to a channel setting, and multiple groups of sequences can be set to correspond to the channels that need to be controlled to execute programming actions, and automatic programming can be turned on at the same time. At this time, manually controlling the model to execute actions can synchronously form multiple groups of sequence curves corresponding to each channel.

[0076] Optionally, when there are multiple set points before the current sampling time, the two points closest to the current sampling time are determined, a straight line connecting the two points is generated, the vertical coordinate corresponding to the horizontal coordinate position of the current sampling time on the straight line is taken as the first channel value, and the sampling channel value corresponding to the current sampling time is determined as the second channel value.

[0077] That is to say, when the sampling time is 0, the channel value at this moment is obtained, and the first setting point is obtained: the horizontal axis corresponds to time 0, and the vertical axis corresponds to the sampling channel value at time 0. After the interval value density duration, the control signal is sampled for the second time, and the second setting point is obtained: the horizontal axis is the value density duration, and the vertical axis is the second sampling channel value. After the interval value density duration again, the control signal is sampled. Since there are two setting points before this sampling time, it is necessary to judge the second channel value through the method provided in the subsequent embodiment to form a third setting point or move the second setting point, and then connect the setting points in time to generate a sequence curve.

[0078] Specifically, the current sampling time calculated based on the first channel value and the second channel value is a previous setting point, or a new setting point is added, including:

[0079] Calculating an absolute value of a difference between the second channel value and the first channel value;

[0080] When the absolute value is greater than or equal to the preset value, a setting point is added, the ordinate is the second channel value, and the abscissa is the current sampling time;

[0081] When the absolute value is smaller than the preset value, the previous setting point is moved so that the ordinate of the previous setting point is the first channel value and the abscissa is the current sampling time.

[0082] In this embodiment, after the first channel value and the second channel value are obtained, the absolute value of the difference between the second channel value and the first channel value is calculated.

[0083] The absolute value is compared with the preset value. When the absolute value is greater than or equal to the preset value, a setting point is added. The ordinate of the newly added setting point is the second channel value, and the abscissa is the current sampling time.

[0084] When the absolute value is less than the preset value, the previous setting point is moved, and the ordinate of the setting point after the move is the first channel value, and the abscissa is the current sampling time.

[0085] To understand the technical solutions provided in the above embodiments, please refer to Figure 3 and Figure 4 .

[0086] See also Figure 3 It can be obtained that in the automatic programming mode, the manual control controls realize the change of channel values, and the sequence sampling channel values ​​form a sequence curve. When the sequence is running, the channel value changes according to the programmed sequence curve.

[0087] See also Figure 4 It can be obtained that each sequence curve corresponds to a channel. The editing mode of the sequence curve is automatic. When the value switch is turned on, automatic programming begins. Sampling is performed once at each interval of the set value density, and a new setting point is obtained or the previous setting point is moved to the new sampling time according to the value accuracy. The setting points are connected in chronological order to obtain the sequence curve.

[0088] See also Figure 4 and Figure 5 , Figure 4 The programming sequence corresponding to the first action, Figure 5For the programming sequence corresponding to the second action, you can first execute the first action programming sequence setting, and the programming sequences corresponding to other actions are in manual editing mode. After completion, execute the second action programming setting, so that multiple sequences can be programmed at different times.

[0089] from Figure 4 and Figure 5 It can be seen that the first action is controlled by channels 1, 2, and 3, and the second action is controlled by channels 3, 4, and 5. Moreover, action 1 must be completed before action 2.

[0090] Optionally, the priority of the sequence curve in the running state can be set higher than the sequence curves controlled by other channels. When the priorities of sequence curves in multiple running states point to the same channel, the specified sequences are executed in order.

[0091] Optionally, the sequence curve can also be assigned to different control channels as a control, and the corresponding relationship between the control and the channel under different conditions can be set in the remote control system, and a switch can be set to perform the switching.

[0092] The above method avoids the operation conflict of the sequences corresponding to the same control channel.

[0093] In this embodiment, the running order between the sequences can be set by a timer switch. The timer switch is set as follows: Figure 5 As shown: Each timer switch can be assigned a specified switch and set a trigger time. The timing starts after the switch is turned on. At the set trigger time, timer switch 1 is turned on.

[0094] By setting the timer switch, you can trigger a physical switch at the same time to trigger different sequences at different times. Set the trigger time of timer switch 1 to the running time of action 1. During the running, you can trigger sequences 1 to 6 at the same time, run 1 to 3 first and then run 4 to 6 to realize step-by-step programming and one-key operation.

[0095] Optionally, after forming a plurality of sequence curves based on each channel value obtained by sampling and the sampling time of each channel value, the method further comprises:

[0096] Setting a switch as a running switch for executing programming, and establishing a first programming action sequence corresponding to the running switch;

[0097] Determine the time from the start of each action to the start of the first action based on the running time corresponding to each action and the execution order of the actions;

[0098] Based on the time from each action to the start of the first action and the running switch corresponding to the first programmed action sequence, a timer switch corresponding to each programmed action is established;

[0099] A corresponding relationship between each action sequence and the timer switch corresponding to the programmed action is set.

[0100] Specifically, see Figure 6 ,like Figure 6 As shown, condition 1 is set to be turned on by default, and condition 2 is when timer switch 1 is turned on. When condition 2 is not turned on, the model channel control is executed according to the setting under condition 1. After condition 2 is turned on, the model channel control is executed according to the setting under condition 2.

[0101] Under condition 1, control channels 1, 2, and 3 are set, and the control switches correspond to sequences 1, 2, and 3 respectively; after the operation switches corresponding to sequences 1, 2, and 3 are turned on, channels 1, 2, and 3 are controlled by sequences 1, 2, and 3 to execute programmed action 1.

[0102] After sequence 1, 2, 3 is completed, timer switch 1 is turned on. At this time, channel control is determined by the setting under condition 2, and at this moment, sequence 4, 5, 6 starts to run. At this time, channels 3, 4, 5 are controlled by sequence 4, 5, 6 to execute programmed action 2.

[0103] In this embodiment, by setting a running switch and a timer switch, step-by-step programming is achieved without programming each control channel one by one, thereby improving programming efficiency.

[0104] It should be noted that the above sequence curve can be used as model data, and the sequence curve can be recorded after a successful programming. In scenes such as model exhibitions, the aircraft model can be directly controlled to perform corresponding actions by programming the sequence curve, without the need to hire a dedicated model player for demonstration, which also reduces the user's learning cost for aircraft model control.

[0105] The programming method provided in this embodiment can also realize manual programming.

[0106] Optionally, the method further comprises:

[0107] In the case of manual programming mode, receiving setting instructions for the sequence curve;

[0108] In response to the setting instruction, adjusting, adding or deleting a setting point;

[0109] Based on a plurality of setting points, the sequence curve is adjusted to obtain a new sequence curve.

[0110] It should be noted that the sequence curve obtained by automatic programming can still be adjusted by manual programming. The sequence curve can also be generated by manual programming mode.

[0111] In the manual programming mode, the set points in the sequence curve are manually generated. Specifically, a setting instruction for the current sequence is received; in response to the setting instruction, the set point is adjusted, a new set point is added, or a set point is deleted, thereby obtaining a new sequence curve based on multiple set points.

[0112] Optionally, see Figure 7 After programming is completed, you can toggle the run switch to execute programming control, switch the programming mode to manual programming mode, and make corrections to the corresponding setting points. Specifically, you can set the horizontal and vertical coordinates of any setting point, and you can also add or delete setting points.

[0113] Optionally, in the case of the automatic programming mode, before sampling the channel value corresponding to each control channel corresponding to the programming action, the method further includes:

[0114] Set the target programming sequence to automatic programming mode and the non-target programming sequence to manual programming mode;

[0115] An automatic programming start switch is set, and after the automatic programming start switch is started, a target programming sequence associated with the automatic programming mode is controlled to perform automatic programming.

[0116] The embodiment of the present application also provides a multi-channel programming method, which determines the programming sequence corresponding to the programming action to be programmed as the target programming sequence, and other programming sequences as non-target programming sequences, and sets the target programming sequence to automatic programming mode and sets the non-target programming sequence to manual programming mode.

[0117] The automatic programming start switch is set in advance. After the automatic programming start switch is started, the target programming sequence is controlled to perform automatic programming, thereby realizing multi-channel programming.

[0118] See also Figure 8 , an embodiment of the present application provides a programming device 800, the programming device 800 comprising:

[0119] A setting module 810, used to set the corresponding relationship between the programming sequence and the control channel;

[0120] The sampling module 820 is used to sample the channel value corresponding to each control channel corresponding to the programming action in the case of the automatic programming mode;

[0121] The processing module 830 is used to form a plurality of sequence curves based on each channel value obtained by sampling and the sampling time of each channel value.

[0122] Optionally, the sequence curve includes set points, the ordinates of the set points represent channel values, the abscissas of the set points represent sampling time, and the sequence curve is a curve formed by connecting the set points in chronological order;

[0123] The processing module 830 is specifically used for:

[0124] If there are no two or more set points before the current sampling time, a set point is generated based on the current sampling time as the horizontal axis and the current sampling channel value as the vertical axis;

[0125] When there are two or more set points before the current sampling time, determine that the two points closest to the current sampling time are connected in a straight line. When the current sampling time is the horizontal coordinate position, the corresponding vertical coordinate is the first channel value, and the sampling channel value corresponding to the current sampling time is the second channel value;

[0126] The current sampling time is calculated based on the first channel value and the second channel value to be a previous set point of the movement, or a new set point is added;

[0127] A sequence curve is generated by connecting the set points in chronological order.

[0128] Optionally, the processing module 830 is further specifically configured to:

[0129] Calculating an absolute value of a difference between the second channel value and the first channel value;

[0130] When the absolute value is greater than or equal to the preset value, a setting point is added, the ordinate is the second channel value, and the abscissa is the current sampling time;

[0131] When the absolute value is smaller than the preset value, the previous setting point is moved so that the ordinate of the previous setting point is the first channel value and the abscissa is the current sampling time.

[0132] Optionally, the programming device 800 is further used for:

[0133] Setting a switch as a running switch for executing programming, and establishing a first programming action sequence corresponding to the running switch;

[0134] Determine the time from the start of each action to the start of the first action based on the running time corresponding to each action and the execution order of the actions;

[0135] Based on the time from each action to the start of the first action and the running switch corresponding to the first programmed action sequence, a timer switch corresponding to each programmed action is established;

[0136] A corresponding relationship between each action sequence and the timer switch corresponding to the programmed action is set.

[0137] Optionally, the programming device 800 is further used for:

[0138] In the case of manual programming mode, receiving setting instructions for the sequence curve;

[0139] In response to the setting instruction, adjusting, adding or deleting a setting point;

[0140] Based on a plurality of setting points, the sequence curve is adjusted to obtain a new sequence curve.

[0141] Optionally, the programming device 800 is further used for:

[0142] Set the target programming sequence to automatic programming mode and the non-target programming sequence to manual programming mode;

[0143] An automatic programming start switch is set, and after the automatic programming start switch is started, a target programming sequence associated with the automatic programming mode is controlled to perform automatic programming.

[0144] To solve the above technical problems, the present application also provides a remote controller. Fig. 9 , Fig. 9 This is a basic structural block diagram of the remote controller of this embodiment.

[0145] The remote controller 9 includes a memory 91, a processor 92, and a network interface 93 which are interconnected and communicated with each other through a system bus. It should be noted that the figure only shows a computer device 9 having components 91-93, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASIC), programmable gate arrays (FPGA), digital signal processors (DSP), embedded devices, etc.

[0146] The remote controller can perform human-computer interaction with the user through a keyboard, mouse, remote controller, touch pad or voice control device.

[0147] The memory 91 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 91 can be an internal storage unit of the remote controller 9. In other embodiments, the memory 91 can also be an external storage device of the remote controller 9. Of course, the memory 91 can also include both the internal storage unit of the remote controller 9 and its external storage device. In this embodiment, the memory 91 is generally used to store the operating system and various application software installed in the remote controller 9, such as the program code of the programming method, etc. In addition, the memory 91 can also be used to temporarily store various data that have been output or are to be output.

[0148] The processor 92 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 92 is generally used to control the overall operation of the remote controller 9. In this embodiment, the processor 92 is used to run the program code stored in the memory 91 or process data, such as running the program code of the programming method.

[0149] The network interface 93 may include a wireless network interface or a wired network interface, and the network interface 93 is generally used to establish a communication connection between the remote controller 9 and other electronic devices.

[0150] The present application also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores the programming program, and the programming program can be executed by at least one processor so that the at least one processor performs the steps of the programming method as described above.

[0151] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware online platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0152] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0153] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A programming method for a remote controller, characterized in that: include: Set the corresponding relationship between programming sequence and control channel; In the case of automatic programming mode, the channel value corresponding to each control channel is sampled; Forming a plurality of sequence curves based on each channel value obtained by sampling and the sampling time of each channel value; Wherein, the sequence curve includes setting points, the ordinate of the setting points represents the channel value, the abscissa of the setting points represents the sampling time, and the sequence curve is a curve formed by connecting the setting points in chronological order; A sequence curve is formed based on each channel value obtained by sampling and the sampling time of each channel value, including: If there are no two or more set points before the current sampling time, a set point is generated based on the current sampling time as the horizontal axis and the current sampling channel value as the vertical axis; When there are two or more set points before the current sampling time, determine that the two points closest to the current sampling time are connected in a straight line. When the current sampling time is the horizontal coordinate position, the corresponding vertical coordinate is the first channel value, and the sampling channel value corresponding to the current sampling time is the second channel value; The current sampling time is calculated based on the first channel value and the second channel value to be a previous set point of the movement, or a new set point is added; A sequence curve is generated by connecting the set points in chronological order.

2. The method according to claim 1, characterized in that The current sampling time calculated based on the first channel value and the second channel value is a previous setting point, or a new setting point is added, including: Calculating an absolute value of a difference between the second channel value and the first channel value; When the absolute value is greater than or equal to the preset value, a setting point is added, the ordinate is the second channel value, and the abscissa is the current sampling time.

3. The method according to claim 1, characterized in that The current sampling time calculated based on the first channel value and the second channel value is a previous setting point of the movement, or a new setting point is added, and further includes: Calculating an absolute value of a difference between the second channel value and the first channel value; When the absolute value is smaller than the preset value, the previous setting point is moved so that the ordinate of the previous setting point is the first channel value and the abscissa is the current sampling time.

4. The method according to claim 1, characterized in that: After forming a plurality of sequence curves based on each channel value obtained by sampling and the sampling time of each channel value, the method further includes: Setting a switch as a running switch for executing programming, and establishing a first programming action sequence corresponding to the running switch; Determine the time from the start of each action to the start of the first action based on the running time corresponding to each action and the execution order of the actions; Based on the time from each action to the start of the first action and the running switch corresponding to the first programmed action sequence, a timer switch corresponding to each programmed action is established; A corresponding relationship between each action sequence and the timer switch corresponding to the programmed action is set.

5. The method according to claim 1, characterized in that The method further comprises: In the case of manual programming mode, receiving a plurality of setting instructions for a sequence curve; generating a plurality of set points in response to the plurality of setting instructions; Based on the multiple set points, the sequence curve is adjusted to obtain a new sequence curve.

6. A programming device, characterized in that: include: A setting module, used to set the corresponding relationship between the programming sequence and the control channel; The sampling module is used to sample the channel value corresponding to each control channel in the automatic programming mode; A processing module, configured to form a plurality of sequence curves based on each channel value obtained by sampling and a sampling time of each channel value; Wherein, the sequence curve includes setting points, the ordinate of the setting points represents the channel value, the abscissa of the setting points represents the sampling time, and the sequence curve is a curve formed by connecting the setting points in chronological order; The processing module is specifically used for: If there are no two or more set points before the current sampling time, a set point is generated based on the current sampling time as the horizontal axis and the current sampling channel value as the vertical axis; When there are two or more set points before the current sampling time, determine that the two points closest to the current sampling time are connected in a straight line. When the current sampling time is the horizontal coordinate position, the corresponding vertical coordinate is the first channel value, and the sampling channel value corresponding to the current sampling time is the second channel value; The current sampling time is calculated based on the first channel value and the second channel value to be a previous set point of the movement, or a new set point is added; A sequence curve is generated by connecting the set points in chronological order.

7. The device according to claim 6, characterized in that The programming device further comprises: An establishment module is used to establish a mapping relationship between each sequence curve and a corresponding switch; An acquisition module, used to acquire the start-up sequence between each switch and the triggering time of each switch; The first adjustment module is used to adjust the trigger time corresponding to each sequence curve based on the start-up sequence between each switch and the trigger time of each switch.

8. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the programming method according to any one of claims 1 to 5 when executing the computer program.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the programming method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Fully automatic programming of an enhanced universal remote control

    WO2018042273A2