CN112000053B - Intelligent control system and method based on intelligent socket - Google Patents

Intelligent control system and method based on intelligent socket Download PDF

Info

Publication number
CN112000053B
CN112000053B CN202011169267.5A CN202011169267A CN112000053B CN 112000053 B CN112000053 B CN 112000053B CN 202011169267 A CN202011169267 A CN 202011169267A CN 112000053 B CN112000053 B CN 112000053B
Authority
CN
China
Prior art keywords
intelligent
socket
server
module
working
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011169267.5A
Other languages
Chinese (zh)
Other versions
CN112000053A (en
Inventor
杨尉
王昊翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen jingxun Technology Co.,Ltd.
Original Assignee
Shenzhen Jingxun Software Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jingxun Software Communication Technology Co ltd filed Critical Shenzhen Jingxun Software Communication Technology Co ltd
Priority to CN202011169267.5A priority Critical patent/CN112000053B/en
Publication of CN112000053A publication Critical patent/CN112000053A/en
Application granted granted Critical
Publication of CN112000053B publication Critical patent/CN112000053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6683Structural association with built-in electrical component with built-in electronic circuit with built-in sensor
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6691Structural association with built-in electrical component with built-in electronic circuit with built-in signalling means
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Automation & Control Theory (AREA)
  • Power Engineering (AREA)
  • Telephonic Communication Services (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention relates to an intelligent control system and method based on an intelligent socket, which comprises an electric quantity detection module, a socket module, a server and a mobile terminal, wherein the electric quantity detection module monitors data such as output power, current, voltage and the like of an electric appliance on the socket module in real time; the socket module is mainly used for acquiring detection information such as the state and working electric quantity of an electric appliance working on a socket, communicating with the server and an application program on the mobile terminal, and sending the acquired detection information of the working electric quantity to the server; the server predicts the distribution information of the working time of the electric appliance on the socket according to preset time precision, pushes the intelligent task list to the application program of the mobile terminal when the prediction result is not matched with the task list set by the socket module, and sets the task of the socket module according to the task list after the user authorizes the intelligent task list. According to the invention, a user does not need to perform excessive manual operation on the intelligent socket, and the intelligent degree and the user experience of the intelligent socket are improved.

Description

Intelligent control system and method based on intelligent socket
Technical Field
The invention relates to the technical field of intelligent Internet of things, in particular to an intelligent control system and method based on an intelligent socket.
Background
With the development of the application of the intelligent internet of things system, the intelligent socket is widely applied to the fields of home furnishing, commerce and the like, is increasingly popularized in use, and is an essential electric appliance in daily life. In the prior art, a plurality of processing methods or control methods based on intelligent socket equipment characteristics, energy statistics, power utilization conditions, energy consumption information display, remote control and the like are provided. However, these methods are more based on a statistical and predictive estimation of field data, which is a wide-area annual or monthly power consumption of the power system in the future. In daily life, consumers who purchase intelligent devices may pay more attention to life changes which can be brought to the intelligent devices purchased by the consumers, and most of the current mainstream use methods are to check, control and regularly set the devices by a mobile terminal application program, so that the degree of intelligence is relatively low; in addition, after the user introduces the intelligent product, a certain learning cost is added, for example: a set of self-intelligent mode is designed completely, the self-intelligent mode needs to be set according to the habits of each person, when a plurality of members exist in a family, the use rule of each member can have difference, and therefore a user needs to manually adjust the timing or control mode according with the life rule of the user repeatedly.
In most household or commercial lives, the regularity of the daily life of a user is strongly correlated with the dimensions of working days, weekends and seasonality, and the auxiliary devices on the intelligent socket are common electric equipment such as refrigerators, televisions, air conditioners and the like. In most home users' habits, the socket is in a normally open state, and the devices connected to the socket have certain energy loss and fault problems such as electric leakage and the like caused by abnormal standby of some devices. Therefore, it is necessary to make full use of the extraction of the information to bring changes to the design and method of the whole intelligent system, so as to form a complete set of intelligent control method.
Disclosure of Invention
The invention provides an intelligent control system and method based on an intelligent socket, and aims to solve at least one of the technical problems in the prior art to a certain extent.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows: an intelligent control system based on an intelligent socket comprises an electric quantity detection module, an intelligent socket module, a server and a mobile terminal, wherein the electric quantity detection module is integrated in the intelligent socket and monitors the output instantaneous power, the output current and the output voltage data of an electric appliance on the intelligent socket module in real time, the intelligent socket module is mainly used for acquiring the state of the electric appliance working on the socket, acquiring a standby reference power value and communicating with the server and an application program on the mobile terminal, the intelligent socket module sends the acquired working electric quantity detection information to the server, the server stores the data after receiving the data and predicts the working time distribution of electric appliances on the intelligent socket according to preset time precision, and when the prediction result is not matched with a task table set by the intelligent socket module, the intelligent task table is pushed to the application program of the mobile terminal, and carrying out task setting on the intelligent task table when authorized by a user, wherein the mobile terminal is mainly used for receiving intelligent message pushing of a server and authorizing the server to acquire application of an intelligent task recommendation table, after the intelligent socket module is plugged in an electric appliance, the electric quantity detection module connected to the socket starts electric quantity detection and sampling of three continuous sample points { Pm, Pm +1, Pm +2} and forms a sequence, when the conditions Pm, Pm +1 and Pm +2 are all greater than 0, state detection is triggered to start, and the continuous three sample points satisfy the relational expression: when the relation is satisfied at the same time, the electrical appliance on the socket is in a sleep state in a standby state or a working state at a high probability; and when the current is not satisfied, the electrical equipment is in a working critical state.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: and the intelligent socket module defaults to send the current real-time working electric quantity detection information to the server in the minimum unit time.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: the intelligent socket module judges the working state by sampling the real-time power value, converts the relative standby reference power value and sends the relative standby reference power value to the server for storage.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: after the intelligent socket module is plugged with an electric appliance, the electric quantity detection module connected to the intelligent socket module starts electric quantity detection for a certain time and samples the electric quantity to form a sequence, and state detection is triggered to start.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: the server preprocesses the data, and according to the preprocessing result data, the server stores a period sequence corresponding to a parameter table every day.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: the server regularly acquires an API (application program interface) of annual holidays, records holiday dates, and forms holiday and week data sequences according to data stored separately on the holidays.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: the server establishes a multi-dimensional entropy prediction model Vij= β*Vij-1 + (1-β)*((Wi/2j) % 2), (j = 0,1,. 47), wherein T ≈ 1/(1- β); t corresponds to a period value; v0j = 0,VijThen the corresponding prediction parameter value is obtained; taking a reference judgment value VbWhen V isij < VbWhen the value is '0'; otherwise, the value is '1', the server derives the prediction sequence data of the week, and the server converts the prediction sequence data into the work task data table of the week according to the sequence prediction data.
The embodiment of the invention adopts another technical scheme that: an intelligent control method based on an intelligent socket comprises the following steps:
step 100: the detection information of an electric appliance working on a socket is monitored and acquired through an intelligent socket module with an electric quantity detection module, the state of the electric appliance is judged, after the electric appliance is plugged into the intelligent socket module, the electric quantity detection module connected to the socket starts three continuous sample points { Pm, Pm +1, Pm +2} electric quantity detection and sampling, a sequence is formed, when the conditions Pm, Pm +1 and Pm +2 are all greater than 0, state detection is triggered to start, and the three continuous sample points meet the relational expression: when the relation is satisfied at the same time, the electrical appliance on the socket is in a sleep state in a standby state or a working state at a high probability; when the current state does not meet the preset working condition, the electrical equipment is in a working critical state;
step 200: the intelligent socket module sends the current real-time working electric quantity detection information to the server in the minimum unit time;
step 300: and the server receives the detection information, stores the detection information according to time, predicts the weekly working time distribution of the electrical equipment on the intelligent socket module according to preset time precision, pushes the intelligent task list to the mobile terminal application program when the prediction result is not matched with the intelligent task list set by the intelligent socket module, and sets tasks for the intelligent task list when the user authorizes the intelligent task list.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: the detection information comprises output instantaneous power, output current, output voltage data, standby reference power value, working power value and the like of the electric appliance.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: the mobile terminal is respectively connected with the intelligent socket and the server through a wireless network, and the mobile terminal application program is mainly used for receiving intelligent message pushing of the server, obtaining an intelligent task list to the server, editing equipment information on the intelligent socket and monitoring electric quantity information on the intelligent socket.
Compared with the prior art, the invention has the beneficial effects that: the intelligent control system and method based on the intelligent socket provided by the embodiment of the invention are based on the user perspective, and the intelligent control of solving the actual operation environment for the user is achieved while the user does not influence the use experience; the standby loss problem of the living environment can be solved, and the waste of energy is avoided; the intelligent control use experience is provided, so that people do not need to consider the artificial operation of intelligent products too much, and the intelligent degree of the intelligent socket is improved; the intelligent information pushing mode is adopted, so that a user can quickly complete intelligent task information checking and setting of the intelligent socket; compared with the traditional complicated operation of manually adjusting the timing task, the method is simple, convenient and intelligent.
Drawings
Fig. 1 is a schematic structural diagram of a smart control system based on a smart socket according to an embodiment of the present invention;
fig. 2 is a flowchart of an intelligent control method based on an intelligent socket according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an initial detection of an operating state of an electrical device of the smart control system based on the smart socket according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a process of preprocessing data reported by an intelligent socket module of an intelligent control system based on an intelligent socket according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a process of predicting and recommending stored data by a server of the smart control system based on the smart socket according to the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic structural diagram of an intelligent control system based on an intelligent socket according to an embodiment of the present invention. The intelligent control system based on the intelligent socket comprises: electric quantity detection module, smart jack module, server and mobile terminal. The intelligent socket module is provided with the electric quantity detection module, and can monitor the output instantaneous power, the output current and the output voltage data of the electric appliance in real time. The intelligent socket module is mainly used for acquiring the state of an electric appliance working on a socket, acquiring standby reference power and communicating with a server and an application program on a mobile terminal. In the implementation of the invention, the intelligent socket module is used for detecting the output power data and sending the data to the server through the wireless network for data recording. When the intelligent socket module is powered on for the first time, if time synchronization is not carried out, the time synchronization needs to be actively carried out from the server so as to ensure the accuracy of data. The intelligent socket module defaults to send current real-time working electric quantity detection information to the server in minimum unit time, and the server stores the data after receiving the data. The minimum unit time may be 10 minutes, 30 minutes, 60 minutes, or the like, and may be set by a user or a system administrator as needed. The server is mainly used for obtaining reference standby and working power values of electric appliances working on the socket, storing data according to time, predicting weekly working time distribution of electric appliances on the intelligent socket according to preset time precision, pushing the intelligent task list to the mobile terminal application program when a prediction result is not matched with the task list set by the intelligent socket module or the task list which is not set, and setting tasks of the intelligent socket module according to the task list when the user authorizes. The mobile terminal is connected with the intelligent socket and the server through wireless network distribution, and the mobile terminal application program is mainly used for receiving intelligent message push of the server, obtaining intelligent task recommendation table application to the server in an authorized mode, editing equipment information on the intelligent socket (for example, naming according to an electric appliance connected to the socket), monitoring electric quantity information on the intelligent socket, having a basic control function and the like. The mobile terminal can provide the user with the name of the electric appliance which is set manually, so that the user can conveniently manage the electric appliance, and the current reference standby and working power loss parameter values can be obtained from the server terminal and displayed to the user.
Please refer to fig. 2, which is a flowchart illustrating an intelligent control method based on an intelligent socket according to an embodiment of the present invention. The intelligent control method based on the intelligent socket comprises the following steps:
step 100: monitoring and acquiring detection information of an electric appliance working on a socket through an intelligent socket module with an electric quantity detection module, and judging the state of the electric appliance;
in step 100, the detection information includes output instantaneous power, output current, output voltage data, standby reference power value, working power value, etc. of the electrical appliance, and is in communication with the server and the mobile terminal application program through the smart jack module;
step 200: the intelligent socket module sends the current real-time working electric quantity detection information to the server in the minimum unit time;
step 300: the server receives the detection information, stores the detection information according to time, predicts the weekly working time distribution of the electrical equipment on the intelligent socket module according to preset time precision, pushes the intelligent task list to the mobile terminal application program when the prediction result is not matched with the task list set by the intelligent socket module or the intelligent task list which is not set, and sets the task of the intelligent socket module according to the task list when the user authorizes the intelligent socket module.
In step 300, the mobile terminal is connected to the smart socket and the server through the wireless network, and the mobile terminal application is mainly used for receiving the pushing of the smart message from the server, authorizing the server to obtain the smart task list, editing the device information on the smart socket (for example, naming the device according to the electrical appliance accessed to the smart socket), monitoring the electrical quantity information on the smart socket, having a basic control function, and the like. The mobile terminal can provide the user with the name of the electric appliance which is set manually, so that the user can conveniently manage the electric appliance, and the current reference standby and working power loss parameter values can be obtained from the server terminal and displayed to the user.
Referring to fig. 3, fig. 3 is a flowchart illustrating an initial detection of an operating state of an electrical device of an intelligent control system based on an intelligent socket according to an embodiment of the present application. The working state initial detection flow chart of the electrical equipment of the intelligent control system based on the intelligent socket mainly judges the working state by sampling the real-time power value, so that a relative standby power reference value is converted and sent to the server for storage. The electrical equipment working state initial detection of the intelligent control system based on the intelligent socket specifically comprises the following steps:
after the intelligent socket module is plugged in an electric appliance, the electric quantity detection module connected to the socket starts electric quantity detection for 1s and samples, a sequence is formed, and three continuous sample points { P ] of anti-shake processing are listed in fig. 2m ,Pm+1 ,Pm+2When the condition P is satisfiedm 、Pm+1、Pm+2 >Triggering state detection to start at 0;
in the embodiment of the invention, the specific values of the working power and the stable output fluctuation range of different electrical equipment are not concerned, and the fluctuation range of the standby stable operation is more concerned. When three consecutive sample points satisfy the following relation:
Δ|Pmm+1| < P b
| Pmm+2 - Pm| < P b
in the above relation, PbFor the fluctuation factor parameter, Pmm +2 is the mean of three consecutive samples
When the relational expressions (i) and (ii) are satisfied simultaneously, the electrical appliance on the socket may be in a standby state or in a working state with a high probabilityA state; when not satisfied, the electrical equipment may be in an operation critical state (a rising edge ready to start operation or a falling edge standby or off state), and thus may be used for the preliminary operation state reference power value PwAnd (4) obtaining.
When the stable standby working condition is met, the judgment of P is carried out in four modessiParameter (wherein Ps0Corresponding to a standby state, a minimum standby power; ps1Corresponding to a state operating in standby): the four states are respectively according to Ps0、Pw、Ps1Comparing the corresponding parameter value with the sampling mean value to obtain the minimum reference standby power Ps0And Ps1In which P iss1Not all electrical devices are necessarily present, and are acquired only as the state determination value.
When the steady standby operating condition is not met and the continuous sampling power is greater than 0, the device may be in a large fluctuation state: the rising edge starts working, the falling edge turns to standby or the falling edge turns to off state. The determination conditions are respectively determined according to whether the reference working power is set: if not, then P ismSequence value is incremented and rising edge maximum value Pm+2Greater than Ps0Then, the working power P is referencedwIs Pm+2(ii) a When P is presentmSequence value is incremented and rising edge maximum value Pm+2Less than Ps0When it is, then PwValue is set to Ps0While the reference standby power P is explaineds0If the acquisition is not accurate, the power is required to be updated and reset to 0 immediately to wait for the acquisition of the stable standby power; if P is setwThen P is required to be adjusted according to the maximum power value pairwThe update is done to ensure that the operating power is greater than the standby power, a basic requirement.
After the state value is determined, the smart jack module needs to send the reference standby power data to the server for storage. The basic parameter validity conditions are listed in FIG. 3, only if Ps0Not equal to 0 and PwDetection is considered valid only if not equal to 0.
The state detection process described in this embodiment is directed to the state determination without initial data, and the state with reference dataThe values may also change in accordance with the operating parameters as the appliance is replaced. Therefore, for this situation, it is only necessary to buffer the previous reference power data and automatically reset P when the power value of the corresponding electrical appliance on the smart jack is detected to be 0 when the smart jack is turned off or turned on according to the above-mentioned flowchart descriptions0、Ps1、PwThe parameter values. And (4) continuing self data sampling detection according to the illustrated flow, and when the new standby reference power value is changed, sending the changed parameter value to a server for storage processing.
Referring to fig. 4, fig. 4 is a flowchart illustrating a process of preprocessing data reported by an intelligent socket module of an intelligent control system based on an intelligent socket according to an embodiment of the present application. Fig. 4 shows the turn-on time of the electrical device during operation, which is listed on a certain day, and respectively shown in 8: 00-9: 00 and 19: 10-22: 20 are opened.
The sampling time interval of the real-time power reported by the intelligent socket is 30 minutes, so that the server receives a sequence { P with the length of 48 in one day0,P1, ......, P47It should be understood that, in the embodiment of the present application, other times may also be used as the sampling time interval;
the server performs state conversion processing on each sample point, and defines P asn <= (Ps + Pb) When the sample is in a standby state, the recorded value of the sample is '0', and the sample is represented to work in a standby state or no load state; otherwise, the record value is '1', which represents the working state, and thus can be converted into a binary data sequence {0, 0. According to the working conditions shown in FIG. 4, the serialized data would be "0000000000000000000111111000000000000000000000110000000000000000", converted to hexadecimal 0x00001F8000030000, and saved in a database table with the current working date.
For data uploaded by the intelligent socket module, the abnormal situation that the intelligent socket module is connected with the server needs to be considered, and the processing aiming at the abnormal situation is as follows: when the intelligent socket module is disconnected from the server due to external reasons, the acquired data needs to be cached in local Flash for storage so that the server can accurately record the data; and after the intelligent socket module is restored to be connected with the server, sending the cache data to the server, and emptying the local cache to release the storage space after the cache data is successfully connected with the server.
The interpolation of the sample point of the intelligent socket module in the off state and the power-off state (the intelligent socket has no data cache) is recorded as '0'.
Referring to fig. 5, fig. 5 is a flowchart illustrating a process of predicting and recommending stored data by a server of an intelligent control system based on a smart socket according to an embodiment of the present application. The server of the intelligent control system based on the intelligent socket specifically performs prediction processing and recommendation on the stored data, and includes:
the server preprocesses the data, and according to the preprocessing result data, the server stores a period sequence { { d ] corresponding to a parameter table every dayt0 ,W0}, {dt1 ,W1}, ......, {dtn,Wn}};
After receiving the standby reference power and the working power value, the server needs to process the data. In the control system, a main purpose is to extract a working state period distribution rule value meeting the system requirement, so that the working distribution value in the future time can be accurately predicted. In the server data processing, because the work of the intelligent device follows the living habits of the user, the intelligent device has obvious periodicity and holiday rules, the minimum time granularity of 30 minutes is used as statistics in the embodiment of the invention, and it can be understood that other times can also be used as the minimum time granularity. The general periodic prediction model adopts autoregressive average prediction or autoregressive and moving average prediction, the prediction methods need to combine with the actual demand environment to make selection and corresponding data preprocessing, the selection of the model depends on more data preprocessing modes, and the invention adopts an exponential weighted average prediction model after preprocessing the data according to the demand of system design.
In the embodiment of the invention, the basic scheme of data preprocessing is as follows: the actual working state of the electrical equipment needs to be determined, and the specific working energy consumption value in the current state is not concerned. Therefore, certain conversion is made to the working state: when the standby state is defined, the value is 0; in the operating state, the value is 1. The data statistics and prediction period is in week units, the minimum statistical data record is stored according to the day, the record value conversion according to half an hour is that the data in each day is 48 values, and the data is correspondingly converted into binary data (the lower bit corresponds to 12 points at night, and the upper bit has no data value of 0), so that the consumption of a large amount of data storage and operation is reduced, the server requires a 64-bit CPU and an arithmetic logic unit architecture, and the server can adopt other architectures and CPUs. Assuming monday of a week, the device on-time is 18: 30-21: 30, at this time, the data of the current day will be "0000000000000000000000111110000000000000000000000000000000000000" after being converted. Similarly, if monday of a week, the device turn-on time is 7: 30-9: 00, 19 pm: 00-22: 00, the data will be "0000000000000000000011111100000000000000000000111000000000000000" after conversion.
The discrete data sequence generates different data values along with the increase of time or the change of seasons, the change of the data has certain regularity all the time and has strong correlation degree with the time, so the prediction by adopting an exponential weighted average method is more accordant with the actual environment of a user, and a more accurate schedule for turning on the electric appliance every week in the future is formed.
In the embodiment of the invention, the storage time of the statistical data records of the server is defined as one year, and the accuracy of the predicted data is slightly influenced by the low relevance of the data of more than one year; the minimum period for server data record saving is defined as two weeks, and data below two weeks will only be saved and preprocessed and not used for prediction.
Server prediction result processing, wherein the intelligent system design is concerned, so that the prediction result automatically pushes corresponding prediction timing information to a mobile application program user using an intelligent socket by the server; the user can view the recommended timing task list and adopt the recommended timing task by one-key permission. The later working mode of the intelligent socket does not need additional manual control, and whether the power supply is forgotten to be turned off or not is considered.
And (3) fault-tolerant processing of the prediction result of the server, wherein when the prediction result is inconsistent with the actual use of the user, the server needs to execute an automatic identification turn-off timing task, take the operation behavior of the user as a main control party on the basis of not influencing the use control of the user, and simultaneously perform friendly message processing to remind the user of the working task state of the current household equipment.
After the server acquires the information of the intelligent socket, automatic preliminary preprocessing is required to be carried out, and the state of the socket is judged to be four states: off state (W)0) No load state (W)1) Standby state (W)2) And an operating state (W)3) Here standby state (W)2) The main points are that the power supply is not on when the electric appliance is plugged; the working state (W3) comprises a normal working state and a state of not working for a period of time and being in a dormant state, such as a standby state of a television set-top box. Wherein, the closed state W0The intelligent socket actively sends the information to the server; no load state W1Determining according to the actual idle power value (0 watt) of the intelligent socket; standby state W2And operating state W3The judgment is carried out by taking the rising edge time or the falling edge time as a sampling point, the sampling time interval of the electric quantity detection module inside the intelligent socket is 1 second, and it can be understood that the sampling time interval of the electric quantity detection module inside the intelligent socket can also be set to other times. Assuming that the socket is in the open to closed state, the power sequence for obtaining the sample is { P }0,P1,P2,P3,...,PnAnd ensuring data acquisition of interpolation sampling points in order to avoid the occurrence of sampling points on rising edges or falling edges, namely
ΔPn = (Pn - Pn-1), (n ≥ 2)
Will correspond to | Δ PnThe | value is stored in the Pn corresponding table of the server-side database at the same time, and for n<The value at 1 is taken to be 0 and the parameter is ignored. According to the principle that the fluctuation range of the standby power is smaller than the reference Pb value, generally 0.3W, | delta P is obtained when the intelligent socket is powered on for the first time or is started for the first time1The value of is greater than 0 and P0When 0 is equal to the above-mentioned value, its working stateIs judged as W2Recorded simultaneously as the standby power reference value Ps0And reporting to a server for storage; when | Δ P1When the value of | is always equal to 0, recording the working state as W1At this time, the standby power reference value is not recorded yet, and the continuous sample point detection waits for the mth | Δ PmStandby power reference value P with | value greater than 0s0At this time, it is possible to directly raise the electric appliance to the working state W within the sampling interval3(for example, a mobile phone charger and a mobile phone are connected in the closed state of the smart socket, and the smart socket is opened at the moment, so that the instantaneous power is the working state power). Therefore, the standby power at this time is only a reference value, and | Δ P corresponding to a certain sampling point m after the time shiftm+1The range of | fluctuation is larger than PbJudging the rising edge or the falling edge of the signal, and when the rising edge is the rising edge, Ps0The initial value can correspond to the initial standby state judgment (the power is connected with the equipment, and the equipment is not started up); when the sampling point is a falling edge, the average value and the | delta P of three continuous sampling points are ensured because the power consumption value of part of equipment in the working state is not fixedmI meets the standby condition and records the standby Ps1The last time Ps is the working power PwA reference value. Sequentially and periodically sampling in real time and converting the corresponding Ps0、Ps1、PwThe reference is pushed to the server.
After the last working state reference power value is obtained, two situations may exist in the subsequent electric equipment working: a user always uses the same electrical equipment to work; the user irregularly changes the electrical equipment on the intelligent socket. Therefore, the state reference value is not always fixed, and for the first case, the smart jack module only needs to perform a simple reference standby power comparison without sending a reference power value update to the server again; for the second case, after the electrical equipment working on the smart socket at a certain stage is replaced, the electrical performance index of the electrical equipment will change. And the server stores and processes the working state of the intelligent socket according to the standby reference power value each time.
In the embodiment of the invention, the working state of the intelligent socket and the reference standby power and working power value are defined, which actually refers to the working state of the electrical equipment on the intelligent socket, and the intelligent socket of the electrical equipment cannot judge which electrical equipment is used. As a part of system control, in the application program of the mobile terminal, the name of the electric appliance can be set manually by a user for facilitating user management, and meanwhile, the current reference standby and working power loss parameter values can be obtained from the server side and displayed to the user side.
The server regularly acquires an API (application program interface) of annual festivals and holidays and records the festivals and holidays; the server separates the stored data according to the holidays, thereby forming two data sequences of the holidays and the weekdays;
establishing a multidimensional entropy prediction model Vij= β*Vij-1 + (1-β)*((Wi/2j) % 2), (j = 0,1,. 47), wherein T ≈ 1/(1- β); t corresponds to a period value; v0j = 0,VijThen the corresponding prediction parameter value is obtained;
for the prediction parameter with the maximum redundancy, a reference judgment value V is takenb(the value of this value is set depending on the actual scene requirement test) only if Vij < VbWhen the value is '0'; otherwise, the value is '1'.
The server derives the prediction sequence data of one week according to the flow, converts the prediction sequence data into a work task data table of one week according to the sequence prediction data, and simultaneously pushes a message to the mobile user application program; the mobile application program can check the recommended timing task message pushed by the server; when the user authorizes the work adopting the work task table, the server pushes the timing task table to the intelligent socket.
Because the life rule has obvious periodicity, the required statistical data does not need a very long period, the invention only needs to meet the statistical data requirements of maximum one year and minimum two weeks, and the time correlation degree of more than one year is small and can be almost ignored.
The invention adopts an intelligent recommending and authorizing mode, which does not need to destroy the original use habit of the user and force the user to execute according to the intelligent mode, and only needs one-key authorization to use the user with the requirement.
In the intelligent control method based on the intelligent socket, the application program of the mobile terminal comprises the alias of the self-defined intelligent socket, the push message (comprising information such as intelligent recommendation, abnormal power alarm and user management) of the server, the control interaction with the server, the intelligent recommendation of the authorized user and the recommendation task information checking.
The implementation process of the embodiment of the invention is described and completed, the actual use environment is fully considered in the whole embodiment, the establishment of the sequence analysis table corresponding to the environment division of the actual life law is included, and meanwhile, the intelligent operation mode of the use habit of the consumer is also included. The embodiment changes the traditional system control method for only performing electric quantity data statistics display for the user, and adopts the system control method intelligently set for the user. In the whole embodiment, the implementation mode of the system is different from that of the traditional method: firstly, the states of the intelligent sockets are clearly divided, and the standby state with high attention is treated as special treatment; secondly, on the basis of the adopted prediction model method, the data is subjected to own data preprocessing according to the actual operation scene, so that the resource occupation of a large amount of data statistics on the server is greatly reduced, and the operation efficiency in the implementation process is correspondingly improved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (9)

