CN111857073A - Method, device and equipment for controlling bathing equipment - Google Patents

Method, device and equipment for controlling bathing equipment Download PDF

Info

Publication number
CN111857073A
CN111857073A CN202010705145.7A CN202010705145A CN111857073A CN 111857073 A CN111857073 A CN 111857073A CN 202010705145 A CN202010705145 A CN 202010705145A CN 111857073 A CN111857073 A CN 111857073A
Authority
CN
China
Prior art keywords
user
control parameter
bathing equipment
reference control
control parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010705145.7A
Other languages
Chinese (zh)
Inventor
赵欢
尹德帅
梁旭亮
王守峰
仵允更
康智宽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN202010705145.7A priority Critical patent/CN111857073A/en
Publication of CN111857073A publication Critical patent/CN111857073A/en
Pending legal-status Critical Current

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
    • 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]
    • G05B19/4183Total 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] characterised by data acquisition, e.g. workpiece identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • G06F18/23213Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • 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)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Automation & Control Theory (AREA)
  • Control For Baths (AREA)

Abstract

The application relates to the technical field of Internet of things and discloses a method for controlling bathing equipment. The method comprises the following steps: acquiring fingerprint information and fingerprint acquisition time of a user; determining a reference control parameter of the user according to the fingerprint information of the user; determining bath equipment control parameters according to the reference control parameters and the fingerprint acquisition time; and controlling the bathing equipment to operate according to the bathing equipment control parameters. The method enables the user to automatically set the control parameters of the bathing equipment through fingerprint identification, and the control parameters of the bathing equipment can be set differently for different users, so that the bathing equipment can operate according to different control parameters for different users, and the bathing experience of the users is improved. The application also discloses a device and equipment for controlling the bathing equipment.

Description

Method, device and equipment for controlling bathing equipment
Technical Field
The application relates to the technical field of internet of things, for example, to a method, a device and equipment for controlling bathing equipment.
Background
The bathing equipment in the bathroom is generally common for families, and in view of different use habits of each person, when the former person finishes using the bathing equipment, the next person for bathing needs to reset the water temperature, the water outlet mode, the temperature of the bathroom heater and the like.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art: in the prior art, different users usually reset the control parameters of the bathing equipment according to the use habits of the users due to different use habits of the users, which wastes time and makes the users feel cumbersome, resulting in poor bathing experience of the users.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method, a device and equipment for controlling bathing equipment, so that the bathing equipment can operate according to different control parameters for different users.
In some embodiments, the method for controlling a bath apparatus comprises:
acquiring fingerprint information and fingerprint acquisition time of a user;
determining a reference control parameter corresponding to the user according to the fingerprint information of the user;
determining bathing equipment control parameters according to the reference control parameters and the fingerprint acquisition time;
And controlling the bathing equipment to operate according to the bathing equipment control parameters.
In some embodiments, determining the reference control parameter corresponding to the user according to the fingerprint information of the user includes:
matching a user corresponding to the fingerprint information from a preset first database, and matching a reference control parameter corresponding to the user from a preset second database; the first database comprises a corresponding relation between fingerprint information and a user; the second database includes reference control parameters and their corresponding relationships with users.
In some embodiments, the reference control parameter in the second database is obtained by clustering usage habit data of the user.
In some embodiments, the clustering usage habit data of the user to obtain the reference control parameter in the second database comprises:
obtaining a sample point corresponding to the reference control parameter according to the use habit data of the user and the use time information corresponding to the use habit data;
clustering the sample points;
determining the cluster center of each cluster set when the sample point stops clustering iteration;
and using the use habit data corresponding to the cluster center as a reference control parameter.
In some embodiments, the abscissa of the sample point is the usage habit data of the user, and the ordinate of the sample point is the usage time information; or the like, or, alternatively,
the abscissa of the sample point is the use time information, and the ordinate of the sample point is the use habit data of the user.
In some embodiments, clustering the sample points comprises:
selecting more than two sample points as a first centroid;
and calculating the distance between each sample point outside the first mass center and each first mass center, and dividing the sample points according to the distance to obtain the sample points of each cluster set and the number of the sample points of each cluster set.
In some embodiments, determining the cluster center of each cluster set at which the sample point stops clustering iteration comprises:
calculating by using the sample points of each cluster set and the number of the sample points of each cluster set through a preset algorithm to obtain a second centroid of each cluster set;
when the distance between each second centroid and the corresponding first centroid is smaller than a set threshold, stopping clustering iteration of the sample points;
and taking the second centroid of each clustering set when the sample point stops clustering iteration as the cluster center of each clustering set.
In some embodiments, determining a bath apparatus control parameter from the reference control parameter and the fingerprint acquisition time comprises:
and determining the use time information with the minimum difference value with the fingerprint acquisition time, and taking the corresponding reference control parameter as the bathing equipment control parameter.
In some embodiments, the apparatus for controlling a bath apparatus comprises: comprising a processor and a memory storing program instructions, the processor being configured to, when executing the program instructions, perform the above-described method for controlling a bath apparatus.
In some embodiments, the apparatus comprises: the device for controlling the bathing equipment is described above.
The method, the device and the equipment for controlling the bathing equipment provided by the embodiment of the disclosure can realize the following technical effects: the reference control parameter corresponding to the user is determined through the fingerprint information of the user, the bathing equipment control parameter can be determined according to the reference control parameter and the fingerprint acquisition time, and the bathing equipment can be controlled to operate according to the bathing equipment control parameter, so that the user can automatically set the bathing equipment control parameter through fingerprint identification, the bathing equipment control parameter can be set differently for different users, the bathing equipment can operate according to different control parameters for different users, and the bathing experience of the user is improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
FIG. 1 is a schematic view of a method for controlling a bath apparatus provided in accordance with an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a clustering method provided by the embodiments of the present disclosure;
FIG. 3 is a schematic view of another method for controlling a bath apparatus provided by an embodiment of the present disclosure;
FIG. 4 is a schematic view of an apparatus for controlling a bath apparatus according to an embodiment of the disclosure;
figure 5 is a schematic view of a bathing apparatus control system provided in an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
With reference to fig. 1, an embodiment of the present disclosure provides a method for controlling a bath apparatus, including:
step S101, acquiring fingerprint information and fingerprint acquisition time of a user;
step S102, determining a reference control parameter corresponding to a user according to fingerprint information of the user;
step S103, determining bath equipment control parameters according to the reference control parameters and the fingerprint acquisition time;
And S104, controlling the bathing equipment to operate according to the bathing equipment control parameters.
By adopting the method for controlling the bathing equipment provided by the embodiment of the disclosure, the reference control parameter corresponding to the user is determined through the fingerprint information of the user, the bathing equipment control parameter can be determined according to the reference control parameter and the fingerprint acquisition time, and the bathing equipment is controlled to operate according to the bathing equipment control parameter, so that the user can automatically set the bathing equipment control parameter through fingerprint identification, and the bathing equipment control parameter can be differently set for different users, thereby realizing that the bathing equipment can operate according to different control parameters for different users, and improving the bathing experience of the user.
Optionally, determining a reference control parameter corresponding to the user according to the fingerprint information of the user includes: matching a user corresponding to the fingerprint information from a preset first database, and matching a reference control parameter corresponding to the user from a preset second database; the first database comprises a corresponding relation between fingerprint information and a user; the second database includes reference control parameters and their correspondence with users.
Optionally, the different users are determined by user identity information. Optionally, the user identity information includes one of a face feature, an age, a gender, a name, a constitution, and the like.
Optionally, the reference control parameter in the second database is obtained by clustering usage habit data of the user.
In some embodiments, the usage habit data of the user includes data of set water temperature, shower outlet mode, air volume of the exhaust fan, temperature of the bathroom heater, and the like. Optionally, the water temperature includes 0 to 100 degrees, and the shower water outlet mode includes: general, massage, turbine, and strong beam type, the air volume of the exhaust fan is the number of air changes per hour, and the temperature of the bath heater includes room temperature to 300 deg.C.
In some embodiments, when the user uses the bathing equipment, fingerprint information and use time information of the user are collected, and data such as water temperature, water outlet mode of the shower head, air volume of the exhaust fan, temperature of the bathroom heater and the like set when the user uses the bathing equipment are collected and stored. Optionally, the usage time information is a start time corresponding to the usage habit data of the user or an end time corresponding to the usage habit data of the user.
Optionally, the clustering usage habit data of the user to obtain the reference control parameter in the second database includes: obtaining a sample point corresponding to the reference control parameter according to the use habit data of the user and the use time information corresponding to the use habit data; clustering the sample points; determining the cluster center of each cluster set when the sample point stops clustering iteration; and using the use habit data corresponding to the cluster center as a reference control parameter. Therefore, the cluster center of each cluster set can be simply, quickly and efficiently acquired, and the reference control parameter can be quickly and efficiently acquired.
Optionally, the abscissa of the sample point is the usage habit data of the user, and the ordinate of the sample point is the usage time information; or, the abscissa of the sample point is the use time information, and the ordinate of the sample point is the use habit data of the user.
Optionally, clustering the sample points comprises: selecting more than two sample points as a first centroid; and calculating the distance between each sample point outside the first mass center and each first mass center, and dividing the sample points according to the distance to obtain the sample points of each cluster set and the number of the sample points of each cluster set.
In some embodiments, k sample points are randomly selected in the sample point data set X, and the k sample points are taken as a first centroid, i.e., C1,C2,......,CkA first centroid, which determines how many classes the dataset needs to be divided into.
Optionally, calculating the distance between each sample point i outside the first centroid and each first centroid comprises:
by calculation of
Figure BDA0002594458250000061
Obtaining the distance L between each sample point outside the first mass center and each first mass centeri
Wherein L isiIs the distance, x, from the sample point outside the ith first centroid to the jth first centroidiIs the abscissa value, y, of the sample point outside the ith first centroidiIs the ordinate, x, of sample points outside the first centroid jIs the abscissa value, y, of the jth first centroidiIs the ordinate value of the jth first centroid, i is a positive integer, j is an integer, j is more than or equal to 1 and less than or equal to k, k is a positive integer, and k is more than or equal to 2.
Optionally, dividing the sample points according to distance includes: each sample point in the sample point data set outside the first centroid is divided into a cluster set of closest first centroids to form a cluster set centered at the first centroid.
In some embodiments, when a sample point i outside the first centroid is closest to the jth first centroid, then that sample point i belongs to the cluster set u of the jth first centroidj. For example, the 5 th sample point outside the first centroid is closest to the 1 st first centroid, and then the sample point belongs to the 1 st first centroid's cluster set.
In some embodiments, the sample point data set 50 is randomTakes 2 sample points as the first centroid, i.e., C1And C2(ii) a Calculating the distance between each sample point outside the first centroid and each first centroid, dividing according to the distance, and making each sample point outside the first centroid close to C1Sample point of (C)1Cluster set u of first centroids1Near C2Sample point of (C)2Cluster set u of first centroids 2For example, 20 sample points outside the first centroid are closer to C1Then the 20 sample points belong to C1Cluster set u of first centroids1The remaining 28 sample points are closer to C2Then the 28 sample points belong to C2Cluster set u of first centroids2Thus, two cluster sets are obtained, and the sample point of each cluster set and the number of sample points of each cluster set are obtained.
Optionally, determining a cluster center of each cluster set when the sample point stops clustering iteration includes: calculating by using the sample points of each cluster set and the number of the sample points of each cluster set through a preset algorithm to obtain a second centroid of each cluster set; when the distance between each second centroid and the corresponding first centroid is smaller than a set threshold value, stopping clustering iteration of the sample points; and taking the second centroid of each clustering set as the cluster center of each clustering set when the sample point stops clustering iteration.
Optionally by calculation
Figure BDA0002594458250000071
Get the second centroid C'j
Wherein, C'jSecond centroid, x, for the jth cluster setaIs ujInner a-th sample point, | ujI is the jth cluster set ujThe number of sample points in the sample; j is an integer, j is more than or equal to 1 and less than or equal to k, and a is a positive integer.
Optionally, when the distance between the second centroid of each cluster set and the first centroid of the cluster set is smaller than a set threshold, it indicates that the position of the recalculated second centroid does not change much and tends to be stable, i.e., converge, and the sample point stops the iteration of clustering when the cluster is considered to have reached the desired result.
Optionally, when the distance change between the second centroid of each cluster set and the first centroid of the cluster set is greater than or equal to the set threshold, recalculating the distance between each sample point outside the first centroid and each first centroid, dividing the cluster sets according to the distance, and then calculating the second centroid again until the newly calculated distance between the second centroid and the first centroid of the cluster set is less than the set threshold, that is, the clustering reaches the expected result, and stopping the clustering iteration of the sample points. And continuously carrying out iterative computation on the sample points by a K-means clustering algorithm, and simply, quickly and efficiently obtaining the cluster center of each clustering set. Thereby, the reference control parameter can be obtained quickly and efficiently.
In some embodiments, referring to fig. 2, fig. 2 is a flowchart of a k-means clustering algorithm, and the specific steps are as follows:
s201, randomly selecting k sample points from a sample point data set X as a first centroid;
s202, calculating the distance between each sample point outside the first mass center and each first mass center;
s203, dividing each sample point outside the first centroid in the sample point data set into a cluster set of the first centroid closest to the first centroid;
S204, calculating a second centroid of each cluster set;
s205, judging whether the distance between the second centroid and the corresponding first centroid is smaller than a set threshold value, if so, executing the step S206, otherwise, returning to execute the step S202;
and S206, stopping clustering iteration of the sample points, and taking the second centroid of each clustering set as the cluster center of each clustering set.
Therefore, the iterative computation is continuously carried out on the sample points through the k-means clustering algorithm, and the cluster center of each clustering set can be simply, quickly and efficiently obtained, so that the reference control parameters can be quickly and efficiently obtained.
Optionally, determining the bath equipment control parameter according to the reference control parameter and the fingerprint acquisition time includes: and determining the use time information with the minimum difference value with the fingerprint acquisition time, and taking the corresponding reference control parameter as the bathing equipment control parameter.
In some embodiments, when the user starts the bath equipment, fingerprint information of the user is collected to obtain fingerprint acquisition time, the corresponding user is determined through the fingerprint information, and reference control parameters corresponding to the user, such as water temperature, water outlet mode, air exhaust amount, bath heater temperature and the like, are searched. Determining the use time information closest to the fingerprint acquisition time according to the user fingerprint acquisition time, taking the reference control parameter corresponding to the use time information as a bathing equipment control parameter, and respectively controlling a water heater, a shower head, an exhaust fan valve, a bathroom heater terminal and the like in bathing equipment according to the bathing equipment control parameter. For example, the user use time information includes 8:00, 20:00, 22:00 and the like, and when the fingerprint acquisition time is 19:00, the reference control parameter corresponding to the closest use time information 20:00 is used as the bathing equipment control parameter. Therefore, the reference control parameter corresponding to the user is determined through the fingerprint information of the user, the bathing equipment control parameter can be determined according to the reference control parameter and the fingerprint acquisition time, and the bathing equipment can be controlled to operate according to the bathing equipment control parameter, so that the user can automatically set the bathing equipment control parameter through fingerprint identification, the bathing equipment control parameter can be differently set aiming at different users, the bathing equipment can operate according to different control parameters aiming at different users, and the bathing experience of the user is improved.
In practical application, referring to fig. 3, an embodiment of the present disclosure provides a method for controlling a bathing apparatus, which includes the following specific steps:
step S301, when a user opens bathing equipment, fingerprint information is collected and fingerprint acquisition time is obtained;
step S302, determining whether the usage habit data of the fingerprint is collected, if yes, performing step S303, and if not, performing step S305;
step S303, obtaining bathing equipment control parameters of a proper user according to the using habit data of the user, optionally clustering the using habit data of the user to obtain reference control parameters in a second database, determining user using time information closest to the fingerprint obtaining time according to the fingerprint obtaining time, and taking the reference control parameters corresponding to the user using time information as the bathing equipment control parameters, namely the bathing equipment control parameters of the proper user; then, step S304 is executed;
step S304, controlling the operation of the bathing equipment according to the bathing equipment control parameters, and then executing step S306;
step S305, saving the fingerprint information, and then executing step S306;
step S306, collecting the current usage data of the user, for example: the set water temperature, the shower head water outlet mode, the air volume of the exhaust fan, the temperature of the bath heater and the like, and then step S307 is executed;
And step S307, clustering the collected current user data to obtain a reference control parameter in a second database.
Therefore, the reference control parameter corresponding to the user is determined through the fingerprint information of the user, the bathing equipment control parameter can be determined according to the reference control parameter and the fingerprint acquisition time, and the bathing equipment can be controlled to operate according to the bathing equipment control parameter, so that the user can automatically set the bathing equipment control parameter through fingerprint identification, the bathing equipment control parameter can be differently set aiming at different users, the bathing equipment can operate according to different control parameters aiming at different users, and the bathing experience of the user is improved.
As shown in fig. 4, the embodiment of the present disclosure provides an apparatus for controlling a bath device, which includes a processor (processor)100 and a memory (memory)101 storing program instructions. Optionally, the apparatus may also include a Communication Interface (Communication Interface)102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other via a bus 103. The communication interface 102 may be used for information transfer. The processor 100 may invoke program instructions in the memory 101 to perform the method for controlling a bath apparatus of the above-described embodiment.
Further, the program instructions in the memory 101 may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 101, which is a computer-readable storage medium, may be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 100 executes functional applications and data processing, i.e. the method for controlling a bath apparatus in the above embodiments, by executing program instructions/modules stored in the memory 101.
The memory 101 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. In addition, the memory 101 may include a high-speed random access memory, and may also include a nonvolatile memory.
Because bathing equipment in a bathroom is generally used by families, and because the using habits of each person are different, after the former person uses the bathing equipment, the water temperature, the water outlet mode, the temperature of a bath heater and the like need to be reset by the next person for bathing, meanwhile, if the seasons are changed, the using habits of the same person may also be changed, the bathing equipment control parameters need to be repeatedly set before each bath, and the time is wasted and the user feels fussy. According to the device for controlling the bathing equipment, the reference control parameter corresponding to the user is determined through the fingerprint information of the user, the bathing equipment control parameter can be determined according to the reference control parameter and the fingerprint acquisition time, the bathing equipment is controlled to operate according to the bathing equipment control parameter, the user can automatically set the bathing equipment control parameter through fingerprint identification, the bathing equipment control parameter can be set differently according to different users, the bathing equipment can operate according to different control parameters according to different users, and the bathing experience of the user is improved.
The embodiment of the disclosure provides equipment comprising the device for controlling the bathing equipment.
Optionally, the device comprises a bathroom heater, shower, water heater, exhaust fan, intelligent gateway or server.
When the equipment is a server or an intelligent gateway, the fingerprint information of the user uploaded by the fingerprint identification device is received, and the bathing equipment control parameters are sent to the bathroom heater, the shower head, the water heater, the exhaust fan and the like after the bathing equipment control parameters are analyzed, so that each bathing equipment runs according to the bathing equipment control parameters.
When the equipment is an intelligent gateway, user fingerprint information uploaded by the fingerprint identification device is received, and after the bathing equipment control parameters are analyzed, the bathing equipment control parameters are sent to the bathroom heater, the shower head, the water heater, the exhaust fan and the like, so that each bathing equipment runs according to the bathing equipment control parameters.
And when the equipment is a bathroom heater, receiving user fingerprint information uploaded by the fingerprint identification device, and operating according to the bathing equipment control parameters after analyzing the bathing equipment control parameters.
When the equipment is a shower head, the fingerprint information of the user uploaded by the fingerprint identification device is received, and the equipment runs according to the control parameters of the bathing equipment after the control parameters of the bathing equipment are analyzed.
And when the equipment is a water heater, receiving user fingerprint information uploaded by the fingerprint identification device, and operating according to the bathing equipment control parameters after analyzing the bathing equipment control parameters.
And when the equipment is an exhaust fan, receiving user fingerprint information uploaded by the fingerprint identification device, and operating according to the bathing equipment control parameters after analyzing the bathing equipment control parameters.
In some embodiments, the apparatus analyzes the bath apparatus control parameters by: acquiring fingerprint information and fingerprint acquisition time of a user; determining a reference control parameter corresponding to the user according to the fingerprint information of the user; and determining the bathing equipment control parameters according to the reference control parameters and the fingerprint acquisition time. Determining a reference control parameter corresponding to the user according to the fingerprint information of the user, including: matching a user corresponding to the fingerprint information from a preset first database, and matching a reference control parameter corresponding to the user from a preset second database; the first database comprises a corresponding relation between fingerprint information and a user; the second database includes reference control parameters and their corresponding relationships with users. Optionally, determining a bathing equipment control parameter according to the reference control parameter and the fingerprint acquisition time includes: and determining the use time information with the minimum difference value with the fingerprint acquisition time, and taking the corresponding reference control parameter as the bathing equipment control parameter.
Because bathing equipment in a bathroom is generally used by families, and because the using habits of each person are different, after the former person uses the bathing equipment, the water temperature, the water outlet mode, the temperature of a bath heater and the like need to be reset by the next person for bathing, meanwhile, if the seasons are changed, the using habits of the same person may also be changed, the bathing equipment control parameters need to be repeatedly set before each bath, and the time is wasted and the user feels fussy. The reference control parameter corresponding to the user is determined through the fingerprint information of the user, the bathing equipment control parameter can be determined according to the reference control parameter and the fingerprint acquisition time, and the bathing equipment can be controlled to operate according to the bathing equipment control parameter, so that the user can automatically set the bathing equipment control parameter through fingerprint identification, the bathing equipment control parameter can be differently set for different users, the bathing equipment can operate according to different control parameters for different users, and the bathing experience of the user is improved.
Optionally, the above method for controlling a bath apparatus is implemented by a bath apparatus control system as shown in fig. 5, the system for controlling a bath apparatus comprising: the device comprises a control module 1, a storage module 2, a Bluetooth module 3, a fingerprint identification module 4, a reset/configuration key module 5, an LRD indicator lamp 6, a display screen 7, a water temperature controller 8, a shower head 9, an exhaust fan 10 and a bathroom heater 11.
Optionally, the control module 1 is connected to the fingerprint identification module 4, the reset/configuration key module 5, the LED indicator 6, the display screen 7, the storage module 2 and the bluetooth module 3 respectively, and the bluetooth module 3 is connected to the water temperature controller 8, the shower head 9, the exhaust fan 10 and the bathroom heater 11 respectively in a wireless manner. The control module 1 acquires user fingerprint information and fingerprint acquisition time through the fingerprint identification module 4, and stores the user fingerprint information and the fingerprint acquisition time through the storage module 2; the control module 1 determines a reference control parameter corresponding to a user according to the user fingerprint information, determines a bathing equipment control parameter according to the reference control parameter and the fingerprint acquisition time, and controls the water temperature controller 8, the shower head 9, the exhaust fan 10 and the bath heater 11 to operate through the Bluetooth module 3 according to the bathing equipment control parameter; the control module 1 acquires the current use data such as the set temperature of the water temperature controller 8, the water outlet mode of the shower head 9, the air quantity of the exhaust fan 10, the temperature of the bathroom heater 11 and the like through the Bluetooth module 3, and stores the acquired use data through the storage module 2; the control module 1 resets or configures the working mode of the bathing equipment through the reset/configuration key module 5, the control module 1 controls the LED indicator lamp 6 to flicker to prompt the working state of a user, and the control module 1 controls the display screen 7 to display the working state of the bathing equipment.
The bathing equipment control system provided by the embodiment of the disclosure can acquire the reference control parameters of the second database by acquiring the data of the bathing equipment used by the user and carrying out clustering calculation. When the user uses the bathing equipment, only the fingerprint information of the user needs to be identified, the system can identify the user identity information according to the fingerprint information, match corresponding reference control parameters according to the user identity information, determine bathing equipment control parameters according to the reference control parameters and the fingerprint acquisition time, control the bathing equipment to operate according to the bathing equipment control parameters, and acquire the reference control parameters suitable for the user to control the bathing equipment. Optionally, under the condition that the user modifies the control data of the bathing equipment in midway, the system can continuously acquire the data and improve the analysis result, so that the bathing equipment can always conform to the use habits of the user aiming at different users.
Embodiments of the present disclosure provide a computer-readable storage medium having stored thereon computer-executable instructions configured to perform the above-described method for controlling a bathing apparatus.
Embodiments of the present disclosure provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the above-described method for controlling a bathing apparatus.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for controlling a bath apparatus, comprising:
acquiring fingerprint information and fingerprint acquisition time of a user;
determining a reference control parameter corresponding to the user according to the fingerprint information of the user;
determining bathing equipment control parameters according to the reference control parameters and the fingerprint acquisition time;
and controlling the bathing equipment to operate according to the bathing equipment control parameters.
2. The method of claim 1, wherein determining the reference control parameter corresponding to the user according to the fingerprint information of the user comprises:
matching a user corresponding to the fingerprint information from a preset first database, and matching a reference control parameter corresponding to the user from a preset second database; the first database comprises a corresponding relation between fingerprint information and a user; the second database includes reference control parameters and their corresponding relationships with users.
3. The method according to claim 2, characterized in that the reference control parameters in the second database are obtained by clustering usage habit data of the users.
4. The method of claim 3, wherein obtaining the reference control parameter in the second database by clustering the usage habit data of the user comprises:
Obtaining a sample point corresponding to the reference control parameter according to the use habit data of the user and the use time information corresponding to the use habit data;
clustering the sample points;
determining the cluster center of each cluster set when the sample point stops clustering iteration;
and using the use habit data corresponding to the cluster center as a reference control parameter.
5. The method according to claim 4, wherein the abscissa of the sample point is the usage habit data of the user, and the ordinate of the sample point is the usage time information; or the like, or, alternatively,
the abscissa of the sample point is the use time information, and the ordinate of the sample point is the use habit data of the user.
6. The method of claim 4, wherein clustering the sample points comprises:
selecting more than two sample points as a first centroid;
and calculating the distance between each sample point outside the first mass center and each first mass center, and dividing the sample points according to the distance to obtain the sample points of each cluster set and the number of the sample points of each cluster set.
7. The method of claim 4, wherein determining the cluster center for each cluster set at which the sample point stops clustering iteration comprises:
Calculating by using the sample points of each cluster set and the number of the sample points of each cluster set through a preset algorithm to obtain a second centroid of each cluster set;
when the distance between each second centroid and the corresponding first centroid is smaller than a set threshold, stopping clustering iteration of the sample points;
and taking the second centroid of each clustering set when the sample point stops clustering iteration as the cluster center of each clustering set.
8. A method according to any of claims 4 to 7, wherein determining bath apparatus control parameters from said reference control parameters and said fingerprint acquisition time comprises:
and determining the use time information with the minimum difference value with the fingerprint acquisition time, and taking the corresponding reference control parameter as the bathing equipment control parameter.
9. An apparatus for controlling a bath arrangement comprising a processor and a memory storing program instructions, characterized in that the processor is configured to perform a method for controlling a bath arrangement according to any one of claims 1 to 8 when executing the program instructions.
10. An apparatus comprising a device for controlling an ablutionary installation according to claim 9.
CN202010705145.7A 2020-07-21 2020-07-21 Method, device and equipment for controlling bathing equipment Pending CN111857073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010705145.7A CN111857073A (en) 2020-07-21 2020-07-21 Method, device and equipment for controlling bathing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010705145.7A CN111857073A (en) 2020-07-21 2020-07-21 Method, device and equipment for controlling bathing equipment

