Disclosure of Invention
The embodiment of the invention aims to provide a temperature control method of an intelligent floor mat, which achieves the purpose of distinguishing different users, is beneficial to carrying out intelligent temperature control according to the temperature requirement of each user, meets the individual requirements of the users on the temperature and improves the user experience.
In order to solve the above technical problem, an embodiment of the present invention provides a temperature control method for an intelligent floor mat, including: when the pressure value change of a pressure sensor built in the intelligent floor mat is detected, recording the current time point and the current pressure value in real time; drawing a curve of the pressure value along with the change of time according to the recorded time point and the pressure value; obtaining user identity information corresponding to the drawn curve according to a first corresponding relation between the preset curve and the user identity information; acquiring a target temperature matched with the user identity information according to the user identity information; and controlling the intelligent floor mat to be heated to the target temperature.
An embodiment of the present invention also provides an intelligent floor mat, including: at least one processor; and a memory communicatively coupled to the at least one processor; the storage stores instructions which can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the temperature control method of the intelligent floor mat.
Compared with the prior art, the embodiment of the invention records the pressure value and the time point through the pressure sensor in the intelligent floor mat, obtains the curve of the pressure value changing along with the time, determines the identity information of the user according to the corresponding relation between the curve and the user, and obtains the corresponding control temperature according to the identity information of the user, thereby achieving the purpose of realizing different temperature control on different users and being beneficial to improving the user experience.
In addition, the first corresponding relation is specifically the corresponding relation between the characteristic data of the curve and the user identity information; obtaining user identity information corresponding to the drawn curve according to a first corresponding relation between the preset curve and the user identity information, specifically: acquiring characteristic data in the drawn curve; searching user identity information matched with the acquired feature data according to the acquired feature data and the first corresponding relation; and taking the matched user identity information as the user identity information corresponding to the drawn curve. According to the curve of the pressure value changing along with the time, the characteristic data in the curve is obtained, different users are distinguished according to the characteristic data, and the accuracy of the obtained user identity is improved.
In addition, after the characteristic data in the drawn curve is obtained, before the user identity information matched with the obtained characteristic data is searched, the method further includes: judging whether each characteristic data is in a preset range or not; if the pressure source is in the preset range, judging that the pressure source of the intelligent floor mat is a user, and searching user identity information matched with the acquired characteristic data according to the acquired characteristic data and the first corresponding relation; and if the current time is not within the preset range, sending reminding information to the pre-bound terminal equipment. Judging whether the characteristic data are in a preset range, determining that an object generating pressure is a user when the characteristic data are judged to be in the preset range, sending reminding information to terminal equipment of the user when the characteristic data are judged not to be in the preset range, and giving an emergency alarm when the ground mat is abnormal, so that the accuracy and the safety of ground mat detection are improved.
In addition, after determining that the pressure source of the intelligent floor mat is the user, the method further comprises the following steps: performing infrared scanning on a user to obtain the profile of the user; obtaining user identity information corresponding to the obtained outline according to a second corresponding relation between the preset outline and the user identity information; before the intelligent floor mat is controlled to be heated to the target temperature, whether the user identity information obtained according to the drawn curve is consistent with the user identity information obtained according to the obtained outline or not is judged, and when the judgment result is consistent, the target temperature matched with the user is obtained. When the pressure source is judged to be the user, the user is subjected to infrared scanning to obtain user identity information of the user, the user identity information obtained through infrared scanning is compared with the identity information obtained through curve matching, when the comparison result is consistent, corresponding temperature control is carried out according to the user identity information, the user identity information is obtained through two modes, and the improvement of the accuracy of the user identity information is facilitated.
In addition, the intelligent ground mat comprises N intelligent ground cushion blocks which can be spliced, wherein N is a natural number greater than 1. Adopt the intelligent ground mat of concatenation formula for the intelligence ground mat is more convenient for move.
In addition, after obtaining the target temperature matched with the user identity information, the method further comprises the following steps: acquiring the position of a pressure sensor with the pressure value change in real time; determining the intelligent cushion block where the user is currently located according to the position of the pressure sensor where the currently acquired pressure value changes; control intelligence ground mat heating to target temperature specifically is: and controlling the intelligent cushion block where the user is currently located to be heated to the target temperature. The intelligent floor mat block where the user is located is controlled to heat, and the purpose of saving energy is favorably achieved.
In addition, if the obtained user identity information is more than one according to the first corresponding relation, the current time is obtained; screening out user identity information corresponding to the current time from the obtained user identity information according to a third corresponding relation between the preset time and the user identity information; according to the user identity information, acquiring a target temperature matched with the user, specifically: and acquiring the target temperature matched with the screened user identity information according to the screened user identity information. When a plurality of user identity information are matched according to the curve, the current time is obtained, and the user identity information with the highest matching degree with the current time is screened out, so that the intellectualization of the floor mat during processing of the plurality of user identity information is embodied.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a temperature control method of an intelligent floor mat. The core of the implementation mode is that when the pressure value change of a pressure sensor built in the intelligent floor mat is detected, the current time point and the current pressure value are recorded in real time; drawing a curve of the pressure value along with the change of time according to the recorded time point and the pressure value; obtaining user identity information corresponding to the drawn curve according to a first corresponding relation between the preset curve and the user identity information; acquiring a target temperature matched with the user identity information according to the user identity information; and controlling the intelligent floor mat to be heated to the target temperature. The curve of the pressure value changing along with the time is obtained through the pressure sensor, the user identity information is determined according to the corresponding relation between the curve and the user, and the corresponding control temperature is obtained, so that the targeted temperature control is realized, and the improvement of the user experience is facilitated. The following describes the implementation details of the temperature control method of the intelligent floor mat according to the present embodiment in detail, and the following description is only provided for the convenience of understanding and is not necessary for implementing the present embodiment.
A specific flow of the temperature control method of the intelligent floor mat in the present embodiment is shown in fig. 1, and includes:
step 101: when the pressure value change of a pressure sensor built in the intelligent floor mat is detected, the current time point and the current pressure value are recorded in real time.
Specifically speaking, a plurality of pressure sensors are arranged in the intelligent floor mat, and the pressure sensors can be uniformly arranged in the floor mat at equal intervals and can also be distributed at unequal intervals according to preset distances. When the pressure value acquired by the pressure sensor is different from the initial value, the current time point and the pressure value corresponding to the current time point are recorded in real time.
Step 102: and drawing a curve of the pressure value along with the change of time according to the recorded time point and the pressure value.
Specifically, a two-dimensional curve, i.e., a curve of the pressure value changing with time, can be obtained according to two real-time variables, i.e., the time point and the pressure value.
Step 103: and obtaining the user identity information corresponding to the drawn curve according to the first corresponding relation between the preset curve and the user identity information.
Specifically, the corresponding relation between the curve and the user identity information is stored in the database in advance, and when a curve with a pressure value changing along with time is obtained according to the current time point and the pressure value, the corresponding relation between the curve and the database is subjected to round inspection, so that the user identity information corresponding to the curve can be obtained.
Step 104: and acquiring the target temperature matched with the user identity information according to the user identity information.
Specifically, the corresponding relation between the user identity information and the most suitable target temperature is stored in the database in advance, and after the identity information of the user is obtained according to the curve, the corresponding relation between the identity information and the identity information in the database and the target temperature is subjected to secondary round of patrol, so that the target temperature corresponding to the user identity information can be obtained.
Step 105: and controlling the intelligent floor mat to be heated to the target temperature.
Specifically, when the target temperature of the user is 25 ℃ obtained according to the previous two rounds of patrolling, the intelligent floor mat controls the intelligent floor mat to heat to the target temperature, wherein the heating speed can be constant-speed heating or variable-speed heating, and the intelligent floor mat is correspondingly adjusted according to actual conditions.
It is worth mentioning that if the obtained user identity information is more than one according to the first corresponding relation, the current time is obtained; screening out user identity information corresponding to the current time from the obtained user identity information according to a third corresponding relation between the preset time and the user identity information; according to the user identity information, acquiring a target temperature matched with the user, specifically: and acquiring the target temperature matched with the screened user identity information according to the screened user identity information. Specifically, when a plurality of pieces of user identity information corresponding to the curves are obtained according to the corresponding relationship between the curves and the user identity information, the current time is obtained, the user identity information with the highest matching degree with the current time is screened from the user identity information corresponding to the curves according to the corresponding relationship between the time and the user, and then the target temperature is obtained according to the identity information, so that the intellectualization of the floor mat in processing the plurality of pieces of user identity information is reflected.
Compared with the prior art, the embodiment of the invention records the pressure value and the time point through the pressure sensor in the intelligent floor mat, obtains the curve of the pressure value changing along with the time, determines the identity information of the user according to the corresponding relation between the curve and the user, and obtains the corresponding control temperature according to the identity information of the user, thereby achieving the purpose of realizing different temperature control for different users and being beneficial to improving the user experience.
A second embodiment of the present invention relates to a temperature control method of an intelligent floor mat. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in the second embodiment of the present invention, the first corresponding relationship is specifically a corresponding relationship between characteristic data of a curve and user identity information; obtaining user identity information corresponding to the drawn curve according to a first corresponding relation between the preset curve and the user identity information, specifically: acquiring characteristic data in the drawn curve; searching user identity information matched with the acquired feature data according to the acquired feature data and the first corresponding relation; and taking the matched user identity information as the user identity information corresponding to the drawn curve. According to the curve of the pressure value changing along with the time, the characteristic data in the curve is obtained, different users are distinguished according to the characteristic data, and the accuracy of the obtained user identity is improved.
A specific flow of the temperature control method of the intelligent floor mat in the present embodiment is shown in fig. 2, and includes:
step 201: when the pressure value change of a pressure sensor built in the intelligent floor mat is detected, the current time point and the current pressure value are recorded in real time.
Step 202: and drawing a curve of the pressure value along with the change of time according to the recorded time point and the pressure value.
Step 203: and acquiring characteristic data in the drawn curve.
Specifically, the curve image includes a plurality of meaningful feature data, and the feature data is specifically one of the following or any combination thereof: the maximum value of pressure, the minimum value of pressure, the occurrence frequency of the maximum value and the interval duration of the maximum value are defined, where the maximum value refers to the maximum value and the minimum value, the interval duration of the maximum value may be the interval duration between the maximum values, the interval duration between the minimum values or the interval duration between the maximum value and the minimum value, and similarly, the occurrence frequency of the maximum value may also be the occurrence frequency of the maximum value, the occurrence frequency of the minimum value, or the frequency at which the maximum value and the minimum value alternately occur.
Step 204: and judging whether each characteristic data is in a preset range, if so, entering a step 205, and otherwise, entering a step 210.
Specifically, under the normal operation condition of the floor mat, all the characteristic data are within the preset safety range of the floor mat. Here, it is determined whether each feature data is within a preset safety range, if yes, step 205 is performed, otherwise, step 209 is performed.
Step 205: and judging the pressure source of the intelligent floor mat as the user.
Specifically, when all the characteristic data are within the normal range, the object causing the pressure sensor in the intelligent floor mat to detect the pressure is determined to be the user. For example, if the preset maximum pressure value is 100N to 200N, and the detected maximum pressure value is 150N, it is determined that the pressure source on the intelligent floor mat is the user.
Step 206: and searching user identity information matched with the acquired characteristic data according to the acquired characteristic data and the first corresponding relation, and taking the matched user identity information as the user identity information corresponding to the drawn curve.
Specifically, according to the characteristic data obtained from the curve and the corresponding relation between the characteristic data in the preset curve and the user, the user identity information matched with the characteristic data is scanned in the database in turn, and the user identity information matched with the scanning result is used as the user identity information corresponding to the curve of the current pressure value changing along with the time.
Step 207: and acquiring the target temperature matched with the user identity information according to the user identity information.
Step 208: and controlling the intelligent floor mat to be heated to the target temperature.
Step 209: and sending reminding information to the pre-bound terminal equipment.
Specifically, the intelligent floor mat is connected with the terminal device in advance, the number of the terminals can be one or more, and the terminals can be electronic devices such as a mobile phone, a tablet and an intelligent bracelet. The reminding information sent by the intelligent ground mat to the terminal equipment can be character information or prestored voice information.
It should be noted that after determining that the pressure source of the intelligent floor mat is the user, the method further includes: performing infrared scanning on a user to obtain the profile of the user; obtaining user identity information corresponding to the obtained outline according to a second corresponding relation between the preset outline and the user identity information; before the intelligent floor mat is controlled to be heated to the target temperature, whether the user identity information obtained according to the drawn curve is consistent with the user identity information obtained according to the obtained outline or not is judged, and when the judgment result is consistent, the target temperature matched with the user is obtained. Specifically, after the pressure source is judged as the user, the user is subjected to infrared scanning to obtain user identity information of the user, wherein the user identity information specifically comprises user name, gender, identity card number, family role and the like, the user identity information obtained through infrared scanning is compared with the identity information obtained through curve matching, when the comparison result is consistent, corresponding temperature control is carried out according to the user identity information, the user identity information is obtained through two modes, and the accuracy of the user identity information is improved.
Since steps 201 to 202 and 207 to 208 in this embodiment are substantially the same as steps 101 to 102 and 104 to 105 in the first embodiment, the description is omitted here for avoiding redundancy.
Compared with the prior art, the method and the device for obtaining the identity of the user are characterized in that the characteristic data in the curve are obtained according to the curve of the pressure value changing along with the time, different users are distinguished according to the characteristic data, and the accuracy of the obtained user identity is improved. Meanwhile, whether the characteristic data are within a preset range or not is judged, when the characteristic data are judged to be within the preset range, the object generating the pressure is determined to be the user, and when the characteristic data are judged not to be within the preset range, reminding information is sent to terminal equipment of the user, so that the safety of ground mat detection is improved. And when the pressure source is judged to be the user, the user is subjected to infrared scanning to obtain the user identity information of the user, the user identity information obtained by the infrared scanning is compared with the identity information obtained by matching according to the curve, when the comparison result is consistent, corresponding temperature control is carried out according to the user identity information, and the user identity information is obtained in two ways, so that the accuracy of the user identity information is improved.
The third embodiment of the invention relates to a temperature control method of a spliced intelligent ground mat. The third embodiment is further improved on the basis of the first embodiment, and the main improvement is that: after obtaining the target temperature matched with the user identity information, the method further comprises the following steps: acquiring the position of a pressure sensor with the pressure value change in real time; determining the intelligent cushion block where the user is currently located according to the position of the pressure sensor where the currently acquired pressure value changes; control intelligence ground mat heating to target temperature specifically is: and controlling the intelligent cushion block where the user is currently located to be heated to the target temperature. The intelligent floor mat block where the user is located is controlled to heat, and the purpose of saving energy is favorably achieved.
The intelligence ground mat in this embodiment is concatenation formula intelligence ground mat, and intelligence ground mat includes N intelligent ground cushion that can splice, and N is for being greater than 1 natural number, and the intelligence ground mat of concatenation formula more is favorable to removing. A specific flow of the temperature control method of the intelligent floor mat in the present embodiment is shown in fig. 3, and includes:
step 301: when the pressure value change of a pressure sensor built in the intelligent floor mat is detected, the current time point and the current pressure value are recorded in real time.
Step 302: and drawing a curve of the pressure value along with the change of time according to the recorded time point and the pressure value.
Step 303: and obtaining the user identity information corresponding to the drawn curve according to the first corresponding relation between the preset curve and the user identity information.
Step 304: and acquiring the target temperature matched with the user identity information according to the user identity information.
Since steps 301 to 304 in this embodiment are substantially the same as steps 101 to 104 in the first embodiment, the description is omitted here to avoid repetition.
Step 305: and acquiring the position of the pressure sensor with the pressure value change in real time.
Specifically speaking, a plurality of pressure sensors are arranged in the intelligent floor mat, each pressure sensor corresponds to one position, and when the pressure value collected by one or more pressure sensors changes, the pressure sensors can record the positions of the pressure sensors in real time. For example, the pressure sensors in the intelligent floor mat are arranged in a two-dimensional coordinate system, and the coordinates corresponding to the pressure sensors with pressure values changed are (2, 2), and then (2, 2) is recorded as a position mark.
Step 306: and determining the intelligent cushion block where the user is currently located according to the position of the pressure sensor where the currently acquired pressure value changes.
Specifically, when the position of the pressure sensor with the pressure value changing is obtained, the intelligent floor mat where the user is located is determined according to the corresponding relation between each floor mat and each pressure sensor. For example, there are 9 intelligent floor mats, and A, B, C pressure sensors are located in the intelligent floor mat numbered 1, so that when the pressure value collected by the pressure sensor a changes, it can be determined that the user is located on the intelligent floor mat numbered 1.
Step 307: and controlling the intelligent cushion block where the user is currently located to be heated to the target temperature.
Specifically, when it is determined that the user is on the intelligent mat numbered 1, the intelligent mat numbered 1 is controlled to be heated to the target temperature.
Compared with the prior art, the embodiment of the invention adopts the splicing type intelligent floor mat, which is beneficial to improving the convenience of the intelligent floor mat, controlling the heating of the specific floor mat block where the user is located, avoiding the heating of the floor mat in a large range and achieving the effect of saving energy.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to an intelligent floor mat, as shown in fig. 4, including: at least one processor 401; and a memory 402 communicatively coupled to the at least one processor 401; the memory 402 stores instructions executable by the at least one processor 401, and the instructions are executed by the at least one processor 401, so that the at least one processor 401 can execute the temperature control method of the intelligent floor mat.
Where the memory 402 and the processor 401 are coupled by a bus, which may include any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 401 and the memory 402 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 401 may be transmitted over a wireless medium via an antenna, which may receive the data and transmit the data to the processor 401.
The processor 401 is responsible for managing the bus and general processing and may provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 402 may be used to store data used by the processor in performing operations.
Those skilled in the art will understand that all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware to complete, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: 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.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.