CN116264032A - Equipment control method, device, storage medium and electronic equipment - Google Patents

Equipment control method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116264032A
CN116264032A CN202111539254.7A CN202111539254A CN116264032A CN 116264032 A CN116264032 A CN 116264032A CN 202111539254 A CN202111539254 A CN 202111539254A CN 116264032 A CN116264032 A CN 116264032A
Authority
CN
China
Prior art keywords
code value
value group
target
group
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111539254.7A
Other languages
Chinese (zh)
Inventor
王家宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Innovation Technology Co ltd
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Innovation Technology Co ltd
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Innovation Technology Co ltd, Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Innovation Technology Co ltd
Priority to CN202111539254.7A priority Critical patent/CN116264032A/en
Publication of CN116264032A publication Critical patent/CN116264032A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2200/00Transmission systems for measured values, control or similar signals
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/70Device selection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the application discloses a device control method, a device, a storage medium and electronic equipment, wherein the method comprises the following steps: determining a current code value group in a preset code value group set, wherein the code value group set comprises at least one code value group, each code value group comprises code values corresponding to all function keys in the function keys preset on the remote control equipment, receiving a first operation instruction aiming at a target function key, acquiring a target code value corresponding to the target function key from the current code value group based on the first operation instruction, and sending the target code value and the current code value group to at least one terminal equipment so as to control the target terminal equipment in the at least one terminal equipment to execute a control instruction corresponding to the target code value based on the target code value and the current code value group, wherein the code value group corresponding to the target terminal equipment is matched with the current code value group. The control accuracy of the remote control equipment to the terminal equipment can be improved.

Description

