Switch panel based on PLC communication technology, control method and medium
By adopting a control method based on PLC communication technology on the switch panel, automatically recording and adjusting user habits, the problem of excessive user settings is solved, and convenient user experience and high accuracy are achieved.
Patent Information
- Application Number
- CN202411743896.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-30
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-30
AI Technical Summary
In hotels or high-end apartments, it is too cumbersome for users to adjust the switch panel and temperature control panel that are equipped with card power withdrawal or iris recognition system, making it difficult to achieve a fast and convenient user experience.
The switch panel control method based on PLC communication technology is adopted, and user habits are automatically recorded by obtaining user settings and time data, and settings and adjustments are made according to user habits, and data correction and adaptive adjustment are performed using meteorological data and preset thresholds.
It realizes automatic recording and adjustment of user habits, reduces the cumbersomeness of user settings, improves user comfort and experience, and can adaptively adjust when user habits change, eliminates interference from sudden behaviors, and improves accuracy.
Smart Images

Figure CN119596742A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of switches, and in particular to a switch panel, a control method and a medium based on PLC communication technology. Background Art
[0002] In hotels or high-end apartments with high privacy, power is often drawn by card insertion or iris recognition to confirm the legitimacy of the user's identity. The switch panel and temperature control panel that match the card insertion are basically installed in every room to facilitate user operation. Because it is a panel, more aspects can be adjusted and controlled, but precisely because it is more detailed, it is more cumbersome for the user to set up. Summary of the invention
[0003] In order to improve the problem that user adjustment and control are too cumbersome, the present application provides a switch panel, a control method and a medium based on PLC communication technology.
[0004] The present application provides a control method for a switch panel based on PLC communication technology, which adopts the following technical solution: A control method for a switch panel based on PLC communication technology, comprising: Get user setting data and time data; Determine user habit data by using the user setting data and the time data; Determine and output a start control signal based on the user habit data and the time data; Determining correction data by using the user habit data, the user setting data, the time data and a preset correction threshold; The user habit data is corrected by using the correction data.
[0005] By adopting the above technical solution, user habits are automatically recorded and settings are automatically adjusted according to the user, which is convenient and fast and improves user comfort.
[0006] Optional, including: Get weather data; Determining meteorological rationality data through the user setting data, the meteorological data and a preset meteorological rationality threshold; Determine meteorological emergency data by using the user setting data and the meteorological rationality data; Determine a burst database through the meteorological burst data; The corresponding user setting data is transferred from the user habit data into a burst database through the meteorological burst data.
[0007] By adopting the above technical solution, the rationality of the user's settings can be automatically judged, so as to determine whether the user's behavior is sudden or the user's habits have changed, thereby eliminating the interference of sudden behavior on data judgment and improving accuracy.
[0008] Optional, including: Determine burst frequency data through the meteorological burst data, the user habit data and the burst database; The corresponding user setting data is transferred from the burst database to the user habit data through the burst number data, the preset test threshold and the meteorological burst data, and the meteorological test data is determined through the meteorological burst data and the user setting data; Determine meteorological test result data through the meteorological test data, the meteorological data and the user setting data; The new meteorological rationality threshold is determined by the meteorological test result data, the preset meteorological correction threshold and the original meteorological rationality threshold, and replaces the original meteorological rationality threshold to participate in the calculation.
[0009] By adopting the above technical solution, it is possible to automatically adapt when user habits change, achieve adaptive adjustment, which is convenient and fast, and further improve the user experience.
[0010] Optional, including: Determine dimensional analysis data based on the user habit data and a preset dimensional decomposition threshold; Determining user preference data through the dimensional analysis data and a preset dimensional analysis threshold; Determine the tendency preference data through the meteorological test result data, the meteorological test data, the dimension decomposition threshold and the dimension analysis threshold; Determine new user preference data by using the tendency preference data, the original user preference data and a preset preference adjustment threshold, and replace the original user preference data; New user habit data is determined by using the new user preference data, the dimension analysis threshold and the dimension decomposition threshold, and the original user habit data is replaced.
[0011] By adopting the above technical solution, by analyzing the preferences of user behavior, estimated adjustments can be made to further improve the user experience and reduce the delay of adaptation during the process of changing user habits.
[0012] Optional, including: Determine burst time interval data by using the time data and the meteorological test data; Determining preference change data by using the meteorological test data and a plurality of the burst time interval data; Determining estimated change time data using the preference change data; Determining estimated change habit data by using the preference change data and the user habit data; The estimated change habit data replaces the original user habit data at the estimated change time data.
[0013] By adopting the above technical solution, the efficiency of adaptation is improved.
[0014] Optional, including: Obtain standard custom data; Determine the interval data to be corrected by using the standard habit data and the user habit data; Determine and output correction habit data based on the correction interval data, the preset correction speed threshold and the user habit data; Acquire the user setting data, and determine callback data according to the user setting data and the correction habit data; Determine the new corrected habit data through the callback data, the preset callback threshold and the original corrected habit data, and output it after replacing the original corrected habit data; The user setting data is replaced by the new correction habit data.
[0015] By adopting the above technical solution, the user's bad habits can be corrected and the user experience can be improved.
[0016] The present application provides a switch panel based on PLC communication technology, which adopts the following technical solution: A switch panel based on PLC communication technology, comprising: A PTZ module, used to obtain and output the meteorological data through networking; An operation panel, used for the user to input operation, obtain the user setting data and output; A data processing module receives the meteorological data and the user setting data and performs data processing and calculation to obtain the user habit data and output it; The switch module performs switch control after receiving the user habit data.
[0017] By adopting the above technical solution, automatic adaptive control of related electrical appliances can be achieved according to user habits, thereby improving user experience.
[0018] The present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium stores a computer program that can be loaded by a processor and executes a control method for a switch panel based on a PLC communication technology.
[0019] By adopting the above technical solution, the computer program is stored in a computer-readable storage medium.
[0020] In summary, the present application includes at least one of the following beneficial technical effects: 1. Automatically record user habits and automatically adjust settings based on users, which is convenient and fast and improves user comfort.
[0021] 2. Adapt to changes in user habits.
[0022] 3. Assist users in correcting their bad habits. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flow chart of a control method of a switch panel based on PLC communication technology in an embodiment of the present application.
[0024] Figure 2 It is a flowchart of steps S2-S24.
[0025] Figure 3 It is a flowchart of steps S3-S33.
[0026] Figure 4 It is a flowchart diagram of steps S4-S44.
[0027] Figure 5 It is a flowchart diagram of steps S5-S54.
[0028] Figure 6 It is a flowchart diagram of steps S6-S65.
[0029] Figure 7 It is a module schematic diagram of a switch panel based on PLC communication technology in an embodiment of the present application.
[0030] Explanation of the accompanying drawings: 1. PTZ module; 2. Operation panel; 3. Data processing module; 4. Switch module. DETAILED DESCRIPTION
[0031] The following is combined with Figure 1-7 This application is described in further detail.
[0032] The present application embodiment discloses a control method of a switch panel based on PLC communication technology. Figure 1 , the control method of the switch panel based on PLC communication technology includes the following steps: S1. Obtain user setting data and time data; S11, determining user habit data through user setting data and time data; S12, determining a start control signal based on user habit data and time data and outputting the signal; S13, determining correction data according to user habit data, user setting data, time data and a preset correction threshold; S14. Correct the user habit data through the correction data.
[0033] Details: User setting data is data set and adjusted by the user himself, such as setting the air conditioner temperature to 24°, setting the wind speed to high, turning off the living room light, turning off the bedroom light, etc. Time data is the time when the user performs these operations. For example, at 18:00, the smart door lock detects that the user enters the door, indicating that the user has just returned home, and sets the air conditioner. At 22:00, the user turns off the living room light, indicating that the user moves from the living room to the bedroom to prepare for sleep. At 23:00, the user turns off the bedroom light, indicating that at this time point, the user goes to sleep. This is the user habit data, or it can be formed after the user performs the same operation multiple times at the same time. Then, according to the user habit data and the time data, for example, when the time data reaches 18:00, the air conditioner is automatically turned on and set to 24° and high wind speed. If the time data continuously obtains the user setting data of setting the air conditioner temperature to 26° in a short period of time, the correction data will be obtained, so as to correct the user habit data to set the air conditioner temperature to 26°. According to different internal correction thresholds, it may also be set to 25° first, and then corrected to 26° as the user continuously sets it to 26°.
[0034] Reference Figure 2 , further comprising the following steps: S2, obtaining meteorological data; S21, determining meteorological rationality data through user setting data, meteorological data and a preset meteorological rationality threshold; S22, determining meteorological emergency data through user setting data and meteorological rationality data; S23, determining a sudden emergency database through meteorological sudden emergency data; S24. Transferring corresponding user setting data from user habit data to a burst database through meteorological burst data.
[0035] Detailed: Meteorological data is obtained through the Internet and can be directly obtained from the official website of the local meteorological bureau. The meteorological rationality threshold indicates whether the user setting data is reasonable under the current meteorological data. For example, the current meteorological data is 38°, and the user sets the data to 30° for air conditioning and heating. This is judged to be unreasonable, and meteorological rationality data indicating unreasonableness is obtained. When the meteorological rationality data indicates unreasonableness, the user setting data is recorded as meteorological emergency data, and all meteorological emergency data are integrated into a emergency database, and the user setting data corresponding to this meteorological emergency data is removed from the user habit data.
[0036] Reference Figure 3 , further comprising the following steps: S3, determining the number of bursts through meteorological burst data, user habit data and burst database; S31, transferring the corresponding user setting data from the burst database into the user habit data through the burst number data, the preset test threshold and the meteorological burst data, and determining the meteorological test data through the meteorological burst data and the user setting data; S32, determining meteorological test result data through meteorological test data, meteorological data and user setting data; S33. Determine a new meteorological rationality threshold value through meteorological test result data, a preset meteorological correction threshold value and an original meteorological rationality threshold value, and replace the original meteorological rationality threshold value to participate in the calculation.
[0037] In detail: when a new meteorological emergency data is determined through step S22, the meteorological emergency data will be removed from the user habit data, and then the meteorological emergency data will be compared with the meteorological emergency data in the emergency database. If the same meteorological emergency data already exists in the emergency database, the burst number data corresponding to the meteorological emergency data will be increased by 1 and recorded in the burst database; if the test threshold is set to 3, then when the burst number data exceeds 3, it means that the user setting data may not be an emergency situation, but may be a reasonable situation, such as a change in user habits, then the meteorological emergency data corresponding to the burst number data will be copied from the burst database to the user habit data, participate in the calculation and output of the start control signal, and then use the meteorological emergency data as meteorological test data. When the same meteorological data is encountered next time, the meteorological test data will be used as the user The habit data outputs a corresponding start control signal, and then reads the user setting data. If it is detected that the user has not adjusted the settings at this time, the meteorological test result data indicating that the test has passed is output. If the user has made adjustments and it is detected that the user setting data has changed, the meteorological test data indicating that the test has failed is output. At this time, the meteorological emergency data is removed from the user's habitual data again to wait for the next time the emergency number data exceeds the test threshold, and steps S3-S33 are repeated again; when the meteorological test result data indicates that the test has passed, the meteorological rationality threshold is adjusted through the meteorological correction threshold, so that the meteorological test data corresponding to the meteorological test result data is within the judgment range of the new meteorological rationality threshold, so that the subsequent user setting data is within the range of the user's habitual data, and will not be judged as unreasonable meteorological emergency data.
[0038] Reference Figure 4 , further comprising the following steps: S4. Determine dimensional analysis data based on user habit data and preset dimensional decomposition thresholds; S41, determining user preference data through dimensional analysis data and a preset dimensional analysis threshold; S42, determining the tendency preference data through the meteorological test result data, the meteorological test data, the dimension decomposition threshold and the dimension analysis threshold; S43, determining new user preference data through the tendency preference data, the original user preference data and the preset preference adjustment threshold, and replacing the original user preference data; S44. Determine new user habit data through new user preference data, dimension analysis threshold and dimension decomposition threshold, and replace the original user habit data.
[0039] In detail: the user habit data is decomposed according to the dimensional decomposition threshold, for example, the temperature, wind speed, light on and off, etc. can be used to judge the digitization of the user's habits in dimensions such as perceived temperature, perceived wind speed, and eye adaptation to light brightness. After the habits are digitized, they are analyzed in combination with the dimensional analysis threshold. For example, the standard is that people feel comfortable in an environment with a light brightness of 3500 lumens. If the user's habit data is decomposed and analyzed to prefer a brightness of 3800 lumens, this is the user preference data; then when the meteorological test result data indicates that the test has passed, the corresponding meteorological test data is also decomposed and analyzed in multiple dimensions to obtain the tendency preference data, and then the tendency preference data is compared with the user preference data to obtain the difference, and then the user preference is adjusted according to the difference, and the adjustment ratio is the preference adjustment threshold, for example, it can be adjusted one to one, or two to one, or by other ratios. Finally, the adjusted user preference data is reversely restored to the user habit data through the dimensional analysis threshold and the dimensional decomposition threshold, and the adjusted user habit data replaces the original unadjusted user habit data.
[0040] Reference Figure 5 , further comprising the following steps: S5. Determine the burst time interval data through time data and meteorological test data; S51, determining preference change data through meteorological test data and multiple burst time interval data; S52, determining estimated change time data through the preference change data; S53, determining estimated change habit data through preference change data and user habit data; S54: Replace the original user habit data with the estimated change habit data at the estimated change time data.
[0041] In detail: the time interval between multiple meteorological test data is calculated through the time data corresponding to the meteorological test data, that is, the triggering interval of the same meteorological burst data is determined, which is the burst time interval data. If the multiple burst time interval data are 60h, 48h, and 36h, it can be simply obtained that the interval of each triggering meteorological test data is reduced by 12h, which is the preference change data. Then it can be obtained that the next time the same meteorological burst data is obtained is 24h later, which is the estimated change time data. The meteorological test data includes user habit data and meteorological burst data, and the preference change data compares the user habit data with the meteorological burst data to obtain the change between the user habit data and the meteorological burst data, which is the estimated change habit data. Combined with the estimated change time data, it can be obtained that the user habit data is changed to meteorological burst data for testing after 24h, that is, after 24h, the meteorological burst data replaces the original user habit data.
[0042] Reference Figure 6 , further comprising the following steps: S6. Obtain standard custom data; S61, determining the interval data to be corrected through the standard habit data and the user habit data; S62, determining and outputting correction habit data based on the correction interval data, the preset correction speed threshold and the user habit data; S63, obtaining user setting data, and determining callback data according to the user setting data and the correction habit data; S64, determining new correction habit data through the callback data, the preset callback threshold and the original correction habit data, and outputting the new correction habit data after replacing the original correction habit data; S65. Replace the user setting data with new correction habit data.
[0043] In detail: Standard habit data can be pre-set data representing good habits, such as getting up at 7 am and going to bed at 10 pm, etc., or it can be data set by the user's family. For example, if the user is weak, the family can set it to go to bed at 9 pm and get up at 8 am, and then based on these habits, it can be reversed to turn off the switches of bedroom lights, living room lights, curtains and other equipment at 9 o'clock. By comparing the set standard habit data with the user's current user habit data, the difference between the user habit and the standard can be obtained, which is the correction interval data, indicating that so many habits need to be corrected. The correction speed threshold is the speed of correcting the habit. If the user's family sets it for 2 months, that is, 60 days, then the correction speed that needs to be corrected every day is the correction interval data / 60, and if If it is more in line with the correction habit, 60 is substituted into the exponential function, that is, the correction speed starts slowly, and then gets faster and faster, that is, the initial correction speed can be correction interval data / 1000, and then gets faster and faster, and in the later stage it can reach the speed of correction interval data / 10. Combined with the user habit data, that is, the user habit data plus or minus the correction speed*time, the correction habit data can be obtained, and when the user controls the home appliances, the user setting data can be obtained. At this time, the user setting data is compared and calculated with the correction habit data to get the difference, which is the callback data. Then the callback data is compared and calculated with the correction habit data to get new correction habit data, and the proportion of this callback is the callback threshold, and then the user setting data is replaced with the correction habit data after the callback.
[0044] The present application embodiment discloses a switch panel based on PLC communication technology. Figure 7 The switch panel based on PLC communication technology includes a pan-tilt module 1, an operation panel 2, a data processing module 3, and a switch module 4. The pan-tilt module 1 is a module that can be connected to the Internet and obtain meteorological data, such as a network card with a crawler program. The operation panel 2 is a panel device for user operation. The user can input user setting data from the operation panel 2 to control various electrical equipment. The data processing module 3 includes a database and a processor. The database is used to store various threshold data, such as correction threshold, meteorological rationality threshold, dimensional decomposition threshold, dimensional analysis threshold, correction speed threshold and callback threshold. The processor is used to receive user setting data, meteorological data and standard habit data, etc., and after calling the corresponding threshold data from the database for data processing and calculation, the user habit data is obtained and then output.
[0045] The processor may include a central processing unit such as a CPU or MPU or a host system built around a CPU or MPU, including hardware or software. After the meter has a processor, people can freely control the metering instrument through programming to make it run according to people's wishes. The processor can control local measurement transmission, remote measurement transmission, remote communication, etc. through internal protocols. Internal protocols refer to all protocols that achieve mutual communication or links within the same metering instrument or the same system, including: human-computer interaction protocols, software / hardware (interface) protocols, chip bus (C-Bus) protocols, internal bus (I-Bus) protocols, etc. Part or all of the protocols. With the development of integrated circuit technology, some protocols that belong to the external bus (E-Bus) protocol are also classified as internal protocols after the external bus (E-Bus) is integrated into the chip.
[0046] The switch module 4 is used to control the on / off and power of various electrical devices, such as the on / off of the living room light, the power of the air conditioner, etc., and makes adjustments after receiving the user habit data output by the processor or the user setting data input by the user.
[0047] The present application embodiment discloses a computer-readable storage medium. Figure 1 The computer-readable storage medium stores a computer program that can be loaded by a processor and executes a control method for a switch panel based on PLC communication technology.
[0048] Computer-readable storage media include, for example, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0049] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A control method for a switch panel based on PLC communication technology, characterized in that: include: Get user setting data and time data; Determine user habit data through the user setting data and the time data; Determine and output a start control signal based on the user habit data and the time data; Determining correction data by using the user habit data, the user setting data, the time data and a preset correction threshold; The user habit data is corrected by using the correction data.
2. A control method for a switch panel based on PLC communication technology according to claim 1, characterized in that: include: Get weather data; Determining meteorological rationality data through the user setting data, the meteorological data and a preset meteorological rationality threshold; Determine meteorological emergency data by using the user setting data and the meteorological rationality data; Determine a burst database through the meteorological burst data; The corresponding user setting data is transferred from the user habit data into a burst database through the meteorological burst data.
3. A control method for a switch panel based on PLC communication technology according to claim 2, characterized in that: include: Determine burst frequency data through the meteorological burst data, the user habit data and the burst database; The corresponding user setting data is transferred from the burst database to the user habit data through the burst number data, the preset test threshold and the meteorological burst data, and the meteorological test data is determined through the meteorological burst data and the user setting data; Determine meteorological test result data through the meteorological test data, the meteorological data and the user setting data; The new meteorological rationality threshold is determined by the meteorological test result data, the preset meteorological correction threshold and the original meteorological rationality threshold, and replaces the original meteorological rationality threshold to participate in the calculation.
4. A control method for a switch panel based on PLC communication technology according to claim 3, characterized in that: include: Determine dimensional analysis data based on the user habit data and a preset dimensional decomposition threshold; Determining user preference data through the dimensional analysis data and a preset dimensional analysis threshold; Determine the tendency preference data through the meteorological test result data, the meteorological test data, the dimension decomposition threshold and the dimension analysis threshold; Determine new user preference data by using the tendency preference data, the original user preference data and a preset preference adjustment threshold, and replace the original user preference data; New user habit data is determined by using the new user preference data, the dimension analysis threshold and the dimension decomposition threshold, and the original user habit data is replaced.
5. A control method for a switch panel based on PLC communication technology according to claim 4, characterized in that: include: Determine burst time interval data by using the time data and the meteorological test data; Determining preference change data by using the meteorological test data and a plurality of the burst time interval data; Determining estimated change time data using the preference change data; Determining estimated change habit data by using the preference change data and the user habit data; The estimated change habit data replaces the original user habit data at the estimated change time data.
6. The control method of a switch panel based on PLC communication technology according to claim 1, characterized in that: include: Obtain standard custom data; Determine the interval data to be corrected by using the standard habit data and the user habit data; Determine and output correction habit data based on the correction interval data, the preset correction speed threshold and the user habit data; Acquire the user setting data, and determine callback data according to the user setting data and the correction habit data; Determine the new corrected habit data through the callback data, the preset callback threshold and the original corrected habit data, and output it after replacing the original corrected habit data; The user setting data is replaced by the new correction habit data.
7. A switch panel based on PLC communication technology, using the control method of a switch panel based on PLC communication technology according to claim 1, characterized in that: include: A pan / tilt module (1) is used to obtain the meteorological data through networking and output it; An operation panel (2) is used for a user to perform operation input, obtain the user setting data and output it; A data processing module (3) receives the meteorological data and the user setting data and performs data processing and calculation to obtain the user habit data and output it; A switch module (4) performs switch control after receiving the user habit data.
8. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute a control method for a switch panel based on PLC communication technology as claimed in any one of claims 1 to 6.
Citation Information
Patent Citations
Algorithm for finding rare environmental monitoring data combination mode based on clustering analysis
CN104598514A
Air conditioner control parameter determining device and method, air conditioner and server
CN106196433A
Control method and system of air conditioner, readable storage medium and air conditioner
CN110500729A
Intelligent window control method and system
CN114135185A
Temperature control method and device, medium and product
CN114442697A