CN112925460A - Household appliance control method, mobile terminal and computer readable storage medium - Google Patents

Household appliance control method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN112925460A
CN112925460A CN201911237324.6A CN201911237324A CN112925460A CN 112925460 A CN112925460 A CN 112925460A CN 201911237324 A CN201911237324 A CN 201911237324A CN 112925460 A CN112925460 A CN 112925460A
Authority
CN
China
Prior art keywords
mobile terminal
areas
touch
determining
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911237324.6A
Other languages
Chinese (zh)
Inventor
陈小平
陈伟健
唐清生
林勇进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical Technology 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 Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN201911237324.6A priority Critical patent/CN112925460A/en
Publication of CN112925460A publication Critical patent/CN112925460A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a household appliance control method, a mobile terminal and a computer readable storage medium, wherein a plurality of areas can be displayed in a touch display screen of the mobile terminal according to a preset strategy; receiving a touch track input by a user in a touch display screen of the mobile terminal; determining a plurality of areas through which the touch track passes to obtain a plurality of target areas; acquiring a number corresponding to each target area, and generating an adjusting parameter of the household appliance according to the number; and controlling the household appliance to operate based on the adjusting parameters. According to the scheme, the adjusting parameters of the household appliance can be generated based on the numbers corresponding to the multiple regions through which the touch tracks pass, the parameters of the household appliance can be quickly adjusted, and convenience and flexibility in control of the household appliance are improved.

Description

Household appliance control method, mobile terminal and computer readable storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a method for controlling a home appliance, a mobile terminal, and a computer-readable storage medium.
Background
With the rapid development of science and technology and the improvement of the living standard of people, household appliances such as refrigerators, fans or air conditioners are more and more popular. In the prior art, when parameters such as air volume, wind direction or temperature of different household appliances such as a refrigerator, a fan or an air conditioner are adjusted, a remote controller needs to enter an adjusting mode of one parameter, a user manually adjusts the parameter, and after the parameter adjustment is completed, the user enters an adjusting mode of another parameter to adjust the parameter.
Disclosure of Invention
The embodiment of the application provides a household appliance control method, a mobile terminal and a computer readable storage medium, which can improve the convenience and flexibility of household appliance control.
In a first aspect, an embodiment of the present application provides a method for controlling a home appliance, including:
displaying a plurality of areas in a touch display screen of the mobile terminal according to a preset strategy;
receiving a touch track input by a user in a touch display screen of the mobile terminal;
determining a plurality of areas through which the touch track passes to obtain a plurality of target areas;
acquiring a number corresponding to each target area, and generating an adjusting parameter of the household appliance according to the number;
and controlling the household appliance to operate based on the adjusting parameters.
In a second aspect, an embodiment of the present application further provides a mobile terminal, which includes a memory and a processor, where the memory stores a computer program, and the processor executes any one of the methods for controlling a home appliance provided in the embodiment of the present application when calling the computer program in the memory.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a computer program, and the computer program is loaded by a processor to execute any one of the home appliance control methods provided in the embodiments of the present application.
The method and the device for displaying the touch tracks can display a plurality of areas in the touch display screen of the mobile terminal according to a preset strategy and receive the touch tracks input by a user in the touch display screen of the mobile terminal; and then, determining a plurality of areas through which the touch track passes to obtain a plurality of target areas, acquiring a number corresponding to each target area, generating an adjusting parameter of the household appliance according to the number, and controlling the household appliance to operate based on the adjusting parameter. According to the scheme, the adjusting parameters of the household appliance can be generated based on the numbers corresponding to the multiple regions through which the touch tracks pass, the parameters of the household appliance can be quickly adjusted, and convenience and flexibility in control of the household appliance are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a home appliance control method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a touch display screen displaying a plurality of regions according to an embodiment of the present disclosure;
FIG. 3 is another schematic diagram of a touch screen display with multiple regions according to an embodiment of the present disclosure;
FIG. 4 is another schematic diagram of a touch screen display with multiple regions according to an embodiment of the present disclosure;
FIG. 5 is another schematic diagram of a touch screen display with multiple regions according to an embodiment of the present disclosure;
FIG. 6 is another schematic diagram of a touch screen display with multiple regions according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a touch trajectory input in a touch display screen provided by an embodiment of the present application;
FIG. 8 is another schematic diagram of a touch trajectory input within a touch display screen provided by embodiments of the present application;
fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a household appliance control method, a mobile terminal and a computer readable storage medium. The household appliance control method can be applied to mobile terminals such as smart phones, tablet computers, palmtop computers or notebook computers, and is used for generating adjustment parameters of household appliances and controlling the household appliances. The household appliance control method can be applied to mobile terminals with touch display screens, such as intelligent refrigerators, and the like, the intelligent refrigerator can be provided with the touch display screens for displaying a plurality of areas, adjusting parameters of the household appliance are generated based on numbers corresponding to a plurality of target areas through which touch tracks pass, and the household appliance, such as a fan or an air conditioner, is controlled to operate based on the adjusting parameters.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for controlling a home appliance according to an embodiment of the present application. The household appliance control method may include steps S101 to S105, and the like, and specifically may be as follows:
s101, displaying a plurality of areas in a touch display screen of the mobile terminal according to a preset strategy.
The preset strategy can be flexibly set according to actual needs, for example, multiple regions of an n × m array or multiple regions of n × m + a can be displayed in a touch display screen of the mobile terminal according to preset intervals, and n, m, and a can be flexibly set according to actual needs; or receiving a setting instruction input by a user, and displaying a plurality of areas with preset number, size, display position, shape, color and the like in the touch display screen according to the setting instruction; alternatively, a plurality of regions may be displayed in the touch display screen according to the speed of the touch trajectory historically input by the user; and so on.
The mobile terminal may display the plurality of regions in the touch display screen in an unlocked state, or the mobile terminal may display the plurality of regions in the touch display screen in an unlocked state. The regions may be non-overlapping regions, the number, size, display position, shape, color, and the like of the regions may be flexibly set according to actual needs, and specific contents are not limited here. For example, as shown in fig. 2, the shape of the region may be a quadrangle, and for example, as shown in fig. 3, the shape of the region may be a circle.
It should be noted that, the mobile terminal may set a number for each area in advance, and establish a corresponding relationship between the area and the number, for example, the mobile terminal may receive a number setting instruction in the number setting interface, and input a number in a position corresponding to each area based on the number setting instruction, and the corresponding relationship between the area and the number may be stored in a local or server of the mobile terminal in advance. In the process of using the mobile terminal, the user can modify the number of the area according to the own requirement or preference, for example, the mobile terminal can receive a number modification instruction in the number setting interface, delete the original number at the position corresponding to the area needing to be modified based on the number modification instruction, and input a new number. The number may be composed of numbers, letters, and/or letters, etc., and the number may be different for each region setting or may be partially equal. When the area is displayed, the number corresponding to the area may be displayed in the area or may be hidden in the area.
For example, as shown in fig. 2, each region may be provided with a multi-digit number. For another example, as shown in fig. 3, each region may be provided with a number of units. For another example, as shown in fig. 4, each region may be provided with a number corresponding to an alphanumeric combination.
In some embodiments, displaying the plurality of regions within the touch display screen of the mobile terminal according to the preset policy may include: determining a user currently using the mobile terminal; acquiring habit data of a user when using the mobile terminal; determining display strategies of a plurality of areas according to habit data; displaying a plurality of regions within a touch display screen of the mobile terminal based on the display policy.
Due to the fact that different users may have different using habits or requirements on the mobile terminal, the use convenience of the users is improved, the use convenience of the mobile terminal and the control convenience of household appliances are improved, and a plurality of areas can be displayed in the touch display screen of the mobile terminal according to the differences and individuation of the users using the mobile terminal at present.
Specifically, first, the mobile terminal may determine a user currently using the mobile terminal, and in some embodiments, determining the user currently using the mobile terminal may include: receiving fingerprint information input by a user when the mobile terminal is unlocked, and determining the user using the mobile terminal currently based on the fingerprint information; or acquiring a face image in a preset range in front of the mobile terminal, performing face recognition on the face image, and determining a user currently using the mobile terminal based on a recognition result.
For example, in the process of using the mobile terminal, when the mobile terminal needs to be unlocked, the biometric features such as fingerprint information, voiceprint information, face information or iris information input by a user when the mobile terminal is unlocked may be received, and the user currently using the mobile terminal may be determined based on the biometric features such as fingerprint information, voiceprint information, face information or iris information. Or, the mobile terminal may acquire, by using a camera, a face image within a preset range (e.g., a visible range of the camera) in front of the mobile terminal, and then perform face recognition on the face image by using a face recognition model to obtain a recognition result, where the recognition result may include feature information or identification information of the user, such as face information or iris information of the user, and a hairstyle, a face shape, or whether to wear glasses, and the like of the user, and the user currently using the mobile terminal may be determined based on the recognition result.
Then, the mobile terminal may obtain habit data of the user when using the mobile terminal, where the habit data may include an average speed or an operation gesture, and the average speed may be an average speed generated by sliding when the user inputs a touch trajectory in the process of using the mobile terminal, and the operation gesture may include a one-handed operation or a two-handed operation. By setting the average sliding speed or the operation gesture and the like as the habit data of the user when using the mobile terminal, the accuracy and the convenience of acquiring the habit data can be improved. In some embodiments, obtaining the habit data of the user using the mobile terminal may include: acquiring an average speed corresponding to a historical input touch track when a user uses the mobile terminal; or acquiring an operation gesture of the user when the user uses the mobile terminal.
For example, the mobile terminal may obtain an average speed corresponding to a historical input touch trajectory when the user uses the mobile terminal within a preset time period, the history may be an operation performed on the mobile terminal before the current time, and the history may include a plurality of times, and the mobile terminal may obtain an average speed corresponding to a touch trajectory input by the user history, for example, the start time and end time of each input touch trajectory and the length of the trajectory may be recorded, the speed of the touch (e.g., (end time-start time) ÷ length) is then calculated from the start time, end time, and trace length, and so on, after the speeds corresponding to the multiple touch tracks are obtained, the speeds of the multiple touch tracks can be averaged to obtain an average speed, and the average speed is the average speed corresponding to the historical input touch track.
For another example, the mobile terminal detects a distribution state that a user presses the mobile terminal with a finger through a sensor, and when a pressing point is detected to exist in the touch display screen, an operation gesture of the user when using the mobile terminal can be determined to be a one-hand operation; when a plurality of pressing points are detected to exist in the touch display screen, the operation gesture of the user when using the mobile terminal can be determined to be two-hand operation; and so on.
At this time, in order to accurately display the plurality of regions based on the habit data, the mobile terminal may determine a display policy of the plurality of regions according to the habit data, and display the plurality of regions in the touch display screen of the mobile terminal based on the display policy, where the display policy may be flexibly set according to actual needs.
In some embodiments, determining a display policy for the plurality of regions according to the habit data, and displaying the plurality of regions within the touch display screen of the mobile terminal based on the display policy may include: determining display intervals of the plurality of areas according to the average speed, and displaying the plurality of areas in a touch display screen of the mobile terminal based on the display intervals; or determining the display positions of the multiple areas according to the operation gesture, and displaying the multiple areas in the touch display screen of the mobile terminal based on the display positions.
Specifically, after the average speed is obtained, the mobile terminal may determine whether the average speed is greater than a preset threshold, where the preset threshold may be flexibly set according to actual needs, and when the average speed is greater than the preset threshold, determine the display interval of the multiple regions as a first display interval, and display the multiple regions in the touch display screen of the mobile terminal according to the first display interval; and when the average speed is smaller than or equal to a preset threshold value, determining the display intervals of the multiple regions to be second display intervals, and displaying the multiple regions in the touch display screen of the mobile terminal according to the second display intervals, wherein the first display intervals are larger than the second display intervals. Or, the mobile terminal may set a plurality of speed intervals, each speed interval corresponding to a different display interval, that is, a mapping relationship between the speed interval and the display interval is established, where the larger the speed is, the larger the interval between the regions is, and conversely, the smaller the speed is, the smaller the interval between the regions is. After obtaining the average speed, the mobile terminal may determine a speed interval in which the average speed is located, and then display a plurality of regions in the touch display screen of the mobile terminal according to the display interval corresponding to the speed interval and based on the display interval. For example, as shown in fig. 5, when the calculated average speed has a large value, the mobile terminal may display a plurality of regions in a touch display screen at a large display pitch. The mobile terminal can display areas with different numbers and different display intervals according to different speeds, or the mobile terminal can display areas with different numbers according to different speeds.
In another embodiment, the mobile terminal may determine the display positions of the multiple regions according to the operation gesture, for example, when the operation gesture is a one-handed operation, the mobile terminal may determine the position of the pressing point operated by the one-handed operation within the touch display screen, and determine the display positions of the multiple regions according to the position, for example, the position of the pressing point operated by the one-handed operation within the touch display screen is set as the center of the display positions of the multiple regions, and at this time, the multiple regions may be displayed within the touch display screen of the mobile terminal based on the display positions; or a plurality of areas are displayed within a range that can be touched by one-handed operation. For example, as shown in fig. 6, when the user operates the mobile terminal with one hand, the mobile terminal may display a plurality of regions within a preset range of the touch display screen that can be operated with one hand, so that the user may select the regions conveniently, and convenience and flexibility of operation are improved.
S102, receiving a touch track input by a user in a touch display screen of the mobile terminal.
After the plurality of areas are displayed, the mobile terminal can receive a touch track generated by a user through touch operation in the touch display screen, so as to set the adjusting parameters of the household appliance according to the serial number of the areas where the touch track passes.
S103, determining a plurality of areas through which the touch track passes to obtain a plurality of target areas.
In order to improve the accuracy of region selection and avoid misoperation, the mobile terminal can determine an effective region through which a touch track passes and set the effective region as a target region.
In some embodiments, determining a plurality of regions through which the touch trajectory passes, and obtaining a plurality of target regions may include: determining the residence time of each region through which the touch track passes, and screening out the regions with the residence time larger than a preset time threshold value to obtain a plurality of target regions; or determining the first area and the last area through which the touch track passes to obtain a plurality of target areas.
For example, the mobile terminal may determine a dwell time of each region passed by the touch trajectory, where the dwell time may be a time interval between a start time when the touch trajectory starts to enter the region and an end time when the touch trajectory leaves the region, or the dwell time may be a time when a pressure value of a position where the touch trajectory presses the region during sliding is greater than a preset pressure threshold; and so on. At this time, the mobile terminal can screen out the area with the retention time larger than the preset time threshold value to obtain a plurality of target areas through which the touch track passes, and the preset time threshold value can be flexibly set according to actual needs.
For another example, the mobile terminal may determine a first area and a last area through which the touch trajectory passes to obtain a plurality of target areas, and the mobile terminal may determine the area through which the touch trajectory passes according to information such as a coordinate point of the touch trajectory, in this case, the first area may be an area where a start coordinate of the touch trajectory is located, and the last area may be an area where an end coordinate of the touch trajectory is located, so that the plurality of target areas through which the touch trajectory passes may be obtained. Or the mobile terminal determines a second area and a penultimate area through which the touch track passes to obtain a plurality of target areas through which the touch track passes; and so on.
For another example, the mobile terminal may determine a contact area of each region through which the touch trajectory passes, and screen out a region having a contact area larger than a preset area threshold to obtain a plurality of target regions, where the preset area threshold may be flexibly set according to actual needs.
For another example, the mobile terminal may determine a contact area and a dwell time of each region through which the touch trajectory passes, and screen out a region in which the contact area is greater than a preset area threshold and the dwell time is greater than a preset time threshold, so as to obtain a plurality of target regions.
And S104, acquiring the number corresponding to each target area, and generating the adjusting parameters of the household appliance according to the numbers.
Because each area is preset with a corresponding number, after a plurality of target areas through which the touch track passes are determined, the mobile terminal can acquire the corresponding relation between the areas and the numbers, acquire the number corresponding to each target area according to the corresponding relation, and generate the adjustment parameters of the household appliance according to the numbers. The household appliances may include fans, air conditioners, humidifiers, refrigerators, washing machines, water heaters, and the like. The adjusting parameters can be flexibly set according to actual needs, and specific contents are not limited herein, for example, the adjusting parameters may include timing duration, yaw angle, wind speed, temperature, and the like.
In some embodiments, the home device includes a plurality of home devices, and obtaining a number corresponding to each target area, and generating the adjustment parameter of the home device according to the number may include: acquiring a mapping relation between the regions and the numbers, and determining the number corresponding to each target region according to the mapping relation; and sequentially setting each serial number as a corresponding adjusting parameter of each household appliance according to the priority order of each household appliance.
In order to improve the flexibility of adjusting the parameter setting, the mobile terminal may preset the priority of each of the plurality of home appliances according to the actual requirement, for example, the highest priority of the fan, the second highest priority of the air conditioner, the lowest priority of the washing machine, and the like may be set. After determining a plurality of target areas through which the touch trajectory passes, the mobile terminal may obtain a mapping relationship between the areas and the numbers, determine a number corresponding to each target area according to the mapping relationship between the areas and the numbers, and then the mobile terminal may sequentially set each number as an adjustment parameter corresponding to each home appliance according to a priority order of each home appliance. For example, as shown in fig. 7, when it is determined that the numbers corresponding to the plurality of target areas through which the touch trajectory passes are 18 and 25, respectively, 18 may be set as the timing length of the fan: for 18 minutes, 25 is set to the fan swing angle of 25 degrees, or 18 may be set to the temperature of the air conditioner: at 18 c, 25 is set as the fan timing duration of 25 minutes.
For another example, as shown in fig. 8, when it is determined that the numbers corresponding to the target areas through which the touch trajectory passes are temperature 23, timing 30 minutes, wind speed 1 st gear, and angle 90 degrees, respectively, the adjustment parameter of the air conditioner may be set to temperature 23 ℃, the adjustment parameter of the fan may be set to timing 30 minutes, wind speed 1 st gear, and yaw angle 90 degrees, or the adjustment parameter of the air conditioner may be set to temperature 23 ℃ and timing 30 minutes, and the adjustment parameter of the fan may be set to wind speed 1 st gear and yaw angle 90 degrees.
In some embodiments, the home devices include fans and air conditioners, and the sequentially setting each number as the adjustment parameter corresponding to each home device according to the priority order of each home device may include: setting each serial number as a regulating parameter corresponding to the fan, namely timing duration, a swing angle and a wind speed in sequence; and combining the numbers to obtain a plurality of combination numbers, and setting the combination numbers as the corresponding adjusting parameters of the air conditioner to be timing duration, wind speed, wind swinging angle and temperature in sequence.
Taking the example that the household appliance includes a fan and an air conditioner, after determining the numbers corresponding to the target areas through which the touch tracks pass, the mobile terminal may set each number or the combination of the numbers as the adjustment parameters, such as the timing duration, the swing angle, the wind speed, and the like, corresponding to the fan, or the adjustment parameters, such as the timing duration, the wind speed, the swing angle, the temperature, and the like, corresponding to the air conditioner. For example, as shown in fig. 7, when it is determined that numbers corresponding to a plurality of target areas through which a touch trajectory passes are 18, 2, 6, and 25, respectively, a timing duration of a fan may be set to 2 hours, a yaw angle may be set to 25 degrees, a wind speed may be set to 2 steps, and a temperature may be set to 18 ℃; and setting the timed duration of the air conditioner to 43 minutes (e.g., 18+25 ═ 43), and the temperature to 26 ℃ (e.g., 26 in combination of 2 and 6).
For another example, when it is determined that numbers corresponding to a plurality of target areas through which the touch trajectory passes are 1, 2, and 3, respectively, the mobile terminal may set the timing duration of the fan to 1 hour, set the wind speed to 2 steps, and convert the wind speed to 3 steps after 1 hour; the timing period of the air conditioner was set to 123 minutes and the temperature was set to 23 ℃.
And S105, controlling the household appliance to operate based on the adjusting parameters.
After the adjusting parameters of the household appliances are determined, the mobile terminal can send the adjusting parameters to the corresponding household appliances, the household appliances are controlled to operate on the basis of the adjusting parameters, convenient control over the household appliances through the mobile terminal is achieved after the mobile terminal is in communication connection with the household appliances, parameter adjustment of different household appliances can be achieved through one-time touch tracks, and adjustment modes of all parameters of the household appliances do not need to be adjusted for multiple times.
The method and the device for displaying the touch tracks can display a plurality of areas in the touch display screen of the mobile terminal according to a preset strategy and receive the touch tracks input by a user in the touch display screen of the mobile terminal; and then, determining a plurality of areas through which the touch track passes to obtain a plurality of target areas, acquiring a number corresponding to each target area, generating an adjusting parameter of the household appliance according to the number, and controlling the household appliance to operate based on the adjusting parameter. According to the scheme, the adjusting parameters of the household appliance can be generated based on the numbers corresponding to the multiple regions through which the touch tracks pass, the parameters of the household appliance can be quickly adjusted, and convenience and flexibility in control of the household appliance are improved.
Referring to fig. 9, fig. 9 is a schematic block diagram of a structure of a mobile terminal according to an embodiment of the present application.
As shown in fig. 9, the mobile terminal 300 may include a processor 302, a memory 303, and a communication interface 304 connected by a system bus 301, wherein the memory 303 may include a non-volatile computer-readable storage medium and an internal memory.
The non-transitory computer readable storage medium may store a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the methods for controlling a home device.
The processor 302 is configured to provide computing and control capabilities that support the operation of the overall mobile terminal.
The memory 303 provides an environment for running a computer program in a non-transitory computer-readable storage medium, which when executed by the processor 302, causes the processor 302 to perform any of the home device control methods.
The communication interface 304 is used for communication. Those skilled in the art will appreciate that the configuration shown in fig. 9 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the mobile terminal 300 to which the present application is applied, and that a particular mobile terminal 300 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
It should be understood that the bus 301 is, for example, an I2C (Inter-Integrated Circuit) bus, the Memory 303 may be a Flash chip, a Read-Only Memory (ROM), a magnetic disk, an optical disk, a usb disk, or a removable hard disk, the Processor 302 may be a Central Processing Unit (CPU), the Processor 302 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable gate arrays (FPGAs), or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in some embodiments, the processor 302 is configured to run a computer program stored in the memory 303 to perform the steps of:
displaying a plurality of areas in a touch display screen of the mobile terminal according to a preset strategy; receiving a touch track input by a user in a touch display screen of the mobile terminal; determining a plurality of areas through which the touch track passes to obtain a plurality of target areas; acquiring a number corresponding to each target area, and generating an adjusting parameter of the household appliance according to the number; and controlling the household appliance to operate based on the adjusting parameters.
In some embodiments, when displaying a plurality of regions in a touch display screen of the mobile terminal according to a preset policy, the processor 302 is further configured to: determining a user currently using the mobile terminal; acquiring habit data of a user when using the mobile terminal; determining display strategies of a plurality of areas according to habit data; displaying a plurality of regions within a touch display screen of the mobile terminal based on the display policy.
In some embodiments, in determining the user currently using the mobile terminal, the processor 302 is further configured to perform: receiving fingerprint information input by a user when the mobile terminal is unlocked, and determining the user using the mobile terminal currently based on the fingerprint information; or acquiring a face image in a preset range in front of the mobile terminal, performing face recognition on the face image, and determining a user currently using the mobile terminal based on a recognition result.
In some embodiments, the habit data includes an average speed or an operation gesture, and when acquiring the habit data of the user using the mobile terminal, the processor 302 is further configured to: acquiring an average speed corresponding to a historical input touch track when a user uses the mobile terminal; or acquiring an operation gesture of the user when the user uses the mobile terminal.
In some embodiments, when determining a display policy for a plurality of regions according to the habit data, and displaying the plurality of regions in the touch display screen of the mobile terminal based on the display policy, the processor 302 is further configured to: determining display intervals of the plurality of areas according to the average speed, and displaying the plurality of areas in a touch display screen of the mobile terminal based on the display intervals; or determining the display positions of the multiple areas according to the operation gesture, and displaying the multiple areas in the touch display screen of the mobile terminal based on the display positions.
In some embodiments, when determining the plurality of areas through which the touch trajectory passes, resulting in a plurality of target areas, the processor 302 is further configured to: determining the residence time of each region through which the touch track passes, and screening out the regions with the residence time larger than a preset time threshold value to obtain a plurality of target regions; or determining the first area and the last area through which the touch track passes to obtain a plurality of target areas.
In some embodiments, the home device includes a plurality of home devices, and when obtaining a number corresponding to each target area and generating an adjustment parameter of the home device according to the number, the processor 302 is further configured to: acquiring a mapping relation between the regions and the numbers, and determining the number corresponding to each target region according to the mapping relation; and sequentially setting each serial number as a corresponding adjusting parameter of each household appliance according to the priority order of each household appliance.
In some embodiments, the home devices include fans and air conditioners, and when each number is sequentially set as the corresponding adjustment parameter of each home device according to the priority order of each home device, the processor 302 is further configured to: setting each serial number as a regulating parameter corresponding to the fan, namely timing duration, a swing angle and a wind speed in sequence; and combining the numbers to obtain a plurality of combination numbers, and setting the combination numbers as the corresponding adjusting parameters of the air conditioner to be timing duration, wind speed, wind swinging angle and temperature in sequence.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the home appliance control method, and are not described herein again.
The mobile terminal can display a plurality of areas in the touch display screen of the mobile terminal according to a preset strategy and receive a touch track input by a user in the touch display screen of the mobile terminal; and then, determining a plurality of areas through which the touch track passes to obtain a plurality of target areas, acquiring a number corresponding to each target area, generating an adjusting parameter of the household appliance according to the number, and controlling the household appliance to operate based on the adjusting parameter. According to the scheme, the adjusting parameters of the household appliance can be generated based on the numbers corresponding to the multiple regions through which the touch tracks pass, the parameters of the household appliance can be quickly adjusted, and convenience and flexibility in control of the household appliance are improved.
The embodiment of the application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, the computer program comprises program instructions, and a processor executes the program instructions to realize the control method of any household appliance provided by the embodiment of the application. For example, the computer program is loaded by a processor and may perform the following steps:
displaying a plurality of areas in a touch display screen of the mobile terminal according to a preset strategy; receiving a touch track input by a user in a touch display screen of the mobile terminal; determining a plurality of areas through which the touch track passes to obtain a plurality of target areas; acquiring a number corresponding to each target area, and generating an adjusting parameter of the household appliance according to the number; and controlling the household appliance to operate based on the adjusting parameters.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The computer-readable storage medium may be an internal storage unit of the mobile terminal of the foregoing embodiment, for example, a hard disk or a memory of the mobile terminal. The computer readable storage medium may also be an external storage device of the mobile terminal, such as a plug-in hard disk provided on the mobile terminal, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like.
As the computer program stored in the computer-readable storage medium can execute any household electrical appliance control method provided in the embodiments of the present application, beneficial effects that can be achieved by any household electrical appliance control method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the foregoing embodiments.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and various equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A home appliance control method, comprising:
displaying a plurality of areas in a touch display screen of the mobile terminal according to a preset strategy;
receiving a touch track input by a user in a touch display screen of the mobile terminal;
determining a plurality of areas through which the touch track passes to obtain a plurality of target areas;
acquiring a number corresponding to each target area, and generating an adjusting parameter of the household appliance according to the number;
and controlling the household appliance to operate based on the adjusting parameters.
2. The household appliance control method of claim 1, wherein the displaying the plurality of areas in the touch display screen of the mobile terminal according to the preset strategy comprises:
determining a user currently using the mobile terminal;
acquiring habit data of the user when using the mobile terminal;
determining display strategies of a plurality of areas according to the habit data;
and displaying a plurality of areas in a touch display screen of the mobile terminal based on the display strategy.
3. The home device control method of claim 2, wherein the determining of the user currently using the mobile terminal comprises:
receiving fingerprint information input by a user when the mobile terminal is unlocked, and determining the user using the mobile terminal currently based on the fingerprint information; alternatively, the first and second electrodes may be,
the method comprises the steps of collecting a face image in a preset range in front of the mobile terminal, carrying out face recognition on the face image, and determining a user using the mobile terminal currently based on a recognition result.
4. The method as claimed in claim 2, wherein the habit data includes an average speed or an operation gesture, and the obtaining the habit data of the user using the mobile terminal includes:
acquiring an average speed corresponding to a historical input touch track when the user uses the mobile terminal; or acquiring the operation gesture of the user when the user uses the mobile terminal.
5. The home appliance control method according to claim 4, wherein the determining a display policy for a plurality of regions according to the habit data, and displaying the plurality of regions in the touch display screen of the mobile terminal based on the display policy comprises:
determining display intervals of a plurality of areas according to the average speed, and displaying the plurality of areas in a touch display screen of the mobile terminal based on the display intervals; alternatively, the first and second electrodes may be,
determining display positions of a plurality of areas according to the operation gesture, and displaying the plurality of areas in a touch display screen of the mobile terminal based on the display positions.
6. The method of claim 1, wherein the determining the plurality of areas through which the touch trajectory passes to obtain a plurality of target areas comprises:
determining the residence time of each region where the touch track passes, and screening out the regions with the residence time larger than a preset time threshold value to obtain a plurality of target regions; alternatively, the first and second electrodes may be,
and determining a first area and a last area which are passed by the touch track to obtain a plurality of target areas.
7. The method according to any one of claims 1 to 6, wherein the home appliance includes a plurality of home appliances, the obtaining a number corresponding to each target area, and the generating the adjustment parameter of the home appliance according to the number includes:
acquiring a mapping relation between the regions and the numbers, and determining the number corresponding to each target region according to the mapping relation;
and sequentially setting each serial number as a corresponding adjusting parameter of each household appliance according to the priority order of each household appliance.
8. The method of claim 7, wherein the home devices comprise fans and air conditioners, and the setting of each number as the corresponding adjustment parameter of each home device in sequence according to the priority order of each home device comprises:
setting each serial number as a regulating parameter corresponding to the fan, namely timing duration, a swing angle and a wind speed in sequence;
and combining the numbers to obtain a plurality of combination numbers, and setting the combination numbers as the corresponding adjusting parameters of the air conditioner to be timing duration, wind speed, wind swinging angle and temperature in sequence.
9. A mobile terminal, comprising a processor and a memory, wherein the memory stores a computer program, and the processor executes the home appliance control method according to any one of claims 1 to 8 when calling the computer program in the memory.
10. A computer-readable storage medium storing a computer program, the computer program being loaded by a processor to execute the method of controlling a home device according to any one of claims 1 to 8.
CN201911237324.6A 2019-12-05 2019-12-05 Household appliance control method, mobile terminal and computer readable storage medium Pending CN112925460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911237324.6A CN112925460A (en) 2019-12-05 2019-12-05 Household appliance control method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911237324.6A CN112925460A (en) 2019-12-05 2019-12-05 Household appliance control method, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112925460A true CN112925460A (en) 2021-06-08

Family

ID=76161101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911237324.6A Pending CN112925460A (en) 2019-12-05 2019-12-05 Household appliance control method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112925460A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102037437A (en) * 2009-03-23 2011-04-27 松下电器产业株式会社 Information processing device, information processing method, recording medium, and integrated circuit
CN102340539A (en) * 2010-07-20 2012-02-01 索尼公司 Communication control device, communication control system, communication control method, and program
CN105282426A (en) * 2014-06-30 2016-01-27 卡西欧计算机株式会社 Photographing apparatus and photographing control method
CN106931590A (en) * 2017-02-14 2017-07-07 珠海格力电器股份有限公司 Air-conditioning parameter slides laterally system of selection and system
CN109600285A (en) * 2018-12-26 2019-04-09 北京蓦然认知科技有限公司 Dynamic construction environment adjusts the method and device of list of rules in a kind of smart home
CN109614787A (en) * 2018-12-04 2019-04-12 惠州Tcl移动通信有限公司 Solve lock control method, device, mobile terminal and storage medium
CN110307624A (en) * 2019-06-04 2019-10-08 珠海格力电器股份有限公司 Control method, device, storage medium and the control equipment of air conditioning multi-couple system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102037437A (en) * 2009-03-23 2011-04-27 松下电器产业株式会社 Information processing device, information processing method, recording medium, and integrated circuit
CN102340539A (en) * 2010-07-20 2012-02-01 索尼公司 Communication control device, communication control system, communication control method, and program
CN105282426A (en) * 2014-06-30 2016-01-27 卡西欧计算机株式会社 Photographing apparatus and photographing control method
CN106931590A (en) * 2017-02-14 2017-07-07 珠海格力电器股份有限公司 Air-conditioning parameter slides laterally system of selection and system
CN109614787A (en) * 2018-12-04 2019-04-12 惠州Tcl移动通信有限公司 Solve lock control method, device, mobile terminal and storage medium
CN109600285A (en) * 2018-12-26 2019-04-09 北京蓦然认知科技有限公司 Dynamic construction environment adjusts the method and device of list of rules in a kind of smart home
CN110307624A (en) * 2019-06-04 2019-10-08 珠海格力电器股份有限公司 Control method, device, storage medium and the control equipment of air conditioning multi-couple system

Similar Documents

Publication Publication Date Title
US11311195B2 (en) Electronic device, and method for analyzing face information in electronic device
CN108006889B (en) Air conditioner control method and device
CN109114737A (en) Intelligent control method, system, equipment and the medium of air-conditioning
CN105117062A (en) Screen luminance regulation method and mobile terminal
CN105159505A (en) Interface operation method and terminal
CN110910878B (en) Voice wake-up control method and device, storage medium and household appliance
CN108734939B (en) Electronic equipment control method and device, electronic equipment and readable storage medium
CN112254283A (en) Control method and device of intelligent air conditioner, storage medium and system
CN112306364B (en) IoT (Internet of things) equipment control method and device, terminal and storage medium
CN110275611A (en) A kind of parameter adjusting method, device and electronic equipment
CN105183314A (en) Bright screen duration adjustment method and mobile terminal
CN105302311B (en) Terminal coefficient control method, device and terminal based on fingerprint recognition
CN112926358A (en) Fan control method, device and computer readable storage medium
CN113126870A (en) Parameter setting method, intelligent refrigerator and computer readable storage medium
CN105573654A (en) Display method for play control and terminal
CN112925213B (en) Household appliance control method, mobile terminal and computer readable storage medium
CN113065113A (en) Device control method, mobile terminal, and computer-readable storage medium
CN114488880A (en) Intelligent control method and device of equipment, intelligent switch and storage medium
CN111984337B (en) Operation mode collection method, terminal device, massage device and storage medium
CN112925460A (en) Household appliance control method, mobile terminal and computer readable storage medium
CN112925270B (en) Parameter setting method, mobile terminal and computer readable storage medium
CN112925425A (en) Device control method, mobile terminal, and computer-readable storage medium
CN112861571A (en) Household appliance control method, control device and computer readable storage medium
CN112860353B (en) Household appliance control method, mobile terminal and computer readable storage medium
CN112855593A (en) Fan control method, fan, intelligent temperature control 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210608

RJ01 Rejection of invention patent application after publication