Equipment control method, device, storage medium and electronic equipment
Technical Field
The present application relates to the field of intelligent control technologies, and in particular, to a device control method, a device, a storage medium, and an electronic device.
Background
At present, a user basically interacts with large-screen equipment through a remote controller, such as intelligent interaction flat-panel equipment, intelligent television equipment and other large-screen equipment, and the user can realize remote control of the large-screen equipment by only correspondingly operating keys on the remote controller, so that more convenient experience is brought to the user. Each key on the remote control has a fixed function that is determined when the large screen device leaves the factory.
Disclosure of Invention
The embodiment of the application provides a device control method, a device, a computer storage medium and electronic equipment, which can improve the control accuracy of a remote control device control terminal device. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a device control method, applied to a remote control device, where the method includes:
determining a current code value group in a preset code value group set, wherein the code value group set comprises at least one code value group, and each code value group comprises code values respectively corresponding to all function keys in preset function keys on the remote control equipment;
receiving a first operation instruction aiming at a target function key;
and acquiring a target code value corresponding to the target function key from the current code value group based on the first operation instruction, and sending the target code value and the current code value group to at least one terminal device so as to control target terminal devices in the at least one terminal device to execute a control instruction corresponding to the target code value based on the target code value and the current code value group, wherein the code value group corresponding to the target terminal device is matched with the current code value group.
In a second aspect, an embodiment of the present application provides an apparatus control method, applied to a terminal apparatus, where the method includes:
receiving a target code value sent by remote control equipment and a code value group to which the target code value belongs;
and executing a control instruction corresponding to the target code value based on the target code value when the locally preset code value group is matched with the code value group to which the target code value belongs.
In a third aspect, an embodiment of the present application provides an apparatus control device, applied to a remote control apparatus, where the apparatus includes:
the group determining module is used for determining a current code value group in a preset code value group set, wherein the code value group set comprises at least one code value group, and each code value group comprises code values respectively corresponding to all function keys in the function keys preset on the remote control equipment;
the instruction receiving module is used for receiving a first operation instruction aiming at the target function key;
and the equipment control module is used for acquiring a target code value corresponding to the target function key from the current code value group based on the first operation instruction, and sending the target code value and the current code value group to at least one terminal equipment so as to control the target terminal equipment in the at least one terminal equipment to execute a control instruction corresponding to the target code value based on the target code value and the current code value group, wherein the code value group corresponding to the target terminal equipment is matched with the current code value group.
In a fourth aspect, an embodiment of the present application provides an apparatus control device, applied to a terminal device, where the apparatus includes:
the code value receiving module is used for receiving a target code value sent by the remote control equipment and a code value group to which the target code value belongs;
and the function execution module is used for executing the control instruction corresponding to the target code value based on the target code value when the locally preset code value group is matched with the code value group to which the target code value belongs.
In a fifth aspect, embodiments of the present application provide a computer storage medium having a plurality of instructions adapted to be loaded by a processor and to perform the above-described method steps.
In a sixth aspect, an embodiment of the present application provides a terminal device, which may include: a memory and a processor; wherein the memory stores a computer program adapted to be loaded by the memory and to perform the above-mentioned method steps.
The beneficial effects that technical scheme that this application embodiment provided include at least:
when the scheme of the embodiment of the application is executed, the remote control device determines a current code value group in a preset code value group set, wherein the code value group set comprises at least one code value group, each code value group comprises code values corresponding to all function keys in the preset function keys on the remote control device respectively, a first operation instruction aiming at a target function key is received, a target code value corresponding to the target function key is obtained in the current code value group based on the first operation instruction, and the target code value and the current code value group are sent to at least one terminal device so as to control the target terminal device in the at least one terminal device to execute a control instruction corresponding to the target code value based on the target code value and the current code value group, and the code value group corresponding to the target terminal device is matched with the current code value group. According to the method and the device, the code value group corresponding to the remote control equipment is matched with the code value group corresponding to the target terminal equipment, so that the target terminal equipment in the plurality of terminal equipment can be accurately controlled by one remote control equipment, and the control accuracy of the terminal equipment controlled by the remote control equipment can be improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other drawings may be obtained from them without inventive effort for a person skilled in the art.
Fig. 1 is an exemplary schematic view of a scenario applied to a device control method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a device control method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of another method for controlling a device according to an embodiment of the present disclosure;
FIG. 4 is a flow chart of yet another method for controlling a device according to an embodiment of the present disclosure;
FIG. 5 is a flow chart of yet another method for controlling a device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a remote control device according to an embodiment of the present application;
Fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is to be understood that the terms "comprise" and "have," and any variations thereof, are intended to cover non-exclusive inclusions, unless otherwise specifically defined and defined. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art in a specific context. Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
In the related art, large screen devices such as an intelligent interaction panel and an intelligent television can be controlled by an entity remote controller, and when a user uses the entity remote controller to control terminal devices, the used control protocol can be an infrared protocol, a Bluetooth protocol, a wireless protocol and the like. When the infrared remote controller using the infrared protocol controls any one of the plurality of terminal devices in the same space, the condition that the plurality of terminal devices respond simultaneously easily occurs, so that the problem of inaccurate control of the infrared remote controller occurs in the using process.
Referring to fig. 1, an exemplary scenario diagram is shown in which the device control method or device control apparatus of the embodiments of the present application may be applied.
As shown in fig. 1, one or more of the terminal devices 102, 104, 106, 108, and the remote control device 101 may be included.
It should be understood that the number of terminal devices and remote control devices in fig. 1 is merely illustrative. There may be any number of terminal devices and remote control devices, as desired for implementation.
In the embodiment of the present application, the terminal devices 102, 104, 106, 108 may be various electronic devices with display screens, including but not limited to intelligent interactive tablets, intelligent televisions, etc., and the remote control device 101 may be a remote control, such as an infrared remote control. At least one terminal device and the remote control device are in the same space, and the user can control the terminal devices 102, 104, 106, 108 using the remote control device 101. When the user presses a key in the remote control device 101, only one of the terminal devices 102, 104, 106, 108 may respond to the remote control device.
The present application is described in detail with reference to specific examples.
Referring to fig. 2, a flow chart of a device control method provided in the embodiment of the present application is presented for convenience of description, and for convenience of description, only the execution subject of each step is presented as a remote control device. As shown in fig. 2, the method according to the embodiment of the present application may include the following steps:
s201, determining a current code value group in a preset code value group set.
Wherein, the code value group set refers to a set of infrared code value groups, at least one infrared code value group can be included in the code value group set, a plurality of infrared code values can be included in each code value group, each code value group can also include a group identifier, and the group identifier is used for distinguishing different code value groups. In the embodiment of the application, the infrared code value refers to an infrared code value corresponding to each of preset function keys on the remote control device, where the preset function keys may be part of the preset function keys on the remote control device or all the preset function keys on the remote control device. In general, function keys on a remote control device may be classified into a set type key, a number type key, a direction type key, and other types of keys. It is understood that the preset function keys may be some or more types of keys, for example, the preset function keys may be 10 keys, and may be any 10 keys of the above types of keys.
The current code value group refers to the code value group where the infrared code value transmitted by the remote control device in a future period of time is located.
It will be appreciated that a developer may configure the infrared code value corresponding to each function key on the remote control device in advance, and each function key may be configured with at least one infrared code value corresponding thereto. When each function key is configured with a plurality of infrared code values corresponding to the infrared code values, the infrared code values can be grouped, and each infrared code value belongs to different groups, so that a plurality of groups of infrared code values can be configured for all the function keys, and different code values can be sent by switching different code value groups when the remote control device is actually applied.
According to some embodiments, the current code value group is determined in a preset code value group set, which may be understood that when the remote control device identifies a code value group selection instruction, the remote control device determines the current code value group in the preset code value group set based on the code value group selection instruction. The code value group selection instruction may be triggered by a user performing an action. For example, the user may press a certain function key, where the function key corresponds to a group, that is, the developer may preset the correspondence between different function keys and different groups, and one function key corresponds to a group; the user can press a plurality of function keys, the plurality of function keys correspond to one key combination, a developer can preset corresponding relations between different key combinations and different groups, and the pressing sequence and the continuous pressing duration of each key in the key combination are not specified, and one key combination corresponds to one group.
S202, a first operation instruction aiming at a target function key is received.
Wherein, the target function key refers to the function key currently pressed by the user.
The first operation instruction is used for indicating the remote control equipment to acquire a target code value corresponding to the target function key in the current code value group.
According to some embodiments, when a user performs an action of pressing a target function key on the remote control device, the action may correspond to a first operation instruction, the remote control device may receive the first operation instruction, parse the first operation instruction, and further, the remote control device may perform a corresponding task based on content parsed from the first operation instruction.
S203, acquiring a target code value corresponding to the target function key from the current code value group based on the first operation instruction, and sending the target code value and the current code value group to at least one terminal device so as to control the target terminal device in the at least one terminal device to execute a control instruction corresponding to the target code value based on the target code value and the current code value group.
The target code value refers to an infrared code value corresponding to the target function key in the current code value group.
According to some embodiments, after the remote control device receives the first operation instruction, the first operation instruction may be parsed, so that the key corresponding to the first operation instruction is a target function key, and the remote control device may find a target code value corresponding to the target function key in the current code value group. Further, the remote control device may send the target code value and the current code value group to at least one terminal device in the same space, so that one target terminal device in the at least one terminal device identifies the target code value and the current code value group, and the target terminal may determine whether the current code value group matches with the locally set code value group, i.e. determine whether the current code value group is the same as the locally set code value group. If the current code value group is the same as the code value group locally set by the target terminal device, the target terminal device may execute a control instruction corresponding to the target code value based on the target code value. It may be understood that, in the application scenario of the embodiment of the present application, there may be one remote control device and at least one terminal device in the current space, and a user may use one remote control device to control only one terminal device in a period of time, so that only the function of the terminal device may be controlled.
For example: in one conference room, a remote control device A1, an intelligent interaction tablet B1 (terminal device), an intelligent interaction tablet B2 (terminal device), and an intelligent interaction tablet B3 (terminal device) may be included, where the code value group preconfigured in the remote control device A1 may include a code value group A1, a code value group a2, a code value group a3, a code value group a4, and a code value group a5, while the current code value group configured in the remote control device A1 is a2, the code value group currently configured in the intelligent interaction tablet B1 is A1, the code value group currently configured in the intelligent interaction tablet B2 is a2, and the code value group currently configured in the intelligent interaction tablet B3 is a3. Thus, the code value group of the intelligent interactive tablet B2 matches the code value group of the remote control device A1. Because the user presses the target function key in the remote control device A1, the remote control device A1 searches the code value group a2 for the target code value corresponding to the target function key, further, the remote control device A1 may send the target code value and the code value group a2 to the intelligent interaction tablet B2, after the intelligent interaction tablet B2 receives the target code value and the code value group a2, the code value group a2 may be identified, and after the code value group a2 and the currently configured code value group a2 are determined to be the same code value group, the intelligent interaction tablet B2 may identify the function key corresponding to the target code value in the intelligent interaction tablet B2, further, the intelligent interaction tablet B2 may execute the control function corresponding to the function key. It can be understood that function keys may be provided in the intelligent interactive tablet B2, where the function keys may be virtual keys on the intelligent interactive tablet interface, or may be physical keys provided on the intelligent interactive tablet physical housing, where the function keys may correspond to different control functions, and where the function keys may also correspond to different infrared code values, where the infrared code values corresponding to the function keys may form the code value group a2.
When the scheme of the embodiment of the application is executed, the remote control device determines a current code value group in a preset code value group set, wherein the code value group set comprises at least one code value group, each code value group comprises code values corresponding to all function keys in the preset function keys on the remote control device respectively, a first operation instruction aiming at a target function key is received, a target code value corresponding to the target function key is obtained in the current code value group based on the first operation instruction, and the target code value and the current code value group are sent to at least one terminal device so as to control the target terminal device in the at least one terminal device to execute a control instruction corresponding to the target code value based on the target code value and the current code value group, and the code value group corresponding to the target terminal device is matched with the current code value group. According to the method and the device, the code value group corresponding to the remote control equipment is matched with the code value group corresponding to the target terminal equipment, so that the target terminal equipment in the plurality of terminal equipment can be accurately controlled by one remote control equipment, and the control accuracy of the terminal equipment controlled by the remote control equipment can be improved.
Referring to fig. 3, a flow chart of a device control method provided in the embodiment of the present application is presented for convenience of description, and for convenience of description, only the execution subject of each step is presented as a remote control device. As shown in fig. 3, the method according to the embodiment of the present application may include the following steps:
s301, determining code values corresponding to all function keys based on configuration instructions of all function keys in the function keys preset on the remote control equipment, and adding the code value groups into a code value group set by all the code values.
The configuration instruction is used for configuring infrared code values corresponding to all function keys in the preset function keys on the remote control equipment.
It can be understood that each of the preset function keys on the remote control device may correspond to a plurality of code values, respectively. In this embodiment of the present application, when a developer executes a configuration instruction for configuring each function key on the remote control device, the remote control device may allocate a plurality of code values to each function key, so that each code value belongs to a different code value group. For example, for a key "volume+", the corresponding code values may be 02, 12, 22, 32, 42, 52, 62, 72, 82, 92, 02 may be assigned to code value group 1, 12 may be assigned to code value group 2, 22 may be assigned to code value group 2, and so on, 10 code values corresponding to the key "volume+", may be assigned to 10 different code value groups. According to the code value group allocation method, code value groups can be carried out on other keys, a plurality of code value groups can be obtained, a code value group set can be formed by the plurality of code value groups, and each code value group comprises infrared code values corresponding to all the function keys.
S302, receiving a code value updating instruction aiming at each function key, determining an updating code value corresponding to each function key, updating a code value group by each updating code value, and adding the updating code value group into the code value group set.
It can be understood that the code value updating instruction is used for instructing the remote control device to update the code value of each function key to obtain a new code value corresponding to each function key.
According to some embodiments, when a user executes a code value update instruction on the remote control device, the ir code values corresponding to the function keys in the code value groups configured in S301 may be updated, a new code value group may be formed by the updated ir code values of the function keys, and for convenience of description, the new code value group may be referred to as an updated code value group, and the updated code value group may be added to the code value group set in S301.
It will be appreciated that the code value update instruction may be an instruction generated by the action of a user pressing a preset update key or combination of update keys on the remote control device. In this embodiment of the present application, the preset update key may be a preset function key for updating a key code value, and the preset update key combination may be a preset function key combination for updating a key code value. That is, when a user presses a preset update key on the remote control device, or when a user presses a preset update key combination on the remote control device, update code values corresponding to the respective function keys may be determined, update code value groups may be obtained from the update code values, and further, the update code value groups may be added to the code value group set.
For example: the preset function keys on the remote control device may be an up key, a down key, a left key, a right key, and a determination key, and in the code value group set configured in S301, 5 code value groups may be included, where the code value corresponding to each function key in each code value group may refer to table 1, the first column of table 1 represents the code value group, and the first row in table 1 represents each function key. The preset update key combination is a first key "+" second key "+" determination key "+" exit key ", and the operation sequence corresponding to the update key combination is as follows: simultaneously, the first key and the second key are pressed, the determination key is pressed again (the first two operations can be performed for a plurality of times), the exit key is pressed finally (the operation can be performed only once), and the update key combination and the corresponding update instruction of the operation sequence are as follows: and replacing the code values of the first key and the second key. If the user presses the "up key" + "left key" at the same time, then presses the "ok key", then presses the "down key" + "right key" at the same time, then presses the "ok key", and finally presses the "exit key", the remote control device is instructed to replace the code value of the "up key" and the code value of the "left key", and replace the code value of the "down key" and the code value of the "right key". Further, after the remote control device generates a new code value group (i.e., an updated code value group), the updated code value group may be added to the code value group set. The code values corresponding to the function keys in the updated code value group can be seen in table 2, the first column of table 2 represents the code value group, and the first row of table 2 represents the function keys.
TABLE 1 code values for each function key in the code value group
Key-up code value Lower key code value Left key code value Right key code value Determining key code values
Group 1 11 12 13 14 15
Group 2 21 22 23 24 25
Group 3 31 32 33 34 35
Group 4 41 42 43 44 45
Group 5 51 52 53 54 55
TABLE 2 code values for each function key in the code value group
Key-up code value Lower key code value Left key code value Right key code value Determining key code values
Group 1 13 14 11 12 15
Group 2 23 24 21 22 25
Group 3 33 34 31 32 35
Group 4 43 44 41 42 45
Group 5 53 54 51 52 55
S303, receiving a second operation instruction aiming at each function key in the function keys preset on the remote control equipment, and determining the operation time and the operation sequence corresponding to each function key.
The second operation instruction is used for informing the remote control device of which keys are the function keys pressed and the sequence and duration of each key pressed, the operation time refers to the duration of each key pressed, and the operation sequence refers to the sequence of each key pressed.
According to some embodiments, when a user performs a continuous action of pressing each of the preset function keys on the remote control device, the continuous action may correspond to an operation instruction, and the remote control device may receive the operation instruction and parse the operation instruction to obtain a plurality of pressed function keys, and a duration and a sequence of each of the pressed function keys.
S304, determining the current code value group from a preset code value group set based on the operation time and the operation sequence.
According to some embodiments, a developer may preset a correspondence between a pressing sequence, a duration of pressing, and a code value group of a plurality of function keys, where one code value group corresponds to a group of function keys (and a pressing sequence and a duration of pressing corresponding to each function key), so when an operation instruction corresponding to an action of pressing a group of function keys performed by a user is received by a remote control device, the remote control device may determine, from a code value group set, the code value group corresponding to the operation instruction, and may use the code value group as a current code value group. For example, 10 code value groups are set on the remote control device, and each code value group corresponds to a group of function keys: pressing the 'up' + 'confirm' at the same time for 5 seconds, and setting the 'up' + 'confirm' as 0 group; pressing down "+" confirm "simultaneously for 5 seconds, and setting 1 group; pressing the 'left' + 'confirm' at the same time for 5 seconds, and setting into 2 groups; pressing right "+" confirm "simultaneously for 5 seconds, and setting 3 groups; pressing the upper "+" lower "simultaneously for 5 seconds, and setting 4 groups; pressing the upper "+" left "simultaneously for 5 seconds, and setting 5 groups; pressing the upper "+" right "simultaneously for 5 seconds, and setting 6 groups; pressing down "+" left "simultaneously for 5 seconds, and setting 7 groups; pressing down "+" right "simultaneously for 5 seconds, and setting 8 groups; while pressing "left" + "right" for 5 seconds, set to 9 groups.
S305, receiving a first operation instruction aiming at a target function key.
S306, searching a target code value corresponding to the target function key in each code value corresponding to the current code value group based on the first operation instruction.
Specifically, S304 to S305 in the embodiment of the present application may refer to S201 to S203 in fig. 2, which are not described herein.
S307, the target code value and the current code value group are sent to at least one terminal device through a communication protocol, so that the target terminal device in the at least one terminal device is controlled to execute a control instruction corresponding to the target code value based on the target code value and the current code value group.
It will be appreciated that the communication protocol may be an infrared communication protocol, which is an infrared-based transmission technique. Common infrared communication protocols may include NEC protocol, philips RC5 protocol, sony SIRC protocol, ITT protocol, nokia NRC17 protocol, RCA protocol, sharp protocol, and the like.
According to some embodiments, the remote control device and the terminal device may use an infrared communication protocol to perform communication, and the remote control device may use the infrared communication protocol to send the target code value and the code value group to which the target code value belongs to at least one terminal device, so that the target terminal device in at least one terminal device may be controlled to execute a control instruction corresponding to the target code value based on the target code value, and the target terminal device may execute the control instruction if the code value group corresponding to the target terminal device matches the code value group to which the target code value belongs.
When the scheme of the embodiment of the application is executed, firstly, the remote control device determines a current code value group in a preset code value group set, wherein the code value group set comprises at least one code value group, and each code value group comprises code values respectively corresponding to all function keys in the preset function keys on the remote control device. Then, a code value update instruction for each function key in the function keys preset on the remote control device can be received, an update code value corresponding to each function key is determined, an update code value group is obtained from each update code value, and the update code value group is added into the code value group set. By adopting the mode, the code value of each function key can be updated according to the user requirement, and the updated code value group is obtained, so that the updated code value group can accord with the use habit of the user, and the user experience is improved. And then, a second operation instruction aiming at each function key in the preset function keys on the remote control equipment can be received, the operation time and the operation sequence corresponding to each function key are determined, and the current code value group is determined from the preset code value group set based on the operation time and the operation sequence. By adopting the mode, the user can select the currently used code value group, the using habit of the user is met, and the user experience is improved. Then, a first operation instruction for a target function key can be received, a target code value corresponding to the target function key is obtained in the current code value group based on the first operation instruction, the target code value and the current code value group are sent to at least one terminal device, so that the target terminal device in the at least one terminal device can be controlled to execute a control instruction corresponding to the target code value based on the target code value and the current code value group, and the target terminal device can execute the control instruction on the premise that the code value group corresponding to the target terminal device is matched with the current code value group. Therefore, the code value group corresponding to the remote control equipment is matched with the code value group corresponding to the target terminal equipment, so that the target terminal equipment in the plurality of terminal equipment can be accurately controlled by one remote control equipment, and the control accuracy of the terminal equipment controlled by the remote control equipment can be improved.
Referring to fig. 4, a flow chart of a device control method provided in the embodiment of the present application is presented for convenience of explanation, and for convenience of explanation, only the execution subject of each step is used as a terminal device for description. As shown in fig. 3, the method according to the embodiment of the present application may include the following steps:
s401, receiving a target code value sent by remote control equipment and a code value group to which the target code value belongs.
The remote control device refers to an entity infrared remote controller, and the target code value refers to an infrared code value. The code value group to which the target code value belongs may include a plurality of infrared code values, where the infrared code values are infrared code values corresponding to function keys respectively, and the function keys may be virtual keys displayed on a display interface of the terminal device or physical keys set on a physical housing of the terminal device, and may correspond to different control functions.
According to some embodiments, in the embodiments of the present application, since the terminal device and the remote control device belong to the same space, an infrared receiver may be configured in the terminal device, and an infrared transmitter and an infrared receiver may be configured in the remote control device, when the remote control device sends out a target code value and a code value group to which the target code value belongs, the terminal device may receive the target code value and the code value group.
S402, executing a control instruction corresponding to the target code value based on the target code value when the locally preset code value group is matched with the code value group to which the target code value belongs.
Wherein the code value group may include a plurality of infrared code values. For infrared code values in the terminal device, each infrared code value may correspond to each function key in the terminal device. For infrared code values in the remote control device, each infrared code value may correspond to each function key in the remote control device.
According to some embodiments, after the terminal device receives the target code value and the code value group to which the target code value belongs, which are sent by the remote control device, the terminal device may match the code value group to which the target code value belongs with the locally preset code value group, that is, determine whether the locally preset code value group is the same code value group as the code value group to which the target code value belongs, and if the locally preset code value group is the same code value group, it may be described that the locally preset code value group is matched with the code value group to which the target code value belongs. Further, the terminal device can search the function key corresponding to the target code value on the terminal device, can determine the control function corresponding to the function key, and can execute the control instruction corresponding to the control function. For example, the code value set locally preset in the terminal device is a1, the code value contained in a1 is 01, 02, 03, 04, 05, 06, 07, 08, the target code value sent by the remote controller is 03, the corresponding function key of the code value 03 in the terminal device is "program channel-", the corresponding control function is to switch back to the last program channel, and the processor in the terminal device can generate the control instruction corresponding to the control function and send the control instruction to the corresponding processing module in the terminal device to execute the function of switching back to the last program channel.
When the scheme of the embodiment of the application is executed, the terminal equipment receives the target code value and the code value group to which the target code value belongs, which are sent by the remote control equipment, and when the locally preset code value group is matched with the code value group to which the target code value belongs, the control instruction corresponding to the target code value is executed based on the target code value. According to the method and the device, the code value group corresponding to the remote control equipment is matched with the code value group corresponding to the terminal equipment, so that one target terminal equipment in a plurality of terminal equipment can be accurately controlled by one remote control equipment, and the control accuracy of the terminal equipment controlled by the remote control equipment can be improved.
Referring to fig. 5, a flow chart of a device control method provided in the embodiment of the present application is presented for convenience of explanation, and for convenience of explanation, only the execution subject of each step is used as a terminal device for description. As shown in fig. 5, the method according to the embodiment of the present application may include the following steps:
s501, receiving a selection instruction aiming at a target code value group in a displayed page containing a code value group set, wherein the target code value group is used as a locally preset code value group, the code value group set comprises at least one code value group, and each code value group comprises code values corresponding to each function key in function keys preset on the terminal equipment.
It can be understood that the preset function key on the terminal device may be a virtual function button displayed in an interface on the terminal device, or may be a physical function key on a housing of the terminal device. For example, the virtual function buttons may be direction type buttons, such as "up key", "down key", "left key", "right key", "ok key"; the physical function keys may be keys such as up key, down key, left key, right key, and ok key.
According to some embodiments, the locally preset code value group in the terminal device may be manually configured by the user, and the terminal device may provide a page for the user to manually configure the code value group, where the page may be called by a corresponding application program or by an entity key on the terminal device. When the terminal device displays the page, the page can display a code value group set, and a plurality of code value groups can be in the code value group set, so that a user can select any one of the code value groups as a locally preset code value group. It can be understood that any code value group can include code values corresponding to each of the preset function keys on the terminal device, and the code values in the code value group can be displayed on the page.
S502, responding to an update instruction aiming at the local preset code value group, receiving a selection instruction aiming at the update code value group in the displayed interface containing the code value group set, and taking the update code value group as the updated local preset code value group.
It will be appreciated that the update instruction is used to instruct the terminal device to replace the locally preset code value group. The update instruction may be an instruction generated by an update operation input by a user on the terminal device. For example, the input update operation may be an operation of clicking a virtual button of the update code value group on the terminal device, the input update operation may be an operation of inputting a voice of the update code value group on the terminal device by a user, and the input update operation may also be an operation of clicking an entity key of the update code value group on the user terminal device.
According to some embodiments, after the locally preset code value group is set in S501, the user may execute an update instruction for the locally preset code value group on the terminal device, and in response to the update instruction, the terminal device may receive a selection instruction for the updated code value group in the displayed interface containing the code value group set, and further, the terminal device may use the updated code value group as the updated locally preset code value group. It should be noted that, the updated local preset code value group on the terminal device needs to be matched with the current code value group on the remote control device.
It will be appreciated that there may be a plurality of code value groups in the set of code value groups displayed on the terminal device, and that when the user selects a new code value group again in the set of code value groups after executing the update instruction, this new code value group may be referred to as an update code value group. Therefore, after receiving the selection instruction of the user for updating the code value group, the terminal device can take the updated code value group as the updated locally preset code value group.
S503, receiving an input instruction aiming at a target code value group, and taking the target code value group as a locally preset code value group, wherein the target code value group comprises code values respectively corresponding to all function keys in the preset function keys on the terminal equipment.
It will be appreciated that the input instruction may be an instruction generated by a user entering a set of target code values on the terminal device.
According to some embodiments, the locally preset code value group may be input to the terminal device by a user, specifically, may be a touch input, or may be a voice input. After the user inputs the target code value group into the terminal device, the terminal device may acquire the target code value group, and use the target code value group as a locally preset code value group, where the target code value group may include an infrared code value corresponding to each function key in a set of function keys preset on the terminal device. It should be noted that the code value group preset locally on the terminal device needs to be matched with the current code value group on the remote control device.
S504, receiving an input instruction for updating the code value group in response to the update instruction for the locally preset code value group, and taking the updated code value group as the updated locally preset code value group.
It will be appreciated that the update instruction is used to instruct the terminal device to replace the locally preset code value group. The update instruction may be an instruction generated by an update operation input by a user on the terminal device. For example, the input update operation may be an operation of clicking a virtual button of the update code value group on the terminal device, the input update operation may be an operation of inputting a voice of the update code value group on the terminal device by a user, and the input update operation may also be an operation of clicking an entity key of the update code value group on the user terminal device.
According to some embodiments, after the locally preset code value group is set in S503, the user may execute an update instruction for the locally preset code value group on the terminal device, and in response to the update instruction, the terminal device may receive an input instruction for the locally preset code value group from the user, and further, the terminal device may use the updated code value group as the updated locally preset code value group. It should be noted that, the updated local preset code value group on the terminal device needs to be matched with the current code value group on the remote control device.
It may be understood that the target code value group and the update code value group may both include an infrared code value corresponding to each function key in the preset function keys on the set of terminal devices, and the code values for the same function key in the target code value group and the update code value group may be different.
It should be noted that, in some embodiments, S501 and S504 may be combined as one embodiment, and S502 and S503 may be combined as one embodiment, which are all executable embodiments and are not described in detail.
S505, receiving a target code value sent by the remote control device through a communication protocol and a code value group to which the target code value belongs.
It will be appreciated that the communication protocol may be an infrared communication protocol, which is an infrared-based transmission technique. Common infrared communication protocols may include NEC protocol, philips RC5 protocol, sony SIRC protocol, ITT protocol, nokia NRC17 protocol, RCA protocol, sharp protocol, and the like.
According to some embodiments, the terminal device and the remote control device may use an infrared communication protocol to perform communication, and the remote control device may encapsulate the target code value and the code value group to which the target code value belongs through the infrared communication protocol and then send the encapsulated code value group to the terminal device, and the terminal device may use the same infrared communication protocol to perform decapsulation to obtain the target code value and the code value group to which the target code value belongs.
S506, when the locally preset code value group is matched with the code value group to which the target code value belongs, determining a target function key corresponding to the target code value in function keys preset on the terminal equipment, determining a control function corresponding to the target function key, and executing a control instruction corresponding to the control function.
Specifically, S506 in the embodiment of the present application may refer to S402 in fig. 4, which is not described herein.
When the scheme of the embodiment of the application is executed, firstly, the terminal equipment receives a selection instruction aiming at a target code value group in a displayed page containing a code value group set, the target code value group is used as a locally preset code value group, the code value group set comprises at least one code value group, and each code value group comprises code values respectively corresponding to each function key in function keys preset on the terminal equipment. Or receiving an input instruction aiming at a target code value group, and taking the target code value group as a locally preset code value group, wherein the target code value group comprises code values respectively corresponding to all function keys in the function keys preset on the terminal equipment. In the two modes, a user can set a locally preset code value group according to the use habit. Then, in response to an update instruction for the locally preset code value group, receiving a selection instruction for the update code value group in the displayed interface containing the code value group set, and taking the update code value group as an updated locally preset code value group. Or, in response to an update instruction for the locally preset code value group, receiving an input instruction for an update code value group, and taking the update code value group as an updated locally preset code value group. By adopting the two modes, the user can change the locally preset code value group, so that the user requirement can be met, and the user experience is improved. Then, the terminal device may receive the target code value and the code value group to which the target code value belongs, which are sent by the remote control device through the infrared communication protocol, and when the locally preset code value group is matched with the code value group to which the target code value belongs, the terminal device may determine a target function key corresponding to the target code value from the function keys preset on the terminal device, and then may determine a control function corresponding to the target function key, and execute a control instruction corresponding to the control function. Therefore, the code value group corresponding to the remote control equipment is matched with the code value group corresponding to the terminal equipment, so that one target terminal equipment in a plurality of terminal equipment can be accurately controlled by one remote control equipment, and the control accuracy of the terminal equipment controlled by the remote control equipment can be improved.
Fig. 6 is a schematic structural diagram of a device control apparatus according to an embodiment of the present application. The device control apparatus 600 may be implemented as all or part of a control device by software, hardware, or a combination of both. The apparatus 600 includes:
a group determining module 610, configured to determine a current code value group in a preset code value group set, where the code value group set includes at least one code value group, and each code value group includes a code value corresponding to each of preset function keys on the remote control device;
the instruction receiving module 620 is configured to receive a first operation instruction for a target function key;
the device control module 630 is configured to obtain, based on the first operation instruction, a target code value corresponding to the target function key in the current code value group, and send the target code value and the current code value group to at least one terminal device, so as to control a target terminal device in the at least one terminal device to execute, based on the target code value and the current code value group, a control instruction corresponding to the target code value, where the code value group corresponding to the target terminal device matches with the current code value group.
Optionally, the apparatus 630 further includes:
the first configuration module is used for determining code values corresponding to all the function keys based on configuration instructions of all the function keys in the function keys preset on the remote control equipment, and the code values are grouped according to the code values;
and a second configuration module for adding the code value group to a code value group set.
Optionally, the apparatus 630 further includes:
the first updating module is used for receiving code value updating instructions aiming at all the function keys, determining updating code values corresponding to all the function keys, and updating code value groups by all the updating code values;
and a second updating module, configured to add the updated code value group to the code value group set.
Optionally, the group determination module 610 includes:
the first receiving unit is used for receiving a second operation instruction aiming at each function key in the function keys preset on the remote control equipment and determining the operation time and the operation sequence corresponding to each function key;
and the second processing unit is used for determining the current code value group from a preset code value group set based on the operation time and the operation sequence.
Optionally, the device control module 630 includes:
And the equipment control unit is used for searching the target code value corresponding to the target function key in all code values corresponding to the current code value group based on the first operation instruction.
Optionally, the device control module 630 includes:
and the infrared communication unit is used for transmitting the target code value and the current code value group to at least one terminal device through a communication protocol.
When the scheme of the embodiment of the application is executed, the remote control device determines a current code value group in a preset code value group set, wherein the code value group set comprises at least one code value group, each code value group comprises code values corresponding to all function keys in the preset function keys on the remote control device respectively, a first operation instruction aiming at a target function key is received, a target code value corresponding to the target function key is obtained in the current code value group based on the first operation instruction, and the target code value and the current code value group are sent to at least one terminal device so as to control the target terminal device in the at least one terminal device to execute a control instruction corresponding to the target code value based on the target code value and the current code value group, and the code value group corresponding to the target terminal device is matched with the current code value group. According to the method and the device, the code value group corresponding to the remote control equipment is matched with the code value group corresponding to the target terminal equipment, so that the target terminal equipment in the plurality of terminal equipment can be accurately controlled by one remote control equipment, and the control accuracy of the terminal equipment controlled by the remote control equipment can be improved.
Fig. 7 is a schematic structural diagram of a device control apparatus according to an embodiment of the present application. The device control means 700 may be implemented as all or part of the terminal device by software, hardware or a combination of both. The apparatus 700 comprises:
a code value receiving module 710, configured to receive a target code value sent by a remote control device and a code value group to which the target code value belongs;
the function execution module 720 is configured to execute a control instruction corresponding to the target code value based on the target code value when the locally preset code value group matches the code value group to which the target code value belongs.
Optionally, the apparatus 700 further includes:
the first group configuration module is used for receiving a selection instruction aiming at a target code value group in a displayed page containing a code value group set, wherein the target code value group is used as a locally preset code value group, the code value group set comprises at least one code value group, and each code value group comprises code values respectively corresponding to each function key in the preset function keys on the terminal equipment;
or alternatively, the first and second heat exchangers may be,
the second group configuration module is used for receiving an input instruction aiming at a target code value group, and taking the target code value group as a locally preset code value group, wherein the target code value group comprises code values respectively corresponding to all function keys in the function keys preset on the terminal equipment.
Optionally, the apparatus 700 further includes:
a first group updating module, configured to receive, in response to an updating instruction for the locally preset code value group, a selection instruction for an updated code value group in the displayed interface including the code value group set, and use the updated code value group as an updated locally preset code value group;
or alternatively, the first and second heat exchangers may be,
and the second group updating module is used for responding to the updating instruction aiming at the local preset code value group, receiving the input instruction aiming at the updating code value group and taking the updating code value group as the updated local preset code value group.
Optionally, the function execution module 720 includes:
and the function execution unit is used for determining a target function key corresponding to the target code value in the function keys preset on the terminal equipment, determining a control function corresponding to the target function key and executing a control instruction corresponding to the control function.
Optionally, the code value receiving module 710 includes:
and the infrared communication unit is used for receiving the target code value sent by the remote control equipment through the communication protocol and the code value group to which the target code value belongs.
When the scheme of the embodiment of the application is executed, the terminal equipment receives the target code value and the code value group to which the target code value belongs, which are sent by the remote control equipment, and when the locally preset code value group is matched with the code value group to which the target code value belongs, the control instruction corresponding to the target code value is executed based on the target code value. According to the method and the device, the code value group corresponding to the remote control equipment is matched with the code value group corresponding to the terminal equipment, so that one target terminal equipment in a plurality of terminal equipment can be accurately controlled by one remote control equipment, and the control accuracy of the terminal equipment controlled by the remote control equipment can be improved.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a remote control device according to an embodiment of the present application. As shown in fig. 8, the remote control device may include: the infrared emission structure, the receiver 12 and the power module 13, wherein the infrared emission structure mainly comprises an infrared emitter 111, a controller 112 and a feedback module 113.
The receiver 12 receives key information and the like sent by a user, converts the key information into a remote control command and sends the remote control command to the controller 112, and the controller 112 controls the infrared transmitters 111 to convert the electric signal into optical signals and send the optical signals in sequence according to the command sent by the receiver 12, and the infrared transmitters 111 can conduct infrared light signals to all directions of the infrared remote controller 1 by using lenses and send the infrared signals to the outside. When the infrared remote controller 1 controls the electric appliance, after the infrared remote controller 1 sends a control command, the buzzer of the terminal device feeds back a sound message to the feedback module 113, and the controller 112 stops the infrared transmitter 111 from sending the infrared code.
The receiver 12 is used for receiving a key input part of the infrared remote control 1, such as a function key of an on-off key, a timing key, and the like.
The power module 14 is used to provide the whole infrared remote control 1 with the electrical energy required for operation.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 9, the terminal apparatus 1300 may include: at least one processor 1301, at least one network interface 1304, a user interface 1303, a memory 1305, and at least one communication bus 1302.
Wherein a communication bus 1302 is used to enable connected communications between these components.
The user interface 1303 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1303 may further include a standard wired interface and a standard wireless interface.
The network interface 1304 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1301 may include one or more processing cores, among other things. The processor 1301 connects various parts within the entire terminal 1300 using various interfaces and lines, and performs various functions of the terminal 1300 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1305, and calling data stored in the memory 1305. Alternatively, the processor 1301 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). Processor 1301 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU) and a modem, etc. Wherein the CPU primarily processes operating systems and application programs, etc. It will be appreciated that the modem may not be integrated into the processor 1301 and may be implemented by a single chip.
The Memory 1305 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1305 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). The memory 1305 may be used to store instructions, programs, code sets, or instruction sets. The memory 1305 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. Memory 1305 may also optionally be at least one storage device located remotely from the aforementioned processor 1301. As shown in fig. 9, a program of an operating system, a network communication module, a user interface module, and a device control method may be included in the memory 1305 as one type of computer storage medium.
In addition, it will be appreciated by those skilled in the art that the structure of the terminal device 1300 illustrated in the above-described figures does not constitute a limitation of the terminal device 1300, and the terminal device may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. For example, the terminal device 1300 further includes radio frequency circuits, audio circuits, wiFi components, power sources, bluetooth components, and the like, which are not described herein.
Embodiments of the present application also provide a computer-readable storage medium storing at least one instruction for execution by a processor to implement the device control method of the above embodiments.
Embodiments of the present application also provide a computer program product storing at least one instruction that is loaded and executed by the processor to implement the device control method described in the above embodiments.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The foregoing description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, since it is intended that all modifications, equivalents, improvements, etc. that fall within the spirit and scope of the invention.

