Remote control configuration method, electronic device, medium and product
By establishing a mapping relationship between the remote control and the controlled device, the problem of one-to-one correspondence between the remote control and the controlled device is solved, enabling one remote control to control multiple devices and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN ZHUMA TECHNOLOGY CO LTD
- Filing Date
- 2024-11-14
- Publication Date
- 2026-07-03
AI Technical Summary
The existing one-to-one correspondence between remote controls and controlled devices makes it difficult to control multiple devices simultaneously, and reconfiguration is required after replacing the remote control or controlled device, resulting in a poor user experience.
By configuring the mapping relationship between the first control interface of the remote controller and the second control interface of the controlled device, and storing it in the controlled device, the remote controller can control multiple controlled devices, and there is no need to reconfigure when the remote controller is replaced.
This technology enables a single remote control to control multiple devices simultaneously, improving the user experience and reducing redundant configuration steps and manpower waste.
Smart Images

Figure CN119938559B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of remote control technology, and particularly relates to a remote control configuration method, electronic device, computer-readable storage medium, and computer program product. Background Technology
[0002] An RC (Radio Control Remote Controller) is a handheld device used for wireless control of models or equipment. It controls the movement or corresponding functions of the controlled equipment, such as model cars, airplanes, and boats, by emitting radio signals. Remote controllers typically have multiple control channels, each capable of controlling one or more functions, such as direction, acceleration, and braking. By adjusting joysticks, buttons, or knobs, the operator can precisely control the model's behavior.
[0003] However, remote controls and controlled devices are generally paired one-to-one. It is difficult for the same remote control to control multiple controlled devices at the same time. Furthermore, after switching to a new remote control or controlled device, reconfiguration is required, which is cumbersome and results in a poor user experience. Summary of the Invention
[0004] This application aims to at least solve one of the technical problems existing in the prior art. To this end, this application proposes a remote control configuration method, an electronic device, a computer-readable storage medium, and a computer program product, which can simultaneously control multiple controlled devices. Each controlled device can operate based on control information collected from a corresponding control interface according to a pre-configured mapping relationship. Only the corresponding mapping relationship needs to be stored in the controlled device. When switching to a new remote control of the same model, there is no need for reconfiguration, resulting in a better user experience.
[0005] In a first aspect, this application provides a method for configuring a remote control, the remote control comprising a circuit board having N first control interfaces and M input components, the input components being connected to the first control interfaces, where N and M are positive integers; the remote control is used to control at least one controlled device, the controlled device comprising a circuit board having at least one second control interface and a functional component, the functional component being connected to the second control interface; the configuration method includes:
[0006] The display shows N first analog interfaces and the association between Q of the N first analog interfaces and the M input components, wherein the first analog interfaces and the first control interfaces correspond one-to-one; wherein the association indicates that in the remote controller, the first control interface corresponding to the Q first analog interfaces has an electrical connection with the M input components;
[0007] Displays a second analog interface associated with the second control interface, the second analog interface indicating the electrical connection between the second control interface and the functional component; wherein the second analog interface has a mapping relationship with the first analog interface;
[0008] The mapping relationship is sent to the controlled device.
[0009] In some embodiments, the mapping relationship enables a functional component in the controlled device that is electrically connected to the second control interface to receive control information from an input component that is electrically connected to the corresponding first control interface.
[0010] In some embodiments, the method further includes displaying the N first analog interfaces; selecting Q first analog interfaces from the N first analog interfaces; and establishing an association between the Q first analog interfaces and the M input components.
[0011] In some embodiments, the input component includes a single-channel joystick and / or a multi-channel joystick, and the mapping relationship between the first analog interface and the input component is the mapping relationship between the channels of the first analog interface and the input component.
[0012] In some embodiments, the input component includes a multi-channel joystick, with one channel connected to one of the first control interfaces, and the method further includes:
[0013] Each channel of the multi-channel joystick is associated with a different first analog interface.
[0014] In some embodiments, it also includes:
[0015] The display shows M analog input components and L analog function components, wherein the analog input components correspond one-to-one with the input components, and the analog function components correspond one-to-one with the function components;
[0016] A mapping relationship is established between the M analog input components and the L analog functional components. The mapping relationship between the second analog interface and the first analog interface is determined based on the mapping relationship between the analog input components and the analog functional components.
[0017] In some embodiments, the input component includes a multi-channel joystick, the analog input component includes multiple analog channels, and the analog channels of the analog input component, the channels of the input component, and the first control interface correspond one-to-one. The method further includes:
[0018] A mapping relationship is established between each channel of the analog input component and different analog functional components. The mapping relationship between the second analog interface and the first analog interface is determined based on the mapping relationship between the analog channels of the analog input component and the analog functional components.
[0019] In some embodiments, the second simulation interface and the second control interface correspond one-to-one, and the method further includes: displaying the second simulation interface; and establishing an association between the second simulation interface and the second control interface.
[0020] In some embodiments, the method further includes selecting a target configuration file from a preset configuration file library, the configuration file library being generated based on preset configuration files and historical configuration files, the target configuration file carrying at least one of first configuration information, second configuration information and the mapping relationship, the first configuration information including the association relationship between the first simulation interface and the input component, and the second configuration information including the association relationship between the second control interface and the functional component.
[0021] In some embodiments, the configuration file library includes at least one of preset configuration files, historical configuration files, and configuration files downloaded from community websites.
[0022] In some embodiments, sending the mapping relationship to the controlled device includes: pairing the controlled device and the remote controller to send the mapping relationship to the controlled device.
[0023] In some embodiments, the controlled devices include multiple devices, and sending the mapping relationship to the controlled devices includes: broadcasting a configuration file, the configuration file including the identity identifiers of multiple controlled devices and the mapping relationship corresponding to the identity identifiers, and any target controlled device that receives the configuration file selectively reads the corresponding target mapping relationship based on its own identity identifier.
[0024] In some embodiments, the controlled device includes multiple devices, and sending the mapping relationship to the controlled device includes:
[0025] Based on the mapping relationship of each of the controlled devices, a configuration file corresponding to each of the controlled devices is generated;
[0026] The configuration files corresponding to each of the controlled devices are sent to each of the controlled devices respectively.
[0027] In some embodiments, the first analog interface corresponding to the plurality of controlled devices is the same.
[0028] In some embodiments, the first analog interfaces corresponding to the plurality of controlled devices are different, and the remote controller further includes a switch for switching the control enable of any of the controlled devices.
[0029] In some embodiments, the method further includes generating a configuration file based on the mapping relationship and sharing the configuration file to a community website.
[0030] In some embodiments, N of the first analog interfaces are located on an analog circuit board, and the layout of the first analog interfaces on the analog circuit board is the same as the layout of the first control interfaces on the circuit board of the remote controller.
[0031] In some embodiments, the method further includes sending the mapping relationship of each of the controlled devices to the newly added remote controller when a new remote controller is added.
[0032] Secondly, this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a configuration method for a remote control according to any of the above embodiments.
[0033] Thirdly, this application provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the configuration method of a remote controller according to any of the above embodiments.
[0034] Fourthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements a configuration method for a remote controller according to any of the above embodiments.
[0035] This application provides a remote control configuration method, an electronic device, a computer-readable storage medium, and a computer program product. By configuring the association between the first control interface (corresponding to the input component) of the remote control and the first analog interface of the remote control configuration interface, and configuring the association between the second control interface (corresponding to the functional component) of the controlled device and the second analog interface of the controlled device configuration interface, the mapping relationship between the input component of the remote control and the functional component of the controlled device is realized by configuring the mapping relationship between the first analog interface and the second analog interface. This facilitates the use of the control information of the input component collected by the control interface to control the corresponding functional component.
[0036] After configuring the mapping relationships, the mapping relationships for each controlled device are sent to each controlled device. This allows the controlled device to determine the first control interface corresponding to its various functional components based on the mapping relationships. Upon receiving the control signal from the remote controller, the controlled device can operate based on the control information of the corresponding first control interface in the control signal. In this way, one remote controller can control one or more controlled devices.
[0037] Because the configuration information is stored in the controlled device rather than the remote control, when switching to a new remote control of the same type, the control signals sent also include the control information of the same control interface. At this time, the new remote control and each controlled device do not need to be reconfigured, and the operation and control of each controlled device can be realized, resulting in a better user experience.
[0038] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description
[0039] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0040] Figure 1 This is an application scenario diagram of the configuration method provided in the embodiments of this application;
[0041] Figure 2 This is a first flowchart illustrating the configuration method provided in an embodiment of this application;
[0042] Figure 3 This is a second flowchart illustrating the configuration method provided in the embodiments of this application;
[0043] Figure 4 This is a schematic diagram of a first scenario of the configuration method provided in the embodiments of this application;
[0044] Figure 5 This is a schematic diagram of a second scenario of the configuration method provided in the embodiments of this application;
[0045] Figure 6 This is a schematic diagram of a third scenario of the configuration method provided in the embodiments of this application;
[0046] Figure 7 This is a third flowchart illustrating the configuration method provided in the embodiments of this application;
[0047] Figure 8 This is a fourth flowchart illustrating the configuration method provided in the embodiments of this application;
[0048] Figure 9This is a fifth flowchart illustrating the configuration method provided in the embodiments of this application;
[0049] Figure 10 This is a flowchart illustrating the control method of the remote controller provided in an embodiment of this application;
[0050] Figure 11 This is a flowchart illustrating the control method for the controlled device provided in an embodiment of this application;
[0051] Figure 12 This is a schematic diagram of the configuration device provided in the embodiments of this application;
[0052] Figure 13 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application; and
[0053] Figure 14 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0054] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0055] To facilitate understanding, the technical background and application scenarios of this application will be introduced below:
[0056] In this application, the control channel mapping of the RC remote controller is generally a process of mapping different control inputs of the remote controller (such as joysticks and buttons) to various functional components (such as motors) in the controlled device (such as a model), so that different control channels can control the operation of different functional components. This mapping determines the functional allocation of each control channel, ensuring that the operation commands of the remote controller are correctly transmitted to the various functional components of the model.
[0057] Remote controls and controlled devices are typically paired one-to-one, and configuration parameters are usually stored in the remote control. When a remote control or controlled device is replaced, the configuration parameters are no longer stored in the remote control, requiring reconfiguration of the mapping relationship to control the controlled device. Furthermore, remote controls cannot control multiple devices simultaneously, limiting their application scenarios. This necessitates a separate user for each controlled device, resulting in significant manpower waste and hindering cost savings when multiple devices need unified control.
[0058] The solution in this application is to configure the association between the first control interface (corresponding to the input component) of the remote controller and the first analog interface of the remote controller configuration interface, configure the association between the second control interface (corresponding to the functional component) of the controlled device and the second analog interface of the controlled device configuration interface, and finally configure the mapping relationship between the input component of the remote controller and the functional component of the controlled device by configuring the mapping relationship between the first analog interface and the second analog interface. This makes it easier for the control information of the input component collected by the control interface to be used to control the corresponding functional component.
[0059] After configuring the mapping relationships, the mapping relationships for each controlled device are sent to each controlled device. This allows the controlled device to determine the first control interface corresponding to its various functional components based on the mapping relationships. Upon receiving the control signal from the remote controller, the controlled device can operate based on the control information of the corresponding first control interface in the control signal. In this way, one remote controller can control one or more controlled devices.
[0060] Because the configuration information is stored in the controlled device rather than the remote control, when switching to a new remote control of the same type, the control signals sent also include the control information of the same control interface. At this time, the new remote control and each controlled device do not need to be reconfigured, and the operation and control of each controlled device can be realized, resulting in a better user experience.
[0061] Please see Figure 1 , Figure 1 This is an application scenario diagram of this application. The application scenario provided in this application includes a remote control system 100, and the configuration method, remote control method, and controlled device control method provided in this application can be executed by the remote control system 100.
[0062] In some embodiments, the remote control system 100 includes a remote controller 10 and a controlled device 20.
[0063] The remote controller 10 receives the user's control operations and controls the operation of the controlled device 20 by generating control signals corresponding to the control operations.
[0064] Optionally, the remote control 10 may include, but is not limited to, RC remote control, infrared remote control, Bluetooth remote control, wired remote control, etc.
[0065] Optionally, the remote controller 10 may transmit control signals via wired transmission (such as a wired remote controller) or wireless transmission (such as an RC remote controller, an infrared remote controller, or a Bluetooth remote controller).
[0066] An RC remote controller is a device used for remotely controlling model vehicles, airplanes, ships, etc. It transmits signals via radio waves (RF), enabling the user to control the controlled device 20. An infrared remote controller transmits infrared signals, allowing the user to control the controlled device 20. A Bluetooth remote controller transmits Bluetooth signals, enabling the user to control the controlled device 20. Wired remote controllers are connected to the controlled device 20 via a wire, and control signals are sent to the controlled device 20 through a communication line, allowing the user to control the device 20.
[0067] In some embodiments, the remote controller 10 includes a controller 11 and an input component 12. The controller 11 is connected to the input component 12 to collect control information input by the input component 12 and send the control information to the controlled device 20 to realize the control of the controlled device 20.
[0068] In some embodiments, the controller 11 includes a control board 111 (i.e., the circuit board of the remote controller 10) and a plurality of first control interfaces 112 disposed on the control board 111. The first control interfaces 112 are connected to the input components 12 and are used to collect control information input by the connected input components 12.
[0069] Optionally, the input component 12 includes one or more control channels 121, and the input component 12 is capable of operating in one or more degrees of freedom (e.g., ...). Figure 1 The motion is on the x-degree of freedom and y-degree of freedom in the input component 12, which is connected to one or more first control interfaces 112. The first control interface 112, the control channel 121 and the degree of freedom are in one-to-one correspondence.
[0070] Thus, each control channel 121 corresponds to a degree of freedom. When the user control input component 12 performs a control operation in a degree of freedom (such as controlling the joystick to move, pressing a button, or scrolling a trackball), the control information corresponding to that control channel 121 can be generated.
[0071] For example, the input component 12 can move in the x and y degrees of freedom. Taking the x degree of freedom as an example, the input component 12 can move within a preset stroke range in the x degree of freedom. When the input component 12 is at different stroke positions in the x degree of freedom, it generates corresponding control information.
[0072] A control board is a board that integrates various electronic components and circuits for controlling and managing the operation of a specific device or system.
[0073] For example, the control board 111 has the functions of data processing and communication. For instance, it communicates with the input component 12 through the first control interface 112 to collect control information, process control information to generate control signals, and send control signals to the controlled device 20, etc.
[0074] Optionally, the control board 111 may be a microcontroller unit (MCU), a programmable logic controller (PLC), or the like.
[0075] The first control interface 112 is used to connect to each control channel 121 of the input component 12 via a serial port, thereby collecting control information generated by the connected control channel 121.
[0076] Optionally, the input component 12 is provided with a position sensor. A position sensor can be set separately for each degree of freedom. The position sensor can detect the travel position of the input component 12 in the corresponding degree of freedom to generate control information. The position sensor corresponding to each degree of freedom can be used as a control channel 121 and connected to the first control interface 112 one by one. This allows each first control interface 112 to collect the control information of the corresponding control channel 121 and enables each control channel 121 to control the functional components of the controlled device 20.
[0077] Optionally, each first control interface 112 may also be connected to multiple control channels 121 to collect control information from multiple control channels 121. In this case, the control board 111 needs to determine the control channel 121 corresponding to different control information based on the sending end of the control information.
[0078] Optionally, the input component 12 includes at least one of a joystick, a trackball, a button input device, a touch input device, and a multi-way switch.
[0079] A joystick is an input device that controls direction or position by moving a handle. It works by the user pushing the joystick's handle to change its position, thereby generating corresponding control information.
[0080] Joysticks enable multi-directional control, typically providing input in two or more directions. Joysticks may also include button functions, such as pressing the top of the joystick to activate a button.
[0081] A trackball is an input device that controls cursor movement by rolling a ball. It works by the user rolling the trackball with their finger or palm; internal sensors detect the ball's movement and convert it into cursor movement. Trackballs offer advantages such as high precision (suitable for applications requiring fine control), space saving (eliminating the need to move the entire device like a traditional mouse), and durability (generally more durable than a regular mouse).
[0082] Key input devices refer to devices that input information by pressing physical buttons or keys. Their working principle is that when a user presses a key, an internal switch is triggered, generating corresponding control information. For example, key input devices can be keyboards (standard computer input devices) or industrial control panels (used for start, stop, and adjustment functions). Key input devices offer advantages such as intuitiveness and ease of use (users can complete tasks through simple key operations), reliability (mechanical keys typically have a long lifespan), and versatility (multiple keys can be combined to achieve complex functions).
[0083] Touch input devices are devices that allow users to input information by directly touching a screen or surface with their fingers or a stylus. They work by detecting the touch location using technologies such as capacitive, resistive, infrared, or ultrasonic sensors, and converting the touch action into a control signal. Examples of touch input devices include touchscreens and touchpads. Touch input devices offer advantages such as intuitiveness (users can operate directly by touch), multi-touch support (supporting multi-touch gestures such as zooming and rotating), and flexibility (different touch interfaces can be designed to meet different application requirements).
[0084] A multi-directional switch is a switch that can be operated in multiple directions, typically used to select different options or control directions. Its working principle is that the user generates corresponding control signals by pushing the switch in different directions. For example, a multi-directional switch can be a game controller for directional control, such as a D-pad, or an industrial control panel for selecting different operating modes or parameters. Multi-directional switches offer advantages such as simplicity and reliability (simple structure, high reliability), multi-directional control (typically providing four basic directions (up, down, left, right), sometimes including diagonal directions), and integration (can be combined with other input devices such as buttons).
[0085] In some embodiments, the remote controller 10 further includes a device switching device 13, which is used to restrict the degree of freedom of the input component 12 so that the input component 12 moves in a target degree of freedom, where the target degree of freedom is any degree of freedom.
[0086] Specifically, since the remote controller 10 of this application can establish a mapping relationship with multiple controlled devices 20, in order to achieve directional control of the target controlled device 20, a device switching device 13 for restricting the degrees of freedom of the remote controller 10 can be set in the remote controller 10.
[0087] For example, taking the remote control 10 as an example, which includes a joystick that can move in the left-right direction (corresponding to the x-degree of freedom) and the up-down direction (y-degree of freedom), the device switching device 13 includes a limiting cover plate with a limiting hole, in which the joystick is located. By adjusting the extension direction of the limiting hole in the limiting cover plate, the extension direction of the limiting hole can be adjusted to any target degree of freedom (such as the x-degree of freedom or the y-degree of freedom), thereby restricting the joystick to the target degree of freedom.
[0088] Based on the mapping relationship between the first control interface 112 (corresponding to control channel 121) and the functional components of the target controlled device 20, the target interface corresponding to the remote controller 10 and the target controlled device 20 can be determined, thereby determining the target control channel 121 corresponding to the target interface. Since the control channel 121 corresponds one-to-one with the degree of freedom, the target degree of freedom that needs to be restricted can be determined. By restricting the joystick to move in the target degree of freedom, the control of the functional components corresponding to the target controlled device 20 can be realized.
[0089] In some embodiments, the device switching device 13 may be a switch, which may cooperate with the control board 111 to determine the target controlled device 20. The switch may receive device switching operations, and based on the device switching operations, the control board 111 may determine the target controlled device 20.
[0090] For example, the controlled device 20 corresponding to the remote controller 10 includes a first controlled device and a second controlled device. The device switching device 13 can be a switch button. By clicking the switch button, the target controlled device 20 can be switched between the first controlled device and the second controlled device.
[0091] In some embodiments, the controlled device 20 includes a circuit board 21 and a functional component 22.
[0092] The circuit board 21 is a device with data processing capabilities. The circuit board 21 is the control core of the controlled device 20, used to communicate with each functional component 22 to obtain information from each functional component 22, and to send control commands to the functional components 22.
[0093] The circuit board 21 includes multiple second control interfaces 211, which are connected to functional components 22 to enable communication and control between the circuit board 21 and each functional component 22. For example, one second control interface 211 is connected to one functional component 22.
[0094] Among them, functional component 22 is a component that performs the corresponding function, such as communication function, mobile function, prompt function, etc.
[0095] For example, functional component 22 may include a communication module (such as a Bluetooth communication module, a WIFI communication module, etc.), through which circuit board 21 communicates with remote controller 10. Alternatively, functional component 22 may include a motor, and circuit board 21 may send control commands to control the motor's operating parameters (such as speed, direction of rotation, etc.) to control the movement of controlled device 20.
[0096] Please see Figure 1 In one example, the controlled device 20 operates based on control information from the corresponding target interface. For instance, the controlled device 20 could be a flatbed truck or a forklift, both of which include a first motor 221 and a second motor 222. The target interface includes a first interface 1121 corresponding to the first motor 221 and a second interface 1122 corresponding to the second motor 222. When the controlled device 20 receives a control signal from the remote controller 10, the circuit board 21 controls the first motor 221 to operate based on the control information from the first interface 1121 in the control signal, and controls the second motor 222 to operate based on the control information from the second interface 1122, thereby driving the flatbed truck or forklift to move.
[0097] For example, the flatbed truck includes front wheels and rear wheels. The front wheels are controlled by a first motor 221, and the rear wheels are controlled by a second motor 222. The first motor 221 controls the left and right rotation of the front wheels, and the second motor 222 controls the forward and backward movement of the rear wheels. In this way, by controlling the first motor 221 and the second motor 222, the flatbed truck can be controlled to move on the ground.
[0098] For example, a forklift includes left and right wheels, both of which are tracked. The left wheel is controlled by a first motor 221, and the right wheel is controlled by a second motor 222. The first motor 221 controls the front wheel to rotate forward and backward, while the second motor 222 controls the rear wheel to move forward and backward. When the first motor 221 and the second motor 222 rotate in the same direction, the forklift moves forward or backward; when the first motor 221 and the second motor 222 rotate in opposite directions, the forklift turns left or right. Thus, by controlling the first motor 221 and the second motor 222, the forklift can be controlled to move on the ground.
[0099] In another example, functional component 22 also includes a lifting device 223, which can be mounted on a forklift. The lifting device 223 includes a lifting component 2231 and a third motor 2232. The third motor 2232 is used to drive the lifting component 2231 to lift. The target interface includes a third interface 1123 corresponding to the third motor 2232. When the controlled device 20 receives a control signal from the remote controller 10, the circuit board 21 controls the third motor 2232 to operate based on the control information of the third interface 1123 in the control signal, so as to drive the lifting component 2231 to lift.
[0100] Thus, by controlling the first motor 221 and the second motor 222, the forklift can be controlled to move on the ground. By controlling the third motor 2232, the lifting component 2231 can be controlled to lift the goods onto the shelf at the corresponding height when the forklift moves to a specific position.
[0101] The application scenarios of this application also include electronic device 500, and the configuration method provided in this application can be executed by electronic device 500.
[0102] Optionally, the electronic device 500 can be a remote control 10, which is equipped with a touch screen display. The mapping relationship between the remote control 10 and the controlled device 20 can be configured visually through the touch screen display.
[0103] Optionally, the electronic device 500 can also be part of the remote control system 100. The electronic device 500 can be a terminal other than the remote controller 10 and the controlled device 20. The terminal is used to configure the mapping relationship between the remote controller 10 and the controller 11.
[0104] The terminal may include, but is not limited to, smartphones (such as Android phones, iOS phones, etc.), tablets, laptops, desktop computers, smart speakers, smartwatches, portable personal computers, mobile internet devices (MIDs), smart voice interaction devices, smart home appliances, vehicle terminals, aircraft, wearable devices, etc., and this application embodiment does not limit this.
[0105] The terminal device may integrate a client, which can be a client capable of displaying data information such as text, images, audio, and video, such as a client for configuring the mapping relationship between the remote controller 10 and the controlled device 20. Through this client, a visual configuration operation can be performed to configure the mapping relationship between the remote controller 10 and the controlled device 20.
[0106] It should be noted that, Figure 1 The number of remote controller 10, controlled device 20 and terminal is for illustrative purposes only. The number of remote controller 10, controlled device 20 and terminal can be more or less, and there is no limitation here.
[0107] Based on the above technical background and related scenarios, the configuration method of the remote controller, the control method of the remote controller 10, and the control method of the controlled device 20 of this application will be introduced in turn.
[0108] This application provides a method for configuring a remote control, used to configure the mapping between the input component of the remote control and the functional components of the controlled device. The configuration method is described in detail below:
[0109] Please see Figure 2 The configuration method provided in this application embodiment is implemented by steps 011 to 013, which are described in detail below.
[0110] Step 011: Display N first analog interfaces and the association between Q of the N first analog interfaces and M input components. The first analog interfaces and the first control interfaces correspond one-to-one. The association indicates that in the remote control, the first control interface corresponding to the Q first analog interfaces has an electrical connection with the M input components.
[0111] Step 012: Display the second analog interface associated with the second control interface. The second analog interface is used to indicate the electrical connection between the second control interface and the functional component; wherein the second analog interface has a mapping relationship with the first analog interface.
[0112] Step 013: Send the mapping relationship to the controlled device.
[0113] Specifically, in order to enable the remote control to control the controlled device, it is necessary to first configure the mapping relationship between the remote control and the controlled device.
[0114] To achieve precise control, a precise mapping relationship needs to be established, specifically the mapping relationship between the first control interface of the remote controller and the second control interface of the controlled device. Thus, by performing control operations on the control channel, the first control interface can collect the control information generated by the control channel, and the controlled device obtains the control information of the first control interface corresponding to each second control interface. Based on the control information of the first control interface, the device can then control the functional components of the corresponding second control interface.
[0115] Optionally, the remote controller or terminal can configure the mapping relationship between the remote controller and at least one controlled device through visual configuration operations.
[0116] After configuring the mapping relationship, the mapping relationship can be sent to each controlled device connected to the current remote controller.
[0117] Taking a remote control comprising a circuit board with N first control interfaces and M input components as an example, where the input components are connected to the first control interfaces and N and M are positive integers; the remote control is used to control at least one controlled device, the controlled device comprising a circuit board with at least one second control interface and a functional component, the functional component being connected to the second control interface;
[0118] Please see Figure 3 Configuring the mapping relationship can be mainly divided into three steps:
[0119] (1) Configure the association between the first control interface of the remote controller and the first analog interface of the configuration interface. This can be achieved through steps 014 to 015 of the configuration method.
[0120] Step 014: Display N first analog interfaces;
[0121] Step 015: Select Q first analog interfaces from N first analog interfaces, and establish association relationships between the Q first analog interfaces and M input components.
[0122] Please see Figure 4 When configuring the association between the first control interface and the first analog interface of the configuration interface, the configuration interface P1 of the remote control can be displayed first. Configuration interface P1 displays N first analog interfaces of the remote control. Then, Q first analog interfaces are selected from the N first analog interfaces, and the association between the Q first analog interfaces and M input components is established. This association indicates that in the remote control, the first control interface corresponding to the Q first analog interfaces has an electrical connection with the M input components.
[0123] Optionally, one first control interface is connected to one input component, where Q equals M. Q first analog interfaces can be selected from N first analog interfaces, and these Q interfaces are associated with the M input components. This ensures that each first analog interface corresponds to one input component, allowing the acquisition of control information from one or more channels (i.e., control channels) of that input component.
[0124] Alternatively, a first control interface can be connected to a channel of an input component (i.e., a control channel). In this case, the total number of channels for the M input components equals Q. When establishing the association between the Q first analog interfaces and the M input components, the first analog interfaces associated with each channel can be further configured. Each channel of a multi-channel input component (such as a multi-channel joystick) can be associated with a different first analog interface. For example, Q first analog interfaces can be selected from N first analog interfaces, and these Q first analog interfaces can be associated with Q first control interfaces. In this way, each first analog interface corresponds to a channel of an input component, thereby collecting control information from the corresponding channel.
[0125] For example, the input component includes a single-channel joystick and / or a multi-channel joystick, with one first control interface connected to one channel of the input component. In this case, the mapping relationship between the first analog interface and the input component is the mapping relationship between the first analog interface and the channels of the input component. That is to say, a multi-channel joystick can be connected to multiple first control interfaces simultaneously.
[0126] In this way, by configuring the channel corresponding to each first analog interface, the control information of each channel of the input component can be accurately acquired through the corresponding first control interface.
[0127] Please continue reading. Figure 4 Optionally, N first analog interfaces are located on the analog circuit board of the configuration interface, and the layout of the first analog interfaces on the analog circuit board is the same as the layout of the first control interfaces on the remote control's circuit board. Thus, through the analog circuit board, when configuring mapping relationships, users can easily and quickly establish the association between the first control interfaces on the circuit board and the first analog interfaces in the same position on the analog circuit board.
[0128] In one example, the input components of the remote control include joystick 1, joystick 2, and buttons. Joystick 1 and joystick 2 are both dual-channel joysticks. The circuit board includes eight first control interfaces, and the configuration interface P1 also includes eight first analog interfaces (such as…). Figure 4 The "+" symbol indicates that the eight first analog interfaces and eight first control interfaces are distributed in a one-to-one correspondence.
[0129] Users can select the corresponding first simulation interface by clicking "+". After selection, they can choose the target interface from the various associatable first control interfaces and establish the association between the target interface and the selected first simulation interface.
[0130] The first control interface that can be associated includes a first control interface connected to the x channel of joystick 1, a first control interface connected to the y channel of joystick 1, a first control interface connected to the x channel of joystick 2, a first control interface connected to the y channel of joystick 2, and a first control interface connected to the button.
[0131] In this way, the first control interface (or the channel of the input component connected to the first control interface) associated with each first analog interface can be accurately configured through a visual interface.
[0132] (2) Configure the association between the second control interface of the controlled device and the second simulation interface of the configuration interface. This can be achieved through steps 016 and 017 of the configuration method.
[0133] Step 016: Display the second analog interface;
[0134] Step 017: Establish the association between the second simulation interface and the second control interface.
[0135] Please see Figure 5When configuring the association between the second control interface and the second analog interface of the configuration interface, the configuration interface P2 of the controlled device can be displayed first. Configuration interface P2 displays multiple second analog interfaces of the controlled device. Then, the association between these multiple second analog interfaces and multiple second control interfaces is established, thereby establishing the association between the functional components connected to these multiple second analog interfaces and multiple second control interfaces. This association is used to characterize the electrical connection between the second control interface corresponding to the second analog interface and the corresponding functional component.
[0136] Optionally, a second analog interface is associated with a second control interface.
[0137] In one example, the controlled equipment includes a flatbed truck and a forklift. The association between the second analog interface and the second control interface of the flatbed truck can be configured in the configuration interface P2 of the flatbed truck.
[0138] The functional components of the flatbed truck include motor 1 and motor 2. Motor 1 is connected to a second control interface, and motor 2 is connected to a second control interface.
[0139] Users can select the corresponding second simulation interface by clicking "+". After selection, they can choose the target interface from the various associated second control interfaces and establish the association between the target interface and the selected second simulation interface.
[0140] Similarly, in the forklift's configuration interface P2, the association between the second simulation interface and the second control interface can be established in the same way.
[0141] In this way, the second control interface (or the functional component connected to the second control interface) associated with each second analog interface can be accurately configured through a visual interface.
[0142] (3) Configure the mapping relationship between the first simulation interface and the second simulation interface. This can be achieved through steps 018 to 019 of the configuration method.
[0143] Step 018: Display M analog input components and L analog function components, with each analog input component corresponding to another, and each analog function component corresponding to another.
[0144] Step 019: Establish the mapping relationship between M analog input components and L analog functional components. The mapping relationship between the second analog interface and the first analog interface is determined based on the mapping relationship between the analog input components and the analog functional components.
[0145] After configuring the first analog interface of the remote controller and the second analog interface of the controlled device, the channels of the input components associated with the first analog interface and the functional components associated with the second analog interface can be determined. Therefore, in order to enable the remote controller to control the controlled device, it is also necessary to establish a mapping relationship between the first analog interface and the second analog interface.
[0146] When configuring the mapping relationship between the first analog interface and the second analog interface, M analog input components and L analog function components can be displayed on the mapping relationship configuration interface P3. The analog input components correspond one-to-one with the input components, and the analog function components correspond one-to-one with the function components.
[0147] By establishing a mapping relationship between M analog input components and L analog functional components, the mapping relationship between the first analog interface and the second analog interface can be established.
[0148] Optionally, the analog input component includes one or more analog channels, and the analog channels of the analog input component, the channels of the input component, and the first analog interface correspond one-to-one, and the analog functional component corresponds one-to-one with the second analog interface.
[0149] In this way, by configuring each analog channel of the analog input component to establish a mapping relationship with different analog functional components, the mapping relationship between the first analog interface and the second analog interface can be established, thereby configuring the mapping relationship between the first control interface and the second control interface, and thus configuring the mapping relationship between the input component (specifically the control channel) of the remote controller and the functional components of the controlled device.
[0150] It can be understood that the mapping relationship enables the functional components in the controlled device that are electrically connected to the second control interface to receive control information from the input components that are electrically connected to the corresponding first control interface, thereby enabling the remote controller to control the operation of the controlled device.
[0151] Please see Figure 6 In one example, the input components of the remote control include joystick 1, joystick 2, and buttons, while the functional components of the controlled device include motor 1 and motor 2. The configuration interface P3 displays the analog input components: joystick 1, joystick 2, and buttons, as well as the analog functional components: motor 1 and motor 2.
[0152] By selecting joystick 1, the configuration of joystick 1 is determined, thereby establishing the x-channel and y-channel (i.e., analog channel) of joystick 1 and the controlled device (i.e., Figure 6 The mapping relationship between the analog functional components of the receiving component (as shown in the figure) is as follows: Figure 6 As shown, the x-channel of joystick 1 is mapped to motor 1 of the controlled device, and the y-channel of joystick 1 is mapped to motor 2 of the controlled device. Thus, the mapping relationship between the first analog interface and the second analog interface can be determined based on the mapping relationship between the analog channels and the analog functional components.
[0153] After configuring the mapping relationship between the remote controller and the controlled device, the mapping relationship can be sent to the controlled device so that the controlled device can obtain the control information of the corresponding first control interface based on the mapping relationship and thus run.
[0154] Once the controlled device receives the corresponding mapping relationship, the configuration between the remote controller and the corresponding controlled device is completed.
[0155] After the mapping relationship is configured, the remote control can control each of the configured controlled devices. The remote control can collect the control information input by the user through the input component via the first control interface, and then send control signals to each controlled device. Based on the mapping relationship, each controlled device can quickly determine the first control interface corresponding to itself in the control signal, and then control the operation of the corresponding functional components based on the control information of the corresponding first control interface.
[0156] Optionally, a mapping relationship can be sent to a target controlled device, which is a controlled device that has been paired with the remote controller. This ensures that the remote controller can only control the paired target controlled device, guaranteeing control security.
[0157] The configuration method of this application configures the association between the first control interface (corresponding to the input component) of the remote controller and the first analog interface of the remote controller configuration interface, configures the association between the second control interface (corresponding to the functional component) of the controlled device and the second analog interface of the controlled device configuration interface, and finally configures the mapping relationship between the input component of the remote controller and the functional component of the controlled device by configuring the mapping relationship between the first analog interface and the second analog interface. This makes it convenient for the control information of the input component collected by the control interface to be used to control the corresponding functional component.
[0158] After configuring the mapping relationships, the mapping relationships for each controlled device are sent to each controlled device. This allows the controlled device to determine the first control interface corresponding to its various functional components based on the mapping relationships. Upon receiving the control signal from the remote controller, the controlled device can operate based on the control information of the corresponding first control interface in the control signal. In this way, one remote controller can control one or more controlled devices.
[0159] Because the configuration information is stored in the controlled device rather than the remote control, when switching to a new remote control of the same type, the control signals sent also include the control information of the same control interface. At this time, the new remote control and each controlled device do not need to be reconfigured, and the operation and control of each controlled device can be realized, resulting in a better user experience.
[0160] Please see Figure 7 In some embodiments, the configuration method further includes:
[0161] Step 020: Select a target configuration file from the preset configuration file library. The configuration file library is generated based on the preset configuration files and historical configuration files. The target configuration file carries at least one of the following: first configuration information, second configuration information, and mapping relationship. The first configuration information includes the association relationship between the first simulation interface and the input component. The second configuration information includes the association relationship between the second simulation interface and the functional component.
[0162] Specifically, it can be understood that for the same remote control, the mapping configurations of different types of controlled devices are basically similar if the input components remain unchanged. Therefore, to further improve configuration efficiency, the mapping relationships generated after each user's configuration can be saved as configuration files in a configuration file library.
[0163] When a user needs to reconfigure the mapping of the same type of remote control and controlled device, they can quickly configure at least one of the following: first configuration information, second configuration information, and mapping relationship, by selecting a target configuration file from the configuration file library. Thus, by importing the target configuration file, at least one of the following can be quickly achieved: the association configuration of the remote control's first analog interface and input component, the association configuration of the controlled device's second analog interface and functional component, and the establishment of a mapping relationship. This reduces the workload for users in mapping configuration.
[0164] Optionally, the configuration file library includes at least one of preset configuration files, historical configuration files, and configuration files downloaded from community websites.
[0165] It's understandable that the configuration files in the configuration file library can come from various sources. These could include pre-configured configuration files from remote control manufacturers for common remote controls and controlled devices, historical configuration files stored after other users configured their remote controls and controlled devices, or configuration files shared by other users on social media platforms like community websites. This results in a rich collection of configuration files in the library, capable of meeting the personalized configuration needs of different users.
[0166] Optionally, a configuration file can be generated based on the mapping relationship and shared to the community website. In this way, after a user configures the mapping relationship, the configuration file can be exported and shared to the community website, allowing other customers to quickly configure the mapping relationship. This achieves the sharing of mapping configurations, satisfies users' desire to share, and increases user engagement.
[0167] Optionally, a configuration file can be generated based on at least one of the first configuration information, the second configuration information, and the mapping relationship. The first configuration information includes the association between the first analog interface and the input component, and the second configuration information includes the association between the second analog interface and the functional component. In this way, not only can the mapping relationship be configured quickly, but the configuration of the remote controller and the controlled device can also be achieved.
[0168] Please see Figure 8 In some embodiments, the controlled device includes multiple devices. Step 013: Sending the mapping relationship to the controlled device includes:
[0169] Step 0131: Broadcast the configuration file. The configuration file includes the identity identifiers of multiple controlled devices and the corresponding mapping relationships. Any target controlled device that receives the configuration file can selectively read the corresponding target mapping relationship based on its own identity identifier.
[0170] Specifically, when sending mapping relationships, a configuration file can be generated based on the pre-configured mapping relationships and identity identifiers of each controlled device, and then sent to each controlled device via broadcast.
[0171] Within the coverage area of the broadcast signal, any target controlled device, after receiving the broadcast configuration file, can selectively read the mapping relationship in the configuration file that matches its own identity, thereby configuring the mapping relationship of the target controlled device.
[0172] For example, the controlled devices include a first controlled device and a second controlled device. The first controlled device is identified by ID1, and the second controlled device is identified by ID2. In the configuration file generated by the remote controller, mapping relationship 1 for the first controlled device corresponds to ID1, and mapping relationship 2 for the second controlled device corresponds to ID2.
[0173] After receiving the configuration file, the first controlled device can selectively read the mapping relationship 1 corresponding to ID1, thereby realizing the mapping relationship configuration of the first controlled device; after receiving the configuration file, the second controlled device can selectively read the mapping relationship 2 corresponding to ID2, thereby realizing the mapping relationship configuration of the second controlled device.
[0174] Please see Figure 9 In some embodiments, the controlled device includes multiple devices. Step 013: Sending the mapping relationship to the controlled device includes:
[0175] Step 0132: Based on the mapping relationship of each controlled device, generate the configuration file corresponding to each controlled device;
[0176] Step 0133: Send the configuration files corresponding to each controlled device to each controlled device respectively.
[0177] Specifically, in addition to the controlled device selectively reading the mapping relationship to configure it, the remote control can also selectively send the mapping relationship to the corresponding controlled device.
[0178] The remote controller can generate configuration files for each controlled device based on the mapping relationship between the controlled devices, and then send the configuration files for each controlled device to the respective controlled devices to realize the mapping relationship configuration of each controlled device.
[0179] For example, the controlled devices include a first controlled device and a second controlled device. The remote controller generates configuration file 1 based on the mapping relationship of the first controlled device and configuration file 2 based on the mapping relationship of the second controlled device. The remote controller can send configuration file 1 to the first controlled device and configuration file 2 to the second controlled device, thereby realizing the mapping relationship configuration of each controlled device.
[0180] In some embodiments, the first analog interface corresponding to multiple controlled devices is the same.
[0181] In this way, multiple controlled devices can be controlled simultaneously through the first control interface corresponding to the same first analog interface.
[0182] Optionally, the control information of the first control interface may control multiple controlled devices in the same or different ways.
[0183] For example, the controlled device includes a first controlled device and a second controlled device, both of which include a motor. For example, control information from the first control interface controls the motor of the first controlled device to rotate in a first rotation direction, and controls the motor of the second controlled device to rotate in a second rotation direction, wherein the first rotation direction and the second rotation direction are the same or opposite.
[0184] In some embodiments, the first analog interfaces corresponding to the multiple controlled devices are different, and the remote controller further includes a switch element for switching the control enable of any controlled device.
[0185] In this way, different controlled devices can be controlled through different first analog interfaces (i.e., first control interfaces). Furthermore, the control enable of any controlled device can be switched through the switching device, thus enabling the remote control to control multiple controlled devices and allowing users to customize the selection of the controlled devices to be controlled based on their needs.
[0186] For example, the controlled device includes a first controlled device and a second controlled device, and the switch is a button. By clicking the button, the control enable of the first controlled device or the second controlled device can be switched in a cycle. The first controlled device or the second controlled device can be controlled by the same remote control.
[0187] In some embodiments, when a new remote controller is added, the mapping relationship of each controlled device is sent to the new remote controller.
[0188] When it is necessary to add a new remote control of the same model to control the various already configured controlled devices, simply send the mapping relationship of each controlled device to the new remote control to realize the mapping configuration of the new remote control, so that the new remote control can quickly control the various already configured controlled devices.
[0189] In addition, the newly added remote controller can share the first configuration information with the already configured remote controller. The first configuration information includes the association between the first analog interface and the input component, so that the newly added remote controller can control the already configured controlled devices without reconfiguring the new remote controller.
[0190] The control method of the remote control of this application will be described in detail below.
[0191] Please see Figure 10 The remote control method provided in this application embodiment is implemented by steps 021 and 022, which are described in detail below.
[0192] Step 021: Receive control operations to collect control information through the various first control interfaces of the remote control;
[0193] Step 022: Send control signals to the target controlled device to control the operation of each functional component of the target controlled device. The control signals include control information collected by each first control interface. The target controlled device operates based on a preset mapping relationship, which includes the mapping relationship between each functional component of the target controlled device and each first control interface.
[0194] Specifically, the process by which the remote control controls the controlled device is as follows:
[0195] (1) Remote control receiving and control operation.
[0196] The control operation can be an operation received by the input component. For example, if the input component is a joystick, the control operation can be pushing the joystick up and down (i.e., x-degree of freedom) or moving it left and right (y-degree of freedom); or, if the input component is a button, the control operation can be clicking the button.
[0197] (2) Each first control interface of the remote control collects the control information of the corresponding input component.
[0198] If each first control interface is connected to a control channel of the input component, after the input component receives the control operation of the corresponding control channel, the first control interface can collect the control information of the operated control channel.
[0199] (3) Send control signals to the target controlled device to control the operation of each functional component of the target controlled device.
[0200] Optionally, the target controlled device can be a controlled device already paired with the remote controller. There can be one or more target controlled devices, and the control signal is transmitted in a broadcast format, i.e., the remote controller sends a broadcast signal so that each controlled device can receive the control signal. In this case, the control signal includes control information collected by each first control interface (such as all configured first control interfaces).
[0201] Optionally, the pairing process between the remote control and the controlled device is as follows:
[0202] (Such as a remote control) Displays a pairing list, which includes one or more unpaired controlled devices;
[0203] Receive pairing operations (such as clicking on the controlled device to be paired) to identify the target controlled device and pair with it.
[0204] Optionally, after the user performs the pairing operation, the remote control can send a pairing signal to the target controlled device for pairing. Upon receiving the pairing signal, the target controlled device issues a prompt message (informing the user of the controlled device currently being paired). The pairing signal includes the remote control's authentication information.
[0205] The target controlled device can perform identity authentication based on identity authentication information. For example, the identity authentication information may include the remote control's identification information or the pairing code entered by the user on the remote control. The target controlled device can determine whether the remote control's identification information meets preset rules to determine whether the remote control has passed identity authentication; or the target controlled device can receive the verification code entered by the user and determine whether the identity authentication has passed by judging whether the verification code and the pairing code are consistent.
[0206] In this way, identity authentication is achieved through pairing, ensuring the control security between the remote control and the target controlled device.
[0207] Optionally, the target controlled device can be a controlled device determined based on the device switching operation. In this case, the remote controller can send control signals to the target controlled device based on the communication address of the target controlled device, thereby preventing other controlled devices from receiving the control signals and being misoperated.
[0208] The remote control method of this application uses the control information of the input component collected by the first control interface to generate control signals, and then controls the operation of each target controlled device by broadcasting or directional transmission of the control signals.
[0209] Because the mapping relationship is stored in the controlled device, not the remote control, when switching to a new remote control of the same type, since the sent control signals also include the same control information from the first control interface, the new remote control and each controlled device do not need to be reconfigured to achieve operation control of each controlled device, resulting in a better user experience. Furthermore, the remote control can send broadcast signals, thus enabling simultaneous control of multiple controlled devices.
[0210] The control method of the controlled device of this application will be described in detail below.
[0211] Please see Figure 11 This application provides a control method for a controlled device, which is described in detail below:
[0212] Step 031: Receive control signals sent by the remote control;
[0213] Step 032: Based on the preset mapping relationship, determine the target interface in the remote control for each functional component of the currently controlled device;
[0214] Step 033: Based on the control information of each target interface in the control signal, control the functional components corresponding to each target interface respectively.
[0215] Specifically, the process by which the controlled device performs the corresponding operation based on the control signal from the remote controller is as follows:
[0216] (1) Receive control signals sent by the remote control. Such as control signals broadcast by the remote control or control signals sent in a specific direction.
[0217] The control signals broadcast may include control information from all configured first control interfaces.
[0218] Alternatively, the directed control signals may include control information from all configured first control interfaces;
[0219] Alternatively, the directional control signal may only include the control information of the first control interface corresponding to the target controlled device. In this case, the remote controller needs to store the mapping relationship corresponding to each controlled device.
[0220] (2) Based on the preset mapping relationship, determine the target interface in the remote controller for each functional component of the currently controlled device. The preset mapping relationship may include a mapping relationship table of first identification information and second identification information. Based on this mapping relationship table, the target interface in the remote controller for each functional component of the currently controlled device can be quickly determined.
[0221] (3) Based on the control information of each target interface in the control signal, control the functional components corresponding to each target interface respectively.
[0222] The control method of the controlled device in this application enables the controlled device to determine the first control interface corresponding to each of its functional components by receiving the corresponding mapping relationship. After the controlled device receives the control signal from the remote controller, it can operate based on the control information of the first control interface corresponding to the control signal.
[0223] Because the mapping relationship is stored in the controlled devices, not the remote control, when switching to a new remote control of the same type, the sent control signals also include the control information of the same first control interface. Therefore, the new remote control and each controlled device do not need to be reconfigured, enabling the operation and control of each controlled device, resulting in a better user experience. Furthermore, the remote control can send control information from all first control interfaces, and each controlled device can determine the target interface based on the stored mapping relationship, thus operating according to the control information of the corresponding target interface. This allows the same remote control to simultaneously control multiple controlled devices.
[0224] Based on the method described in the above embodiments, this application also provides a configuration device 200 for performing the steps in the above configuration method. Please refer to... Figure 12 , Figure 12 This is a schematic diagram of the configuration device 200 provided in an embodiment of this application. The configuration device 200 includes:
[0225] Display module 201 is used to display N first analog interfaces and the association relationships between Q of the N first analog interfaces and M input components, wherein the first analog interfaces and first control interfaces correspond one-to-one; wherein the association relationship indicates that in the remote controller, the first control interface corresponding to the Q first analog interfaces has an electrical connection with the M input components; and displays a second analog interface associated with the second control interface, wherein the second analog interface is used to indicate the electrical connection between the second control interface and the functional components; wherein the second analog interface has a mapping relationship with the first analog interface;
[0226] The sending module 202 is used to send the mapping relationship to the controlled device.
[0227] It should be noted that the specific details of each module unit in the above device have been described in detail in the embodiments of the above method, and will not be repeated here.
[0228] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0229] In some embodiments, the device in this application can be implemented in hardware, such as a hardware device (e.g., a remote control, a controlled device, a terminal, etc.) or a component in a hardware device, such as an integrated circuit or a chip; the device can also be implemented in software, such as as an application installed in a hardware device.
[0230] In some embodiments, please refer to Figure 13 , Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 500 includes a processor 501 and a memory 502. The memory 502 stores a computer program 503 that can run on the processor 501. When the processor 501 executes the program 503, it implements the various processes of the above-described configuration method embodiment and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0231] Please see Figure 14 , Figure 14 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. The electronic device can be a terminal or a server. Exemplarily, the electronic device 700 includes a central processing unit (CPU) 701, a system memory 704 including random access memory (RAM) 702 and read-only memory (ROM) 703, and a system bus 705 connecting the system memory 704 and the central processing unit 701.
[0232] In some embodiments, the electronic device 700 may also include a basic input / output system 706 that helps transmit information between various devices within the computer, and a mass storage device 707 for storing the operating system 713, the client 714, and other program modules 715.
[0233] In some embodiments, the basic input / output system 706 includes a display 708 for displaying information and an input device 709 for user input, such as a touch panel and other input devices. A touch panel is also called a touchscreen. A touch panel may include both a touch device and a touch remote control. Other input devices may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described further here.
[0234] In this system, both the display 708 and the input device 709 are connected to the central processing unit 701 via an input / output remote control 710 connected to the system bus 705. The basic input / output system 706 may also include the input / output remote control 710 for receiving and processing input from touch panels, other input devices, etc. Similarly, the input / output system 706 also includes output devices such as displays, printers, or other types of output devices.
[0235] Mass storage device 707 is connected to central processing unit 701 via a mass storage remote controller (not shown) connected to system bus 705. Mass storage device 707 and its associated computer-readable media provide non-volatile storage for electronic device 700. That is, mass storage device 707 may include computer-readable media (not shown) such as hard disk or compact disc read-only memory (CD-ROM) drive.
[0236] According to various embodiments of this application, the electronic device 700 can also be connected to a remote computer on a network, such as the Internet. That is, the electronic device 700 can be connected to a network 717 via a network interface unit 716 connected to the system bus 705, or the network interface unit 716 can be used to connect to other types of networks or remote computer systems (not shown).
[0237] This application also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described configuration method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0238] The processor can be the processor in the electronic device described in the above embodiments. The computer-readable storage medium can be a computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc.
[0239] Computer-readable media can include computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid-state storage technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that computer storage media are not limited to the above-mentioned types.
[0240] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described configuration method. The processor may be a processor in the electronic device described above. When executed by the processor, the computer program implements the various processes of the embodiments of the above-described configuration method and achieves the same technical effects; therefore, to avoid repetition, further details are omitted here.
[0241] It is understood that in the specific implementation of this application, data related to user identity or characteristics is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0242] In the description of this specification, the references to terms such as "some embodiments," "in one example," "exemplarily," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0243] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.
[0244] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.
Claims
1. A method for configuring a remote control, characterized in that, The remote controller includes a circuit board with N first control interfaces and M input components, wherein the input components are connected to the first control interfaces, and N and M are positive integers; the remote controller is used to control at least one controlled device, the controlled device including a circuit board with at least one second control interface and a functional component, wherein the functional component is connected to the second control interface; the configuration method includes: The display shows N first analog interfaces and the association between Q of the N first analog interfaces and the M input components, wherein the first analog interfaces and the first control interfaces correspond one-to-one; wherein the association indicates that in the remote controller, the first control interface corresponding to the Q first analog interfaces has an electrical connection with the M input components; Displays a second analog interface associated with the second control interface, the second analog interface indicating the electrical connection between the second control interface and the functional component; wherein the second analog interface has a mapping relationship with the first analog interface; Send the mapping relationship to the controlled device; Select a target configuration file from a preset configuration file library, which is generated based on preset configuration files, historical configuration files, and configuration files downloaded from community websites; The remote controller sends a broadcast signal so that each controlled device can receive the control signal. The control signal includes the control information of the first control interface. The control information of the first control interface may have the same or different control methods for multiple controlled devices. Sending the mapping relationship to the controlled device includes: A broadcast configuration file is provided, which includes the identity identifiers of multiple controlled devices and the corresponding mapping relationships. Any target controlled device that receives the configuration file can selectively read the corresponding target mapping relationship based on its own identity identifier.
2. The configuration method according to claim 1, characterized in that, The mapping relationship enables the functional components in the controlled device that are electrically connected to the second control interface to receive control information from the input components that are electrically connected to the corresponding first control interface.
3. The configuration method according to claim 1, characterized in that, The method further includes: Display the N first analog interfaces; Select Q first analog interfaces from the N first analog interfaces, and establish an association relationship between the Q first analog interfaces and the M input components.
4. The configuration method according to claim 3, characterized in that, The input component includes a single-channel joystick and / or a multi-channel joystick, and the mapping relationship between the first analog interface and the input component is the mapping relationship between the channels of the first analog interface and the input component.
5. The configuration method according to claim 3, characterized in that, The input component includes a multi-channel joystick, with one channel connected to one of the first control interfaces, and the method further includes: Each channel of the multi-channel joystick is associated with a different first analog interface.
6. The configuration method according to claim 3, characterized in that, Also includes: The display shows M analog input components and L analog function components, wherein the analog input components correspond one-to-one with the input components, and the analog function components correspond one-to-one with the function components; A mapping relationship is established between the M analog input components and the L analog functional components. The mapping relationship between the second analog interface and the first analog interface is determined based on the mapping relationship between the analog input components and the analog functional components.
7. The configuration method according to claim 6, characterized in that, The input component includes a multi-channel joystick, the analog input component includes multiple analog channels, the analog channels of the analog input component, the channels of the input component, and the first analog interface correspond one-to-one, the analog functional component corresponds one-to-one with the second analog interface, and the method further includes: A mapping relationship is established between each analog channel of the analog input component and different analog functional components. The mapping relationship between the second analog interface and the first analog interface is determined based on the mapping relationship between the analog channels of the analog input component and the analog functional components.
8. The configuration method according to any one of claims 1-7, characterized in that, The second analog interface and the second control interface correspond one-to-one, and the method further includes: Display the second simulation interface; Establish the association between the second simulation interface and the second control interface.
9. The configuration method according to claim 1, characterized in that, Also includes: The target configuration file carries at least one of first configuration information, second configuration information, and the mapping relationship. The first configuration information includes the association between the first simulation interface and the input component, and the second configuration information includes the association between the second simulation interface and the functional component.
10. The configuration method according to claim 1, characterized in that, Sending the mapping relationship to the controlled device includes: The controlled device and the remote controller are paired to send the mapping relationship to the controlled device.
11. The configuration method according to claim 1, characterized in that, The controlled devices include multiple devices, and sending the mapping relationship to the controlled devices includes: Based on the mapping relationship of each of the controlled devices, a configuration file corresponding to each of the controlled devices is generated; The configuration files corresponding to each of the controlled devices are sent to each of the controlled devices respectively.
12. The configuration method according to claim 1 or 11, characterized in that, The first analog interface corresponding to multiple controlled devices is the same.
13. The configuration method according to claim 1 or 11, characterized in that, The first analog interfaces corresponding to the multiple controlled devices are different, and the remote controller also includes a switch, which is used to switch the control enable of any of the controlled devices.
14. The configuration method according to claim 1, characterized in that, Also includes: A configuration file is generated based on the mapping relationship, and the configuration file is shared to the community website.
15. The configuration method according to claim 1, characterized in that, N of the first analog interfaces are located on an analog circuit board, and the layout of the first analog interfaces on the analog circuit board is the same as the layout of the first control interfaces on the circuit board of the remote control.
16. The configuration method according to claim 1, characterized in that, Also includes: When a new remote controller is added, the mapping relationship of each of the controlled devices is sent to the new remote controller.
17. An electronic device, characterized in that, include: A processor and a memory, the memory including a computer program, wherein when the processor executes the computer program, it implements the configuration method according to any one of claims 1-16.
18. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the configuration method as described in any one of claims 1-16.
19. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the configuration method as described in any one of claims 1-16.