CN113494478A - Control method, control device and storage medium - Google Patents

Control method, control device and storage medium Download PDF

Info

Publication number
CN113494478A
CN113494478A CN202010197582.2A CN202010197582A CN113494478A CN 113494478 A CN113494478 A CN 113494478A CN 202010197582 A CN202010197582 A CN 202010197582A CN 113494478 A CN113494478 A CN 113494478A
Authority
CN
China
Prior art keywords
fan
endpoint
user
determining
head
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
CN202010197582.2A
Other languages
Chinese (zh)
Other versions
CN113494478B (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.)
GD Midea Environment Appliances Manufacturing Co Ltd
Original Assignee
GD Midea Environment Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GD Midea Environment Appliances Manufacturing Co Ltd filed Critical GD Midea Environment Appliances Manufacturing Co Ltd
Priority to CN202010197582.2A priority Critical patent/CN113494478B/en
Publication of CN113494478A publication Critical patent/CN113494478A/en
Application granted granted Critical
Publication of CN113494478B publication Critical patent/CN113494478B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D25/00Pumping installations or systems
    • F04D25/02Units comprising pumps and their driving means
    • F04D25/08Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
    • F04D25/10Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation the unit having provisions for automatically changing direction of output air
    • F04D25/105Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation the unit having provisions for automatically changing direction of output air by changing rotor axis direction, e.g. oscillating fans
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Abstract

The invention discloses a control method, a control device and a storage medium. The method comprises the following steps: acquiring a first operation; the first operation is an operation of selecting an angle range on the scale by a user; the scale is positioned on a control panel of the fan; the scale comprises a first end point and a second end point; the first end point corresponds to the maximum angle of the fan rotating towards the first direction; the second end point corresponds to the maximum angle of the fan rotating towards the second direction; determining first information according to the first operation; the first information represents an angle range selected by a user; determining a moving head mode of the fan by using the first information; the oscillating mode at least comprises an angle range of oscillating of the fan; and controlling the fan to shake the head by utilizing the determined shaking head mode. By adopting the scheme of the invention, a user can control the oscillating angle range of the fan according to the self requirement, so that the fan can effectively supply air to the user, the energy consumption of the fan is reduced, and the user experience is improved.

Description

Control method, control device and storage medium
Technical Field
The invention relates to the field of household appliances, in particular to a control method, a control device and a storage medium.
Background
In the family life, the fan is a household appliance with high use frequency, and in order to expand the range of air supply of the fan for a user, the shaking function is an essential basic function of the fan.
However, in the related art, the method for controlling the oscillating motion of the fan needs to be optimized.
Disclosure of Invention
To solve the related technical problems, embodiments of the present invention provide a control method, apparatus, and storage medium.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a control method, which comprises the following steps:
acquiring a first operation; the first operation is an operation of selecting an angle range on the scale by a user; the scale is positioned on a control panel of the fan; the scale comprises a first end point and a second end point; the first end point corresponds to the maximum angle of the fan rotating towards the first direction; the second end point corresponds to the maximum angle of the fan rotating towards the second direction; the second direction is opposite to the first direction;
determining first information according to the first operation; the first information represents an angle range selected by a user;
determining a moving head mode of the fan by using the first information; the oscillating mode at least comprises an angle range of oscillating of the fan;
and controlling the fan to shake the head by utilizing the determined shaking head mode.
In the foregoing solution, the determining first information according to the first operation includes:
determining a third endpoint and a fourth endpoint on the scale according to the first operation;
and determining the first information according to the position relationship among the first endpoint, the second endpoint, the third endpoint and the fourth endpoint.
In the above scheme, utilize the definite mode of shaking the head, control the fan is shaken the head, include:
determining a rotation mode of a driving part of the fan by using the determined moving head mode;
and controlling the driving part to rotate by using the determined rotation mode.
In the above scheme, the control the fan is shaken the head, include:
controlling the fan to swing left and right; and/or the presence of a gas in the gas,
and controlling the fan to shake up and down.
In the above scheme, the method further comprises:
acquiring a second operation; the second operation is an operation of selecting a head shaking direction on the control panel by a user;
determining second information according to the second operation; the second information represents the shaking direction selected by the user;
determining a moving head mode of the fan by using the first information and the second information; the oscillating mode at least comprises the oscillating angle range and the oscillating direction of the fan;
and controlling the fan to shake the head by utilizing the determined shaking head mode.
An embodiment of the present invention further provides a control apparatus, including:
an acquisition unit configured to acquire a first operation; the first operation is an operation of selecting an angle range on the scale by a user; the scale is positioned on a control panel of the fan; the scale comprises a first end point and a second end point; the first end point corresponds to the maximum angle of the fan rotating towards the first direction; the second end point corresponds to the maximum angle of the fan rotating towards the second direction; the second direction is opposite to the first direction;
the first processing unit is used for determining first information according to the first operation; the first information represents an angle range selected by a user;
the second processing unit is used for determining the oscillating mode of the fan by utilizing the first information; the oscillating mode at least comprises an angle range of oscillating of the fan;
and the third processing unit is used for controlling the fan to shake the head by utilizing the determined shaking head mode.
In the foregoing solution, the first processing unit is specifically configured to:
determining a third endpoint and a fourth endpoint on the scale according to the first operation;
and determining the first information according to the position relationship among the first endpoint, the second endpoint, the third endpoint and the fourth endpoint.
In the foregoing solution, the third processing unit is specifically configured to:
determining a rotation mode of a driving part of the fan by using the determined moving head mode;
and controlling the driving part to rotate by using the determined rotation mode.
An embodiment of the present invention further provides a control apparatus, including: a processor and a memory for storing a computer program capable of running on the processor;
wherein the processor is configured to perform the steps of any of the above methods when running the computer program.
An embodiment of the present invention further provides a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the above methods are implemented.
The control method, the control device and the storage medium provided by the embodiment of the invention are used for acquiring a first operation; the first operation is an operation of selecting an angle range on the scale by a user; the scale is positioned on a control panel of the fan; the scale comprises a first end point and a second end point; the first end point corresponds to the maximum angle of the fan rotating towards the first direction; the second end point corresponds to the maximum angle of the fan rotating towards the second direction; the second direction is opposite to the first direction; determining first information according to the first operation; the first information represents an angle range selected by a user; determining a moving head mode of the fan by using the first information; the oscillating mode at least comprises an angle range of oscillating of the fan; and controlling the fan to shake the head by utilizing the determined shaking head mode. According to the scheme of the embodiment of the invention, the scale is arranged on the control panel of the fan, the angle range of the fan for shaking the head is determined by utilizing the angle range selected by the user on the scale, and the fan is controlled to shake the head by utilizing the determined angle range, so that the user can control the angle range of the fan for shaking the head according to the self requirement, the fan can effectively supply air to the user, the energy consumption of the fan is reduced, and the user experience is improved.
Drawings
FIG. 1 is a flow chart illustrating a control method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram showing a positional relationship between an embodiment of the present invention and a standard ruler;
FIG. 4 is a schematic structural diagram of a control device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a control device according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further elaborated by combining the drawings and the embodiments in the specification.
In the related art, in order to expand the range of the fan for blowing air to the user, the oscillating angle range of the fan is usually a large fixed angle range; however, when the user moves in a small area, the fan may be more required to shake the head within a small angle range, and if the fan still shakes within a large fixed angle range, the user cannot feel the blowing of the fan, so that the fan cannot effectively blow air for the user, and the fan consumes more energy, resulting in poor user experience.
Based on this, in various embodiments of the present invention, the control panel of the fan is provided with the scale, the angle range of the fan shaking head is determined by using the angle range selected by the user on the scale, and the fan shaking head is controlled by using the determined angle range, so that the user can control the angle range of the fan shaking head according to the own requirement, and further the fan can effectively supply air to the user, the energy consumption of the fan is reduced, and the user experience is improved.
An embodiment of the present invention provides a control method, as shown in fig. 1, the method includes the following steps:
step 101: acquiring a first operation;
here, the first operation is an operation in which the user selects an angle range on the scale; the scale is positioned on a control panel of the fan; the scale comprises a first end point and a second end point; the first end point corresponds to the maximum angle of the fan rotating towards the first direction; the second end point corresponds to the maximum angle of the fan rotating towards the second direction; the second direction is opposite to the first direction;
step 102: determining first information according to the first operation;
here, the first information represents a user-selected angle range;
step 103: determining a moving head mode of the fan by using the first information;
here, the panning mode includes at least an angular range in which the fan pans;
step 104: and controlling the fan to shake the head by utilizing the determined shaking head mode.
It should be noted that the control method provided by the embodiment of the present invention is applied to electronic devices; the electronic equipment can be a fan or an intelligent terminal which is in communication connection with the fan; the intelligent terminal can be an intelligent remote controller, a user terminal and the like; the user terminal may include a Personal Computer (PC), a mobile phone, and the like; the PC may include a desktop computer, a notebook computer, a tablet computer, and the like.
In step 101, in actual application, the control panel is used for controlling the fan to operate; the control panel may be directly disposed on the electronic device (such as a fan, a smart remote controller, etc.), or may be presented to a user through Application software (APP) installed on the electronic device (such as a PC, a mobile phone, etc.) for controlling the fan. The control panel can be a touch control panel or a button type control panel. The first operation may be an operation of clicking, sliding, and the like on the scale by the user, or an operation of pressing, clicking, and the like on a plurality of button keys associated with the scale by the user. The scale may be any shape, such as a linear scale or an arc scale. The first direction may be left or right, or up or down. The angle corresponding to the first end point and the angle corresponding to the second end point can be the same or different, that is, the maximum angle of the fan rotating towards the first direction and the maximum angle of the fan rotating towards the second direction can be the same or different; using the first end point and the second end point, a maximum angle of rotation of the fan may be determined; for example, if the first end point corresponds to the fan rotating 90 ° to the left, which is recorded as-90 °, and the second end point corresponds to the fan rotating 90 ° to the right, which is recorded as 90 °, the maximum angle range of the fan shaking head left and right can be recorded as (-90 °, 90 °), and the maximum angle of the fan rotation is 180 °. Here, the specific arrangement manner of the control panel, the specific form of the first operation, the shape of the scale, the first direction, and the angle corresponding to the first end point and the second end point may be determined according to an application scenario of a user using a fan or a user requirement.
In step 102, during actual application, according to an operation of selecting an angle range on the scale by a user, two end points selected by the user on the scale can be determined; with the determined positional relationship between the two end points selected by the user on the scale and the first end point and the second end point, the user-selected angle range can be determined.
Based on this, in an embodiment, the determining the first information according to the first operation may include:
determining a third endpoint and a fourth endpoint on the scale according to the first operation;
and determining the first information according to the position relationship among the first endpoint, the second endpoint, the third endpoint and the fourth endpoint.
In practical application, the central point of the scale can be determined according to the first end point and the second end point; the angle corresponding to the central point is 0 degrees, namely the angle when the central point corresponds to the fan and does not rotate. The third end point and the fourth end point may be located on both sides of the central point, or on the same side of the central point, and the rotation directions of the fans corresponding to the third end point and the fourth end point may be determined by using the central point; assuming that the first endpoint is located on the left side of the central point, the second endpoint is located on the right side of the central point, and when the third endpoint and/or the fourth endpoint is located on the left side of the central point, the direction of rotation of the fan corresponding to the third endpoint and/or the fourth endpoint is the first direction; when the third end point and/or the fourth end point are located on the right side of the central point, the direction of rotation of the fan corresponding to the third end point and/or the fourth end point is the second direction. Meanwhile, the distance between the third end point or the fourth segment point and the central point is divided by the length of the scale, so that the angle ratio corresponding to the third end point or the fourth segment point can be obtained; multiplying the angle ratio corresponding to the third endpoint or the fourth segment by the maximum angle of the fan rotation to obtain the angle corresponding to the third endpoint or the fourth segment.
Specifically, it is assumed that the first endpoint corresponds to the fan and rotates 90 degrees to the left, the second endpoint corresponds to the fan and rotates 90 degrees to the right, the first endpoint is located on the left side of the central point, the second endpoint is located on the right side of the central point, the length of the scale is 10 centimeters, the third endpoint is located on the left side of the central point, the third endpoint is 3 centimeters from the central point, the fourth endpoint is located on the right side of the central point, and the fourth endpoint is 2 centimeters from the central point; it may be determined that the third endpoint corresponds to 54 ° of leftward rotation of the fan, which is recorded as-54 °, the fourth endpoint corresponds to 36 ° of rightward rotation of the fan, which is recorded as 36 °, and the user-selected angle range may be recorded as (-54 °, 36 °), i.e. the first information may be (-54 °, 36 °).
In step 104, in practical application, the fan may include a driving component, and when the fan is controlled to shake the head, the fan may be controlled to shake the head by controlling the driving component to rotate.
Based on this, in an embodiment, the controlling the fan to shake the head by using the determined shaking pattern may include:
determining a rotation mode of a driving part of the fan by using the determined moving head mode;
and controlling the driving part to rotate by using the determined rotation mode.
In practical applications, the driving part may be a stepping motor, and determining the rotation mode of the driving part of the fan by using the determined panning motion mode may include:
and determining the step number of clockwise and/or anticlockwise rotation of the stepping motor by utilizing the angle range of the oscillating head of the fan.
In an embodiment, the controlling the fan to shake the head may further include:
controlling the fan to swing left and right; and/or the presence of a gas in the gas,
and controlling the fan to shake up and down.
In practical application, the fan head shaking mode may include a fan head shaking direction and a fan head shaking angle range; the oscillating direction of the fan can comprise oscillating left and right and/or oscillating up and down; assuming that the first direction and the second direction are fixed directions preset by a user, for example, the first direction is left, and the second direction is right, the direction of the fan shaking head can be directly determined according to the first direction and the second direction; certainly, for further promoting user experience, when needing to control the fan and shake the head, the user also can set up on the control panel first direction with the second direction, so, the user can control the direction that the fan shaken the head according to self demand, and then makes the fan effectively supply air for the user, has reduced the power consumption of fan, has promoted user experience.
Based on this, in an embodiment, the method may further include:
acquiring a second operation; the second operation is an operation of selecting a head shaking direction on the control panel by a user;
determining second information according to the second operation; the second information represents the shaking direction selected by the user;
determining a moving head mode of the fan by using the first information and the second information; the oscillating mode at least comprises the oscillating angle range and the oscillating direction of the fan;
and controlling the fan to shake the head by utilizing the determined shaking head mode.
In practical application, the second operation may specifically be an operation of setting the first direction and the second direction on the control panel; assuming that the user sets the first direction as left and the second direction as right, it may be determined that the user selected shaking direction is left-right shaking; assuming that the user sets the first direction to be left and up and the second direction to be right and down, it may be determined that the user selected panning direction is panning left and right and panning up and down; and when the user selects the shaking direction to shake the head left and right and up and down, the angle range of shaking the head left and right of the fan is the same as that of shaking the head up and down of the fan, and the angle ranges are the angle ranges represented by the first information.
In practical application, under the condition that the shaking direction selected by the user is shaking left and right and up and down, the shaking mode can also comprise a shaking direction switching strategy; the shaking direction switching strategy can be preset by a user; of course, in order to further improve the user experience, when the fan needs to be controlled to shake the head, the user can set the shaking direction switching strategy on the control panel.
In practical application, the head shaking mode can also comprise the speed of shaking the head of the fan; the speed of the fan for shaking the head can be preset by a user; when the fan needs to be controlled to shake the head, the user can set the speed of shaking the head of the fan on the control panel.
In practical application, in the process of controlling the fan to shake the head by using the determined shaking mode, whether the angle corresponding to the third endpoint is larger than the angle corresponding to the fourth endpoint can be judged firstly; if the angle corresponding to the third endpoint is larger than the angle corresponding to the fourth endpoint, the fan can be controlled to rotate to the angle corresponding to the fourth endpoint, and then the fan is controlled to shake in the fan shaking angle range contained in the determined shaking mode; if the angle corresponding to the third end point is smaller than the angle corresponding to the fourth end point, the fan can be controlled to rotate to the angle corresponding to the third end point, and then the fan is controlled to shake in the fan shaking angle range contained in the determined shaking mode; if the angle corresponding to the third end point is equal to the angle corresponding to the fourth end point, the fan can be controlled to rotate to the third end point or the angle corresponding to the fourth end point based on a head shaking starting strategy preset by a user, and then the fan is controlled to shake in a fan shaking angle range contained in the determined head shaking mode; of course, when the fan needs to be controlled to shake the head, the user can set the shaking head starting strategy on the control panel.
The control method provided by the embodiment of the invention obtains a first operation; the first operation is an operation of selecting an angle range on the scale by a user; the scale is positioned on a control panel of the fan; the scale comprises a first end point and a second end point; the first end point corresponds to the maximum angle of the fan rotating towards the first direction; the second end point corresponds to the maximum angle of the fan rotating towards the second direction; the second direction is opposite to the first direction; determining first information according to the first operation; the first information represents an angle range selected by a user; determining a moving head mode of the fan by using the first information; the oscillating mode at least comprises an angle range of oscillating of the fan; controlling the fan to shake the head by utilizing the determined shaking mode; so, the user can be according to the angle scope that self demand control fan shaken the head, and then makes the fan effectively supply air for the user, has reduced the power consumption of fan, has promoted user experience.
The present invention will be described in further detail with reference to the following application examples.
The control method provided by the application embodiment is applied to the intelligent terminal which establishes communication connection with the fan; the intelligent terminal can be an intelligent remote controller, a user terminal and the like; the user terminal can comprise a PC, a mobile phone and the like; the PC may include a desktop computer, a notebook computer, a tablet computer, and the like.
The intelligent terminal is provided with a touch interface (namely the control panel) for controlling the fan; a standard ruler (namely the ruler) is arranged on the touch interface; the gauge has two end points: p1 (i.e., the first endpoint) and P2 (i.e., the second endpoint); p1 and P2 are known points, that is, the fan oscillation angles corresponding to P1 and P2 are predetermined angles, for example, the fan oscillation angle corresponding to P1 is-90 ° (the positive or negative of the fan oscillation angle can be determined according to the rotating direction of the fan, for example, the positive is negative in the left direction and positive in the right direction, or the negative is positive in the up direction and positive in the down direction), and the fan angle corresponding to P2 is 90 °; the angular difference between P1 and P2 may correspond to the extreme oscillation angle of the fan (i.e. the maximum angle of rotation of the fan described above); when a user touches the clicks P1 and P2 in sequence on the touch interface, the fan can move from one end (e.g., -90 °) to the other end (e.g., 90 °), including from left to right and from top to bottom.
As shown in fig. 2, the control method provided in this embodiment may specifically include the following steps:
step 201: in a state that the fan is powered on, a user arbitrarily selects and sets (i.e., the first operation) two points on a standard ruler of a touch interface of the intelligent terminal: p3 (i.e., the third endpoint) and P4 (i.e., the fourth endpoint).
The center point P0 of the standard ruler can be determined by utilizing P1 and P2, the angle corresponding to P0 is 0 degrees, namely P0 is also a known point; p3 and P4 can be respectively arranged at two sides of P0 and at the same side of P0.
In practical application, as shown in fig. 3, a user can draw any arc line l on the standard ruler of the touch interface, where l intersects the standard ruler and has two intersection points: p3 and P4.
Step 202: the intelligent terminal automatically locates the positions of P3 and P4 on the standard ruler and determines the angle range of the fan shaking head (i.e. the first information) by using the positions of P3 and P4.
Specifically, the intelligent terminal can determine the angle range of the fan to shake according to the position relation between the P3 and the P4 and the known points (P1, P2 and P0).
Step 203: and the intelligent terminal controls the rotation of a head shaking motor (namely the driving part) in the fan according to the determined angle range of the head shaking of the fan, so that the fan shakes in the head shaking angle ranges corresponding to the P3 and the P4.
Specifically, the oscillating motor can be a stepping motor, and the intelligent terminal can control the angle of the fan to oscillate by controlling the rotating steps of the stepping motor, so that the fan moves to the angle corresponding to P3 and oscillates within the oscillating angle range corresponding to P3 and P4.
Here, the specific implementation process of step 201 to step 203 in the control method provided in this application embodiment is the same as the specific implementation process of step 101 to step 104 in the control method shown in fig. 1, and is not repeated here.
The control method provided by the application embodiment has the following advantages:
the user can be based on the angle of shaking the head of standard ruler control fan on the touch interface for the fan can be with arbitrary angle of shaking the head and supply air, thereby has guaranteed that the fan effectively supplies air to the user, when reducing invalid energy consumption (having reduced the power consumption of fan promptly), has promoted user's physical examination.
In order to implement the method according to the embodiment of the present invention, an embodiment of the present invention further provides a control apparatus, as shown in fig. 4, the control apparatus 400 includes an obtaining unit 401, a first processing unit 402, a second processing unit 403, and a third processing unit 404; wherein the content of the first and second substances,
the acquiring unit 401 is configured to acquire a first operation; the first operation is an operation of selecting an angle range on the scale by a user; the scale is positioned on a control panel of the fan; the scale comprises a first end point and a second end point; the first end point corresponds to the maximum angle of the fan rotating towards the first direction; the second end point corresponds to the maximum angle of the fan rotating towards the second direction; the second direction is opposite to the first direction;
the first processing unit 402, configured to determine first information according to the first operation; the first information represents an angle range selected by a user;
the second processing unit 403 is configured to determine, by using the first information, a moving head mode of the fan; the oscillating mode at least comprises an angle range of oscillating of the fan;
and the third processing unit 404 is configured to control the fan to shake the head by using the determined shaking mode.
In an embodiment, the first processing unit 402 is specifically configured to:
determining a third endpoint and a fourth endpoint on the scale according to the first operation;
and determining the first information according to the position relationship among the first endpoint, the second endpoint, the third endpoint and the fourth endpoint.
In an embodiment, the third processing unit 404 is specifically configured to:
determining a rotation mode of a driving part of the fan by using the determined moving head mode;
and controlling the driving part to rotate by using the determined rotation mode.
In an embodiment, the third processing unit 404 is further configured to:
controlling the fan to swing left and right; and/or the presence of a gas in the gas,
and controlling the fan to shake up and down.
In an embodiment, the obtaining unit 401 is further configured to obtain a second operation; the second operation is an operation of selecting a head shaking direction on the control panel by a user;
the first processing unit 402 is further configured to determine second information according to the second operation; the second information represents the shaking direction selected by the user;
the second processing unit 403 is further configured to determine a moving head mode of the fan by using the first information and the second information; the mode of shaking the head contains the angle scope that the fan shaken the head and the direction that the fan shaken the head at least.
In practical applications, the obtaining unit 401, the first processing unit 402, the second processing unit 403, and the third processing unit 404 may be implemented by a processor in the control device 400 in combination with a communication interface.
It should be noted that: the control device 400 provided in the above embodiment only exemplifies the division of the above program modules when controlling the operation of the fan, and in practical application, the above processing may be distributed to different program modules according to needs, that is, the internal structure of the terminal may be divided into different program modules to complete all or part of the above described processing. In addition, the control apparatus 400 and the control method embodiment provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiment and are not described herein again.
Based on the hardware implementation of the program module, and in order to implement the method according to the embodiment of the present invention, an embodiment of the present invention further provides a control apparatus, as shown in fig. 5, where the control apparatus 50 includes:
a communication interface 51 capable of performing information interaction with other devices (such as network devices, terminals, and the like);
the processor 52 is connected with the communication interface 51 to realize information interaction with other devices, and is used for executing the method provided by one or more technical schemes when running a computer program;
a memory 53 for storing a computer program capable of running on the processor 52.
In particular, the processor 52 is configured to perform the following operations:
acquiring a first operation; the first operation is an operation of selecting an angle range on the scale by a user; the scale is positioned on a control panel of the fan; the scale comprises a first end point and a second end point; the first end point corresponds to the maximum angle of the fan rotating towards the first direction; the second end point corresponds to the maximum angle of the fan rotating towards the second direction; the second direction is opposite to the first direction;
determining first information according to the first operation; the first information represents an angle range selected by a user;
determining a moving head mode of the fan by using the first information; the oscillating mode at least comprises an angle range of oscillating of the fan;
and controlling the fan to shake the head by utilizing the determined shaking head mode.
In an embodiment, the processor 52 is further configured to perform the following operations:
determining a third endpoint and a fourth endpoint on the scale according to the first operation;
and determining the first information according to the position relationship among the first endpoint, the second endpoint, the third endpoint and the fourth endpoint.
In an embodiment, the processor 52 is further configured to perform the following operations:
determining a rotation mode of a driving part of the fan by using the determined moving head mode;
and controlling the driving part to rotate by using the determined rotation mode.
In an embodiment, the processor 52 is further configured to perform the following operations:
controlling the fan to swing left and right; and/or the presence of a gas in the gas,
and controlling the fan to shake up and down.
In an embodiment, the processor 52 is further configured to perform the following operations:
acquiring a second operation; the second operation is an operation of selecting a head shaking direction on the control panel by a user;
determining second information according to the second operation; the second information represents the shaking direction selected by the user;
determining a moving head mode of the fan by using the first information and the second information; the oscillating mode at least comprises the oscillating angle range and the oscillating direction of the fan;
and controlling the fan to shake the head by utilizing the determined shaking head mode.
It should be noted that: the process of the processor 52 specifically executing the above operations is detailed in the method embodiment, and is not described here again.
Of course, in practice, the various components of the control device 50 are coupled together by a bus system 54. It will be appreciated that the bus system 54 is used to enable communications among the components. The bus system 54 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 54 in fig. 5.
The memory 53 in the embodiment of the present invention is used to store various types of data to support the operation of the control device 50. Examples of such data include: any computer program for operating on the control device 50.
The method disclosed in the above embodiments of the present invention may be applied to the processor 52, or implemented by the processor 52. Processor 52 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 52. The Processor 52 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 52 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 53 and the processor 52 reads the information in the memory 53 and in combination with its hardware performs the steps of the method described above.
In an exemplary embodiment, the control Device 50 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
It will be appreciated that the memory 53 of embodiments of the invention may be a volatile memory or a non-volatile memory, and may include both volatile and non-volatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. 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 (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The described memory for embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In an exemplary embodiment, the present invention further provides a storage medium, i.e. a computer storage medium, in particular a computer readable storage medium, for example comprising a memory 53 storing a computer program, which is executable by a processor 52 of the control device 50 to perform the steps of the aforementioned method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In addition, the technical solutions described in the embodiments of the present invention may be arbitrarily combined without conflict.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. A control method, comprising:
acquiring a first operation; the first operation is an operation of selecting an angle range on the scale by a user; the scale is positioned on a control panel of the fan; the scale comprises a first end point and a second end point; the first end point corresponds to the maximum angle of the fan rotating towards the first direction; the second end point corresponds to the maximum angle of the fan rotating towards the second direction; the second direction is opposite to the first direction;
determining first information according to the first operation; the first information represents an angle range selected by a user;
determining a moving head mode of the fan by using the first information; the oscillating mode at least comprises an angle range of oscillating of the fan;
and controlling the fan to shake the head by utilizing the determined shaking head mode.
2. The method of claim 1, wherein determining first information according to the first operation comprises:
determining a third endpoint and a fourth endpoint on the scale according to the first operation;
and determining the first information according to the position relationship among the first endpoint, the second endpoint, the third endpoint and the fourth endpoint.
3. The method according to claim 1, wherein said controlling said fan to shake head with a determined shaking pattern comprises:
determining a rotation mode of a driving part of the fan by using the determined moving head mode;
and controlling the driving part to rotate by using the determined rotation mode.
4. A method according to any one of claims 1 to 3, wherein said controlling said fan to oscillate comprises:
controlling the fan to swing left and right; and/or the presence of a gas in the gas,
and controlling the fan to shake up and down.
5. The method of claim 4, further comprising:
acquiring a second operation; the second operation is an operation of selecting a head shaking direction on the control panel by a user;
determining second information according to the second operation; the second information represents the shaking direction selected by the user;
determining a moving head mode of the fan by using the first information and the second information; the oscillating mode at least comprises the oscillating angle range and the oscillating direction of the fan;
and controlling the fan to shake the head by utilizing the determined shaking head mode.
6. A control device, comprising:
an acquisition unit configured to acquire a first operation; the first operation is an operation of selecting an angle range on the scale by a user; the scale is positioned on a control panel of the fan; the scale comprises a first end point and a second end point; the first end point corresponds to the maximum angle of the fan rotating towards the first direction; the second end point corresponds to the maximum angle of the fan rotating towards the second direction; the second direction is opposite to the first direction;
the first processing unit is used for determining first information according to the first operation; the first information represents an angle range selected by a user;
the second processing unit is used for determining the oscillating mode of the fan by utilizing the first information; the oscillating mode at least comprises an angle range of oscillating of the fan;
and the third processing unit is used for controlling the fan to shake the head by utilizing the determined shaking head mode.
7. The apparatus according to claim 6, wherein the first processing unit is specifically configured to:
determining a third endpoint and a fourth endpoint on the scale according to the first operation;
and determining the first information according to the position relationship among the first endpoint, the second endpoint, the third endpoint and the fourth endpoint.
8. The apparatus according to claim 6, wherein the third processing unit is specifically configured to:
determining a rotation mode of a driving part of the fan by using the determined moving head mode;
and controlling the driving part to rotate by using the determined rotation mode.
9. A control device, comprising: a processor and a memory for storing a computer program capable of running on the processor;
wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 5 when running the computer program.
10. A storage medium storing a computer program, characterized in that the computer program realizes the steps of the method according to any one of claims 1 to 5 when executed by a processor.
CN202010197582.2A 2020-03-19 2020-03-19 Control method, device and storage medium Active CN113494478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010197582.2A CN113494478B (en) 2020-03-19 2020-03-19 Control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010197582.2A CN113494478B (en) 2020-03-19 2020-03-19 Control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN113494478A true CN113494478A (en) 2021-10-12
CN113494478B CN113494478B (en) 2023-07-18

Family

ID=77993464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010197582.2A Active CN113494478B (en) 2020-03-19 2020-03-19 Control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113494478B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201372949Y (en) * 2009-03-23 2009-12-30 刘鹏程 0-360 degrees adjustable oscillating electric fan
CN107191403A (en) * 2017-05-16 2017-09-22 北京小米移动软件有限公司 Control method, device and the fan of oscillating fan rotational angle
JP2017214837A (en) * 2016-05-30 2017-12-07 ツインバード工業株式会社 Blower system
CN107542694A (en) * 2017-07-28 2018-01-05 广东美的环境电器制造有限公司 Fan method for controlling rotation, system and fan
CN109469638A (en) * 2019-01-03 2019-03-15 张天伟 It is a kind of to follow the electric fan that position of human body is shaken the head automatically
CN209414223U (en) * 2018-09-30 2019-09-20 阿里巴巴集团控股有限公司 A kind of fan, fan remote controller and fan system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201372949Y (en) * 2009-03-23 2009-12-30 刘鹏程 0-360 degrees adjustable oscillating electric fan
JP2017214837A (en) * 2016-05-30 2017-12-07 ツインバード工業株式会社 Blower system
CN107191403A (en) * 2017-05-16 2017-09-22 北京小米移动软件有限公司 Control method, device and the fan of oscillating fan rotational angle
CN107542694A (en) * 2017-07-28 2018-01-05 广东美的环境电器制造有限公司 Fan method for controlling rotation, system and fan
CN209414223U (en) * 2018-09-30 2019-09-20 阿里巴巴集团控股有限公司 A kind of fan, fan remote controller and fan system
CN109469638A (en) * 2019-01-03 2019-03-15 张天伟 It is a kind of to follow the electric fan that position of human body is shaken the head automatically

Also Published As

Publication number Publication date
CN113494478B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN100432906C (en) Pointing device control apparatus and method, electronic instrument, and computer program for the pointing device control apparatus
KR20080003354A (en) Integrated control for navigation, authentication, power on and rotation
CN107370874B (en) Application starting method, mobile terminal and storage medium
CN108446010A (en) Information processing method and electronic equipment
CN110456909A (en) Motor vibrations setting method, device, storage medium and terminal
CN113494478A (en) Control method, control device and storage medium
CN111930659B (en) Information processing method, electronic equipment and computer storage medium
US20190302992A1 (en) Smart terminal and method for interacting with robot using the same
CN114756150B (en) Application icon management method, terminal equipment and storage medium
JP7205088B2 (en) Terminal device and air conditioner control method
CN102331936A (en) Electronic device capable of being started in low-temperature environment and starting method thereof
WO2020087967A1 (en) Electronic building block and control method therefor, control device and storage medium
CN112922874A (en) Fan control method, terminal device, system and storage medium
CN112306213B (en) Display card mode switching method and device based on terminal, storage medium and terminal
CN113626123A (en) Interface interaction method, device, equipment and storage medium
CN103197589A (en) Robot controller
CN113494476B (en) Control method, device and storage medium
CN107277758B (en) Data transmission method and mobile terminal
WO2019015649A1 (en) Wireless network connecting method and mobile terminal
CN203191767U (en) Robot controller
CN111796939A (en) Processing method and device and electronic equipment
CN111387878B (en) Control method, terminal equipment, sweeper and computer storage medium
CN114076115A (en) Oscillating positioning structure, resetting method and device, electric fan and readable storage medium
CN112671308A (en) Motor switching control method, frequency converter and computer readable storage medium
CN112925459B (en) Blowing control method of fan, terminal equipment, system and storage medium

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