CN114153309B - 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
CN114153309B
CN114153309B CN202111359575.9A CN202111359575A CN114153309B CN 114153309 B CN114153309 B CN 114153309B CN 202111359575 A CN202111359575 A CN 202111359575A CN 114153309 B CN114153309 B CN 114153309B
Authority
CN
China
Prior art keywords
control
remote controller
target
control mode
target remote
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.)
Active
Application number
CN202111359575.9A
Other languages
Chinese (zh)
Other versions
CN114153309A (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

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 control method comprises the following steps: 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, wherein the control mode set is set for controlled equipment of the target remote controller, and the association relationship between the control mode in the control mode set and the pose information is pre-established; 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 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 embodiment of the disclosure relates to the field of control, in particular to a control method, a control device, electronic equipment and a storage medium.
Background
Currently, for most household appliances, they are often controlled by an infrared remote control.
However, the remote controller is complex and complex to operate, has numerous keys and has complicated functions, so that a user can easily operate the remote controller by mistake in the using process. In addition, if the operated product has no display screen, it is difficult to find the mode and degree of operation. In addition, in the existing remote controller, under the condition that indoor light is poor, eyesight of a user is poor or the user is drowsy, control keys are difficult to select from a plurality of keys, so that 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, apparatus, electronic device, and storage medium.
In a first aspect, an embodiment of the present disclosure provides a control method, where the method 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, wherein the control mode set is set for controlled equipment of the target remote controller, and the association relationship between the control mode in the control mode set and the pose information is pre-established;
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 of any embodiment of the present disclosure, determining the target control mode associated with the pose information from the predetermined control mode set includes:
if the pose information indicates that the pose of the target remote controller is rotation, determining a rotation axis of the target remote controller;
the control mode associated with the rotation axis is determined from a predetermined control mode set, and the determined control mode is taken as a target control mode associated with the pose information.
Optionally, in the method of any embodiment of the disclosure, determining the 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 control degree of the controlled device in the target control mode based on the rotation angle; and
the generating a control command of the controlled device based on the target control mode includes:
Based on the target control mode and the control degree, a control instruction for instructing to control the controlled device according to the control degree in the target control mode is generated.
Optionally, in the method of any embodiment of the disclosure, the control degree is represented by a numerical value, and the control degree is positively correlated with the magnitude of the rotation angle.
Optionally, in the method of any embodiment of the present disclosure, determining the target control mode associated with the pose information from the predetermined control mode set includes:
if the pose information indicates that the target remote controller is displaced, determining a graph formed by a displacement track of the target remote controller;
the control mode associated with the graphic is determined from a predetermined set of control modes, and the determined control mode is taken as a target control mode associated with the pose information.
Optionally, in the method of any embodiment of the present disclosure, generating the control instruction of the controlled device based on the target control mode includes:
and generating a control command of the controlled device based on the target control mode if a mode confirmation operation performed by the target remote controller is detected after the target remote controller generates vibration.
Optionally, in the method of any embodiment of the disclosure, the target remote controller includes a first end and a second end, where 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, including:
an acquisition unit configured to acquire pose information of the target remote controller acquired by a gyroscope provided in the target remote controller;
a determining unit configured to determine a target control mode associated with the pose information from a predetermined control mode set for a controlled device of the target remote controller, the association relationship between the control mode and the pose information in the control mode set being established in advance;
a generation unit configured to generate a control instruction of the controlled device based on the target control pattern;
and a transmitting unit configured to transmit the control instruction to the controlled device so that the controlled device operates in accordance with the instruction of the control instruction.
Optionally, in the apparatus of any embodiment of the disclosure, the determining unit is further configured to:
if the pose information indicates that the pose of the target remote controller is rotation, determining a rotation axis of the target remote controller;
the control mode associated with the rotation axis is determined from a predetermined control mode set, and the determined control mode is taken as a target control mode associated with the pose information.
Optionally, in the apparatus of any embodiment of the disclosure, the determining the rotation axis of the target remote controller includes:
determining a rotation angle and a rotation axis of the target remote controller; and
the device further comprises:
determining a control degree of the controlled device in the target control mode based on the rotation angle; and
the generating a control command of the controlled device based on the target control mode includes:
based on the target control mode and the control degree, a control instruction for instructing to control the controlled device according to the control degree in the target control mode is generated.
Optionally, in the apparatus of any embodiment of the disclosure, the control degree is represented by a numerical value, and the control degree is positively related to the magnitude of the rotation angle.
Optionally, in the apparatus of any embodiment of the 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 a displacement track of the target remote controller;
the control mode associated with the graphic is determined from a predetermined set of control modes, and the determined control mode is taken as a target control mode associated with the pose information.
Optionally, in an apparatus of any embodiment of the disclosure, the generating unit is further configured to:
and generating a control command of the controlled device based on the target control mode if a mode confirmation operation performed by the target remote controller is detected after the target remote controller generates vibration.
Optionally, in the apparatus of any one of the embodiments of the present disclosure, the target remote control includes a first end and a second end, where the first end and the second end are disposed opposite to each other, and at least one gyroscope is disposed on each of the first end and the second end; 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;
and a processor for executing the computer program stored in the memory, and when the computer program is executed, implementing the method of any embodiment of the control method of the first aspect of the disclosure.
In a fourth aspect, embodiments of the present disclosure provide a computer readable medium, which when executed by a processor, implements a method as in any of the embodiments of the control method of the first aspect described above.
In a fifth aspect, embodiments of the present disclosure provide a computer program comprising computer readable code which, when run on a device, causes a processor in the device to execute instructions for carrying out the steps of the method as in any of the embodiments of the control method of the first aspect described above.
According to the control scheme provided by the embodiment of the disclosure, pose information of the target remote controller acquired by a gyroscope arranged in the target remote controller is acquired, then, a target control mode related to the pose information is determined from a predetermined control mode set, wherein the control mode set is set for controlled equipment of the target remote controller, the association relationship between the control mode in the control mode set and the pose information is pre-established, then, a control instruction of the controlled equipment is generated based on the target control mode, and finally, the control instruction is sent to the controlled equipment so that the controlled equipment 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 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 disclosure;
FIG. 2 is a flow chart of another control method according to an embodiment of the disclosure;
FIG. 3A is a flow chart of yet another control method provided by an embodiment of the present disclosure;
fig. 3B is a schematic structural diagram of a target remote controller according to an embodiment of the disclosure;
FIG. 3C is an exemplary schematic diagram of a rotational axis of a target remote control 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 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 the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
It will be appreciated by those of skill in the art that the terms "first," "second," etc. in embodiments of the present disclosure are used merely to distinguish between different steps, devices, or modules, and do not represent any particular technical meaning nor logical order between them.
It should also be understood that in embodiments of the present disclosure, "plurality" may refer to two or more, and "at least one" may refer to one, two or more.
It should also be appreciated that any component, data, or structure referred to in the presently disclosed embodiments may be generally understood as one or more without explicit limitation or the contrary in the context.
In addition, the term "and/or" in this disclosure is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the front and rear association objects are 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 that the same or similar features may be referred to each other, and for brevity, will not be described in detail.
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 one 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 numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other. For an understanding of the embodiments of the present disclosure, the present disclosure will be described in detail below with reference to the drawings in conjunction with the embodiments. It will be apparent that the described embodiments are some, but not all, of the embodiments of the present disclosure. Based on the embodiments in this disclosure, all other embodiments that a person of ordinary skill in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
Fig. 1 is a schematic flow chart of a control method according to an embodiment of the present disclosure, as shown in fig. 1, where 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, the execution subject of the control method (e.g., a target remote controller, a control device, and an electronic apparatus (e.g., a server) communicatively connected to the target remote controller) may acquire pose information of the target remote controller acquired by a gyroscope (e.g., a gyroscope having a model number of 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 and posture.
In some optional implementations of this embodiment, the target remote control includes a first end and a second end, where the first end and the second end are disposed opposite to each other, and at least one gyroscope is disposed on each of the first end and the second end. The number of keys set by the target remote controller is less than or equal to 1.
The key set of the target remote controller can be a physical key or a virtual key.
In some cases, the target remote control may not need to be provided with a key, so that the user may interact with the target remote control by rotating and/or moving the target remote control.
Here, the target remote controller may have a bar shape or a rectangular parallelepiped shape. At both ends of the target remote control (i.e., the first and second ends described above), one or more gyroscopes may be provided, respectively.
It can be understood that in the above-mentioned alternative implementation manner, the pose information of the target remote controller can be acquired through gyroscopes respectively arranged at the first end and the second end, so that the accuracy of the obtained pose information is improved, the number of keys arranged through the target remote controller is less than or equal to 1, so that a 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 accuracy of controlling the controlled device through the remote controller are improved.
102. From a predetermined set of control modes, a target control mode associated with the above-described pose information is determined.
In this embodiment, the execution body may determine the target control mode associated with the pose information from a predetermined control mode set.
The control mode set may be set for a controlled device (e.g., an air conditioner, a television, etc.) of the target remote controller.
The association relationship between the control modes in the control mode set and the pose information is pre-established.
The control patterns in the set of control patterns may characterize at least one of: louder, higher temperature, lower temperature, sleep mode, cooling mode, dehumidifying mode, etc.
As an example, if the pose information indicates that the target remote controller has rotated in a first direction (e.g., an X-axis direction of a preset coordinate system) and the control mode in which an association relationship with the pose information is previously established characterizes the adjustment volume, the execution subject may determine that the target control mode is "adjustment volume"; if the pose information indicates that the target remote controller rotates in a second direction (for example, the Y-axis direction of a preset coordinate system), and a control mode representing function of which an association relationship is established in advance with the pose information is switched, the execution subject may determine that the target control mode is "function switching"; if the pose information indicates that the target remote controller has formed a preset shape (e.g., five-pointed star) by moving, and the control mode, which has previously established an association relationship with the pose information, is a sleep mode, the execution subject may determine that the target control mode is the "sleep mode".
In some cases, the association relationship between the control modes in the control mode set and the pose information may be established via users, and the association relationship established by different users may be the same or different. Under the condition that the association relations established by different users are different, the executing main body or the target remote controller can determine the association relation established by the users through modes of inputting account numbers, fingerprint identification, face identification and the like, and further determine a target control mode of the association relation established by the users and associated with the pose information.
In some optional implementations of this 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:
first, if the pose information indicates that the target remote controller is displaced, determining a graph formed by a displacement track of the target remote controller.
As an example, the execution subject may determine a pattern formed by the displacement trajectory of the target remote controller by using velocity data and acceleration data included in the pose information acquired by the gyroscope. In practice, the pattern formed by the displacement track of the target remote control may include, but is not limited to: the moon shape, the five-pointed star shape and the triangle shape, and in addition, the graph formed by the displacement track of the target remote controller can also be a user-defined shape.
Then, a control pattern associated with the pattern is determined from a predetermined control pattern set, and the determined control pattern is used as a target control pattern associated with the pose information.
103. And generating a control instruction of the controlled equipment based on the target control mode.
In this embodiment, the execution body may generate a control instruction for instructing the controlled device to operate in accordance with 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 that generates the control instruction of the controlled device based on the target control mode:
and generating a control command of the controlled device based on the target control mode if a mode confirmation operation performed by the target remote controller is detected after the target remote controller generates vibration.
In practice, the target remote controller may generate vibrations after the execution subject determines the target control mode. Thereafter, the user may trigger the execution of the above step 103 by a mode confirm 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 body may send the control instruction to the controlled device, so that the controlled device operates according to the instruction of the control instruction.
According to the control method provided by the embodiment of the disclosure, pose information of the target remote controller acquired by a gyroscope arranged in the target remote controller is acquired, then a target control mode related to the pose information is determined from a predetermined control mode set, wherein the control mode set is set for controlled equipment of the target remote controller, the association relationship between the control mode in the control mode set and the pose information is pre-established, then a control instruction of the controlled equipment is generated based on the target control mode, and finally the control instruction is sent to the controlled equipment so that the controlled equipment 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 accuracy of controlling the controlled equipment through the remote controller are improved.
Fig. 2 is a flow chart of another control method provided in an embodiment of the disclosure, as shown in fig. 2, where 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, the execution subject of the control method (e.g., the target remote controller, the control device, and the electronic device (e.g., the server) communicatively connected to the target remote controller) may acquire pose information of the target remote controller acquired by the 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 target remote controller is rotation, the execution subject may determine the rotation axis of the target remote controller.
In practice, a coordinate system may be established in advance, so that the rotation axis of the target remote controller is determined with reference to the coordinate system.
In some optional implementations of this embodiment, the execution body may determine a rotation angle of the target remote controller in addition to determining a 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 execution 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 rotated (for example, the rotation axis is the X axis of the above coordinate system), the degree of control may indicate that the temperature of the air conditioner is raised by one degree; if the target remote controller is rotated by 10 degrees every time it is rotated downward (for example, the rotation axis is the X axis of the above coordinate system), the degree of control may indicate that the temperature of the air conditioner is lowered by one degree.
In some alternative implementations of this embodiment, the control level is represented by a numerical value, where the control level is positively correlated with the magnitude of the rotation angle.
203. The control mode associated with the rotation axis is determined from a predetermined control mode set, and the determined control mode is taken as a target control mode associated with the pose information.
In this embodiment, the execution body may determine a control mode associated with the rotation axis from a predetermined control mode set, and use the determined control mode as the target control mode associated with the pose information.
Wherein the control mode set is set for the controlled device of the target remote controller. The association relationship between the control mode and the rotation axis in the control mode set is pre-established
The rotation axis may be an X-axis, a Y-axis, or a 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 by setting the association relationship between the X axis, the Y axis and the Z axis and the control modes in the control mode set under the default state by a technician.
204. And generating a control instruction of the controlled equipment based on the target control mode.
In this embodiment, the execution body may generate the control instruction of the controlled device based on the target control mode.
In some optional implementations of the present embodiments, the rotation angle and the rotation axis of the target remote control are determined; and, after determining the degree of control of the controlled device in the target control mode based on the rotation angle, the execution body may execute the 204 in such a manner as to generate a control instruction of the controlled device based on the target control mode:
Based on the target control mode and the control degree, a control instruction for instructing to control the controlled device according to the control degree in the target control mode is generated.
As an example, if the target control mode is temperature adjustment and the degree of control is a temperature rise one degree, the execution body may generate a control instruction for instructing to raise the temperature of the controlled device 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 body may send the control instruction to the controlled device, so that the controlled device operates according to the instruction of the control instruction.
It should be noted that, in addition to the 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, to produce the effects described in the embodiment corresponding to fig. 1, which are not described herein.
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 mode 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 accuracy of controlling the controlled equipment through the remote controller are improved, the key on the remote controller triggered by the user is reduced or even avoided, and the occurrence of misoperation of the user is reduced.
Fig. 3A is a flowchart of another control method according to an embodiment of the present disclosure, where the method may be applied to a control scenario of a controlled device by a target remote controller, and relates to the field of home appliance remote controllers/remote controllers. 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 described above). As an example, the structure of the remote controller described above may be as shown in fig. 3B. The remote control may include 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 body part 3 may be provided with an acceleration processor; the bottom end 4 can be provided with a gyroscope; the key 2 may be a determination key.
And then, calculating the angle of the swing of the remote controller through information acquired 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 identified, so that the option (i.e., the control mode) to be operated by the user is obtained. As an example, the rotation axis may be a reference frame with respect to the coordinate system shown in fig. 3C. The cuboid in fig. 3C may characterize the remote control described above.
Then, based on the 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 can be performed on the remote controller in the following manner:
inside the top end 1 and the bottom end 4 of the remote controller, there is a gyroscope, which can control the shift (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 X, Y axis changes, the motion state of the remote controller can be calculated, and the instruction is directly sent to a corresponding operation electric appliance (such as the controlled equipment). Each overturning angle corresponds to the corresponding electric appliance to be correspondingly adjusted, and the remote controller generates vibration feedback once. As an example, the controlled device takes the air conditioner as an example, when the remote controller turns upwards (for example, rotates around the X axis) by 10 degrees, the temperature of the air conditioner rises by one degree, and when the remote controller turns downwards (for example, rotates around the X axis) by 10 degrees, the temperature of the air conditioner drops by one degree, and the user can press the determination key to lock the air conditioner when the temperature desired by the user is reached.
In addition, the left-right angle identification can be performed on the remote controller in the following manner:
Inside the top end 1 and the bottom end 4 of the remote controller, there is a gyroscope, which can control the shift (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 Y, Z axis changes, the motion state of the remote controller can be calculated, and the instruction is directly sent to a corresponding operation electric appliance (such as the controlled equipment). And when the remote controller turns over, the corresponding electric appliance generates corresponding adjustment and the remote controller generates vibration feedback once. As an example, the controlled appliance takes an air conditioner as an example, and each time the remote controller rotates about 30 degrees (i.e., rotates about the Y axis), it represents one mode. The first control mode can be entered by rotating 30 degrees leftwards for the first time, the second control mode can be entered by rotating 30 degrees leftwards again, and the like, so that the temperature wanted by a user can be locked by pressing the determination key.
In addition, the following manner can be adopted to carry out track recognition on the remote controller:
when the remote controller draws a pattern and enters a specific mode, the remote controller can be used for swinging in the air to receive vibration feedback, then the determination key is pressed, and the specific mode is entered. As an example, the controlled electric appliance takes an air conditioner as an example, a remote controller is used for drawing the shape of a five-pointed star in the air, a determination key is pressed, and the air conditioner enters a rapid refrigeration mode; drawing moon modeling in the air, pressing a determination key, and enabling the air conditioner to enter a sleep mode. The graph and mode users can be customized according to own requirements and ideas.
According to the control method provided by the embodiment of the disclosure, a new control mode and an interaction mode are adopted, the remote controller is matched to send vibration feedback to a user, and the user can adjust the controlled electric appliance by rotating the angle of the remote controller. And the switch, gear adjustment and mode switching of the household appliance are controlled by adjusting the angle through angle identification. The up-down flip represents vector change, the left-right flip represents function switching, and drawing of a figure represents entering a specific mode. Therefore, the problems that the existing remote controller is large in size, inconvenient to carry, multiple in keys, complex in switching process, inconvenient to operate and poor in user experience can be solved. And the track and angle recognition can unlock a new control mode, replaces key input, realizes a control mode more convenient than key operation, and improves the satisfaction degree and the operation pleasure of user experience. The method solves the problem that the user does not have good interactive feedback in the operation process. The user can finish the operation at will, the familiar or favorite graph can be customized in advance, after the graph is drawn, the user can control to the corresponding preset mode, and the repeated debugging step is reduced.
Fig. 4 is a schematic structural diagram of a control device according to an embodiment of the present disclosure, which specifically includes:
An acquisition unit 401 configured to acquire pose information of the 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 control mode set for a controlled device of the target remote controller, the association relationship between the control mode and the pose information in the control mode set being established in advance;
a generating unit 403 configured to generate a control instruction of the controlled device based on the target control mode;
and a transmitting unit 404 configured to transmit the control instruction to the controlled apparatus so that the controlled apparatus operates according to the instruction of the control instruction.
Optionally, in the apparatus of any embodiment of the disclosure, the determining unit 402 is further configured to:
if the pose information indicates that the pose of the target remote controller is rotation, determining a rotation axis of the target remote controller;
the control mode associated with the rotation axis is determined from a predetermined control mode set, and the determined control mode is taken as a target control mode associated with the pose information.
Optionally, in the apparatus of any embodiment of the disclosure, the determining the rotation axis of the target remote controller includes:
determining a rotation angle and a rotation axis of the target remote controller; and
the device further comprises:
determining a control degree of the controlled device in the target control mode based on the rotation angle; and
the generating a control command of the controlled device based on the target control mode includes:
based on the target control mode and the control degree, a control instruction for instructing to control the controlled device according to the control degree in the target control mode is generated.
Optionally, in the apparatus of any embodiment of the disclosure, the control degree is represented by a numerical value, and the control degree is positively related to the magnitude of the rotation angle.
Optionally, in the apparatus of any embodiment of the 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 a displacement track of the target remote controller;
the control mode associated with the graphic is determined from a predetermined set of control modes, and the determined control mode is taken as a target control mode associated with the pose information.
Optionally, in the apparatus of any embodiment of the disclosure, the generating unit 403 is further configured to:
and generating a control command of the controlled device based on the target control mode if a mode confirmation operation performed by the target remote controller is detected after the target remote controller generates vibration.
Optionally, in the apparatus of any one of the embodiments of the present disclosure, the target remote control includes a first end and a second end, where the first end and the second end are disposed opposite to each other, and at least one gyroscope is disposed on each of the first end and the second end; 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 a control device as shown in fig. 4, and may perform all steps of the control method shown in fig. 1-3, so as to achieve the technical effects of the control method shown in fig. 1-3, and the detailed description is omitted herein for brevity.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and an 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 bus system 505 is used to enable connected 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. But for clarity of illustration 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, a trackball, a touch pad, or a touch screen, etc.).
It is to be appreciated 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 nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (Double Data Rate SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct memory bus 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 implementations, the memory 502 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: 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, for implementing various basic services and processing hardware-based tasks. The application 5022 includes various application programs such as a Media Player (Media Player), a Browser (Browser), and the like for realizing various application services. A program implementing the method of the embodiment of the present disclosure may be included in the application 5022.
In the embodiments of the present disclosure, the processor 501 is configured to execute the method steps provided by the method embodiments by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022, for example, including: 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, wherein the control mode set is set for controlled equipment of the target remote controller, and the association relationship between the control mode in the control mode set and the pose information is pre-established; 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 of any embodiment of the present disclosure, determining the target control mode associated with the pose information from the predetermined control mode set includes:
if the pose information indicates that the pose of the target remote controller is rotation, determining a rotation axis of the target remote controller;
the control mode associated with the rotation axis is determined from a predetermined control mode set, and the determined control mode is taken as a target control mode associated with the pose information.
Optionally, in the method of any embodiment of the disclosure, determining the 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 control degree of the controlled device in the target control mode based on the rotation angle; and
the generating a control command of the controlled device based on the target control mode includes:
based on the target control mode and the control degree, a control instruction for instructing to control the controlled device according to the control degree in the target control mode is generated.
Optionally, in the method of any embodiment of the disclosure, the control degree is represented by a numerical value, and the control degree is positively correlated with the magnitude of the rotation angle.
Optionally, in the method of any embodiment of the present disclosure, determining the target control mode associated with the pose information from the predetermined control mode set includes:
if the pose information indicates that the target remote controller is displaced, determining a graph formed by a displacement track of the target remote controller;
the control mode associated with the graphic is determined from a predetermined set of control modes, and the determined control mode is taken as a target control mode associated with the pose information.
Optionally, in the method of any embodiment of the present disclosure, generating the control instruction of the controlled device based on the target control mode includes:
and generating a control command of the controlled device based on the target control mode if a mode confirmation operation performed by the target remote controller is detected after the target remote controller generates vibration.
Optionally, in the method of any embodiment of the disclosure, the target remote controller includes a first end and a second end, where 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 methods disclosed in the embodiments of the present disclosure described above may 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 circuitry in hardware or instructions in software in the processor 501. The processor 501 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks of the disclosure in the embodiments of the 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 a method disclosed in connection with the embodiments of the present disclosure may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software elements in a decoded processor. The software elements may be located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 502, and the processor 501 reads information in the memory 502 and, in combination with its hardware, performs the steps of the method described above.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For a hardware implementation, the processing units may be implemented within one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (dspev, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general purpose processors, remote controllers, micro-remote controllers, microprocessors, other electronic units for performing the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units that perform 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 an electronic device as shown in fig. 5, and may perform all the steps of the control method shown in fig. 1-3, so as to achieve the technical effects of the control method shown in fig. 1-3, and the detailed description is omitted herein for brevity.
The disclosed embodiments also provide a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. Wherein the storage medium may comprise volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid state disk; the memory may also comprise a combination of the above types of memories.
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 described above is implemented.
The processor is configured to execute a control program stored in the memory, so as to implement the following steps of a control method executed on the electronic device side: 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, wherein the control mode set is set for controlled equipment of the target remote controller, and the association relationship between the control mode in the control mode set and the pose information is pre-established; 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 of any embodiment of the present disclosure, determining the target control mode associated with the pose information from the predetermined control mode set includes:
if the pose information indicates that the pose of the target remote controller is rotation, determining a rotation axis of the target remote controller;
the control mode associated with the rotation axis is determined from a predetermined control mode set, and the determined control mode is taken as a target control mode associated with the pose information.
Optionally, in the method of any embodiment of the disclosure, determining the 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 control degree of the controlled device in the target control mode based on the rotation angle; and
the generating a control command of the controlled device based on the target control mode includes:
based on the target control mode and the control degree, a control instruction for instructing to control the controlled device according to the control degree in the target control mode is generated.
Optionally, in the method of any embodiment of the disclosure, the control degree is represented by a numerical value, and the control degree is positively correlated with the magnitude of the rotation angle.
Optionally, in the method of any embodiment of the present disclosure, determining the target control mode associated with the pose information from the predetermined control mode set includes:
if the pose information indicates that the target remote controller is displaced, determining a graph formed by a displacement track of the target remote controller;
the control mode associated with the graphic is determined from a predetermined set of control modes, and the determined control mode is taken as a target control mode associated with the pose information.
Optionally, in the method of any embodiment of the present disclosure, generating the control instruction of the controlled device based on the target control mode includes:
and generating a control command of the controlled device based on the target control mode if a mode confirmation operation performed by the target remote controller is detected after the target remote controller generates vibration.
Optionally, in the method of any embodiment of the disclosure, the target remote controller includes a first end and a second end, where 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 elements 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 elements and steps are described above generally in terms of function in order to clearly illustrate the 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 solution. 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, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed 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.
While the foregoing embodiments have been described in some detail for purposes of clarity of understanding, it will be understood that the above description is by way of example only and is not intended to limit the scope of the disclosure, and that any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (8)

1. A control method, characterized in that the method is applied to a target remote controller, the target remote controller includes a top end, a main body portion, and a bottom end, a unique key of the target remote controller is provided in the main body portion, the unique key is used for performing a confirmation operation, and at least one gyroscope is respectively mounted on the top end and the bottom end, the method includes:
acquiring pose information of the target remote controller acquired by at least two gyroscopes arranged in the target remote controller;
determining a target control mode associated with the pose information from a predetermined control mode set, wherein the control mode set is set for controlled equipment of the target remote controller, and the association relationship between the control mode in the control mode set and the pose information is pre-established;
generating a control instruction of the controlled device based on the target control mode;
the control instruction is sent to the controlled equipment, so that the controlled equipment operates according to the instruction of the control instruction;
the generating a control instruction of the controlled device based on the target control mode includes:
Generating a control instruction of the controlled device based on the target control mode if a mode confirmation operation performed through the unique key of the target remote controller is detected after the target remote controller generates vibration, wherein the target remote controller generates vibration after the target control mode is determined;
and determining that the pose information is associated with different control modes in the control mode set when the target remote controller rotates by a preset angle under the condition that the pose information comprises the rotation angle of the target remote controller.
2. The method of 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;
from a predetermined set of control modes, a control mode associated with the rotation axis is determined, and the determined control mode is taken 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 steps of:
determining a degree of control of the controlled device in the target control mode based on the rotation angle; and
the generating a control instruction of the controlled device based on the target control mode includes:
based on the target control mode and the control degree, a control instruction for instructing to control the controlled device according to the control degree in the target control mode is generated.
4. A method according to claim 3, wherein the degree of control is characterized by a numerical value, the degree of control being positively correlated with the magnitude of the angle of rotation.
5. The method of 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 a displacement track of the target remote controller;
from a predetermined set of control modes, determining a control mode associated with the graphic, and regarding the determined control mode as a target control mode associated with the pose information.
6. A control device, characterized in that the device is applied to a target remote controller, the target remote controller includes a top end, a main body portion, and a bottom end, a unique key of the target remote controller is provided in the main body portion, the unique key is used for performing a confirmation operation, and at least one gyroscope is respectively installed at the top end and the bottom end, the device includes:
an acquisition unit configured to acquire pose information of the target remote controller acquired by at least two gyroscopes provided in the target remote controller;
a determining unit configured to determine a target control mode associated with the pose information from a predetermined control mode set for a controlled device of the target remote controller, the association relationship between the control mode and the pose information in the control mode set being established in advance;
a generation unit configured to generate a control instruction of the controlled device based on the target control pattern;
a transmitting unit configured to transmit the control instruction to the controlled apparatus so that the controlled apparatus operates according to the instruction of the control instruction;
The generating a control instruction of the controlled device based on the target control mode includes:
generating a control instruction of the controlled device based on the target control mode if a mode confirmation operation performed through the unique key of the target remote controller is detected after the target remote controller generates vibration, wherein the target remote controller generates vibration after the target control mode is determined;
and determining that the pose information is associated with different control modes in the control mode set when the target remote controller rotates by a preset angle under the condition that the pose information comprises the rotation angle of the target remote controller.
7. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing a computer program stored in said memory, and which, when executed, implements the method of any of the preceding claims 1-5.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any of the preceding claims 1-5.
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 CN114153309A (en) 2022-03-08
CN114153309B true 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)

Families Citing this family (1)

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

Citations (5)

* 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
CN112987580A (en) * 2019-12-12 2021-06-18 华为技术有限公司 Equipment control method and device, server and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11551368B2 (en) * 2017-08-31 2023-01-10 Sony Group Corporation Electronic devices, methods, and computer program products for controlling 3D modeling operations based on pose metrics

Patent Citations (5)

* 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
CN112987580A (en) * 2019-12-12 2021-06-18 华为技术有限公司 Equipment control method and device, server and storage medium

Also Published As

Publication number Publication date
CN114153309A (en) 2022-03-08

Similar Documents

Publication Publication Date Title
US9261969B2 (en) Gesture detecting device, gesture recognition device
JP3280559B2 (en) Jog dial simulation input device
KR101224351B1 (en) Method for locating an object associated with a device to be controlled and a method for controlling the device
CN105975061A (en) Control method and apparatus for virtual reality scene as well as handle
EP3130969A1 (en) Method and device for showing work state of a device
EP3557384A1 (en) Device and method for providing dynamic haptic playback for an augmented or virtual reality environments
CN114153309B (en) Control method, control device, electronic equipment and storage medium
CN109605367B (en) Robot programming method, device and equipment and storage medium
CN104346076B (en) Information processing equipment, information processing method and program
CN108268255A (en) For programming the method and apparatus of robot
CN108579079B (en) Virtual object steering control method and device, electronic equipment and storage medium
JP6360509B2 (en) Information processing program, information processing system, information processing method, and information processing apparatus
US11759702B2 (en) Game system, processing method, and information storage medium
JP2014078073A (en) Information processing program, information processing apparatus, information processing system, and image display method
CN101833421A (en) Electronic device and method for acquiring user operation
CN112887777B (en) Interactive prompting method and device for interactive video, electronic equipment and storage medium
CN112987924A (en) Method, apparatus, device and storage medium for device interaction
CN112965773A (en) Method, apparatus, device and storage medium for information display
CN112807692A (en) Information control method and device in game and terminal equipment
CN111760271A (en) Control method, device, equipment and system
CN109324748B (en) Equipment control method, electronic equipment and storage medium
CN113797527B (en) Game processing method, device, equipment, medium and program product
JP2016181302A (en) Computer program and computer system for controlling object operation in immersive virtual space
CN106500689B (en) Method for determining posture of mobile terminal and mobile terminal
CN105302310B (en) A kind of gesture identifying device, system and method

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