Claims (15)

1. A device control method applied to a remote control device, the method comprising:
determining a current code value group in a preset code value group set, wherein the code value group set comprises at least one code value group, and each code value group comprises code values respectively corresponding to all function keys in preset function keys on the remote control equipment;
receiving a first operation instruction aiming at a target function key;
and acquiring a target code value corresponding to the target function key from the current code value group based on the first operation instruction, and sending the target code value and the current code value group to at least one terminal device so as to control target terminal devices in the at least one terminal device to execute a control instruction corresponding to the target code value based on the target code value and the current code value group, wherein the code value group corresponding to the target terminal device is matched with the current code value group.
2. The method of claim 1, wherein prior to determining the current code value group in the set of preset code value groups, further comprising:
determining code values corresponding to all the function keys based on configuration instructions of all the function keys in the function keys preset on the remote control equipment, and grouping the code values by all the code values;
the code value group is added to a set of code value groups.
3. The method of claim 2, wherein after adding the code value group to the set of code value groups, further comprising:
receiving a code value updating instruction aiming at each function key, determining an updating code value corresponding to each function key, and grouping the updating code values by each updating code value;
the updated code value group is added to the set of code value groups.
4. A method according to any of claims 1-3, wherein said determining a current code value group from a set of preset code value groups comprises:
receiving a second operation instruction aiming at each function key in the function keys preset on the remote control equipment, and determining the operation time and the operation sequence corresponding to each function key;
And determining a current code value group from a preset code value group set based on the operation time and the operation sequence.
5. A method according to any one of claims 1-3, wherein the obtaining, based on the first operation instruction, a target code value corresponding to the target function key in the current code value group includes:
and searching a target code value corresponding to the target function key in each code value corresponding to the current code value group based on the first operation instruction.
6. A method according to any of claims 1-3, characterized in that said transmitting the target code value and the current code value group to at least one terminal device comprises:
and transmitting the target code value and the current code value group to at least one terminal device through a communication protocol.
7. A device control method applied to a terminal device, the method comprising:
receiving a target code value sent by remote control equipment and a code value group to which the target code value belongs;
and executing a control instruction corresponding to the target code value based on the target code value when the locally preset code value group is matched with the code value group to which the target code value belongs.
8. The method of claim 7, further comprising, prior to receiving the target code value and the group identification transmitted by the remote control device:
in a displayed page containing a code value group set, receiving a selection instruction aiming at a target code value group, taking the target code value group as a locally preset code value group, wherein the code value group set comprises at least one code value group, and each code value group comprises code values corresponding to all function keys in the function keys preset on the terminal equipment;
or alternatively, the first and second heat exchangers may be,
receiving an input instruction aiming at a target code value group, and taking the target code value group as a locally preset code value group, wherein the target code value group comprises code values respectively corresponding to all function keys in function keys preset on the terminal equipment.
9. The method of claim 8, wherein after said grouping the target code values as locally preset code value groups, further comprising:
responding to an update instruction aiming at the local preset code value group, receiving a selection instruction aiming at the update code value group in the displayed interface containing the code value group set, and taking the update code value group as the updated local preset code value group;
Or alternatively, the first and second heat exchangers may be,
and responding to an update instruction aiming at the local preset code value group, receiving an input instruction aiming at the update code value group, and taking the update code value group as an updated local preset code value group.
10. The method of claim 7, wherein the executing a control instruction corresponding to the target code value based on the target code value comprises:
and determining a target function key corresponding to the target code value from function keys preset on the terminal equipment, determining a control function corresponding to the target function key, and executing a control instruction corresponding to the control function.
11. The method of claim 7, wherein receiving the target code value transmitted by the remote control device and the code value group to which the target code value belongs comprises:
and receiving the target code value and the code value group to which the target code value belongs, which are sent by the remote control equipment through a communication protocol.
12. A device control apparatus for use with a remote control device, the apparatus comprising:
the group determining module is used for determining a current code value group in a preset code value group set, wherein the code value group set comprises at least one code value group, and each code value group comprises code values respectively corresponding to all function keys in the function keys preset on the remote control equipment;
The instruction receiving module is used for receiving a first operation instruction aiming at the target function key;
and the equipment control module is used for acquiring a target code value corresponding to the target function key from the current code value group based on the first operation instruction, and sending the target code value and the current code value group to at least one terminal equipment so as to control the target terminal equipment in the at least one terminal equipment to execute a control instruction corresponding to the target code value based on the target code value and the current code value group, wherein the code value group corresponding to the target terminal equipment is matched with the current code value group.
13. A device control apparatus applied to a terminal device, the apparatus comprising:
the code value receiving module is used for receiving a target code value sent by the remote control equipment and a code value group to which the target code value belongs;
and the function execution module is used for executing the control instruction corresponding to the target code value based on the target code value when the locally preset code value group is matched with the code value group to which the target code value belongs.
14. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any one of claims 1 to 6 or 7 to 11.
15. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-6 or 7-11.
CN202111539254.7A 2021-12-15 2021-12-15 Equipment control method, device, storage medium and electronic equipment Pending CN116264032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111539254.7A CN116264032A (en) 2021-12-15 2021-12-15 Equipment control method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111539254.7A CN116264032A (en) 2021-12-15 2021-12-15 Equipment control method, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116264032A true CN116264032A (en) 2023-06-16

