Socket control system based on smart home internet of things

By using the verification unit of the smart home IoT socket control system to determine the qualification of socket control and optimize parameters, the problem of low accuracy of socket command recognition is solved, and real-time monitoring of socket control and rapid elimination of non-compliance reasons are realized, thus improving the user experience.

CN121348814BActive Publication Date: 2026-06-26ZHONGSHAN BAOLIJIN ELECTRONICS

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHONGSHAN BAOLIJIN ELECTRONICS
Filing Date
2025-10-20
Publication Date
2026-06-26

Smart Images

  • Figure CN121348814B_ABST
    Figure CN121348814B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of data transmission, in particular to a socket control system based on an intelligent home Internet of Things, which comprises a central control unit used for centrally receiving instructions, an identification unit used for identifying characteristic information of the instructions, a conversion unit used for converting the identified instructions into corresponding electric signals, a transmission unit used for transmitting the electric signals, a smart socket used for receiving the electric signals and performing corresponding operations based on the received electric signals, and a checking unit used for determining whether control of the socket is qualified according to the running state of the smart device and determining unqualified reasons for unqualified cases. The application effectively improves the sensitivity of the socket control system to instruction perception.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data transmission technology, and in particular to a socket control system based on the Internet of Things for smart homes. Background Technology

[0002] Intelligent socket control is increasingly used in home energy management, device linkage, and security monitoring. Traditional socket control methods typically suffer from rigid control modes, lack of scene awareness, insufficient energy efficiency optimization, and delayed response to anomalies, severely impacting the user experience. Especially in complex home environments, data transmission delays, packet loss, and poor compatibility between heterogeneous devices lead to asynchronous control commands. Furthermore, the low accuracy of heterogeneous device command recognition further reduces response sensitivity and control precision. Therefore, developing a socket control system based on the Internet of Things (IoT) for smart homes to enhance the timeliness and accuracy of socket control, thereby improving overall system energy efficiency and user satisfaction, is a crucial technical problem that urgently needs to be solved by those skilled in the art.

[0003] Chinese Patent No. CN106936035A discloses a smart energy-saving socket, comprising: a socket body, which includes a controller, a power circuit, a switch module, sensors, a wireless communication module, an energy metering device, and an alarm module; it also includes a smart gateway, through which the socket connects to a server; the socket connects to a smart terminal via a wireless network; the socket also includes an exhaust fan; the controller is a microcontroller; the sensors include a temperature sensor and a humidity sensor; the switch module includes a relay; the alarm module is an audible and visual alarm module; and the smart terminal is a smartphone. This invention achieves the calculation of electrical appliance power consumption using an energy meter, while simultaneously using sensors to detect the temperature and humidity inside the socket. Exceeding set thresholds triggers an alarm and power cut-off to prevent leakage. However, this solution fails to consider the low accuracy of smart sockets in recognizing different commands during practical use, resulting in poor smart control performance. Summary of the Invention

[0004] Therefore, the present invention provides a socket control system based on the Internet of Things for smart homes, which overcomes the problem of poor smart control effect of sockets due to the lack of consideration for the low accuracy of smart socket recognition of different commands in actual use.

[0005] To achieve the above objectives, the present invention provides a socket control system based on the Internet of Things for smart homes, comprising:

[0006] The central control unit is used to centrally receive instructions;

[0007] An identification unit, which is connected to the central control unit, is used to identify the characteristic information of the command;

[0008] The conversion unit is connected to the central control unit and the identification unit respectively, and is used to convert the identified instructions into corresponding electrical signals;

[0009] A transmission unit, which is connected to the conversion unit, is used to transmit electrical signals;

[0010] A smart socket, which is connected to the transmission unit, is used to receive electrical signals and perform corresponding operations based on the received electrical signals;

[0011] The verification unit is connected to the transmission unit and each terminal installed on the smart socket, and is used to determine whether the control of the socket is qualified according to the operating status of the smart device, and to determine the reason for the failure if it is not qualified.

