CN112925213B - 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
CN112925213B
CN112925213B CN201911237321.2A CN201911237321A CN112925213B CN 112925213 B CN112925213 B CN 112925213B CN 201911237321 A CN201911237321 A CN 201911237321A CN 112925213 B CN112925213 B CN 112925213B
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.)
Active
Application number
CN201911237321.2A
Other languages
Chinese (zh)
Other versions
CN112925213A (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] or 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

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 an area of the numeric keyboard through which the touch track passes and a sliding direction passing through the area; determining target household electrical appliances to be controlled according to the sliding direction, and acquiring adjustment parameters corresponding to the area; and controlling the target household appliance to operate based on the adjustment parameters. According to the scheme, corresponding adjusting parameters can be determined based on the area where the touch track passes, the target household electrical appliance to be controlled is determined based on the sliding direction, the target household electrical appliance is controlled to run based on the adjusting parameters, different parameters of different household electrical appliances can be quickly adjusted, and convenience and flexibility in household electrical appliance control are improved.

Description

Household appliance control method, mobile terminal and computer readable storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a home appliance control method, a mobile terminal, and a computer readable storage medium.
Background
With rapid development of technology and improvement of living standard of people, home appliances such as refrigerators, fans or air conditioners are becoming popular. In the prior art, when parameters such as air quantity, air direction, temperature or temperature of different household appliances such as a refrigerator, a fan or an air conditioner are adjusted, a remote controller is required to enter an adjusting mode of one parameter, a user manually adjusts the parameter, after the parameter adjustment is completed, the user enters an adjusting mode of another parameter to adjust, and the different household appliances are required to be adjusted by using the remote controllers corresponding to the different household appliances respectively, so that the parameter adjustment of a plurality of household appliances is very complicated to control.
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 an area of the numeric keyboard through which the touch track passes and a sliding direction passing through the area;
determining target household electrical appliances to be controlled according to the sliding direction, and acquiring adjustment parameters corresponding to the area;
and controlling the target household appliance to operate based on the adjustment parameters.
In a second aspect, an embodiment of the present application further provides a mobile terminal, including a memory and a processor, where the memory stores a computer program, and when the processor invokes the computer program in the memory, any one of the home appliance control methods provided in the embodiments of the present application is executed.
In a third aspect, embodiments of the present application further provide a computer readable storage medium, where the computer readable storage medium is configured to store a computer program, where the computer program is loaded by a processor, to perform any one of the home appliance control methods provided in the embodiments of the present application.
According to the embodiment of the application, the numeric keyboard can be displayed in the touch display screen according to the preset strategy, the touch track input by the user in the touch display screen is received, and the area of the numeric keyboard through which the touch track passes and the sliding direction of the passing area are determined; and then determining the target household electrical appliance to be controlled according to the sliding direction, and acquiring the adjusting parameters corresponding to the area, wherein the target household electrical appliance can be controlled to operate based on the adjusting parameters. According to the scheme, corresponding adjusting parameters can be determined based on the area where the touch track passes, the target household electrical appliance to be controlled is determined based on the sliding direction, the target household electrical appliance is controlled to run based on the adjusting parameters, different parameters of different household electrical appliances can be quickly adjusted, and convenience and flexibility in household electrical appliance control are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for controlling a home appliance according to an embodiment of the present application;
FIG. 2 is a schematic diagram of displaying multiple regions within a touch display screen provided by an embodiment of the present application;
FIG. 3 is another schematic diagram of displaying multiple regions within a touch display screen provided by an embodiment of the present application;
FIG. 4 is another schematic diagram of displaying multiple regions within a touch display screen provided by an embodiment of the present application;
FIG. 5 is another schematic diagram of displaying multiple regions within a touch display screen provided by an embodiment of the present application;
fig. 6 is a schematic diagram of a sliding direction of a touch track passing area provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of a touch trajectory input within a touch display provided by an embodiment of the present application;
FIG. 8 is another schematic diagram of a touch trajectory provided for input within a touch display screen in accordance with an embodiment of the application;
fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
Embodiments of the present application provide a home 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 personal 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 intelligent television and the like with a touch display screen for displaying the numeric keyboard, wherein the intelligent refrigerator or 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, determine the area of the numeric keyboard through which the touch track passes and the sliding direction of the passing area; and then, the target household electrical appliance to be controlled can be determined according to the sliding direction, the adjusting parameters corresponding to the areas are obtained, and the target household electrical appliance is controlled to operate based on the adjusting parameters.
Referring to fig. 1, fig. 1 is a flowchart of a method for controlling a home device according to an embodiment of the present application. The home appliance control method may include steps S101 to S105, etc., 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, a numerical keyboard displaying an n×m array or a numerical keyboard displaying n×m+a can be flexibly set according to actual needs in a touch display screen of the mobile terminal according to preset intervals; 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, the numeric keyboard can be displayed in the touch display screen according to the speed of the touch track input by the user history; etc.
The mobile terminal may display the keypad in the touch display screen in an unlocked state, or the mobile terminal may display the keypad in the touch display screen in an unlocked state. The number keyboard can comprise a plurality of areas, wherein each area can be a non-overlapping area, the number, the size, the display position, the shape, the color and the like of the areas 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 quadrilateral, and for example, as shown in fig. 3, the shape of the region may be circular.
It should be noted that, the mobile terminal may set a number for each area of the numeric keypad in advance, and establish a correspondence between the areas and the numeric numbers, for example, the mobile terminal may receive a number setting instruction in the numeric number setting interface, and input the numeric numbers at positions corresponding to each area based on the number setting instruction, and the correspondence between the areas and the numeric numbers may be stored in the mobile terminal locally or in a server in advance. In the process of using the mobile terminal, a user can modify the number of the area according to own requirements or preference, for example, the mobile terminal can receive a number modification instruction in a number setting interface, delete the original number at a position corresponding to the area to be modified based on the number modification instruction, and input a new number. The number may consist of numbers, letters and/or words, etc., each zone may be provided with a different number, or there may be portions of the same, etc. When the region is displayed, the number corresponding to the region may be displayed in the region or may be hidden in the region.
For example, as shown in fig. 2, each region may be correspondingly provided with a multi-digit numerical number. As another example, as shown in fig. 3, each region may be correspondingly provided with a numerical number of units. As another example, as shown in fig. 4, each region may be correspondingly provided with a numerical number of a combination of an alphanumeric character.
In some embodiments, displaying the keypad within the touch display according to the preset policy may include: determining a user currently using the mobile terminal; acquiring habit data of a user when the user uses the mobile terminal; determining a display strategy of the numeric keyboard according to the habit data; and displaying the numeric keypad in a touch display screen of the mobile terminal based on the display strategy.
Because different users may have differences in using habits or demands of the mobile terminal, the mobile terminal is convenient to use without users, the convenience of the mobile terminal in use and control of household appliances is improved, and the numeric keyboard can be displayed in the touch display screen of the mobile terminal according to the differences and individuation of the users currently using the mobile terminal.
Specifically, first the mobile terminal may determine the 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, recognizing the face image, and determining the user currently using the mobile terminal based on the recognition result.
For example, in the use process of the mobile terminal, when the mobile terminal needs to perform an unlocking operation, the mobile terminal may receive the fingerprint information, the voiceprint information, the face information, the iris information and other biological characteristics input by the user when the mobile terminal is unlocked, and the user currently using the mobile terminal may be determined based on the fingerprint information, the voiceprint information, the face information, the iris information and other biological characteristics. Or the mobile terminal can acquire a face image in a preset range (for example, the visible range of the camera) in front of the mobile terminal through the camera, then face recognition is carried out on the face image through a face recognition model to obtain a recognition result, the recognition result can comprise characteristic information or identification information of a user, for example, face information or iris information of the user, hair style, face shape or whether to wear glasses of the user, and the user using the mobile terminal at present can be determined based on the recognition result.
Then, the mobile terminal may acquire habit data of the user using the mobile terminal, which may include an average speed, which may be an average speed generated by sliding the user when inputting a touch trajectory during use of the mobile terminal, or an operation gesture, which may include one-handed operation, two-handed operation, or the like. By setting the average speed of the sliding or the operation gesture and the like as habit data when the user uses the mobile terminal, accuracy and convenience in acquiring habit data can be improved. In some embodiments, acquiring habit data of a user when using a mobile terminal may include: acquiring average speed corresponding to a historical input touch track when a user uses the mobile terminal, and acquiring habit data when the user uses the mobile terminal; or acquiring an operation gesture of the user when the user uses the mobile terminal, and obtaining habit data of the user when the user uses the mobile terminal.
For example, the mobile terminal may obtain an average speed corresponding to a history input touch track when the user uses the mobile terminal in a preset period, where the history may be an operation performed on the mobile terminal before this time, the history may include multiple times, the mobile terminal may obtain an average speed corresponding to a touch track input by the user through history, for example, may record a start time, an end time, and a track length of each input touch track, then calculate a speed of the touch (for example, (end time-start time)/(length=speed) according to the start time, the end time, and the track length, and so on, and after obtaining speeds corresponding to multiple touch tracks, average the speeds of multiple touch tracks may be obtained, where the average speed is an average speed corresponding to the history input touch track.
For another example, the mobile terminal detects the distribution state of the pressing of the mobile terminal by the finger of the user through the sensor, and when a pressing point exists in the touch display screen, the operation gesture of the user when using the mobile terminal can be determined to be single-hand operation; when a plurality of pressing points exist in the touch display screen, determining that the operation gesture when the user uses the mobile terminal is double-hand operation; etc.
At this time, in order to precisely display a plurality of areas of the numeric keypad based on the habit data, the mobile terminal may determine a display policy of the numeric keypad according to the habit data, and display the plurality of areas of the numeric keypad in a 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 of the keypad according to the habit data, displaying a plurality of areas of the keypad within a touch display screen of the mobile terminal based on the display policy may include: determining display intervals 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 intervals; 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 a touch display screen of the mobile terminal based on the display position.
Specifically, after the average speed is obtained, the mobile terminal can judge whether the average speed is greater than a preset threshold value, the preset threshold value can be flexibly set according to actual needs, when the average speed is greater than the preset threshold value, the speed of a touch track generated by a user in touch operation is higher, the display interval of the digital keyboard can be determined to be a first display interval, and a plurality of areas of the digital keyboard are displayed in a touch display screen of the mobile terminal according to the first display interval; when the average speed is smaller than or equal to a preset threshold value, the speed of the user for touching to generate a touch track is lower, 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, where each speed interval corresponds to a different display interval, that is, a mapping relationship between the speed interval and the display interval is established, where the greater the speed, the greater the interval between the areas, and conversely, the smaller the speed, the smaller the interval between the areas. After the average speed is obtained, the mobile terminal can determine a speed interval in which the average speed is located, then display the multiple areas of the numeric keyboard in the touch display screen of the mobile terminal according to the display interval corresponding to the speed interval. For example, when the calculated average speed has a larger value, the mobile terminal may display a plurality of areas at a larger display interval in the touch display screen. The mobile terminal can display different numbers of areas with different display intervals according to different speeds, or the mobile terminal can display different numbers of areas according to different speeds.
In another embodiment, the mobile terminal may determine a display position of the 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 a pressing point of the one-handed operation within the touch display screen, determine the display position of the keypad according to the position, for example, a position of the pressing point of the one-handed operation within the touch display screen is set as a center of the display position of the keypad, and may display a plurality of areas of the keypad within the touch display screen of the mobile terminal based on the display position; or multiple areas of the keypad are displayed within the range that can be touched by a single hand operation. For example, as shown in fig. 5, when a user operates the mobile terminal with one hand, the mobile terminal may display a plurality of areas of the numeric keypad within a preset range of the touch display screen that can be operated with one hand, so that the user can conveniently select the areas, and convenience and flexibility of operation are improved.
S102, receiving a touch track input by a user in the touch display screen.
After a plurality of areas of the numeric keyboard are displayed, the mobile terminal can receive a touch track generated by touch operation of a user in the touch display screen, so that the adjustment parameters of the household appliance can be set according to the number of the area through which the touch track passes.
S103, determining the area of the numeric keyboard through which the touch track passes and the sliding direction of the passing area.
In order to improve the accuracy of the region selection and avoid misoperation, the mobile terminal can determine an effective region through which the 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 residence time of each area through which the touch track passes, and screen out the area with residence time greater than a preset time threshold, so as to obtain the area of the numeric keyboard through which the touch track 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 where the touch track passes, to obtain an area of the numeric keyboard where the touch track passes, and may determine, according to information such as a coordinate point of the touch track, the area where the start point coordinate of the touch track is located, and the last area may be an area where the end point coordinate of the touch track is located, so as to obtain the area of the numeric keyboard where the touch track passes.
For another example, the mobile terminal may determine a contact area of each area through which the touch track passes, and screen out an area with a contact area greater than a preset area threshold, so as to obtain an area of the numeric keyboard through which the touch track 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 residence time of each area through which the touch trajectory passes, and screen out an area with a contact area greater than a preset area threshold and an area with a residence time greater than a preset time threshold, to obtain an area of the numeric keyboard through which the touch trajectory passes.
At this time, the mobile terminal also needs to determine a sliding direction of the touch trajectory passing through the area of the keypad, and the sliding direction of the area may be a direction from an edge of the area contacted when the touch trajectory starts to enter the area to an edge of the area contacted when the touch trajectory exits the area. For example, as shown in fig. 6, the sliding direction may include left-to-right sliding, left-to-up sliding, left-to-down sliding, right-to-left sliding, right-to-up sliding, right-to-down sliding, up-to-left sliding, up-to-right sliding, down-to-up sliding, down-to-left sliding, down-to-right sliding, and the like.
In some embodiments, determining the area of the keypad through which the touch trajectory passes, and the sliding direction through the area 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 the 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 track and the position coordinate where the detection area is located, and then may determine the position relationship between each touch point and the area according to the obtained touch coordinate of each touch point of the touch track and the position coordinate where the area is located, determine the area of the numeric keyboard through which the touch track passes according to the position relationship, and determine the first touch point when the touch track passes through a certain area, the last touch point when the touch track passes through the area, and so on.
At this time, the mobile terminal may determine the position information of the first touch point and the last touch point in the region, for example, the region may be divided into a plurality of sub-regions, and the positions of the first touch point and the last touch point in the sub-regions may be determined to obtain the position information.
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, and obtaining 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 through which the first touch point passes and the second edge through which the last touch point passes may be acquired to obtain the position information.
The mobile terminal may determine a sliding direction of the touch trajectory passing region according to the position information of the first touch point and the last touch point of the keypad region through which the touch trajectory passes, 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 region may be determined to be sliding from top to bottom.
S104, determining the target household electrical appliance to be controlled according to the sliding direction, and acquiring the adjusting parameters corresponding to the area.
After the area of the numeric keyboard through which the touch track passes is obtained and the sliding direction passing through the area, the mobile terminal can set the numeric number corresponding to the area as the adjustment parameter of the home appliance, and determine the target home appliance to be controlled according to the mapping relation between the sliding direction and the home appliance. The home appliance may include a fan, an air conditioner, a humidifier, a refrigerator, a washing machine, a water heater, and the like. The adjustment parameters can be flexibly set according to actual needs, and specific contents are not limited herein, for example, the adjustment parameters can include timing duration, wind swinging angle, wind speed, temperature and the like.
In some embodiments, determining the 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 electrical appliance, and determining a target household electrical appliance to be controlled according to the mapping relation; acquiring a corresponding relation between the region and the digital number, and determining the digital number corresponding to the region according to the corresponding relation; acquiring the stay time of an area where the touch track passes, and determining target parameters to be adjusted according to the stay time; and setting the digital number as the value of the target parameter to obtain the adjustment parameter.
In order to improve the accuracy and convenience of controlling the home appliances, the mobile terminal may preset a mapping relationship between the sliding direction and the home appliances, for example, may set the sliding direction to slide from left to right, from left to up, and from left to down, where the home appliances controlled correspondingly are fans; the household appliances correspondingly controlled by sliding from right to left, from right to up and from right to down are air conditioners; the household appliances correspondingly controlled by sliding from top to bottom, sliding from top to left and sliding from top to right are refrigerators; the household appliances correspondingly controlled are humidifiers, namely, sliding from bottom to top, sliding from bottom to left and sliding from bottom to right; etc.
After the sliding direction of the area where the touch track passes is determined, a mapping relationship between the sliding direction and the home appliance can be obtained, and then the home appliance to be controlled is determined according to the mapping relationship, so that the target home appliance is obtained.
Because each region is preset with a corresponding number, after the region through which the touch track passes is determined, the mobile terminal can acquire the corresponding relationship between the region and the number, and acquire the number corresponding to each region according to the corresponding relationship. The mobile terminal can acquire the stay time of the area where the touch track passes, wherein the stay time can be a time interval between the start time when the touch track starts to enter the area and the end time when the touch track leaves the area, or the stay time can be a time when the pressure value of the position where the touch track presses the area in the sliding process is larger than a preset pressure threshold value; and the like, the preset time threshold can be flexibly set according to actual needs.
Then, the mobile terminal may obtain a correspondence between the residence time and the parameters, determine a target parameter to be adjusted corresponding to the residence time according to the correspondence between the residence time and the parameters, and set the numerical number as a value of the target parameter to obtain an adjustment parameter, for example, the adjustment parameter corresponding to the residence time of 1 second is a temperature, and the adjustment parameter corresponding to the residence time of 3 seconds is a humidity. Or, the mobile terminal may directly set the digital number corresponding to the area as the adjustment parameter of the home appliance.
S105, the control target household appliance operates based on the adjustment parameters.
After determining the target home appliance to be controlled and obtaining the adjustment parameter, the mobile terminal can control the target home appliance to operate based on the adjustment parameter.
For example, as shown in fig. 7, when the sliding direction of the area through which the touch trajectory passes is from bottom to top, it may be determined that the target home device to be controlled is a fan, and at this time, the timing 30 minutes corresponding to the area may be set as the adjustment parameter of the fan, and the fan timing 30 minutes may be controlled.
For another example, as shown in fig. 8, when the sliding direction of the area where the touch track passes is sliding from top to bottom, it may be determined that the target home appliance to be controlled is an air conditioner, at this time, the timing 30 minutes corresponding to the area may be set as the adjustment parameter of the air conditioner, and the air conditioner timing 30 minutes may be controlled.
In some embodiments, the target home device comprises a fan or an air conditioner, and controlling the target home device to operate based on the adjustment parameter may comprise: controlling the fan to run according to the regulation parameters including the timing time length, the swing angle and the air quantity; or the air conditioner is controlled to operate according to the adjusting parameters including the timing time length, the wind speed, the air supply angle and the temperature.
Taking the home appliance including a fan and an air conditioner as an example, after determining that the target home appliance to be controlled is the fan based on the sliding direction of the touch track passing region and determining the timing time length, the swing angle, the air volume and other adjusting parameters of the fan based on the number corresponding to the touch track passing region, the mobile terminal can control the fan to operate according to the adjusting parameters including the timing time length, the swing angle and the air volume. Or after determining that the target household electrical appliance to be controlled is the air conditioner based on the sliding direction of the touch track passing area and determining the timing time length, the wind speed, the air supply angle, the temperature and other adjusting parameters of the air conditioner based on the digital 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 time length, the wind speed, the air supply angle and the temperature.
According to the embodiment of the application, the numeric keyboard can be displayed in the touch display screen according to the preset strategy, the touch track input by the user in the touch display screen is received, and the area of the numeric keyboard through which the touch track passes and the sliding direction of the passing area are determined; and then determining the target household electrical appliance to be controlled according to the sliding direction, and acquiring the adjusting parameters corresponding to the area, wherein the target household electrical appliance can be controlled to operate based on the adjusting parameters. According to the scheme, corresponding adjusting parameters can be determined based on the area where the touch track passes, the target household electrical equipment to be controlled is determined based on the sliding direction, the target household electrical equipment is controlled to run based on the adjusting parameters, different parameters of different household electrical equipment can be quickly adjusted, a user is not required to adjust the different parameters of the different household electrical equipment for multiple times, and convenience and flexibility in household electrical equipment control are improved.
Referring to fig. 9, fig. 9 is a schematic block diagram 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 through 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 comprises program instructions that, when executed, cause the processor to perform any of a number of home device control methods.
The processor 302 is used to provide computing and control capabilities to support the operation of the overall mobile terminal.
The memory 303 provides an environment for the execution of a computer program in a non-volatile 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. It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the mobile terminal 300 to which the present application is applied, and that a particular mobile terminal 300 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It should be appreciated that the bus 301 may be, for example, an I2C (Inter-integrated Circuit) bus, the Memory 303 may be a Flash chip, a Read-Only Memory (ROM) disk, an optical disk, a U-disk or a removable hard disk, etc., the processor 302 may be a central processing unit (Central Processing Unit, CPU), the processor 302 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-Programmable gate arrays (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In some embodiments, the processor 302 is configured to execute a computer program stored in the memory 303 to 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 appliances to be controlled according to the sliding direction, and acquiring adjustment parameters corresponding to the area; the control target home device operates based on the adjustment parameter.
In some implementations, in determining the area of the keypad through which the touch trajectory passes, and the sliding direction of the passing 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 the 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, when 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 perform: acquiring a mapping relation between the sliding direction and the household electrical appliance, and determining a target household electrical appliance to be controlled according to the mapping relation; acquiring a corresponding relation between the region and the digital number, and determining the digital number corresponding to the region according to the corresponding relation; acquiring the stay time of an area where the touch track passes, and determining target parameters to be adjusted according to the stay time; and setting the digital number as the value of the target parameter to obtain the adjustment parameter.
In some embodiments, the processor 302 is further configured to, when displaying the keypad within the touch display screen according to a preset policy, perform: determining a user currently using the mobile terminal; acquiring habit data of a user when the user uses the mobile terminal; determining a display strategy of the numeric keyboard according to the habit data; and displaying the numeric keypad in a touch display screen of the mobile terminal based on the display strategy.
In some implementations, 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, recognizing the face image, and determining the user currently using the mobile terminal based on the recognition result.
In some embodiments, the processor 302 is further configured to, when acquiring habit data of a user using the mobile terminal, perform: acquiring average speed corresponding to a historical input touch track when a user uses the mobile terminal, and acquiring habit data when the user uses the mobile terminal; or acquiring an operation gesture of the user when the user uses the mobile terminal, and obtaining habit data of the user when the user uses the mobile terminal.
In some embodiments, in determining a display policy for the keypad based on the habit data, the processor 302 is further configured to, when displaying the keypad within the touch display of the mobile terminal based on the display policy: determining display intervals 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 intervals; 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 a touch display screen of the mobile terminal based on the display position.
In some implementations, the target home device includes a fan or an air conditioner, and the processor 302 is further configured to perform, when controlling the target home device to operate based on the adjustment parameter: controlling the fan to run according to the regulation parameters including the timing time length, the swing angle and the air quantity; or the air conditioner is controlled to operate according to the adjusting parameters including the timing time length, the wind speed, the air supply angle and the temperature.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the portions of a certain embodiment that are not described in detail may be referred to the above detailed description of the control method of the home appliance, which is not repeated herein.
The mobile terminal can acquire the environment image in the preset area around the household appliance, acquire the operation parameters of the household appliance, and generate a preview interface of the operation of the household appliance based on the operation parameters and the environment image; and then receiving an adjusting instruction, and adjusting the running parameters of the household electrical appliance according to the adjusting instruction, wherein the running state of the household electrical appliance after the running parameters are adjusted can be displayed in the preview interface. According to the scheme, the adjusting effect of the running parameters of the household electrical appliance can be previewed, so that the running effect required by a user can be quickly adjusted, the convenience and accuracy of parameter adjustment are improved, and the influence of repeated adjustment on the service life and performance of the household electrical appliance is reduced.
The embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein the computer program comprises program instructions, and the processor executes the program instructions to realize any household appliance control method provided by the embodiment of the application. For example, the computer program is loaded by a processor, the following steps may be performed:
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 appliances to be controlled according to the sliding direction, and acquiring adjustment parameters corresponding to the area; the control target home device operates based on the adjustment parameter.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described 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, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the mobile terminal.
Because the computer program stored in the computer readable storage medium can execute any of the home appliance control methods provided in the embodiments of the present application, the beneficial effects that any of the home appliance control methods provided in the embodiments of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
It is to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification 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 any and all possible combinations of one or more of the associated listed items, and includes such combinations. 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 one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments. While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A home appliance control method, applied to a mobile terminal, comprising:
displaying a numeric keyboard in a touch display screen according to a preset strategy, wherein the preset strategy is set according to any one of preset intervals, a setting instruction input by a user or the speed of a touch track input by a user history;
receiving a touch track input by a user in the touch display screen;
determining an area of the numeric keyboard through which the touch track passes and a sliding direction passing through the area;
obtaining a mapping relation between the sliding direction and the household electrical appliance, determining a target household electrical appliance to be controlled in the mapping relation according to the sliding direction, obtaining a corresponding relation between an area and a digital number, determining the digital number corresponding to the area according to the corresponding relation, obtaining the residence time of the touch track in the area, determining a target parameter to be regulated according to the residence time, taking the digital number as a value of the target parameter, and obtaining a regulating parameter according to the target parameter and the value thereof;
and controlling the target household appliance to operate based on the adjustment parameters.
2. The home appliance control method according to claim 1, wherein the determining a region of the 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 of the first touch point and the last touch point in the area;
and determining the sliding direction of the touch track passing through the area according to the position information.
3. The method of claim 1, wherein displaying the keypad in the touch display according to the preset policy comprises:
determining a user currently using the mobile terminal;
acquiring habit data of the user when the user uses the mobile terminal;
determining a display strategy of the 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.
4. The home appliance control method of claim 3, wherein the determining that the user currently uses the mobile terminal comprises:
receiving fingerprint information input by a user when the mobile terminal is unlocked, and determining the user currently using the mobile terminal based on the fingerprint information; or alternatively, the process may be performed,
and acquiring a face image in a preset range in front of the mobile terminal, recognizing the face image, and determining a user currently using the mobile terminal based on a recognition result.
5. The home appliance control method of claim 3, wherein the acquiring habit data of the user using the mobile terminal comprises:
acquiring average speed corresponding to a historical input touch track when the user uses the mobile terminal, and acquiring habit data when the user uses the mobile terminal; or alternatively, the process may be performed,
and acquiring an operation gesture of the user when the user uses the mobile terminal, and acquiring habit data of the user when the user uses the mobile terminal.
6. The home appliance control method of claim 5, wherein the determining a display policy of a keypad according to the habit data, and displaying the keypad in a touch display screen of the mobile terminal based on the display policy comprises:
determining display intervals 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 intervals; or alternatively, the process may be performed,
and determining the display position of the 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.
7. The home appliance control method according to any one of claims 1 to 6, wherein the target home appliance includes a fan or an air conditioner, and the controlling the target home appliance to operate based on the adjustment parameter includes:
controlling the fan to run according to the regulation parameters including timing duration, swing angle and air quantity; or alternatively, the process may be performed,
and controlling the air conditioner to operate according to the adjusting parameters including the timing time length, the wind speed, the air supply angle and the temperature.
8. A mobile terminal comprising a processor and a memory, wherein the memory stores a computer program, and wherein the processor executes the home appliance control method according to any one of claims 1 to 7 when calling the computer program in the memory.
9. A computer-readable storage medium storing a computer program loaded by a processor to perform the home appliance control method of any one of claims 1 to 7.
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 CN112925213A (en) 2021-06-08
CN112925213B true 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)

Families Citing this family (1)

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

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102037437B (en) * 2009-03-23 2014-04-16 松下电器产业株式会社 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
CN104122845B (en) * 2013-04-24 2018-12-18 富泰华工业(深圳)有限公司 Household appliance control system and method
CN103616972B (en) * 2013-11-28 2017-02-22 华为终端有限公司 Touch screen 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

Also Published As

Publication number Publication date
CN112925213A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN108180605B (en) Automatic non-wind-sensing control method and device and computer readable storage medium
CN107168407A (en) Control the method and device of the leaving water temperature of intelligent drinking machine
EP3130969A1 (en) Method and device for showing work state of a device
CN109308159B (en) Intelligent device control method, device and system, electronic device and storage medium
CN108734939B (en) Electronic equipment control method and device, electronic equipment and readable storage medium
CN108920202A (en) Using preloading management method, device, storage medium and intelligent terminal
CN104754078A (en) Mobile terminal volume regulation and control device, method and mobile terminal
WO2021237425A1 (en) Screen brightness adjustment method, terminal and storage medium
WO2022105447A1 (en) Iot device control method, apparatus, terminal, and storage medium
CN113091244B (en) Control method and device for household appliance and equipment
CN113587400B (en) Air conditioner control method and device for setting temperature adjustment and air conditioner
CN112254283A (en) Control method and device of intelligent air conditioner, storage medium and system
CN110275611A (en) A kind of parameter adjusting method, device and electronic equipment
CN112925213B (en) Household appliance control method, mobile terminal and computer readable storage medium
CN108444073B (en) Operation feedback method of air conditioner control interface, controller and air conditioner
CN105183314A (en) Bright screen duration adjustment method and mobile terminal
CN105549857B (en) A kind of control method and electric terminal of electric terminal
CN105302459B (en) Single-hand control method and device for terminal
CN109960454B (en) User parameter input method and device of electrical equipment and electrical equipment using method
CN106293430A (en) Virtual slide-mouse control system and control method thereof
CN113126870A (en) Parameter setting method, intelligent refrigerator and computer readable storage medium
US20140331190A1 (en) Non-straight gesture recognition method for touch devices
CN110471298B (en) Intelligent household appliance control method, equipment and computer readable medium
CN113065113A (en) Device control method, mobile terminal, and computer-readable storage medium
CN112925425A (en) Device control method, mobile terminal, and computer-readable storage medium

Legal Events

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