Household appliance control method and system based on USB socket
By building a smart socket home appliance control model, using sensing parameters, sound control parameters and environmental parameters, the problem that smart sockets cannot control traditional home appliances is solved, intelligent and precise management of home appliances is realized, and the smart home experience is improved.
Patent Information
- Application Number
- CN202510012305.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-04-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing smart sockets cannot effectively control traditional home appliances, and environmental information collection is inaccurate, affecting the smart home experience.
By obtaining sensing parameters, sound control parameters and indoor environment parameters, the characteristic processing is carried out to build an intelligent socket home appliance control model to achieve intelligent and precise management of home appliances.
It realizes intelligent control of traditional home appliances, improves the accuracy and rationality of control, and improves the user experience of smart homes.
Smart Images

Figure CN119861632A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of smart home, and in particular relates to a method and system for controlling household appliances based on a USB socket. Background Art
[0002] With the development of smart technology and Internet of Things technology, people have also put forward requirements for smart homes. As a user's power access terminal product, smart sockets will surely become a breakthrough point for smart homes and smart electricity use to enter ordinary families. At present, most smart sockets only have wireless communication and relay on-off control capabilities, with fewer functions and low intelligence. Moreover, as smart sockets, they can only control smart home devices, but cannot perform intelligent control on traditional home appliances. At the same time, the environmental information that can be collected by current smart USB sockets is inaccurate and the types are limited. Users cannot accurately and reasonably adjust the socket access devices and other smart home products according to the home environment, affecting the smart home experience. It can be seen that the existing technology has the following problems:
[0003] First of all, traditional home appliances cannot be controlled intelligently, and the control is unreasonable and inaccurate. The control of traditional home appliances is limited to voice control. The relevant data of the USB sockets connected to the furniture are not well utilized, and there is no mature USB socket intelligent control model to realize the control of networked furniture in the house. Summary of the invention
[0004] In order to solve the above technical problems, the present invention proposes a household appliance control method and system based on a USB socket.
[0005] In a first aspect of the present invention, a method for controlling a household appliance based on a USB socket is provided, wherein the method comprises:
[0006] Acquire a first sensing parameter and a first audio control parameter, collect a first indoor environment parameter, and perform feature processing on the first sensing parameter to obtain a first socket sensing parameter;
[0007] Acquire the first socket sensing parameter, the first audio control parameter, and the first indoor environment parameter and process them to obtain a first smart home control feature;
[0008] Acquire the first smart home control feature and a first home appliance control method corresponding to the historical home state of the smart socket, and construct a smart socket home appliance control model according to the first smart home control feature and the first home appliance control method;
[0009] Acquire a second sensor parameter and a second audio control parameter, collect a second indoor environment parameter, and perform feature processing on the second sensor parameter to obtain a second socket sensor parameter; receive the second socket sensor parameter, the second audio control parameter, and the second indoor environment parameter and process them to obtain a second smart home control feature;
[0010] The second smart home control feature is input into the smart socket home appliance control module to obtain a second home appliance control method, and the working status of the customer's home appliances is controlled in real time according to the second home appliance control method to perform intelligent and precise management of the home appliances.
[0011] Furthermore, the first sensing parameter or the second sensing parameter is obtained through a socket temperature sensor, a socket gas sensor, and a current sensor.
[0012] Furthermore, the first audio control parameter or the second audio control parameter is obtained through a home appliance with a microphone connected to the indoor Internet, and the voice on / off setting is obtained according to the microphone. If it is on, the characteristic value is set to 1, and if it is off, the characteristic value is set to 0.
[0013] Furthermore, the first indoor environmental parameter or the second indoor environmental parameter is obtained through the indoor Internet, specifically including temperature, humidity and PM2.5 concentration.
[0014] Furthermore, the first sensing parameter is corrected by the first indoor environment parameter to obtain a first socket sensing parameter, and is processed with the first audio control parameter and the first indoor environment parameter to obtain the first smart home control feature, and the second sensing parameter is corrected by the second indoor environment parameter to obtain a second socket sensing parameter, and is processed with the second audio control parameter and the second indoor environment parameter to obtain the second smart home control feature.
[0015] Furthermore, the correction coefficients of the socket temperature, the gas concentration in the socket and the socket current are obtained by processing the temperature, humidity and PM2.5 concentration obtained from the Internet.
[0016] Furthermore, the smart socket home appliance control model is an SVM classifier model improved based on the correction coefficient, the first smart home control feature is obtained by horizontally splicing the corrected first socket sensor parameters, the first audio control parameters and the first indoor environment parameters, and the second smart home control feature is obtained by horizontally splicing the corrected second socket sensor parameters, the second audio control parameters and the second indoor environment parameters.
[0017] A home appliance control system based on a USB socket is also provided, comprising a sensor device detection module, a voice judgment function module, a socket Wi fi networking module, a sensor parameter processing module, a home control feature processing module and a smart socket home appliance control module, characterized in that:
[0018] The sensor device detection module: obtains a first sensing parameter of the USB socket, and also obtains a second sensing parameter of the USB socket;
[0019] The voice judgment function module: performs networking processing and networking with the smart furniture with a microphone to obtain the first voice control parameter and the second voice control parameter;
[0020] The socket Wi-Fi networking module is connected to the furniture through the indoor Wi-Fi to perform data transmission, collect the first indoor environmental parameter, and also collect the second indoor environmental parameter;
[0021] The sensing parameter processing module performs feature processing on the first sensing parameter to obtain a first socket sensing parameter, and also performs feature processing on the second sensing parameter to obtain a second socket sensing parameter;
[0022] The home control feature processing module receives the first socket sensor parameter, the first audio control parameter and the first indoor environment parameter and processes them to obtain a first smart home control feature; and also receives the second socket sensor parameter, the second audio control parameter and the second indoor environment parameter and processes them to obtain a second smart home control feature;
[0023] The smart socket home appliance control module: receives the first smart home control feature and the first home appliance control method corresponding to the historical home status of the smart socket, builds a smart socket home appliance control model according to the first smart home control feature and the first home appliance control method, receives the second socket sensor parameter, the second audio control parameter and the second indoor environment parameter and processes them to obtain the second smart home control feature, inputs them to the smart socket home appliance control module to obtain the second home appliance control method, controls the working status of the customer's home appliances in real time according to the second home appliance control method, and performs intelligent and precise management of the home appliances.
[0024] Furthermore, the smart socket home appliance control model is an SVM classifier model improved based on the correction coefficient.
[0025] The present invention first collects and processes data of networked smart home appliances to make the control reasonable and accurate. The control of home appliances not only combines voice control, but also collects the relevant connection data of USB sockets and performs specific processing. The relevant data of USB sockets connected to furniture are well utilized, and a mature USB socket intelligent control model is established to realize the control of networked furniture in the house. The smart socket home appliance control model is constructed according to the first smart home control feature and the corresponding first home appliance control method. The second smart home control feature obtained by post-processing the home appliance actually connected to the USB socket is input into the smart socket home appliance control model to obtain the second home appliance control method for the home appliance actually connected. According to the second home appliance control method, the working status of the customer's home appliances is controlled in real time, and the home appliances are intelligently and accurately managed. Through the special processing of the relevant feature data affecting the home appliances, and combining voice and environmental parameters to train and form a socket control home appliance model, precise control of home appliances is realized, thereby realizing the humanization of home appliance control and improving the service life of home appliances.
[0026] More embodiments and improved effects of the present invention will be further introduced in conjunction with the drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a flow chart of a household appliance control method based on a USB socket of the present invention;
[0028] Figure 2 It is a schematic diagram of a household appliance control system based on a USB socket of the present invention;
[0029] Figure 3 It is a schematic diagram of a socket Wi fi networking module of a household appliance control system based on a USB socket of the present invention;
[0030] Figure 4 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The invention is further described below in conjunction with the accompanying drawings and specific implementation methods.
[0032] In a first aspect of the present invention, a method and system for controlling household appliances based on a USB socket are provided.
[0033] In a first aspect of the present invention, a method for controlling a household appliance based on a USB socket is provided, wherein the method comprises:
[0034] Acquire a first sensing parameter and a first audio control parameter, collect a first indoor environment parameter, and perform feature processing on the first sensing parameter to obtain a first socket sensing parameter;
[0035] Acquire the first socket sensing parameter, the first audio control parameter, and the first indoor environment parameter and process them to obtain a first smart home control feature;
[0036] Acquire the first smart home control feature and a first home appliance control method corresponding to the historical home state of the smart socket, and construct a smart socket home appliance control model according to the first smart home control feature and the first home appliance control method;
[0037] Acquire a second sensor parameter and a second audio control parameter, collect a second indoor environment parameter, and perform feature processing on the second sensor parameter to obtain a second socket sensor parameter; receive the second socket sensor parameter, the second audio control parameter, and the second indoor environment parameter and process them to obtain a second smart home control feature;
[0038] The second smart home control feature is input into the smart socket home appliance control module to obtain a second home appliance control method, and the working status of the customer's home appliances is controlled in real time according to the second home appliance control method to perform intelligent and precise management of the home appliances.
[0039] Furthermore, the first sensing parameter or the second sensing parameter is obtained through a socket temperature sensor, a socket gas sensor, and a current sensor.
[0040] Furthermore, the first audio control parameter or the second audio control parameter is obtained through a home appliance with a microphone connected to the indoor Internet, and the voice on / off setting is obtained according to the microphone. If it is on, the characteristic value is set to 1, and if it is off, the characteristic value is set to 0.
[0041] Furthermore, the first indoor environmental parameter or the second indoor environmental parameter is obtained through the indoor Internet, specifically including temperature, humidity and PM2.5 concentration.
[0042] Further, the first sensing parameter is corrected by the first indoor environment parameter to obtain a first socket sensing parameter, and is processed with the first audio control parameter and the first indoor environment parameter to obtain the first smart home control feature. The second sensing parameter is corrected by the second indoor environment parameter to obtain a second socket sensing parameter, and is processed with the second audio control parameter and the second indoor environment parameter to obtain the second smart home control feature. The correction formula is as follows:
[0043] L=(kS t , mP g , nI s )
[0044] Wherein, the corrected first socket sensing parameter or the corrected second socket sensing parameter is L, S t is the socket temperature, Pg is the gas concentration in the socket, I s is the socket current, k, m, n represent the socket temperature, gas concentration in the socket and the correction coefficient of the socket current respectively.
[0045] Furthermore, the correction coefficients k, m, n of the socket temperature, the gas concentration in the socket, and the socket current are:
[0046]
[0047] n=∈k*h*P M
[0048] Where, T t is the temperature obtained from the Internet at the tth time after a day is divided into t parts, i represents the i-th time, σ is the gas weight, which is 0.05-0.1, h is the humidity, P M is the concentration of PM2.5, ∈ is the current weight, and its value is 0.01-0.03.
[0049] Furthermore, the smart socket home appliance control model is an SVM classifier model improved based on the correction coefficient, the first smart home control feature is obtained by horizontally splicing the corrected first socket sensor parameters, the first audio control parameters and the first indoor environment parameters, and the second smart home control feature is obtained by horizontally splicing the corrected second socket sensor parameters, the second audio control parameters and the second indoor environment parameters.
[0050] Furthermore, the calculation formula of the SVM classifier model improved based on the correction coefficient is as follows:
[0051]
[0052] Wherein, F(X) is the first home appliance control method or the second home appliance control method, ω T , b are the normal vector and intercept of the hyperplane respectively, X is the first smart home control feature or the second smart home control feature, k, m, n are the correction coefficients of the socket temperature, the gas concentration in the socket and the socket current.
[0053] A home appliance control system based on a USB socket is also provided, comprising a sensor device detection module, a voice judgment function module, a socket Wi fi networking module, a sensor parameter processing module, a home control feature processing module and a smart socket home appliance control module, characterized in that:
[0054] The sensor device detection module: obtains a first sensing parameter of the USB socket, and also obtains a second sensing parameter of the USB socket;
[0055] The voice judgment function module: performs networking processing and networking with the smart furniture with a microphone to obtain the first voice control parameter and the second voice control parameter;
[0056] The socket Wi fi networking module: connects with the furniture via the indoor Wi fi to perform data transmission, collect the first indoor environmental parameter, and also collect the second indoor environmental parameter;
[0057] The sensing parameter processing module performs feature processing on the first sensing parameter to obtain a first socket sensing parameter, and also performs feature processing on the second sensing parameter to obtain a second socket sensing parameter;
[0058] The home control feature processing module receives the first socket sensor parameter, the first audio control parameter and the first indoor environment parameter and processes them to obtain a first smart home control feature; and also receives the second socket sensor parameter, the second audio control parameter and the second indoor environment parameter and processes them to obtain a second smart home control feature;
[0059] The smart socket home appliance control module: receives the first smart home control feature and the first home appliance control method corresponding to the historical home status of the smart socket, builds a smart socket home appliance control model according to the first smart home control feature and the first home appliance control method, receives the second socket sensor parameter, the second audio control parameter and the second indoor environment parameter and processes them to obtain the second smart home control feature, inputs them to the smart socket home appliance control module to obtain the second home appliance control method, controls the working status of the customer's home appliances in real time according to the second home appliance control method, and performs intelligent and precise management of the home appliances.
[0060] Furthermore, the smart socket home appliance control model is an SVM classifier model improved based on the correction coefficient, and the calculation formula of the SVM classifier model improved based on the correction coefficient is as follows:
[0061]
[0062] Wherein, F(X) is the first home appliance control method or the second home appliance control method, ω T , b are the normal vector and intercept of the hyperplane respectively, X is the first smart home control feature or the second smart home control feature, k, m, n are the correction coefficients of socket temperature, gas concentration in the socket and socket current.
[0063] The present invention first collects and processes data of networked smart home appliances to make the control reasonable and accurate. The control of home appliances not only combines voice control, but also collects the relevant connection data of USB sockets and performs specific processing. The relevant data of USB sockets connected to furniture are well utilized, and a mature USB socket intelligent control model is established to realize the control of networked furniture in the house. The smart socket home appliance control model is constructed according to the first smart home control feature and the corresponding first home appliance control method. The second smart home control feature obtained by post-processing the home appliance actually connected to the USB socket is input into the smart socket home appliance control model to obtain the second home appliance control method for the home appliance actually connected. According to the second home appliance control method, the working status of the customer's home appliances is controlled in real time, and the home appliances are intelligently and accurately managed. Through the special processing of the relevant feature data affecting the home appliances, and combining voice and environmental parameters to train and form a socket control home appliance model, precise control of home appliances is realized, thereby realizing the humanization of home appliance control and improving the service life of home appliances.
[0064] Of course, it can be understood that each embodiment of the present invention can achieve one of the effects alone, and a combination of multiple embodiments of the present invention can achieve all of the above effects, but it is not required that every embodiment of the present invention achieve all of the above advantages and effects, because each embodiment of the present invention can constitute a separate technical solution and make one or more contributions to the prior art.
[0065] The present invention does not particularly specify the structure of some modules, which shall be subject to the contents recorded in the prior art. The prior art mentioned in the above background technology section and the specific embodiment section of the present invention can be used as part of the present invention to understand the meaning of some technical features or parameters. The scope of protection of the present invention shall be subject to the contents actually recorded in the claims.
Claims
1. A method for controlling household appliances based on a USB socket, characterized in that: The method comprises: Acquire a first sensing parameter and a first audio control parameter, collect a first indoor environment parameter, and perform feature processing on the first sensing parameter to obtain a first socket sensing parameter; Acquire the first socket sensing parameter, the first audio control parameter, and the first indoor environment parameter and process them to obtain a first smart home control feature; Acquire the first smart home control feature and a first home appliance control method corresponding to the historical home state of the smart socket, and construct a smart socket home appliance control model according to the first smart home control feature and the first home appliance control method; Acquire a second sensor parameter and a second audio control parameter, collect a second indoor environment parameter, and perform feature processing on the second sensor parameter to obtain a second socket sensor parameter; receive the second socket sensor parameter, the second audio control parameter, and the second indoor environment parameter and process them to obtain a second smart home control feature; The second smart home control feature is input into the smart socket home appliance control module to obtain a second home appliance control method, and the working status of the customer's home appliances is controlled in real time according to the second home appliance control method to perform intelligent and precise management of the home appliances.
2. A method for controlling household appliances based on a USB socket as claimed in claim 1, characterized in that: The first sensing parameter or the second sensing parameter is obtained through a socket temperature sensor, a socket gas sensor, and a current sensor.
3. A method for controlling household appliances based on a USB socket as claimed in claim 1, characterized in that: The first audio control parameter or the second audio control parameter is obtained through a home appliance with a microphone connected to the indoor Internet, and the voice on / off setting is obtained according to the microphone. If it is on, the characteristic value is set to 1, and if it is off, the characteristic value is set to 0.
4. A method for controlling household appliances based on a USB socket as claimed in claim 1, characterized in that: The first indoor environmental parameter or the second indoor environmental parameter is obtained through the indoor Internet, specifically including temperature, humidity and PM2.5 concentration.
5. A method for controlling household appliances based on a USB socket as claimed in claim 2, characterized in that: The first sensing parameter is corrected by the first indoor environment parameter to obtain a first socket sensing parameter, and is processed with the first audio control parameter and the first indoor environment parameter to obtain the first smart home control feature. The second sensing parameter is corrected by the second indoor environment parameter to obtain a second socket sensing parameter, and is processed with the second audio control parameter and the second indoor environment parameter to obtain the second smart home control feature.
6. A method for controlling household appliances based on a USB socket as claimed in claim 5, characterized in that: The correction coefficients of the socket temperature, the gas concentration in the socket and the socket current are obtained by processing the temperature, humidity and PM2.5 concentration obtained from the Internet.
7. A method for controlling household appliances based on a USB socket as claimed in claim 6, characterized in that: The smart socket home appliance control model is an SVM classifier model improved based on the correction coefficient. The first smart home control feature is obtained by horizontally splicing the corrected first socket sensor parameters, the first audio control parameters and the first indoor environment parameters. The second smart home control feature is obtained by horizontally splicing the corrected second socket sensor parameters, the second audio control parameters and the second indoor environment parameters.
8. A household appliance control system based on a USB socket, the system implementing the method as claimed in claim 1, comprising a sensor device detection module, a voice judgment function module, a socket Wifi networking module, a sensor parameter processing module, a home control feature processing module and a smart socket household appliance control module, characterized in that: The sensor device detection module: obtains a first sensing parameter of the USB socket, and also obtains a second sensing parameter of the USB socket; The voice judgment function module: performs networking processing and networking with the smart furniture with a microphone to obtain the first voice control parameter and the second voice control parameter; The socket Wifi networking module is connected to the furniture through the indoor Wifi to perform data transmission, collect the first indoor environmental parameter, and also collect the second indoor environmental parameter; The sensing parameter processing module performs feature processing on the first sensing parameter to obtain a first socket sensing parameter, and also performs feature processing on the second sensing parameter to obtain a second socket sensing parameter; The home control feature processing module receives the first socket sensor parameter, the first audio control parameter and the first indoor environment parameter and processes them to obtain a first smart home control feature; and also receives the second socket sensor parameter, the second audio control parameter and the second indoor environment parameter and processes them to obtain a second smart home control feature.
9. A household appliance control system based on a USB socket as claimed in claim 8, characterized in that: The smart socket home appliance control module: receives the first smart home control feature and the first home appliance control method corresponding to the historical home status of the smart socket, builds a smart socket home appliance control model according to the first smart home control feature and the first home appliance control method, receives the second socket sensor parameter, the second audio control parameter and the second indoor environment parameter and processes them to obtain the second smart home control feature, inputs them to the smart socket home appliance control module to obtain the second home appliance control method, controls the working status of the customer's home appliances in real time according to the second home appliance control method, and performs intelligent and precise management of the home appliances.
10. A household appliance control system based on a USB socket as claimed in claim 9, characterized in that: The smart socket home appliance control model is an SVM classifier model improved based on the correction coefficient.