[0012] Furthermore, the verification unit is also used to determine whether the socket control is qualified based on the running delay, and, if the socket control is determined to be unqualified, to determine the reason for the unqualification based on whether there are any abnormal conditions during the detection period.

[0013] Furthermore, the verification unit is also used to determine the cause of the socket control failure based on the abnormal conditions during the detection period, and to optimize the extraction parameters of the feature by the identification unit according to the determined cause, or to optimize the transmission parameters in the process of electrical signal transmission, wherein the extraction parameters include the harmonic noise ratio and the transmission parameters include the signal amplification factor.

[0014] Furthermore, the verification unit is also used to adjust the speech recognition efficiency based on the increase of beamwidth, and the speech recognition efficiency is positively correlated with the beamwidth.

[0015] Furthermore, the transmission unit is also used to determine the signal amplification factor of the transmission unit based on the signal gain;

[0016] The signal gain is the ratio of the output signal amplitude to the input signal amplitude;

[0017] The signal amplification factor and signal gain are negatively correlated.

[0018] Furthermore, the verification unit is also used to correct the signal amplification factor based on the historical average delay, and the reduction in the signal amplification factor is positively correlated with the historical average delay.

[0019] Furthermore, the verification unit is also used to respond to the first preset condition by determining, based on the comparison result of the average delay of the associated device and the preset average delay of the associated device, that the reason for the socket being unqualified is that the socket has a hardware fault and issuing a socket replacement notification, or that the router has a load problem and adjusting the bandwidth.

[0020] The first preset condition is that the signal amplification factor has been adjusted and the socket control is unqualified.

[0021] Furthermore, the verification unit is also used to determine whether to adjust the bandwidth based on the average delay difference of the associated devices in response to the second preset condition.

[0022] The bandwidth adjustment range is positively correlated with the average latency difference of the associated devices;

[0023] The average delay difference of the associated devices is the difference between the average delay of the associated devices and the preset average delay of the associated devices;

[0024] The second preset condition is that the socket replacement is completed.

[0025] Furthermore, the verification unit is also used to correct the router bandwidth based on the average variance of the delay of each associated device, and the increase in bandwidth is positively correlated with the average variance of the delay of each associated device.

[0026] Furthermore, the verification unit is also used to re-detect the running delay in response to a third preset condition. If the running delay is greater than the preset running delay, the socket control is determined to be unqualified and an upgrade notification is issued. If the running delay is less than or equal to the preset running delay, the socket control is determined to be qualified.

[0027] The third preset condition is that the router bandwidth adjustment and correction is completed.

[0028] Compared with the prior art, the beneficial effects of the present invention are that the present invention determines whether the control of the socket is qualified based on the operating status of the smart device through the verification unit, and determines the cause of the failure based on the failure situation. It can complete the judgment of whether the socket control system meets the user's needs in a timely and efficient manner, effectively realize the real-time monitoring of the socket control system, and determine the cause of failure based on whether there are abnormal conditions during the detection period. Based on the determined cause of failure, a corresponding adjustment mode is generated. The adjustment parameters include signal amplification factor and bandwidth. This further enables the rapid elimination of the cause of socket control failure while further improving the sensitivity of socket control command perception.

[0029] Furthermore, this invention determines whether the socket control is qualified by comparing the running delay with the preset running delay, thereby quickly determining whether the socket control is qualified, thus improving the efficiency of determining whether the socket control is qualified. In turn, when the socket is unqualified, the cause analysis can be performed quickly, thereby improving the accuracy and efficiency of determining the cause of unqualification.

[0030] Furthermore, by determining the cause of non-compliance based on whether there are abnormal conditions during the detection period, the present invention can more accurately analyze the cause of socket control non-compliance based on abnormal conditions during the detection period, thereby improving the accuracy of non-compliance cause determination and thus improving the sensitivity of socket control command perception.

[0031] Furthermore, by adjusting the speech recognition efficiency based on increasing the beamwidth, this invention avoids the problem of low recognition accuracy leading to unqualified socket control systems during speech recognition, thereby improving the accuracy of determining the cause of unqualified behavior and thus improving the sensitivity of socket control command perception.

