Equipment control method and device, electronic equipment and computer readable storage medium

By detecting quick control instructions and determining device execution instructions, the operation difficulty problem caused by the diversity of smart devices is solved, and multiple device operations are quickly completed and user experience is improved.

CN119937866APending Publication Date: 2025-05-06SHENZHEN TCL DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411999174.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

With the increase in functions of smart devices, it is difficult for users to quickly find and control the required functions. The limitation and singularity of shortcut keys lead to poor user experience.

Method used

By detecting the quick control instructions, it is determined that at least one device executes the instructions, and the terminal device is controlled to perform corresponding operations accordingly, so as to achieve the rapid completion of operations of multiple devices.

Benefits of technology

It improves users' operating efficiency on smart devices, simplifies the function access process, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937866A_ABST
    Figure CN119937866A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an equipment control method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps: responding to a detected shortcut control instruction, and determining at least one equipment execution instruction according to the shortcut control instruction; and controlling the terminal equipment to execute at least one equipment operation according to the at least one equipment execution instruction. According to the technical scheme, the multiple equipment execution instructions are determined through the quick control instruction, and the terminal equipment is controlled to execute the multiple equipment operations based on the multiple equipment execution instructions, so that multiple controls of the terminal equipment can be completed at a time through the quick operation, the terminal equipment is conveniently controlled, expected functions and effects are quickly achieved, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of smart devices, and specifically to a device control method, apparatus, electronic device, and computer-readable storage medium. Background Art

[0002] With the development of smart devices, the functions of the devices are constantly increasing. For example, taking smart TVs as an example, the programs that can be played on TVs are also increasing. For example, in addition to traditional TV dramas and movies, they can also play live broadcasts, music, etc. In addition, TVs also have photo albums, game centers, shopping applications, etc.

[0003] However, as the number of device functions increases, it becomes difficult for users to find the functions they need. Users need to find the functions they need from a large number of functions, which increases the difficulty of using the TV. The configuration of shortcut keys improves the efficiency of function positioning. Users can directly switch or enter specific function applications through shortcut keys.

[0004] However, the number of shortcut keys is often limited, resulting in limited functions that users can quickly operate. In addition, the functions of shortcut keys are often single, and users often need to use a series of multiple shortcut keys to achieve the final desired functional effect. The efficiency is low and the user experience needs to be improved. Summary of the invention

[0005] The embodiments of the present application provide a device control method, apparatus, electronic device and computer-readable storage medium, which can conveniently control terminal devices, quickly achieve desired functional effects, and improve user experience.

[0006] In a first aspect, an embodiment of the present application provides a device control method, which is applied to a terminal device, and the method includes:

[0007] In response to detecting the shortcut control instruction, determining at least one device execution instruction according to the shortcut control instruction;

[0008] The terminal device is controlled to execute at least one device operation according to the at least one device execution instruction.

[0009] In a second aspect, an embodiment of the present application further provides a device control apparatus, applied to a terminal device, the device comprising:

[0010] a response module, configured to, in response to detecting a shortcut control instruction, determine at least one device execution instruction according to the shortcut control instruction;

[0011] The control module is used to control the terminal device to execute at least one device operation according to the at least one device execution instruction.

[0012] Optionally, in some embodiments of the present application, in response to detecting the shortcut control instruction, determining at least one device execution instruction according to the shortcut control instruction includes:

[0013] In response to detecting a shortcut control instruction, determining a target instruction combination from at least one preset instruction combination according to the shortcut control instruction, wherein each of the preset instruction combinations includes at least one execution instruction;

[0014] At least one execution instruction included in the target instruction combination is used as the at least one device execution instruction.

[0015] Optionally, in some embodiments of the present application, in response to detecting the shortcut control instruction, determining the target instruction combination from at least one preset instruction combination according to the shortcut control instruction includes:

[0016] In response to detecting the shortcut control instruction, identifying a control type of the shortcut control instruction;

[0017] A target instruction combination is determined from at least one preset instruction combination according to the control type.

[0018] Optionally, in some embodiments of the present application, the preset instruction combination includes a combination instruction name, and determining a target instruction combination from at least one preset instruction combination according to the control type includes:

[0019] If the control type is a voice control type based on a control voice, determining a target command combination from at least one preset command combination according to a control text corresponding to the control voice and a combination command name of each preset command combination;

[0020] If the control type is a key control type based on a shortcut key, the preset command combination bound to the shortcut key is used as the target command combination;

[0021] If the control type is a card control type based on an interface card, the preset instruction combination bound to the interface card is used as the target instruction combination.

[0022] Optionally, in some embodiments of the present application, in response to detecting the shortcut control instruction, before determining the target instruction combination from at least one preset instruction combination according to the shortcut control instruction, the method further includes:

[0023] Determining at least one execution instruction in response to an execution instruction configuration operation, wherein the execution instruction configuration operation includes a custom instruction input operation and / or a selection operation based on at least one recommended instruction, wherein the recommended instruction is generated based on a historical control record of the terminal device or an available function of the terminal;

[0024] Determining a combined instruction name in response to an instruction name configuration operation, wherein the instruction name configuration operation includes a custom name input operation and / or an editing operation based on a recommended name, wherein the recommended name is generated based on a historical control record of the terminal device, an available function of the terminal device, or an instruction type of an execution instruction determined based on the execution instruction configuration operation;

[0025] A preset instruction combination is generated according to the combination instruction name and at least one execution instruction corresponding to the combination instruction name.

[0026] Optionally, in some embodiments of the present application, after controlling the terminal device to perform at least one device operation according to the at least one device execution instruction, the method further includes:

[0027] Obtaining the execution status of the device operation corresponding to each of the device execution instructions;

[0028] Displaying a status indicator of each execution status in an interface of the terminal device;

[0029] And, if the execution status is execution failure, detailed information of the execution failure of the device execution instruction is displayed.

[0030] Optionally, in some embodiments of the present application, controlling the terminal device to perform at least one device operation according to the at least one device execution instruction includes:

[0031] Determining processing timing information of each of the devices executing instructions;

[0032] According to the processing timing information, the terminal device is controlled in sequence to execute each device operation corresponding to each device execution instruction.

[0033] In a third aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and which implements the steps in the above-mentioned device control method when the computer program is executed by the processor.

[0034] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned device control method are implemented.

[0035] In a fifth aspect, the embodiments of the present application further provide a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations described in the embodiments of the present application.

[0036] In response to detecting a shortcut control instruction, the embodiment of the present application determines at least one device execution instruction according to the shortcut control instruction, and controls the terminal device to perform at least one device operation according to the at least one device execution instruction.

[0037] Among them, the embodiment of the present application determines multiple device execution instructions through quick control instructions, and controls the terminal device to perform multiple device operations based on the multiple device execution instructions, so that the quick operation can complete multiple controls of the terminal device at one time, realize convenient operation of the terminal device, quickly realize the expected functional effects, and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0039] Figure 1 It is a schematic diagram of a scenario in which a terminal device according to an embodiment of the present application executes the device control method;

[0040] Figure 2 It is a flowchart of a device control method provided in an embodiment of the present application;

[0041] Figure 3 is a schematic diagram of a detailed interface of a preset instruction combination provided in an embodiment of the present application;

[0042] Figure 4 It is a schematic diagram of an interface showing various preset instruction combinations provided in an embodiment of the present application;

[0043] Figure 5 It is a schematic diagram of a configuration interface for customizing shortcut key functions provided in an embodiment of the present application;

[0044] Figure 6 is a schematic diagram of an instruction combination configuration interface provided in an embodiment of the present application;

[0045] Figure 7 is another detailed interface diagram of the preset instruction combination provided in the embodiment of the present application;

[0046] Figure 8 It is a schematic diagram of an interface for adding a device execution instruction provided in an embodiment of the present application;

[0047] Fig. 9 It is a schematic diagram showing the status identification of each device executing instructions provided in an embodiment of the present application;

[0048] Fig.10 is a schematic diagram of the structure of the device control device provided in an embodiment of the present application;

[0049] Fig.11 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0051] The embodiments of the present application provide a device control method, device, electronic device and computer-readable storage medium. Specifically, the embodiments of the present application provide a device control device suitable for electronic devices, which is used to conveniently control terminal devices, quickly achieve the desired functional effects, and improve user experience. Specifically, the electronic device includes a terminal device or a server, and the terminal device includes but is not limited to devices such as televisions, air conditioners, refrigerators, or washing machines. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDN, Content Delivery Network), and big data and artificial intelligence platforms and other basic cloud computing services, etc. The server can be directly or indirectly connected via wired or wireless communication.

[0052] See also Figure 1 , Figure 1 : is a schematic diagram of a scenario in which a terminal device according to an embodiment of the present application executes the device control method, wherein the specific execution process of the terminal device executing the device control method is as follows:

[0053] In response to detecting the shortcut control instruction, the terminal device 10 determines at least one device execution instruction according to the shortcut control instruction, and executes at least one device operation according to the at least one device execution instruction.

[0054] For example, a user sends a shortcut control instruction to the TV through the shortcut key of the remote control. After detecting the shortcut control instruction, the TV determines multiple device execution instructions corresponding to the shortcut control instruction and executes the device operations corresponding to each device execution instruction.

[0055] In summary, the embodiment of the present application determines multiple device execution instructions through shortcut control instructions, and controls the terminal device to perform multiple device operations based on the multiple device execution instructions, so that the shortcut operation can complete multiple controls of the terminal device at one time, realize convenient operation of the terminal device, quickly realize the expected functional effects, and improve the user experience.

[0056] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.

[0057] See also Figure 2 , Figure 2 A flowchart of a device control method provided in an embodiment of the present application. Although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the flowchart. Specifically, the execution subject of the device control method is a terminal device, and the process of the terminal device executing the device control method specifically includes:

[0058] 101. In response to detecting a shortcut control instruction, determine at least one device execution instruction according to the shortcut control instruction.

[0059] Among them, the quick control instruction refers to the instruction for quick control of the terminal device, which is an instruction generated by a shortcut and is expected to cause the terminal device to quickly perform a specific action or function. Generally, the quick control instruction is an instruction generated by a specific method or tool when a user wants to perform a quick operation on the terminal device. For example, the quick control instruction includes an instruction generated by clicking a shortcut key, an instruction obtained by recognizing voice, or an instruction generated by clicking an interface control or clicking an interface card, etc.

[0060] Among them, the device execution instruction is an instruction for controlling the device to perform a specific action or specific operation. For example, the device execution instruction includes instructions for specific functions of the terminal device, such as searching for movies and TV, increasing the volume, and turning on the alarm.

[0061] Unlike shortcut control instructions, device execution instructions are specific operations performed according to the content of the shortcut control instructions after receiving the shortcut control instructions, while shortcut control instructions are signals generated in response to user operations, which are usually physical signals. For example, the shortcut control instructions include infrared signals, radio frequency signals, touch signals, or voice control signals.

[0062] Among them, different shortcut control instructions match different device execution instructions. For example, taking the remote control of a TV as an example, multiple shortcut keys are set on the remote control, and each shortcut key generates a different shortcut control instruction after being triggered, and then, different device execution instructions are obtained. For example, if the shortcut key A on the remote control is triggered, device execution instructions such as searching for free movies, adjusting the volume to 15, and adjusting the brightness to 30 are generated. If the shortcut key B on the remote control is triggered, device execution instructions such as searching for Chinese music and adjusting the volume to 25 are generated.

[0063] 102. Control the terminal device to execute at least one device operation according to the at least one device execution instruction.

[0064] It can be understood that the terminal device is controlled by multiple device execution instructions determined based on the shortcut control instruction, and the terminal device is controlled to perform multiple device operations, thereby realizing the function of quickly controlling multiple operations of the terminal device. For example, the user triggers the terminal device to perform operations such as searching for free movies, adjusting the volume to 15, and adjusting the brightness to 30 through the shortcut key A on the remote control, thereby achieving the effect of generating multiple control instructions with one key and controlling the terminal device to perform multiple operations.

[0065] Compared to the traditional solution in which a shortcut key can only match one control instruction, that is, a shortcut key can only control the terminal device to perform one function, the embodiment of the present application can conveniently control the terminal device to perform a series of multiple operations under one user operation, thereby achieving the desired functional effect more quickly and improving the user experience.

[0066] Optionally, in an embodiment of the present application, multiple device execution instructions corresponding to each shortcut control instruction may be pre-configured as an instruction combination, and a target instruction combination is determined from multiple instruction combinations through the shortcut control instruction, and then multiple device execution instructions matching the shortcut control instruction are determined. That is, optionally, in some embodiments of the present application, the step of "in response to detecting the shortcut control instruction, determining at least one device execution instruction according to the shortcut control instruction" includes:

[0067] In response to detecting a shortcut control instruction, determining a target instruction combination from at least one preset instruction combination according to the shortcut control instruction, wherein each of the preset instruction combinations includes at least one execution instruction;

[0068] At least one execution instruction included in the target instruction combination is used as the at least one device execution instruction.

[0069] Among them, the preset command combination is a pre-set command combination that matches the shortcut control command. It can be understood that each preset command combination includes multiple device execution commands, and each preset command combination can match or bind different shortcut control commands to filter the target command combination from multiple preset command combinations through shortcut control commands. For example, multiple shortcut keys are set on the remote control, each shortcut key corresponds to a different preset command combination, and when the shortcut key on the remote control is triggered, the generated shortcut control command can match the corresponding target command combination.

