WO2019010795A1 - 一种基于物联网的控制方法及物联网服务器 - Google Patents
一种基于物联网的控制方法及物联网服务器 Download PDFInfo
- Publication number
- WO2019010795A1 WO2019010795A1 PCT/CN2017/100765 CN2017100765W WO2019010795A1 WO 2019010795 A1 WO2019010795 A1 WO 2019010795A1 CN 2017100765 W CN2017100765 W CN 2017100765W WO 2019010795 A1 WO2019010795 A1 WO 2019010795A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- volume
- power
- internet
- light
- smart
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
- H05B47/11—Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
- H04L12/282—Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
- H05B47/115—Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
- H05B47/12—Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings by detecting audible sound
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Definitions
- the present invention relates to the field of Internet of Things technologies, and in particular, to a method for controlling an Internet of Things and an Internet of Things server.
- Embodiments of the present invention provide a method for controlling an Internet of Things and an Internet of Things server for adjusting the brightness of a light according to a current situation of a user.
- an embodiment of the present invention provides a lighting control method based on the Internet of Things, which is applicable to a smart home system, where the smart home system includes an Internet of Things server, a smart light, a brightness detector, and a volume detector, including:
- the Internet of Things server acquires a plurality of lightness brightness data continuously detected by the light brightness detector
- the Internet of Things server determines the first power of the smart lamp according to the plurality of light brightness data
- the IoT server controls the smart light to initiate illumination in accordance with the first power.
- the method further includes:
- the IoT server controls the smart light to turn off the illumination when the plurality of second volume data continuously detected by the volume detector is less than the first volume.
- the IoT server controls the smart light to start lighting according to the first power, including:
- the IoT server controls the smart light to start illumination according to the first power within a preset time period, and the preset duration is determined based on the preset time range.
- the method further includes:
- the IoT server controls the smart light to illuminate according to a second power, and the second power is greater than the first power.
- the method further includes:
- the IoT server controls the smart light to start illumination according to a third power, and the second volume is greater than or equal to
- the first volume* is a preset threshold, and the third power is greater than the first power.
- the smart home system further includes a terminal device, and the method further includes:
- the IoT server sends, to the terminal device, first voice information for prompting the user to turn off the smart light, so that the terminal device plays the first voice information when receiving the voice information;
- the second voice information sent by the Internet of Things server is received by the terminal device, and the second voice information is voice information collected by the terminal device;
- the IoT server parses the second voice information to obtain N keywords;
- the IoT server controls the smart light to turn off the illumination. It can be seen that the Internet of Things server can further prompt the user to turn off the smart light through the terminal device, thereby further improving the user experience.
- the specific method for the IoT server to send the first voice information for prompting the user to turn off the smart light to the terminal device is: the current system time is later than the preset time. And sending, by the IoT server, the first voice information for prompting the user whether to turn off the smart light to the terminal device, where the preset time is a user-defined time for rest point. It can be seen that when a break is needed, the IoT server can prompt the user whether to turn off the light, which not only embodies the smart switch light, but also plays a role in reminding the user to rest normally.
- an embodiment of the present invention provides an Internet of Things server, which is applicable to a smart home system, where the smart home system includes an Internet of Things server, a smart light, a brightness detector, and a volume detector, including:
- An acquiring module configured to acquire, after the plurality of first volume data continuously detected by the volume detector is greater than or equal to the first volume, the plurality of lightness brightness data continuously detected by the light brightness detector;
- a determining module configured to determine a first power of the smart light according to the plurality of light brightness data when the plurality of light brightness data is less than a preset light brightness
- a first control module configured to control the smart light to start illumination according to the first power.
- the first control module is further configured to: when the plurality of second volume data continuously detected by the volume detector is smaller than the first volume, control the smart light to be turned off. illumination.
- the first control module is specifically configured to control the smart light to start illumination according to the first power within a preset time period, where the preset duration is based on the preset time range. definite.
- the Internet of Things server further includes:
- the second control module is configured to control, after the preset duration, that the smart light is illuminated according to a second power, where the second power is greater than the first power.
- the Internet of Things server further includes:
- a third control module configured to: when the plurality of third volume data continuously detected by the volume detector is greater than or equal to the second volume, control the smart light to start illumination according to the third power, where the second volume is greater than Or equal to the first volume* preset threshold, the third power being greater than the first power.
- the present invention provides an Internet of Things server, the IoT server including a processor configured to support the IoT server to perform a corresponding one of the Internet of Things-based lighting control methods provided by the first aspect Features.
- the IoT server can also include a memory for coupling with the processor that holds the program instructions and data necessary for the IoT server.
- the Internet of Things service The device can also include a communication interface for the IoT server to communicate with other devices or communication networks.
- an embodiment of the present invention provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the embodiment of the present invention.
- the computer includes an Internet of Things server.
- an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the implementation of the present invention.
- the computer program product can be a software installation package, and the computer includes an Internet of Things server.
- the solution provided by the present invention places a lightness detector and a volume detector through the home.
- the volume detector continuously detects that the plurality of first volume data exceeds the first volume, the user is raised to act.
- a plurality of light brightness data continuously detected by the light brightness detector are obtained, and when the plurality of light brightness data exceeds the preset light brightness, the brightness of the current environment is dark. It can be seen that the current user is in a relatively dark environment, in order to avoid the momentary lighting to stimulate the user's eyes, in this case, the power of the intelligent light point is adjusted according to the plurality of light brightness data detected by the lightness detector, and the adjustment intelligent light is emitted. The brightness of the light enhances the user experience.
- FIG. 1 is a schematic diagram of an Internet of Things network architecture according to an embodiment of the present invention.
- FIG. 2 is a flowchart of a method for controlling lighting based on an Internet of Things according to an embodiment of the present invention
- FIG. 3 is a schematic diagram showing an example of an embodiment of the present invention.
- FIG. 4 is a flowchart of a method for controlling lighting based on an Internet of Things according to an embodiment of the present invention
- FIG. 5 is a schematic structural diagram of an Internet of Things server according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of an Internet of Things server according to an embodiment of the present invention.
- references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
- the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
- an Internet of Things-based lighting control method is provided.
- the method is applied to the IoT network architecture shown in FIG. 1.
- the IoT network architecture includes an Internet of Things server 10, a smart light 20, a brightness detector 30, a volume detector 40, and The terminal device 50, wherein the smart light 20, the lightness detector 30 and the volume detector 40 are wirelessly connected to the Internet of Things server 10, and the Internet of Things server 10 communicates with the terminal device via the Internet or the mobile network.
- the above wireless methods include but are not limited to: Bluetooth, WIFI, ZigBee, GPRS, 3G, 4G, Wimax and the like.
- the Internet of Things server 10 can be a gateway or an Internet of Things access point.
- Gateway the English name is: "Gateway”
- gateway Gateway
- the gateway implements network interconnection above the network layer. It is the most complex network interconnection device and is only used for different network interconnections of two high-level protocols. Gateways can be used for both WAN and LAN interconnections.
- a gateway is a computer system or device that acts as a conversion.
- the gateway is a translator between two systems that use different communication protocols, data formats or languages, or even completely different architectures. Unlike bridges that simply convey information, the gateway repackages the received information to suit the needs of the destination system.
- the Internet of Things access point refers to an intelligent information receiving and transmitting device that integrates a wireless network access point and an RFID access point.
- the Internet of Things access point can simultaneously receive and transmit WIFI signals and RFID signals.
- the number of the smart lamps 20 may be one or plural, and the present invention is not limited thereto. For example, install a smart light in each room in your home. Another example is to install a smart light in the living room at home.
- the brightness detector is a test instrument for measuring the brightness of light.
- the brightness detector 30 may be one or plural, and is not limited in the present invention.
- a brightness detector is installed in each room in the home.
- Another example is to install a light detector in the living room at home.
- the lightness detector periodically transmits the detected volume data to the IoT server periodically (for example, every 1 s, every 2 s, every 5 s, every 6 s, or other values).
- the volume detector 40 may be one or plural, and the present invention is not limited thereto.
- a volume detector is installed in each room in the home.
- Another example is to install a volume detector in the living room at home.
- the volume detector periodically sends the detected volume data to the IoT server periodically (for example, every 1 s, every 2 s, every 5 s, every 6 s, or other values).
- the terminal device 50 also referred to as a User Equipment (UE) is a device that provides voice and/or data connectivity to a user, for example, a handheld device with a wireless connection function, an in-vehicle device, and the like.
- UE User Equipment
- Common terminals include, for example, mobile phones, tablets, notebook computers, PDAs, mobile internet devices (MIDs), wearable devices such as smart watches, smart bracelets, pedometers, and the like.
- the IoT-based lighting control method provided by the embodiment of the present invention will be described in detail below with reference to the Internet of Things network architecture shown in FIG.
- FIG. 2 is a schematic flowchart of a method for controlling lighting based on an Internet of Things according to an embodiment of the present invention, including the following steps:
- the Internet of Things server acquires a plurality of lightness brightness data continuously detected by the light brightness detector.
- the first volume can be set to one of the ranges of 40db ⁇ 70db, assuming the first volume is 55db, when the volume detector continuously detects multiple When the volume data is greater than or equal to 55db, it means that the user is currently in the action state.
- the IoT server determines the first power of the smart lamp according to the plurality of brightness data.
- the brightness of the room is usually around 0.03 ⁇ 0.3lux, so the preset brightness can be set in the range of 0.03 ⁇ 0.3lux.
- One plus a threshold which may for example be equal to 0.05 lux, 0.1 lux, 0.2 lux or other values.
- the preset brightness is 0.35 lux, when the brightness data detected by the brightness detector is less than 0.35 lux, it means that the current environment of the user is a dark environment. In order not to irritate the user's eyes, the first power determined at this time will be relatively small.
- the IoT server stores multiple powers of the smart light, and different powers correspond to different light brightness ranges.
- the brightness is between 0.03 and 0.3 lux, corresponding to one power
- the brightness is between 3 and 10 lux, corresponding to another power.
- the specific implementation manner of the IoT server determining the first power of the smart light according to the plurality of light brightness data is: the Internet of Things server selects one of the light brightness data from the plurality of light brightness data, and according to The one of the brightness data determines a first power of the smart light.
- the IoT server determines an average lightness of the plurality of lightness data, and determines a first power of the smart light according to the average brightness.
- the IoT server controls the smart light to start illumination according to the first power.
- the specific implementation manner of the IOT server controlling the smart light to start the illumination according to the first power in the step S203 is: the Internet of Things server control office The smart light starts illumination according to the first power within a preset time period, and the preset time length is determined based on the preset time range.
- the IoT server controls the smart light to illuminate according to a second power, and the second power is greater than the first power.
- the preset time range may be, for example, 7:30 to 8:00, 8:00 to 9:00, 8:30 to 9:00, 8:30 to 9:30, or other values.
- the preset duration may be, for example, 1 minute, 1 minute and a half, 2 minutes, 3 minutes, or other values.
- the preset duration is determined based on the preset time range. That is, different time ranges correspond to different durations. For example, the preset duration corresponding to 7:30 to 8:00 is 2 minutes, and the preset duration corresponding to 8:00 to 9:00 is 3 minutes.
- the preset time range is 7:30-8:00
- the preset duration is 2 minutes. It can be seen that the time is the time people wake up in the morning. People wake up and turn on the lights first, but people just wake up. If the light is too strong, it will irritate people's eyes. In order to avoid irritating people's eyes, the Internet of Things can control the smart lights to light up for 2 minutes according to low power. After 2 minutes, people's eyes are slowly adapting to the light environment. At this time, the power of the smart lights is turned up to illuminate the house. .
- the method further includes:
- the IoT server controls the smart light to turn off the illumination when the plurality of second volume data continuously detected by the volume detector is less than the first volume.
- the IoT server can control the smart light at this time. Turn off the lighting.
- the smart home system further includes a terminal device
- the method further includes: the IoT server transmitting, to the terminal device, first voice information for prompting a user whether to turn off the smart light, And causing the terminal device to play the first voice information when receiving the voice information; and the second voice sent by the Internet of Things server to receive the first voice information of the terminal device Information, the second voice information is voice information collected by the terminal device; the Internet of Things server parses the second voice information to obtain N keywords; when at least one of the N keywords exists The keyword matches the pre-stored keyword, and the IoT server controls the smart light to turn off the illumination.
- the preset keywords may be, for example, off, yes, um, turn off, off, and the like.
- the keywords obtained by the Internet of Things server are: closed, smart lights, visible, parsed keywords “Off” matches the pre-stored keyword “Off”, at which point the IoT server controls the smart light to turn off the illumination.
- the specific method for the IoT server to send the first voice information for prompting the user to turn off the smart light to the terminal device is: when the current system time is later than the preset time, The IoT server sends the first voice information for prompting the user to turn off the smart light to the terminal device, where the preset time is a user-defined time point that needs to rest. It can be seen that when a break is needed, the IoT server can prompt the user whether to turn off the light, which not only embodies the smart switch light, but also plays a role in reminding the user to rest normally.
- the IoT server controls the smart light to start illumination according to the third power
- the second volume is greater than or equal to the first volume* preset threshold
- the third power is greater than the first power.
- the preset threshold may be 2, 2.5, 2.3, 3, 4 or other values. It can be seen that when the user does not want to turn on the light directly through the switch, the user controls the smart light to directly start the illumination by emitting a relatively large sound (such as a loud cough and a two-handed shot).
- the solution provided by the present invention places a lightness detector and a volume detector through the home.
- the volume detector continuously detects that the plurality of first volume data exceeds the first volume, the user is raised to act.
- a plurality of light brightness data continuously detected by the light brightness detector are obtained, and when the plurality of light brightness data exceeds the preset light brightness, the brightness of the current environment is dark.
- the power of the intelligent light point is adjusted according to the plurality of light brightness data detected by the lightness detector, and the adjustment intelligent light is emitted.
- the brightness of the light enhances the user experience.
- FIG. 3 is a schematic diagram of an example according to an embodiment of the present invention.
- the brightness detector and the volume detector send the light brightness data and volume data detected by themselves to the Internet of Things server, and the IoT server performs data processing operations based on the received data, and then the IoT server output control.
- the command is given to the smart light, and the smart light performs corresponding operations based on the control command. For example, suppose the first volume is 55db, the preset brightness is 0.35lux, and the power corresponding to 0.1lux to 0.35lux is 10w.
- the volume data continuously sent by the volume detector to the Internet of Things server are: 51db, 40db, 42db, 50db, 52db, 45db, 48db, 50db, 43db, 42db.
- the 10 brightness data that the brightness detector continuously sends to the IoT server are: 0.1 lux, 0.15 lux, 0.2 lux, 0.3 lux, 0.1 lux, 0.1 lux, 0.15 lux, 0.15 lux, 0.2 lux, 0.15 lux. It can be seen that 10 volume data are larger than 55db, and 10 brightness data are less than 0.35lux, which means that the user is currently in the action state, and the user's current environment is relatively dark.
- the power corresponding to the 10 brightness data is 10w, then the IoT server sends a start lighting control command to the smart light, the control command carries power (10w), so that the smart light is illuminated according to 10w.
- Another embodiment of the present invention further provides a more detailed method flow, as shown in FIG. 4, including:
- the IoT server acquires a plurality of first volume data continuously detected by the volume detector.
- the Internet of Things server acquires a plurality of lightness data continuously detected by the lightness detector.
- the IoT server determines the first power of the smart lamp according to the plurality of brightness data.
- the IoT server sends a lighting instruction to the smart light, where the lighting instruction carries the first power and a preset duration.
- the illumination command is configured to instruct the smart light to start illumination according to the first power within a preset time period, and after the preset time length, perform illumination according to a second power, where the second power is greater than the first
- the preset duration is determined based on the preset time range.
- the smart light receives the lighting instruction, and performs corresponding operation according to the lighting instruction. Work.
- the IoT server acquires a plurality of second volume data continuously detected by the volume detector.
- the IoT server sends a shutdown illumination command to the smart light, where the shutdown illumination command is used to instruct the smart light to turn off the illumination.
- the smart light receives the turning off lighting instruction and turns off the lighting.
- the embodiment of the present invention further provides an Internet of Things server 500, which is applicable to a smart home system.
- the smart home system includes an Internet of Things server, a smart light, a brightness detector, and a volume detector. As shown in FIG. 5, the method includes:
- the obtaining module 501 is configured to acquire, when the plurality of first volume data continuously detected by the volume detector is greater than or equal to the first volume, the plurality of lightness data continuously detected by the lightness detector.
- the determining module 502 is configured to determine a first power of the smart light according to the plurality of light brightness data when the plurality of light brightness data is less than a preset light brightness.
- the first control module 503 is configured to control the smart light to start illumination according to the first power.
- the first control module 503 is further configured to control the smart light to turn off the illumination when the plurality of second volume data continuously detected by the volume detector is less than the first volume.
- the first control module 503 is specifically configured to control the smart light to start illumination according to the first power within a preset time period, where the preset duration is determined based on the preset time range.
- the IoT server further includes:
- the second control module 504 is configured to control, after the preset duration, that the smart light is illuminated according to a second power, where the second power is greater than the first power.
- the IoT server further includes:
- a third control module 505 configured to continuously detect the plurality of third volume numbers in the volume detector The smart light is controlled to start illumination according to the third power when the second volume is greater than or equal to the second volume, the second volume is greater than or equal to the first volume* preset threshold, and the third power is greater than the first power.
- each of the above modules acquisition module 501, determination module 502, first control module 503, second control module 504, third control module 505) is used to perform the relevant steps of the above method.
- the obtaining module 501 is configured to perform the above step S201
- the determining module 502 is configured to perform the above step S202
- the first control module 503 is configured to perform the above step S202, and the like.
- the Internet of Things server 500 is presented in the form of a module.
- a “module” herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the above functionality.
- ASIC application-specific integrated circuit
- the above obtaining module 501, determining module 502, first control module 503, second control module 504, and third control module 505 can be implemented by the processor 601 of the Internet of Things server shown in FIG. 6.
- the Internet of Things server 600 can be implemented in the structure of FIG. 6, which includes at least one processor 601, at least one memory 602, and at least one communication interface 603.
- the processor 601, the memory 602, and the communication interface 603 are connected by the communication bus and complete communication with each other.
- the processor 601 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
- CPU central processing unit
- ASIC application-specific integrated circuit
- the communication interface 603 is configured to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
- RAN Radio Access Network
- WLAN Wireless Local Area Networks
- the memory 602 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
- the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc., disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
- the memory can exist independently and be connected to the processor via a bus.
- the memory can also be integrated with the processor.
- the memory 602 is configured to store application code that executes the above solution, and is controlled by the processor 601 for execution.
- the processor 601 is configured to execute application code stored in the memory 602.
- the code stored in the memory 602 may perform the above-described Internet of Things-based lighting control method performed by the terminal device provided above, such as when the plurality of first volume data continuously detected by the volume detector are greater than or equal to the first volume, Obtaining, by the Internet of Things server, a plurality of light brightness data continuously detected by the light brightness detector; when the plurality of light brightness data is less than a preset light brightness, the Internet of Things server determines according to the plurality of light brightness data a first power of the smart light; the Internet of Things server controls the smart light to initiate illumination in accordance with the first power.
- the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to perform some or all of the steps of any of the methods described in the foregoing method embodiments.
- the computer includes an Internet of Things server.
- Embodiments of the present invention also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the operations as recited in the above method embodiments Part or all of the steps of either method.
- the computer program product can be a software installation package that includes an IoT server.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a memory.
- a number of instructions are included to cause a computer device (which may be a personal computer, an Internet of Things server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Human Computer Interaction (AREA)
- Automation & Control Theory (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
本发明公开了一种基于物联网的控制方法,适用于智能家居系统,所述智能家居系统包括物联网服务器、智能灯、光亮度检测器和音量检测器,包括:当所述音量检测器连续检测到的多个第一音量数据均大于或等于第一音量时,所述物联网服务器获取所述光亮度检测器连续检测到的多个光亮度数据;当所述多个光亮度数据小于预设光亮度时,所述物联网服务器根据所述多个光亮度数据确定所述智能灯的第一功率;所述物联网服务器控制所述智能灯按照所述第一功率启动照明。本发明实施例还提供了一种物联网服务器。采用本发明实施例可用于根据用户当前情况调节灯光的亮度。
Description
本发明涉及物联网技术领域,尤其涉及一种基于物联网的控制方法及物联网服务器。
通常人们晚上睡觉会将屋里的灯全部关闭,但是有时候人们会在半夜起来上洗手间或是起来喝水,此时,人们从卧室移动到洗手间或是客厅时,需要打开某些灯照亮周围的环境。但是人们从较暗的环境瞬间开灯,会刺激人们的眼睛,并且会影响到其他家人的休息,因此如何根据用户当前情况调节灯光的亮度是很有必要的。
发明内容
本发明实施例提供一种基于物联网的控制方法及物联网服务器,用于根据用户当前情况调节灯光的亮度。
第一方面,本发明实施例提供一种基于物联网的照明控制方法,适用于智能家居系统,所述智能家居系统包括物联网服务器、智能灯、光亮度检测器和音量检测器,包括:
当所述音量检测器连续检测到的多个第一音量数据均大于或等于第一音量时,所述物联网服务器获取所述光亮度检测器连续检测到的多个光亮度数据;
当所述多个光亮度数据小于预设光亮度时,所述物联网服务器根据所述多个光亮度数据确定所述智能灯的第一功率;
所述物联网服务器控制所述智能灯按照所述第一功率启动照明。
在一种可行的实施例中,所述物联网服务器控制所述智能灯按照所述第一功率启动照明之后,所述方法还包括:
当所述音量检测器连续检测到的多个第二音量数据均小于所述第一音量时,所述物联网服务器控制所述智能灯关闭照明。
在一种可行的实施例中,若当前系统时间处于预设时间范围,所述物联网服务器控制所述智能灯按照所述第一功率启动照明,包括:
所述物联网服务器控制所述智能灯在预设时长内按照所述第一功率启动照明,所述预设时长是基于所述预设时间范围确定的。
在一种可行的实施例中,所述方法还包括:
在所述预设时长后,所述物联网服务器控制所述智能灯按照第二功率进行照明,所述第二功率大于所述第一功率。
在一种可行的实施例中,所述方法还包括:
在所述音量检测器连续检测到的多个第三音量数据均大于或等于第二音量时,所述物联网服务器控制所述智能灯按照第三功率启动照明,所述第二音量大于或等于所述第一音量*预设阈值,所述第三功率大于所述第一功率。
在一种可行的实施例中,所述智能家居系统还包括终端设备,所述方法还包括:
所述物联网服务器向所述终端设备发送用于提示用户是否关闭所述智能灯的第一语音信息,以使得所述终端设备接收到所述语音信息时播放所述第一语音信息;
所述物联网服务器接收所述终端设备所述第一语音信息而发送的第二语音信息,所述第二语音信息是所述终端设备采集到的语音信息;
所述物联网服务器解析所述第二语音信息,以得到N个关键词;
当所述N个关键词中存在至少一个关键词与预存关键词匹配,则所述物联网服务器控制所述智能灯关闭照明。可见,物联网服务器可通过终端设备提示用户是否关闭智能灯,进一步提高了用户体验。
在一种可行的实施例中,所述物联网服务器向所述终端设备发送用于提示用户是否关闭所述智能灯的第一语音信息的具体实施方式有:在当前系统时间晚于预设时间时,所述物联网服务器向所述终端设备发送用于提示用户是否关闭所述智能灯的第一语音信息,所述预设时间是用户自定义的需要休息的时间
点。可见,在需要休息时,物联网服务器可提示用户是否需要关灯,这样不仅既能体现了智能开关灯,还起到了提醒用户正常休息的作用。
第二方面,本发明实施例提供一种物联网服务器,适用于智能家居系统,所述智能家居系统包括物联网服务器、智能灯、光亮度检测器和音量检测器,包括:
获取模块,用于当所述音量检测器连续检测到的多个第一音量数据均大于或等于第一音量时,获取所述光亮度检测器连续检测到的多个光亮度数据;
确定模块,用于当所述多个光亮度数据小于预设光亮度时,根据所述多个光亮度数据确定所述智能灯的第一功率;
第一控制模块,用于控制所述智能灯按照所述第一功率启动照明。
在一种可行的实施例中,所述第一控制模块,还用于当所述音量检测器连续检测到的多个第二音量数据均小于所述第一音量时,控制所述智能灯关闭照明。
在一种可行的实施例中,所述第一控制模块具体用于控制所述智能灯在预设时长内按照所述第一功率启动照明,所述预设时长是基于所述预设时间范围确定的。
在一种可行的实施例中,所述物联网服务器还包括:
第二控制模块,用于在所述预设时长后,控制所述智能灯按照第二功率进行照明,所述第二功率大于所述第一功率。
在一种可行的实施例中,所述物联网服务器还包括:
第三控制模块,用于在所述音量检测器连续检测到的多个第三音量数据均大于或等于第二音量时,控制所述智能灯按照第三功率启动照明,所述第二音量大于或等于所述第一音量*预设阈值,所述第三功率大于所述第一功率。
第三方面,本发明提供一种物联网服务器,该物联网服务器中包括处理器,处理器被配置为支持该物联网服务器执行第一方面提供的一种基于物联网的照明控制方法中相应的功能。该物联网服务器还可以包括存储器,存储器用于与处理器耦合,其保存该物联网服务器必要的程序指令和数据。该物联网服务
器还可以包括通信接口,用于该物联网服务器与其他设备或通信网络通信。
第四方面,本发明实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本发明实施例第一方面所描述的部分或全部步骤,上述计算机包括物联网服务器。
第五方面,本发明实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本发明实施例第一方面所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括物联网服务器。
本发明提供的方案通过在家中安置光亮度检测器和音量检测器。当音量检测器连续检测到多个第一音量数据均超过第一音量时,代表用户起身行动。此时获取光亮度检测器连续检测到的多个光亮度数据,当多个光亮度数据均为超过预设光亮度,代表当前环境亮度较暗。可见当前用户处于一个比较暗的环境,为了避免瞬间开灯刺激用户的眼睛,该种情况下,根据光亮度检测器检测到的多个光亮度数据调节智能灯点的功率,达到调节智能灯发出的光亮度,进而提高用户体验。
本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一实施例提供的一种物联网网络构架的示意图;
图2为本发明一实施例提供的一种基于物联网的照明控制方法的流程图;
图3为本发明一实施例提供的一种示例示意图;
图4为本发明一实施例提供的一种基于物联网的照明控制方法的流程图;
图5为本发明一实施例提供的一种物联网服务器的结构示意图;
图6为本发明一实施例提供的一种物联网服务器的结构示意图。
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
以下分别进行详细说明。
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
下面结合附图对本申请的实施例进行描述。
根据本发明的一个方面,提供了一种基于物联网的照明控制方法。其中,该方法应用在如图1所示的物联网网络构架中,如图1所示,该物联网网络构架包括物联网服务器10、智能灯20、光亮度检测器30、音量检测器40和终端设备50,其中,智能灯20、光亮度检测器30和音量检测器40通过无线方式与物联网服务器10连接,物联网服务器10通过互联网或移动网跟终端设备
50连接,上述无线方式包括但不限于:蓝牙、WIFI、ZigBee、GPRS、3G、4G、Wimax等方式。
物联网服务器10可以是网关,也可以是物联网接入点。网关,英文名是:“Gateway”,网关(Gateway)又称网间连接器、协议转换器。网关在网络层以上实现网络互连,是最复杂的网络互连设备,仅用于两个高层协议不同的网络互连。网关既可以用于广域网互连,也可以用于局域网互连。网关是一种充当转换重任的计算机系统或设备。使用在不同的通信协议、数据格式或语言,甚至体系结构完全不同的两种系统之间,网关是一个翻译器。与网桥只是简单地传达信息不同,网关对收到的信息要重新打包,以适应目的系统的需求。物联网接入点是指整合了无线网接入点和RFID接入点为一体的智能信息接收和发送设备,物联网接入点可以同时接收和发送WIFI信号和RFID信号。
智能灯20的数量可以是1个,也可以是多个,本发明不作限定。比如,在家中的每个房间里各安装一个智能灯。又如,只是在家中的客厅安装一个智能灯。
光亮度检测器是用于测量光亮度的测试仪器。光亮度检测器30可以是1个,也可以是多个,本发明不作限定。比如,在家中的每个房间里各安装一个光亮度检测器。又如,只是在家中的客厅安装一个光亮度检测器。其中,光亮度检测器是周期性(比如每1s、每2s、每5s、每6s或是其他值)将检测到的音量数据发送给物联网服务器的。
音量检测器40可以是1个,也可以是多个,本发明不作限定。比如,在家中的每个房间里各安装一个音量检测器。又如,只是在家中的客厅安装一个音量检测器。其中,音量检测器是周期性(比如每1s、每2s、每5s、每6s或是其他值)将检测到的音量数据发送给物联网服务器的。
终端设备50,又称之为用户设备(User Equipment,UE),是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。常见的终端例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,例如智能手表、智能手环、计步器等。
下面结合图1所示的物联网网络构架对本发明实施例提供的基于物联网的照明控制方法进行详细说明。
请参见图2,图2为本发明实施例提供的一种基于物联网的照明控制方法的流程示意图,包括以下步骤:
S201、当所述音量检测器连续检测到的多个第一音量数据均大于或等于第一音量时,所述物联网服务器获取所述光亮度检测器连续检测到的多个光亮度数据。
其中,由于用户的行动分贝大概在40db~70db左右,因此第一音量可以设为40db~70db这个范围中的其中一个值,假设第一音量为55db,当音量检测器连续检测到的多个第一音量数据均大于或等于55db时,代表用户当前处于行动状态。
S202、当所述多个光亮度数据小于预设光亮度时,所述物联网服务器根据所述多个光亮度数据确定所述智能灯的第一功率。
其中,夜晚光灯睡觉,或白天拉窗帘(遮光效果很好)睡觉时,屋内的光亮度通常是在0.03~0.3lux左右,因此预设光亮度可以设为0.03~0.3lux这个范围中的其中一个加上一个阈值,这个阈值例如可以等于0.05lux、0.1lux、0.2lux或是其他值。假设预设光亮度为0.35lux,当光亮度检测器连续检测到的多个光亮度数据均小于0.35lux时,代表用户当前处于的环境是灯光比较暗的环境。为了不刺激用户眼睛,此时确定得到的第一功率会比较小。
其中,物联网服务器中存储有智能灯的多个功率,不同的功率对应不同的光亮度范围。比如,光亮度在0.03~0.3lux,对应一个功率,光亮度在3~10lux,对应另一个功率。所述物联网服务器根据所述多个光亮度数据确定所述智能灯的第一功率的具体实施方式为:所述物联网服务器从所述多个光亮度数据选取其中一个光亮度数据,以及根据所述其中一个光亮度数据确定所述智能灯的第一功率。或者,所述物联网服务器确定所述多个光亮度数据的平均光亮度,以及根据所述平均光亮确定所述智能灯的第一功率。
S203、所述物联网服务器控制所述智能灯按照所述第一功率启动照明。
在一实施例中,若当前系统时间处于预设时间范围,以上步骤S203所述物联网服务器控制所述智能灯按照所述第一功率启动照明的具体实施方式为:所述物联网服务器控制所述智能灯在预设时长内按照所述第一功率启动照明,所述预设时长是基于所述预设时间范围确定的。
在一实施例中,在所述预设时长后,所述物联网服务器控制所述智能灯按照第二功率进行照明,所述第二功率大于所述第一功率。
其中,预设时间范围例如可以是7:30~8:00、8:00~9:00,8:30~9:00、8:30~9:30或是其他值。
其中,预设时长例如可以是1分钟、1分钟半、2分钟、3分钟或是其他值。所述预设时长是基于所述预设时间范围确定的。即不同的时间范围对应不同的时长。比如,7:30~8:00对应的预设时长为2分钟、8:00~9:00对应的预设时长3分钟。
举例来说,假设预设时间范围为7:30~8:00,预设时长为2分钟,可见该时间点是人们早上起床的时间,人们起床后会先去开灯,但是人们刚睡醒如果灯光太强会刺激人们眼睛。为了避免刺激人们眼睛,物联网可控制智能灯先按照低功率点亮2分钟,2分钟后人们眼睛也慢慢适应了有光的环境,这时候将智能灯的功率调高,以照亮屋子。
在一实施例中,以上步骤S203所述物联网服务器控制所述智能灯按照所述第一功率启动照明之后,所述方法还包括:
当所述音量检测器连续检测到的多个第二音量数据均小于所述第一音量时,所述物联网服务器控制所述智能灯关闭照明。
举例来说,假设第一音量为55db,当音量检测器连续检测到的多个第一音量数据均小于55db时,代表用户当前静止状态,比如用户躺着,此时物联网服务器可以控制智能灯关闭照明。
在一实施例中,所述智能家居系统还包括终端设备,所述方法还包括:所述物联网服务器向所述终端设备发送用于提示用户是否关闭所述智能灯的第一语音信息,以使得所述终端设备接收到所述语音信息时播放所述第一语音信息;所述物联网服务器接收所述终端设备所述第一语音信息而发送的第二语音
信息,所述第二语音信息是所述终端设备采集到的语音信息;所述物联网服务器解析所述第二语音信息,以得到N个关键词;当所述N个关键词中存在至少一个关键词与预存关键词匹配,则所述物联网服务器控制所述智能灯关闭照明。
其中,预设关键词例如可以是关闭、是、嗯、turn off、关等等。
举例来说,假设第一语音信息为“是否关闭智能灯”,第二语音信息为“关闭智能灯”,物联网服务器解析得到的关键词有:关闭、智能灯,可见,解析得到的关键词“关闭”与预存关键词“关闭”相匹配,此时物联网服务器控制智能灯关闭照明。
在一实施例中,所述物联网服务器向所述终端设备发送用于提示用户是否关闭所述智能灯的第一语音信息的具体实施方式有:在当前系统时间晚于预设时间时,所述物联网服务器向所述终端设备发送用于提示用户是否关闭所述智能灯的第一语音信息,所述预设时间是用户自定义的需要休息的时间点。可见,在需要休息时,物联网服务器可提示用户是否需要关灯,这样不仅既能体现了智能开关灯,还起到了提醒用户正常休息的作用。
在一实施例中,在所述音量检测器连续检测到的多个第三音量数据均大于或等于第二音量时,所述物联网服务器控制所述智能灯按照第三功率启动照明,所述第二音量大于或等于所述第一音量*预设阈值,所述第三功率大于所述第一功率。其中,预设阈值可以是2、2.5、2.3、3、4或是其他值。可见,用户不想直接通过开关开灯时,用户通过发出一个比较大的声音(比如大声咳嗽、双手拍一下)控制智能灯直接启动照明。
可见,本发明提供的方案通过在家中安置光亮度检测器和音量检测器。当音量检测器连续检测到多个第一音量数据均超过第一音量时,代表用户起身行动。此时获取光亮度检测器连续检测到的多个光亮度数据,当多个光亮度数据均为超过预设光亮度,代表当前环境亮度较暗。可见当前用户处于一个比较暗的环境,为了避免瞬间开灯刺激用户的眼睛,该种情况下,根据光亮度检测器检测到的多个光亮度数据调节智能灯点的功率,达到调节智能灯发出的光亮度,进而提高用户体验。
举例来说,请参见图3,图3为本发明实施例提供的一种示例示意图。如图3所示,光亮度检测器和音量检测器将自身检测到的光亮度数据和音量数据发送给物联网服务器,物联网服务器基于接收到的数据进行数据处理操作,然后物联网服务器输出控制指令给智能灯,智能灯基于控制指令进行相应的操作。比如,假设第一音量为55db,预设光亮度为0.35lux,0.1lux~0.35lux对应的功率为10w。其中,音量检测器连续向物联网服务器发送的10个音量数据有:51db、40db、42db、50db、52db、45db、48db、50db、43db、42db。光亮度检测器连续向物联网服务器发送的10个光亮度数据有:0.1lux、0.15lux、0.2lux、0.3lux、0.1lux、0.1lux、0.15lux、0.15lux、0.2lux、0.15lux。可见,10个音量数据均大于55db,10个光亮度数据均小于0.35lux,代表用户当前处于行动状态,且用户当前的环境比较黑。10个光亮度数据对应的功率为10w,那么物联网服务器向智能灯发送启动照明控制指令,该控制指令携带功率(10w),以使得智能灯按照10w进行照明。
本发明实施例还提供了另一更为详细的方法流程,如图4所示,包括:
S401、所述物联网服务器获取所述音量检测器连续检测到的多个第一音量数据。
S402、当所述多个第一音量数据均大于或等于第一音量时,所述物联网服务器获取所述光亮度检测器连续检测到的多个光亮度数据。
S403、当所述多个光亮度数据小于预设光亮度时,所述物联网服务器根据所述多个光亮度数据确定所述智能灯的第一功率。
S404、若当前系统时间处于预设时间范围,所述物联网服务器向所述智能灯发送照明指令,所述照明指令携带所述第一功率和预设时长。所述照明指令用于指示所述智能灯在预设时长内按照所述第一功率启动照明,以及在所述预设时长后,按照第二功率进行照明,所述第二功率大于所述第一功率,所述预设时长是基于所述预设时间范围确定的。
S405、所述智能灯接收所述照明指令,以及根据所述照明指令执行相应操
作。
S406、所述物联网服务器获取所述音量检测器连续检测到的多个第二音量数据。
S407、当所述多个第二音量数据均小于所述第一音量时,所述物联网服务器向智能灯发送关闭照明指令,所述关闭照明指令用于指示所述智能灯关闭照明。
S408、所述智能灯接收所述关闭照明指令,以及关闭照明。
需要说明的是,图4所示的方法的各个步骤的具体实现过程可参见上述方法所述的具体实现过程,在此不再叙述。
本发明实施例还提供了一种物联网服务器500,适用于智能家居系统,所述智能家居系统包括物联网服务器、智能灯、光亮度检测器和音量检测器,如图5所示,包括:
获取模块501,用于当所述音量检测器连续检测到的多个第一音量数据均大于或等于第一音量时,获取所述光亮度检测器连续检测到的多个光亮度数据。
确定模块502,用于当所述多个光亮度数据小于预设光亮度时,根据所述多个光亮度数据确定所述智能灯的第一功率。
第一控制模块503,用于控制所述智能灯按照所述第一功率启动照明。
可选地,所述第一控制模块503,还用于当所述音量检测器连续检测到的多个第二音量数据均小于所述第一音量时,控制所述智能灯关闭照明。
可选地,所述第一控制模块503具体用于控制所述智能灯在预设时长内按照所述第一功率启动照明,所述预设时长是基于所述预设时间范围确定的。
可选地,所述物联网服务器还包括:
第二控制模块504,用于在所述预设时长后,控制所述智能灯按照第二功率进行照明,所述第二功率大于所述第一功率。
可选地,所述物联网服务器还包括:
第三控制模块505,用于在所述音量检测器连续检测到的多个第三音量数
据均大于或等于第二音量时,控制所述智能灯按照第三功率启动照明,所述第二音量大于或等于所述第一音量*预设阈值,所述第三功率大于所述第一功率。
需要说明的是,上述各模块(获取模块501、确定模块502、第一控制模块503、第二控制模块504、第三控制模块505)用于执行上述方法的相关步骤。比如获取模块501用于执行以上步骤S201、确定模块502用于执行以上步骤S202、第一控制模块503用于执行以上步骤S202等等。
在本实施例中,物联网服务器500是以模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。此外,以上获取模块501、确定模块502、第一控制模块503、第二控制模块504、第三控制模块505可通过图6所示的物联网服务器的处理器601来实现。
如图6所示,物联网服务器600可以以图6中的结构来实现,该物联网服务器600包括至少一个处理器601,至少一个存储器602以及至少一个通信接口603。所述处理器601、所述存储器602和所述通信接口603通过所述通信总线连接并完成相互间的通信。
处理器601可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。
通信接口603,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。
存储器602可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、
蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。
其中,所述存储器602用于存储执行以上方案的应用程序代码,并由处理器601来控制执行。所述处理器601用于执行所述存储器602中存储的应用程序代码。
存储器602存储的代码可执行以上提供的终端设备执行的上述基于物联网的照明控制方法,比如当所述音量检测器连续检测到的多个第一音量数据均大于或等于第一音量时,所述物联网服务器获取所述光亮度检测器连续检测到的多个光亮度数据;当所述多个光亮度数据小于预设光亮度时,所述物联网服务器根据所述多个光亮度数据确定所述智能灯的第一功率;所述物联网服务器控制所述智能灯按照所述第一功率启动照明。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,所述计算机包括物联网服务器。
本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括物联网服务器。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、物联网服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、
磁盘或光盘等。
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本发明的限制。
Claims (10)
- 一种基于物联网的照明控制方法,其特征在于,适用于智能家居系统,所述智能家居系统包括物联网服务器、智能灯、光亮度检测器和音量检测器,包括:当所述音量检测器连续检测到的多个第一音量数据均大于或等于第一音量时,所述物联网服务器获取所述光亮度检测器连续检测到的多个光亮度数据;当所述多个光亮度数据小于预设光亮度时,所述物联网服务器根据所述多个光亮度数据确定所述智能灯的第一功率;所述物联网服务器控制所述智能灯按照所述第一功率启动照明。
- 根据权利要求1所述的方法,其特征在于,所述物联网服务器控制所述智能灯按照所述第一功率启动照明之后,所述方法还包括:当所述音量检测器连续检测到的多个第二音量数据均小于所述第一音量时,所述物联网服务器控制所述智能灯关闭照明。
- 根据权利要求1或2所述的方法,其特征在于,若当前系统时间处于预设时间范围,所述物联网服务器控制所述智能灯按照所述第一功率启动照明,包括:所述物联网服务器控制所述智能灯在预设时长内按照所述第一功率启动照明,所述预设时长是基于所述预设时间范围确定的。
- 根据权利要求3所述的方法,其特征在于,所述方法还包括:在所述预设时长后,所述物联网服务器控制所述智能灯按照第二功率进行照明,所述第二功率大于所述第一功率。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:在所述音量检测器连续检测到的多个第三音量数据均大于或等于第二音量时,所述物联网服务器控制所述智能灯按照第三功率启动照明,所述第二音量大于或等于所述第一音量*预设阈值,所述第三功率大于所述第一功率。
- 一种物联网服务器,其特征在于,适用于智能家居系统,所述智能家居系统包括物联网服务器、智能灯、光亮度检测器和音量检测器,包括:获取模块,用于当所述音量检测器连续检测到的多个第一音量数据均大于或等于第一音量时,获取所述光亮度检测器连续检测到的多个光亮度数据;确定模块,用于当所述多个光亮度数据小于预设光亮度时,根据所述多个光亮度数据确定所述智能灯的第一功率;第一控制模块,用于控制所述智能灯按照所述第一功率启动照明。
- 根据权利要求6所述的物联网服务器,其特征在于,所述第一控制模块,还用于当所述音量检测器连续检测到的多个第二音量数据均小于所述第一音量时,控制所述智能灯关闭照明。
- 根据权利要求6或7所述的物联网服务器,其特征在于,所述第一控制模块具体用于控制所述智能灯在预设时长内按照所述第一功率启动照明,所述预设时长是基于所述预设时间范围确定的。
- 根据权利要求8所述的物联网服务器,其特征在于,所述物联网服务器还包括:第二控制模块,用于在所述预设时长后,控制所述智能灯按照第二功率进行照明,所述第二功率大于所述第一功率。
- 根据权利要求1-4任一项所述的物联网服务器,其特征在于,所述物联网服务器还包括:第三控制模块,用于在所述音量检测器连续检测到的多个第三音量数据均 大于或等于第二音量时,控制所述智能灯按照第三功率启动照明,所述第二音量大于或等于所述第一音量*预设阈值,所述第三功率大于所述第一功率。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710574717.0 | 2017-07-13 | ||
| CN201710574717.0A CN107333368A (zh) | 2017-07-13 | 2017-07-13 | 一种基于物联网的控制方法及物联网服务器 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019010795A1 true WO2019010795A1 (zh) | 2019-01-17 |
Family
ID=60226753
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/100765 Ceased WO2019010795A1 (zh) | 2017-07-13 | 2017-09-06 | 一种基于物联网的控制方法及物联网服务器 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107333368A (zh) |
| WO (1) | WO2019010795A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115638877A (zh) * | 2022-09-24 | 2023-01-24 | 深圳科创智能工程有限公司 | 一种建筑智能化工程用检测方法、装置及电子设备 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108882446A (zh) * | 2018-06-19 | 2018-11-23 | 中南林业科技大学 | 一种基于物联网的照明系统 |
| CN109979449A (zh) * | 2019-02-15 | 2019-07-05 | 江门市汉的电气科技有限公司 | 一种智能灯具的语音控制方法、装置、设备和存储介质 |
| CN110703615A (zh) * | 2019-09-16 | 2020-01-17 | 北京方研矩行科技有限公司 | 基于物联网的数据驱动场景的方法和装置 |
| CN115052404B (zh) * | 2022-05-27 | 2025-12-02 | 上海钧正网络科技有限公司 | 一种基于物联网的灯光控制方法、装置及存储介质 |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103152917A (zh) * | 2013-02-01 | 2013-06-12 | 健雄职业技术学院 | 基于物联网的场馆节能控制系统及其控制方法 |
| CN104254164A (zh) * | 2013-06-28 | 2014-12-31 | 青岛联合创新技术服务平台有限公司 | 家居照明控制系统 |
| CN104869696A (zh) * | 2015-03-31 | 2015-08-26 | 繁昌县博通电子商务有限公司 | 一种智能节能型家用照明灯 |
| CN105451421A (zh) * | 2015-12-25 | 2016-03-30 | 石永丽 | 基于物联网的智能楼宇照明系统 |
| CN106211521A (zh) * | 2016-08-31 | 2016-12-07 | 广州星辰热能股份有限公司 | 一种智能节能发光装置及其控制方法 |
| CN106297144A (zh) * | 2016-08-28 | 2017-01-04 | 姜俊 | 一种智能地下停车场安防系统 |
| CN106413224A (zh) * | 2016-09-22 | 2017-02-15 | 惠州Tcl移动通信有限公司 | 一种室内照明智能控制方法及系统 |
| CN206024204U (zh) * | 2016-08-31 | 2017-03-15 | 广州星辰热能股份有限公司 | 一种智能节能发光装置 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202327750U (zh) * | 2011-11-25 | 2012-07-11 | 苏利雄 | 一种led照明示警灯 |
| CN103763828B (zh) * | 2014-01-16 | 2016-08-17 | 步步高教育电子有限公司 | 一种设置有闹钟的护眼台灯及其控制方法 |
| CN105392257B (zh) * | 2015-12-04 | 2018-07-06 | 小米科技有限责任公司 | 控制智能灯的方法及装置 |
| CN205847675U (zh) * | 2016-07-21 | 2016-12-28 | 天津市欣然市政工程有限公司 | 一种智能楼宇照明系统 |
| CN106912150B (zh) * | 2017-03-17 | 2019-06-21 | 青岛亿联客信息技术有限公司 | 自动依据用户的使用习惯照明的方法、系统 |
| CN106895358B (zh) * | 2017-04-12 | 2023-04-18 | 安徽朗越能源股份有限公司 | 一种锂电太阳能物联网路灯系统 |
-
2017
- 2017-07-13 CN CN201710574717.0A patent/CN107333368A/zh active Pending
- 2017-09-06 WO PCT/CN2017/100765 patent/WO2019010795A1/zh not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103152917A (zh) * | 2013-02-01 | 2013-06-12 | 健雄职业技术学院 | 基于物联网的场馆节能控制系统及其控制方法 |
| CN104254164A (zh) * | 2013-06-28 | 2014-12-31 | 青岛联合创新技术服务平台有限公司 | 家居照明控制系统 |
| CN104869696A (zh) * | 2015-03-31 | 2015-08-26 | 繁昌县博通电子商务有限公司 | 一种智能节能型家用照明灯 |
| CN105451421A (zh) * | 2015-12-25 | 2016-03-30 | 石永丽 | 基于物联网的智能楼宇照明系统 |
| CN106297144A (zh) * | 2016-08-28 | 2017-01-04 | 姜俊 | 一种智能地下停车场安防系统 |
| CN106211521A (zh) * | 2016-08-31 | 2016-12-07 | 广州星辰热能股份有限公司 | 一种智能节能发光装置及其控制方法 |
| CN206024204U (zh) * | 2016-08-31 | 2017-03-15 | 广州星辰热能股份有限公司 | 一种智能节能发光装置 |
| CN106413224A (zh) * | 2016-09-22 | 2017-02-15 | 惠州Tcl移动通信有限公司 | 一种室内照明智能控制方法及系统 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115638877A (zh) * | 2022-09-24 | 2023-01-24 | 深圳科创智能工程有限公司 | 一种建筑智能化工程用检测方法、装置及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107333368A (zh) | 2017-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104582167B (zh) | 照明设备、智能终端、照明设备组网系统及方法 | |
| WO2022042312A1 (zh) | 一种照明设备的控制方法及可穿戴设备 | |
| US10143066B2 (en) | Sensor with wireless device for controlling a light source | |
| US12219478B1 (en) | Low-power long range wireless network communication protocol with rate switching and scheduled messaging | |
| CN106061064A (zh) | 用于智慧城市的智能灯光控制系统 | |
| US9059669B2 (en) | Sound control for network-connected devices | |
| CN105050246A (zh) | 一种移动终端调节灯光亮度的方法和移动终端 | |
| US10966023B2 (en) | Lighting system with remote microphone | |
| US20210084406A1 (en) | Portable smart speaker power control | |
| KR102269387B1 (ko) | 상황별 정보 공유 지원 방법 및 이를 지원하는 전자 장치 | |
| WO2016091096A1 (zh) | 光感应音箱、光感应音箱控制方法及装置 | |
| CN107765592A (zh) | 设备控制方法及其装置以及终端设备 | |
| CN107333368A (zh) | 一种基于物联网的控制方法及物联网服务器 | |
| US11595889B2 (en) | Determining a duty schedule for a group of lighting devices providing a similar lighting service | |
| CN115220356B (zh) | 智能设备控制方法、装置、存储介质及设备 | |
| KR102822411B1 (ko) | 스캔윈도우를 유동적으로 설정하여 전력 소모를 최소화하는 노드의 제어 방법 | |
| CN106922058A (zh) | 灯具的控制方法、装置和系统 | |
| CN106710197B (zh) | 遥控方法及装置 | |
| CN105276752A (zh) | 基于音频信号的空调器运行参数调节方法和系统 | |
| CN104715769A (zh) | 一种通过光感应控制无线音乐的方法及系统 | |
| US11856675B2 (en) | Providing a notification for a lighting device without user-specified power-switch behavior | |
| JP7036985B2 (ja) | 従前の電力サイクル持続時間に応じた光源の作動 | |
| CN107211363B (zh) | 一种蓝牙开关控制方法及智能手环、移动终端 | |
| CN118042091A (zh) | 投影系统及其控制方法 | |
| CN205447375U (zh) | 照明装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17917794 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27/05/2020) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17917794 Country of ref document: EP Kind code of ref document: A1 |