Family

ID=86722644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111539254.7A Pending CN116264032A (en) 2021-12-15 2021-12-15 Equipment control method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116264032A (en)

Similar Documents

Publication Publication Date Title
KR101829036B1 (en) Method and apparatus for controlling smart household appliance and terminal
US9866892B2 (en) IR pairing for RF4CE remote controls
RU2670032C2 (en) Method and apparatus for controlling smart devices
EP4037343B1 (en) Apparatus and method for promoting apps to smart devices
EP2777293B1 (en) Reconfiguring remote controls for different devices in a network
EP3291539A2 (en) Device control method and apparatus
EP2339832B1 (en) Mobile device, audio/video device and method of controlling the same
US11194975B2 (en) Electronic device, user input apparatus controlling the same, and control method thereof
US20170048577A1 (en) Remote control method related to hdmi-cec specification and system thereof
KR101588595B1 (en) AN INTEGRATED REMOTE CONTROLLER SUPPORTING INTERNET OF THINGS(IoT) AND THE CONTROL METHOD THEREOF
WO2017166674A1 (en) Instruction set switching method and device
CN105182783A (en) Method, apparatus and terminal for controlling intelligent devices
CN107346115B (en) Control method and control terminal of intelligent device and intelligent device
EP3013063A2 (en) Closed caption-support content receiving apparatus and display apparatus, system having the same, and closed caption-providing method thereof
US20150268648A1 (en) Method and terminal device for controlling smart home appliance
CN103916690A (en) Smart television set remote control method and device
CN104812020A (en) Method, device and system for controlling intelligent equipment to access network
CN112530149B (en) Remote control method and device
US8451377B2 (en) Image display device, method of controlling the same and home network system
CN116264032A (en) Equipment control method, device, storage medium and electronic equipment
CN106603946B (en) Television remote control method, device and system
JP2008311958A (en) Cellular phone
CN111885344A (en) Data transmission method, equipment and system
KR20130137379A (en) Apparatus and method for storing a user information in a home network
KR101773463B1 (en) Mobile Terminal Remote control application is Installed and operating method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination