CN112925213A - 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
CN112925213A
CN112925213A CN201911237321.2A CN201911237321A CN112925213A CN 112925213 A CN112925213 A CN 112925213A CN 201911237321 A CN201911237321 A CN 201911237321A CN 112925213 A CN112925213 A CN 112925213A
Authority
CN
China
Prior art keywords
mobile terminal
touch
area
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.)
Granted
Application number
CN201911237321.2A
Other languages
Chinese (zh)
Other versions
CN112925213B (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.)
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 CN201911237321.2A priority Critical patent/CN112925213B/en
Publication of CN112925213A publication Critical patent/CN112925213A/en
Application granted granted Critical
Publication of CN112925213B publication Critical patent/CN112925213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a household appliance control method, a mobile terminal and a computer readable storage medium, and the embodiment of the application can display a numeric keyboard in a touch display screen according to a preset strategy; receiving a touch track input by a user in the touch display screen; determining the area of the numeric keyboard passed by the touch track and the sliding direction passing through the area; determining target household electrical appliance equipment to be controlled according to the sliding direction, and acquiring adjusting parameters corresponding to the area; and controlling the target household appliance to operate based on the adjusting parameters. According to the scheme, the corresponding adjusting parameters can be determined based on the area where the touch track passes through, the target household appliance to be controlled is determined based on the sliding direction, the target household appliance is controlled to operate based on the adjusting parameters, different parameters of different household appliances can be rapidly adjusted, and convenience and flexibility in control of the household appliances 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, temperature 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 numeric keyboard in the touch display screen according to a preset strategy;
receiving a touch track input by a user in the touch display screen;
determining the area of the numeric keyboard passed by the touch track and the sliding direction passing through the area;
determining target household electrical appliance equipment to be controlled according to the sliding direction, and acquiring adjusting parameters corresponding to the area;
and controlling the target 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 on the touch display screen can display the numeric keyboard on the touch display screen according to a preset strategy, receive the touch tracks input by a user in the touch display screen, and determine the area of the numeric keyboard through which the touch tracks pass and the sliding direction of the area; and then, determining target household electrical appliance equipment to be controlled according to the sliding direction, and acquiring adjusting parameters corresponding to the area, wherein the target household electrical appliance equipment can be controlled to operate based on the adjusting parameters. According to the scheme, the corresponding adjusting parameters can be determined based on the area where the touch track passes through, the target household appliance to be controlled is determined based on the sliding direction, the target household appliance is controlled to operate based on the adjusting parameters, different parameters of different household appliances can be rapidly adjusted, and convenience and flexibility in control of the household appliances 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 a schematic diagram of a sliding direction of a touch trajectory passing through an area provided by an embodiment of the present application;
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 a mobile terminal, and the mobile terminal can comprise a mobile terminal such as a smart phone, a tablet computer, a palm computer or a notebook computer and is used for controlling household appliances. The mobile terminal can also comprise an intelligent refrigerator or an intelligent television and the like with a touch display screen for displaying a numeric keyboard, the intelligent refrigerator or the intelligent television can display the numeric keyboard in the touch display screen according to a preset strategy, receive a touch track input by a user in the touch display screen, and determine the area of the numeric keyboard through which the touch track passes and the sliding direction of the area through which the touch track passes; and then, the target household appliance to be controlled can be determined according to the sliding direction, the adjusting parameters corresponding to the area are obtained, and the target household appliance 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 numeric keyboard in the touch display screen according to a preset strategy.
The preset strategy can be flexibly set according to actual needs, for example, an n × m array numeric keypad or an n × m + a numeric keypad 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, a setting instruction input by a user can be received, and a numeric keyboard with preset number, size, display position, shape, color and the like is displayed in the touch display screen according to the setting instruction; or, a numeric keyboard can be displayed in the touch display screen according to the speed of the touch track input by the user history; and so on.
The mobile terminal may display the numeric keypad in the touch display screen in an unlocked state, or the mobile terminal may display the numeric keypad in the touch display screen in an unlocked state. The numeric keyboard can comprise a plurality of regions, wherein the regions can be non-overlapping regions, the number, the size, the display position, the shape, the color and the like of the regions can 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 region of the numeric keypad in advance, and establish a corresponding relationship between the region and the number, for example, the mobile terminal may receive a number setting instruction in the number setting interface, and input the number at a position corresponding to each region based on the number setting instruction, and the corresponding relationship between the region and the number may be stored in the mobile terminal locally or in a server 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 words, etc., and the number may be different for each region 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 numeric number corresponding to a combination of letters and numbers.
In some embodiments, displaying the numeric keypad in the touch display according to the preset strategy may include: determining a user currently using the mobile terminal; acquiring habit data of a user when using the mobile terminal; determining a display strategy of the numeric keyboard according to the habit data; and displaying the numeric keyboard in the touch display screen of the mobile terminal based on the display strategy.
Because different users may have differences in usage habits or requirements and the like of the mobile terminal, the convenience in using the mobile terminal and controlling the household appliances is improved for the convenience of using the mobile terminal without the users, and the numeric keyboard can be displayed in the touch display screen of the mobile terminal according to the difference 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 to obtain habit data of the user when the user uses the mobile terminal; or acquiring the operation gesture of the user when using the mobile terminal to obtain the habit data of the user when using 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 of the numeric keypad based on the habit data, the mobile terminal may determine a display strategy of the numeric keypad according to the habit data, and display the plurality of regions of the numeric keypad in the touch display screen of the mobile terminal based on the display strategy, where the display strategy may be flexibly set according to actual needs.
In some embodiments, determining a display policy of the numeric keypad according to the habit data, and displaying a plurality of regions of the numeric keypad within the touch display screen of the mobile terminal based on the display policy may include: determining the display interval of the numeric keyboard according to the average speed, and displaying a plurality of areas of the numeric keyboard in a touch display screen of the mobile terminal based on the display interval; or determining the display position of the numeric keyboard according to the operation gesture, and displaying a plurality of areas of the numeric keyboard in the touch display screen of the mobile terminal based on the display position.
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, it indicates that the speed of generating a touch trajectory by a user performing a touch operation is fast, and may determine that the display interval of the numeric keypad is a first display interval, and display a plurality of regions of the numeric keypad according to the first display interval in the touch display screen of the mobile terminal; when the average speed is smaller than or equal to the preset threshold, it is indicated that the speed of the touch track generated by the touch operation of the user is slow, the display interval of the numeric keyboard can be determined to be a second display interval, and a plurality of areas of the numeric keyboard are displayed in the touch display screen of the mobile terminal according to the second display interval, wherein the first display interval is larger than the second display interval. 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 of the numeric keypad in the touch display screen of the mobile terminal according to a display interval corresponding to the speed interval and based on the display interval. For example, when the calculated average speed has a large value, the mobile terminal may display a plurality of regions in the 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 position of the numeric keypad according to the operation gesture, for example, when the operation gesture is a one-handed operation, the mobile terminal may determine a position of the pressed point of the one-handed operation within the touch display screen, and determine the display position of the numeric keypad according to the position, for example, the position of the pressed point of the one-handed operation within the touch display screen is set as the center of the display position of the numeric keypad, at which time a plurality of regions of the numeric keypad may be displayed within the touch display screen of the mobile terminal based on the display position; or a plurality of areas of the numeric keypad are displayed within a range that can be touched by a one-handed operation. For example, as shown in fig. 5, when the user operates the mobile terminal with one hand, the mobile terminal may display a plurality of regions of the numeric keypad 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.
And S102, receiving a touch track input by a user in the touch display screen.
After displaying the plurality of areas of the numeric keyboard, the mobile terminal can receive a touch track generated by a user performing touch operation in the touch display screen, so as to set the adjusting parameters of the household appliance according to the number of the touch track passing through the areas.
S103, determining the area of the numeric keyboard passed by the touch track and the sliding direction of the passed area.
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 the region through which the touch track passes.
For example, the mobile terminal may determine the dwell time of each area through which the touch trajectory passes, screen out an area in which the dwell time is greater than a preset time threshold, and obtain an area of the numeric keypad through which the touch trajectory passes, where the preset time threshold may 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 an area of the numeric keypad through which the touch trajectory passes, 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, where 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 an area of the numeric keypad through which the touch trajectory passes may be obtained.
For another example, the mobile terminal may determine the contact area of each region through which the touch trajectory passes, and screen out a region having a contact area greater than a preset area threshold, to obtain a region of the numeric keypad through which the touch trajectory passes, 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 retention 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 retention time is greater than a preset time threshold, so as to obtain a region of the numeric keypad through which the touch trajectory passes.
At this time, the mobile terminal further needs to determine a sliding direction of the touch trajectory through the region of the numeric keypad, where the sliding direction of the region may be a direction from an edge of the region contacted when the touch trajectory passes through the region to an edge of the region contacted when the touch trajectory exits the region. For example, as shown in fig. 6, the sliding direction may include sliding from left to right, sliding from left to top, sliding from left to bottom, sliding from right to left, sliding from right to top, sliding from right to bottom, sliding from top to left, sliding from top to right, sliding from bottom to top, sliding from bottom to left, sliding from bottom to right, and the like.
In some embodiments, determining a region of the numeric keypad through which the touch trajectory passes, and the sliding direction through the region may include: determining the area of the numeric keyboard through which the touch track passes; acquiring a first touch point when a touch track passes through an area of a numeric keyboard and a last touch point when the touch track passes through the area; determining position information of a first touch point and a last touch point in an area; and determining the sliding direction of the touch track passing area according to the position information.
Specifically, in order to accurately determine the sliding direction, the mobile terminal detects the touch coordinate of each touch point of the touch trajectory and the position coordinate of the detection area, and then may determine the position relationship between each touch point and the detection area according to the touch coordinate of each touch point of the touch trajectory and the position coordinate of the detection area, and determine the area of the numeric keypad through which the touch trajectory passes according to the position relationship, and the first touch point when the touch trajectory passes through a certain area, the last touch point when the touch trajectory passes through the certain area, and the like.
At this time, the mobile terminal may determine the position information of the area where the first touch point and the last touch point are located, for example, the area may be divided into a plurality of sub-areas, and the position information may be obtained by determining the positions of the first touch point and the last touch point in the sub-areas.
Or when the area comprises a plurality of edges, determining that the first touch point passes through the first edge and the last touch point passes through the second edge of the area to obtain the position information. For example, when the area is a quadrangle, the area may include a first edge, a second edge, a third edge, and a fourth edge, and the first edge where the first touch point passes and the second edge where the last touch point passes may be obtained to obtain the position information.
The mobile terminal may determine the sliding direction of the touch trajectory passing through the region according to the position information of the region where the first touch point and the last touch point of the numeric keypad region where the touch trajectory passes through are located, for example, when the first touch point is located at the upper edge of the region and the last touch point is located at the lower edge of the region, the sliding direction of the touch trajectory passing through the region may be determined as sliding from top to bottom.
And S104, determining the target household appliance to be controlled according to the sliding direction, and acquiring the adjusting parameters corresponding to the area.
After obtaining the area of the numeric keyboard through which the touch track passes and the sliding direction of the area, the mobile terminal can set the number corresponding to the area as the adjusting parameter of the household appliance, and determine the target household appliance to be controlled according to the mapping relation between the sliding direction and the household appliance. 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, determining a target home device to be controlled according to the sliding direction, and acquiring the adjustment parameter corresponding to the area may include: acquiring a mapping relation between the sliding direction and the household appliance equipment, and determining target household appliance equipment to be controlled according to the mapping relation; acquiring the corresponding relation between the area and the number, and determining the number corresponding to the area according to the corresponding relation; obtaining the staying time of the area where the touch track passes, and determining target parameters to be adjusted according to the staying time; and setting the number as the value of the target parameter to obtain the adjusting parameter.
In order to improve the accuracy and convenience of controlling the household appliances, the mobile terminal may preset a mapping relationship between the sliding direction and the household appliances, for example, the sliding direction may be set to slide from left to right, from left to top, and from left to bottom, and the household appliances correspondingly controlled are fans; sliding from right to left, sliding from right to up and sliding from right to down, wherein the correspondingly controlled household appliance is an air conditioner; sliding from top to bottom, sliding from top to left and sliding from top to right, wherein the correspondingly controlled household appliance is a refrigerator; sliding from bottom to top, sliding from bottom to left and sliding from bottom to right, wherein the correspondingly controlled household appliance is a humidifier; and so on.
After the sliding direction of the area where the touch track passes is determined, the mapping relation between the sliding direction and the household appliance equipment can be obtained, and then the household appliance equipment to be controlled is determined according to the mapping relation, so that the target household appliance equipment is obtained.
Since each area is preset with a corresponding number, after the area through which the touch trajectory passes is determined, the mobile terminal can obtain the corresponding relationship between the areas and the number, and obtain the number corresponding to each area according to the corresponding relationship. The mobile terminal may obtain a staying time of the area where the touch trajectory passes, where the staying time may be a time interval between a starting time when the touch trajectory starts to enter the area and an ending time when the touch trajectory leaves the area, or the staying time may be a time when a pressure value of a position where the touch trajectory presses the area in a sliding process is greater than a preset pressure threshold; and the preset time threshold can be flexibly set according to actual needs.
Then, the mobile terminal may obtain a corresponding relationship between the retention time and the parameter, determine a target parameter to be adjusted corresponding to the retention time according to the corresponding relationship between the retention time and the parameter, and set the number as a value of the target parameter to obtain an adjustment parameter, for example, the adjustment parameter corresponding to the retention time of 1 second is temperature, and the adjustment parameter corresponding to the retention time of 3 seconds is humidity, and the like. Or, the mobile terminal may directly set the number corresponding to the area as the adjustment parameter of the home appliance.
And S105, controlling the target household appliance to operate based on the adjusting parameters.
After the target household appliance to be controlled is determined and the adjusting parameters are obtained, the mobile terminal can control the target household appliance to operate based on the adjusting parameters.
For example, as shown in fig. 7, when the sliding direction of the area where the touch trajectory passes through is from bottom to top, it may be determined that the target home appliance to be controlled is a fan, and at this time, 30 minutes of timing corresponding to the area may be set as an adjustment parameter of the fan, and the fan timing is controlled for 30 minutes.
For another example, as shown in fig. 8, when the sliding direction of the area where the touch trajectory passes through is from top to bottom, it may be determined that the target home appliance to be controlled is an air conditioner, and at this time, 30 minutes of timing corresponding to the area may be set as an adjustment parameter of the air conditioner, and the air conditioner timing may be controlled for 30 minutes.
In some embodiments, the target home device includes a fan or an air conditioner, and controlling the target home device to operate based on the adjustment parameter may include: controlling the fan to operate according to adjusting parameters including timing duration, a swing angle and air volume; or controlling the air conditioner to operate according to adjusting parameters including timing duration, wind speed, air supply angle and temperature.
Taking household appliances including a fan and an air conditioner as an example, after the mobile terminal determines that a target household appliance to be controlled is the fan based on the sliding direction of the touch track passing area and determines adjusting parameters of the fan such as timing duration, swing angle and air volume based on the digital number corresponding to the touch track passing area, the mobile terminal can control the fan to operate according to the adjusting parameters including the timing duration, the swing angle and the air volume. Or after the mobile terminal determines that the target household appliance to be controlled is the air conditioner based on the sliding direction of the touch track passing area and determines adjusting parameters of the air conditioner, such as timing duration, wind speed, wind supply angle and temperature, based on the number corresponding to the touch track passing area, the mobile terminal can control the air conditioner to operate according to the adjusting parameters including the timing duration, the wind speed, the wind supply angle and the temperature.
The method and the device for displaying the touch tracks on the touch display screen can display the numeric keyboard on the touch display screen according to a preset strategy, receive the touch tracks input by a user in the touch display screen, and determine the area of the numeric keyboard through which the touch tracks pass and the sliding direction of the area; and then, determining target household electrical appliance equipment to be controlled according to the sliding direction, and acquiring adjusting parameters corresponding to the area, wherein the target household electrical appliance equipment can be controlled to operate based on the adjusting parameters. According to the scheme, the corresponding adjusting parameters can be determined based on the area where the touch track passes through, the target household appliance to be controlled is determined based on the sliding direction, the target household appliance is controlled to operate based on the adjusting parameters, different parameters of different household appliances can be rapidly adjusted, a user does not need to adjust different parameters of different household appliances for multiple times, and convenience and flexibility in controlling the household appliances 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 numeric keyboard in the touch display screen according to a preset strategy; receiving a touch track input by a user in a touch display screen; determining the area of the numeric keyboard through which the touch track passes and the sliding direction of the passing area; determining target household electrical appliance equipment to be controlled according to the sliding direction, and acquiring adjusting parameters corresponding to the area; the control-target home device operates based on the adjustment parameter.
In some embodiments, in determining the area of the numeric keypad through which the touch trajectory passes, and the sliding direction through the area, the processor 302 is further configured to perform: determining the area of the numeric keyboard through which the touch track passes; acquiring a first touch point when a touch track passes through an area of a numeric keyboard and a last touch point when the touch track passes through the area; determining position information of a first touch point and a last touch point in an area; and determining the sliding direction of the touch track passing area according to the position information.
In some embodiments, in determining the target home device to be controlled according to the sliding direction, and acquiring the adjustment parameter corresponding to the area, the processor 302 is further configured to: acquiring a mapping relation between the sliding direction and the household appliance equipment, and determining target household appliance equipment to be controlled according to the mapping relation; acquiring the corresponding relation between the area and the number, and determining the number corresponding to the area according to the corresponding relation; obtaining the staying time of the area where the touch track passes, and determining target parameters to be adjusted according to the staying time; and setting the number as the value of the target parameter to obtain the adjusting parameter.
In some embodiments, when displaying the numeric keypad on the touch screen display according to the preset strategy, 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 a display strategy of the numeric keyboard according to the habit data; and displaying the numeric keyboard in the touch display screen of the mobile terminal based on the display strategy.
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, in obtaining habit data of a user using a 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 to obtain habit data of the user when the user uses the mobile terminal; or acquiring the operation gesture of the user when using the mobile terminal to obtain the habit data of the user when using the mobile terminal.
In some embodiments, when determining the display policy of the numeric keypad according to the habit data, and displaying the numeric keypad in the touch display screen of the mobile terminal based on the display policy, the processor 302 is further configured to perform: determining the display interval of the numeric keyboard according to the average speed, and displaying a plurality of areas of the numeric keyboard in a touch display screen of the mobile terminal based on the display interval; or determining the display position of the numeric keyboard according to the operation gesture, and displaying a plurality of areas of the numeric keyboard in the touch display screen of the mobile terminal based on the display position.
In some embodiments, the target device includes a fan or an air conditioner, and the processor 302 is further configured to perform, when controlling the target device to operate based on the adjustment parameter: controlling the fan to operate according to adjusting parameters including timing duration, a swing angle and air volume; or controlling the air conditioner to operate according to adjusting parameters including timing duration, wind speed, air supply angle and temperature.
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 acquire the environment image in the preset area around the household appliance, acquire the running parameters of the household appliance, and generate a preview interface of the running of the household appliance based on the running parameters and the environment image; and then receiving an adjusting instruction, adjusting the running parameters of the household appliance according to the adjusting instruction, and displaying the running state of the household appliance after the running parameters are adjusted in the preview interface. The scheme can preview the adjusting effect of the running parameters of the household appliance, so that the running effect required by a user can be quickly adjusted, the convenience and the accuracy of parameter adjustment are improved, and the influence of repeated adjustment on the service life and the performance of the household appliance is reduced.
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 numeric keyboard in the touch display screen according to a preset strategy; receiving a touch track input by a user in a touch display screen; determining the area of the numeric keyboard through which the touch track passes and the sliding direction of the passing area; determining target household electrical appliance equipment to be controlled according to the sliding direction, and acquiring adjusting parameters corresponding to the area; the control-target home device operates based on the adjustment parameter.
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 numeric keyboard in the touch display screen according to a preset strategy;
receiving a touch track input by a user in the touch display screen;
determining the area of the numeric keyboard passed by the touch track and the sliding direction passing through the area;
determining target household electrical appliance equipment to be controlled according to the sliding direction, and acquiring adjusting parameters corresponding to the area;
and controlling the target household appliance to operate based on the adjusting parameters.
2. The method of claim 1, wherein the determining a region of the numeric keypad through which the touch trajectory passes and a sliding direction through the region comprises:
determining the area of the numeric keyboard through which the touch track passes;
acquiring a first touch point when the touch track passes through an area of the numeric keyboard and a last touch point when the touch track passes through the area;
determining position information that the first touch point and the last touch point are located in the area;
and determining the sliding direction of the touch track passing through the area according to the position information.
3. The method according to claim 1, wherein the determining a target home device to be controlled according to the sliding direction and the obtaining the adjustment parameter corresponding to the area comprise:
acquiring a mapping relation between the sliding direction and the household appliance equipment, and determining target household appliance equipment to be controlled according to the mapping relation;
acquiring a corresponding relation between an area and a number, and determining the number corresponding to the area according to the corresponding relation;
obtaining the staying time of the area where the touch track passes through, and determining a target parameter to be adjusted according to the staying time;
and setting the number as the value of the target parameter to obtain an adjusting parameter.
4. The method as claimed in claim 1, wherein the displaying the numeric keypad on the touch screen 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 a display strategy of a numeric keyboard according to the habit data;
and displaying a numeric keyboard in a touch display screen of the mobile terminal based on the display strategy.
5. The home device control method of claim 4, 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.
6. The method as claimed in claim 4, wherein the obtaining habit data of the user using the mobile terminal comprises:
acquiring an average speed corresponding to a historical input touch track when the user uses the mobile terminal to obtain habit data of the user when the user uses the mobile terminal; alternatively, the first and second electrodes may be,
and acquiring the operation gesture of the user when using the mobile terminal to obtain the habit data of the user when using the mobile terminal.
7. The method of claim 6, wherein the determining a display policy of a numeric keypad according to the habit data, and the displaying the numeric keypad in the touch display of the mobile terminal based on the display policy comprises:
determining a display interval of a numeric keyboard according to the average speed, and displaying a plurality of areas of the numeric keyboard in a touch display screen of the mobile terminal based on the display interval; alternatively, the first and second electrodes may be,
and determining the display position of a numeric keyboard according to the operation gesture, and displaying a plurality of areas of the numeric keyboard in a touch display screen of the mobile terminal based on the display position.
8. The home device control method according to any one of claims 1 to 7, wherein the target home device comprises a fan or an air conditioner, and the controlling the target home device to operate based on the adjustment parameter comprises:
controlling the fan to operate according to adjusting parameters including timing duration, a swing angle and air volume; alternatively, the first and second electrodes may be,
and controlling the air conditioner to operate according to adjusting parameters including timing duration, wind speed, air supply angle and temperature.
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.
CN201911237321.2A 2019-12-05 2019-12-05 Household appliance control method, mobile terminal and computer readable storage medium Active CN112925213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911237321.2A CN112925213B (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
CN201911237321.2A CN112925213B (en) 2019-12-05 2019-12-05 Household appliance control method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112925213A true CN112925213A (en) 2021-06-08
CN112925213B CN112925213B (en) 2023-05-16

Family

ID=76161158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911237321.2A Active CN112925213B (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) CN112925213B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499264A (en) * 2022-11-14 2022-12-20 长沙朗源电子科技有限公司 Intelligent household appliance ecosystem, equipment control method, equipment and medium

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
US20140232672A1 (en) * 2013-02-20 2014-08-21 Tencent Technology (Shenzhen) Company Limited Method and terminal for triggering application programs and application program functions
CN104122845A (en) * 2013-04-24 2014-10-29 富泰华工业(深圳)有限公司 Household appliance control system and method
US20160196034A1 (en) * 2013-11-28 2016-07-07 Huawei Device Co., Ltd. Touchscreen Control Method and Terminal Device
CN108628527A (en) * 2017-03-15 2018-10-09 奥克斯空调股份有限公司 A kind of household electric appliance control method
CN108775678A (en) * 2018-05-31 2018-11-09 广东美的制冷设备有限公司 Remote control method, household appliance, remote control equipment and storage medium
CN110275665A (en) * 2019-05-23 2019-09-24 深圳龙图腾创新设计有限公司 A kind of operating method of touch panel, electronic equipment and storage medium

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
US20140232672A1 (en) * 2013-02-20 2014-08-21 Tencent Technology (Shenzhen) Company Limited Method and terminal for triggering application programs and application program functions
CN104122845A (en) * 2013-04-24 2014-10-29 富泰华工业(深圳)有限公司 Household appliance control system and method
US20160196034A1 (en) * 2013-11-28 2016-07-07 Huawei Device Co., Ltd. Touchscreen Control Method and Terminal Device
CN108628527A (en) * 2017-03-15 2018-10-09 奥克斯空调股份有限公司 A kind of household electric appliance control method
CN108775678A (en) * 2018-05-31 2018-11-09 广东美的制冷设备有限公司 Remote control method, household appliance, remote control equipment and storage medium
CN110275665A (en) * 2019-05-23 2019-09-24 深圳龙图腾创新设计有限公司 A kind of operating method of touch panel, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499264A (en) * 2022-11-14 2022-12-20 长沙朗源电子科技有限公司 Intelligent household appliance ecosystem, equipment control method, equipment and medium
CN115499264B (en) * 2022-11-14 2023-03-24 长沙朗源电子科技有限公司 Intelligent household appliance ecological system, equipment control method, equipment and medium

Also Published As

Publication number Publication date
CN112925213B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
CN107101325B (en) Air conditioner control method, device, terminal and system
CN107422859B (en) Gesture-based regulation and control method and device, computer-readable storage medium and air conditioner
CN108006889B (en) Air conditioner control method and device
US20170046866A1 (en) Method and device for presenting operating states
CN105117062A (en) Screen luminance regulation method and mobile terminal
CN105159505A (en) Interface operation method and terminal
WO2022022121A1 (en) Interactive method for establishing device linkage scene, and storage medium and electronic device
CN109752965B (en) Method and device for controlling household appliance and household appliance
CN108920070B (en) Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal
CN108734939B (en) Electronic equipment control method and device, electronic equipment and readable storage medium
CN105183314A (en) Bright screen duration adjustment method and mobile terminal
CN112254283A (en) Control method and device of intelligent air conditioner, storage medium and system
CN112926358A (en) Fan control method, device and computer readable storage medium
CN112925213B (en) Household appliance control method, mobile terminal and computer readable storage medium
WO2022105447A1 (en) Iot device control method, apparatus, terminal, and storage medium
CN106548795B (en) A kind of control method and mobile terminal of multimedia player
CN114110783B (en) Cabinet air conditioner, control method, electronic equipment and storage medium
CN105573654A (en) Display method for play control and terminal
CN113126870A (en) Parameter setting method, intelligent refrigerator and computer readable storage medium
CN105302459B (en) Single-hand control method and device for terminal
CN114488880A (en) Intelligent control method and device of equipment, intelligent switch and storage medium
CN112243065B (en) Video recording method and device
CN113065113A (en) Device control method, mobile terminal, and computer-readable storage medium
CN106293430A (en) Virtual slide-mouse control system and control method thereof
CN109960454B (en) User parameter input method and device of electrical equipment and electrical equipment using method

Legal Events

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