Electric equipment control method and device based on constant limit power and control equipmentTechnical Field
The invention relates to the field of communication, in particular to a method and a device for controlling electric equipment based on constant limit power and control equipment.
Background
In the related technology, the power supply at the power grid side is generally the situation that the coal is continuously burned for power supply in a power plant, if the power supply is insufficient, the power supply is continuously increased, and the excess electric energy is directly wasted. In the current society with energy shortage, the power supply mode is unreasonable, and the resource waste is caused.
In view of the above technical problems in the related art, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling electric equipment based on constant limit power and control equipment, and aims to at least solve the technical problem that power supply at a power grid side is wasted or insufficient in power supply at the power grid side in the related technology, so that the power demand cannot be guaranteed.
According to an embodiment of the invention, a method for controlling a constant-limit-power-based electric device is provided, which includes: acquiring an input power value provided by a power grid side, and acquiring a total power value of a plurality of started electric devices; comparing the magnitude of the input power value to the total power value; and controlling the operation modes of the plurality of electric devices according to the comparison result.
Optionally, the obtaining of the input power value provided by the grid side includes: receiving a power instruction sent by a power grid side, wherein the power instruction is used for instructing the power grid side to provide input power for a plurality of electric equipment on an electric utilization side; determining the input power value according to the power instruction.
Optionally, the obtaining of the total power value of the activated plurality of electric devices includes: acquiring a plurality of operating powers of the plurality of electric devices; and calculating the total power value of the plurality of electric equipment according to the plurality of operating powers.
Optionally, the controlling the operation modes of the plurality of electric devices according to the comparison result includes: determining a power mode of input power provided by the grid side, wherein the power mode comprises: a constant power mode and a limited power mode; calculating priorities of the plurality of electric devices according to the operating parameters of the plurality of electric devices, wherein the priorities are used for representing a processing sequence for controlling the plurality of electric devices; and controlling the operation modes of the plurality of electric devices according to the priority and the comparison result.
Optionally, calculating the priorities of the plurality of electric devices according to the operating parameters of the plurality of electric devices includes: acquiring a plurality of pieces of operating parameter information of the plurality of pieces of electric equipment; and calculating the priorities of the plurality of electric devices according to the plurality of pieces of operating parameter information and a machine learning algorithm.
Optionally, the power mode is a limited power mode, and controlling the operation modes of the plurality of electrical devices according to the priority and the comparison result includes: if the total power value is larger than the input power value, searching a first electric device from the plurality of electric devices according to the priority; turning off the first powered device; or, performing power-down operation on the first electrical device.
Optionally, the power mode is a constant power mode, and controlling the operation modes of the plurality of electrical devices according to the priority and the comparison result includes: if the total power value is smaller than the input power value, searching a second electric device from the plurality of electric devices according to the priority; performing a power increase operation on the second electrical device; or enabling the non-operating electric equipment except the plurality of electric equipment.
Optionally, the power mode is a constant power mode, and controlling the operation modes of the plurality of electrical devices according to the priority and the comparison result includes: if the total power value is larger than the input power value, searching a third electric device from the plurality of electric devices according to the priority; turning off the third electrical device; or, performing power-down operation on the third electrical device.
According to an embodiment of the present invention, there is provided a control apparatus for a constant-limit-power-based electric device, including: the first acquisition module is used for acquiring an input power value provided by a power grid side and acquiring a total power value of a plurality of started electric equipment; the comparison module is used for comparing the input power value with the total power value; and the control module is used for controlling the operation modes of the plurality of electric devices according to the comparison result.
Optionally, the obtaining module includes: the power control device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a power instruction sent by a power grid side, and the power instruction is used for indicating the power grid side to provide input power for a plurality of electric equipment on an electric utilization side; a first determining unit configured to determine an input power value of the input power according to the power instruction.
Optionally, the obtaining module further includes: an acquisition unit configured to acquire a plurality of operating powers of the plurality of electric devices; the first calculating unit is used for calculating the total power value of the plurality of electric equipment according to the plurality of operating powers.
Optionally, the control module includes: a second determining unit, configured to determine a power mode of the input power provided by the grid side, wherein the power mode includes: a constant power mode and a limited power mode; the calculating unit is used for calculating priorities of the plurality of electric devices according to the operating parameters of the plurality of electric devices, wherein the priorities are used for representing a processing sequence for controlling the plurality of electric devices; and the control unit is used for controlling the operation modes of the plurality of electric devices according to the priority and the comparison result.
Optionally, the computing unit includes: the acquisition subunit is used for acquiring a plurality of pieces of operating parameter information of the plurality of pieces of electric equipment; and the calculating subunit is used for calculating the priorities of the plurality of electric devices according to the plurality of pieces of operating parameter information and a machine learning algorithm.
Optionally, the power mode is a limited power mode, and the control unit includes: the searching subunit is configured to search, if the total power value is greater than the input power value, a first electrical device from the plurality of electrical devices according to the priority; a first processing subunit for turning off the first electrical device; or, performing power-down operation on the first electrical device.
Optionally, the power mode is a constant power mode, and the control unit includes a second searching subunit, configured to search, if the total power value is smaller than the input power value, a second electrical device from the multiple electrical devices according to the priority; a second processing subunit for performing power-up operations on the second electrical device; or enabling the non-operating electric equipment except the plurality of electric equipment.
Optionally, the power mode is a constant power mode, and the control unit includes: a third searching subunit, configured to search, if the total power value is greater than the input power value, a third electrical device from the multiple electrical devices according to the priority; a third processing subunit for turning off the third electrical device; or, performing power-down operation on the third electrical device.
According to another embodiment of the invention, a control device of a constant-limit-power-based electric device is further provided, and the control device comprises any one of the above devices.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to the invention, after the input power value and the total power value of the running power of the started electric motor equipment are determined, the demand side controls the started electric equipment according to the comparison result of comparing the input power value and the total power value, so that the demand side adjusts the power supply mode of the electric equipment by self, and the technical problem that the power supply waste of the power grid side or the power supply shortage of the power grid side cannot guarantee the power demand in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure in which a method for controlling a constant-limit-power-based electric device according to an embodiment of the present invention is applied to a mobile terminal;
FIG. 2 is a flowchart of a method for controlling a constant limit power-based consumer, according to an embodiment of the present invention;
fig. 3 is a control flowchart of an operation mode of home equipment according to an embodiment of the present invention;
fig. 4 is a block diagram of a control apparatus of a constant-limit-power-based electric device according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an operation on a mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of an electric device control method based on a constant-limit power applied to a mobile terminal according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and amemory 104 for storing data, and optionally may also include atransmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
Thememory 104 may be used to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to a control method of a constant-limit-power-based electric device in an embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in thememory 104, so as to implement the method described above. Thememory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, thememory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Thetransmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, thetransmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, thetransmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Aiming at the technical problem that power supply at the power grid side is wasted or insufficient in power supply at the power grid side in the related art, the power demand cannot be guaranteed, the invention provides a control method of electric equipment based on constant limit power, and fig. 2 is a flow chart of the control method of the electric equipment based on the constant limit power according to the embodiment of the invention, and as shown in fig. 2, the flow comprises the following steps:
step S202, acquiring an input power value provided by a power grid side and acquiring a total power value of a plurality of started electric equipment;
the input power in this embodiment is constant power or limited power provided by the grid side.
The electric devices in this embodiment may be household appliances in a user's home, such as a water heater, a washing machine, an electric cooker, and the like, wherein the total power value of the plurality of electric devices is the sum of the operating powers of the plurality of electric devices, and the operating power is the actual power of the household appliance in use, and belongs to the operating characteristics of the household appliance.
Step S204, comparing the input power value with the total power value;
and step S206, controlling the operation modes of the plurality of electric devices according to the comparison result.
Optionally, the main body for executing the steps may be an energy control module, but is not limited thereto.
Through the embodiment, after the input power value and the total power value of the running power of the started electric motor equipment are determined, the demand side controls the started electric motor equipment according to the comparison result of the input power value and the total power value, so that the demand side can adjust the power supply mode of the electric motor equipment, and the technical problem that the power supply on the power grid side is wasted or insufficient in the related technology and the power demand cannot be guaranteed is solved.
In an embodiment of the present disclosure, obtaining an input power value provided by a grid side includes: receiving a power instruction sent by a power grid side, wherein the power instruction is used for indicating the power grid side to provide input power for a plurality of electric equipment on the electric utilization side; an input power value is determined from the power command. In this embodiment, a power instruction, such as a constant power instruction, is issued by the grid side, and a power value of a given power (i.e., the input power) is determined according to the constant power instruction, so as to ensure that the grid side supplies power with a constant or limited power.
In one embodiment of the present disclosure, obtaining a total power value of the activated plurality of electric devices includes: acquiring a plurality of operating powers of a plurality of electric devices; and calculating the total power value of the plurality of electric devices according to the plurality of operating powers.
In this embodiment, it is preferable that the operating power of each household appliance being used in the current time period is obtained in a real-time collecting manner, or the operating power of each household appliance being used in the current time period is obtained in a timing collecting manner, which is determined according to a real-time requirement, and the present invention is not limited specifically herein.
Optionally, the controlling the operation modes of the plurality of electric devices according to the comparison result includes: determining a power mode of an input power provided by a grid side, wherein the power mode comprises: a constant power mode and a limited power mode; calculating priorities of the plurality of electric devices according to the operating parameters of the plurality of electric devices, wherein the priorities are used for representing a processing sequence for controlling the plurality of electric devices; and controlling the operation modes of the plurality of electric devices according to the priorities and the comparison result.
In the embodiment, the mode of the input power is a constant power mode or a limited power mode, the operation modes of the household appliances are adjusted to be different, and the operation mode is controlled by the equipment under the condition of constant power, so that the operation requirement of future constant power is met.
In an alternative embodiment, calculating the priority of the plurality of electric devices according to the operation parameters of the plurality of electric devices includes: acquiring a plurality of pieces of operating parameter information of a plurality of electric devices; and calculating the priorities of the plurality of electric equipment according to the plurality of pieces of operating parameter information and a machine learning algorithm.
In this embodiment, the operation parameter information of the plurality of electrical devices during operation can be acquired in a timing acquisition mode or a real-time acquisition mode, wherein the operation parameter information belongs to the operation characteristics of the household appliances, the priority of each household appliance is calculated according to the operation parameter information and a machine learning algorithm, and the electrical devices are processed according to the priorities, so that the requirements of household users are met, and the use experience of the household users is guaranteed.
Optionally, the power mode is a limited power mode, and controlling the operation modes of the plurality of electric devices according to the priorities and the comparison result includes: if the total power value is larger than the input power value, searching first electric equipment from the plurality of electric equipment according to the priority; turning off the first powered device; or, performing power-down operation on the first electrical device.
In this embodiment, under the condition of the power limited mode, if the total power value is smaller than the power limited value, the electric device is not operated; if the total power value is larger than the power limit value, the electric equipment with low priority can be preferentially stopped, or the running power of the equipment with low priority can be reduced, so that the problem that the basic electricity demand is guaranteed on the premise that the power supply of a power grid is insufficient by a user is solved.
Optionally, the power mode is a constant power mode, and controlling the operation modes of the plurality of electrical devices according to the priorities and the comparison result includes: if the total power value is smaller than the input power value, searching second electric equipment from the plurality of electric equipment according to the priority; performing power-up operation on the second electrical device; or, a plurality of electric devices except the non-operating electric device are started.
Optionally, the power mode is a constant power mode, and controlling the operation modes of the plurality of electrical devices according to the priorities and the comparison result includes: if the total power value is larger than the input power value, searching a third electric device from the plurality of electric devices according to the priority; turning off the third electrical device; or, performing power-down operation on the third electric device.
In the present embodiment, under the condition of the constant power mode, if the total power value of the running home appliance is equal to the input power value, the home appliance is not operated; if the total power value is smaller than the input power value, the power of motor equipment with high priority can be preferentially increased, or the household appliances which are not operated are started; if the total power value is larger than the input power value, the electric equipment with low priority is turned off, or the power of the electric equipment with low priority is reduced. Through the embodiment, the problem that power supply on the power grid side is wasted or the basic power demand of a user cannot be guaranteed due to insufficient power supply under the constant power condition is solved, and the beneficial effects of energy conservation and consumption reduction are achieved.
Preferably, after the controlling the operation modes of the plurality of electric devices according to the comparison result, the method further includes: and determining that the total power of the plurality of currently-operating electric devices is less than or equal to the input power value so as to ensure the safety of the plurality of currently-operating electric devices.
In this embodiment, after the currently operating household appliance is controlled, the total power of the currently operating household appliance needs to be calculated again, and the total power needs to be compared with the input power value, so as to ensure the safety of the currently operating plurality of electric devices and ensure the normal life of the user.
The technical solution provided by the present invention is further described below with reference to a specific embodiment.
Fig. 3 is a control flowchart of an operation mode of a home device according to an embodiment of the present invention, and as shown in fig. 3, the entire control mode in this embodiment includes an energy control module and an analysis and calculation module.
Specifically, the energy control module receives a constant power instruction (i.e., the power instruction) issued by the power grid side, and transmits the determined constant power value (input power value) and the device operation condition (the operation condition includes the operation power and the operation parameter information) to the analysis and calculation module. The analysis and calculation module starts to calculate the total power condition of the equipment which is started currently.
Further, two scene modes are distinguished: a limited power mode and a constant power mode.
For the power limited mode: when the total power is smaller than the power limit value issued by the power grid, the household equipment does not need to be adjusted. If the total power is larger than the limited power value issued by the power grid, the analysis and calculation module finds out the equipment which can reduce power or stop using power in the current time period according to the machine learning algorithm, and simultaneously prompts the client to reduce power or stop running.
For constant power mode: when the total power is smaller than the constant power value issued by the power grid, the analysis and calculation module finds out equipment which can be powered on or power-up under the current time situation according to a machine learning algorithm, and determines whether the running power can fill up the difference between the constant power value issued by the power grid side and the current actual constant power value. And then issuing an instruction to the corresponding equipment to execute control. If the total power is greater than the constant power value issued by the power grid, the analysis and calculation module finds out that the power equipment can be closed or power-down under the current situation according to the machine learning algorithm, and determines whether the value after closing or power-down meets the difference value between the current actual constant power value and the constant power value issued by the power grid side. After confirmation, the client can be prompted to stop using or change the using mode. And when the analysis and calculation module cannot find out available equipment for adjustment, the adjustment is carried out according to the comfort, safety and basic guarantee principles. When the power is required to be increased, the power can be increased and adjusted by turning on household appliances (such as an air conditioner, a sound box, light and the like). When power needs to be reduced, the adjustment is carried out according to the comfort guarantee, the safety guarantee and the level of guaranteeing basic life finally. The comfort, safety and basic security devices can be classified by the user or well according to the data analysis mode.
The embodiment of the invention provides a new equipment control mode, which can be used for meeting the equipment control operation mode normally used by home users in a centralized manner under the condition of constant power, ensuring the power utilization requirements of the home users under the condition of power supply limitation, ensuring normal life and saving energy.
Example 2
In this embodiment, a control device for an electric device based on a constant-limit power is also provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a control apparatus for a constant-limit-power-based electric device according to an embodiment of the present invention, as shown in fig. 4, including: an obtainingmodule 40, configured to obtain an input power value provided by a power grid side, and obtain a total power value of the enabled multiple electric devices; a comparingmodule 42, connected to the obtainingmodule 40, for comparing the input power value with the total power value; and acontrol module 44, connected to thecomparison module 42, for controlling the operation modes of the plurality of electric devices according to the comparison result.
Optionally, the obtainingmodule 40 includes: the power control device comprises a receiving unit, a processing unit and a control unit, wherein the receiving unit is used for receiving a power instruction sent by a power grid side, and the power instruction is used for indicating the power grid side to provide input power for a plurality of electric equipment on the power utilization side; a first determining unit for determining an input power value of the input power according to the power command.
Optionally, the obtainingmodule 40 further includes: the device comprises an acquisition unit, a power supply unit and a control unit, wherein the acquisition unit is used for acquiring a plurality of operating powers of a plurality of electric devices; the first calculation unit is used for calculating the total power value of the plurality of electric equipment according to the plurality of operating powers.
Optionally, thecontrol module 44 includes: a second determining unit, configured to determine a power mode of the input power provided by the grid side, where the power mode includes: a constant power mode and a limited power mode; the calculating unit is used for calculating the priorities of the plurality of electric equipment according to the operating parameters of the plurality of electric equipment, wherein the priorities are used for representing the processing sequence for controlling the plurality of electric equipment; and the control unit is used for controlling the operation modes of the plurality of electric devices according to the priorities and the comparison result.
Optionally, the computing unit includes: the acquisition subunit is used for acquiring a plurality of pieces of operation parameter information of a plurality of pieces of electric equipment; and the calculating subunit is used for calculating the priorities of the plurality of electric equipment according to the plurality of pieces of operating parameter information and the machine learning algorithm.
Optionally, the power mode is a limited power mode, and the control unit includes: the searching subunit is used for searching the first electric equipment from the plurality of electric equipment according to the priority if the total power value is greater than the input power value; a first processing subunit for turning off the first electrical device; or, performing power-down operation on the first electrical device.
Optionally, the power mode is a constant power mode, and the control unit includes a second searching subunit, configured to search, if the total power value is smaller than the input power value, a second electrical device from the multiple electrical devices according to the priority; the second processing subunit is used for performing power increasing operation on the second electrical equipment; or, a plurality of electric devices except the non-operating electric device are started.
Optionally, the power mode is a constant power mode, and the control unit includes: the third searching subunit is used for searching a third electric device from the plurality of electric devices according to the priority if the total power value is greater than the input power value; a third processing subunit for turning off a third electrical device; or, performing power-down operation on the third electric device.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring an input power value provided by the power grid side and acquiring a total power value of the activated plurality of electric equipment;
s2, comparing the input power value with the total power value;
and S3, controlling the operation modes of the plurality of electric devices according to the comparison result.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.