[0032] Furthermore, by correcting the signal amplification rate during the electrical signal transmission process through signal gain, this invention can more accurately adjust the signal amplification rate, avoiding the problem of unreasonable signal amplification rate settings during electrical signal transmission in actual scenarios, which would lead to a waste of signal transmission resources. This not only further enables the rapid elimination of reasons for socket control failures, but also further improves the sensitivity of socket control command perception.

[0033] Furthermore, by correcting the signal amplification factor based on historical average delay, this invention further ensures the adjustment accuracy of the signal amplification factor. While achieving precise control of the signal amplification factor, it also further enables the rapid elimination of reasons for socket control failure and further improves the sensitivity of socket control command perception.

[0034] Furthermore, the verification unit provided in this invention is also used to determine the cause of socket failure based on the comparison result between the average delay of associated devices and the preset average delay of associated devices. It can more accurately analyze the cause of socket control failure based on the average delay of associated devices, thereby improving the accuracy of failure cause determination and improving the sensitivity of socket control command perception.

[0035] Furthermore, the verification unit set in this invention is also used to determine the reason for the socket failure as a router overload problem based on the comparison result between the corrected average delay of the associated device and the preset average delay of the associated device, and adjust the bandwidth based on the difference in average delay of the associated device. This can timely and accurately determine the reason for the socket failure, further realizing the rapid elimination of the reasons for the socket control failure, and further improving the sensitivity of the socket control command perception.

[0036] Furthermore, the verification unit set in this invention is also used to correct the router bandwidth based on the average variance of the delay of each associated device, which further ensures the adjustment accuracy of the router bandwidth. While further realizing precise control of the router bandwidth, it also further realizes the rapid elimination of the cause of socket control failure, and further improves the sensitivity of socket control command perception.

[0037] Furthermore, the verification unit set in this invention is also used to re-detect the running delay after the router bandwidth adjustment and correction is completed, and to determine whether the socket system is qualified based on the comparison result of the running delay and the preset running delay. For unqualified socket systems, an upgrade version notification is directly issued, which further ensures real-time monitoring of the socket system and avoids the problem of invalid adjustment. While further realizing the rapid elimination of the reasons for the socket control failure, it also further improves the sensitivity of the socket control command perception. Attached Figure Description

[0038] Figure 1 This is a unit connection diagram of the socket control system based on the Internet of Things for smart homes according to the present invention;

[0039] Figure 2 This is a flowchart illustrating the steps of the socket control method based on the Internet of Things in smart homes according to the present invention.

[0040] Figure 3 This is a flowchart illustrating the process of determining whether socket control is qualified based on the comparison result between the running delay and the preset running delay in this invention.

[0041] Figure 4 This is a flowchart illustrating the process of determining the reasons for socket failure based on a comparison between the average delay of associated devices and a preset average delay of associated devices, according to the present invention. Detailed Implementation

[0042] To make the objectives and advantages of the present invention clearer, the present invention will be further described below with reference to embodiments; it should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.

[0043] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.

[0044] It should be noted that in the description of this invention, the terms "upper", "lower", "left", "right", "inner", "outer", etc., which indicate directions or positional relationships, are based on the directions or positional relationships shown in the accompanying drawings. This is only for the convenience of description and is not intended to indicate or imply that the device or element must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation of this invention.

[0045] Furthermore, it should be noted that, in the description of this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0046] Please see Figure 1 The diagram shown is a unit connection diagram of a socket control system based on the Internet of Things for smart homes according to an embodiment of the present invention. The system of this embodiment includes a central control unit, an identification unit, a conversion unit, a transmission unit, a smart socket, and a verification unit, wherein:

[0047] The central control unit is used to centrally receive instructions;

[0048] The identification unit is connected to the central control unit and is used to identify the characteristic information of the command;

[0049] The conversion unit is connected to the central control unit and the identification unit respectively, and is used to convert the identified instruction into a corresponding electrical signal.

[0050] The transmission unit is connected to the conversion unit and is used to transmit electrical signals;

[0051] The smart socket is connected to the transmission unit to receive electrical signals and perform corresponding operations based on the received electrical signals.

[0052] The verification unit is connected to the transmission unit and each terminal installed on the smart socket, and is used to determine whether the control of the socket is qualified according to the operating status of the smart device, and to determine the reason for the failure if it is not qualified.

[0053] The central control unit receives voice commands issued by the target user, and the recognition unit identifies the characteristic information of the commands, including the frequency characteristics of the voice and the beamwidth.

[0054] Please see Figure 2The diagram shows a flowchart of the steps in a socket control method based on the Internet of Things (IoT) for smart homes according to an embodiment of the present invention. In operation, the socket control system based on the IoT for smart homes according to this embodiment comprises: a central control unit for centrally receiving instructions; an identification unit connected to the central control unit for identifying the characteristic information of the instructions; a conversion unit connected to both the central control unit and the identification unit for converting the identified instructions into corresponding electrical signals; a transmission unit connected to the conversion unit for transmitting the electrical signals; a smart socket connected to the transmission unit for receiving the electrical signals and performing corresponding operations based on the received signals; and a verification unit connected to the transmission unit and each terminal installed on the smart socket for determining whether the control of the socket is qualified based on the operating status of the smart device, and determining the reason for any failures.

[0055] Specifically, the verification unit described in this embodiment of the invention is used to determine whether the socket control is qualified based on the running delay, and, if the socket control is determined to be unqualified, to determine the reason for the unqualification based on whether there are any abnormal conditions during the detection period.

[0056] Specifically, in this embodiment, the operation delay is the difference between the time point when the device performs the expected operation and the time point when the first instruction is output. The time point when the target user's single instruction expression ends is recorded as the time point when the first instruction is output, and the time point when the device accurately recognizes the instruction and executes the correct action is recorded as the time point when the device performs the expected operation. In this embodiment, the preset operation delay T0 = 8s. The comparison result between the operation delay T0 and the preset operation delay T0 is as follows:

[0057] If the running delay is greater than the preset running delay T0, the socket control is deemed unqualified and the reason for the unqualification is determined based on whether there are any abnormal conditions during the testing period.

[0058] If the running delay is less than or equal to the preset running delay T0, the socket control is deemed qualified.

[0059] The device is a single socket or a smart device connected to a single socket in a socket;

[0060] The preset running delay value is not limited to this, and those skilled in the art can adjust the value according to actual needs.

[0061] Specifically, the verification unit described in this embodiment of the invention is also used to determine the reason for the failure of the socket control based on whether there is an abnormality during the detection period. If there is an abnormality, the reason for the failure is determined to be a problem with the identification unit and the extraction parameters of the identification unit for the features are optimized. Alternatively, if there is no abnormality, the reason for the failure is determined to be a data transmission problem and the transmission parameters during the electrical signal transmission process are optimized.

[0062] Specifically, in this embodiment, the abnormal situation is that the smart device does not perform the expected operation as instructed. The process of determining the reason for the socket control failure based on whether there is an abnormal situation during the detection period is as follows:

[0063] If any abnormalities are found during the detection process, the reason for the failure is determined to be a problem with the recognition unit, and the feature extraction parameters of the recognition unit are optimized.

[0064] If no abnormalities are found during the testing period, the cause of non-compliance is determined to be a data transmission problem, and the transmission parameters in the electrical signal transmission process are optimized.

[0065] Specifically, the verification unit described in this embodiment of the invention is also used to adjust the speech recognition efficiency based on the increase of beamwidth, wherein the speech recognition efficiency is positively correlated with the beamwidth.

[0066] Specifically, in this embodiment, if the beamwidth is greater than the second preset beamwidth ΔC2 set in the transmission unit, the transmission unit increases the recognition efficiency to 1.3 times the initial recognition efficiency, wherein, in this embodiment, the second preset beamwidth ΔC2 = 6;

[0067] If the beamwidth is less than or equal to the second preset beamwidth ΔC2 and greater than the first preset beamwidth ΔC1 set in the transmission unit, the transmission unit increases the recognition efficiency to 1.21 times the initial recognition efficiency, wherein, in this embodiment, the first preset beamwidth ΔC1 = 2;

[0068] If the beamwidth is less than or equal to the first preset beamwidth ΔC1 set in the transmission unit, the transmission unit increases the recognition efficiency to 1.12 times the initial recognition efficiency;

[0069] In this invention, all beamwidths are less than the optimal beamwidth. The method for determining the optimal beamwidth can be adaptively set by the user according to actual application needs. It is understood that the larger the beamwidth, the higher the recognition accuracy may be, but the greater the computational cost and the slower the speed, which in turn affects the speech recognition efficiency. This invention provides a method for determining the optimal beamwidth by detecting the beamwidth in historical data that meets the user's needs, filtering out outliers, and recording the average beamwidth after removing outliers as the optimal beamwidth. The outlier removal method includes, but is not limited to, the 3σ criterion method or the IQR method.

[0070] Specifically, the verification unit described in this embodiment of the invention is also used to determine the signal amplification factor based on the signal gain during the data transmission optimization process;

[0071] The signal gain = output signal amplitude / input signal amplitude;

[0072] The signal amplification factor and signal gain are negatively correlated.

[0073] Specifically, in this embodiment, the process of determining the signal amplification factor based on the signal gain is as follows:

[0074] If the signal gain is greater than the second preset signal gain ΔD2 set in the transmission unit, the verification unit increases the signal amplification factor to 1.5 times the initial signal amplification factor F0, wherein, in this embodiment, the second preset signal gain ΔD2 = 0.5;

[0075] If the signal gain is less than or equal to the second preset signal gain ΔD2 set in the transmission unit and greater than the first preset signal gain ΔD1 set in the transmission unit, the verification unit increases the signal amplification factor to 3.16 times the initial signal amplification factor F0, wherein, in this embodiment, the first preset signal gain ΔD1 = 0.01;

[0076] If the signal gain is less than or equal to the first preset signal gain ΔD1 set in the transmission unit, the verification unit increases the signal amplification factor to 10 times the initial signal amplification factor F0;

[0077] In this embodiment of the invention, the initial signal amplification factor F0 = 30;

[0078] The values ​​of the initial signal amplification factor, the first preset signal gain, the second preset signal gain, and the increase in the signal amplification factor are not limited to these. Those skilled in the art can adjust the values ​​according to actual needs.

[0079] Specifically, the verification unit described in this embodiment of the invention is also used to correct the signal amplification factor based on the historical average delay, and the reduction in the signal amplification factor is positively correlated with the historical average delay.

[0080] Specifically, in this embodiment, the operating delay of the socket system in the historical records that meet user needs is detected, and the average value of the operating delay is recorded as the historical average delay. The process of correcting the signal amplification factor based on the historical average delay is as follows:

[0081] If the historical average delay is greater than the second preset historical average delay △A2 set in the transmission unit, the verification unit reduces the signal amplification factor to 0.851 of the adjusted signal amplification factor, wherein, in this embodiment, the second preset historical average delay △A2 = 6s;

[0082] If the historical average delay is less than or equal to the second preset historical average delay ΔA2 and greater than the first preset historical average delay ΔA1 set in the transmission unit, the verification unit reduces the signal amplification factor to 0.796 of the adjusted signal amplification factor. In this embodiment, the first preset historical average delay ΔA1 = 3s.

[0083] If the historical average delay is less than or equal to the first preset historical average delay ΔA1 set in the transmission unit, the verification unit will reduce the signal amplification factor to 0.762 times the adjusted signal amplification factor.

[0084] The maximum signal amplification factor can be corrected to 0.95-0.98 of the initial signal amplification factor;

[0085] The values ​​of the first preset historical average delay, the second preset historical average delay, and the reduction in signal amplification factor are not limited to these, and those skilled in the art can adjust these values ​​according to actual needs.

[0086] Specifically, the verification unit described in this embodiment of the invention is further used to respond to a first preset condition by determining the reason for the socket's failure based on a comparison result between the average delay of the associated devices and a preset average delay of the associated devices. If the average delay of the associated devices is less than or equal to the preset average delay of the associated devices, the reason for the socket's failure is determined to be a hardware fault in the socket, and a socket replacement notification is issued. Alternatively, if the average delay of the associated devices is greater than the preset average delay of the associated devices, the reason for the socket's failure is determined to be a router load problem, and the bandwidth is adjusted. The average delay of the associated devices is the historical average delay of other smart devices connected to the target socket. The first preset condition is that the signal amplification factor has been adjusted and the socket control is unqualified.

[0087] Specifically, in this embodiment, the associated devices are other smart home devices that share the same network as the target smart socket. The preset average latency of the associated devices is S0=3.8s. The process of determining the reason for the socket's failure based on the comparison between the average latency of the associated devices and the preset average latency of the associated devices is as follows:

[0088] If the average delay of the associated device is greater than the preset average delay of the associated device S0, the socket is determined to be defective due to router load issues and the bandwidth is adjusted.

[0089] If the average delay of the associated device is less than or equal to the preset average delay of the associated device S0, the socket is determined to be unqualified because the socket has a hardware fault and a socket replacement notice is issued.

[0090] The value of the average delay of the preset associated devices is not limited to this, and those skilled in the art can adjust this value according to actual needs.

[0091] Specifically, the verification unit in this embodiment is also used to re-detect the adjusted average latency of the associated devices in response to the second preset condition. If the average latency of the associated devices is greater than the preset average latency of the associated devices, the socket is determined to be unqualified because of router overload, and the bandwidth is adjusted based on the difference in the average latency of the associated devices. The adjustment range of the bandwidth is positively correlated with the difference in the average latency of the associated devices. The difference in the average latency of the associated devices is the difference between the average latency of the associated devices and the preset average latency of the associated devices. The second preset condition is that the socket replacement is completed.

[0092] Specifically, in this embodiment, the initial bandwidth K0 = 500Mbps, and the bandwidth is adjusted based on the average latency difference of the associated devices as follows:

[0093] If the average latency difference of the associated devices is greater than the second preset average latency difference ΔK2 set in the verification unit, the verification unit increases the bandwidth to 1.215 times the initial bandwidth. In this embodiment, the second preset average latency difference ΔK2 = 0.812s.

[0094] If the average latency difference of the associated devices is less than or equal to the second preset average latency difference of the associated devices △K2 and greater than the first preset average latency difference of the associated devices △K1 set in the verification unit, the verification unit increases the bandwidth to 1.104 times the initial bandwidth, wherein, in this embodiment, the first preset historical average latency △K1 = 0.521s;

[0095] If the average latency difference of the associated devices is less than or equal to the first preset average latency difference of the associated devices △K1 set in the verification unit, the verification unit will increase the bandwidth to 1.035 times the initial bandwidth.

[0096] The values ​​of the initial bandwidth, the average latency difference of the first preset associated device, the average latency difference of the second preset associated device, and the increase in bandwidth are not limited to these. Those skilled in the art can adjust these values ​​according to actual needs.

[0097] Specifically, the verification unit described in this embodiment is also used to correct the router bandwidth based on the average variance of the delay of each associated device, and the increase in bandwidth is positively correlated with the average variance of the delay of each associated device.

[0098] Specifically, in this embodiment, the process of correcting the router bandwidth based on the average variance of the delays of each associated device is as follows:

[0099] If the average variance is greater than the second preset average variance ΔQ2 set in the verification unit, the bandwidth increase is 0.212 times the adjusted bandwidth, wherein, in this embodiment, the second preset average variance ΔQ2 = 2.109;

[0100] If the average variance is less than or equal to the second preset average variance ΔQ2 and greater than the first preset average variance ΔQ1 set in the verification unit, the bandwidth increase is 0.095 times the adjusted bandwidth, wherein, in this embodiment, the first preset average variance ΔQ1 = 0.984;

[0101] If the average variance is less than or equal to the first preset average variance ΔQ1 set in the verification unit, the bandwidth increase is 0.033 times the adjusted bandwidth.

[0102] The values ​​of the first preset average variance, the second preset average variance, and the increase in bandwidth are not limited to these, and those skilled in the art can adjust these values ​​according to actual needs.

[0103] Specifically, the verification unit described in this embodiment is also used to re-detect the running delay in response to a third preset condition. If the running delay is greater than the preset running delay, the socket control is determined to be unqualified and an upgrade notification is issued. If the running delay is less than or equal to the preset running delay, the socket control is determined to be qualified. The third preset condition is that the router bandwidth adjustment correction is completed.

[0104] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.

[0105] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A socket control system based on the Internet of Things for smart homes, characterized in that, include: The central control unit is used to centrally receive instructions; An identification unit, which is connected to the central control unit, is used to identify the characteristic information of the command; The conversion unit is connected to the central control unit and the identification unit respectively, and is used to convert the identified instructions into corresponding electrical signals; A transmission unit, which is connected to the conversion unit, is used to transmit electrical signals; A smart socket, which is connected to the transmission unit, is used to receive electrical signals and perform corresponding operations based on the received electrical signals; A verification unit, which is connected to the transmission unit and each terminal set on the smart socket, is used to determine whether the control of the socket is qualified according to the operating status of the smart device, and to determine the reason for the failure if it is not qualified. The verification unit is also used to determine whether the socket control is qualified based on the running delay, and, if the socket control is determined to be unqualified, to determine the reason for the unqualification based on whether there are any abnormal conditions during the detection period. The verification unit is also used to determine the reason for the socket control failure based on the abnormal conditions during the detection period, and to optimize the extraction parameters of the feature by the identification unit according to the determined reason, or to optimize the transmission parameters in the process of electrical signal transmission, wherein the extraction parameters include beamwidth and the transmission parameters include signal amplification factor. The verification unit is also used to adjust the speech recognition efficiency based on the increase of beamwidth, and the speech recognition efficiency is positively correlated with the beamwidth. The verification unit is also used to determine the signal amplification factor of the transmission unit based on the signal gain; The signal gain is the ratio of the output signal amplitude to the input signal amplitude; The signal amplification factor and the signal gain are negatively correlated. The verification unit is also used to respond to the first preset condition by determining, based on the comparison result of the average delay of the associated device and the preset average delay of the associated device, that the reason for the socket being unqualified is that the socket has a hardware fault and issuing a socket replacement notification, or that the router has a load problem and adjusting the bandwidth. The first preset condition is that the signal amplification factor has been adjusted and the socket control is unqualified.

2. The socket control system based on smart home IoT as described in claim 1, characterized in that, The verification unit is also used to correct the signal amplification factor based on the historical average delay, and the reduction in the signal amplification factor is positively correlated with the historical average delay.

3. The socket control system based on smart home IoT according to claim 1, characterized in that, The verification unit is also used to respond to the second preset condition by determining whether to adjust the bandwidth based on the average delay difference of the associated devices according to the average delay of the re-detected associated devices. The bandwidth adjustment range is positively correlated with the average latency difference of the associated devices; The average delay difference of the associated devices is the difference between the average delay of the associated devices and the preset average delay of the associated devices; The second preset condition is that the socket replacement is completed.

4. The socket control system based on the Internet of Things for smart homes according to claim 3, characterized in that, The verification unit is also used to correct the router bandwidth based on the average variance of the delay of each associated device, and the increase in bandwidth is positively correlated with the average variance of the delay of each associated device.

5. The socket control system based on the Internet of Things for smart homes according to claim 4, characterized in that, The verification unit is also used to re-detect the running delay in response to a third preset condition. If the running delay is greater than the preset running delay, the socket control is determined to be unqualified and an upgrade notification is issued. If the running delay is less than or equal to the preset running delay, the socket control is determined to be qualified. The third preset condition is that the router bandwidth adjustment and correction is completed.