CN108360942B - Intelligent window, control method thereof and intelligent window management system - Google Patents
Intelligent window, control method thereof and intelligent window management system Download PDFInfo
- Publication number
- CN108360942B CN108360942B CN201810216629.8A CN201810216629A CN108360942B CN 108360942 B CN108360942 B CN 108360942B CN 201810216629 A CN201810216629 A CN 201810216629A CN 108360942 B CN108360942 B CN 108360942B
- Authority
- CN
- China
- Prior art keywords
- threshold value
- microphone
- sound
- time
- window body
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 239000004984 smart glass Substances 0.000 claims description 28
- 230000000694 effects Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 6
- 239000013598 vector Substances 0.000 description 3
- 238000001914 filtration Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000010287 polarization Effects 0.000 description 1
- 230000000284 resting effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05F—DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
- E05F15/00—Power-operated mechanisms for wings
- E05F15/70—Power-operated mechanisms for wings with automatic actuation
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05F—DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
- E05F15/00—Power-operated mechanisms for wings
- E05F15/70—Power-operated mechanisms for wings with automatic actuation
- E05F15/71—Power-operated mechanisms for wings with automatic actuation responsive to temperature changes, rain, wind or noise
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05Y—INDEXING SCHEME ASSOCIATED WITH SUBCLASSES E05D AND E05F, RELATING TO CONSTRUCTION ELEMENTS, ELECTRIC CONTROL, POWER SUPPLY, POWER SIGNAL OR TRANSMISSION, USER INTERFACES, MOUNTING OR COUPLING, DETAILS, ACCESSORIES, AUXILIARY OPERATIONS NOT OTHERWISE PROVIDED FOR, APPLICATION THEREOF
- E05Y2900/00—Application of doors, windows, wings or fittings thereof
- E05Y2900/10—Application of doors, windows, wings or fittings thereof for buildings or parts thereof
- E05Y2900/13—Type of wing
- E05Y2900/148—Windows
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Power-Operated Mechanisms For Wings (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses an intelligent window, a control method thereof and an intelligent window management system, wherein the intelligent window comprises the following components: the acquisition module is used for acquiring sound data in and out of the window body in an automatic mode; or, in a manual mode, collecting pressure data or voice data applied to the window body; the main control module is connected with the acquisition module and used for receiving a user instruction and selecting a corresponding working mode according to the user instruction; the voice data acquisition module is also used for acquiring the current work and rest state in an automatic mode and generating a control instruction according to the voice data and the current work and rest state; or, in the manual mode, generating a control instruction according to the pressure data or the voice data; and the driving module is connected with the main control module and used for opening or closing the window body according to the control instruction. The embodiment of the invention can facilitate the user management and improve the living environment experience of the user.
Description
Technical Field
The embodiment of the invention relates to the technical field of signal processing, in particular to an intelligent window, a control method thereof and an intelligent window management system.
Background
At present, the window used in our lives is manually opened and closed, so that people in the room cannot necessarily notice outdoor weather change or indoor air condition, and forget to open or close the window. Therefore, the existing window can not be convenient for the user to manage, and the living environment experience of the user is poor.
Disclosure of Invention
In order to solve the technical problem, embodiments of the present invention provide an intelligent window, a control method thereof, and an intelligent window management system, which can facilitate user management and improve the living environment experience of a user.
In a first aspect, an embodiment of the present invention provides a smart window, including: the window comprises a window body, an acquisition module, a driving module and a main control module; the working mode of the intelligent window comprises the following steps: a manual mode and an automatic mode;
the acquisition module is used for acquiring sound data inside and outside the window body in an automatic mode; or, in a manual mode, collecting pressure data or voice data applied to the window body;
the main control module is connected with the acquisition module and used for selecting a corresponding working mode according to the user instruction; the voice data acquisition module is also used for acquiring the current work and rest state in an automatic mode and generating a control instruction according to the voice data and the current work and rest state; or, in a manual mode, generating a control instruction according to the pressure data or the voice data;
and the driving module is connected with the main control module and used for opening or closing the window body according to the control instruction.
Optionally, the acquisition module comprises: a plurality of first microphones disposed within the window body and a plurality of second microphones disposed outside the window body.
Optionally, the main control module is specifically configured to obtain the current time in an automatic mode; acquiring a current work and rest state according to the corresponding relation between the current time and the preset time and the work and rest state; respectively obtaining sound information of a first microphone and a second microphone according to the sound data; obtaining a sound source according to the sound information; if the sound comes from the outside of the window body, generating a control instruction according to the sound information and the current work and rest state;
wherein the sound information includes: the time and size of the sound collected; the sound sources include: the window body is in or out of the window body; the work and rest states are as follows: activity or rest.
Optionally, the main control module is specifically configured to determine whether the time of the sound collected by the first microphone is later than the time of the sound collected by the second microphone, and the sound originates from outside the window body in a state that the time of the sound collected by the first microphone is later than the time of the sound collected by the second microphone.
Optionally, the main control module is specifically configured to determine a current state of the window body;
when the window body is in an opening state, judging the current work and rest state; when the current work and rest state is rest, judging whether the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times within a first threshold value time period, and sending a closing instruction to the driving module when the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times; or when the current work and rest state is active, judging whether the times that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value times within a second threshold value time period, and sending a closing instruction to the driving module when the times that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value times;
when the window body is in a closed state, judging the current work and rest state; when the current work and rest state is rest, judging whether the duration time of the sound collected by the second microphone, which is smaller than a first threshold value, is longer than a first threshold value time; sending a starting instruction to the driving module in a state that the duration time of the sound collected by the second microphone is less than a first threshold value and is longer than a first threshold value time; or when the current work and rest state is active, judging whether the duration time of the sound collected by the second microphone, which is smaller than a second threshold value, is longer than a second threshold value time; and sending a starting instruction to the driving module in a state that the duration time of the sound collected by the second microphone is less than the second threshold value and is longer than the second threshold value.
Optionally, the main control module is specifically configured to determine whether duration that the sound acquired by the second microphone is greater than a third threshold is greater than or equal to a third threshold time, and in a state that the duration that the sound acquired by the second microphone is greater than the third threshold time, determine that the current weather condition is bad, and send a closing instruction to the driving module; or identifying the collected sound data, judging the current weather condition according to the identification result, and sending a closing instruction to the driving module under the condition of poor current weather condition.
Optionally, the main control module is specifically configured to obtain a current state of a window body, and generate a control instruction according to the current state of the window body and the pressure data, so that the window body is switched between states; or recognizing the voice data and generating a control instruction according to a recognition result.
In a second aspect, an embodiment of the present invention further provides a smart window management system, including: the mobile terminal and the intelligent window;
the mobile terminal is used for sending a user instruction to the intelligent window.
In a third aspect, an embodiment of the present invention further provides a method for controlling a smart window, where the method applied to the smart window specifically includes:
receiving the user instruction;
selecting a corresponding working mode according to a user instruction;
in an automatic mode, acquiring a current work and rest state, and collected sound data inside and outside the window body, and generating a control instruction according to the sound data and the current work and rest state; or acquiring collected pressure data or voice data applied to the window body in a manual mode; and generating a control instruction according to the pressure data or the voice data.
Optionally, in the automatic mode, the acquiring a current work and rest state, the collected sound data inside and outside the window body, and the generating a control command according to the sound data and the work and rest state includes:
acquiring current time; acquiring a current work and rest state according to the corresponding relation between the current time and the preset time and the work and rest state;
respectively obtaining sound information of a first microphone and a second microphone according to the sound data; the sound information includes: the time and size of the sound collected;
judging whether the time of the sound collected by the first microphone is later than that of the sound collected by the second microphone or not, wherein the sound comes from the outside of the window body under the condition that the time of the sound collected by the first microphone is later than that of the sound collected by the second microphone;
if the sound comes from the outside of the window body, judging the current state of the window body; when the window body is in an 'open' state, judging whether the duration time that the sound collected by the second microphone is greater than a third threshold value is greater than or equal to a third threshold value time, and when the duration time that the sound collected by the second microphone is greater than the third threshold value time, judging that the current weather condition is bad, and sending a closing instruction to the driving module; or identifying the collected sound data, judging the current weather condition according to the identification result, and sending a closing instruction to the driving module under the condition of bad current weather condition;
judging the current work and rest state under the state of good weather conditions, judging whether the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times within a first threshold value time period when the current work and rest state is rest, and sending a closing instruction to the driving module under the state that the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times; or when the current work and rest state is active, judging whether the times that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value times within a second threshold value time period, and sending a closing instruction to the driving module when the times that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value times;
when the window body is in a closed state, judging the current work and rest state; when the current work and rest state is rest, judging whether the duration time of the sound collected by the second microphone, which is smaller than the first threshold value, is longer than the first threshold value time; sending a starting instruction to the driving module when the duration time of the sound collected by the second microphone, which is smaller than the first threshold value, is longer than the first threshold value time; or when the current work and rest state is active, judging whether the duration time of the sound collected by the second microphone, which is smaller than a second threshold value, is longer than a second threshold value time; sending a starting instruction to the driving module when the duration time of the sound collected by the second microphone, which is smaller than the second threshold value, is longer than the second threshold value time;
in the manual mode, generating a control instruction according to the pressure data or the voice data includes:
obtaining the current state of the window body;
generating a control instruction according to the current state of the window body and the pressure data, so that the window body can realize state switching; or recognizing the voice data and generating a control instruction according to a recognition result.
The embodiment of the invention provides an intelligent window, a control method thereof and an intelligent window management system, wherein the intelligent window comprises: the window comprises a window body, an acquisition module, a driving module and a main control module; the working mode of the smart window comprises: a manual mode and an automatic mode; the acquisition module is used for acquiring sound data in and out of the window body in an automatic mode; or, in a manual mode, collecting pressure data or voice data applied to the window body; the main control module is connected with the acquisition module and used for receiving a user instruction and selecting a corresponding working mode according to the user instruction; the voice data acquisition module is also used for acquiring the current work and rest state in an automatic mode and generating a control instruction according to the voice data and the current work and rest state; or, in the manual mode, generating a control instruction according to the pressure data or the voice data; and the driving module is connected with the main control module and used for opening or closing the window body according to the control instruction. According to the embodiment of the invention, the corresponding data are collected in the two working modes, and the corresponding control instruction is generated according to the collected data, so that the intelligent and humanized opening and closing of the management window are realized, the user management is facilitated, and the living environment experience of the user is improved.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention. Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the embodiments of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a schematic structural diagram of a smart window according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an acquisition module according to an embodiment of the present invention;
fig. 3 is another schematic structural diagram of a smart window according to an embodiment of the present invention;
fig. 4 is a flowchart of a control method of a smart window according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a smart window management system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
In the following embodiments, the main control module may be implemented by a processor for executing logic operations, for example, a Central Processing Unit (CPU), a field programmable logic array (FPGA), a Digital Signal Processor (DSP), a single chip Microcomputer (MCU), an application specific logic circuit (ASIC), and other devices having data processing capability and/or program execution capability. It will be readily appreciated that the master control module may include memory communicatively coupled to the processor, on which any combination of one or more computer program products are stored, and that the memory may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory can include, for example, Random Access Memory (RAM), cache memory (or the like). The non-volatile memory may include, for example, Read Only Memory (ROM), a hard disk, an Erasable Programmable Read Only Memory (EPROM), USB memory, flash memory, and the like. One or more computer instructions may be stored on the memory and executed by the processor to implement the analysis functions of the analysis module. Various applications and various data, such as various data used and/or generated by the applications, may also be stored in the computer-readable storage medium.
Example one
Fig. 1 is a schematic structural diagram of a smart window provided in an embodiment of the present invention, and as shown in fig. 1, the smart window provided in the embodiment of the present invention includes: the window comprises a window body, an acquisition module 10, a main control module 20 and a driving module 30; the working mode of the smart window comprises: manual mode and automatic mode.
In this embodiment, the collecting module 10 is configured to collect sound data inside and outside the window body in the automatic mode; or, in a manual mode, collecting pressure data or voice data applied to the window body; the main control module 20 is connected with the acquisition module 10 and is used for receiving a user instruction and selecting a corresponding working mode according to the user instruction; the voice data acquisition module is also used for acquiring the current work and rest state in an automatic mode and generating a control instruction according to the voice data and the current work and rest state; or, in the manual mode, generating a control instruction according to the pressure data or the voice data; and the driving module 30 is connected with the main control module 20 and is used for opening or closing the window body according to the control command.
Alternatively, the driving module 30 may include a stepping motor and a transmission device, and the power output by the stepping motor is transmitted to the window through the transmission device to drive the window to move, and the embodiment of the present invention is not particularly limited.
Wherein, collection module 10 includes: the window comprises a plurality of microphones arranged on two sides of a window body and a pressure sensor arranged on the window body.
Optionally, the control instructions include: an open command and a close command.
The intelligent window provided by the embodiment of the invention comprises: the window comprises a window body, an acquisition module, a driving module and a main control module; the working mode of the smart window comprises: a manual mode and an automatic mode; the acquisition module is used for acquiring sound data in and out of the window body in an automatic mode; or, in a manual mode, collecting pressure data or voice data applied to the window body; the main control module is connected with the acquisition module and used for receiving a user instruction and selecting a corresponding working mode according to the user instruction; the voice data acquisition module is also used for acquiring the current work and rest state in an automatic mode and generating a control instruction according to the voice data and the current work and rest state; or, in the manual mode, generating a control instruction according to the pressure data or the voice data; and the driving module is connected with the main control module and used for opening or closing the window body according to the control instruction. According to the embodiment of the invention, the corresponding data are collected in the two working modes, and the corresponding control instruction is generated according to the collected data, so that the intelligent and humanized opening and closing of the management window are realized, the user management is facilitated, and the living environment experience of the user is improved.
Optionally, fig. 2 is a schematic structural diagram of an acquisition module provided in an embodiment of the present invention, and as shown in fig. 2, the acquisition module 10 includes: a plurality of first microphones 11 disposed inside the window body 40 and a plurality of second microphones 12 disposed outside the window body 40.
Optionally, the number of the first microphones 11 is at least one, the number of the second microphones 12 is at least one, and the number of the first microphones and the number of the second microphones may be the same or different. It should be noted that, the greater the number of the first microphone and the second microphone, the more accurate the acquired sound data is, and the specific number thereof is determined according to the actual requirement.
Optionally, the main control module 20 is specifically configured to obtain the current time in the automatic mode; acquiring a current work and rest state according to the corresponding relation between the current time and the preset time and the work and rest state; respectively obtaining sound information of a first microphone and a second microphone according to the sound data; obtaining a sound source according to the sound information; and if the sound comes from the outside of the window body, generating a control command according to the sound information and the current work and rest state.
Wherein the sound information includes: the time and size of the sound collected; the sound sources include: the window body is in or out of the window body; the work and rest states are as follows: activity or rest.
Optionally, the preset time and the work and rest state may be in a corresponding relationship as shown in table 1, it should be noted that specific time and work and rest state are different from person to person, and this is not limited in this embodiment of the present invention.
Time of day | Work and rest state |
22:00~6:00 | Rest for taking a rest |
7:00~12:30 | Movement of |
12:30~13:30 | Rest for taking a rest |
13:30~22:00 | Movement of |
Specifically, the main control module is specifically configured to determine whether the time of the sound collected by the first microphone is later than the time of the sound collected by the second microphone, and the sound originates from outside the window body in a state that the time of the sound collected by the first microphone is later than the time of the sound collected by the second microphone.
In this embodiment, a multi-microphone technology is used to identify a sound source, the identification principle mainly utilizes time difference, when a plurality of microphones are in different positions, the order of acquiring sound by each microphone is sequential, there is time difference, and the sound source is close to the microphone acquiring sound first, so that a ray is made through the microphone capturing sound first with the position of the microphone acquiring sound last as the origin, and the sound source is necessarily in the direction pointed by the ray.
Taking the number of the first microphones as 1 and the number of the second microphones as 1 as an example, the principle is as follows: when sound is generated from the outside of the window, the distance S outside the sound propagation is less than S inside the sound propagation, the time when the sound is acquired by the second microphone outside the S is T1, the time when the sound is acquired by the first microphone inside the S is T2, T1 is less than T2, and the main control module can detect the time difference and acquire the sound source and the outside of the window body.
In addition, the sound source can also be obtained by using the phase difference of the sound signal waveform, and the technology is relatively mature and is not described herein again. The microphone array can also be used for identifying sound sources, and can be used for positioning sound sources so as to realize directional sound pickup of targets. A positioning method based on time delay estimation is a common positioning method, and calculates the position of a sound source by using the arrival time difference of sound waves arriving at each microphone. In addition, the sound source position is calculated through the distributed microphone array, the whole receiving space is scanned by using controllable beams based on the beam forming method, and the direction with the maximum energy is the direction of the sound source. The position of the signal source is estimated by using the difference in parameters (phase, frequency band, direction, time, polarization, etc.) when the acoustic signal reaches each array element in the array. This technique is also mature and will not be described in detail.
Optionally, the main control module 20 is specifically configured to, in the automatic mode, determine a current state of the window body; when the window body is in an opening state, judging the current work and rest state; when the current work and rest state is rest, judging whether the times that the sound collected by the second microphone is greater than the first threshold value within a first threshold value time period is greater than or equal to the first threshold value times, and sending a closing instruction to the driving module when the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times; or when the current work and rest state is active, whether the frequency that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value within the second threshold value time period is judged, and a closing instruction is sent to the driving module when the frequency that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value.
According to the embodiment of the invention, when the window body is in the 'open' state, the closing instruction is sent according to the sound collected by the current work and rest state table and the second microphone, so that the window is automatically closed, a better sleeping space is created for a user, and the resting quality is improved.
Optionally, the main control module judges the current work and rest state when the window body is in a closed state; when the current work and rest state is rest, judging whether the duration time of the sound collected by the second microphone, which is smaller than the first threshold value, is longer than the first threshold value time; sending a starting instruction to the driving module in a state that the duration time of the sound collected by the second microphone is less than a first threshold value and is longer than a first threshold value time; or when the current work and rest state is active, judging whether the duration time of the sound collected by the second microphone, which is smaller than the second threshold value, is longer than the second threshold value time; and sending a starting instruction to the driving module in a state that the duration time of the sound collected by the second microphone is less than the second threshold value and is longer than the second threshold value.
According to the embodiment of the invention, when the window body is in the closed state, the opening instruction is sent according to the sound collected by the current work and rest state table and the second microphone, so that the window is automatically opened, the air fluidity can be increased, and the indoor air is kept fresh.
In the automatic mode, the initial state of the window body is "open".
It should be noted that, in the rest state, the corresponding first threshold is smaller than the corresponding second threshold in the working state.
Optionally, the main control module is specifically configured to determine whether duration that the sound acquired by the second microphone is greater than a third threshold is greater than or equal to a third threshold time, and in a state that the duration that the sound acquired by the second microphone is greater than the third threshold time, determine that the current weather condition is bad, and send a closing instruction to the driving module; or recognizing the collected sound data, judging the current weather condition according to the recognition result, and sending a closing instruction to the driving module under the condition of poor current weather condition.
Optionally, the current poor weather condition is referred to as including thunder and/or wind.
Optionally, the third threshold is greater than the first threshold or the second threshold; the third threshold time is less than the first threshold time or the second threshold time.
Optionally, the master control module performs learning identification on typical thunder and wind sound through a machine learning method, so that the identification accuracy is improved, and the reliability of the system is further improved. The method for extracting the characteristics of the sound signal may select a Mel Frequency Cepstral coefficients (MFCCs for short) method for extracting the characteristics, solve characteristic vectors, and implement training and recognition of a classifier for thunder and wind sounds through the characteristic vectors, and specifically, the method for extracting the characteristics specifically includes: pre-emphasis, framing and windowing are carried out on input sound data; fourier transformation is carried out on the processed sound data, and an absolute value or a square value is taken; carrying out Mel filtering; taking logarithm of the data after Mel filtering, and performing discrete cosine transform; and extracting dynamic features to further obtain feature vectors.
Optionally, the main control module is specifically configured to obtain a current state of the window body, and generate a control instruction according to the current state and the pressure data of the window body, so that the window body is switched between states; alternatively, the voice data is recognized, and a control command is generated based on the recognition result.
Specifically, when the current state of the window body is "open", the main control module judges whether the pressure data is greater than 0, and generates a closing instruction to close the window body when the pressure data is greater than 0; or when the current state of the window body is closed, the main control module judges whether the pressure data is greater than 0, and generates an opening instruction to open the window body when the pressure data is greater than 0.
Specifically, voice data is recognized, keywords are obtained, if the keywords comprise 'off', 'closed', 'CLOSE', and the like, closing is judged, and a closing instruction is generated according to a recognition result; if the keyword includes "on", "OPEN", and the like, it is determined to be OPEN, and an OPEN command is generated based on the recognition result.
Optionally, the main control module may also record time and sound data of the user manually opening or closing the window body, and has a self-learning ability.
Optionally, fig. 3 is another schematic structural diagram of a smart window provided in the embodiment of the present invention; as shown in fig. 3, the smart window provided in the embodiment of the present invention further includes: a power module 50 and a transmission module 60.
Specifically, the power module 50 is connected to the main control module 20, and is configured to supply power to the main control module, and is further configured to supply power to the acquisition module 10 and/or the driving module 30 under the control of the main control module.
And the transmission module 60 is connected with the main control module 20 and is used for transmitting the user instruction.
It should be noted that the transmission module 60 may be integrated in the main control module 20, or may be disposed independently from the main control module 20, and fig. 3 illustrates an example in which the transmission module 60 and the main control module 20 are disposed independently.
Example two
Based on the inventive concept of the foregoing embodiment, an embodiment of the present invention further provides a method for controlling an intelligent window, which is applied to the intelligent window provided in the first embodiment of the present invention, and as shown in fig. 4, fig. 4 is a flowchart of the method for controlling the intelligent window provided in the first embodiment of the present invention, where the method for controlling the intelligent window specifically includes the following steps:
And 200, selecting a corresponding working mode according to a user instruction.
After step 200, step 300 or step 400 is executed.
And 300, acquiring the current work and rest state, the collected sound data inside and outside the window body, and generating a control instruction according to the sound data and the current work and rest state in an automatic mode.
The control method of the intelligent window provided by the embodiment of the invention comprises the following steps: receiving a user instruction; selecting a corresponding working mode according to a user instruction; acquiring a current work and rest state and collected sound data inside and outside the window body in an automatic mode, and generating a control instruction according to the sound data and the current work and rest state, or acquiring collected pressure data or voice data applied to the window body in a manual mode; and generating a control instruction according to the pressure data or the voice data. According to the embodiment of the invention, the corresponding data are collected in the two working modes, and the corresponding control instruction is generated according to the collected data, so that the intelligent and humanized opening and closing of the management window are realized, the user management is facilitated, and the living environment experience of the user is improved.
Optionally, step 300 specifically includes: acquiring current time; acquiring a current work and rest state according to the corresponding relation between the current time and the preset time and the work and rest state; respectively obtaining sound information of a first microphone and a second microphone according to the sound data; the sound information includes: the time and size of the sound collected; judging whether the time of the sound collected by the first microphone is later than that of the sound collected by the second microphone or not, wherein the sound comes from the outside of the window body under the condition that the time of the sound collected by the first microphone is later than that of the sound collected by the second microphone; if the sound comes from the outside of the window body, judging the current state of the window body; when the window body is in an 'open' state, judging whether the duration time that the sound collected by the second microphone is greater than the third threshold value is greater than or equal to the third threshold value time, and under the condition that the duration time that the sound collected by the second microphone is greater than the third threshold value time, judging that the current weather condition is bad, and sending a closing instruction to the driving module; or recognizing the collected sound data, judging the current weather condition according to the recognition result, and sending a closing instruction to the driving module under the condition of bad current weather condition; judging the current work and rest state under the state of good weather conditions, judging whether the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times within the first threshold value time period when the current work and rest state is rest, and sending a closing instruction to the driving module under the state that the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times; or when the current work and rest state is active, judging whether the times that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value times within a second threshold value time period, and sending a closing instruction to the driving module when the times that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value times; when the window body is in a closed state, judging the current work and rest state; when the current work and rest state is rest, judging whether the duration time of the sound collected by the second microphone, which is smaller than the first threshold value, is longer than the first threshold value time; sending a starting instruction to the driving module when the duration time of the sound collected by the second microphone, which is smaller than the first threshold value, is longer than the first threshold value time; or when the current work and rest state is active, judging whether the duration time of the sound collected by the second microphone, which is smaller than the second threshold value, is longer than the second threshold value time; and sending a starting instruction to the driving module when the duration time of the sound collected by the second microphone, which is smaller than the second threshold value, is longer than the second threshold value time.
The step 400 specifically includes: obtaining the current state of the window body; generating a control instruction according to the current state and the pressure data of the window body, so that the window body can realize state switching; alternatively, the voice data is recognized, and a control command is generated based on the recognition result.
EXAMPLE III
Based on the inventive concept of the foregoing embodiment, an embodiment of the present invention further provides an intelligent window management system, fig. 5 is a schematic structural diagram of the intelligent window management system provided in the embodiment of the present invention, and as shown in fig. 5, the system provided in the embodiment of the present invention includes: a mobile terminal 1 and a smart window 2; the mobile terminal 1 is used for sending a user instruction to the smart window 2.
The first threshold, the second threshold, the third threshold, the first threshold time, the second threshold time, the third threshold time, the first threshold time period, the second threshold time period and the corresponding relation between the preset time and the work and rest state are input through the mobile terminal.
Wherein, smart window is the smart window that the embodiment one provided, and its theory of realization is similar with the realization effect, and it is no longer repeated here.
The following points need to be explained:
unless defined otherwise, technical or scientific terms used in the disclosure of the embodiments of the present invention should have the same meaning as commonly understood by one of ordinary skill in the art to which the present invention belongs. The use of "first," "second," and similar language in the embodiments of the present invention does not denote any order, quantity, or importance, but rather the terms "first," "second," and similar language are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that a element or item that precedes the word is identified by error or that the element or item listed after the word is identified by error, and that other elements or items are not excluded. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
Without conflict, features of embodiments of the present invention, that is, embodiments, may be combined with each other to arrive at new embodiments.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (8)
1. A smart window, comprising: the window comprises a window body, an acquisition module, a driving module and a main control module; the working mode of the intelligent window comprises the following steps: a manual mode and an automatic mode;
the acquisition module is used for acquiring sound data in the window body and outside the window body in an automatic mode; or, in a manual mode, collecting pressure data or voice data applied to the window body; the acquisition module comprises: a plurality of first microphones disposed within the window body and a plurality of second microphones disposed outside the window body;
the main control module is connected with the acquisition module and used for receiving a user instruction and selecting a corresponding working mode according to the user instruction; the voice data acquisition module is also used for acquiring the current work and rest state in an automatic mode and generating a control instruction according to the voice data and the current work and rest state; or, in a manual mode, generating a control instruction according to the pressure data or the voice data; in a manual mode, the main control module is specifically configured to obtain a current state of a window body, and generate a control instruction according to the current state of the window body and the pressure data, so that the window body is switched between states; or recognizing the voice data and generating a control instruction according to a recognition result;
and the driving module is connected with the main control module and used for opening or closing the window body according to the control instruction.
2. The smart window according to claim 1, wherein the main control module is specifically configured to obtain a current time in an automatic mode; acquiring a current work and rest state according to the corresponding relation between the current time and the preset time and the work and rest state; respectively obtaining sound information of a first microphone and a second microphone according to the sound data; obtaining a sound source according to the sound information; if the sound comes from the outside of the window body, generating a control instruction according to the sound information and the current work and rest state;
wherein the sound information includes: the time and size of the sound collected; the sound sources include: the window body is in or out of the window body; the work and rest states are as follows: activity or rest.
3. The smart window according to claim 2, wherein the main control module is specifically configured to determine whether the time of the sound collected by the first microphone is later than the time of the sound collected by the second microphone, and the sound originates from outside the window body in a state that the time of the sound collected by the first microphone is later than the time of the sound collected by the second microphone.
4. The smart window according to claim 2, wherein the main control module is specifically configured to determine a current state of the window body;
when the window body is in an opening state, judging the current work and rest state; when the current work and rest state is rest, judging whether the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times within a first threshold value time period, and sending a closing instruction to the driving module when the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times; or when the current work and rest state is active, judging whether the times that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value times within a second threshold value time period, and sending a closing instruction to the driving module when the times that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value times;
when the window body is in a closed state, judging the current work and rest state; when the current work and rest state is rest, judging whether the duration time of the sound collected by the second microphone, which is smaller than a first threshold value, is longer than a first threshold value time; sending a starting instruction to the driving module in a state that the duration time of the sound collected by the second microphone is less than a first threshold value and is longer than a first threshold value time; or when the current work and rest state is active, judging whether the duration time of the sound collected by the second microphone, which is smaller than a second threshold value, is longer than a second threshold value time; and sending a starting instruction to the driving module in a state that the duration time of the sound collected by the second microphone is less than the second threshold value and is longer than the second threshold value.
5. The smart window according to claim 4, wherein the main control module is specifically configured to determine whether a duration that the sound collected by the second microphone is greater than a third threshold is greater than or equal to a third threshold time, and when the duration that the sound collected by the second microphone is greater than the third threshold time, determine that a current weather condition is bad, and send a closing instruction to the driving module; or identifying the collected sound data, judging the current weather condition according to the identification result, and sending a closing instruction to the driving module under the condition of poor current weather condition.
6. A smart window management system, comprising: a mobile terminal and a smart window according to any one of claims 1-5;
the mobile terminal is used for sending a user instruction to the intelligent window.
7. A control method of a smart window, which is applied to the smart window according to any one of claims 1-5, specifically comprising:
receiving the user instruction;
selecting a corresponding working mode according to a user instruction;
in an automatic mode, acquiring a current work and rest state and collected sound data inside and outside the window body, and generating a control instruction according to the sound data and the current work and rest state; or acquiring collected pressure data or voice data applied to the window body in a manual mode; generating a control instruction according to the pressure data or the voice data;
in the manual mode, generating a control instruction according to the pressure data or the voice data includes:
obtaining the current state of the window body;
generating a control instruction according to the current state of the window body and the pressure data, so that the window body can realize state switching; or recognizing the voice data and generating a control instruction according to a recognition result.
8. The method of claim 7, wherein in the automatic mode, acquiring the current work and rest status, and the collected sound data inside and outside the window body, and generating the control command according to the sound data and the work and rest status comprises:
acquiring current time; acquiring a current work and rest state according to the corresponding relation between the current time and the preset time and the work and rest state;
respectively obtaining sound information of a first microphone and a second microphone according to the sound data; the sound information includes: the time and size of the sound collected;
judging whether the time of the sound collected by the first microphone is later than that of the sound collected by the second microphone or not, wherein the sound comes from the outside of the window body under the condition that the time of the sound collected by the first microphone is later than that of the sound collected by the second microphone;
if the sound comes from the outside of the window body, judging the current state of the window body; when the window body is in an 'open' state, judging whether the duration time that the sound collected by the second microphone is greater than a third threshold value is greater than or equal to a third threshold value time, and when the duration time that the sound collected by the second microphone is greater than the third threshold value time, judging that the current weather condition is bad, and sending a closing instruction to the driving module; or identifying the collected sound data, judging the current weather condition according to the identification result, and sending a closing instruction to the driving module under the condition of bad current weather condition;
judging the current work and rest state under the state of good weather conditions, judging whether the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times within a first threshold value time period when the current work and rest state is rest, and sending a closing instruction to the driving module under the state that the times that the sound collected by the second microphone is greater than the first threshold value is greater than or equal to the first threshold value times; or when the current work and rest state is active, judging whether the times that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value times within a second threshold value time period, and sending a closing instruction to the driving module when the times that the sound collected by the second microphone is greater than the second threshold value is greater than or equal to the second threshold value times;
when the window body is in a closed state, judging the current work and rest state; when the current work and rest state is rest, judging whether the duration time of the sound collected by the second microphone, which is smaller than the first threshold value, is longer than the first threshold value time; sending a starting instruction to the driving module when the duration time of the sound collected by the second microphone, which is smaller than the first threshold value, is longer than the first threshold value time; or when the current work and rest state is active, judging whether the duration time of the sound collected by the second microphone, which is smaller than a second threshold value, is longer than a second threshold value time; and sending a starting instruction to the driving module when the duration time of the sound collected by the second microphone, which is smaller than the second threshold value, is longer than the second threshold value time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810216629.8A CN108360942B (en) | 2018-03-15 | 2018-03-15 | Intelligent window, control method thereof and intelligent window management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810216629.8A CN108360942B (en) | 2018-03-15 | 2018-03-15 | Intelligent window, control method thereof and intelligent window management system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108360942A CN108360942A (en) | 2018-08-03 |
CN108360942B true CN108360942B (en) | 2020-08-21 |
Family
ID=63000426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810216629.8A Expired - Fee Related CN108360942B (en) | 2018-03-15 | 2018-03-15 | Intelligent window, control method thereof and intelligent window management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108360942B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109784660A (en) * | 2018-12-18 | 2019-05-21 | 北京上格云技术有限公司 | Work order generation method and computer readable storage medium |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101560867B (en) * | 2009-05-26 | 2012-05-16 | 哈尔滨工业大学 | Anti-poison intelligent window |
CN102052036B (en) * | 2010-11-15 | 2013-06-12 | 无锡中星微电子有限公司 | Control system and method for acoustic control window |
CN201972515U (en) * | 2011-01-20 | 2011-09-14 | 重庆交通大学 | Wind, humidity and light control automatic window with intelligent closing and opening |
CN102882752A (en) * | 2012-10-19 | 2013-01-16 | 天津光宏科技有限公司 | Internet-of-things and android system based intelligent home system and control method |
CN203022502U (en) * | 2012-11-26 | 2013-06-26 | 山东科技大学 | Household intelligent unattended-operation automatic window-shutting system |
CN103206130B (en) * | 2013-03-27 | 2015-12-23 | 成都阳光铝制品有限公司 | A kind of intelligent door and window system |
CN103410399A (en) * | 2013-07-25 | 2013-11-27 | 苏州萃智新技术开发有限公司 | Intelligent window system |
CN103422764A (en) * | 2013-08-20 | 2013-12-04 | 华南理工大学 | Door control system and control method thereof |
CN105464507A (en) * | 2014-09-10 | 2016-04-06 | 赵健钧 | Noise preventing window |
CN204705882U (en) * | 2015-06-15 | 2015-10-14 | 王海平 | A kind of intelligent domestic system |
KR101723301B1 (en) * | 2015-08-10 | 2017-04-04 | 이영욱 | Apparatus for automatic opening and shutting of window to weather and noise |
CN204899564U (en) * | 2015-08-24 | 2015-12-23 | 河北工业大学 | Multifunctional voice intelligent window control system |
CN105206275A (en) * | 2015-08-31 | 2015-12-30 | 小米科技有限责任公司 | Device control method, apparatus and terminal |
JP6552381B2 (en) * | 2015-10-29 | 2019-07-31 | 三菱電機株式会社 | Control device, control system and program |
CN106014078A (en) * | 2016-07-12 | 2016-10-12 | 东华理工大学 | Intelligent protective window |
CN206329203U (en) * | 2016-12-27 | 2017-07-14 | 埃泰克汽车电子(芜湖)有限公司 | A kind of vehicle dormer window open and close control system |
CN107612964B (en) * | 2017-08-01 | 2021-05-28 | 深圳市盛路物联通讯技术有限公司 | Equipment control method and device based on Internet of things |
-
2018
- 2018-03-15 CN CN201810216629.8A patent/CN108360942B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN108360942A (en) | 2018-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110491403B (en) | Audio signal processing method, device, medium and audio interaction equipment | |
CN110992974B (en) | Speech recognition method, apparatus, device and computer readable storage medium | |
US11830479B2 (en) | Voice recognition method and apparatus, and air conditioner | |
CN106910500B (en) | Method and device for voice control of device with microphone array | |
WO2020143652A1 (en) | Keyword detection method and related device | |
TWI711035B (en) | Method, device, audio interaction system, and storage medium for azimuth estimation | |
JP2020505648A (en) | Change audio device filter | |
CN104102181B (en) | Intelligent home control method, device and system | |
US12003673B2 (en) | Acoustic echo cancellation control for distributed audio devices | |
CN105308679A (en) | Method and system for identifying location associated with voice command to control home appliance | |
CN105182763A (en) | Intelligent remote controller based on voice recognition and realization method thereof | |
US20230026347A1 (en) | Methods for reducing error in environmental noise compensation systems | |
CN113132193B (en) | Control method and device of intelligent device, electronic device and storage medium | |
CN110767228B (en) | Sound acquisition method, device, equipment and system | |
US12112750B2 (en) | Acoustic zoning with distributed microphones | |
Han et al. | Gesture and voice control of Internet of Things | |
CN108360942B (en) | Intelligent window, control method thereof and intelligent window management system | |
CN110493092B (en) | Universal remote control based on far-field voice and IOT (input/output) and household appliance remote control method | |
WO2020227955A1 (en) | Sound recognition method, interaction method, sound recognition system, computer-readable storage medium and mobile platform | |
US20220351724A1 (en) | Multi-device wakeword detection | |
US20220270601A1 (en) | Multi-modal smart audio device system attentiveness expression | |
CN114571473A (en) | Control method and device for foot type robot and foot type robot | |
CN113488031B (en) | Method and device for determining electronic equipment, storage medium and electronic device | |
CN111739515A (en) | Voice recognition method, device, electronic device, server and related system | |
EP4303868A1 (en) | Audio signal processing method, devices, system, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200821 |
|
CF01 | Termination of patent right due to non-payment of annual fee |