Summary of the invention
In order to solve in prior art cannot to control the technical problem of electrical equipment by accurate timing, the present invention proposes a kind of remote
Journey power consumption control method, system and remote management server.
One aspect of the present invention, it is provided that a kind of remote power control method includes:
Obtain the user terminal reservation to electrical equipment set in advance and control the time, and measure with the described management of power use eventually
Network delay between end;
Calculate according to described reservation control time and network delay and send sending out of control instruction to described electricity management terminal
Send the time;
When arriving the transmission time, described control instruction is sent to described electricity management terminal.
Another aspect of the invention, it is provided that a kind of remote power control method includes: obtain user terminal and preset
Time that the reservation of electrical equipment is controlled, and measure the network delay between described electricity management terminal;
Calculate reservation control time and the time difference of current time;
Described control instruction is sent to described electricity management terminal according to described network delay and time difference.
It is still another aspect of the present invention to provide a kind of remote management server to include:
Acquisition module, controls the time for obtaining the user terminal reservation to electrical equipment set in advance;
Measurement module, for measuring the network delay between described electricity management terminal;
Send Time Calculation module, for calculating to the described management of power use according to described reservation control time and network delay
Terminal sends the transmission time of control instruction;
Sending module, for when arriving the transmission time, being sent to described electricity management terminal by described control instruction.
Another aspect of the present invention, it is provided that a kind of remote management server includes:
Acquisition module, controls the time for obtaining the user terminal reservation to electrical equipment set in advance;
Measurement module, for measuring the network delay between described electricity management terminal;
Difference calculating module, for calculating reservation control time and the time difference of current time;
Sending module, for sending described control instruction to the described management of power use according to described network delay and time difference
Terminal.
Another aspect of the present invention, it is provided that a kind of remote control system includes: electrical equipment, electricity management terminal
Server is managed with remote,
Described remote management server, controls for obtaining the user terminal reservation to electrical equipment set in advance
Time, and measure the network delay between described electricity management terminal;According to described reservation control time and network delay meter
Calculate the transmission time sending control instruction to described electricity management terminal;When arriving the transmission time, described control instruction is sent out
Deliver to described electricity management terminal;
Described electricity management terminal, for being sent to described electrical equipment by the control instruction received.
Another aspect of the invention, it is provided that a kind of remote control system includes: electrical equipment, electricity management terminal
Server is managed with remote,
Described remote management server, controls for obtaining the user terminal reservation to electrical equipment set in advance
Time, and measure the network delay between described electricity management terminal;Calculate reservation control time and the time of current time
Difference;Described control instruction is sent to described electricity management terminal according to described network delay and time difference;
Described electricity management terminal, for being sent to described electrical equipment by the control instruction received.
The remote power control method of the present invention, system and remote management server, by carrying out network delay
Measure, it is possible to more accurately timing controlled electrical equipment, improve Consumer's Experience.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is described in detail.
Embodiment of the method one
As it is shown in figure 1, the present invention provides a kind of remote power control method embodiment, comprise the following steps:
Step 102, it is thus achieved that the user terminal reservation to electrical equipment set in advance controls the time;
Step 104, measures the network delay between electricity management terminal;
Step 106, calculates according to reservation control time and network delay and sends sending out of control instruction to electricity management terminal
Send the time;
Step 108, when arriving the transmission time, is sent to electricity management terminal by control instruction.
Specifically, step 106 includes: calculate the difference between reservation control time and the network delay of preset multiple,
Using this difference as sending time, i.e. T=Tc-NTd, wherein T is the transmission time, TcFor reservation control time, TdFor network delay,
N is integer value.N can take the integer of [1,5], and when network delay fluctuation ratio is bigger, N can take bigger value, when network can
Lean on, network delay fluctuation ratio relatively low time, N can take less value.
The idiographic flow of remote power control method embodiment one of the present invention is as follows:
(1) remote management server receives the control request of Client-initiated remote household electrical appliance.
In embodiments of the present invention, control request comprises needs to connect in check one or more electrical equipments numbering, control
Time processed, and the action type (such as, standby, duty is changed, heats, freezed) controlled it.
(2) remote management server asks to judge according to the rule in access control list, the control to user.
If it is determined that do not pass through, the remote household electrical appliance of remote management server refusal user controls request.If it is determined that pass through, carry out following
Step.
In embodiments of the present invention, remote management server storage have user whether have some or multiple far
The control authority of journey electrical equipment, will record in access control rule table.
(3) remote management server reception user is preset at remote management server by network communication equipment
The fixed reservation to electrical equipment controls the time, and carries out time reservation record.
(4) remote management server measurement remote management server prolongs to the network between electricity management terminal
Time Td, arrive T when the timeC-NTdTime remote management server send control instruction to electricity management terminal.
(5), after electricity management terminal receives control command, the execution of control command is judged according to duty at that time
Feasibility.In embodiments of the present invention, the feasibility inspection performed also can be carried out at remote management server, perception unit
Look into, such as, when under the state that an electrical equipment is in operation, it is impossible to perform " startup " order again, but can accept " to close
Close " order.
(6) after being checked by feasibility, the control life that electricity management terminal issues according to remote management server
Order, the perception unit corresponding to target electrical equipment sends control instruction.
(7) the perception unit of target device receives the instruction of electricity management terminal, performs control action.And control is held
Row result (such as, electrical equipment being controlled success or not) returns to electricity management terminal.
(8) electricity management terminal receives the execution result that perception unit returns.
(9) electricity management terminal is after obtaining the execution result controlled, by the execution result of its control instruction to remotely
Management of power use server feeds back.
(10), after remote management server receives the execution result of electricity management terminal, execution result is carried out
Record, is transmitted to the proximal device of user simultaneously.
(11) control result is fed back by user's proximal device to user.
(12) this remote control process terminates.
Embodiment of the method two
As in figure 2 it is shown, the present invention also provides for a kind of remote power control method embodiment, comprise the following steps:
Step 202, it is thus achieved that the user terminal reservation to electrical equipment set in advance controls the time;
Step 204, measures the network delay between electricity management terminal;
Step 206, calculates reservation control time and the time difference of current time, i.e. Δ t=TC-T0, TcFor reservation control
Time, T0For current time, Δ t is time difference;
Step 208, it is judged that network delay and the size of time difference, when network delay is more than time difference, performs step
Rapid 212;When network delay is less than or equal to time difference, perform step 210;
Step 210, calculates according to reservation control time and network delay and sends the of control instruction to electricity management terminal
Two send the time;When arriving for the second transmission time, perform step 212;
Step 212, transmission control instruction, to electricity management terminal, comprises electricity management terminal and sends control in control instruction
Instruction is to the first transmission time of electrical equipment, and first sends the time for the reservation control time;
The idiographic flow of remote power control method embodiment two of the present invention is as follows:
(1) remote management server receives the control request of Client-initiated remote household electrical appliance.
(2) remote management server asks to judge according to the rule in access control list, the control to user.
If it is determined that do not pass through, the remote household electrical appliance of remote management server refusal user controls request.If it is determined that pass through, carry out following
Step.
(3) remote management server according to the control of user ask remote management server presetting to
The reservation of electricity equipment controls the time, and carries out time reservation record.
(4) remote management server measurement remote management server prolongs to the network between electricity management terminal
Time Td。
(5) remote management server calculates current time (T0) and reservation control time (TC) difference DELTA t;Judge net
Whether network time delay controls time difference more than current time with reservation.Can also judge network delay whether more than current time with
With district (0,2), reservation controls certain multiple ε, ε of time difference can i.e. judge that network delay is the most sufficiently large.
Work as Td> ε (TC-T0) time, perform step (6), work as Td≤ ε (TC-T0), perform step (7).
(6) transmission control instruction is to electricity management terminal, comprises electricity management terminal and send control instruction in control instruction
Time to electrical equipment is the reservation control time.When preengaging the arrival of control time, electricity management terminal sends to perception unit
Control instruction.
(7) the transmission time to electricity management terminal transmission control instruction is calculated according to reservation control time and network delay
TC-NTd;When to TC-NTdTime, control instruction is sent to electricity management terminal.
(8), after electricity management terminal receives control command, the execution of control command is judged according to duty at that time
Feasibility.In embodiments of the present invention, the feasibility inspection performed also can be carried out at remote management server, perception unit
Look into, such as, when under the state that an electrical equipment is in operation, it is impossible to perform " startup " order again, but can accept " to close
Close " order.
(9) after being checked by feasibility, the control life that electricity management terminal issues according to remote management server
Order, the perception unit corresponding to target electrical equipment sends control instruction.
(10) the perception unit of target device receives the instruction of electricity management terminal, performs control action.And will control
Perform result (such as, electrical equipment being controlled success or not) and return to electricity management terminal.
(11) electricity management terminal receives the execution result that perception unit returns.
(12) electricity management terminal is after obtaining the execution result controlled, by the execution result of its control instruction to remotely
Management of power use server feeds back.
(13), after remote management server receives the execution result of electricity management terminal, execution result is carried out
Record, is transmitted to the proximal device of user simultaneously.
(14) control result is fed back by user's proximal device to user.
(15) this remote control process terminates.
It addition, in said method embodiment two, in step (4), remote management server can simultaneously to
Electricity management terminal sends control instruction.In step (6), Td> ε (TC-T0) time, electricity management terminal needs to maintain determining of self
Time device, when preengage the control time arrive time, to electrical equipment send control instruction.In step (7) a metallic, Td≤ ε (TC-T0), the most not
To the reservation control time, remote management server sends to electricity management terminal cancels control instruction, when to TC-NTdTime,
Again control instruction is sent to electricity management terminal.
Server example one
As it is shown on figure 3, the present invention provides a kind of remote management server example, including:
Acquisition module 31, controls the time for obtaining the user terminal reservation to electrical equipment set in advance;
Measurement module 32, for measuring the network delay between electricity management terminal;
Send Time Calculation module 33, send out to electricity management terminal for calculating according to reservation control time and network delay
Send the transmission time of control instruction;
Sending module 34, for when arriving the transmission time, being sent to electricity management terminal by control instruction.
Server example two
As shown in Figure 4, the present invention also provides for a kind of remote management server example, including:
Acquisition module 41, controls the time for obtaining the user terminal reservation to electrical equipment set in advance;
Measurement module 42, for measuring the network delay between electricity management terminal;
Sending module 46, for sending control instruction to electricity management terminal according to network delay and time difference.
Specifically, this server also includes:
Difference calculating module 43, for calculating reservation control time and the time difference of current time;
Comparison module 44, for comparing cell time delay and time difference;
Send Time Calculation module 45, during for being less than or equal to the time difference of preset multiple when network delay, according to
Reservation control time and network delay calculate the second transmission time sending control instruction to electricity management terminal;
Sending module 46, for when network delay is more than the time difference of preset multiple, sending control instruction to electricity consumption
Management terminal, comprises electricity management terminal and sends control instruction to the first transmission time of electrical equipment in control instruction, and first
The transmission time is the reservation control time;Or when network delay is less than or equal to time difference, after arriving for the second transmission time, will
Control instruction is sent to electricity management terminal.
Conceiving based on foregoing invention, the present invention provides a kind of remote control system embodiment, as it is shown in figure 5, this is
System embodiment includes: electrical equipment 51, electricity management terminal 52 and remote management server 53.
Electrical equipment is positioned at household internal, plant area or building.Electrical equipment is connected with electricity management terminal, and leads to
Crossing electricity management terminal and connect remotely controlled electrical equipment, this electrical equipment can be that air regulates class intelligent power equipment
(such as, electric fan, humidifier, air-conditioning etc.), refrigeration class intelligent power equipment (such as, refrigerator etc.), cleaning class intelligent power equipment
(washing machine, dish-washing machine) or kitchen guarding's class intelligent power equipment (such as, microwave oven, electric cooker, electromagnetic oven etc.).
Electrical equipment includes perception unit, and for being embedded in the chip of electrical equipment, it receives what electricity management terminal issued
Control instruction, is controlled electrical equipment, and the execution result of control instruction is returned to electricity management terminal.
Wherein, remote management server, for obtaining the user terminal reservation control to electrical equipment set in advance
Time processed, and measure the network delay between electricity management terminal;According to reservation the control time and network delay calculate to
Electricity management terminal sends the transmission time of control instruction;When arriving the transmission time, control instruction is sent to the management of power use eventually
End;Electricity management terminal, for being sent to electrical equipment by the control instruction received.
Or within the system, remote management server obtains user terminal pre-to electrical equipment set in advance
About control the time, and measure the network delay between electricity management terminal;Calculate reservation the control time and current time time
Between difference;Control instruction is sent to electricity management terminal according to network delay and time difference..
It addition, electricity management terminal is also after receiving control instruction, it is controlled according to the duty of electrical equipment
Instruction execution feasibility check, when feasibility inspection by after, control instruction is sent to electrical equipment.
In the present invention, it is also possible to completed the feasibility of control instruction by remote management server or electrical equipment itself
Check.
Remote management server perform feasibility inspection, when feasibility inspection by after, send the time will control
Instruction is sent to electricity management terminal.
Electrical equipment itself perform feasibility inspection, when feasibility inspection by after, perform control instruction, do not hold
OK.
The remote power control method of the present invention, system and remote management server, by carrying out network delay
Measure, it is possible to more accurately timing controlled electrical equipment, improve Consumer's Experience.
It is noted that above example is only in order to illustrate rather than restriction, the present invention is also not limited to above-mentioned
Citing, all are without departing from the technical scheme of the spirit and scope of the present invention and improvement thereof, and it all should contain the right in the present invention
In claimed range.