1. An intelligent control system based on an intelligent socket is characterized by comprising an electric quantity detection module, the intelligent socket module, a server and a mobile terminal, wherein the electric quantity detection module is integrated in the intelligent socket and is used for monitoring the output instantaneous power, the output current and the output voltage data of an electric appliance on the intelligent socket module in real time, the intelligent socket module is mainly used for acquiring the state of the electric appliance working on the socket, acquiring a standby reference power value and communicating with an application program on the server and the mobile terminal, the intelligent socket module sends the acquired working electric quantity detection information to the server, the server stores the data after receiving the data and predicts the working time distribution of electric appliances on the intelligent socket according to preset time precision, when the prediction result is not matched with a task table which is set by the intelligent socket module, the method comprises the steps of pushing an intelligent task table to a mobile terminal application program, carrying out task setting on the intelligent task table when authorization is carried out by a user, wherein the mobile terminal is mainly used for receiving intelligent message pushing of a server and authorizing the server to obtain the application of the intelligent task table, after an electric appliance is plugged in an intelligent socket module, an electric quantity detection module connected to a socket starts three continuous sample points { Pm, Pm +1, Pm +2} electric quantity detection and sampling, a sequence is formed, when conditions Pm, Pm +1 and Pm +2 are met, state detection starting is triggered, and the three continuous sample points meet a relational expression: when the relation is satisfied at the same time, the electrical appliance on the socket is in a sleep state in a standby state or a working state at a high probability; and when the current is not satisfied, the electrical equipment is in a working critical state.
2. A smart jack-based smart control system as claimed in claim 1 wherein the smart jack module defaults to sending current real-time operating power detection information to the server at a minimum unit time.
3. The smart jack-based intelligent control system of claim 2, wherein the smart jack module determines the operating state by sampling the real-time power value, converts the relative standby reference power value into a relative standby reference power value, and sends the relative standby reference power value to the server for storage.
4. The intelligent control system based on the smart socket as claimed in claim 3, wherein after the smart socket module is plugged in an electrical appliance, the power detection module connected to the smart socket module starts power detection for a certain time and samples the power to form a sequence, and triggers the state detection to start.
5. An intelligent control system based on a smart socket as claimed in claim 1, wherein the server preprocesses the data, and according to the preprocessing result data, the server stores a periodic sequence corresponding to a parameter table every day.
6. The smart socket based smart control system of claim 5, wherein the server periodically obtains annual holiday and holiday API interface, records holiday and holiday dates, and forms holiday and holiday data sequences according to data stored separately for holiday and holiday.
7. An intelligent control method based on an intelligent socket is characterized by comprising the following steps:
step 100: the detection information of an electric appliance working on a socket is monitored and acquired through an intelligent socket module with an electric quantity detection module, the state of the electric appliance is judged, after the electric appliance is plugged into the intelligent socket module, the electric quantity detection module connected to the socket starts three continuous sample points { Pm, Pm +1, Pm +2} electric quantity detection and sampling, a sequence is formed, when the conditions Pm, Pm +1 and Pm +2 are all greater than 0, state detection is triggered to start, and the three continuous sample points meet the relational expression: when the relation is satisfied at the same time, the electrical appliance on the socket is in a sleep state in a standby state or a working state at a high probability; when the current state does not meet the preset working condition, the electrical equipment is in a working critical state;
step 200: the intelligent socket module sends the current real-time working electric quantity detection information to the server in the minimum unit time;
step 300: and the server receives the detection information, stores the detection information according to time, predicts the weekly working time distribution of the electrical equipment on the intelligent socket module according to preset time precision, pushes the intelligent task list to the mobile terminal application program when the prediction result is not matched with the task list set by the intelligent socket module, and sets the task for the intelligent task list when the user authorizes the intelligent task list.
8. The smart socket-based smart control method of claim 7, wherein the detection information includes output instantaneous power, output current, output voltage data, standby reference power value, and operating power value of the electric appliance.
9. The intelligent control method based on the intelligent socket according to claim 7, wherein the mobile terminal is connected to the intelligent socket and the server through a wireless network, and the mobile terminal application program is mainly used for receiving the pushing of the intelligent message from the server, authorizing the server to obtain the application of the intelligent task list, editing the device information on the intelligent socket, and monitoring the power information on the intelligent socket.
CN202011169267.5A 2020-10-28 2020-10-28 Intelligent control system and method based on intelligent socket Active CN112000053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011169267.5A CN112000053B (en) 2020-10-28 2020-10-28 Intelligent control system and method based on intelligent socket

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011169267.5A CN112000053B (en) 2020-10-28 2020-10-28 Intelligent control system and method based on intelligent socket

Publications (2)

Publication Number Publication Date
CN112000053A CN112000053A (en) 2020-11-27
CN112000053B true CN112000053B (en) 2021-03-19

Family

ID=73475518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011169267.5A Active CN112000053B (en) 2020-10-28 2020-10-28 Intelligent control system and method based on intelligent socket

Country Status (1)

Country Link
CN (1) CN112000053B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113484814B (en) * 2021-06-18 2023-08-11 浙江万胜智能科技股份有限公司 Electric energy meter system control method and device
CN114089643B (en) * 2022-01-24 2022-04-15 云丁网络技术(北京)有限公司 Control method and system of intelligent equipment and storage medium

Also Published As

Publication number Publication date
CN112000053A (en) 2020-11-27

Similar Documents

Publication Publication Date Title
US11825246B2 (en) Electrical panel for identifying devices using power data and network data
CN112000053B (en) Intelligent control system and method based on intelligent socket
AU2010245273B2 (en) System and method for estimating and providing dispatchable operating reserve energy capacity through use of active load management
US8072197B2 (en) Power-managed socket
US11336096B2 (en) Managing power for residential and commercial networks
WO2016041468A1 (en) Wakeup method, device and terminal
CN107408273B (en) Communication of historical and real-time information about devices in a building
CN110136024B (en) Method and device for acquiring electricity utilization characteristics, electricity utilization habits and electricity consumption predicted values of users
CN108988467B (en) Power utilization strategy generation method and device
CN109240231B (en) Intelligent joint energy-saving system
CN111854065A (en) Intelligent household electricity energy-saving management system
Costa et al. Inferring daily routines from electricity meter data
WO2015087473A1 (en) Demand prediction device, energy conservation assisting system
CN113848747A (en) Intelligent household equipment control method and device
WO2018146923A1 (en) Distributed coordination system, apparatus behavior monitoring device, and appliance
CN109819503B (en) Management method and device of terminal APP
Chen et al. Smart Home Power Management Based on Internet of Things and Smart Sensor Networks.
CN111007936A (en) Terminal equipment in physical store and information processing method, device and system thereof
Yang et al. An intelligent human behavior-based reasoning model for service prediction in smart home
CN112714151A (en) Water use monitoring system and method
CN117590067B (en) Energy-saving intelligent ammeter and data analysis system
KR101571742B1 (en) Auto detection apparatus for standby power
CN109103882A (en) A kind of selection method and its selection system of operational mode
US11893460B2 (en) Method and system for AI-powered smart homes and offices
CN117270405A (en) Scene configuration method and device for intelligent home and intelligent home system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 3 / F, building A5, Nanshan wisdom Park, 1001 Xueyuan Avenue, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Shenzhen jingxun Technology Co.,Ltd.

Address before: 3 / F, building A5, Nanshan wisdom Park, 1001 Xueyuan Avenue, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: SHENZHEN JINGXUN SOFTWARE COMMUNICATION TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder