Generation method and device of control panel of remote controller, terminal and computing storage medium
By identifying and generating the remote control control panel in the terminal, the user experience problem caused by multiple air conditioning types and different remote control types is solved, and unified control of multiple devices and better user experience is achieved.
Patent Information
- Application Number
- CN202411861032.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-04-11
AI Technical Summary
When there are many types of air conditioners at home and different types of remote controls, the air conditioner experience is poor.
By obtaining the picture of the remote control in the terminal, identifying its keys, and generating corresponding functional components, finally selecting the target control mode from multiple control modes to display the corresponding functional components to generate the control panel of the remote control.
It realizes the control of multiple devices through one terminal, improves the user's experience of device control, and solves the problem of poor air conditioning experience.
Smart Images

Figure CN119806703A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of remote control control panel generation, and in particular to a remote control control panel generation method and device, terminal and computing storage medium. Background Art
[0002] With the development of Internet of Things technology, the use of smart homes has been integrated into our lives. In particular, air conditioners have become a necessity for most families. However, the models of air conditioners in different rooms of the home may be different. For example, the living room is generally a high-end cabinet with a large number of capacities, the master bedroom is generally a sleep air conditioner with a smaller number of capacities, the children's room may be a children's smart voice storytelling air conditioner, and the elderly room may be a smart sleep air conditioner with gentle air volume. Correspondingly, the functions of the remote controls in each room are not completely consistent, and each room requires a different remote control. Therefore, if you change the room and use the air conditioner again, you need to use the corresponding remote control again to control it, resulting in a poor air conditioning experience when there are many air conditioners of different types at home.
[0003] There is currently no effective solution to the above-mentioned problems in the related art. Summary of the invention
[0004] The present application provides a method and device for generating a remote control panel, a terminal and a computing storage medium to solve the problem in the related art that there are many types of air conditioners at home and the types of remote controls are different, resulting in a poor air conditioner usage experience.
[0005] In a first aspect, the present application provides a method for generating a control panel of a remote control, comprising: obtaining a picture of the remote control based on a target application in a terminal; identifying the buttons of the remote control in the picture on the control interface of the target application, and generating functional components corresponding to the buttons on the control interface based on the identification results; selecting a target control mode from multiple control modes, and displaying the functional components corresponding to the target control mode on the control interface to obtain the control panel of the remote control.
[0006] Optionally, a target control mode is selected from a plurality of control modes, and functional components corresponding to the target control mode are displayed on the control interface to obtain a control panel of the remote control, including: displaying a plurality of control modes on the control interface; wherein the types and quantities of functional components in the control panel corresponding to different control modes, and display properties of the functional components are different; selecting the target control mode from the plurality of control modes, and generating a control panel corresponding to the target control mode on the control interface.
[0007] Optionally, the target control mode is selected from the multiple control modes, and a control panel corresponding to the target control mode is generated on the control interface based on the functional components, including: obtaining account information for logging into the application, and matching the target control mode corresponding to the account information from the multiple control modes; wherein each account information has a mapping relationship with a control mode; obtaining the target type and target quantity of the functional components corresponding to the target control mode, and display properties of the functional components; and displaying the functional components with the target type and target quantity based on the display properties on the control interface to obtain the control panel.
[0008] Optionally, the buttons of the remote control in the picture are identified on the control interface of the target application, and functional components corresponding to the buttons are generated on the control interface based on the identification results, including: identifying the text and / or symbols on the buttons of the remote control, and the attributes of the buttons; wherein the attributes of the buttons include the shape of the buttons and the color of the buttons; matching the text and / or symbols with pre-stored text and / or symbols; wherein the pre-stored text and / or symbols respectively correspond to a functional component; and adjusting the matching functional components based on the attributes of the buttons to generate a functional component corresponding to the buttons.
[0009] Optionally, obtaining a picture of the remote control based on the target application includes: obtaining a picture of the remote control locally based on the target application; or starting a camera function of the terminal based on the target application, and obtaining a picture of the remote control based on the camera function.
[0010] Optionally, the method also includes: obtaining the position of the device controlled by the remote control, and establishing a mapping relationship between the position and the control panel corresponding to the remote control; saving the position, the control panel and the mapping relationship; and when the terminal matches the position, the terminal logs in to the application based on the account information, and displays the control interface, displaying the control panel on the control interface based on the mapping relationship.
[0011] Optionally, the method further includes: obtaining account information for logging into the application; and setting control permissions corresponding to the account information, wherein the control permissions refer to control permissions for the device based on the control panel.
[0012] In the second aspect, the present application provides a device for generating a remote control control panel, comprising: a first acquisition module, used to obtain a picture of the remote control based on a target application in a terminal; a first processing module, used to identify the buttons of the remote control in the picture on the control interface of the target application, and generate functional components corresponding to the buttons on the control interface based on the identification results; a second processing module, used to select a target control mode from multiple control modes, and display the functional components corresponding to the target control mode on the control interface to obtain the control panel of the remote control.
[0013] In a third aspect, the present application provides a terminal, comprising an electronic device, the electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute the method for generating a remote control control panel as described in the first aspect of the present application.
[0014] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for generating a remote control panel as described in the first aspect of the present application.
[0015] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application can obtain a picture of the remote control based on the target application in the terminal, and then identify the buttons of the remote control in the picture in the control interface of the target application, and generate functional components corresponding to the buttons in the control interface based on the identification results, and finally select the target control mode from multiple control modes, and display the functional components corresponding to the target control mode in the control interface to obtain the control panel of the remote control. That is, in the embodiment of the present application, after obtaining the picture of the remote control through the terminal, a corresponding control panel can be generated on the terminal for controlling the device. Therefore, in the case where there are many devices controlled by the remote control at home, the control panels of each remote control can be generated in the terminal, that is, multiple devices can be controlled through one terminal, which improves the user's experience of device control and solves the problem in the related technology that there are many types of air conditioners at home and the types of remote controls are different, resulting in a poor air conditioner use experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0018] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0019] Figure 1 A flowchart of a method for generating a remote control panel provided in an embodiment of the present application;
[0020] Figure 2 A flow chart of a method for realizing intelligent matching of remote controllers of different models based on an AI micro-sensor provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of generating a remote control panel on an application provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of the structure of a device for generating a remote control panel provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0025] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0026] In order to solve the problem in the related art that there are many types of air conditioners at home and the types of remote controls are different, resulting in a poor air conditioner usage experience, the present application provides a method for generating a remote control control panel, such as Figure 1 As shown, the steps of the method include:
[0027] Step 101, obtaining a picture of the remote control based on a target application in the terminal;
[0028] The remote controller in the embodiment of the present application is used to control a smart device, specifically, the smart device may be an air conditioner, a television, a smart toy car, etc. In a specific example, the target application in the terminal may obtain a picture of the remote controller locally, and the target application may directly start the camera of the terminal to take a picture of the remote controller.
[0029] Step 102, identifying the buttons of the remote control in the picture on the control interface of the target application, and generating functional components corresponding to the buttons on the control interface based on the identification results;
[0030] In specific application scenarios, different devices correspond to different remote controls, and different types of remote controls for the same device also differ. Therefore, after obtaining a picture of the remote control, it is necessary to identify the buttons on the remote control to identify the functions of each button and then generate functional components corresponding to the buttons based on the identified button functions. It should be noted that the functional components corresponding to the button functions of each type of remote control are already pre-stored on the server, and the terminal only needs to identify the button function to obtain the corresponding functional components from the server through the terminal.
[0031] Step 103 , selecting a target control mode from a plurality of control modes, and displaying functional components corresponding to the target control mode on a control interface to obtain a control panel of the remote controller.
[0032] In the embodiment of the present application, the control mode can be set accordingly according to different needs, such as the control mode is set according to age groups, such as the control mode includes a child control mode, an elderly control mode and an adult control mode. The control mode can also be set according to the control needs, such as a simple control mode, a detailed control mode, etc. Through the selection of the control mode, the corresponding functional components can be conveniently and quickly displayed on the control interface to obtain the corresponding control panel. Through the control panel, the user can control the device through the control panel on the terminal. For example, if the current remote control is used to control the air conditioner, the air conditioner is controlled through the control panel.
[0033] Through the above steps 101 to 103, the image of the remote control can be obtained based on the target application in the terminal, and then the buttons of the remote control in the image can be identified in the control interface of the target application, and functional components corresponding to the buttons are generated in the control interface based on the identification results, and finally the target control mode is selected from multiple control modes, and the functional components corresponding to the target control mode are displayed in the control interface to obtain the control panel of the remote control. That is, in the embodiment of the present application, after the image of the remote control can be obtained through the terminal, a corresponding control panel can be generated on the terminal for controlling the device. Therefore, in the case where there are many devices controlled by the remote control at home, the control panels of each remote control can be generated in the terminal, that is, multiple devices can be controlled through one terminal, which improves the user's experience of device control and solves the problem in the related art that there are many types of air conditioners at home and the types of remote controls are different, resulting in a poor air conditioner usage experience.
[0034] In the embodiment of the present application, in order to quickly generate a control panel on the control interface, multiple control modes are built in the embodiment of the present application, through which the corresponding control panel can be generated with one click, without the user having to select the functional components. Based on this, the method of selecting a target control mode from multiple control modes involved in the above step 103, and displaying the functional components corresponding to the target control mode on the control interface to obtain the control panel of the remote controller can further include:
[0035] Step 11, displaying multiple control modes on the control interface; wherein different control modes correspond to different types and quantities of functional components in the control panel, as well as display properties of the functional components;
[0036] Step 12: Select a target control mode from multiple control modes, and generate a control panel corresponding to the target control mode on the control interface.
[0037] In this regard, in an embodiment of the present application, multiple built-in control modes can be displayed on one side of the target application, and the conditions for the current selected control mode can be determined before the control mode is selected. Because, after the control mode in the embodiment of the present application is set according to the age group, it includes: the control mode includes a child control mode, an elderly control mode and an adult control mode. The control mode can also be set according to the control requirements and includes: a simple control mode and a detailed control mode. Different control modes have different numbers of corresponding functional components and display states of functional components. For example, taking air conditioning as an example, and the current selection is to determine the control mode by age, three modes of child control mode, elderly control mode and adult control mode are displayed on one layer of the terminal for selection. The final user selects the elderly control mode. For the elderly control mode, the functions used by the user are conventional cooling and heating, as well as the adjustment of the air conditioning temperature. In order to make it convenient for elderly users to use, after determining the specific control mode, the functional components in the control mode can be enlarged as much as possible so that the elderly user can see the text or symbols on the control panel clearly, which is convenient for the elderly user to control accurately.
[0038] In an embodiment of the present application, when different accounts log in to an application for generating a control panel, the corresponding control mode can be determined based on the account and then the corresponding control panel can be generated. In this way, when there are multiple family members, the corresponding control panel can be generated according to the corresponding account, without the user having to select the functional components corresponding to the button functions of the remote control. Based on this, the method of selecting a target control mode from multiple control modes involved in the above step 12, and generating a control panel corresponding to the target control mode on the control interface based on the functional components, can further include:
[0039] Step 31, obtaining account information for logging into the application, and matching a target control mode corresponding to the account information from a plurality of control modes; wherein each account information has a mapping relationship with a control mode;
[0040] Step 32, obtaining the target type and target quantity of the functional component corresponding to the target control mode, and the display attribute of the functional component;
[0041] In the embodiment of the present application, the display attribute of the functional component includes the display color of the functional component.
[0042] Step 33, displaying the functional components related to the target type and the target quantity on the control interface based on the display attributes to obtain a control panel.
[0043] It can be seen that in the embodiment of the present application, each account information for logging into the target application corresponds to a control mode. For example, if the current login is an elderly account, then when generating a control panel corresponding to the remote control based on the target application, a corresponding control panel can be generated based on the elderly account. If the control mode corresponding to the current elderly account is the elderly control mode, its corresponding control panel is a conventional control function. Taking air conditioning as an example, the functions of the control panel corresponding to the elderly control mode include a mode selection function component, that is, the choice of cooling and heating, and the temperature rise and fall, and different colors are used to distinguish the temperature rise and fall. Therefore, the control panel corresponding to the elderly that is finally generated only has the function component of mode selection, and the function component of temperature rise and fall displayed in different colors. In this way, the generation of the control panel can be made more convenient and quick.
[0044] In addition, in the embodiment of the present application, the control panel corresponding to the elderly account can also be set with permissions in advance to prevent the elderly from misoperating. For example, if the air conditioner is currently controlled, the temperature of its cooling or heating mode can be set. For example, the minimum cooling temperature in the cooling mode is 22°C, and the maximum heating temperature in the heating mode is 35°C. By setting permissions, the accuracy of user control over the device can be further guaranteed. In other words, in the embodiment of the present application, different permissions can be set for different accounts to ensure that when the terminal-based control panel controls the device, the device can be accurately and normally controlled to avoid misoperation, thereby improving the security of device control.
[0045] In an embodiment of the present application, the method of identifying the buttons of the remote control in the picture on the control interface of the target application involved in the above step 102, and generating functional components corresponding to the buttons on the control interface based on the identification results, may further include:
[0046] Step 41, identifying the text and / or symbols on the buttons of the remote control, as well as the attributes of the buttons; wherein the attributes of the buttons include the shape of the buttons and the color of the buttons;
[0047] Step 42, matching the text and / or symbol with pre-stored text and / or symbol; wherein the pre-stored text and / or symbol respectively corresponds to a functional component;
[0048] Step 43: Adjust the matching functional components based on the attributes of the key to generate a functional component corresponding to the key.
[0049] It can be seen that some of the button functions on the remote control are represented by words, such as mode switching, and some are represented by characters, such as volume plus and minus keys, temperature up and down keys, etc. Therefore, it is necessary to identify each word and character on the button in the remote control to determine the function of the button. In addition, in order to highlight the more important or commonly used buttons, these special buttons are usually distinguished by different colors on the remote control, such as the colors of other buttons are all white, while these more special buttons are red, yellow, etc. Therefore, it is also necessary to identify the color of the case so that when the functional components corresponding to the case are generated later, their colors are also consistent. In addition, in the embodiment of the present application, the functional components corresponding to each word or character will be pre-stored, that is, after the words or characters on the case are identified, they can be matched from the pre-stored words or characters to determine the currently required functional components, and further generate the final functional components in combination with the shape and color of the button to obtain a control panel that is more in line with the original remote control, so that the user can still use the generated control panel based on the control habits of the physical remote control.
[0050] In the embodiment of the present application, the method of obtaining the image of the remote controller based on the target application involved in the above step 101 may further include:
[0051] Step 51, obtaining a picture of the remote controller locally based on the target application; or, starting a camera function of the terminal based on the target application, and obtaining a picture of the remote controller based on the camera function.
[0052] It can be seen that in the embodiment of the present application, the required remote control can be photographed in advance and the picture can be stored locally. When the corresponding control panel needs to be generated, the corresponding picture can be obtained from the local. Alternatively, in some application scenarios, it is necessary to temporarily take a picture of the remote control, and then generate the corresponding control panel based on the photo taken. Through the above two methods, the user's needs for pictures of the remote control in different scenarios can be met.
[0053] In an embodiment of the present application, if the current user is in a home environment, and control panels of remote controllers of different types in all rooms have been generated before, the control panel corresponding to the device controlled by the remote controller at the current location is automatically obtained according to the location of the terminal. Therefore, the method of the embodiment of the present application may also include:
[0054] Step 61, obtaining the position of the device controlled by the remote controller, and establishing a mapping relationship between the position and the control panel corresponding to the remote controller;
[0055] Step 62, saving the position, control panel and mapping relationship;
[0056] Step 63, when the terminal matches the location, the terminal logs into the application based on the account information, and when the control interface is displayed, a control panel is displayed on the control interface based on the mapping relationship.
[0057] In this regard, in a specific example, if the current application scenario is a home environment, and there are four rooms in the family, each room corresponds to an air conditioner, and the remote control of each air conditioner is different. In the process of using the air conditioner, the user generates a corresponding control panel for the smart remote control in each room through the terminal. At the same time, a mapping relationship between the position of the air conditioner in each room and the control panel will be established. The next time the user enters a room, the corresponding control panel can be determined through the mapping relationship after obtaining the position of the air conditioner. That is, the user enters the room and obtains the position of the air conditioner. When using the target application, the corresponding control panel will pop up automatically. The user does not need to generate the control panel again, nor does the user need to select the control panel, which can make the process of the user controlling the air conditioner through the terminal more convenient and quick.
[0058] In the embodiment of the present application, if the current application scenario is a home environment, the user of the terminal can be a minor, an elderly person, or an adult, and different users have different control requirements for the device. It is further necessary to set the control permissions for different accounts, because minors and the elderly are more likely to misoperate the control of the device, or cannot accurately control the device. Therefore, the method of the embodiment of the present application may also include:
[0059] Step 71, obtaining account information for logging into the application;
[0060] Step 72, setting the control authority corresponding to the account information, wherein the control authority refers to the control authority over the device based on the control panel.
[0061] It can be seen that in the embodiment of the present application, the specific control authority may refer to the size of the TV volume control, that is, setting the maximum and minimum values of the volume control. It can also refer to the control size of the temperature rise and fall of the air-conditioning equipment, that is, the maximum value of the temperature rise and the minimum value of the temperature drop. The device with authority can further ensure the security of the user when controlling the device based on the terminal.
[0062] The present application is explained below in conjunction with the specific implementation of the embodiment of the present application. The specific implementation provides a method for realizing intelligent matching of remote controllers of different models based on AI micro-sensors, such as Figure 2 As shown, the steps of the method include:
[0063] Step 201, enter the application homepage - air conditioning control page - add air conditioning remote controller, the user takes photos of different models of air conditioning remote controllers at home and records them in the application air conditioning control page;
[0064] Step 202, after saving multiple remote controllers, generate a style consistent with the physical remote controller in the application-air conditioning control page;
[0065] Step 203: The AI micro sensor in each room obtains information that the user has entered a different room, and the mobile phone automatically pops up an air conditioning control page in the same style as the physical remote control in the current room;
[0066] Step 204, if the user chooses to switch, the air conditioning control page can be automatically simplified for the elderly and children into one with key functions highlighted, larger fonts, and more colorful visuals.
[0067] Through the above steps 201 to 204, combined with Figure 3 It can be seen that the user clicks on the air conditioner card on the homepage of the application to enter the control page of the air conditioner. The user clicks to add the air conditioner remote control, then takes photos of different air conditioner remote controls at home and enters them into the application, clicks "Generate", and image recognition obtains the functions of the air conditioner remote control, associates them with the original functional components of the application, and converts the application control page into the operation panel of the air conditioner remote control, so that the display, layout, and operation of the two are consistent, so that the user can see the air conditioner remote control panel on the application and operate it. You can also click to switch, based on the physical remote control, simplify it into a remote control with simple functions, eye-catching colors, and enlarged fonts suitable for the elderly and children.
[0068] Finally, the AI micro-sensor in each room senses which room the user enters, and the corresponding application control page of the air conditioner in that room automatically pops up on the user's mobile phone. The interface is exactly the same as the real remote control, which is convenient for users to quickly use and understand the operation method of the air conditioner control page. Different users, such as the elderly and children, use automatic mobile phone application accounts, and the simplified interface for the elderly and children will pop up automatically.
[0069] Corresponding to the above Figure 1 The embodiment of the present application also provides a device for generating a remote control panel, such as Figure 4 As shown, the device comprises:
[0070] A first acquisition module 402, configured to acquire a picture of the remote controller based on a target application in the terminal;
[0071] The first processing module 404 is used to identify the buttons of the remote control in the picture on the control interface of the target application, and generate functional components corresponding to the buttons on the control interface based on the identification results;
[0072] The second processing module 406 is used to select a target control mode from the multiple control modes and display the functional components corresponding to the target control mode on the control interface to obtain a control panel of the remote controller.
[0073] Through the device of the embodiment of the present application, it is possible to obtain a picture of the remote control based on the target application in the terminal, and then identify the buttons of the remote control in the picture in the control interface of the target application, and generate functional components corresponding to the buttons in the control interface based on the identification results, and finally select the target control mode from multiple control modes, and display the functional components corresponding to the target control mode in the control interface to obtain the control panel of the remote control. That is, in the embodiment of the present application, after obtaining the picture of the remote control through the terminal, a corresponding control panel is generated on the terminal for controlling the device. Therefore, in the case where there are many devices controlled by the remote control at home, the control panels of each remote control can be generated in the terminal, that is, multiple devices can be controlled through one terminal, which improves the user's experience of device control and solves the problem in the related art that there are many types of air conditioners at home and the types of remote controls are different, resulting in a poor air conditioner usage experience.
[0074] In an optional implementation manner of an embodiment of the present application, the second processing module in the embodiment of the present application may further include: a display unit, used to display multiple control modes on the control interface; wherein the types and quantities of functional components in the control panel corresponding to different control modes, and the display properties of the functional components are different; a first processing unit, used to select a target control mode from multiple control modes, and generate a control panel corresponding to the target control mode on the control interface.
[0075] In an optional implementation of an embodiment of the present application, the first processing unit in the embodiment of the present application may further include: a first processing sub-unit, used to obtain account information of a login application, and match a target control mode corresponding to the account information from multiple control modes; wherein each account information has a mapping relationship with a control mode; a second processing sub-unit, used to obtain the target type and target quantity of the functional components corresponding to the target control mode, and the display properties of the functional components; a third processing sub-unit, used to display the functional components with the target type and target quantity based on the display properties on the control interface to obtain a control panel.
[0076] In an optional implementation manner of an embodiment of the present application, the first processing module in the embodiment of the present application may further include: a second processing unit, used to identify the text and / or symbols on the keys of the remote control, and the attributes of the keys; wherein the attributes of the keys include the shape of the keys and the color of the keys; a matching unit, used to match the text and / or symbols with pre-stored text and / or symbols; wherein the pre-stored text and / or symbols correspond to a functional component respectively; a third processing unit, used to adjust the matched functional components based on the attributes of the keys to generate functional components corresponding to the keys.
[0077] In an optional implementation of an embodiment of the present application, the first acquisition module in the embodiment of the present application may further include: an acquisition unit, used to obtain a picture of the remote control locally based on the target application; or, starting a camera function of the terminal based on the target application, and obtaining a picture of the remote control based on the camera function.
[0078] In an optional implementation manner of the embodiment of the present application, the device in the embodiment of the present application may also include: a third processing module, used to obtain the position of the device controlled by the remote control and establish a mapping relationship between the position and the control panel corresponding to the remote control; a saving module, used to save the position, control panel and mapping relationship; a fourth processing module, used to display the control panel on the control interface based on the mapping relationship when the terminal logs in to the application based on the account information and displays the control interface when the terminal matches the position.
[0079] In an optional implementation of an embodiment of the present application, the device in the embodiment of the present application may also include: a second acquisition module, used to obtain account information for logging into the application; a setting module, used to set control permissions corresponding to the account information, wherein the control permissions refer to control permissions for the device based on control panel control.
[0080] like Figure 5 As shown, an embodiment of the present application provides an electronic device, including a processor 511, a communication interface 512, a memory 513 and a communication bus 514, wherein the processor 511, the communication interface 512, and the memory 513 communicate with each other through the communication bus 514.
[0081] Memory 513, used for storing computer programs;
[0082] In one embodiment of the present application, the processor 511 is used to execute the program stored in the memory 513 to implement the method for generating the remote control panel provided by any of the aforementioned method embodiments, and its role is similar and will not be repeated here.
[0083] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for generating a remote control panel provided in any of the aforementioned method embodiments are implemented.
[0084] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0085] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0086] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0087] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for generating a remote control panel, characterized in that: include: Get the image of the remote control based on the target application in the terminal; Identify the buttons of the remote control in the picture on the control interface of the target application, and generate functional components corresponding to the buttons on the control interface based on the identification results; A target control mode is selected from a plurality of control modes, and a functional component corresponding to the target control mode is displayed on the control interface to obtain a control panel of the remote controller.
2. The method according to claim 1, characterized in that Selecting a target control mode from a plurality of control modes, and displaying a functional component corresponding to the target control mode on the control interface to obtain a control panel of the remote controller, including: Displaying multiple control modes on the control interface; wherein different control modes correspond to different types and quantities of functional components in the control panel, as well as display attributes of the functional components; The target control mode is selected from the plurality of control modes, and a control panel corresponding to the target control mode is generated on the control interface.
3. The method according to claim 2, characterized in that Selecting the target control mode from the multiple control modes, and generating a control panel corresponding to the target control mode on the control interface based on the functional components, includes: Acquire account information for logging into the application, and match the target control mode corresponding to the account information from the multiple control modes; wherein each account information has a mapping relationship with a control mode; Acquire the target type and target quantity of the functional component corresponding to the target control mode, and the display attribute of the functional component; The control panel is obtained by displaying functional components related to the target type and the target quantity on the control interface based on the display attributes.
4. The method according to claim 1, characterized in that: Identifying the buttons of the remote controller in the picture on the control interface of the target application, and generating functional components corresponding to the buttons on the control interface based on the identification results include: Identify the text and / or symbol on the button of the remote control, and the attribute of the button; wherein the attribute of the button includes the shape of the button and the color of the button; Matching the text and / or symbol with pre-stored text and / or symbol; wherein the pre-stored text and / or symbol respectively corresponds to a functional component; The matching functional components are adjusted based on the attributes of the key to generate a functional component corresponding to the key.
5. The method according to claim 1, characterized in that Get a picture of the remote control based on the target application, including: The image of the remote controller is locally acquired based on the target application; or a camera function of the terminal is started based on the target application, and the image of the remote controller is acquired based on the camera function.
6. The method according to claim 1, characterized in that The method further comprises: Acquire the position of the device controlled by the remote controller, and establish a mapping relationship between the position and the control panel corresponding to the remote controller; Saving the location, the control panel, and the mapping relationship; In the case where the terminal matches the location, the terminal logs into the application based on the account information and displays the control interface, and then displays the control panel on the control interface based on the mapping relationship.
7. The method according to claim 6, characterized in that The method further comprises: Obtaining account information for logging into the application; The control authority corresponding to the account information is set, wherein the control authority refers to the control authority over the device based on the control panel.
8. A device for generating a remote control panel, characterized in that: include: A first acquisition module, used to acquire a picture of the remote control based on a target application in the terminal; A first processing module, configured to identify the buttons of the remote controller in the picture on the control interface of the target application, and generate a functional component corresponding to the button on the control interface based on the identification result; The second processing module is used to select a target control mode from a plurality of control modes, and display a functional component corresponding to the target control mode on the control interface to obtain a control panel of the remote controller.
9. A terminal, comprising an electronic device, wherein the electronic device comprises: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to execute the method for generating a remote control control panel according to any one of claims 1 to 7.
10. A computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for generating a remote control control panel according to any one of claims 1 to 7.