[0070] For example, see Figure 3 , Figure 3 : This is a detailed interface diagram of the preset command combination provided in the embodiment of the present application, wherein the combination command name of the preset command combination is "free TV series search", and the corresponding device execution instructions are 4, namely "search for free TV series", "adjust the volume to 15", "adjust the brightness to 31" and "set an alarm at 10:15". In addition, the preset command combination is bound to the red key on the remote control (one of the shortcut keys (such as buttons) on the remote control, in addition to which, it can also include shortcut keys such as green keys and blue keys) (for example, after clicking the "bind" control in the interface, a binding relationship between the red key and the preset command combination is established). When the user clicks the red key on the remote control, a shortcut control instruction (such as an infrared signal) is generated to the TV. After receiving the shortcut control instruction, the TV matches the target command combination with the combination instruction name "free TV series search" according to the binding relationship, and then performs device operations based on the 4 device execution instructions in the target command combination, for example, the operations of searching for free TV series, adjusting the volume to 15, adjusting the brightness to 31 and setting an alarm at 10:15 are performed in sequence.

[0071] Among them, in the embodiment of the present application, multiple preset command combinations can also be configured for each shortcut control command. It is only necessary to ensure that the shortcut control command is bound to a preset command combination at the same time to ensure accurate and quick control of the device. For example, see Figure 4 , Figure 4 It is an interface schematic diagram for displaying various preset command combinations provided in an embodiment of the present application. The figure shows the preset command combinations available for the red key (corresponding to a shortcut control command), including a preset command combination with a configured combination command name of "free TV series search", and may also include a preset command combination with a combination command name of "chasing drama mode", "free movie search" or "children's animation mode".

[0072] Among them, based on the user's need to add preset combination instructions, you can click Figure 4The "+" sign in the interface shown is used to display a pop-up window and configure a new preset combination instruction. Accordingly, based on the user's needs, a preset instruction combination bound to the red key can be selected to establish a binding relationship, and when the red key is clicked, the bound preset instruction combination is determined as the target instruction combination.

[0073] Among them, multiple shortcut keys (buttons) can be set on the remote control, for example, respectively: red key (red button), green key (green button) and blue key (blue button), through the configuration operation (such as voice wake-up operation, click interface card, call general entrance, click unbound shortcut key or long press bound shortcut key, etc.) trigger the custom configuration of the shortcut function of the red key, green key and blue key, for example, see Figure 5 , Figure 5 : is a schematic diagram of a configuration interface for customizing shortcut key functions provided in an embodiment of the present application. After the user operates the interface, the user enters an interface for displaying preset command combinations, for example, displaying Figure 4 The interface shown.

[0074] Among them, the above-mentioned operation based on shortcut keys is only one of the shortcut implementation methods, that is, one of the control types. In order to improve the diversity of operation methods, shortcut control can also be implemented based on voice or interface cards. For different control types, the target instruction combination can be determined from the preset instruction combination based on different strategies. That is, optionally, in some embodiments of the present application, the step of "in response to detecting a shortcut control instruction, determining a target instruction combination from at least one preset instruction combination according to the shortcut control instruction" includes:

[0075] In response to detecting the shortcut control instruction, identifying a control type of the shortcut control instruction;

[0076] A target instruction combination is determined from at least one preset instruction combination according to the control type.

[0077] Among them, the method of determining the target instruction combination based on different control types improves the diversity of the quick control implementation of the embodiments of the present application and improves the user experience.

[0078] Specifically, for the control type of voice, the combined instruction name can be matched based on the voice. If the combined instruction name is matched, the target instruction combination is located, that is, multiple device execution instructions are located. That is, optionally, in some embodiments of the present application, the preset instruction combination includes the combined instruction name, and the step of "determining the target instruction combination from at least one preset instruction combination according to the control type" includes:

[0079] If the control type is a voice control type based on a control voice, determining a target command combination from at least one preset command combination according to a control text corresponding to the control voice and a combination command name of each preset command combination;

[0080] If the control type is a key control type based on a shortcut key, the preset command combination bound to the shortcut key is used as the target command combination;

[0081] If the control type is a card control type based on an interface card, the preset instruction combination bound to the interface card is used as the target instruction combination.

[0082] For example, if the user's voice contains the words "free TV series search", the preset command combination with the combination command name "free TV series search" is used as the target command combination.

[0083] As for the control method of shortcut keys or the control method of interface cards, the target instruction combination can be determined based on the binding relationship. For example, the target instruction combination can be determined from multiple preset instruction combinations based on the binding relationship between the shortcut keys and the preset instruction combination, and the target instruction combination can be determined from multiple preset instruction combinations based on the binding relationship between the interface card and the preset instruction combination.

[0084] Among them, the interface card refers to a triggerable card displayed in the interface. It is a graphic element that carries pictures, text, prompt information and interactive actions, and is mainly used to point to more detailed information or classified information collection pages. Users can enter another detail page through the interface card by clicking or gesture operation, for example, triggering the interface card by clicking. In some scenarios, controls such as buttons can also be configured to determine the target command combination by clicking the controls, thereby quickly controlling the terminal device.

[0085] The preset command combination can be implemented by configuring the command combination configuration interface, for example, see Figure 6 , Figure 6 is a schematic diagram of an instruction combination configuration interface provided by an embodiment of the present application, wherein the figure shows a configuration box including an instruction name (i.e., a combination instruction name) and a configuration box including an execution instruction (i.e., a device execution instruction), a combination instruction name is obtained by inputting an instruction name, a plurality of device execution instructions are obtained by adding an execution instruction, and a preset instruction combination is obtained after clicking Save, that is, optionally, in some embodiments of the present application, before the step of "in response to detecting a shortcut control instruction, determining a target instruction combination from at least one preset instruction combination according to the shortcut control instruction", the method further includes:

[0086] Determining at least one execution instruction in response to an execution instruction configuration operation, wherein the execution instruction configuration operation includes a custom instruction input operation and / or a selection operation based on at least one recommended instruction, wherein the recommended instruction is generated based on a historical control record of the terminal device or an available function of the terminal;

[0087] Determining a combined instruction name in response to an instruction name configuration operation, wherein the instruction name configuration operation includes a custom name input operation and / or an editing operation based on a recommended name, wherein the recommended name is generated based on a historical control record of the terminal device, an available function of the terminal device, or an instruction type of an execution instruction determined based on the execution instruction configuration operation;

[0088] A preset instruction combination is generated according to the combination instruction name and at least one execution instruction corresponding to the combination instruction name.

[0089] The execution instruction configuration operation includes an editing operation on a configuration box corresponding to the execution instruction in the instruction combination configuration interface, and the instruction name configuration operation includes an editing operation on a configuration box corresponding to the instruction name in the instruction combination configuration interface.

[0090] Among them, the instruction name (that is, the combined instruction name) and the execution instruction (device execution instruction) can be obtained through the user's customized input, or edited and adjusted based on the pre-entry and recommendation. For example, the component instruction name can be automatically generated based on the historical control records, available functions or configured execution instructions of the terminal device. Correspondingly, the user can re-edit the automatically generated component instruction name. Similarly, the device execution instruction can also be obtained based on the user's customization, or automatically generated through AI based on the historical control records, available functions, etc. of the terminal device for user selection.

[0091] like Figure 6 As shown, the user can select more device control instructions by clicking the "+" sign in the interface to configure the preset instruction combination.

[0092] like Figure 7 As shown, the preset instruction combination can also be adjusted based on the preset instruction combination that has been configured. For example, the user selects the preset instruction combination recommended by the system, and then enters the instruction combination configuration interface by clicking "Edit Instructions", and edits and configures the preset instruction combination in the instruction combination configuration interface.

[0093] Among them, the execution instructions for the device added in the preset instruction combination can be obtained through the graphical operation of the interface, for example, see Figure 6 and Figure 8, the user clicks Figure 6 After clicking the "+" sign (adding a combination command) in the command list, you will enter the configuration interface for the device to execute commands. Figure 8 As shown, the user selects the "brightness" function module from a variety of optional functions, and then a pop-up window appears. Figure 8 A brightness adjustment window is displayed, in which the user can drag the scroll bar to select the desired brightness, and then after clicking the confirmation control (such as the "OK" button on the remote control), a device control instruction of "adjusting the brightness to 30" is obtained.

[0094] In summary, the configuration method of the preset instruction combination is described. This preset instruction combination is also the basis for multi-instruction control based on shortcut control instructions to realize multiple device execution instructions. In addition, this solution also provides multiple methods based on voice, interface cards, etc. to trigger shortcut control instructions, so as to realize quick control of terminal devices to execute multiple device execution instructions at one time.

[0095] In order to more clearly illustrate the configuration process of the preset command combination of the embodiment of the present application, the configuration of the preset command combination corresponding to the shortcut key is taken as an example, such as the preset combination of "free TV series search" corresponding to the red key, and the configuration process is understood from the user's perspective by referring to the following figures in order. Specifically:

[0096] The user performs configuration operations (such as voice wake-up operations, clicking on interface cards, calling general entrances, clicking on unbound shortcut keys, or long pressing on bound shortcut keys, etc.), and the Figure 5 In the interface, after the user clicks the "red key binding" control, it is displayed Figure 4 The interface, in Figure 4 Click on the preset command combination of "Free TV Show Search" in the "Recommendation" section of the interface and it will be displayed Figure 7 The user then Figure 7 Click the "Edit Command" control in the interface to enter Figure 6 The interface, in this Figure 6 Click the "Add Combination Instruction" control in the interface to enter Figure 8 The interface, in Figure 8 After selecting brightness in the interface, a scroll bar about brightness is displayed. Users can select brightness based on the scroll bar and confirm the configuration by pressing the "Confirm" button. Figure 4 The preset command combination of "Free TV Series Search" in the "My" section of the . Click the preset command combination to display its details, such as Figure 3 The interface shown, in which you can directly operate the "Bind" control to establish the binding of the red key with the preset instruction combination of the "Free TV Series Search", or you can operate the "Edit Instructions" to edit and adjust the preset instruction combination of the "Free TV Series Search".

[0097] Among them, since the device in the embodiment of the present application can execute multiple device execution instructions in response to a shortcut control instruction, and the device execution instructions are not limited to traditional fixed, system-supported, and tested device execution instructions, but are flexibly generated based on historical control records, terminal available functions, etc., or user-defined, therefore, the device execution instructions are not always guaranteed to be successfully executed. Therefore, in the embodiment of the present application, in order to let the user know the execution status or execution status of each device execution instruction, a status indicator can also be displayed in the interface based on the execution status, so as to indicate to the user the execution success status of each device execution instruction through the status indicator.

[0098] That is, optionally, in some embodiments of the present application, after the step of “controlling the terminal device to perform at least one device operation according to the at least one device execution instruction”, the method further includes:

[0099] Obtaining the execution status of the device operation corresponding to each of the device execution instructions;

[0100] Displaying a status indicator of each execution status in an interface of the terminal device;

[0101] And, if the execution status is execution failure, detailed information of the execution failure of the device execution instruction is displayed.

[0102] The execution status includes successful execution, executing, or failed execution.

[0103] Correspondingly, in the case of execution failure, the reason for the execution failure can also be analyzed and displayed, that is, detailed information on the execution failure can be displayed so that the user can make control adjustments.

[0104] like Fig. 9 , Fig. 9 It is a schematic diagram of the status identification of each device execution instruction provided in an embodiment of the present application, wherein it shows the three device execution instructions of "open XX video player", "search YY film and television" and "adjust the volume to 20" determined based on the shortcut control instruction, and, after executing each device execution instruction, the status identification of the execution status of each device execution instruction is also displayed, such as the status identification of successful execution of "open XX video" and "adjust the volume to 20", and the status identification of failed execution of "search YY film and television" (and the reason for the execution failure not supported by the children's mode is displayed).

[0105] It can be understood that, since one shortcut control instruction corresponds to multiple device execution instructions, there may be a logical execution order between the device operations corresponding to the multiple device execution instructions. For example, it is usually necessary to search and display the video content first, and then adjust the audio or brightness. Therefore, in the embodiment of the present application, the processing timing information of each device execution instruction can also be analyzed, and the execution of each device execution instruction can be controlled based on the processing timing information. That is, optionally, in some embodiments of the present application, the step of "controlling the terminal device to perform at least one device operation according to the at least one device execution instruction" includes:

[0106] Determining processing timing information of each of the devices executing instructions;

[0107] According to the processing timing information, the terminal device is controlled in sequence to execute each device operation corresponding to each device execution instruction.

[0108] The processing timing information is the order of processing, and the processing timing information is determined based on the characteristics or content of the device execution instruction. Optionally, the processing timing information can be obtained based on the analysis of a large model or a timing analysis model based on deep learning, and the method of obtaining the processing timing information of the device execution instruction is not limited here.

[0109] In summary, the embodiment of the present application determines multiple device execution instructions through shortcut control instructions, and controls the terminal device to perform multiple device operations based on the multiple device execution instructions, so that the shortcut operation can complete multiple controls of the terminal device at one time, realize convenient operation of the terminal device, quickly realize the expected functional effects, and improve the user experience.

[0110] In order to better implement the device control method of the present application, the present application also provides a device control apparatus based on the device control method, wherein the meanings of the terms are the same as those in the device control method, and the specific implementation details can refer to the description in the method embodiment.

[0111] See also Fig.10 , Fig.10 : is a schematic diagram of the structure of a device control device provided in an embodiment of the present application. The device control device is applied to a terminal device. The device control device may be specifically as follows:

[0112] A response module 201, configured to, in response to detecting a shortcut control instruction, determine at least one device execution instruction according to the shortcut control instruction;

[0113] The control module 202 is used to control the terminal device to execute at least one device operation according to the at least one device execution instruction.

[0114] Optionally, in some embodiments of the present application, in response to detecting the shortcut control instruction, determining at least one device execution instruction according to the shortcut control instruction includes:

[0115] In response to detecting a shortcut control instruction, determining a target instruction combination from at least one preset instruction combination according to the shortcut control instruction, wherein each of the preset instruction combinations includes at least one execution instruction;

[0116] At least one execution instruction included in the target instruction combination is used as the at least one device execution instruction.

[0117] Optionally, in some embodiments of the present application, in response to detecting the shortcut control instruction, determining the target instruction combination from at least one preset instruction combination according to the shortcut control instruction includes:

[0118] In response to detecting the shortcut control instruction, identifying a control type of the shortcut control instruction;

[0119] A target instruction combination is determined from at least one preset instruction combination according to the control type.

[0120] Optionally, in some embodiments of the present application, the preset instruction combination includes a combination instruction name, and determining a target instruction combination from at least one preset instruction combination according to the control type includes:

[0121] If the control type is a voice control type based on a control voice, determining a target command combination from at least one preset command combination according to a control text corresponding to the control voice and a combination command name of each preset command combination;

[0122] If the control type is a key control type based on a shortcut key, the preset command combination bound to the shortcut key is used as the target command combination;

[0123] If the control type is a card control type based on an interface card, the preset instruction combination bound to the interface card is used as the target instruction combination.

[0124] Optionally, in some embodiments of the present application, in response to detecting the shortcut control instruction, before determining the target instruction combination from at least one preset instruction combination according to the shortcut control instruction, the method further includes:

[0125] Determining at least one execution instruction in response to an execution instruction configuration operation, wherein the execution instruction configuration operation includes a custom instruction input operation and / or a selection operation based on at least one recommended instruction, wherein the recommended instruction is generated based on a historical control record of the terminal device or an available function of the terminal;

[0126] Determining a combined instruction name in response to an instruction name configuration operation, wherein the instruction name configuration operation includes a custom name input operation and / or an editing operation based on a recommended name, wherein the recommended name is generated based on a historical control record of the terminal device, an available function of the terminal device, or an instruction type of an execution instruction determined based on the execution instruction configuration operation;

[0127] A preset instruction combination is generated according to the combination instruction name and at least one execution instruction corresponding to the combination instruction name.

[0128] Optionally, in some embodiments of the present application, after controlling the terminal device to perform at least one device operation according to the at least one device execution instruction, the method further includes:

[0129] Obtaining the execution status of the device operation corresponding to each of the device execution instructions;

[0130] Displaying a status indicator of each execution status in an interface of the terminal device;

[0131] And, if the execution status is execution failure, detailed information of the execution failure of the device execution instruction is displayed.

[0132] Optionally, in some embodiments of the present application, controlling the terminal device to perform at least one device operation according to the at least one device execution instruction includes:

[0133] Determining processing timing information of each of the devices executing instructions;

[0134] According to the processing timing information, the terminal device is controlled in sequence to execute each device operation corresponding to each device execution instruction.

[0135] In the embodiment of the present application, the response module 201 responds to the detection of a shortcut control instruction, determines at least one device execution instruction according to the shortcut control instruction, and the control module 202 controls the terminal device to perform at least one device operation according to the at least one device execution instruction.

[0136] Among them, the embodiment of the present application determines multiple device execution instructions through quick control instructions, and controls the terminal device to perform multiple device operations based on the multiple device execution instructions, so that the quick operation can complete multiple controls of the terminal device at one time, realize convenient operation of the terminal device, quickly realize the expected functional effects, and improve the user experience.

[0137] In addition, the present application also provides an electronic device, such as Fig.11 As shown, it shows a schematic diagram of the structure of the electronic device involved in this application, specifically:

[0138] The electronic device may include components such as a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, a power supply 303, and an input unit 304. Those skilled in the art will appreciate that Fig.11 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0139] The processor 301 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 301.

[0140] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and data processing by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.

[0141] The electronic device also includes a power supply 303 for supplying power to various components. Preferably, the power supply 303 can be logically connected to the processor 301 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 303 can also include any components such as one or more DC or AC power supplies, recharging systems, power supply device debugging circuits, power converters or inverters, and power status indicators.

