CN113365383B - LED linkage control method and system based on Internet of things and readable storage medium - Google Patents

LED linkage control method and system based on Internet of things and readable storage medium Download PDF

Info

Publication number
CN113365383B
CN113365383B CN202110905439.9A CN202110905439A CN113365383B CN 113365383 B CN113365383 B CN 113365383B CN 202110905439 A CN202110905439 A CN 202110905439A CN 113365383 B CN113365383 B CN 113365383B
Authority
CN
China
Prior art keywords
led
internet
room
information
things
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110905439.9A
Other languages
Chinese (zh)
Other versions
CN113365383A (en
Inventor
程家春
尹子军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Telangda Illumination Co ltd
Original Assignee
Shenzhen Telangda Illumination Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Telangda Illumination Co ltd filed Critical Shenzhen Telangda Illumination Co ltd
Priority to CN202110905439.9A priority Critical patent/CN113365383B/en
Publication of CN113365383A publication Critical patent/CN113365383A/en
Application granted granted Critical
Publication of CN113365383B publication Critical patent/CN113365383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention provides an LED linkage control method, system and readable storage medium based on the Internet of things, wherein the method comprises the following steps: enabling the LED group to display light according to control information provided by the first Internet of things device; receiving control information from second networking equipment, and extracting identity information of the second networking equipment; inquiring the identity level corresponding to the second networking equipment in a preset control authority level table based on the identity information of the second networking equipment; comparing the identity level of the second internet of things device with the identity level of the first internet of things device; and if the identity level of the second networking equipment is higher than that of the first networking equipment, enabling the LED group to display light according to the control information of the second networking equipment. The invention realizes the linkage control of the Internet of things equipment on the LED, meets the diversified light display requirements of users on the LED, and enriches the application scenes of the LED in the world of everything interconnection.

Description

LED linkage control method and system based on Internet of things and readable storage medium
Technical Field
The invention relates to the technical field of light control, in particular to an LED linkage control method and system based on the Internet of things and a readable storage medium.
Background
The main light sources of the traditional lamp are a metal halide lamp and a fluorescent lamp, and the light sources are large in size, so that the traditional lamp is large in size and poor in heat dissipation performance. With the development of semiconductor technology and the successful development of high-power LEDs in recent years, LEDs are widely applied to signal display, backlight illumination, landscape illumination and the like as semiconductor light sources. With the continuous improvement of the lighting effect of high-power white light LEDs and the development of high-power LED packaging technology, semiconductor light sources are gradually applied to the field of lighting. Semiconductor lighting has the characteristics of energy conservation, environmental protection, long service life of light sources and the like, and is called as a third generation lighting source following lighting lamps such as incandescent lamps, fluorescent lamps and the like.
Today, many hotels or apartments have many LEDs on the outside wall and present a dazzling light show through the LEDs to attract customers. However, the traditional LED control mode is single, and usually a control program is preset manually, and a plurality of LEDs are executed according to the preset control program, so that linkage with the internet of things device cannot be realized.
Disclosure of Invention
In order to solve at least one technical problem, the invention provides an LED linkage control method, system and readable storage medium based on the Internet of things, which can realize linkage control on LEDs through equipment of the Internet of things.
The invention provides an LED linkage control method based on the Internet of things, which comprises the following steps:
enabling the LED group to display light according to control information provided by the first Internet of things device;
receiving control information from second networking equipment, and extracting identity information of the second networking equipment;
inquiring the identity level corresponding to the second networking equipment in a preset control authority level table based on the identity information of the second networking equipment;
comparing the identity level of the second internet of things device with the identity level of the first internet of things device;
and if the identity level of the second networking equipment is higher than that of the first networking equipment, enabling the LED group to display light according to the control information of the second networking equipment.
In this scheme, receiving control information from the second networked device specifically includes:
presetting the second networking equipment as building indoor alarm equipment, and sensing potential safety hazard data in a corresponding room by each building indoor alarm equipment; when a certain building indoor alarm device senses that potential safety hazard data of a corresponding room is higher than a preset threshold value, recording a current time node;
judging whether the current time node falls into a preset time period or not, and if so, sensing whether a person is in a room or not through intelligent door lock equipment of the corresponding room;
if the LED group is not occupied, triggering the building indoor alarm equipment to generate first alarm information and carrying out alarm in the building, and if the LED group is not occupied, triggering the building indoor alarm equipment to generate second alarm information and taking the second alarm information as control information of the LED group.
In this scheme, make the LED group according to the control information of second thing networking devices carries out the light show, specifically include:
presetting that the LED group comprises a plurality of LEDs, wherein the building comprises a plurality of rooms, at least one LED is correspondingly arranged on the outer wall of each room, and an association table between the room number and the identification information of at least one LED is established;
extracting a corresponding room number from the control information of the second networked device;
searching in the association table according to the extracted room number, and finding out LED identification information associated with the room number;
and determining a target LED according to the LED identification information, and displaying light by the target LED according to the control information of the second networking equipment.
In the scheme, each building indoor alarm device respectively senses potential safety hazard data in a corresponding room; when sensing that the potential safety hazard data of the corresponding room is higher than a preset threshold value by certain building indoor alarm equipment, recording a current time node, specifically comprising:
when a customer enters a certain room for the first time, triggering building indoor alarm equipment corresponding to the room to acquire voltage data of indoor lines and carrying out abnormity detection;
presetting the initial length and the expanding step length of a detection time window, and aligning the left edge of the initial detection time window with the moment when the customer enters the room for the first time;
performing maximum overlapping discrete wavelet transform processing on voltage data in a detection time window to obtain a first-level MODWT detail coefficient curve, and acquiring a first-level MODWT detail coefficient value T of each sampling point in the detection time window based on the first-level MODWT detail coefficient curvekIf n sampling points are preset in the detection time window, then
Figure 100002_DEST_PATH_IMAGE001
Then T iskA first order MODWT detail coefficient value representing a kth sample point;
respectively calculating the absolute value of the difference value of the first-level MODWT detail coefficients between two adjacent sampling points in the detection time window, wherein the calculation formula is
Figure 193414DEST_PATH_IMAGE002
Wherein
Figure 100002_DEST_PATH_IMAGE003
Represents the absolute value of the difference between the values of the first-order MODWT detail coefficient of the (k + 1) th sampling point and the kth sampling point, Tk+1A first level MODWT detail coefficient value representing the k +1 th sample point;
finding out the absolute value of the maximum one-level MODWT detail coefficient difference value by comparing the absolute values of the multiple one-level MODWT detail coefficient difference values
Figure 303452DEST_PATH_IMAGE004
Figure 100002_DEST_PATH_IMAGE005
Figure 847040DEST_PATH_IMAGE006
Representing the g-th sample point within the detection time window,
Figure 100002_DEST_PATH_IMAGE007
the one-level MODWT detail coefficient values representing the g +1 th sample point,
Figure 991713DEST_PATH_IMAGE008
a first order MODWT detail coefficient value representing the g-th sample point;
absolute value of detail coefficient difference in maximum level MODWT
Figure 100002_DEST_PATH_IMAGE009
Respectively selecting the absolute values of the detail coefficient difference values of other first-stage MODWT of preset number at periphery for reference, and calculating the absolute value of the detail coefficient difference value of the largest first-stage MODWT
Figure 42846DEST_PATH_IMAGE009
The average value of the absolute values of the difference values of the detail coefficients of other levels of MODWT is taken as a preset threshold value;
comparing absolute values of difference values of first-stage MODWT detail coefficients between two adjacent sampling points in the detection time window with the preset threshold value one by one, and judging whether the absolute values exceed the preset threshold value;
if the difference value exceeds the preset expansion step length, recording the current time node, if the difference value does not exceed the preset expansion step length, expanding the detection time window, and recalculating the absolute value of the maximum one-level MODWT detail coefficient difference value and the corresponding average value based on the expanded detection time window.
In this scheme, after the LED group is subjected to light display according to the control information provided by the first internet of things device, the method further includes:
in historical time, acquiring light-off time of each room in the building, acquiring current season information and customer information of the corresponding room, and recording the current season information and the customer information in a historical database;
constructing a work and rest time prediction model, training the work and rest time prediction model by adopting data in a historical database, and optimizing model parameters;
at the current time, collecting the customer information of each room in the building and the current season information, inputting the current season information and the customer information of each room into the work and rest time prediction model, and predicting the light-off time of each room
Figure 499235DEST_PATH_IMAGE010
Wherein m is the total number of rooms that the building has customers to live in at the current time,
presetting the influence weight of the LED group on each room as
Figure 100002_DEST_PATH_IMAGE011
Then the optimal time R for the LED group to turn off is calculated, and
Figure 425341DEST_PATH_IMAGE012
Figure 893362DEST_PATH_IMAGE014
represents room identification information, and
Figure DEST_PATH_IMAGE015
in this scheme, make the control information that LED group provided according to first thing networking device carry out the light show, specifically include:
acquiring meeting activity information within a preset distance around the building by the first Internet of things equipment through a big data platform;
identifying the types of the crowds participating in the meeting activities according to the meeting activity information;
formulating control information adapted to the crowd category by the first internet of things device;
and displaying the light of the LED group according to the control information matched with the crowd category.
The invention also provides an internet of things-based LED linkage control system, which comprises a memory and a processor, wherein the memory comprises an internet of things-based LED linkage control method program, and the internet of things-based LED linkage control method program realizes the following steps when executed by the processor:
enabling the LED group to display light according to control information provided by the first Internet of things device;
receiving control information from second networking equipment, and extracting identity information of the second networking equipment;
inquiring the identity level corresponding to the second networking equipment in a preset control authority level table based on the identity information of the second networking equipment;
comparing the identity level of the second internet of things device with the identity level of the first internet of things device;
and if the identity level of the second networking equipment is higher than that of the first networking equipment, enabling the LED group to display light according to the control information of the second networking equipment.
In this scheme, receiving control information from the second networked device specifically includes:
presetting the second networking equipment as building indoor alarm equipment, and sensing potential safety hazard data in a corresponding room by each building indoor alarm equipment; when a certain building indoor alarm device senses that potential safety hazard data of a corresponding room is higher than a preset threshold value, recording a current time node;
judging whether the current time node falls into a preset time period or not, and if so, sensing whether a person is in a room or not through intelligent door lock equipment of the corresponding room;
if the LED group is not occupied, triggering the building indoor alarm equipment to generate first alarm information and carrying out alarm in the building, and if the LED group is not occupied, triggering the building indoor alarm equipment to generate second alarm information and taking the second alarm information as control information of the LED group.
In this scheme, make the LED group according to the control information of second thing networking devices carries out the light show, specifically include:
presetting that the LED group comprises a plurality of LEDs, wherein the building comprises a plurality of rooms, at least one LED is correspondingly arranged on the outer wall of each room, and an association table between the room number and the identification information of at least one LED is established;
extracting a corresponding room number from the control information of the second networked device;
searching in the association table according to the extracted room number, and finding out LED identification information associated with the room number;
and determining a target LED according to the LED identification information, and displaying light by the target LED according to the control information of the second networking equipment.
The third aspect of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes an internet of things-based LED linkage control method program, and when the internet of things-based LED linkage control method program is executed by a processor, the steps of the internet of things-based LED linkage control method are implemented.
Compared with the prior art, the LED linkage control method, the LED linkage control system and the computer readable storage medium based on the Internet of things can realize linkage control on the LED group through the Internet of things equipment, meet the diversified light display requirements of users on LEDs, and enrich the application scenes of the LEDs in the current times of everything interconnection.
Drawings
FIG. 1 is a flow chart of an LED linkage control method based on the Internet of things;
fig. 2 shows a block diagram of an internet of things-based LED linkage control system according to the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 shows a flow chart of an adaptive control method of an LED according to the present invention.
As shown in fig. 1, a first aspect of the present invention provides an internet of things-based LED linkage control method, where the method includes:
s102, enabling the LED group to display light according to control information provided by the first Internet of things device;
s104, receiving control information from second networking equipment, and extracting identity information of the second networking equipment;
s106, inquiring the identity level corresponding to the second networking equipment in a preset control authority level table based on the identity information of the second networking equipment;
s108, comparing the identity level of the second Internet of things device with the identity level of the first Internet of things device;
s110, if the identity level of the second networking equipment is higher than that of the first networking equipment, enabling the LED group to display light according to the control information of the second networking equipment.
It can be understood that if the identity level of the second internet-of-things device is lower than or equal to the identity level of the first internet-of-things device, the LED group is still used for displaying light according to the control program provided by the first internet-of-things device. The control information may be a control program of the LED group, or may be display logic information of the LED group. But is not limited thereto. In general, the LED groups may be customized for display according to control information.
It is understood that the LED group is composed of a plurality of LEDs according to a predetermined arrangement rule. For example, a plurality of LEDs may be arranged on an exterior wall of a hotel or apartment, and at least one LED may be assigned to each room.
It can be understood that the first internet of things device can be a controller of the LED group, a corresponding control program or control model is preset in the controller, and light display is performed on the LED group according to the preset control program or control model.
According to an embodiment of the present invention, receiving control information from a second networked device specifically includes:
presetting the second networking equipment as building indoor alarm equipment, and sensing potential safety hazard data in a corresponding room by each building indoor alarm equipment; when a certain building indoor alarm device senses that potential safety hazard data of a corresponding room is higher than a preset threshold value, recording a current time node;
judging whether the current time node falls into a preset time period or not, and if so, sensing whether a person is in a room or not through intelligent door lock equipment of the corresponding room;
if the LED group is not occupied, triggering the building indoor alarm equipment to generate first alarm information and carrying out alarm in the building, and if the LED group is not occupied, triggering the building indoor alarm equipment to generate second alarm information and taking the second alarm information as control information of the LED group.
It should be noted that the preset time period is a time period during which the LED group can perform light display, and the time period is generally night, for example, 6 to 12 pm. If current time node is daytime, then external natural light or sunlight cover very easily the light that LED group sent, and then can't make LED group carry out effectual light show, consequently whether need judge current time node and fall into the preset time quantum, if yes, then carry out light alarm under the indoor unmanned circumstances of further sensing to outdoor passerby in time discovers the potential safety hazard in this room, and then makes effectual prevention and treatment work, if inform building managers, or report to the police etc.. It will be appreciated that if someone is in the room, the security risk is considered to be in charge, but for safety reasons, an alarm may still be activated in the building. And if the current time node does not fall into the preset time period, directly triggering the building indoor alarm equipment to generate first alarm information and carrying out in-building alarm. Preferably, the first alarm information can be used for combined alarm in a sound and light combined mode. Specifically, the alarm gives out alarm sound and warning light.
It should be noted that the intelligent door lock device includes an outer door handle and an inner door handle, and the sensor of the inner and outer door handles can acquire the holding information of the user, and determine whether the user is going out or entering through the holding information of the inner and outer door handles, so as to estimate whether someone is in the room. Specifically, if the sensor of the outer door handle senses the holding information of the user, and then the sensor of the inner door handle senses the holding information of the user, it can be determined that the user is a door opening entrance motion, and if the current node is located after the entrance motion time node, it can be inferred that someone is in the room. Otherwise, it can be concluded that there is no person in the room.
According to the embodiment of the invention, the light display of the LED group according to the control information of the second networking equipment specifically comprises the following steps:
presetting that the LED group comprises a plurality of LEDs, wherein the building comprises a plurality of rooms, at least one LED is correspondingly arranged on the outer wall of each room, and an association table between the room number and the identification information of at least one LED is established;
extracting a corresponding room number from the control information of the second networked device;
searching in the association table according to the extracted room number, and finding out LED identification information associated with the room number;
and determining a target LED according to the LED identification information, and displaying light by the target LED according to the control information of the second networking equipment.
It should be noted that, for many hotels or apartments, a plurality of building indoor alarm devices are installed indoors, and the building indoor alarm devices may be smoke alarm devices, circuit fault alarm devices, water pipe alarm devices, and the like, so as to facilitate sensing of fault conditions in each room and troubleshooting of potential safety hazards.
It will be appreciated that after a customer enters a hotel or apartment, bad habits are often brought into the hotel or apartment, for example throwing a cigarette butt around, or switching in a high power appliance at an indoor outlet. When a customer goes out, the cigarette ends which are not extinguished easily cause fire hidden troubles. Meanwhile, high-power electrical appliances are easy to cause short circuit or spontaneous combustion of indoor lines, and further cause great potential safety hazards to hotels or apartments. The invention displays alarm information by light through the LEDs arranged on the outer wall, thereby facilitating the hotel management personnel to timely investigate the potential safety hazard of each room from the outside and avoiding personal and property loss.
It should be noted that, when the specific light is displayed, the external LEDs in the room with the potential safety hazard may be turned on, or even the external LEDs in the room may form an alarm sign, so that the manager can accurately lock the position of the room with the potential safety hazard from the indoor space, and perform the hidden danger troubleshooting measures quickly.
According to the embodiment of the invention, each building indoor alarm device respectively senses potential safety hazard data in a corresponding room; when sensing that the potential safety hazard data of the corresponding room is higher than a preset threshold value by certain building indoor alarm equipment, recording a current time node, specifically comprising:
when a customer enters a certain room for the first time, triggering building indoor alarm equipment corresponding to the room to acquire voltage data of indoor lines and carrying out abnormity detection;
presetting the initial length and the expanding step length of a detection time window, and aligning the left edge of the initial detection time window with the moment when the customer enters the room for the first time;
performing maximum overlapping discrete wavelet transform processing on voltage data in a detection time window to obtain a first-level MODWT detail coefficient curve, and acquiring a first-level MODWT detail coefficient value T of each sampling point in the detection time window based on the first-level MODWT detail coefficient curvekIf n sampling points are preset in the detection time window, then
Figure 849817DEST_PATH_IMAGE001
Then T iskA first order MODWT detail coefficient value representing a kth sample point;
respectively calculating the absolute value of the difference value of the first-level MODWT detail coefficients between two adjacent sampling points in the detection time window, wherein the calculation formula is
Figure 793502DEST_PATH_IMAGE002
Wherein
Figure 228026DEST_PATH_IMAGE003
Represents the absolute value of the difference between the values of the first-order MODWT detail coefficient of the (k + 1) th sampling point and the kth sampling point, Tk+1A first level MODWT detail coefficient value representing the k +1 th sample point;
finding out the maximum one-level MODWT detail coefficient difference value by comparing the absolute values of the multiple one-level MODWT detail coefficient difference valuesAbsolute value of (2)
Figure 940767DEST_PATH_IMAGE004
Figure 38429DEST_PATH_IMAGE005
Figure 469410DEST_PATH_IMAGE006
Representing the g-th sample point within the detection time window,
Figure 442046DEST_PATH_IMAGE007
the one-level MODWT detail coefficient values representing the g +1 th sample point,
Figure 274872DEST_PATH_IMAGE008
a first order MODWT detail coefficient value representing the g-th sample point;
absolute value of detail coefficient difference in maximum level MODWT
Figure 41971DEST_PATH_IMAGE009
Respectively selecting the absolute values of the detail coefficient difference values of other first-stage MODWT of preset number at periphery for reference, and calculating the absolute value of the detail coefficient difference value of the largest first-stage MODWT
Figure 632353DEST_PATH_IMAGE009
The average value of the absolute values of the difference values of the detail coefficients of other levels of MODWT is taken as a preset threshold value;
comparing absolute values of difference values of first-stage MODWT detail coefficients between two adjacent sampling points in the detection time window with the preset threshold value one by one, and judging whether the absolute values exceed the preset threshold value;
if the difference value exceeds the preset expansion step length, recording the current time node, if the difference value does not exceed the preset expansion step length, expanding the detection time window, and recalculating the absolute value of the maximum one-level MODWT detail coefficient difference value and the corresponding average value based on the expanded detection time window.
It is understood that MODWT is an abbreviation of Maximal overlay descriptor Wavelet Transform in English, i.e. the MLSS.
It should be noted that the wiring of each room can form a complete microgrid system. When a customer enters a certain room, the current time is recorded, and the line voltage data detection is triggered. Because customers may carry high-power equipment, if the customers plug the high-power equipment into an indoor socket, the risk of line blowing is easily caused, and once the line is blown, the indoor micro-grid system fails. When the circuit fault is monitored, the LED group can be prompted to carry out light alarm display, so that managers can conveniently investigate the potential safety hazard of each room from the outside.
It should be noted that the initial length and the expansion step size of the detection time window are preset, and the left end of the detection time window in the initial state is aligned with the moment when the customer enters the room for the first time. In the subsequent detection time window expansion process, the left end is unchanged, and the right end is increased according to the expansion step length. The adoption of an expanded detection time window is a simulation of real-time detection of indoor line voltage data. The initial running time of various indoor electric appliances (such as televisions, refrigerators, large-scale power equipment and the like) is equivalent to the initial length of a detection time window, when no fault is found in the detection time window, the step length is continuously expanded to increase the length of the detection time window, and detection is carried out until the voltage fault is detected in the detection time window.
According to the embodiment of the invention, after the LED group is subjected to light display according to the control information provided by the first internet of things device, the method further includes:
in historical time, acquiring light-off time of each room in the building, acquiring current season information and customer information of the corresponding room, and recording the current season information and the customer information in a historical database;
constructing a work and rest time prediction model, training the work and rest time prediction model by adopting data in a historical database, and optimizing model parameters;
at the current time, collecting the customer information of each room in the building and the current season information, inputting the current season information and the customer information of each room into the work and rest time prediction model, and predicting the light-off time of each room
Figure 533313DEST_PATH_IMAGE010
Wherein m is the total number of rooms that the building has customers to live in at the current time,
presetting the influence weight of the LED group on each room as
Figure 63389DEST_PATH_IMAGE011
Then the optimal time R for the LED group to turn off is calculated, and
Figure 391602DEST_PATH_IMAGE012
Figure 672542DEST_PATH_IMAGE014
represents room identification information, and
Figure 377192DEST_PATH_IMAGE015
it should be noted that, usually, the LED group performs light display according to the control information provided by the first internet of things device (i.e., the controller), however, the sleep quality of the customers in the building may be affected by the exciting light (e.g., red light, blue light, etc.) while performing the light display. The invention can predict the light-off time of each room, and set the turn-off time of the LED group based on the light-off time of each room, so as to prevent the LED group from influencing the normal sleep of customers.
It is understood that the turn-off time of the LED group can only be derived from the predicted light-off time of each room, and usually the turn-off time of the LED group is between the earliest and latest light-off time.
Based on the design of the building structure or the layout design of the LED groups, the LED groups have different degrees of influence on the rooms, for example, the LED groups have a smaller degree of influence on some rooms and a larger degree of influence on other rooms. According to the invention, the influence weight is added to correct the closing time of the LED group, and the LED group is closed in the corrected closing time (namely the optimal time R), so that the comprehensive influence degree of the LED group on all customers can be reduced to the minimum.
According to the embodiment of the invention, the light display of the LED group is carried out according to the control information provided by the first Internet of things device, and the method specifically comprises the following steps:
acquiring meeting activity information within a preset distance around the building by the first Internet of things equipment through a big data platform;
identifying the types of the crowds participating in the meeting activities according to the meeting activity information;
formulating control information adapted to the crowd category by the first internet of things device;
and displaying the light of the LED group according to the control information matched with the crowd category.
It should be noted that on the day a large-scale meeting event (such as a concert, a large joint examination, etc.) is held, most of the lodging people in the hotel or apartment may be referred to the large-scale meeting event. According to the invention, the surrounding meeting activity information is obtained through the big data platform, and the crowd category suitable for participating in the meeting activity is identified according to the meeting activity information. For example, in a singer concert with a dual-image pie, the crowd category suitable for meeting activities is mostly the crowd in the age range of 18 to 25 years, so that the pattern suitable for the crowd in the age range can be displayed through the LED group.
According to the specific embodiment of the invention, the light display of the LED group according to the control information provided by the first internet of things device specifically includes:
presetting the LED group to display a group of continuous patterns according to a preset time period, wherein the LED group can display light to a preset road section of a certain road;
receiving, by the first internet of things device, speed information of a vehicle monitored by a speed monitor on the road in real time;
calculating the vehicle running time according to the distance of the preset road section and the vehicle speed information;
and updating and adjusting a preset time period according to the vehicle running time, and enabling the LED group to display light according to the updated and adjusted preset time period.
It will be appreciated that, typically, a hotel or apartment is located beside a road, and that a group of LEDs mounted on the exterior walls of the hotel or apartment can show a limited number of consecutive patterns to a road section beyond which it is impossible to show the light to passing vehicles. Therefore, in order to optimize the light display effect of each passing vehicle, the invention can calculate and acquire the time of the vehicle passing through the road section, and adjust the preset time period according to the time, so that personnel on the vehicle can watch complete continuous patterns, and further better propaganda and display effects are achieved.
According to a specific embodiment of the present invention, before the LED group performs light display according to the control information provided by the first internet of things device, the method further includes:
and receiving a starting instruction of the LED group.
According to an embodiment of the present invention, receiving a turn-on command for the LED group specifically includes:
and generating a turn-on instruction of the LED group based on a pre-planned daily turn-on time.
It is understood that 365 days per year are periodic, the turn-on time of the LED group can be planned in advance every day, for example, 7 months and 25 days, and the planned turn-on time is 7 o' clock in the evening.
According to an embodiment of the present invention, before generating the turn-on command of the LED group based on a pre-planned daily turn-on time, the method further comprises:
sensing the current brightness through a photosensitive device;
and comparing the sensed brightness with a preset brightness threshold, and if the sensed brightness is lower than the preset brightness threshold, generating a starting instruction of the LED group.
It is understood that the turn-on command for the LED group may be generated based on a pre-programmed daily turn-on time, and for an emergency condition, such as rainy weather, where the weather is early, the current brightness may be sensed based on the light sensing device, and the turn-on command for the LED group may be generated if the sensed brightness is lower than the preset threshold. The invention can adjust the pre-planned opening time in advance, is convenient for dealing with emergency situations, and meets the light display requirements of hotels or apartments.
According to the specific embodiment of the invention, the light display of the LED group according to the control information provided by the first internet of things device specifically includes:
acquiring local weather information;
adjusting the light wave band of the LED group according to local weather information, if the weather information is sunny, directly outputting illuminating light rays of the LED group based on the control information, and if the weather information is foggy, enabling the LED group to increase the emergent intensity of infrared light rays on the basis of outputting the illuminating light rays corresponding to the control information.
It can be understood that the light wave band of the LED group is adjusted based on weather information, for example, the emergent intensity of the infrared light wave band can be enhanced in the foggy days, so that the penetrating power of light in the foggy days is improved, and the display effect of the LED group can be improved.
Fig. 2 shows a block diagram of an internet of things-based LED linkage control system according to the present invention.
As shown in fig. 2, the second aspect of the present invention further provides an internet-of-things-based LED linkage control system 2, which includes a memory 21 and a processor 22, where the memory includes an internet-of-things-based LED linkage control method program, and when the processor executes the internet-of-things-based LED linkage control method program, the following steps are implemented:
enabling the LED group to display light according to control information provided by the first Internet of things device;
receiving control information from second networking equipment, and extracting identity information of the second networking equipment;
inquiring the identity level corresponding to the second networking equipment in a preset control authority level table based on the identity information of the second networking equipment;
comparing the identity level of the second internet of things device with the identity level of the first internet of things device;
and if the identity level of the second networking equipment is higher than that of the first networking equipment, enabling the LED group to display light according to the control information of the second networking equipment.
According to an embodiment of the present invention, receiving control information from a second networked device specifically includes:
presetting the second networking equipment as building indoor alarm equipment, and sensing potential safety hazard data in a corresponding room by each building indoor alarm equipment; when a certain building indoor alarm device senses that potential safety hazard data of a corresponding room is higher than a preset threshold value, recording a current time node;
judging whether the current time node falls into a preset time period or not, and if so, sensing whether a person is in a room or not through intelligent door lock equipment of the corresponding room;
if the LED group is not occupied, triggering the building indoor alarm equipment to generate first alarm information and carrying out alarm in the building, and if the LED group is not occupied, triggering the building indoor alarm equipment to generate second alarm information and taking the second alarm information as control information of the LED group.
According to the embodiment of the invention, the light display of the LED group according to the control information of the second networking equipment specifically comprises the following steps:
presetting that the LED group comprises a plurality of LEDs, wherein the building comprises a plurality of rooms, at least one LED is correspondingly arranged on the outer wall of each room, and an association table between the room number and the identification information of at least one LED is established;
extracting a corresponding room number from the control information of the second networked device;
searching in the association table according to the extracted room number, and finding out LED identification information associated with the room number;
and determining a target LED according to the LED identification information, and displaying light by the target LED according to the control information of the second networking equipment.
The third aspect of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes an internet of things-based LED linkage control method program, and when the internet of things-based LED linkage control method program is executed by a processor, the steps of the internet of things-based LED linkage control method are implemented.
The invention provides an LED linkage control method and system based on the Internet of things and a computer readable storage medium, which can realize linkage control on an LED group through Internet of things equipment, meet the diversified light display requirements of users on LEDs and enrich the application scenes of the LEDs in the current universal interconnection era.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (8)

1. An LED linkage control method based on the Internet of things is characterized by comprising the following steps:
enabling the LED group to display light according to control information provided by the first Internet of things device;
receiving control information from a second networked device, and extracting identity information of the second networked device, wherein the receiving of the control information from the second networked device specifically includes:
presetting the second networking equipment as building indoor alarm equipment, and sensing potential safety hazard data in a corresponding room by each building indoor alarm equipment; when a certain building indoor alarm device senses that potential safety hazard data of a corresponding room is higher than a preset threshold value, recording a current time node;
judging whether the current time node falls into a preset time period or not, and if so, sensing whether a person is in a room or not through intelligent door lock equipment of the corresponding room;
if the person exists, triggering the building indoor alarm equipment to generate first alarm information and carrying out alarm in the building, if the person does not exist, triggering the building indoor alarm equipment to generate second alarm information, and taking the second alarm information as the control information of the LED group;
inquiring the identity level corresponding to the second networking equipment in a preset control authority level table based on the identity information of the second networking equipment;
comparing the identity level of the second internet of things device with the identity level of the first internet of things device;
and if the identity level of the second networking equipment is higher than that of the first networking equipment, enabling the LED group to display light according to the control information of the second networking equipment.
2. The LED linkage control method based on the Internet of things according to claim 1, wherein the LED group is subjected to light display according to the control information of the second networking equipment, and the method specifically comprises the following steps:
presetting that the LED group comprises a plurality of LEDs, wherein the building comprises a plurality of rooms, at least one LED is correspondingly arranged on the outer wall of each room, and an association table between the room number and the identification information of at least one LED is established;
extracting a corresponding room number from the control information of the second networked device;
searching in the association table according to the extracted room number, and finding out LED identification information associated with the room number;
and determining a target LED according to the LED identification information, and displaying light by the target LED according to the control information of the second networking equipment.
3. The LED linkage control method based on the Internet of things as claimed in claim 1, wherein each building indoor alarm device senses potential safety hazard data in a corresponding room; when sensing that the potential safety hazard data of the corresponding room is higher than a preset threshold value by certain building indoor alarm equipment, recording a current time node, specifically comprising:
when a customer enters a certain room for the first time, triggering building indoor alarm equipment corresponding to the room to acquire voltage data of indoor lines and carrying out abnormity detection;
presetting the initial length and the expanding step length of a detection time window, and aligning the left edge of the initial detection time window with the moment when the customer enters the room for the first time;
performing maximum overlapping discrete wavelet transform processing on voltage data in a detection time window to obtain a first-level MODWT detail coefficient curve, and acquiring a first-level MODWT detail coefficient value T of each sampling point in the detection time window based on the first-level MODWT detail coefficient curvekIf n sampling points are preset in the detection time window, then
Figure DEST_PATH_IMAGE001
Then T iskA first order MODWT detail coefficient value representing a kth sample point;
respectively calculating the absolute value of the difference value of the first-level MODWT detail coefficients between two adjacent sampling points in the detection time window, wherein the calculation formula is
Figure 715278DEST_PATH_IMAGE002
Wherein
Figure DEST_PATH_IMAGE003
Represents the absolute value of the difference between the values of the first-order MODWT detail coefficient of the (k + 1) th sampling point and the kth sampling point, Tk+1A first level MODWT detail coefficient value representing the k +1 th sample point;
finding out the absolute value of the maximum one-level MODWT detail coefficient difference value by comparing the absolute values of the multiple one-level MODWT detail coefficient difference values
Figure 432699DEST_PATH_IMAGE004
Figure DEST_PATH_IMAGE005
Figure 14858DEST_PATH_IMAGE006
Representing the g-th sample point within the detection time window,
Figure DEST_PATH_IMAGE007
the one-level MODWT detail coefficient values representing the g +1 th sample point,
Figure 766914DEST_PATH_IMAGE008
a first order MODWT detail coefficient value representing the g-th sample point;
absolute value of detail coefficient difference in maximum level MODWT
Figure DEST_PATH_IMAGE009
Respectively selecting the absolute values of the detail coefficient difference values of other first-stage MODWT of preset number at periphery for reference, and calculating the absolute value of the detail coefficient difference value of the largest first-stage MODWT
Figure 274862DEST_PATH_IMAGE009
The average value of the absolute values of the difference values of the detail coefficients of other levels of MODWT is taken as a preset threshold value;
comparing absolute values of difference values of first-stage MODWT detail coefficients between two adjacent sampling points in the detection time window with the preset threshold value one by one, and judging whether the absolute values exceed the preset threshold value;
if the difference value exceeds the preset expansion step length, recording the current time node, if the difference value does not exceed the preset expansion step length, expanding the detection time window, and recalculating the absolute value of the maximum one-level MODWT detail coefficient difference value and the corresponding average value based on the expanded detection time window.
4. The Internet of things-based LED linkage control method according to claim 1, wherein after the LED group is subjected to light display according to the control information provided by the first Internet of things device, the method further comprises the following steps:
in historical time, acquiring light-off time of each room in the building, acquiring current season information and customer information of the corresponding room, and recording the current season information and the customer information in a historical database;
constructing a work and rest time prediction model, training the work and rest time prediction model by adopting data in a historical database, and optimizing model parameters;
at the current time, collecting the customer information of each room in the building and the current season information, inputting the current season information and the customer information of each room into the work and rest time prediction model, and predicting the light-off time of each room
Figure 73054DEST_PATH_IMAGE010
Wherein m is the current time and the building has a main room for the customer to live inThe number of the intermediate spaces is equal to or greater than the total number of the intermediate spaces,
presetting the influence weight of the LED group on each room as
Figure DEST_PATH_IMAGE011
Then the optimal time R for the LED group to turn off is calculated, and
Figure 209637DEST_PATH_IMAGE012
Figure DEST_PATH_IMAGE013
represents room identification information, and
Figure 331046DEST_PATH_IMAGE014
5. the LED linkage control method based on the Internet of things according to claim 1, wherein the LED group is subjected to light display according to control information provided by the first Internet of things device, and the method specifically comprises the following steps:
acquiring meeting activity information within a preset distance around the building by the first Internet of things equipment through a big data platform;
identifying the types of the crowds participating in the meeting activities according to the meeting activity information;
formulating control information adapted to the crowd category by the first internet of things device;
and displaying the light of the LED group according to the control information matched with the crowd category.
6. The LED linkage control system based on the Internet of things is characterized by comprising a memory and a processor, wherein the memory comprises an LED linkage control method program based on the Internet of things, and the LED linkage control method program based on the Internet of things realizes the following steps when being executed by the processor:
enabling the LED group to display light according to control information provided by the first Internet of things device;
receiving control information from a second networked device, and extracting identity information of the second networked device, wherein the receiving of the control information from the second networked device specifically includes:
presetting the second networking equipment as building indoor alarm equipment, and sensing potential safety hazard data in a corresponding room by each building indoor alarm equipment; when a certain building indoor alarm device senses that potential safety hazard data of a corresponding room is higher than a preset threshold value, recording a current time node;
judging whether the current time node falls into a preset time period or not, and if so, sensing whether a person is in a room or not through intelligent door lock equipment of the corresponding room;
if the person exists, triggering the building indoor alarm equipment to generate first alarm information and carrying out alarm in the building, if the person does not exist, triggering the building indoor alarm equipment to generate second alarm information, and taking the second alarm information as the control information of the LED group;
inquiring the identity level corresponding to the second networking equipment in a preset control authority level table based on the identity information of the second networking equipment;
comparing the identity level of the second internet of things device with the identity level of the first internet of things device;
and if the identity level of the second networking equipment is higher than that of the first networking equipment, enabling the LED group to display light according to the control information of the second networking equipment.
7. The LED coordinated control system based on thing networking of claim 6, make LED group carry out light show according to the control information of second networking equipment, specifically include:
presetting that the LED group comprises a plurality of LEDs, wherein the building comprises a plurality of rooms, at least one LED is correspondingly arranged on the outer wall of each room, and an association table between the room number and the identification information of at least one LED is established;
extracting a corresponding room number from the control information of the second networked device;
searching in the association table according to the extracted room number, and finding out LED identification information associated with the room number;
and determining a target LED according to the LED identification information, and displaying light by the target LED according to the control information of the second networking equipment.
8. A computer-readable storage medium, wherein the computer-readable storage medium includes an internet of things-based LED linkage control method program, and when the internet of things-based LED linkage control method program is executed by a processor, the steps of the internet of things-based LED linkage control method according to any one of claims 1 to 5 are implemented.
CN202110905439.9A 2021-08-09 2021-08-09 LED linkage control method and system based on Internet of things and readable storage medium Active CN113365383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110905439.9A CN113365383B (en) 2021-08-09 2021-08-09 LED linkage control method and system based on Internet of things and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110905439.9A CN113365383B (en) 2021-08-09 2021-08-09 LED linkage control method and system based on Internet of things and readable storage medium

Publications (2)

Publication Number Publication Date
CN113365383A CN113365383A (en) 2021-09-07
CN113365383B true CN113365383B (en) 2021-11-09

Family

ID=77540523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110905439.9A Active CN113365383B (en) 2021-08-09 2021-08-09 LED linkage control method and system based on Internet of things and readable storage medium

Country Status (1)

Country Link
CN (1) CN113365383B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984868A (en) * 2012-12-20 2013-03-20 苏州东山精密制造股份有限公司 Control system and method for luminaires
CN109862680A (en) * 2019-04-17 2019-06-07 京东方科技集团股份有限公司 Lighting control equipment, system and method
CN110213866A (en) * 2019-05-15 2019-09-06 中国舰船研究设计中心 Touch-screen type exterior lighting common control equipment peculiar to vessel

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10045427B2 (en) * 2014-09-29 2018-08-07 Philips Lighting Holding B.V. System and method of autonomous restore point creation and restoration for luminaire controllers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984868A (en) * 2012-12-20 2013-03-20 苏州东山精密制造股份有限公司 Control system and method for luminaires
CN109862680A (en) * 2019-04-17 2019-06-07 京东方科技集团股份有限公司 Lighting control equipment, system and method
CN110213866A (en) * 2019-05-15 2019-09-06 中国舰船研究设计中心 Touch-screen type exterior lighting common control equipment peculiar to vessel

Also Published As

Publication number Publication date
CN113365383A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US10412811B1 (en) Electronic devices for controlling lights
EP3079110B1 (en) System and method for energy harvesting system planning and performance
CN109040278A (en) Hospital is electrical and dynamical system safe and intelligent manages cloud platform, method and system
US10621527B2 (en) Integrated system for sales, installation, and maintenance of building systems
US7627098B2 (en) Intelligent management apparatus and method of digital home network system
CN103890675B (en) Thermostat and operation method for optimizing user interface of thermostat
CN108737577A (en) Hospital equipment security stereo monitors cloud platform, system and method
US11039520B1 (en) Electronic devices for controlling lights
CN201532571U (en) High-integration intelligent household system
KR20170125878A (en) Methods and systems for monitoring appliance usage
CN112130478A (en) Building integrated comprehensive management and control platform system based on BIM and management and control method thereof
CN211454286U (en) Building integrated comprehensive control platform system based on BIM
CN110471356A (en) A kind of building system based on BIM 3D interaction technique
CN109218145B (en) IOT equipment control interface display method, system, equipment and storage medium
CN112348707B (en) BIM model-based holographic intelligent building energy-saving operation and maintenance management system
CN110989374A (en) Whole-house intelligent home control method and system based on fog calculation
CN109634249A (en) A kind of intelligent control method, apparatus and system
CN113365383B (en) LED linkage control method and system based on Internet of things and readable storage medium
JP2005221163A (en) Simulation device, method and system, and data base device
CN116963357A (en) Intelligent configuration control method, system and medium for lamp
CN109062076B (en) Intelligent home control system based on Internet of things
JP2021006946A (en) Management system, space equipment control system, space equipment operation system, management method, and program
CN108925019A (en) outdoor lighting intelligent control method and system
CN116306028A (en) Lighting equipment installation method, system and medium based on virtual reality
CN112802288A (en) Comprehensive alarm information pushing method and system, storage medium and computer equipment

Legal Events

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