An intelligent lighting control system and method based on WIFI and Bluetooth connection
The intelligent lighting control system connected through WIFI and Bluetooth uses voice commands to generate and adjust automatic control strategies, solving the problem of low intelligence in existing lighting control systems and achieving higher intelligence and automated control capabilities.
Patent Information
- Application Number
- CN202211680563.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-12-27
AI Technical Summary
The existing lighting control system has a low level of intelligence, especially when the remote control cannot be found, resulting in unintelligent and automated lighting control.
An intelligent light control system based on WIFI and Bluetooth connections is used to receive and process voice commands, generate an automatic control strategy, and adjust the control strategy in real time to improve intelligent control capabilities.
It improves the intelligent control capabilities of lamps, can adjust the control strategy in real time according to changes in users' lighting habits, and enhances the automation of smart lamps.
Smart Images

Figure CN115866858B
Abstract
Description
Technical Field
[0001] The invention proposes an intelligent lighting control system and method based on WIFI and Bluetooth connection, belonging to the technical field of intelligent control. Background Art
[0002] With the maturity of various wireless control technologies and the widespread popularity of smart phones, smart phone-related intelligent control products are constantly being launched, and intelligent information appliances and related products are entering society and every family. Existing lighting control systems all use remote controls or switches installed on the wall to control the lighting system, but sometimes when the lighting system needs to be controlled, the remote control cannot be found, resulting in low intelligence and automation of lighting control. Summary of the invention
[0003] The present invention provides an intelligent lighting control system and method based on WIFI and Bluetooth connection to solve the problem of low intelligence and automation of lighting control. The technical solutions adopted are as follows:
[0004] An intelligent lighting control method based on WIFI and Bluetooth connection, the intelligent lighting control method comprising:
[0005] The smart lamp is controlled by receiving voice commands from the user, and the smart lamp operation control information is sent to the cloud platform via wifi and / or bluetooth module;
[0006] The cloud platform generates an intelligent light automatic control strategy according to the lamp operation control information of the intelligent light, and performs automatic control of the intelligent light according to the intelligent light automatic control strategy;
[0007] The real-time situation of the automatic control of the smart light is sent to the user terminal through the wifi and / or bluetooth module, and the automatic control strategy of the smart light is adjusted in combination with the real-time control information of the user terminal.
[0008] Furthermore, the operation control of the smart lamp is performed by receiving the user's voice command, and the operation control information of the smart lamp is sent to the cloud platform through the wifi and / or bluetooth module, including:
[0009] The smart lamp receives the user's voice command information for lamp operation control in real time through the voice pickup device;
[0010] The smart lamp operates the lamp according to the voice command information, and sends the received voice command information and the receiving time to the cloud platform via the wifi and / or bluetooth module.
[0011] Furthermore, the cloud platform generates an intelligent light automatic control strategy according to the lighting fixture operation control information of the intelligent light, and performs automatic control of the intelligent light according to the intelligent light automatic control strategy, including:
[0012] After receiving the voice command information and the receiving time corresponding to the voice command information, the cloud platform extracts the command content corresponding to the lamp control contained in the voice command information through the voice command information, and marks the voice command content as the target command content;
[0013] The appearance time of the target instruction content and the number of appearances of the same target instruction content are monitored in real time, and the intelligent control scheme of the lamp is set according to the appearance time of the target instruction content and the number of appearances of the same target instruction content.
[0014] Furthermore, real-time monitoring of the appearance time of the target instruction content and the number of appearances of the same target instruction content is performed, and the intelligent control scheme of the lamp is set according to the appearance time of the target instruction content and the number of appearances of the same target instruction content, including:
[0015] The observation time range and instruction interval of the target instruction content are set using a preset unit time; wherein the unit time is 24 hours; the observation time range and instruction interval are obtained by the following formula:
[0016]
[0017] Among them, T c represents the instruction interval time, T0 represents the unit time; T represents the reference control time, wherein the reference control time ranges from 3 to 7 minutes; T y Represents the delay time of wireless communication theory; T w Indicates the theoretical time required for voice command conversion; T s It represents the average time interval between the issuance of voice commands and the execution response of smart lamps;
[0018]
[0019] Among them, T g Indicates the observation time range; T s0 Indicates the actual time interval between the latest voice command being issued and the smart lamp making an execution response; T y0 Indicates the actual delay duration of wireless communication; T w0 Indicates the actual time taken for voice command conversion; and the end time of the command interval is the start time of the observation time range;
[0020] Determine whether the target instruction content is repeated at intervals according to the instruction interval time, and determine whether the time when the target instruction content is repeated falls within the observation time range;
[0021] When the time when the target instruction content repeatedly appears falls within the observation time range, the target instruction content is counted once to obtain the total number of times the target instruction content appears continuously;
[0022] When the total number of times the target instruction content appears continuously exceeds a preset first total threshold, setting a single-day automatic start time for the target instruction content according to the time when the target instruction content appears repeatedly;
[0023] The single-day automatic start time is obtained by the following formula:
[0024]
[0025] Among them, T q represents the automatic start time of a single day; n represents the total number of times the target instruction content appears continuously; T a Indicates the earliest time when the target instruction content appears continuously; T b Indicates the latest time when the target instruction content appears continuously; T ei It represents the corresponding time when the target instruction content appears for the i-th time during the continuous appearance of the target instruction content; T1 represents the corresponding time when the target instruction content appears for the first time.
[0026] Furthermore, the real-time situation of the automatic control of the smart light is sent to the user terminal through the wifi and / or bluetooth module, and the automatic control strategy of the smart light is adjusted in combination with the real-time control information of the user terminal, including:
[0027] The cloud platform will periodically send target instruction content to the smart light through the wifi and / or bluetooth module according to the acquired daily automatic start time to control the smart light to operate accordingly;
[0028] The cloud platform sends the operation information of the smart lamp to the user terminal for display;
[0029] After the smart light is operated according to the target instruction content, if within a preset monitoring period, the smart light is controlled to perform an operation different from the target instruction content through a user terminal and / or a voice instruction in the room, the smart light sends the corresponding instruction content different from the target instruction content to the cloud platform through a wifi and / or Bluetooth module while performing the corresponding operation;
[0030] After receiving the corresponding instruction content that is different from the target instruction content, the cloud platform marks the corresponding instruction that is different from the target instruction content and uses it as a target replacement instruction;
[0031] The target replacement instructions are monitored daily and when they appear within a preset monitoring period, they are marked and counted to obtain the total number of the target replacement instructions;
[0032] When the total number of the target replacement instructions exceeds a preset second total amount threshold, a single-day automatic replacement start time of the target replacement instructions is set, and the target replacement instructions are used to replace the target instruction content and its corresponding single-day automatic replacement start time according to the single-day automatic replacement start time; wherein the single-day automatic replacement start time is obtained by the following formula:
[0033]
[0034] Among them, T t Indicates the start time of automatic replacement in a single day; T t1 represents the time when the target replacement instruction appears for the first time; Tui represents the time when the target replacement instruction appears for the ith time; m represents the total number of target replacement instructions.
[0035] An intelligent lighting control system based on WIFI and Bluetooth connection, the intelligent lighting control system comprising:
[0036] A control module, used to control the operation of the smart lamp by receiving a user's voice command, and to send the operation control information of the smart lamp to the cloud platform via a wifi and / or bluetooth module;
[0037] A strategy generation module, used for the cloud platform to generate an intelligent light automatic control strategy according to the lamp operation control information of the intelligent light, and to perform automatic control of the intelligent light according to the intelligent light automatic control strategy;
[0038] The strategy adjustment module is used to send the real-time situation of the automatic control of the smart light to the user terminal through the wifi and / or bluetooth module, and adjust the automatic control strategy of the smart light in combination with the real-time control information of the user terminal.
[0039] Furthermore, the control module includes:
[0040] A real-time receiving module, used for the smart lamp to receive the user's voice command information for lamp operation control in real time through the voice pickup device;
[0041] An operation control module is used for the smart lamp to operate the lamp according to the voice command information, and send the received voice command information and the receiving time to the cloud platform via the wifi and / or bluetooth module.
[0042] Furthermore, the strategy generation module includes:
[0043] A target instruction acquisition module, which is used for extracting instruction content corresponding to the lamp control contained in the voice instruction information through the voice instruction information after the cloud platform receives the voice instruction information and the receiving time corresponding to the voice instruction information, and marking the voice instruction content as the target instruction content;
[0044] The scheme acquisition module is used to monitor the appearance time of the target instruction content and the number of appearances of the same target instruction content in real time, and set the intelligent control scheme of the lamp according to the appearance time of the target instruction content and the number of appearances of the same target instruction content.
[0045] Furthermore, the solution acquisition module includes:
[0046] The setting module is used to set the observation time range and instruction interval time of the target instruction content using a preset unit time; wherein the unit time is 24 hours; the observation time range and instruction interval time are obtained by the following formula:
[0047]
[0048] Among them, T c represents the instruction interval time, T0 represents the unit time; T represents the reference control time, wherein the reference control time ranges from 3 to 7 minutes; T y Represents the delay time of wireless communication theory; T w Indicates the theoretical time required for voice command conversion; T s It represents the average time interval between the issuance of voice commands and the execution response of smart lamps;
[0049]
[0050] Among them, T g Indicates the observation time range; T s0 Indicates the actual time interval between the latest voice command being issued and the smart lamp making an execution response; T y0 Indicates the actual delay duration of wireless communication; T w0 Indicates the actual time taken for voice command conversion; and the end time of the command interval is the start time of the observation time range;
[0051] An appearance judgment module is used to judge whether the target instruction content is repeated at intervals according to the instruction interval time, and to judge whether the time when the target instruction content is repeated falls within the observation time range;
[0052] A first counting module is used to count the target instruction content once when the time when the target instruction content repeatedly appears falls within the observation time range, so as to obtain the total number of times the target instruction content appears continuously;
[0053] A time setting module, for setting a single-day automatic start time for the target instruction content according to the time when the target instruction content repeatedly appears when the total number of times the target instruction content appears continuously exceeds a preset first total threshold;
[0054] The single-day automatic start time is obtained by the following formula:
[0055]
[0056] Among them, T q represents the automatic start time of a single day; n represents the total number of times the target instruction content appears continuously; T a Indicates the earliest time when the target instruction content appears continuously; T b Indicates the latest time when the target instruction content appears continuously; T ei It represents the corresponding time when the target instruction content appears for the i-th time during the continuous appearance of the target instruction content; T1 represents the corresponding time when the target instruction content appears for the first time.
[0057] Furthermore, the solution acquisition module includes:
[0058] A motion automatic control module, which is used for the cloud platform to periodically send target instruction content to the smart light through the wifi and / or Bluetooth module according to the acquired single-day automatic start time to control the smart light to perform corresponding operation;
[0059] A display module, used for the cloud platform to send the operation information of the smart lamp to the user terminal for display;
[0060] A change instruction sending module, which is used for, after the smart light is operated according to the target instruction content, if within a preset monitoring period, the smart light is controlled to perform an operation different from the target instruction content through a user terminal and / or a voice instruction in the room, the smart light sends a corresponding instruction content different from the target instruction content to the cloud platform through a wifi and / or Bluetooth module while performing the corresponding operation;
[0061] a target replacement instruction acquisition module, configured for the cloud platform to mark the corresponding instruction different from the target instruction content after receiving the corresponding instruction content different from the target instruction content, and use it as the target replacement instruction;
[0062] A second counting module is used to monitor the target replacement instructions daily and mark and count them once they appear within a preset monitoring period to obtain the total number of the target replacement instructions;
[0063] The replacement adjustment module is used to set the daily automatic replacement start time of the target replacement instruction when the total number of the target replacement instructions exceeds the preset second total amount threshold, and replace the target instruction content and its corresponding daily automatic replacement start time according to the daily automatic replacement start time; wherein the daily automatic replacement start time is obtained by the following formula:
[0064]
[0065] Among them, T t Indicates the start time of automatic replacement in a single day; T t1 represents the time when the target replacement instruction appears for the first time; Tui represents the time when the target replacement instruction appears for the ith time; m represents the total number of target replacement instructions.
[0066] Beneficial effects of the present invention:
[0067] The intelligent lighting control system and method based on WIFI and Bluetooth connection proposed by the present invention forms an automatic control strategy for intelligent lighting according to the inertia and frequency of the actual voice control instructions of the intelligent lighting through the cloud platform to automatically control the intelligent lighting, effectively improving the intelligent control ability of the lighting fixtures. At the same time, the control strategy can be changed in real time according to the user's lighting habits by changing the established control strategy at the user's main end and adjusting the control strategy of the cloud platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 is a flow chart of the method of the present invention;
[0069] Figure 2 The system block diagram of the system of the present invention. DETAILED DESCRIPTION
[0070] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0071] The embodiment of the present invention proposes an intelligent lighting control method based on WIFI and Bluetooth connection, such as Figure 1 As shown, the intelligent lighting control method includes:
[0072] S1. Control the operation of the smart lamp by receiving the user's voice command, and send the operation control information of the smart lamp to the cloud platform through the wifi and / or bluetooth module;
[0073] S2, the cloud platform generates an intelligent light automatic control strategy according to the lamp operation control information of the intelligent light, and performs automatic control of the intelligent light according to the intelligent light automatic control strategy;
[0074] S3. Send the real-time situation of the automatic control of the smart light to the user terminal through the wifi and / or bluetooth module, and adjust the automatic control strategy of the smart light in combination with the real-time control information of the user terminal.
[0075] The smart lamp operation control is performed by receiving the user's voice command, and the smart lamp operation control information is sent to the cloud platform through the wifi and / or bluetooth module, including:
[0076] S101, the smart lamp receives the user's voice command information for lamp operation control in real time through a voice pickup device;
[0077] S102: The smart lamp operates the lamp according to the voice command information, and sends the received voice command information and the receiving time to the cloud platform via the WiFi and / or Bluetooth module.
[0078] The working principle of the above technical solution is: first, the operation of the smart lamp is controlled by receiving the user's voice commands, and the operation control information of the smart lamp is sent to the cloud platform through the wifi and / or Bluetooth module; then, the cloud platform generates an automatic control strategy for the smart lamp according to the operation control information of the smart lamp, and automatically controls the smart lamp according to the automatic control strategy for the smart lamp; finally, the real-time situation of the automatic control of the smart lamp is sent to the user terminal through the wifi and / or Bluetooth module, and the automatic control strategy of the smart lamp is adjusted in combination with the real-time control information of the user terminal.
[0079] The effect of the above technical solution is: the intelligent light control method based on WIFI and Bluetooth connection proposed in this embodiment forms an automatic control strategy for the intelligent light according to the inertia and frequency of the actual voice control instructions of the intelligent light through the cloud platform to automatically control the intelligent light, effectively improving the intelligent control ability of the lamp. At the same time, the control strategy can be changed in real time according to the user's lighting habits by changing the established control strategy at the user's main end and adjusting the control strategy of the cloud platform.
[0080] In one embodiment of the present invention, the cloud platform generates an intelligent light automatic control strategy according to the lamp operation control information of the intelligent light, and performs automatic control of the intelligent light according to the intelligent light automatic control strategy, including:
[0081] S201, after the cloud platform receives the voice command information and the receiving time corresponding to the voice command information, extracts the command content corresponding to the lamp control contained in the voice command information through the voice command information, and marks the voice command content as the target command content;
[0082] S202, monitor the appearance time of the target instruction content and the number of appearances of the same target instruction content in real time, and set the intelligent control scheme of the lamp according to the appearance time of the target instruction content and the number of appearances of the same target instruction content.
[0083] Among them, real-time monitoring of the appearance time of the target instruction content and the number of appearances of the same target instruction content, and setting the intelligent control scheme of the lamp according to the appearance time of the target instruction content and the number of appearances of the same target instruction content, includes:
[0084] S2021. Using a preset unit time, set the observation time range and instruction interval time of the target instruction content; wherein the unit time is 24 hours; the observation time range and instruction interval time are obtained by the following formula:
[0085]
[0086] Among them, T c represents the instruction interval time, T0 represents the unit time; T represents the reference control time, wherein the reference control time ranges from 3 to 7 minutes; T y Represents the delay time of wireless communication theory; T w Indicates the theoretical time required for voice command conversion; T s It represents the average time interval between the issuance of voice commands and the execution response of smart lamps;
[0087]
[0088] Among them, T g Indicates the observation time range; T s0 Indicates the actual time interval between the latest voice command being issued and the smart lamp making an execution response; T y0 Indicates the actual delay duration of wireless communication; T w0 Indicates the actual time taken for voice command conversion; and the end time of the command interval is the start time of the observation time range;
[0089] S2022, determining whether the target instruction content is repeated at intervals according to the instruction interval time, and determining whether the time when the target instruction content is repeated falls within the observation time range;
[0090] S2023, when the time when the target instruction content repeatedly appears falls within the observation time range, counting the target instruction content once to obtain the total number of times the target instruction content appears continuously;
[0091] S2024, when the total number of times the target instruction content appears continuously exceeds a preset first total threshold, setting a single-day automatic start time for the target instruction content according to the time when the target instruction content appears repeatedly;
[0092] The single-day automatic start time is obtained by the following formula:
[0093]
[0094] Among them, T q represents the automatic start time of a single day; n represents the total number of times the target instruction content appears continuously; T a Indicates the earliest time when the target instruction content appears continuously; T b Indicates the latest time when the target instruction content appears continuously; T ei It represents the corresponding time when the target instruction content appears for the i-th time during the continuous appearance of the target instruction content; T1 represents the corresponding time when the target instruction content appears for the first time.
[0095] The working principle of the above technical solution is: after the cloud platform receives the voice command information and the receiving time corresponding to the voice command information, the command content corresponding to the lamp control contained in the voice command information is extracted through the voice command information, and the voice command content is marked as the target command content; the appearance time of the target command content and the number of appearances of the same target command content are monitored in real time, and the intelligent control scheme of the lamp is set according to the appearance time of the target command content and the number of appearances of the same target command content.
[0096] Specifically, real-time monitoring of the appearance time of the target instruction content and the number of appearances of the same target instruction content, and setting of the intelligent control scheme of the lamp according to the appearance time of the target instruction content and the number of appearances of the same target instruction content include:
[0097] First, the observation time range and instruction interval time of the target instruction content are set by using a preset unit time; then, it is determined whether the target instruction content is repeated at intervals according to the instruction interval time, and whether the time when the target instruction content is repeated falls within the observation time range; subsequently, when the time when the target instruction content is repeated falls within the observation time range, the target instruction content is counted once to obtain the total number of consecutive times the target instruction content appears; finally, when the total number of consecutive times the target instruction content appears exceeds a preset first total threshold, a single-day automatic start time is set for the target instruction content according to the time when the target instruction content is repeated.
[0098] The effect of the above technical solution is: the cloud platform forms an automatic control strategy for the smart light according to the inertia and frequency of the actual voice control instructions of the smart light to automatically control the smart light, effectively improving the intelligent control ability of the lamp. At the same time, through the change of the established control strategy by the user's main end combined with the adjustment of the control strategy of the cloud platform, the control strategy can be changed in real time according to the changes in the user's lighting habits. At the same time, the various times obtained by the above method and the acquisition of the single-day automatic start time based on time are the intelligent control of the lamp. The observation time range and command interval time obtained by the above method can improve the rationality of time setting and the accuracy of detection data, and prevent the problem of inability to accurately obtain effective data on user habits due to unreasonable settings of observation time and command interval time.
[0099] In one embodiment of the present invention, the real-time situation of the automatic control of the smart light is sent to the user terminal through a wifi and / or bluetooth module, and the automatic control strategy of the smart light is adjusted in combination with the real-time control information of the user terminal, including:
[0100] S301, the cloud platform sends target instruction content to the smart light regularly through the wifi and / or Bluetooth module according to the acquired daily automatic start time to control the smart light to operate accordingly;
[0101] S302, the cloud platform sends the operation information of the smart lamp to the user terminal for display;
[0102] S303, after the smart light operates according to the target instruction content, if within a preset monitoring period, the smart light is controlled to execute an operation different from the target instruction content through a user terminal and / or a voice instruction in the room, the smart light sends a corresponding instruction content different from the target instruction content to the cloud platform through a wifi and / or Bluetooth module while executing the corresponding operation;
[0103] S304: After receiving the corresponding instruction content that is different from the target instruction content, the cloud platform marks the corresponding instruction that is different from the target instruction content and uses it as a target replacement instruction;
[0104] S305, monitoring the target replacement instructions daily and marking and counting them when they appear within a preset monitoring period to obtain the total number of the target replacement instructions;
[0105] S306: When the total number of the target replacement instructions exceeds a preset second total amount threshold, set a daily automatic replacement start time for the target replacement instructions, and replace the target instruction content and its corresponding daily automatic replacement start time according to the daily automatic replacement start time; wherein the daily automatic replacement start time is obtained by the following formula:
[0106]
[0107] Among them, T t Indicates the start time of automatic replacement in a single day; T t1 represents the time when the target replacement instruction appears for the first time; Tui represents the time when the target replacement instruction appears for the ith time; m represents the total number of target replacement instructions.
[0108] The working principle of the above technical solution is as follows: first, the cloud platform will periodically send the target instruction content to the smart light through the wifi and / or Bluetooth module according to the acquired single-day automatic start time to control the smart light to perform corresponding operation; the cloud platform sends the operation information of the smart light to the user terminal for display; after the smart light is running according to the target instruction content, if within the preset monitoring period, the smart light is controlled to perform an operation different from the target instruction content through the user terminal and / or the indoor voice command, the smart light will send the corresponding instruction content different from the target instruction content to the user terminal through the wifi and / or Bluetooth module while performing the corresponding operation. the cloud platform; then, after receiving the corresponding instruction content that is different from the target instruction content, the cloud platform marks the corresponding instruction that is different from the target instruction content and uses it as a target replacement instruction; thereafter, the target replacement instruction is monitored daily and when it appears within a preset monitoring period, it is marked and counted once to obtain the total number of the target replacement instructions; finally, when the total number of the target replacement instructions exceeds a preset second total amount threshold, the single-day automatic replacement start time of the target replacement instruction is set, and the target replacement instruction replaces the target instruction content and its corresponding single-day automatic start time according to the single-day automatic replacement start time.
[0109] The effect of the above technical solution is: the cloud platform forms an automatic control strategy for smart lights according to the inertia and frequency of the actual voice control instructions of smart lights, and automatically controls the smart lights, effectively improving the intelligent control ability of lamps. At the same time, through the user's main end, the control strategy that has been formulated is changed in combination with the adjustment of the control strategy of the cloud platform, the control strategy can be changed in real time according to the user's lighting habits.
[0110] One embodiment of the present invention is a smart lighting control system based on WIFI and Bluetooth connection, the smart lighting control system comprising:
[0111] A control module, used to control the operation of the smart lamp by receiving a user's voice command, and to send the operation control information of the smart lamp to the cloud platform via a wifi and / or bluetooth module;
[0112] A strategy generation module, used for the cloud platform to generate an intelligent light automatic control strategy according to the lamp operation control information of the intelligent light, and to perform automatic control of the intelligent light according to the intelligent light automatic control strategy;
[0113] The strategy adjustment module is used to send the real-time situation of the automatic control of the smart light to the user terminal through the wifi and / or bluetooth module, and adjust the automatic control strategy of the smart light in combination with the real-time control information of the user terminal.
[0114] Wherein, the control module comprises:
[0115] A real-time receiving module, used for the smart lamp to receive the user's voice command information for lamp operation control in real time through the voice pickup device;
[0116] The operation control module is used for the smart lamp to operate the lamp according to the voice command information, and send the received voice command information and the receiving time to the cloud platform via the wifi and / or bluetooth module.
[0117] The working principle of the above technical solution is: first, the control module is used to receive the user's voice commands to control the operation of the smart lamp, and the lamp operation control information of the smart lamp is sent to the cloud platform through the wifi and / or Bluetooth module; then, the strategy generation module is used to control the cloud platform to generate an automatic control strategy for the smart lamp according to the lamp operation control information of the smart lamp, and the smart lamp is automatically controlled according to the automatic control strategy for the smart lamp; finally, the strategy adjustment module is used to send the real-time situation of the automatic control of the smart lamp to the user terminal through the wifi and / or Bluetooth module, and the automatic control strategy of the smart lamp is adjusted in combination with the real-time control information of the user terminal.
[0118] The cloud core process of the control module includes:
[0119] First, the real-time receiving module controls the smart lamp to receive the user's voice command information for lamp operation control in real time through the voice pickup device;
[0120] Then, the operation control module is used to control the smart lamp to operate the lamp according to the voice command information, and the received voice command information and the receiving time are sent to the cloud platform through the wifi and / or bluetooth module.
[0121] The effect of the above technical solution is: the intelligent lighting control system based on WIFI and Bluetooth connection proposed in this embodiment forms an automatic control strategy for the intelligent lighting according to the inertia and frequency of the actual voice control instructions of the intelligent lighting through the cloud platform to automatically control the intelligent lighting, effectively improving the intelligent control ability of the lighting. At the same time, the control strategy can be changed in real time according to the user's lighting habits by changing the established control strategy at the user's main end and adjusting the control strategy of the cloud platform.
[0122] In one embodiment of the present invention, the strategy generation module includes:
[0123] A target instruction acquisition module, which is used for extracting instruction content corresponding to the lamp control contained in the voice instruction information through the voice instruction information after the cloud platform receives the voice instruction information and the receiving time corresponding to the voice instruction information, and marking the voice instruction content as the target instruction content;
[0124] The scheme acquisition module is used to monitor the appearance time of the target instruction content and the number of appearances of the same target instruction content in real time, and set the intelligent control scheme of the lamp according to the appearance time of the target instruction content and the number of appearances of the same target instruction content.
[0125] The working principle of the above technical solution is: after the cloud platform receives the voice command information and the receiving time corresponding to the voice command information through the target command acquisition module, the command content corresponding to the lamp control contained in the voice command information is extracted through the voice command information, and the voice command content is marked as the target command content; then, the scheme acquisition module is used to monitor the appearance time of the target command content and the number of appearances of the same target command content in real time, and the intelligent control scheme of the lamp is set according to the appearance time of the target command content and the number of appearances of the same target command content.
[0126] The operation process of the solution acquisition module includes:
[0127] First, the observation time range and instruction interval of the target instruction content are set by the setting module using the preset unit time; wherein the unit time is 24 hours; the observation time range and instruction interval are obtained by the following formula:
[0128]
[0129] Among them, T c represents the instruction interval time, T0 represents the unit time; T represents the reference control time, wherein the reference control time ranges from 3 to 7 minutes; T y Represents the delay time of wireless communication theory; T w Indicates the theoretical time required for voice command conversion; T s It represents the average time interval between the issuance of voice commands and the execution response of smart lamps;
[0130]
[0131] Among them, T g Indicates the observation time range; T s0 Indicates the actual time interval between the latest voice command being issued and the smart lamp making an execution response; T y0 Indicates the actual delay duration of wireless communication; T w0 Indicates the actual time taken for voice command conversion; and the end time of the command interval is the start time of the observation time range;
[0132] Then, using the appearance judgment module, judging whether the target instruction content is repeated at intervals according to the instruction interval time, and judging whether the time when the target instruction content is repeated falls within the observation time range;
[0133] Subsequently, a first counting module is used to count the target instruction content once when the time when the target instruction content repeatedly appears falls within the observation time range, so as to obtain the total number of times the target instruction content appears continuously;
[0134] Finally, when the total number of times the target instruction content appears continuously exceeds a preset first total threshold, a time setting module is used to set a single-day automatic start time for the target instruction content according to the time when the target instruction content appears repeatedly;
[0135] The single-day automatic start time is obtained by the following formula:
[0136]
[0137] Among them, T qrepresents the automatic start time of a single day; n represents the total number of times the target instruction content appears continuously; T a Indicates the earliest time when the target instruction content appears continuously; T b Indicates the latest time when the target instruction content appears continuously; T ei It represents the corresponding time when the target instruction content appears for the i-th time during the continuous appearance of the target instruction content; T1 represents the corresponding time when the target instruction content appears for the first time.
[0138] The effect of the above technical solution is: the cloud platform forms an automatic control strategy for the smart light according to the inertia and frequency of the actual voice control instructions of the smart light to automatically control the smart light, effectively improving the intelligent control ability of the lamp. At the same time, through the change of the established control strategy by the user's main end combined with the adjustment of the control strategy of the cloud platform, the control strategy can be changed in real time according to the changes in the user's lighting habits. At the same time, the various times obtained by the above method and the acquisition of the single-day automatic start time based on time are the intelligent control of the lamp. The observation time range and command interval time obtained by the above method can improve the rationality of time setting and the accuracy of detection data, and prevent the problem of inability to accurately obtain effective data on user habits due to unreasonable settings of observation time and command interval time.
[0139] In one embodiment of the present invention, the solution acquisition module includes:
[0140] A motion automatic control module, which is used for the cloud platform to periodically send target instruction content to the smart light through the wifi and / or Bluetooth module according to the acquired single-day automatic start time to control the smart light to perform corresponding operation;
[0141] A display module, used for the cloud platform to send the operation information of the smart lamp to the user terminal for display;
[0142] A change instruction sending module, which is used for, after the smart light is operated according to the target instruction content, if within a preset monitoring period, the smart light is controlled to perform an operation different from the target instruction content through a user terminal and / or a voice instruction in the room, the smart light sends a corresponding instruction content different from the target instruction content to the cloud platform through a wifi and / or Bluetooth module while performing the corresponding operation;
[0143] a target replacement instruction acquisition module, configured for the cloud platform to mark the corresponding instruction different from the target instruction content after receiving the corresponding instruction content different from the target instruction content, and use it as the target replacement instruction;
[0144] A second counting module is used to monitor the target replacement instructions daily and mark and count them once they appear within a preset monitoring period to obtain the total number of the target replacement instructions;
[0145] The replacement adjustment module is used to set the daily automatic replacement start time of the target replacement instruction when the total number of the target replacement instructions exceeds the preset second total amount threshold, and replace the target instruction content and its corresponding daily automatic replacement start time according to the daily automatic replacement start time; wherein the daily automatic replacement start time is obtained by the following formula:
[0146]
[0147] Among them, T t Indicates the start time of automatic replacement in a single day; T t1 represents the time when the target replacement instruction appears for the first time; Tui represents the time when the target replacement instruction appears for the ith time; m represents the total number of target replacement instructions.
[0148] The working principle of the above technical solution is as follows: the operation process of the solution acquisition module includes:
[0149] First, the cloud platform is controlled by the motion automatic control module to periodically send target instruction content to the smart light through the wifi and / or Bluetooth module according to the acquired single-day automatic start time to control the smart light to operate accordingly;
[0150] Then, the display module is used to control the cloud platform to send the operation information of the smart lamp to the user terminal for display;
[0151] Subsequently, when the smart light is operated according to the target instruction content, if the smart light is controlled to perform an operation different from the target instruction content through the user terminal and / or the indoor voice instruction mode within the preset monitoring period, the smart light sends the corresponding instruction content different from the target instruction content to the cloud platform through the wifi and / or Bluetooth module while performing the corresponding operation;
[0152] Afterwards, the target replacement instruction acquisition module is used to control the cloud platform to mark the corresponding instruction different from the target instruction content after receiving the corresponding instruction content different from the target instruction content, and use it as the target replacement instruction;
[0153] Then, the target replacement instructions are monitored daily by a second counting module and are marked and counted once when they appear within a preset monitoring period to obtain the total number of the target replacement instructions;
[0154] Finally, when the total number of the target replacement instructions exceeds the preset second total amount threshold, the replacement adjustment module is used to set the single-day automatic replacement start time of the target replacement instructions, and the target replacement instructions are used to replace the target instruction content and its corresponding single-day automatic replacement start time according to the single-day automatic replacement start time.
[0155] The effect of the above technical solution is: the cloud platform forms an automatic control strategy for the smart light according to the inertia and frequency of the actual voice control instructions of the smart light, and the smart control ability of the lamp is effectively improved. At the same time, the control strategy can be changed in real time according to the user's lighting habits by changing the established control strategy at the user end and adjusting the control strategy of the cloud platform. The setting of the above-mentioned automatic replacement of the start time on a single day can effectively improve the accuracy of the time adjustment, so that the control strategy after the instruction adjustment is highly matched with the user's habits.
[0156] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An intelligent lighting control method based on WIFI and Bluetooth connection, characterized in that: The intelligent lighting control method comprises: The smart lamp is controlled by receiving voice commands from the user, and the smart lamp operation control information is sent to the cloud platform via wifi and / or bluetooth module; The cloud platform generates an intelligent light automatic control strategy according to the lamp operation control information of the intelligent light, and performs automatic control of the intelligent light according to the intelligent light automatic control strategy; The real-time situation of the automatic control of the smart light is sent to the user terminal through the wifi and / or bluetooth module, and the automatic control strategy of the smart light is adjusted in combination with the real-time control information of the user terminal; The cloud platform generates an intelligent light automatic control strategy according to the lighting fixture operation control information of the intelligent light, and performs automatic control of the intelligent light according to the intelligent light automatic control strategy, including: After the cloud platform receives the voice command information and the receiving time corresponding to the voice command information, it extracts the command content corresponding to the lamp control contained in the voice command information through the voice command information, and marks the voice command content as the target command content; Monitor the appearance time of the target instruction content and the number of appearances of the same target instruction content in real time, and set the intelligent control scheme of the lamp according to the appearance time of the target instruction content and the number of appearances of the same target instruction content; The real-time monitoring of the appearance time of the target instruction content and the number of appearances of the same target instruction content, and setting the intelligent control scheme of the lamp according to the appearance time of the target instruction content and the number of appearances of the same target instruction content, includes: The observation time range and instruction interval of the target instruction content are set using a preset unit time; wherein the unit time is 24 hours; the observation time range and instruction interval are obtained by the following formula: Among them, T c represents the instruction interval time, T0 represents the unit time; T represents the reference control time, wherein the reference control time ranges from 3 to 7 minutes; T y Represents the delay time of wireless communication theory; T w Indicates the theoretical time required for voice command conversion; T s It represents the average time interval between the issuance of voice commands and the execution response of smart lamps; Among them, T g Indicates the observation time range; T s0 Indicates the actual time interval between the latest voice command being issued and the smart lamp making an execution response; T y0 Indicates the actual delay duration of wireless communication; T w0 Indicates the actual time taken for voice command conversion; and the end time of the command interval is the start time of the observation time range; Determine whether the target instruction content is repeated at intervals according to the instruction interval time, and determine whether the time when the target instruction content is repeated falls within the observation time range; When the time when the target instruction content repeatedly appears falls within the observation time range, the target instruction content is counted once to obtain the total number of times the target instruction content appears continuously; When the total number of times the target instruction content appears continuously exceeds a preset first total threshold, setting a single-day automatic start time for the target instruction content according to the time when the target instruction content appears repeatedly; The single-day automatic start time is obtained by the following formula: Among them, T q represents the automatic start time of a single day; n represents the total number of times the target instruction content appears continuously; T a Indicates the earliest time when the target instruction content appears continuously; T b Indicates the latest time when the target instruction content appears continuously; T ei It represents the corresponding time when the target instruction content appears for the i-th time during the continuous appearance of the target instruction content; T1 represents the corresponding time when the target instruction content appears for the first time.
2. The intelligent lighting control method according to claim 1, characterized in that: The smart lamp is controlled by receiving the user's voice command, and the smart lamp operation control information is sent to the cloud platform through the wifi and / or bluetooth module, including: The smart lamp receives the user's voice command information for lamp operation control in real time through the voice pickup device; The smart lamp operates the lamp according to the voice command information, and sends the received voice command information and the receiving time to the cloud platform via the wifi and / or bluetooth module.
3. The intelligent lighting control method according to claim 1, characterized in that: The real-time situation of the automatic control of the smart light is sent to the user terminal through the wifi and / or bluetooth module, and the automatic control strategy of the smart light is adjusted in combination with the real-time control information of the user terminal, including: The cloud platform will periodically send target instruction content to the smart light through the wifi and / or bluetooth module according to the acquired daily automatic start time to control the smart light to operate accordingly; The cloud platform sends the operation information of the smart lamp to the user terminal for display; After the smart light is operated according to the target instruction content, if within a preset monitoring period, the smart light is controlled to perform an operation different from the target instruction content through a user terminal and / or a voice instruction in the room, the smart light sends the corresponding instruction content different from the target instruction content to the cloud platform through a wifi and / or Bluetooth module while performing the corresponding operation; After receiving the corresponding instruction content that is different from the target instruction content, the cloud platform marks the corresponding instruction that is different from the target instruction content and uses it as a target replacement instruction; The target replacement instructions are monitored daily and when they appear within a preset monitoring period, they are marked and counted to obtain the total number of the target replacement instructions; When the total number of the target replacement instructions exceeds a preset second total amount threshold, a single-day automatic replacement start time of the target replacement instructions is set, and the target replacement instructions are used to replace the target instruction content and its corresponding single-day automatic replacement start time according to the single-day automatic replacement start time; wherein the single-day automatic replacement start time is obtained by the following formula: Among them, T t Indicates the start time of automatic replacement in a single day; T t1 represents the time when the target replacement instruction appears for the first time; Tui represents the time when the target replacement instruction appears for the ith time; m represents the total number of target replacement instructions.
4. An intelligent lighting control system based on WIFI and Bluetooth connection, characterized in that: The intelligent lighting control system comprises: A control module, used to control the operation of the smart lamp by receiving a user's voice command, and to send the operation control information of the smart lamp to the cloud platform via a wifi and / or bluetooth module; A strategy generation module, used for the cloud platform to generate an intelligent light automatic control strategy according to the lamp operation control information of the intelligent light, and to perform automatic control of the intelligent light according to the intelligent light automatic control strategy; A strategy adjustment module, used to send the real-time situation of the automatic control of the smart light to the user terminal through the wifi and / or bluetooth module, and adjust the automatic control strategy of the smart light in combination with the real-time control information of the user terminal; Wherein, the strategy generation module includes: A target instruction acquisition module, which is used for extracting instruction content corresponding to the lamp control contained in the voice instruction information through the voice instruction information after the cloud platform receives the voice instruction information and the receiving time corresponding to the voice instruction information, and marking the voice instruction content as the target instruction content; A scheme acquisition module is used to monitor the appearance time of the target instruction content and the number of appearances of the same target instruction content in real time, and set the intelligent control scheme of the lamp according to the appearance time of the target instruction content and the number of appearances of the same target instruction content; Wherein, the solution acquisition module includes: The setting module is used to set the observation time range and instruction interval time of the target instruction content using a preset unit time; wherein the unit time is 24 hours; the observation time range and instruction interval time are obtained by the following formula: Among them, T c represents the instruction interval time, T0 represents the unit time; T represents the reference control time, wherein the reference control time ranges from 3 to 7 minutes; T y Represents the delay time of wireless communication theory; T w Indicates the theoretical time required for voice command conversion; T s It represents the average time interval between the issuance of voice commands and the execution response of smart lamps; Among them, T g Indicates the observation time range; T s0 Indicates the actual time interval between the latest voice command being issued and the smart lamp making an execution response; T y0 Indicates the actual delay duration of wireless communication; T w0 Indicates the actual time taken for voice command conversion; and the end time of the command interval is the start time of the observation time range; An appearance judgment module is used to judge whether the target instruction content is repeated at intervals according to the instruction interval time, and to judge whether the time when the target instruction content is repeated falls within the observation time range; A first counting module is used to count the target instruction content once when the time when the target instruction content repeatedly appears falls within the observation time range, so as to obtain the total number of times the target instruction content appears continuously; A time setting module, for setting a single-day automatic start time for the target instruction content according to the time when the target instruction content repeatedly appears when the total number of times the target instruction content appears continuously exceeds a preset first total threshold; The single-day automatic start time is obtained by the following formula: Among them, T q represents the automatic start time of a single day; n represents the total number of times the target instruction content appears continuously; T a Indicates the earliest time when the target instruction content appears continuously; T b Indicates the latest time when the target instruction content appears continuously; T ei It represents the corresponding time when the target instruction content appears for the i-th time during the continuous appearance of the target instruction content; T1 represents the corresponding time when the target instruction content appears for the first time.
5. The intelligent lighting control system according to claim 4, characterized in that: The control module comprises: A real-time receiving module, used for the smart lamp to receive the user's voice command information for lamp operation control in real time through the voice pickup device; An operation control module is used for the smart lamp to operate the lamp according to the voice command information, and send the received voice command information and the receiving time to the cloud platform via the wifi and / or bluetooth module.
6. The intelligent lighting control system according to claim 4, characterized in that: The solution acquisition module includes: A motion automatic control module, which is used for the cloud platform to periodically send target instruction content to the smart light through the wifi and / or Bluetooth module according to the acquired single-day automatic start time to control the smart light to perform corresponding operation; A display module, used for the cloud platform to send the operation information of the smart lamp to the user terminal for display; A change instruction sending module, which is used for, after the smart light is operated according to the target instruction content, if within a preset monitoring period, the smart light is controlled to perform an operation different from the target instruction content through a user terminal and / or a voice instruction in the room, the smart light sends a corresponding instruction content different from the target instruction content to the cloud platform through a wifi and / or Bluetooth module while performing the corresponding operation; a target replacement instruction acquisition module, configured for the cloud platform to mark the corresponding instruction different from the target instruction content after receiving the corresponding instruction content different from the target instruction content, and use it as the target replacement instruction; A second counting module is used to monitor the target replacement instructions daily and mark and count them once they appear within a preset monitoring period to obtain the total number of the target replacement instructions; The replacement adjustment module is used to set the daily automatic replacement start time of the target replacement instruction when the total number of the target replacement instructions exceeds the preset second total amount threshold, and replace the target instruction content and its corresponding daily automatic replacement start time according to the daily automatic replacement start time; wherein the daily automatic replacement start time is obtained by the following formula: Among them, T t Indicates the start time of automatic replacement in a single day; T t1 represents the time when the target replacement instruction appears for the first time; Tui represents the time when the target replacement instruction appears for the ith time; m represents the total number of target replacement instructions.
