CN114153309A - Control method, control device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN114153309A
CN114153309A CN202111359575.9A CN202111359575A CN114153309A CN 114153309 A CN114153309 A CN 114153309A CN 202111359575 A CN202111359575 A CN 202111359575A CN 114153309 A CN114153309 A CN 114153309A
Authority
CN
China
Prior art keywords
control
target
remote controller
pose information
control mode
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.)
Granted
Application number
CN202111359575.9A
Other languages
Chinese (zh)
Other versions
CN114153309B (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111359575.9A priority Critical patent/CN114153309B/en
Publication of CN114153309A publication Critical patent/CN114153309A/en
Application granted granted Critical
Publication of CN114153309B publication Critical patent/CN114153309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Abstract

The embodiment of the disclosure relates to a control method, a control device, an electronic device and a storage medium, wherein the method comprises the following steps: acquiring pose information of the target remote controller, which is acquired by a gyroscope arranged in the target remote controller; determining a target control mode associated with the pose information from a predetermined set of control modes, wherein the set of control modes is set for a controlled device of the target remote controller, and an association relationship between the control modes and the pose information in the set of control modes is established in advance; generating a control instruction of the controlled device based on the target control mode; and sending the control instruction to the controlled equipment so that the controlled equipment operates according to the instruction of the control instruction. According to the method, the control mode of the controlled equipment is determined through the pose information of the remote controller, so that the operation of a user on the remote controller can be simplified, and the efficiency and the accuracy of controlling the controlled equipment through the remote controller are improved.

Description

Control method, control device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of control, and in particular, to a control method and apparatus, an electronic device, and a storage medium.
Background
At present, most of household appliances are often controlled by an infrared remote controller.
However, the remote controller has complex and complicated operation, numerous keys and complicated functions, so that the user is easy to operate by mistake in the using process. In addition, if the operated product does not have a display screen, it is difficult to find the mode and degree of operation. In addition, in the case of poor indoor light, poor user eyesight or drowsiness of the user, it is generally difficult to select a control key from a plurality of keys, so that the control operation cannot be accurately completed.
Disclosure of Invention
In view of the above, in order to solve some or all of the above technical problems, embodiments of the present disclosure provide a control method, an apparatus, an electronic device, and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a control method, where the method includes:
acquiring pose information of the target remote controller, which is acquired by a gyroscope arranged in the target remote controller;
determining a target control mode associated with the pose information from a predetermined set of control modes, wherein the set of control modes is set for a controlled device of the target remote controller, and an association relationship between the control modes and the pose information in the set of control modes is established in advance;
generating a control instruction of the controlled device based on the target control mode;
and sending the control instruction to the controlled equipment so that the controlled equipment operates according to the instruction of the control instruction.
Optionally, in the method according to any embodiment of the present disclosure, the determining, from a predetermined set of control modes, a target control mode associated with the pose information includes:
determining a rotation axis of the target remote controller if the pose information indicates that the pose of the target remote controller is rotation;
determining a control pattern associated with the rotation axis from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
Optionally, in a method according to any embodiment of the present disclosure, the determining a rotation axis of the target remote controller includes:
determining a rotation angle and a rotation axis of the target remote controller; and
the method further comprises the following steps:
determining a degree of control of the controlled device in the target control mode based on the rotation angle; and
the generating of the control command of the controlled device based on the target control mode includes:
and generating a control command instructing to control the controlled device in the target control mode according to the control degree based on the target control mode and the control degree.
Optionally, in the method according to any embodiment of the present disclosure, the control degree is represented by a numerical value, and the control degree is in positive correlation with the magnitude of the rotation angle.
Optionally, in the method according to any embodiment of the present disclosure, the determining, from a predetermined set of control modes, a target control mode associated with the pose information includes:
if the pose information indicates that the target remote controller is displaced, determining a graph formed by the displacement track of the target remote controller;
determining a control pattern associated with the graph from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
Optionally, in a method according to any embodiment of the present disclosure, the generating a control instruction of the controlled device based on the target control mode includes:
and after the target remote controller generates vibration, if the mode confirmation operation executed by the target remote controller is detected, generating a control instruction of the controlled equipment based on the target control mode.
Optionally, in the method according to any embodiment of the present disclosure, the target remote controller includes a first end and a second end, the first end and the second end are disposed opposite to each other, and the first end and the second end are respectively provided with at least one gyroscope; the number of keys set by the target remote controller is less than or equal to 1.
In a second aspect, an embodiment of the present disclosure provides a control apparatus, where the apparatus includes:
an acquisition unit configured to acquire pose information of a target remote controller acquired by a gyroscope provided in the target remote controller;
a determination unit configured to determine a target control mode associated with the pose information from a predetermined set of control modes set for the controlled device of the target remote controller, the association between the control mode and the pose information in the set of control modes being established in advance;
a generation unit configured to generate a control instruction of the controlled device based on the target control mode;
a transmitting unit configured to transmit the control instruction to the controlled apparatus so that the controlled apparatus operates according to an instruction of the control instruction.
Optionally, in the apparatus according to any embodiment of the present disclosure, the determining unit is further configured to:
determining a rotation axis of the target remote controller if the pose information indicates that the pose of the target remote controller is rotation;
determining a control pattern associated with the rotation axis from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
Optionally, in an apparatus according to any embodiment of the present disclosure, the determining a rotation axis of the target remote controller includes:
determining a rotation angle and a rotation axis of the target remote controller; and
the above-mentioned device still includes:
determining a degree of control of the controlled device in the target control mode based on the rotation angle; and
the generating of the control command of the controlled device based on the target control mode includes:
and generating a control command instructing to control the controlled device in the target control mode according to the control degree based on the target control mode and the control degree.
Optionally, in the apparatus according to any embodiment of the present disclosure, the control degree is represented by a numerical value, and the control degree is in positive correlation with the magnitude of the rotation angle.
Optionally, in the apparatus according to any embodiment of the present disclosure, the determining unit is further configured to:
if the pose information indicates that the target remote controller is displaced, determining a graph formed by the displacement track of the target remote controller;
determining a control pattern associated with the graph from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
Optionally, in the apparatus according to any embodiment of the present disclosure, the generating unit is further configured to:
and after the target remote controller generates vibration, if the mode confirmation operation executed by the target remote controller is detected, generating a control instruction of the controlled equipment based on the target control mode.
Optionally, in the apparatus according to any embodiment of the present disclosure, the target remote controller includes a first end and a second end, the first end and the second end are disposed opposite to each other, and the first end and the second end are respectively provided with at least one gyroscope; the number of keys set by the target remote controller is less than or equal to 1.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
a memory for storing a computer program;
a processor configured to execute the computer program stored in the memory, and when the computer program is executed, the method of any embodiment of the control method of the first aspect of the present disclosure is implemented.
In a fourth aspect, the embodiments of the present disclosure provide a computer-readable medium, where the computer program, when executed by a processor, implements the method of any of the embodiments of the control method of the first aspect.
In a fifth aspect, the disclosed embodiments provide a computer program comprising computer readable code which, when run on a device, causes a processor in the device to execute instructions for implementing the steps in the method as described in any of the embodiments of the control method of the first aspect.
According to the control scheme provided by the embodiment of the disclosure, pose information of a target remote controller acquired by a gyroscope arranged in the target remote controller is acquired, then a target control mode associated with the pose information is determined from a predetermined control mode set, wherein the control mode set is set for a controlled device of the target remote controller, an association relation between the control mode and the pose information in the control mode set is established in advance, then a control instruction of the controlled device is generated based on the target control mode, and finally the control instruction is sent to the controlled device, so that the controlled device operates according to the instruction of the control instruction. According to the scheme, the control mode of the controlled equipment is determined through the pose information of the remote controller, so that the operation of a user on the remote controller is simplified, and the efficiency and the accuracy of controlling the controlled equipment through the remote controller are improved.
Drawings
Fig. 1 is a schematic flow chart of a control method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another control method provided in the embodiment of the present disclosure;
fig. 3A is a schematic flow chart of another control method provided in the embodiment of the present disclosure;
fig. 3B is a schematic structural diagram of a target remote controller according to an embodiment of the present disclosure;
fig. 3C is an exemplary schematic diagram of a rotation axis of a target remote controller provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a control device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of parts and steps, numerical expressions, and values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
It will be understood by those within the art that the terms "first," "second," and the like in the embodiments of the present disclosure are used merely to distinguish one object, step, device, or module from another object, and do not denote any particular technical meaning or logical order therebetween.
It is also understood that in embodiments of the present disclosure, "a plurality" may refer to two or more and "at least one" may refer to one, two or more.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the disclosure, may be generally understood as one or more, unless explicitly defined otherwise or stated otherwise.
In addition, the term "and/or" in the present disclosure is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the former and latter associated objects are in an "or" relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and the same or similar parts may be referred to each other, so that the descriptions thereof are omitted for brevity.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. For the purpose of facilitating an understanding of the embodiments of the present disclosure, the present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments. It is to be understood that the described embodiments are only a few, and not all, of the disclosed embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Fig. 1 is a schematic flowchart of a control method provided in an embodiment of the present disclosure, and as shown in fig. 1, the method specifically includes:
101. and acquiring pose information of the target remote controller, which is acquired by a gyroscope arranged in the target remote controller.
In this embodiment, an execution subject of the control method (e.g., a target remote controller, a control apparatus, an electronic device (e.g., a server) communicatively connected to the target remote controller) may acquire pose information of the target remote controller collected by a gyroscope (e.g., a gyroscope of the model MPU 6050) provided in the target remote controller.
The target remote controller may be a remote controller for controlling one or more controlled devices.
The pose information may characterize at least one of the following of the target remote control: position, attitude.
In some optional implementations of this embodiment, the target remote controller includes a first end and a second end, the first end and the second end are disposed opposite to each other, and the first end and the second end are respectively provided with at least one gyroscope. The number of keys set by the target remote controller is less than or equal to 1.
The keys set by the target remote controller can be physical keys or virtual keys.
In some cases, the target remote controller may not need to be provided with keys, so that the user may interact with the target remote controller by rotating and/or moving the target remote controller.
Here, the target remote controller may have a rod shape or a rectangular parallelepiped shape. One or more gyroscopes may be disposed at each end (i.e., the first end and the second end) of the target remote controller.
It can be understood that, in the above optional implementation manner, the position and orientation information of the target remote controller can be acquired through the gyroscopes respectively arranged at the first end and the second end, so that the accuracy of the acquired position and orientation information is improved, and the number of the keys arranged on the target remote controller is less than or equal to 1, so that the user can operate the target remote controller at night, the operation of the user on the remote controller is further simplified, and the efficiency and the accuracy of controlling the controlled device through the remote controller are improved.
102. From a predetermined set of control patterns, a target control pattern associated with the pose information is determined.
In this embodiment, the executing body may determine a target control mode associated with the pose information from a predetermined set of control modes.
The control mode set may be set for a controlled device (e.g., an air conditioner, a television, etc.) of the target remote controller.
And the incidence relation between the control mode and the pose information in the control mode set is established in advance.
The control modes in the set of control modes may be characterized by at least one of: turn up sound, turn down sound, turn up temperature, turn down temperature, sleep mode, cooling mode, dehumidification mode, and the like.
As an example, if the pose information indicates that the target remote controller has made a rotation in a first direction (for example, an X-axis direction of a preset coordinate system), and the control mode that is associated with the pose information in advance represents an adjusted volume, the execution body may determine that the target control mode is "adjusted volume"; if the pose information indicates that the target remote controller has made a rotation in a second direction (e.g., the Y-axis direction of a preset coordinate system), and the control mode associated with the pose information in advance represents a function switch, the execution body may determine that the target control mode is "function switch"; the execution body may determine that the target control mode is the "sleep mode" if the pose information indicates that the target remote controller forms a preset shape (e.g., a five-pointed star) by moving and the control mode associated with the pose information in advance is the sleep mode.
In some cases, the association between the control mode in the control mode set and the pose information may be established via users, and the association established by different users may be the same or different. Under the condition that the association relations established by different users are different, the execution subject or the target remote controller can determine the association relation established by the user through the modes of inputting an account number, fingerprint identification, face identification and the like, and further determine a target control mode which is associated with the pose information and is established by the user.
In some optional implementations of the embodiment, the executing body may execute the step 102 in a manner that determines, from a predetermined set of control modes, a target control mode associated with the pose information:
firstly, if the pose information indicates that the target remote controller is displaced, determining a graph formed by the displacement track of the target remote controller.
As an example, the execution body may determine a graph formed by the displacement trajectory of the target remote controller by using speed data and acceleration data included in the pose information acquired by the gyroscope. In practice, the graph formed by the displacement trajectory of the target remote controller may include, but is not limited to: a moon shape, a pentagram shape, a triangle shape, and a figure formed by the displacement trajectory of the target remote controller may be a shape customized by the user.
Then, from a predetermined set of control patterns, a control pattern associated with the above-described figure is determined, and the determined control pattern is taken as a target control pattern associated with the above-described pose information.
103. And generating a control instruction of the controlled device based on the target control mode.
In this embodiment, the executing body may generate a control instruction for instructing the controlled apparatus to operate according to the instruction of the target control mode, based on the target control mode.
In some optional implementations of this embodiment, the executing body may execute the step 103 in a manner as follows, so as to generate the control instruction of the controlled device based on the target control mode:
and after the target remote controller generates vibration, if the mode confirmation operation executed by the target remote controller is detected, generating a control instruction of the controlled equipment based on the target control mode.
In practice, the target remote controller may generate vibration after the execution subject determines the target control mode. Thereafter, the user may trigger the execution of step 103 by a mode confirmation operation performed by the target remote controller (e.g., pressing a key, moving the target remote controller to form a preset pattern, etc.).
104. And sending the control instruction to the controlled equipment so that the controlled equipment operates according to the instruction of the control instruction.
In this embodiment, the execution main body may send the control instruction to the controlled device, so that the controlled device operates according to an instruction of the control instruction.
The control method provided by the embodiment of the disclosure includes acquiring pose information of a target remote controller acquired by a gyroscope arranged in the target remote controller, determining a target control mode associated with the pose information from a predetermined control mode set, where the control mode set is set for a controlled device of the target remote controller, an association relationship between a control mode in the control mode set and the pose information is established in advance, generating a control instruction of the controlled device based on the target control mode, and finally sending the control instruction to the controlled device, so that the controlled device operates according to the instruction of the control instruction. According to the scheme, the control mode of the controlled equipment is determined through the pose information of the remote controller, so that the operation of a user on the remote controller is simplified, and the efficiency and the accuracy of controlling the controlled equipment through the remote controller are improved.
Fig. 2 is a schematic flow chart of another control method provided in the embodiment of the present disclosure, and as shown in fig. 2, the method specifically includes:
201. and acquiring pose information of the target remote controller, which is acquired by a gyroscope arranged in the target remote controller.
In this embodiment, an execution subject of the control method (e.g., a target remote controller, a control device, and an electronic device (e.g., a server) communicatively connected to the target remote controller) may acquire pose information of the target remote controller acquired by a gyroscope provided in the target remote controller.
202. And if the pose information indicates that the pose of the target remote controller is rotation, determining a rotation axis of the target remote controller.
In this embodiment, if the pose information indicates that the pose of the remote controller is rotation, the execution body may determine a rotation axis of the remote controller.
In practice, a coordinate system may be established in advance, and the rotation axis of the target remote controller may be determined with reference to the coordinate system.
In some optional implementations of the embodiment, the execution body may determine a rotation angle of the target remote controller in addition to the rotation axis of the target remote controller.
The rotation angle may be an angle at which the target remote controller rotates about the rotation axis.
Further, the executing body may determine a degree of control of the controlled device in the target control mode based on the rotation angle.
In some cases, the degree of control may be positively or negatively correlated with the rotation angle.
For example, if the target remote controller rotates 10 degrees every time it is turned upward (e.g., the rotation axis is the X-axis of the above-mentioned coordinate system), the degree of controllability may indicate that the temperature of the air conditioner is raised by one degree; if the target remote controller is rotated 10 degrees every time it is turned downward (e.g., the rotation axis is the X-axis of the above-mentioned coordinate system), the degree of controllability may indicate that the temperature of the air conditioner is lowered by one degree.
In some optional implementations of the embodiment, the control degree is represented by a numerical value, and the control degree is in positive correlation with the magnitude of the rotation angle.
203. Determining a control pattern associated with the rotation axis from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
In the present embodiment, the executing body may determine a control mode associated with the rotation axis from a predetermined set of control modes, and set the determined control mode as the target control mode associated with the pose information.
Wherein the set of control modes is set for the controlled device of the target remote controller. The association relation between the control mode in the control mode set and the rotating shaft is established in advance
The axis of rotation may be the X, Y or Z axis in a pre-established coordinate system. On the basis, the user can determine the association relationship between the X-axis, the Y-axis and the Z-axis and the control modes in the control mode set by himself or set the association relationship between the X-axis, the Y-axis and the Z-axis in the default state and the control modes in the control mode set by the technician.
204. And generating a control instruction of the controlled device based on the target control mode.
In this embodiment, the executing body may generate a control instruction of the controlled device based on the target control mode.
In some optional implementations of this embodiment, the rotation angle and the rotation axis of the target remote controller are determined; and, after determining the degree of control over the controlled device in the target control mode based on the rotation angle, the executing body may execute 204 to generate a control command for the controlled device based on the target control mode, as follows:
and generating a control command instructing to control the controlled device in the target control mode according to the control degree based on the target control mode and the control degree.
As an example, if the target control mode is temperature adjustment and the degree of control is one degree of temperature increase, the execution subject may generate a control instruction for instructing to increase the temperature of the controlled device by one degree.
205. And sending the control instruction to the controlled equipment so that the controlled equipment operates according to the instruction of the control instruction.
In this embodiment, the execution main body may send the control instruction to the controlled device, so that the controlled device operates according to an instruction of the control instruction.
It should be noted that, in addition to the contents described above, this embodiment may also be performed in a manner described in the embodiment corresponding to fig. 1, so as to include the features described in the embodiment corresponding to fig. 1, and generate the effects described in the embodiment corresponding to fig. 1, which is not described again here.
According to the control method provided by the embodiment of the disclosure, the target control mode associated with the rotating shaft is determined by identifying the rotating shaft of the target remote controller, so that the manner of controlling the controlled equipment through the remote controller is enriched, the operation of a user on the remote controller is simplified, the efficiency and the accuracy of controlling the controlled equipment through the remote controller are improved, the condition that the user triggers the keys on the remote controller is reduced or even avoided, and the occurrence of the misoperation condition of the user is reduced.
Fig. 3A is a schematic flowchart of another control method provided in the embodiment of the present disclosure, where the method may be applied to a scene in which a controlled device is controlled by a target remote controller, and relates to the field of a home appliance remote controller/remote controller. The method can be applied to electronic equipment such as a server, a remote controller and the like.
As further shown in fig. 3A, the method specifically includes:
first, the gyroscope may collect information. Such as speed information, acceleration information, etc., of a remote control (e.g., the target remote control). As an example, the structure of the above-described remote controller may be as shown in fig. 3B. Wherein the remote control may comprise a top end 1, keys 2, a body portion 3 and a bottom end 4. The top end 1 is provided with a gyroscope; the main body portion 3 may be fitted with an acceleration processor; the bottom end 4 can be provided with a gyroscope; key 2 may be a decision key.
And then, the swinging angle of the remote controller can be calculated through the information collected by the gyroscope.
Then, the options to be operated by the user can be acquired. For example, the rotation axis of the remote controller may be recognized, so as to obtain the option (i.e., the above-mentioned control mode) to be operated by the user. As an example, the rotation axis may be in the coordinate system as shown in fig. 3C as a reference system. The cuboid in fig. 3C may characterize the remote controller described above.
Then, based on the above-mentioned angle and the option to be operated by the user, a control instruction for the controlled device is generated, and the instruction is transmitted to the controlled device.
Specifically, the up-down angle recognition may be performed on the remote controller as follows:
inside the top end 1 and the bottom end 4 of the remote controller, there is a gyroscope respectively, which can control the switching of the gear (i.e. the control degree) and the mode (i.e. the control mode) of the electric appliance (e.g. the controlled device) through the turning angle. If the angle of the gyroscope on the plane of the axis X, Y changes, the motion state of the remote controller can be calculated, and the command is directly sent to the corresponding operation electric appliance (such as the controlled equipment). And when the remote controller is turned over for one angle, the corresponding electric appliance is correspondingly adjusted, and the remote controller generates vibration feedback once. As an example, the controlled device is an air conditioner, and the temperature of the air conditioner rises by one degree every time the remote controller is turned over (for example, rotated by taking the X axis as a rotation axis) by 10 degrees, and the temperature of the air conditioner drops by one degree every time the remote controller is turned over (for example, rotated by taking the X axis as a rotation axis) by 10 degrees, and the user can lock by pressing the determination key when the temperature reaches the temperature desired by the user.
In addition, the left and right angle recognition of the remote controller can be performed in the following way:
inside the top end 1 and the bottom end 4 of the remote controller, there is a gyroscope respectively, which can control the switching of the gear (i.e. the control degree) and the mode (i.e. the control mode) of the electric appliance (e.g. the controlled device) through the turning angle. If the angle of the gyroscope on the plane of the axis Y, Z changes, the motion state of the remote controller can be calculated, and the command is directly sent to the corresponding operation electric appliance (such as the controlled equipment). And when the remote controller is turned for one angle, the corresponding electric appliance is correspondingly adjusted, and the remote controller generates vibration feedback once. As an example, the controlled appliance is an air conditioner, and the remote controller represents a mode every 30 degrees of left and right rotation (i.e., rotation about the Y axis as a rotation axis). The first time of turning left by 30 degrees can enter into a first control mode, the second time of turning left by 30 degrees can enter into a second control mode, and so on, the temperature reaching the user's desire can be locked by pressing the confirm key.
In addition, the track recognition can be carried out on the remote controller in the following mode:
when the remote controller draws a figure and enters a specific mode, the remote controller can be used for waving in the air to receive vibration feedback, and then the confirming key is pressed to enter the specific mode. As an example, the controlled electrical appliance takes an air conditioner as an example, a five-pointed star model is drawn in the air by using a remote controller, and the air conditioner enters a quick cooling mode by pressing a determination key; the moon shape is drawn in the air, the confirmation key is pressed, and the air conditioner enters a sleep mode. The graph and mode user can be self-defined according to the requirement and idea of the user.
According to the control method provided by the embodiment of the disclosure, a new control mode and an interaction mode are adopted, the remote controllers finish pairing and send vibration feedback to the user, and the user can adjust the controlled electric appliance by rotating the angle of the remote controllers. The switch, gear adjustment and mode switching of the household appliance are controlled by angle identification and angle adjustment. The up-down turning represents vector change, the left-right turning represents function switching, and the drawing represents entering a specific mode. From this, can solve the bulky inconvenient problem of carrying of current remote controller, the button is many, and the complicated not convenient to operate user experience is not good such as switching process. And moreover, a new control mode can be unlocked by identifying the track and the angle, so that key input is replaced, a control mode which is more convenient and faster than key operation is realized, and the satisfaction degree and the operation pleasure of user experience are improved. The problem that the user does not have good interactive feedback in the operation process is solved. The user can complete the operation at will, and can also customize the familiar or favorite graph in advance, and after the graph is drawn, the user can control the corresponding preset mode, thereby reducing the steps of repeated debugging.
Fig. 4 is a schematic structural diagram of a control device provided in an embodiment of the present disclosure, which specifically includes:
an acquisition unit 401 configured to acquire pose information of a target remote controller acquired by a gyroscope provided in the target remote controller;
a determining unit 402 configured to determine a target control mode associated with the pose information from a predetermined set of control modes set for the controlled device of the target remote controller, the association between the control mode and the pose information in the set of control modes being established in advance;
a generating unit 403 configured to generate a control instruction of the controlled device based on the target control mode;
a transmitting unit 404 configured to transmit the control instruction to the controlled device so that the controlled device operates according to an instruction of the control instruction.
Optionally, in an apparatus according to any embodiment of the present disclosure, the determining unit 402 is further configured to:
determining a rotation axis of the target remote controller if the pose information indicates that the pose of the target remote controller is rotation;
determining a control pattern associated with the rotation axis from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
Optionally, in an apparatus according to any embodiment of the present disclosure, the determining a rotation axis of the target remote controller includes:
determining a rotation angle and a rotation axis of the target remote controller; and
the above-mentioned device still includes:
determining a degree of control of the controlled device in the target control mode based on the rotation angle; and
the generating of the control command of the controlled device based on the target control mode includes:
and generating a control command instructing to control the controlled device in the target control mode according to the control degree based on the target control mode and the control degree.
Optionally, in the apparatus according to any embodiment of the present disclosure, the control degree is represented by a numerical value, and the control degree is in positive correlation with the magnitude of the rotation angle.
Optionally, in an apparatus according to any embodiment of the present disclosure, the determining unit 402 is further configured to:
if the pose information indicates that the target remote controller is displaced, determining a graph formed by the displacement track of the target remote controller;
determining a control pattern associated with the graph from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
Optionally, in the apparatus according to any embodiment of the present disclosure, the generating unit 403 is further configured to:
and after the target remote controller generates vibration, if the mode confirmation operation executed by the target remote controller is detected, generating a control instruction of the controlled equipment based on the target control mode.
Optionally, in the apparatus according to any embodiment of the present disclosure, the target remote controller includes a first end and a second end, the first end and the second end are disposed opposite to each other, and the first end and the second end are respectively provided with at least one gyroscope; the number of keys set by the target remote controller is less than or equal to 1.
The control device provided in this embodiment may be the control device shown in fig. 4, and may perform all the steps of the control method shown in fig. 1 to 3, so as to achieve the technical effects of the control method shown in fig. 1 to 3, which are described with reference to fig. 1 to 3 for brevity and will not be described herein again.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device 500 shown in fig. 5 includes: at least one processor 501, memory 502, at least one network interface 504, and other user interfaces 503. The various components in the electronic device 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 502 in embodiments of the present disclosure may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), synchlronous SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 502 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable units or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing the method of the embodiments of the present disclosure may be included in the application program 5022.
In the embodiment of the present disclosure, by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022, the processor 501 is configured to execute the method steps provided by the method embodiments, for example, including: acquiring pose information of the target remote controller, which is acquired by a gyroscope arranged in the target remote controller; determining a target control mode associated with the pose information from a predetermined set of control modes, wherein the set of control modes is set for a controlled device of the target remote controller, and an association relationship between the control modes and the pose information in the set of control modes is established in advance; generating a control instruction of the controlled device based on the target control mode; and sending the control instruction to the controlled equipment so that the controlled equipment operates according to the instruction of the control instruction.
Optionally, in the method according to any embodiment of the present disclosure, the determining, from a predetermined set of control modes, a target control mode associated with the pose information includes:
determining a rotation axis of the target remote controller if the pose information indicates that the pose of the target remote controller is rotation;
determining a control pattern associated with the rotation axis from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
Optionally, in a method according to any embodiment of the present disclosure, the determining a rotation axis of the target remote controller includes:
determining a rotation angle and a rotation axis of the target remote controller; and
the method further comprises the following steps:
determining a degree of control of the controlled device in the target control mode based on the rotation angle; and
the generating of the control command of the controlled device based on the target control mode includes:
and generating a control command instructing to control the controlled device in the target control mode according to the control degree based on the target control mode and the control degree.
Optionally, in the method according to any embodiment of the present disclosure, the control degree is represented by a numerical value, and the control degree is in positive correlation with the magnitude of the rotation angle.
Optionally, in the method according to any embodiment of the present disclosure, the determining, from a predetermined set of control modes, a target control mode associated with the pose information includes:
if the pose information indicates that the target remote controller is displaced, determining a graph formed by the displacement track of the target remote controller;
determining a control pattern associated with the graph from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
Optionally, in a method according to any embodiment of the present disclosure, the generating a control instruction of the controlled device based on the target control mode includes:
and after the target remote controller generates vibration, if the mode confirmation operation executed by the target remote controller is detected, generating a control instruction of the controlled equipment based on the target control mode.
Optionally, in the method according to any embodiment of the present disclosure, the target remote controller includes a first end and a second end, the first end and the second end are disposed opposite to each other, and the first end and the second end are respectively provided with at least one gyroscope; the number of keys set by the target remote controller is less than or equal to 1.
The method disclosed by the embodiment of the present disclosure can be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present disclosure may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present disclosure may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, remote controllers, micro-remote controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The electronic device provided in this embodiment may be the electronic device shown in fig. 5, and may perform all the steps of the control method shown in fig. 1 to 3, so as to achieve the technical effects of the control method shown in fig. 1 to 3, which are described with reference to fig. 1 to 3 for brevity and will not be described herein again.
The disclosed embodiments also provide a storage medium (computer-readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors, the control method executed on the electronic device side as described above is realized.
The processor is configured to execute the control program stored in the memory to implement the following steps of the control method executed on the electronic device side: acquiring pose information of the target remote controller, which is acquired by a gyroscope arranged in the target remote controller; determining a target control mode associated with the pose information from a predetermined set of control modes, wherein the set of control modes is set for a controlled device of the target remote controller, and an association relationship between the control modes and the pose information in the set of control modes is established in advance; generating a control instruction of the controlled device based on the target control mode; and sending the control instruction to the controlled equipment so that the controlled equipment operates according to the instruction of the control instruction.
Optionally, in the method according to any embodiment of the present disclosure, the determining, from a predetermined set of control modes, a target control mode associated with the pose information includes:
determining a rotation axis of the target remote controller if the pose information indicates that the pose of the target remote controller is rotation;
determining a control pattern associated with the rotation axis from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
Optionally, in a method according to any embodiment of the present disclosure, the determining a rotation axis of the target remote controller includes:
determining a rotation angle and a rotation axis of the target remote controller; and
the method further comprises the following steps:
determining a degree of control of the controlled device in the target control mode based on the rotation angle; and
the generating of the control command of the controlled device based on the target control mode includes:
and generating a control command instructing to control the controlled device in the target control mode according to the control degree based on the target control mode and the control degree.
Optionally, in the method according to any embodiment of the present disclosure, the control degree is represented by a numerical value, and the control degree is in positive correlation with the magnitude of the rotation angle.
Optionally, in the method according to any embodiment of the present disclosure, the determining, from a predetermined set of control modes, a target control mode associated with the pose information includes:
if the pose information indicates that the target remote controller is displaced, determining a graph formed by the displacement track of the target remote controller;
determining a control pattern associated with the graph from a predetermined set of control patterns, and regarding the determined control pattern as a target control pattern associated with the pose information.
Optionally, in a method according to any embodiment of the present disclosure, the generating a control instruction of the controlled device based on the target control mode includes:
and after the target remote controller generates vibration, if the mode confirmation operation executed by the target remote controller is detected, generating a control instruction of the controlled equipment based on the target control mode.
Optionally, in the method according to any embodiment of the present disclosure, the target remote controller includes a first end and a second end, the first end and the second end are disposed opposite to each other, and the first end and the second end are respectively provided with at least one gyroscope; the number of keys set by the target remote controller is less than or equal to 1.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments, objects, technical solutions and advantages of the present disclosure are described in further detail, it should be understood that the above-mentioned embodiments are merely illustrative of the present disclosure and are not intended to limit the scope of the present disclosure, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A control method, characterized in that the method comprises:
acquiring pose information of a target remote controller, which is acquired by a gyroscope arranged in the target remote controller;
determining a target control mode associated with the pose information from a predetermined set of control modes, wherein the set of control modes is set for a controlled device of the target remote controller, and an association relationship between the control modes and the pose information in the set of control modes is established in advance;
generating a control instruction of the controlled device based on the target control mode;
and sending the control instruction to the controlled equipment to enable the controlled equipment to operate according to the instruction of the control instruction.
2. The method according to claim 1, wherein the determining a target control pattern associated with the pose information from a predetermined set of control patterns comprises:
if the pose information indicates that the pose of the target remote controller is rotation, determining a rotation axis of the target remote controller;
determining a control mode associated with the rotation axis from a predetermined set of control modes, and regarding the determined control mode as a target control mode associated with the pose information.
3. The method of claim 2, wherein the determining the axis of rotation of the target remote control comprises:
determining a rotation angle and a rotation axis of the target remote controller; and
the method further comprises the following steps:
determining a degree of control over the controlled device in the target control mode based on the rotation angle; and
the generating of the control instruction of the controlled device based on the target control mode comprises:
and generating a control instruction for instructing to control the controlled device in the target control mode according to the control degree based on the target control mode and the control degree.
4. The method of claim 3, wherein the degree of control is numerically characterized, and the degree of control is positively correlated to the magnitude of the angle of rotation.
5. The method according to claim 1, wherein the determining a target control pattern associated with the pose information from a predetermined set of control patterns comprises:
if the pose information indicates that the target remote controller is displaced, determining a graph formed by the displacement track of the target remote controller;
determining a control mode associated with the graphic from a predetermined set of control modes, and regarding the determined control mode as a target control mode associated with the pose information.
6. The method according to any one of claims 1 to 5, wherein the generating a control instruction of the controlled device based on the target control mode comprises:
and after the target remote controller generates vibration, if the mode confirmation operation executed by the target remote controller is detected, generating a control instruction of the controlled equipment based on the target control mode.
7. The method of any one of claims 1-5, wherein the target remote control comprises a first end and a second end, the first end and the second end being disposed opposite each other, the first end and the second end each being provided with at least one gyroscope; the number of keys arranged on the target remote controller is less than or equal to 1.
8. A control device, characterized in that the device comprises:
an acquisition unit configured to acquire pose information of a target remote controller acquired by a gyroscope provided in the target remote controller;
a determination unit configured to determine a target control mode associated with the pose information from a predetermined set of control modes set for controlled devices of the target remote controller, an association between the control mode and the pose information in the set of control modes being established in advance;
a generation unit configured to generate a control instruction of the controlled device based on the target control mode;
a sending unit configured to send the control instruction to the controlled device so that the controlled device operates according to an instruction of the control instruction.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing a computer program stored in the memory, and when executed, implementing the method of any of the preceding claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of the preceding claims 1 to 7.
CN202111359575.9A 2021-11-16 2021-11-16 Control method, control device, electronic equipment and storage medium Active CN114153309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111359575.9A CN114153309B (en) 2021-11-16 2021-11-16 Control method, control device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111359575.9A CN114153309B (en) 2021-11-16 2021-11-16 Control method, control device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114153309A true CN114153309A (en) 2022-03-08
CN114153309B CN114153309B (en) 2024-03-08

Family

ID=80456342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111359575.9A Active CN114153309B (en) 2021-11-16 2021-11-16 Control method, control device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114153309B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114770518A (en) * 2022-05-23 2022-07-22 科沃斯机器人股份有限公司 Robot control system, method, electronic device, and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102205183A (en) * 2011-04-18 2011-10-05 路海燕 Gyroscope remote controller of electric scooter
CN105144257A (en) * 2013-03-13 2015-12-09 谷歌公司 Systems, methods, and media for providing an enhanced remote control having multiple modes
CN109237718A (en) * 2018-08-16 2019-01-18 珠海格力电器股份有限公司 A kind of control method of air-conditioning, device, storage medium and air-conditioning
CN110500726A (en) * 2019-08-21 2019-11-26 宁波奥克斯电气股份有限公司 Intelligent remote controller control method, intelligent remote controller, air-conditioning remote control and air conditioner
US20210133995A1 (en) * 2017-08-31 2021-05-06 Sony Corporation Electronic devices, methods, and computer program products for controlling 3d modeling operations based on pose metrics
CN112987580A (en) * 2019-12-12 2021-06-18 华为技术有限公司 Equipment control method and device, server and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102205183A (en) * 2011-04-18 2011-10-05 路海燕 Gyroscope remote controller of electric scooter
CN105144257A (en) * 2013-03-13 2015-12-09 谷歌公司 Systems, methods, and media for providing an enhanced remote control having multiple modes
US20210133995A1 (en) * 2017-08-31 2021-05-06 Sony Corporation Electronic devices, methods, and computer program products for controlling 3d modeling operations based on pose metrics
CN109237718A (en) * 2018-08-16 2019-01-18 珠海格力电器股份有限公司 A kind of control method of air-conditioning, device, storage medium and air-conditioning
CN110500726A (en) * 2019-08-21 2019-11-26 宁波奥克斯电气股份有限公司 Intelligent remote controller control method, intelligent remote controller, air-conditioning remote control and air conditioner
CN112987580A (en) * 2019-12-12 2021-06-18 华为技术有限公司 Equipment control method and device, server and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114770518A (en) * 2022-05-23 2022-07-22 科沃斯机器人股份有限公司 Robot control system, method, electronic device, and computer-readable storage medium
CN114770518B (en) * 2022-05-23 2023-08-29 科沃斯机器人股份有限公司 Robot control system, method, electronic device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN114153309B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
US9261969B2 (en) Gesture detecting device, gesture recognition device
US10052147B2 (en) Touch free operation of ablator workstation by use of depth sensors
US8610664B2 (en) Method of controlling a control point position on a command area and method for control of a device
KR101224351B1 (en) Method for locating an object associated with a device to be controlled and a method for controlling the device
KR101450231B1 (en) Touch gestures for remote control operations
JP5440176B2 (en) Input device, control device, control system, handheld device, and control method
EP2996015A1 (en) Method to use augmented reality to function as hmi display
CN105975061A (en) Control method and apparatus for virtual reality scene as well as handle
JP6215933B2 (en) Input device and method for inputting operation request
EP3130969A1 (en) Method and device for showing work state of a device
CN108159685B (en) Virtual rocker control method and system based on gyroscope, medium and equipment thereof
EP3557384A1 (en) Device and method for providing dynamic haptic playback for an augmented or virtual reality environments
KR101392936B1 (en) User Customizable Interface System and Implementing Method thereof
WO2017107536A1 (en) Method and apparatus for locking and unlocking remote controller
WO2016179912A1 (en) Application program control method and apparatus, and mobile terminal
CN108268255A (en) For programming the method and apparatus of robot
CN105632159A (en) Remote control management method and terminal device
CN114153309A (en) Control method, control device, electronic equipment and storage medium
CN108734939B (en) Electronic equipment control method and device, electronic equipment and readable storage medium
CN112987924A (en) Method, apparatus, device and storage medium for device interaction
KR102086578B1 (en) Method to output command menu
US11301059B2 (en) Gesture recognition system having origin resetting means
CN110780743A (en) VR (virtual reality) interaction method and VR equipment
TWI531957B (en) Operational methods and systems for motion-centric user interfaces, and related computer program prodcuts
WO2014129378A1 (en) Character string input system

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
GR01 Patent grant
GR01 Patent grant