[0142] The electronic device may further include an input unit 304, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0143] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 301 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 will run the application programs stored in the memory 302, thereby implementing the steps in any device control method provided in the embodiments of the present application.

[0144] In response to detecting a shortcut control instruction, an embodiment of the present application determines at least one device execution instruction according to the shortcut control instruction, and controls the terminal device to perform at least one device operation according to the at least one device execution instruction.

[0145] Among them, the embodiment of the present application determines multiple device execution instructions through quick control instructions, and controls the terminal device to perform multiple device operations based on the multiple device execution instructions, so that the quick operation can complete multiple controls of the terminal device at one time, realize convenient operation of the terminal device, quickly realize the expected functional effects, and improve the user experience.

[0146] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0147] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0148] To this end, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any device control method provided in the present application.

[0149] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0150] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0151] Since the instructions stored in the computer-readable storage medium can execute the steps in any device control method provided in the present application, the beneficial effects that can be achieved by any device control method provided in the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0152] The above is a detailed introduction to a device control method, apparatus, electronic device and computer-readable storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A device control method, characterized in that: Applied to a terminal device, the method comprises: In response to detecting the shortcut control instruction, determining at least one device execution instruction according to the shortcut control instruction; The terminal device is controlled to execute at least one device operation according to the at least one device execution instruction.

2. The device control method according to claim 1, characterized in that: In response to detecting the shortcut control instruction, determining at least one device execution instruction according to the shortcut control instruction includes: In response to detecting the shortcut control instruction, determining a target instruction combination from at least one preset instruction combination according to the shortcut control instruction, wherein each of the preset instruction combinations includes at least one execution instruction; At least one execution instruction included in the target instruction combination is used as the at least one device execution instruction.

3. The device control method according to claim 2, characterized in that: In response to detecting the shortcut control instruction, determining a target instruction combination from at least one preset instruction combination according to the shortcut control instruction includes: In response to detecting the shortcut control instruction, identifying a control type of the shortcut control instruction; The target instruction combination is determined from at least one of the preset instruction combinations according to the control type.

4. The device control method according to claim 3, characterized in that: The preset instruction combination includes a combination instruction name, and determining the target instruction combination from at least one of the preset instruction combinations according to the control type includes: If the control type is a voice control type based on a control voice, determining the target command combination from at least one of the preset command combinations according to a control text corresponding to the control voice and a combination command name of each of the preset command combinations; If the control type is a key control type based on a shortcut key, the preset command combination bound to the shortcut key is used as the target command combination; If the control type is a card control type based on an interface card, the preset instruction combination bound to the interface card is used as the target instruction combination.

5. The device control method according to claim 2, characterized in that: In response to detecting the shortcut control instruction, before determining the target instruction combination from at least one preset instruction combination according to the shortcut control instruction, the method further includes: Determining at least one execution instruction in response to an execution instruction configuration operation, wherein the execution instruction configuration operation includes a custom instruction input operation and / or a selection operation based on at least one recommended instruction, wherein the recommended instruction is generated based on a historical control record of the terminal device or an available function of the terminal; Determining a combined instruction name in response to an instruction name configuration operation, wherein the instruction name configuration operation includes a custom name input operation and / or an editing operation based on a recommended name, wherein the recommended name is generated based on a historical control record of the terminal device, an available function of the terminal device, or an instruction type of an execution instruction determined based on the execution instruction configuration operation; The preset instruction combination is generated according to the combination instruction name and at least one execution instruction corresponding to the combination instruction name.

6. The device control method according to claim 1, characterized in that: After controlling the terminal device to perform at least one device operation according to the at least one device execution instruction, the method further includes: Obtaining the execution status of the device operation corresponding to each of the device execution instructions; Displaying a status indicator of each execution status in an interface of the terminal device; And, if the execution status is execution failure, detailed information of the execution failure of the device execution instruction is displayed.

7. The device control method according to claim 1, characterized in that: The controlling the terminal device to perform at least one device operation according to the at least one device execution instruction includes: Determining processing timing information of each of the devices executing instructions; According to the processing timing information, the terminal device is controlled in sequence to execute each device operation corresponding to each device execution instruction.

8. A device control device, characterized in that: Applied to a terminal device, the device comprises: a response module, configured to, in response to detecting a shortcut control instruction, determine at least one device execution instruction according to the shortcut control instruction; The control module is used to control the terminal device to execute at least one device operation according to the at least one device execution instruction.

9. An electronic device, characterized in that: The device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the device control method according to any one of claims 1 to 7 when executing the computer program.

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