A control method, device, equipment and storage medium for remote control model
By generating real-time data packets containing switch type encoding segments, optimizing binary encoding of data packet headers, solving the complexity and cost problems of traditional remote control during multi-channel control, and achieving efficient and flexible digital switch state control.
Patent Information
- Application Number
- CN202411976438.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-12-31
AI Technical Summary
When traditional remote controls handle multi-channel control, they require a large number of control channels and high-performance chips, resulting in increased complexity and increased cost. Especially when controlling lighting effects and sound playback, the channel demand is high and traditional methods are difficult to meet.
By generating real-time data packets containing switch type encoding segments, optimizing binary encoding of data packet headers, identifying whether the remote control model has digital switches, as well as the number of coded bits and linear channels occupied by the switch state, thereby achieving switching state control with less channel cost.
It realizes efficient control of multiple digital switch states without adding a large number of control channels and improving chip performance, reducing channel costs and complexity, and improving control accuracy and flexibility.
Smart Images

Figure CN119402143B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of machine control, and in particular to a control method, device, equipment and storage medium for a remote control model. Background Art
[0002] At present, remote control systems such as model aircraft, drones, and unmanned vehicles and ships generally use multi-channel control methods. For example, on fixed-wing aircraft, the CH1 channel is used to control the angle of the aileron rudder to achieve roll control. As the complexity of the model increases, the number of control channels required also increases. Especially for models with functions such as sound playback and multiple lighting effects, different lighting and sound effects require different control buttons to turn on or off, which may result in the need for a large number of control channels.
[0003] However, in order to ensure low latency and effective data transmission in communication, the control output of traditional remote controls is usually limited. In order to adapt to different control accuracy requirements, the resolution of the channel is usually high. In addition, some control components need to be mixed with each other to control different functions under different conditions, which further increases the complexity of the remote control. The remote control not only needs to generate signals, but also needs to perform a series of mixed operations, and the amount of calculation of these operations is directly related to the number of control channels. Each additional channel means the need to increase the control input components, improve the computing power of the remote control, and increase the amount of wireless data transmission. In addition, the control requirements for controlling lighting effects, sound playback and other devices are relatively small. Therefore, in order to adapt to the needs of more ordinary users, general remote controls do not have too many switch controls. This leads to the traditional way of adding more control channels and control buttons on the remote control when more control channels are needed, and accordingly, higher performance chips need to be selected.
[0004] In addition, components such as controlling lights and sound playback on the model are usually optional control components of the model. Users generally hope that they have a master switch. For example, when controlling the model at night, they hope that the lights can be turned on and controlled, and when controlling the model during the day, they hope that a master switch can turn off the lights. Users can even suddenly turn on all the lights after taking off to a certain height, that is, they hope that the model's lights and other control channels can be controlled to turn on and off through multiple channels.
[0005] Therefore, the present application provides a control method, device, equipment and storage medium for a remote control model to solve one of the above technical problems. Summary of the invention
[0006] The purpose of this application is to provide a control method, device, equipment and storage medium for a remote control model, which can solve at least one of the technical problems mentioned above. The specific solution is as follows:
[0007] According to the specific implementation of the present application, in the first aspect, the present application provides a control method for a remote control model, which is applied to a remote control, including: generating a real-time data packet for digital switch state control of the remote control model; wherein the real-time data packet includes a data packet header, a data packet tail, and a channel signal; wherein the binary code of the data packet header includes a switch type coding segment, the first bit of the switch type coding segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type coding segment is used to identify the number of coding bits occupied by the switch state of each digital switch, and the third bit of the switch type coding segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet; sending the real-time data packet to the remote control model, so that the remote control model controls each digital switch state according to the real-time data packet.
[0008] In one embodiment, the generation of a real-time data packet for digitally controlling the state of a remote control model includes: in response to the position and number of digital switch controls set by a user, encoding according to the position and the number to generate a real-time data packet for digitally controlling the state of a remote control model.
[0009] In one embodiment, the remote control includes a setting interface, which is used to define a control trigger to generate a control signal, and the definition of the control trigger includes at least one of the following: defining the content identified by the first bit code as having a digital switch or not having a digital switch; defining the switch state switching of each digital switch based on screen triggering and / or physical switch triggering.
[0010] In one implementation, the change of the digital switch state does not go through a remote control channel operation; the change of the digital switch state uses the same physical control trigger as the control channel operated by the remote control.
[0011] According to a specific implementation of the present application, in a second aspect, the present application provides a control method for a remote control model, which is applied to a remote control model, comprising:
[0012] Receive a real-time data packet sent by a remote control; wherein the real-time data packet includes a data packet header, a data packet tail, and a channel signal; wherein the binary code of the data packet header includes a switch type code segment, the first bit of the switch type code segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type code segment is used to identify the number of coding bits occupied by the switch state of each digital switch, and the third bit of the switch type code segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet; control each digital switch state according to the real-time data packet.
[0013] In one embodiment, the controlling of each digital switch state according to the real-time data packet includes: in response to the first coding mark contained in the real-time data packet indicating that the remote control model does not have a digital switch, all channel data control each digital switch state according to the number of channels and resolution set in the code; in response to the first coding mark contained in the real-time data packet indicating that the remote control model has a digital switch, each digital switch state is controlled according to the reading method of the number of coding bits of the second coding mark and the number of occupied linear channels of the third coding mark.
[0014] According to the specific implementation mode of the present application, in the third aspect, a control device for a remote control model includes: a generating unit, which is used to generate a real-time data packet for controlling the digital switch state of the remote control model; wherein the real-time data packet includes a data packet header, a data packet tail, and a channel signal; wherein the binary code of the data packet header includes a switch type coding segment, the first bit of the switch type coding segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type coding segment is used to identify the number of coding bits occupied by the switch state of each digital switch, and the third bit of the switch type coding segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet; a sending unit, which is used to send the real-time data packet to the remote control model, so that the remote control model controls each digital switch state according to the real-time data packet.
[0015] According to a specific embodiment of the present application, in a fourth aspect, a control device for a remote control model includes:
[0016] A receiving unit is used to receive a real-time data packet sent by a remote control; wherein the real-time data packet includes a data packet header, a data packet tail, and a channel signal; wherein the binary code of the data packet header includes a switch type code segment, the first bit of the switch type code segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type code segment is used to identify the number of coding bits occupied by the switch state of each digital switch, and the third bit of the switch type code segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet; a control unit is used to control each digital switch state according to the real-time data packet.
[0017] According to the specific implementation of the present application, in a fifth aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method described in any one of the first aspect or the second aspect.
[0018] According to the specific implementation of the present application, in the sixth aspect, the present application provides a computer-readable storage medium having a computer program / instruction stored thereon, which, when executed by a processor, implements the method described in any one of the first aspect or the second aspect.
[0019] Compared with the prior art, the above scheme of the embodiment of the present application has at least the following beneficial effects: the control method of the remote control model provided in the present application generates a real-time data packet containing a switch type coding segment, thereby ensuring that less channel cost is used for switch state control. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A flow chart showing a method for controlling a remote control model is shown;
[0021] Figure 2 A schematic diagram of the structure of a coding data packet is shown;
[0022] Figure 3 A schematic diagram of the structure of a real-time data packet when a digital switch is closed is shown;
[0023] Figure 4 A schematic diagram of the structure of a real-time data packet when a digital switch is turned on is shown;
[0024] Figure 5 A digital switch control interface diagram of a remote controller is shown;
[0025] Figure 6 A diagram of a digital switch setting interface of a remote controller is shown;
[0026] Figure 7 A flow chart showing a method for controlling a remote control model is shown;
[0027] Figure 8 A unit block diagram of a control device for a remote control model is shown;
[0028] Fig. 9 A unit block diagram of a control device of another remote control model is shown;
[0029] Fig.10 The figure is a block diagram of an electronic device for controlling a remote control model according to an exemplary embodiment. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0031] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.
[0032] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0033] It should be understood that although the terms first, second, third, etc. may be used to describe in the embodiments of the present application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, without departing from the scope of the embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.
[0034] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0035] It should also be noted that the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the commodity or device including the elements.
[0036] It should be particularly noted that any symbols and / or numbers in the specification that are not marked in the accompanying drawings are not drawing marks.
[0037] The optional embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0038] The embodiment provided in this application is an embodiment of a method for controlling a remote control model.
[0039] Combine the following Figure 1 The embodiments of the present application are described in detail.
[0040] Figure 1 A flow chart of a control method of a remote control model is shown, Figure 1 As shown, the method is applied to a remote controller, and includes the following steps S101 and S102.
[0041] Step S101, generating a real-time data packet for digitally controlling the switch state of the remote control model.
[0042] The real-time data packet includes a data packet header, a data packet tail, and a channel signal.
[0043] Among them, the binary code of the data packet header includes a switch type coding segment, the first bit of the switch type coding segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type coding segment is used to identify the number of coding bits required to identify the switch state of each digital switch, and the third bit of the switch type coding segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet.
[0044] Among them, it should be noted that the first, second, and third here are only used to distinguish different coding positions, and do not limit the arrangement order between the three codes. For example, the first code may be located between the second code and the third code, and for example, the second code may be located between the first code and the third code. This application does not limit this.
[0045] Step S102, sending a real-time data packet to the remote control model, so that the remote control model is controlled according to each digital switch state identified by the real-time data packet.
[0046] The method provided in the present application realizes the expression of the digital switch state by the data packet header, channel, and coding bits in the channel through redefining the data packet header and channel coding, and realizes the overall control and sub-control of the real-time digital switch without occupying additional data transmission volume.
[0047] As a feasible implementation, a switch channel may be defined using a 1-bit binary expression, which may have two states, for example: 0 for off, and 1 for on.
[0048] As another feasible implementation, a 3-bit switch control can also be defined. For example, the three actions of the control model forward, backward, and stop correspond to three values respectively. In this case, two binary data can be used to express a digital switch. For example, 00 means "stop", 10 means reverse, 01 means forward, and 11 is invalid.
[0049] Usually, channel data transmission uses multi-bit binary code to express the value of a channel. For example, to adapt to high-precision Hall rocker, the channel resolution needs to be 4096, that is, 12 bits (2^12=4096) of digital code are required to realize the transmission of a channel. In this regard, the data packet encoding method proposed in this application is also applicable.
[0050] As a feasible implementation, the first bit is coded as 1 to indicate the presence of a digital switch, and 0 to indicate the absence of a digital switch.
[0051] As a feasible implementation, the second bit code is 0, which means that the 1-bit code in the digital channel represents the switch state of a digital switch, and the second bit code is 1, which means that the 2-bit code in the digital channel represents the switch state of a digital switch.
[0052] As a feasible implementation, the third bit is encoded as 0, which means that the expression of the switch state needs to occupy one channel, and the third bit is encoded as 1, which means that the expression of the switch state needs to occupy two channels.
[0053] As a feasible embodiment, when the user sets the position and number of digital switch controls, encoding can be performed according to the position and number to generate a real-time data packet for digital switch state control of the remote control model.
[0054] As a feasible embodiment, the real-time data packet may be a multi-channel data packet with a 12-bit code, and the switch type code segment may be a 3-bit binary code.
[0055] In this embodiment, the number of channels set is 10, and the number of data bits occupied by one channel is 12. Among them, in the data packet header, the code corresponding to the digital switch type can represent the first code, the second code, and the third code from left to right. The following takes a code bit in a single digital channel to express a switch state as an example to explain the data packet form of a single switch state control.
[0056] Figure 2 A schematic diagram of the structure of a code pairing data packet is shown.
[0057] Figure 3 A schematic diagram of the structure of a real-time data packet when a digital switch is closed is shown.
[0058] Figure 4A schematic diagram of the structure of a real-time data packet when a digital switch is turned on is shown.
[0059] For example, Figure 2 As shown, the remote control and the remote control model are pre-bound, and during the binding process, the transmitter of the remote control and the receiver of the remote control model agree on basic data rules, such as frequency, transmission ID, RF hardware configuration, number of channels, channel resolution, and definition of digital switch type.
[0060] Further, such as Figure 3 As shown in the figure, the digital switch type means no digital switch. Correspondingly, when the first code is set to zero, the second and third codes are no longer analyzed. At this time, each channel is used based on its inherent function.
[0061] Correspondingly, such as Figure 4 As shown, the meaning of the digital switch type is that there is a digital switch, the switch state of a digital switch in the digital channel occupies 1 bit of code, and the expression of the switch state only occupies one channel. At this time, the data parsed as the last channel when there is no digital channel is parsed into the switch states of the digital switches S1~S12 in sequence according to each bit representing a digital switch state. Specifically, each switch in channels S1 to S12 can be in an on or off state, with a corresponding value of 1 when on and 0 when off. Assuming that only S1 is on and S2~S12 are all off, the encoding of the digital channel is: 100000000000. Correspondingly, Figure 2 As shown in the figure, the current digital channel code is: 1111111111111, indicating that all switches are on. This design method can achieve the control of 12 channels by replacing one channel, which saves a lot of data and can be switched on and off in real time.
[0062] In addition, this application provides a corresponding control expansion solution.
[0063] In an embodiment of the present application, when the user sets the position and number of digital switch controls, encoding can be performed according to the position and number to generate a real-time data packet for digital switch state control of the remote control model.
[0064] As a feasible embodiment, the remote control includes a setting interface, and the setting interface is used to customize the switch control logic so that switches that perform the same or different functions can be bound and controlled.
[0065] Figure 5 A diagram of a digital switch control interface of a remote controller is shown.
[0066] In this application, if Figure 5As shown, in addition to generating a real-time data packet containing a switch type coding segment, a user interface can be added to the remote control, and the user can switch the switch state through touch screen operations. In addition, a setting interface can be added, and the user can customize the control logic of each switch, such as assigning a digital switch as a physical control. This physical control can be selected when the linear channel control is assigned. Similarly, when assigning the linear channel control source, the digital switch we define at this time can also be assigned. When the digital switch control source is the same as the linear control source, they can achieve linkage control. This method can realize hybrid control without the need for control channel operations of the remote control. Considering that multi-channel control also requires multiple controls, the present application provides a method of using the screen display area as a control, thereby realizing control input expansion.
[0067] For example, a setting interface is added to the remote control, and several operable buttons are arranged according to the screen size. As shown in the figure, the digital switches S1~S12 correspond to their own buttons, and each button has two states of on / off, which can be switched by operating the screen. In addition, the setting interface can be quickly entered, for example, it is directly displayed on the main page and visible to the user after turning on the machine.
[0068] In an embodiment of the present application, the remote controller may include a setting interface, and the setting interface is used to define a control trigger to generate a control signal, and the definition of the control trigger includes at least one of the following:
[0069] 1: Define the first bit of the code to indicate whether the device has a digital switch or does not have a digital switch.
[0070] 2: Define the switch state switching of each digital switch based on screen triggering and / or physical switch triggering.
[0071] In particular, the digital switch state change of the remote control does not need to go through the remote control channel operation, but it can use the same physical control trigger as the control channel operated by the remote control.
[0072] Figure 6 A diagram of a digital switch setting interface of a remote controller is shown.
[0073] For example, Figure 6 As shown, the present application also provides a setting function for screen touch controls, which can make the screen controls have the control effect of physical controls or even exceed that of physical controls, and can realize mixed control with other control channels. For example, the control effect realized by touching the screen can be simulated as resetting the control / not resetting the control: the switch mode can be set to hold / flip.
[0074] Hold: You must keep pressing the screen in one state to simulate non-reset controls, such as the control effect of a gear switch. Pressing / releasing each state can be used as a control switch such as a horn, which can control the trigger duration more quickly and accurately.
[0075] Flip: You don't need to hold down the screen continuously. You can switch the state by tapping the screen, simulating the usage of the reset control. This method is very suitable for switching lights.
[0076] In addition, this application can also assign switches, and can perform a control switch assignment for each button. When the switch is assigned in the hold mode, the switch state of the digital switch is determined by the control value and is no longer controlled by the screen. When the switch is assigned in the flip mode, the switch can control the digital switch state together with the screen operation. At this time, the digital switch state can be changed once the switch performs a state switch / the screen performs a click. In addition, the digital switch provided by this function can also be used as a remote control linear channel control assignment selection, thereby achieving the functions of mixed control and extended control.
[0077] In the embodiment of the present application, the assigned control can realize mixed control with the control channel of the non-digital switch of the remote control: when we want it to change in association with other control signals, we can assign the control switch of other controls to control the state of this button. For example, if the direction control is assigned to control the left turn light, the direction control can be set to on in the left turn area and off in other areas. In this way, when the direction is controlled to execute a left turn, the left turn light will light up at the same time, realizing mixed control. The screen can display the switch status. At this time, the assigned control has wider requirements for the control. For example, the fine-tuning button on the remote control used for adjusting the machine can also be used to control the digital switch channel. These controls have no position indication. Its control can directly correspond to the change of the screen status, which makes up for the defect that such physical controls have no position indication, thereby expanding the use of physical controls.
[0078] In addition, the control mode can be set, that is, the special digital switch control can also be set as one-time control and cycle control. Among them, when the control mode is set to pulse, a time button is provided at the back, which can be combined with the user's set time. When the trigger switch is turned on, the control value is switched to off after only the set time. When the control mode is set to flashing, a time button is provided at the back, which can be combined with the user's set time. When the trigger switch is turned on, the on / off alternation is performed according to the set time.
[0079] The method provided in the present application realizes channel expansion without changing the system capabilities through a special pairing agreement. During pairing, the remote control and the receiver agree on the parsing method for digital channels, and use one channel to transmit the status of multiple digital channels. The control expansion is realized by using the display screen of the remote control, and the user can switch the control switch by operating the screen. Combined with the screen display, screen operation and control settings, the control effect of digital switch control can be better than that of physical controls. A special pairing mode is provided, in which the remote control can send multiple switch states without increasing or only increasing the amount of real-time data sent by a small amount of linear channels. When pairing, agree with the receiver on the parsing logic of adding or replacing channels, and subsequent communications can realize the parsing of multiple switch states. In addition, a user interface is provided, on which buttons corresponding to the switch states can be listed, and the states of these switches can be controlled by operating the states of the screen switching buttons.
[0080] The method provided in this application can switch the number of control channels at any time during the control process. The advantage of this is that we can have a main switch and separate switches for controlling digital channels.
[0081] In this application, the channel resolution and number of channels of all channels are agreed upon during the pairing process. In the subsequent data transmission process, different parsing methods of the receiving end can be realized by modifying the real-time data packet header: for example, when the number of channels is set to 8 channels during the pairing process, and the resolution of each channel is 12 bits: when it is modified to have no digital switch function, each channel is parsed according to the normal 12-bit expression of a channel information, and 1~8 channel data are parsed in sequence. If the header information is a digital switch, the digital switch occupies 1 bit of code and occupies 1 channel, then the receiving end is parsed according to 12 bits to express a channel information, and 1~7 channel data are parsed in sequence. The 8-channel receiver output is the default value of 0, and the 9~20 channels are parsed as one channel in turn corresponding to each bit of the original 8-channel input. In this way, when the user needs to use the digital switch function, the data packet header can be modified in real time. After turning it on, each digital switch channel can be controlled normally. After turning it off, the corresponding digital switch channel output is the default value. That is, by setting the digital switch function of the real-time data packet header to support the opening and closing of the global digital switch function, after the digital switch is turned on, the screen operation / control switch and other methods introduced in this function can be used to control the digital switch separately.
[0082] Based on the same or similar technical concept, the present application also provides another control method for a remote control model, which is applied to the remote control model and is used to cooperate with the remote control in the aforementioned embodiment to complete digital switch state control based on data packets. If there are any unclear points in the following embodiments, please refer to any of the above embodiments.
[0083] Figure 7 A flow chart of a control method of a remote control model is shown, Figure 7 As shown, the method is applied to a remote control model, and includes the following steps S701 and S702.
[0084] Step S701, receiving a real-time data packet sent by a remote controller.
[0085] The real-time data packet includes a data packet header, a data packet tail, and a channel signal.
[0086] Among them, the binary code of the data packet header includes a switch type coding segment, the first bit of the switch type coding segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type coding segment is used to identify the number of coding bits required to identify the switch state of each digital switch, and the third bit of the switch type coding segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet.
[0087] Step S702: Control is performed according to the digital switch states identified by the real-time data packet.
[0088] As a feasible embodiment, the real-time data packet may be a multi-channel data packet with a 12-bit code, and the switch type code segment may be a 3-bit binary code.
[0089] The method provided in the present application realizes channel expansion without changing the system capabilities through a special pairing agreement. During pairing, the remote control and the receiver agree on the parsing method for digital channels, and use one channel to transmit the status of multiple digital channels. The control expansion is realized by using the display screen of the remote control, and the user can switch the control switch by operating the screen. Combined with the screen display, screen operation and control settings, the control effect of digital switch control can be better than that of physical controls. A special pairing mode is provided, in which the remote control can send multiple switch states without increasing or only increasing the amount of real-time data sent by a small amount of linear channels. When pairing, agree with the receiver on the parsing logic of adding or replacing channels, and subsequent communications can realize the parsing of multiple switch states. In addition, a user interface is provided, on which buttons corresponding to the switch states can be listed, and the states of these switches can be controlled by operating the states of the screen switching buttons.
[0090] In some of the following embodiments, corresponding analysis steps are given for determining whether the first bit code identifies that the remote control model has a digital switch.
[0091] For example, when the first bit of the code included in the real-time data packet indicates that the remote control model does not have a digital switch, all channel data controls the state of each digital switch according to the number of channels and resolution set by the code.
[0092] For another example, when the first coding bit included in the real-time data packet identifies that the remote control model has a digital switch, the state of each digital switch is controlled according to the coding bit reading method of the second coding bit and the number of occupied linear channels of the third coding bit.
[0093] As a special embodiment, when the number of output channels of the receiver in the transmitted data packet is greater than or equal to the sum of the number of supported linear channels and the number of digital channels, and if the remote control data that can control this channel is not parsed, the corresponding channel is sent using the default control value of the receiver.
[0094] The present application also provides an apparatus embodiment that is consistent with the above embodiment, which is used to implement the method steps of the above embodiment. The explanation based on the same name meaning is the same as the above embodiment, and has the same technical effect as the above embodiment, which will not be repeated here.
[0095] like Figure 8 As shown, the present application provides a control device 800 for a remote control model, comprising:
[0096] The generating unit 801 is used to generate a real-time data packet for controlling the digital switch state of the remote control model. The real-time data packet includes a data packet header, a data packet tail, and a channel signal. The binary code of the data packet header includes a switch type coding segment, the first bit of the switch type coding segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type coding segment is used to identify the number of coding bits required to identify the switch state of each digital switch, and the third bit of the switch type coding segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet. The sending unit 802 is used to send a real-time data packet to the remote control model so that the remote control model is controlled according to each digital switch state identified by the real-time data packet.
[0097] like Fig. 9 As shown, the present application provides another remote control model control device 900, comprising:
[0098] The receiving unit 901 is used to receive a real-time data packet sent by the remote control. The real-time data packet includes a data packet header, a data packet tail, and a channel signal. The binary code of the data packet header includes a switch type code segment, the first bit of the switch type code segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type code segment is used to identify the number of coding bits required to identify the switch state of each digital switch, and the third bit of the switch type code segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet. The control unit 902 is used to control according to each digital switch state identified by the real-time data packet.
[0099] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0100] Fig.10 FIG. 1 is a block diagram of an electronic device 1000 for controlling a remote control model according to an exemplary embodiment.
[0101] like Fig.10 As shown, one embodiment of the present application provides an electronic device 1000. The electronic device 1000 includes a memory 1001, a processor 1002, and an input / output (I / O) interface 1003. The memory 1001 is used to store instructions. The processor 1002 is used to call the instructions stored in the memory 1001 to execute the method for controlling the remote control model of the embodiment of the present application. The processor 1002 is connected to the memory 1001 and the I / O interface 1003 respectively, for example, through a bus system and / or other forms of connection mechanisms (not shown). The memory 1001 can be used to store programs and data, including the program of the method for controlling the remote control model involved in the embodiment of the present application, and the processor 1002 executes various functional applications and data processing of the electronic device 1000 by running the program stored in the memory 1001.
[0102] In the embodiment of the present application, the processor 1002 can be implemented in at least one hardware form of a digital signal processor (Digital Signal Processing, DSP), a field programmable gate array (Field Programmable Gate Array, FPGA), and a programmable logic array (Programmable Logic Array, PLA). The processor 1002 can be a central processing unit (Central Processing Unit, CPU) or one or a combination of other forms of processing units with data processing capabilities and / or instruction execution capabilities.
[0103] The memory 1001 in the embodiment of the present application may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD), etc.
[0104] In the embodiment of the present application, the I / O interface 1003 may be used to receive input instructions (such as digital or character information, and key signal input related to user settings and function control of the electronic device 1000), and may also output various information to the outside (such as images or sounds). In the embodiment of the present application, the I / O interface 1003 may include one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a mouse, a joystick, a trackball, a microphone, a speaker, and a touch panel.
[0105] In some embodiments, the present application provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by a processor, any of the methods described above is performed.
[0106] In some embodiments, the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, any of the methods described above is performed.
[0107] Although operations are described in a particular order in the drawings, this should not be understood as requiring that the operations be performed in the particular order shown or in serial order, or that all shown operations be performed to achieve desired results. In certain circumstances, multitasking and parallel processing may be advantageous.
[0108] The methods, devices, equipment and storage media of the present application can be implemented using standard programming techniques, using rule-based logic or other logic to implement various method steps. It should also be noted that the words "device" and "module" used herein and in the claims are intended to include implementations using one or more lines of software code and / or hardware implementations and / or devices for receiving input.
[0109] Any steps, operations or procedures described herein may be performed or implemented using one or more hardware or software modules, either alone or in combination with other devices. In one embodiment, the software module is implemented using a computer program product including a computer-readable medium containing computer program code, which can be executed by a computer processor to perform any or all of the described steps, operations or procedures.
[0110] The foregoing description of the implementation of the present application has been given for the purpose of illustration and description. The foregoing description is not exhaustive nor is it intended to limit the present application to the exact form disclosed, and various variations and modifications may exist according to the above teachings or may be obtained from the practice of the present application. These embodiments are selected and described in order to illustrate the principles of the present application and its practical application, so that those skilled in the art can utilize the present application in various embodiments and various modifications suitable for the specific purpose contemplated.
[0111] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0112] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0113] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present application, it should not be understood as requiring the operations to be performed in the specific order or serial order shown, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0114] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to encompass any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the field of the present application that are not disclosed in the present application. The specification and embodiments are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following scope of rights.
[0115] It should be understood that the present application is not limited to the precise structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the scope of the appended claims.
[0116] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A control method for a remote control model, characterized in that: Applied to remote controllers, including: Generate real-time data packets for digital switch state control of remote control models; Wherein, the real-time data packet includes a data packet header, a data packet tail and a channel signal; The binary code of the data packet header includes a switch type code segment, the first bit of the switch type code segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type code segment is used to identify the number of coding bits required to identify the switch state of each digital switch, and the third bit of the switch type code segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet; Sending the real-time data packet to the remote control model, so that the remote control model controls each digital channel according to the number of channels and resolution set by the code when the first coding included in the real-time data packet indicates that the remote control model does not have a digital switch, so as to realize the overall control of the digital switch; or When the remote control model has a digital switch according to the first coding identifier contained in the real-time data packet, the state of each digital switch is controlled according to the coding bit reading method of the second coding identifier and the number of occupied linear channels of the third coding identifier.
2. The method according to claim 1, characterized in that The generating of a real-time data packet for digitally controlling the switch state of the remote control model comprises: In response to the position and number of digital switch controls set by the user, encoding is performed according to the position and the number to generate a real-time data packet for digital switch state control of the remote control model.
3. The method according to claim 1 or 2, characterized in that: The remote controller includes a setting interface, wherein the setting interface is used to define a control trigger to generate a control signal, wherein the definition of the control trigger includes at least one of the following: Define the content identified by the first bit code as having a digital switch or not having a digital switch; Define the switch state switching of each digital switch based on screen triggering and / or physical switch triggering.
4. The method according to claim 3, characterized in that The change of the digital switch state does not pass through the remote control channel operation; The change of the digital switch state uses the same physical control trigger as the control channel operated by the remote controller.
5. A method for controlling a remote control model, characterized in that: Applied to remote control models, including: Receive real-time data packets sent by the remote control; Wherein, the real-time data packet includes a data packet header, a data packet tail and a channel signal; The binary code of the data packet header includes a switch type code segment, the first bit of the switch type code segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type code segment is used to identify the number of coding bits required to identify the switch state of each digital switch, and the third bit of the switch type code segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet; Controlling the status of each digital switch according to the real-time data packet; Wherein, controlling each digital switch state according to the real-time data packet includes: In response to the first coding mark contained in the real-time data packet indicating that the remote control model does not have a digital switch, each digital channel is controlled according to the number of channels and resolution set in the code to achieve overall control of the digital switch; In response to the first coding identifier contained in the real-time data packet, the remote control model has a digital switch, and the state of each digital switch is controlled according to the coding bit reading method of the second coding identifier and the number of occupied linear channels of the third coding identifier.
6. A control device for a remote control model, characterized in that: include: A generating unit, used for generating a real-time data packet for digital switch state control of a remote control model; wherein the real-time data packet includes a data packet header, a data packet tail and a channel signal; wherein the binary code of the data packet header includes a switch type code segment, the first bit of the switch type code segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type code segment is used to identify the number of coding bits required to identify the switch state of each digital switch, and the third bit of the switch type code segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet; A sending unit is used to send the real-time data packet to the remote control model, so that when the first coding mark contained in the real-time data packet indicates that the remote control model does not have a digital switch, each digital channel is controlled according to the number of channels and resolution set in the code to achieve overall control of the digital switch; or when the first coding mark contained in the real-time data packet indicates that the remote control model has a digital switch, the remote control model controls the state of each digital switch according to the coding bit reading method of the second coding mark and the number of occupied linear channels of the third coding mark.
7. A control device for a remote control model, characterized in that: include: A receiving unit, used for receiving a real-time data packet sent by a remote controller; wherein the real-time data packet includes a data packet header, a data packet tail and a channel signal; wherein the binary code of the data packet header includes a switch type code segment, the first bit of the switch type code segment is used to identify whether the remote control model has a digital switch, the second bit of the switch type code segment is used to identify the number of coding bits required to identify the switch state of each digital switch, and the third bit of the switch type code segment is used to identify the number of linear channels occupied by the data switch state transmission in this data packet; A control unit is used to control the status of each digital switch according to the real-time data packet; wherein, the control of each digital switch status according to the real-time data packet includes: in response to the first coding mark contained in the real-time data packet indicating that the remote control model does not have a digital switch, controlling each digital channel according to the number of channels and resolution set in the code to achieve overall control of the digital switch; in response to the first coding mark contained in the real-time data packet indicating that the remote control model has a digital switch, controlling each digital switch status according to the coding bit reading method of the second coding mark and the number of occupied linear channels of the third coding mark.
8. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the method according to any one of claims 1 to 4, or to implement the method according to claim 5.
9. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instruction is executed by a processor, the method described in any one of claims 1 to 4 is implemented, or the method described in claim 5 is implemented.
Citation Information
Patent Citations
Intelligent home control bus
US20010049761A1