Publications (1)

Publication Number Publication Date
CN111857073A true CN111857073A (en) 2020-10-30

Family

ID=73001324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010705145.7A Pending CN111857073A (en) 2020-07-21 2020-07-21 Method, device and equipment for controlling bathing equipment

Country Status (1)

Country Link
CN (1) CN111857073A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783113A (en) * 2020-11-20 2021-05-11 青岛经济技术开发区海尔热水器有限公司 Household equipment control method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200716A (en) * 2016-07-20 2016-12-07 芜湖美的厨卫电器制造有限公司 Water-water jet and control method thereof
CN106642718A (en) * 2016-10-20 2017-05-10 芜湖美的厨卫电器制造有限公司 Method and system for controlling electric heater, electric heater and server
CN108008647A (en) * 2016-10-31 2018-05-08 芜湖美的厨卫电器制造有限公司 Intelligent wall mirror, Intelligent bathroom system and its control method
CN108826595A (en) * 2018-04-26 2018-11-16 上海康斐信息技术有限公司 A kind of control method and system of air purifier
CN109299724A (en) * 2018-07-17 2019-02-01 广东工业大学 Smart home user based on deep learning manipulates habit excavation and recommended method
US20190373152A1 (en) * 2018-05-31 2019-12-05 Kohler Co. Connected bathroom components

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200716A (en) * 2016-07-20 2016-12-07 芜湖美的厨卫电器制造有限公司 Water-water jet and control method thereof
CN106642718A (en) * 2016-10-20 2017-05-10 芜湖美的厨卫电器制造有限公司 Method and system for controlling electric heater, electric heater and server
CN108008647A (en) * 2016-10-31 2018-05-08 芜湖美的厨卫电器制造有限公司 Intelligent wall mirror, Intelligent bathroom system and its control method
CN108826595A (en) * 2018-04-26 2018-11-16 上海康斐信息技术有限公司 A kind of control method and system of air purifier
US20190373152A1 (en) * 2018-05-31 2019-12-05 Kohler Co. Connected bathroom components
CN109299724A (en) * 2018-07-17 2019-02-01 广东工业大学 Smart home user based on deep learning manipulates habit excavation and recommended method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李伊: "《数据可视化》", 31 January 2020 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783113A (en) * 2020-11-20 2021-05-11 青岛经济技术开发区海尔热水器有限公司 Household equipment control method and electronic equipment
CN112783113B (en) * 2020-11-20 2022-08-16 青岛经济技术开发区海尔热水器有限公司 Household equipment control method and electronic equipment

Similar Documents

Publication Publication Date Title
CN104864548B (en) A kind of control method and system of operation of air conditioner
CN113251613B (en) Method and device for air conditioner control and air conditioner
CN113903337A (en) Method and device for controlling voice air conditioner, cloud server and storage medium
CN101137991A (en) Computer-implemented method and computer-based system for validating DNA sequencing data
CN113251610A (en) Method and device for air conditioner control and air conditioner
CN107908277B (en) Control device, equipment and control method
WO2015173435A1 (en) Method for predicting a phenotype from a genotype
CN106897700B (en) Single-sample face recognition method and system
CN111176524A (en) Multi-screen display system and mouse switching control method thereof
CN108461130B (en) Intelligent scheduling method and system for treatment tasks
CN112984732B (en) Control method and device for air conditioner and air conditioner
CN111857073A (en) Method, device and equipment for controlling bathing equipment
CN113932424B (en) Method and device for controlling air conditioner and air conditioner
CN110953721A (en) Control method and device of water heater and water heater
CN113531797B (en) Method and device for preheating air conditioner, air conditioner and air conditioning system
CN111102745A (en) Control method and device of water heater
CN114061077A (en) Method and device for controlling air conditioner, air conditioner and server
CN113379113A (en) Method and device for predicting air conditioner operation mode and air conditioner
CN110047509B (en) Two-stage subspace partitioning method and device
CN113758010A (en) Method and device for controlling electric water heater
CN113686447A (en) Method and device for human body recognition, electronic equipment and readable storage medium
CN114838472A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN113251632A (en) Method and device for controlling air supply of air conditioner and electronic equipment
CN113760831A (en) APP interface skin changing method, device, equipment and medium based on similarity matching
CN110671794A (en) Method and equipment for controlling air outlet of air outlet device and air conditioner indoor unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030

RJ01 Rejection of invention patent application after publication