CN108429795B - Energy management system and method - Google Patents

Energy management system and method Download PDF

Info

Publication number
CN108429795B
CN108429795B CN201810149951.3A CN201810149951A CN108429795B CN 108429795 B CN108429795 B CN 108429795B CN 201810149951 A CN201810149951 A CN 201810149951A CN 108429795 B CN108429795 B CN 108429795B
Authority
CN
China
Prior art keywords
energy consumption
consumption data
router
information
controlled device
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
CN201810149951.3A
Other languages
Chinese (zh)
Other versions
CN108429795A (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.)
State Grid Corp of China SGCC
Beijing University of Posts and Telecommunications
Global Energy Interconnection Research Institute
Information and Telecommunication Branch of State Grid Liaoning Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Beijing University of Posts and Telecommunications
Global Energy Interconnection Research Institute
Information and Telecommunication Branch of State Grid Liaoning Electric Power 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 State Grid Corp of China SGCC, Beijing University of Posts and Telecommunications, Global Energy Interconnection Research Institute, Information and Telecommunication Branch of State Grid Liaoning Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201810149951.3A priority Critical patent/CN108429795B/en
Publication of CN108429795A publication Critical patent/CN108429795A/en
Application granted granted Critical
Publication of CN108429795B publication Critical patent/CN108429795B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter

Abstract

The embodiment of the invention provides an energy management system and a method, which relate to the technical field of computers, wherein the system comprises a controller, at least one controlled device and at least one router, wherein the controller comprises a data acquisition module, and each router is in communication connection with at least one controlled device; the data acquisition module sends a historical energy consumption data request to the router and receives the energy consumption data sent by the router when receiving an energy consumption data acquisition instruction of a user and the energy consumption data required to be acquired is cleared; the controlled equipment receives the real-time energy consumption data request forwarded by the router and sends energy consumption data to the router; and the router receives the historical energy consumption data request sent by the data acquisition module and sends the searched energy consumption data to the data acquisition module. By applying the scheme provided by the embodiment of the invention, the transmission path of the energy consumption data can be shortened, the transmission time is further shortened, and the transmission efficiency of a system network and the response speed of the system are improved.

Description

Energy management system and method
Technical Field
The invention relates to the technical field of computers, in particular to an energy management system and method.
Background
With the continuous development of computer technology, smart homes gradually become an important choice for optimizing family life, wherein an energy management system of the smart home occupies an important position and plays an important role in household energy conservation and household appliance automation. In the prior art, a management terminal in an intelligent home energy management system acquires energy consumption data of home electric equipment, and then controls the running state of the home electric equipment according to the acquired energy consumption data.
In the intelligent home energy management system in the prior art, because the energy consumption data cannot be cached in the system network, when the controller needs to acquire the energy consumption data of the home electric equipment, the controller can only send a data request to the home electric equipment and then receive the energy consumption data fed back by the home electric equipment.
Disclosure of Invention
The embodiment of the invention aims to provide an energy management system and method, so that a controller can acquire energy consumption data from a router instead of acquiring the energy consumption data from controlled equipment, the transmission path and the transmission time of the energy consumption data are shortened, and the transmission efficiency of a system network and the response speed of the system are improved.
The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an energy management system, where the system includes a controller, at least one controlled device, and at least one router, where the controller includes a data acquisition module, and each router establishes a communication connection with the at least one controlled device;
the data acquisition module is used for sending a real-time energy consumption data request to the at least one router, receiving and storing the energy consumption data forwarded by the router, and performing timing clearing; when an energy consumption data acquisition instruction of a user is received and energy consumption data required to be acquired is emptied, sending a historical energy consumption data request to the at least one router and receiving the energy consumption data sent by the router; wherein the energy consumption data is: data identifying an operational state of the controlled device; the real-time energy consumption data request carries naming information of the energy consumption data of the at least one controlled device; the historical energy consumption data request carries naming information of energy consumption data of appointed controlled equipment; the naming information includes: identification information of the controlled device and timestamp information of the energy consumption data;
the at least one controlled device is used for receiving the real-time energy consumption data request forwarded by the at least one router and sending energy consumption data to the router;
the at least one router is used for receiving the real-time energy consumption data request sent by the data acquisition module, and forwarding the real-time energy consumption data request to the controlled equipment corresponding to the identification information of the controlled equipment according to the identification information of the controlled equipment carried by the real-time energy consumption data request; receiving energy consumption data sent by the controlled equipment corresponding to the identification information of the controlled equipment, forwarding the received energy consumption data to the data acquisition module, and storing the received energy consumption data; receiving a historical energy consumption data request sent by the data acquisition module, searching corresponding energy consumption data in the stored energy consumption data according to identification information of specified controlled equipment and timestamp information of the energy consumption data carried by the historical energy consumption data request, and sending the searched energy consumption data to the data acquisition module.
In a second aspect, an embodiment of the present invention provides a first energy management method, which is applied to at least one router in an energy management system, where the system includes: the method comprises the following steps that at least one router, at least one controlled device and a controller are arranged, the controller comprises a data acquisition module, and each router is in communication connection with the at least one controlled device, and the method comprises the following steps:
receiving a historical energy consumption data request sent by the data acquisition module, wherein the historical energy consumption data request carries naming information of energy consumption data of target controlled equipment; the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data;
searching corresponding energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried in the historical energy consumption data request; wherein the energy consumption data is: data identifying an operational state of the controlled device; the stored energy consumption data is: energy consumption data stored when the energy consumption data sent by the target controlled equipment is forwarded to the data acquisition module; the target controlled device is: the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the data acquisition module;
and sending the searched energy consumption data to the data acquisition module.
In a third aspect, an embodiment of the present invention provides a second energy management method, applied to at least one controlled device in an energy management system, where the system includes: the method comprises the following steps that at least one controlled device, at least one router and a controller are included, the controller comprises a data acquisition module, and each router is in communication connection with the at least one controlled device, and the method comprises the following steps:
generating naming information of the energy consumption data in real time according to a preset naming rule; wherein the energy consumption data is: data for identifying the running state of the controlled equipment, wherein the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data;
and sending the generated naming information and the energy storage address corresponding to the naming information to the at least one router.
In a fourth aspect, an embodiment of the present invention provides a third energy management method, which is applied to a controller in an energy management system, where the system includes: at least one controlled device, at least one router and a controller, each router establishing a communication connection with at least one controlled device, the method comprising:
receiving an energy consumption data acquisition instruction sent by a user;
when the energy consumption data required to be acquired is emptied, sending a historical energy consumption data request to the at least one router; the historical energy consumption data request carries naming information of energy consumption data of specified controlled equipment, the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data, and the energy consumption data is as follows: data identifying an operational state of the controlled device;
receiving energy consumption data sent by the router, wherein the energy consumption data sent by the router is as follows: the router searches the energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried by the historical data request; the stored energy consumption data is: the router forwards the energy consumption data sent by the target controlled equipment to the controller, and the energy consumption data is stored; the target controlled device is: and the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the controller.
As can be seen from the above, according to the scheme provided by the embodiment of the present invention, the energy management system includes a controller, at least one controlled device, and at least one router, where the controller includes a data acquisition module, and each router establishes a communication connection with at least one controlled device; when a user needs to acquire energy consumption data of target controlled equipment and the data acquisition module in the controller does not store the required energy consumption data, the data acquisition module can directly send a historical energy consumption data request to at least one router, and the router searches the stored energy consumption data according to identification information of the target controlled equipment and timestamp information of the energy consumption data included in the historical energy consumption data request and sends the searched energy consumption data to the data acquisition module.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a first structure of an energy management system according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a second structure of the energy management system according to the embodiment of the invention.
Fig. 3 is a schematic diagram of a third structure of the energy management system according to the embodiment of the invention.
Fig. 4 is a flowchart illustrating a first energy management method according to an embodiment of the present invention.
Fig. 5 is a flowchart illustrating a second energy management method according to an embodiment of the present invention.
Fig. 6 is a flowchart illustrating a third energy management method according to an embodiment of the invention.
Fig. 7 is a schematic structural diagram of a first energy management device according to an embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a second energy management device according to an embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a third energy management device according to an embodiment of the present invention.
Fig. 10 is a schematic structural diagram of a router according to an embodiment of the present invention.
Fig. 11 is a schematic structural diagram of a controlled device according to an embodiment of the present invention.
Fig. 12 is a schematic structural diagram of a controller according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the intelligent home energy management system in the prior art, because the energy consumption data cannot be cached in the system network, when the controller needs to acquire the energy consumption data of the home electric equipment, the controller can only send a data request to the home electric equipment and then receive the energy consumption data fed back by the home electric equipment.
In order to solve the problems in the prior art, an embodiment of the present invention provides an energy management system, where the system includes a controller, at least one controlled device, and at least one router, where the controller includes a data acquisition module, and each router establishes a communication connection with at least one controlled device;
the data acquisition module is used for sending a real-time energy consumption data request to the at least one router, receiving and storing the energy consumption data forwarded by the router, and performing timing clearing; when an energy consumption data acquisition instruction of a user is received and energy consumption data required to be acquired is emptied, sending a historical energy consumption data request to the at least one router and receiving the energy consumption data sent by the router; wherein the energy consumption data is: data identifying an operational state of the controlled device; the real-time energy consumption data request carries naming information of the energy consumption data of the at least one controlled device; the historical energy consumption data request carries naming information of energy consumption data of appointed controlled equipment; the naming information includes: identification information of the controlled device and timestamp information of the energy consumption data;
the at least one controlled device is used for receiving the real-time energy consumption data request forwarded by the at least one router and sending energy consumption data to the router;
the at least one router is used for receiving the real-time energy consumption data request sent by the data acquisition module, and forwarding the real-time energy consumption data request to the controlled equipment corresponding to the identification information of the controlled equipment according to the identification information of the controlled equipment carried by the real-time energy consumption data request; receiving energy consumption data sent by the controlled equipment corresponding to the identification information of the controlled equipment, forwarding the received energy consumption data to the data acquisition module, and storing the received energy consumption data; receiving a historical energy consumption data request sent by the data acquisition module, searching corresponding energy consumption data in the stored energy consumption data according to identification information of specified controlled equipment and timestamp information of the energy consumption data carried by the historical energy consumption data request, and sending the searched energy consumption data to the data acquisition module.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
The energy management system provided by the embodiment of the invention is introduced below.
Fig. 1 is a schematic diagram of a first structure of an energy management system according to an embodiment of the present invention.
The system comprises a controller 110, at least one controlled device 120-1, 120-2, …, 120-N (N is more than or equal to 1) and at least one router 130-1, 130-2, …, 130-M (M is more than or equal to 1), wherein the controller comprises a data acquisition module 1101, and each router is in communication connection with the at least one controlled device;
the energy management system may include only one router, and the router establishes communication connections with all the controlled devices included in the energy management system.
The data acquisition module 1101 is configured to send a real-time energy consumption data request to at least one router 130-1, 130-2, …, 130-M (M is greater than or equal to 1), receive and store energy consumption data forwarded by the router, and perform timing clearing.
Wherein, the energy consumption data may be: data identifying the operating state of the controlled device, such as: the control method comprises the following steps of scheduling threshold values of the controlled equipment, operating voltage of the controlled equipment, operating current of the controlled equipment, operating power of the controlled equipment, ambient temperature of the controlled equipment, ambient humidity of the controlled equipment, ambient illumination intensity of the controlled equipment and the like.
The real-time energy consumption data request may carry naming information of energy consumption data of at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1), and is used to request energy consumption data of the controlled device at the current time.
The naming information may include: identification information of the controlled device and time stamp information of the energy consumption data.
The identification information of the controlled device in the naming information is used to identify the controlled device generating the naming information, and the identification information of the controlled device may be composed of numbers, for example, 01-02-0121-07-03-0301-05, where 01 denotes beijing, 01 denotes a sunny region, 0121 denotes a certain cell of the sunny region, 07-denotes a 7 th floor, 03 denotes three units, 0301 denotes a house number, 05 denotes a living room air conditioner, and it is visible that the controlled device corresponding to the identification information is a living room air conditioner of 0310 room of 7 th floor 3 unit of a certain cell of the sunny region in beijing. Of course, the identification information of the controlled device may have other forms, for example, it may be composed of letters, letters and numbers, etc.
The time stamp information in the naming information represents the generation time of the energy consumption data corresponding to the naming information, the time stamp information can be in a digital form, such as 2017-09-15-15-23-56, and the generation time of the represented energy consumption data is 2017, 9, 15, 23, min and 56 seconds. Of course, the time stamp information may be in other forms, such as representing a particular time by a particular letter combination, etc. In addition, the time stamp information can be accurate to millisecond, second and minute, and in practical application, technicians can set the time stamp information according to the time accuracy requirement.
In an energy management system, a controller needs to monitor the operation status of at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1) in the system, so as to determine whether a control command needs to be sent to one or some of the controlled devices to adjust the operation status of the controlled device.
The controller needs to monitor the operation status of at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1), and needs to obtain the energy consumption data of at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1) in real time, for which the data collection module 1101 may send a real-time energy consumption data request to at least one router 130-1, 130-2, …, 130-M (M ≧ 1).
The data acquisition module 1101 may send the real-time energy consumption data request to at least one router 130-1, 130-2, …, 130-M (M ≧ 1) in real time, or may send the real-time energy consumption data request to at least one router 130-1, 130-2, …, 130-M (M ≧ 1) according to a preset period, for example, the data acquisition module 1101 sends the real-time energy consumption data request to at least one router 130-1, 130-2, …, 130-M (M ≧ 1) once every 30 seconds.
When the data acquisition module 1101 receives the energy consumption data forwarded by at least one router 130-1, 130-2, …, 130-M (M ≧ 1), the energy consumption data may be stored, however, since the storage space of the data acquisition module 1101 may not be able to store all the received energy consumption data, the data acquisition module 1101 may periodically clear the stored energy consumption data.
The data acquisition module 1101 may empty the stored energy consumption data at regular time, for example, empty the energy consumption data stored in the data acquisition module 1101 at 0 point per day; or according to the storage time of the energy consumption data, when the storage space of the data acquisition module 1101 is full, a preset amount of energy consumption data is cleared from the energy consumption data with the earliest storage time, for example, 50% of the stored energy consumption data in the storage space is cleared; the energy consumption data having the same storage amount as the newly received energy consumption data is cleared.
In the above process, the router 130-1, 130-2, …, 130-M (M ≧ 1) is used for receiving the real-time energy consumption data request and forwarding the real-time energy consumption data to the controlled device establishing communication connection with the router.
And the at least one controlled device 120-1, 120-2, …, 120-N (N is more than or equal to 1) is used for receiving the real-time energy consumption data request forwarded by the at least one router 130-1, 130-2, …, 130-M (M is more than or equal to 1) and sending the energy consumption data to the router.
The router sends a real-time energy consumption data request to the controlled equipment which establishes communication connection with the router, and receives the energy consumption data sent by the controlled equipment. The real-time energy consumption data request received by the controlled equipment is sent by the router which establishes communication connection with the controlled equipment, and the energy consumption data is sent to the router.
In one implementation, at least one router 130-1, 130-2, …, 130-M (M ≧ 1) may be further configured to receive and store naming information of the energy consumption data sent by at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1), and a storage address of the energy consumption data corresponding to the naming information, and forward the naming information to the data acquisition module 1101. The naming information of the energy consumption data sent by at least one controlled device 120-1, 120-2, …, 120-N (N is more than or equal to 1) is the naming information of the energy consumption data generated according to a preset naming rule.
In this implementation, the data collection module 1101 receives and stores naming information of the energy consumption data forwarded by at least one router 130-1, 130-2, …, 130-M (M ≧ 1).
The naming information of the energy consumption data received by the router and the storage address of the energy consumption data corresponding to the naming information are sent by the controlled device which establishes communication connection with the router, and meanwhile, the router forwards the received naming information of the energy consumption data to the data acquisition module 1101.
In one implementation, the storage address of the energy consumption data corresponding to the naming information may include identification information of the controlled device.
In this implementation manner, the manner in which the router forwards the real-time energy consumption data to the controlled device that establishes the communication connection with the router may specifically be:
the router matches the identification information of the controlled device included in the received real-time energy consumption data request with the stored identification information of the controlled device, when the matching is successful, according to the successfully matched identification information, a corresponding storage address is searched in the storage address of the energy consumption data stored in the router, and the real-time energy consumption data request is forwarded to the controlled device corresponding to the identification information of the controlled device included in the searched storage address.
In this implementation manner, the manner in which the controlled device sends the energy consumption data to the router that establishes the communication connection with the controlled device may specifically be:
the controlled equipment determines a storage address of the energy consumption data corresponding to the naming information comprising the timestamp information according to the timestamp information of the energy consumption data carried by the real-time energy consumption data request, acquires the energy consumption data from the determined storage address, and then sends the acquired energy consumption data to the router.
Moreover, the data acquisition module 1101 is configured to send a historical energy consumption data request to at least one router 130-1, 130-2, …, 130-M (M is greater than or equal to 1) and receive energy consumption data sent by the router when an instruction for obtaining energy consumption data by a user is received and the energy consumption data to be obtained is emptied;
the historical energy consumption data request may carry naming information of energy consumption data of a specified controlled device, and is used for requesting the energy consumption data of the controlled device at a time before the current time, and the specified controlled device refers to a controlled device corresponding to the controlled device identification information carried in the historical energy consumption data request, that is, a controlled device corresponding to the energy consumption data that a user needs to obtain.
In many cases, the user needs to obtain energy consumption data of the controlled device at some time or times before the current time. For example, when the user needs to determine whether the performance of a certain controlled device is stable by looking at the historical operating state of the controlled device, or the user wants to obtain the energy consumption data of the air conditioner at the time of day 12 of the previous 7 th-1 th-7 th-31 th days of the year, and the result of comparison of the energy consumption data of the air conditioner at the time of day 12 of the current 7 th-1 th-7 th-31 th days of the year, thereby determining whether the air temperature at the current 7 th-1 th-7 th-31 th days of the year is higher than the air temperature at the last 7 th-1 th-7 th-31 th days of the.
When a user needs to acquire energy consumption data of the controlled device at a certain time or at certain time before the current time, that is, the user needs to acquire historical energy consumption data of the controlled device, the user may send an instruction to acquire the energy consumption data to the controller.
The instruction for acquiring the energy consumption data comprises identification information of the controlled device for generating the energy consumption data to be acquired and timestamp information of the generation time of the energy consumption data to be acquired. The data acquisition module 1101 searches the energy consumption data to be acquired from the stored energy consumption data according to the identification information and the timestamp information included in the instruction for acquiring energy consumption data.
The energy consumption data stored by the data acquisition module 1101 is: the data acquisition module 1101 receives energy consumption data of a target controlled device forwarded by at least one router 130-1, 130-2, …, 130-M (M ≧ 1), where the target controlled device is: the controlled device corresponds to the controlled device identification information in the naming information carried in the real-time energy consumption data request sent by the data acquisition module 1101.
When the energy consumption data stored by the data acquisition module 1101 does not have the energy consumption data to be acquired, the data acquisition module 1101 sends a historical energy consumption data request to at least one router 130-1, 130-2, …, 130-M (M is greater than or equal to 1).
Each of the at least one router 130-1, 130-2, …, 130-M (M ≧ 1) receives the historical energy consumption data request, and may match the identification information of the controlled device included in the historical energy consumption data request with the stored identification information of the controlled device.
When the matching is successful, according to the identifier information of the controlled device and the timestamp information of the energy consumption data included in the historical energy consumption data request, the corresponding energy consumption data is searched in the stored energy consumption data, and then the searched energy consumption data is sent to the data acquisition module 1101. The energy consumption data stored by the router is as follows: and energy consumption data stored when the energy consumption data sent by the target controlled device is forwarded to the data acquisition module 1101.
In an implementation manner, the preset naming rule adopted when the at least one controlled device 120-1, 120-2, …, 120-N (N is greater than or equal to 1) generates the naming information of the energy consumption data according to the preset naming rule may be a hierarchical naming mechanism.
The hierarchical naming structure is similar to the structure of a URL (Uniform Resource Locator), objects to be named are named according to a certain rule, a domain name where the objects to be named are located is used as a naming prefix, and information such as names of the objects to be named is spliced behind the name. For example, the naming of the video resource class is represented by the movie.mp4 resource provided by a movie website, which is hierarchically named as/youtube.com/movie/store/movie.mp 4.
In this implementation manner, the manner in which the controlled device generates the naming information of the energy consumption data according to the hierarchical naming mechanism may be:
naming controlled equipment according to a certain rule, taking a domain name where the controlled equipment is located as a naming prefix, splicing the names of the controlled equipment to obtain identification information of the controlled equipment, and adding timestamp information behind the identification information to obtain naming information of the energy consumption data of the controlled equipment.
For example: the controlled device is a television set in a household of a resident of a community in the sunny district in Beijing, and the naming information of the energy consumption data can be as follows: and/Beijing/Chaoyang/xxx _ deputy/3 #101/tv/timestamp, wherein,/Beijing/Chaoyang/xxx _ deputy/3 # 101/tv/is the identification information of the controlled device, and timestamp is the timestamp information of the energy consumption data of the controlled device.
In the implementation manner of this embodiment, a hierarchical naming mechanism is adopted, and when the data acquisition module 1101 acquires data, the energy consumption data can be acquired according to the defined naming rule and the identification information and the timestamp information of the controlled device included in the naming information of the energy consumption data of the controlled device, without depending on the IP address of the controlled device, so that the limitation of the IP address is eliminated.
In an implementation manner, the data acquisition module 1101 may pre-store a corresponding connection relationship between a router in the energy management system and a controlled device, so that when a user wants to obtain historical energy consumption data of at least one controlled device 120-1, 120-2, …, 120-N (N is greater than or equal to 1), the data acquisition module 1101 determines, according to identification information of a specified controlled device included in a historical energy consumption data request, a router that establishes a communication connection with the specified controlled device in the stored corresponding connection relationship, and sends the historical energy consumption data request to the determined router.
After receiving the historical energy consumption data request, the router may search for corresponding energy consumption data in the stored energy consumption data according to the timestamp information of the energy consumption data included in the historical energy consumption data request, and send the searched energy consumption data to the data acquisition module 1101. Further, the data collection module 1101 may receive the energy consumption data sent by the router.
In an implementation manner, as shown in fig. 2, which is a second schematic structural diagram of the energy management system provided in the embodiment of the present invention, the controller 110 further includes a device scheduling module 1102;
in this implementation manner, the data acquisition module 1101 is further configured to acquire or generate system data, and store a preset scheduling type of at least one controlled device 120-1, 120-2, …, 120-N (N is greater than or equal to 1); the system data may be data identifying energy consumption of the energy management system, for example, when the energy management system is an intelligent home energy management system and the controlled device is a home power device, the system data may be a time-of-use electricity price at the current time, a power grid load at the current time, and the like.
The system data acquired or generated by the data acquisition module 1101 may be system data of the current time acquired by the data acquisition module 1101 from outside the energy management system, for example, data such as a power grid load of the current time captured from a network by using a crawler program. The data acquisition module 1101 may predict the system data at the current time based on the system data in the preset time period acquired from the outside of the energy management system, for example, predict the time-of-use electricity price at each time of each day in the previous week, and predict the data such as the time-of-use electricity price at each time of today.
In one implementation, the controlled devices may be classified into three categories, i.e., strong schedulable, and non-schedulable, according to the scheduling type. In this implementation, the classification basis may be classified mainly according to the degree of influence of the controlled device on the user experience. "strongly schedulable" means that there is little impact on the user experience as long as the run completes the user's needs at a certain time, and there is no hard regulation on the start time of the run. "schedulable" means that the usage experience of the user is affected to a certain extent, and the operation starting time needs to be within the acceptable range of the user and cannot affect the normal requirement of the user. "non-dispatchable" means that the user's needs to be responded to in real time, and the running time cannot be changed at will. For example, in a smart home energy management system, the strong schedulable devices may include: refrigerators, water boilers, lights, motorized curtains, humidifiers, and the like. The schedulable device may include: televisions, computers, etc.
The at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1) is further used to send status information to the device scheduling module 1102. The state information may carry identification information of the controlled device and operation information of the controlled device at the current time, and the operation information may include mode information of the controlled device at the current time, operation power of the controlled device at the current time, a scheduling threshold value of the controlled device in the current operation, and the like. For example, the operation information of a rice cooker may be: and in the heat preservation function starting mode, the running power is 500 watts.
The device scheduling module 1102 is configured to receive the state information, and set a scheduling mode of the current time, where the scheduling mode is a mode in which the device scheduling module 1102 controls an operating state of the controlled device, for example: when the device scheduling module 1102 determines a more suitable operation time period for the controlled device, the operation time of the controlled device is set to the more suitable operation time period, and the controlled device may be delayed to operate.
The device scheduling module 1102 is further configured to obtain the system data, the energy consumption data of the at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1) at the current time, and the scheduling type of the at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1) from the data collection module 1101. And determining the current-time operation state of the at least one controlled device 120-1, 120-2, … and 120-N (N is more than or equal to 1) according to the acquired system data, the current-time energy consumption data of the at least one controlled device 120-1, 120-2, … and 120-N (N is more than or equal to 1), the scheduling type of the at least one controlled device 120-1, 120-2, … and 120-N (N is more than or equal to 1) and the current-time scheduling mode.
In an implementation manner, the determination manner of the current operating state of the at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1) may be:
in the device scheduling module 1102, according to the system data acquired from the data acquisition module, the energy consumption data of the controlled device at the current time and the scheduling type of the controlled device, the operating state of the controlled device at the current time is calculated by using an evaluation function. The evaluation function may be an evaluation function corresponding to the scheduling mode at the current time.
In one implementation, the merit function may be as shown in equations 1-2 below.
Figure BDA0001579764490000101
01x12x2+…+βnxn (2)
Wherein s (y) is an evaluation function, xiAs a factor, betaiFor the corresponding influencing factor xiThe weight of (2) can be set to any value between 0 and 1, and the larger the value is, the larger the influence representing the corresponding influence factor is, the larger the decision weight of the influence factor is in the calculation process. Beta is a0The adjusting parameters of the evaluation function set according to actual needs are used for adjusting the weight sum of the obtained influencing factors when the sensitivity of the evaluation function is too low or too high due to unreasonable weight setting. And may be set to 10% of the sum of the weight of the influencing factors. The influencing factors are data obtained from system data, energy consumption data of the controlled device at the current moment and scheduling types of the controlled device, for example, when the energy management system is an intelligent home energy management system and the controlled device is a home power device, the influencing factors may be: the time of use electricity price at the current moment, the operating power of the controlled device, the scheduling threshold of the controlled device, and the like. And outputting the acquired data of the influencing factors to the formula 1-2, and calculating to obtain the running state of the controlled equipment.
The device scheduling module 1102 may be further configured to determine whether to send a control command to the at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1) and send the control command to the at least one determined controlled device according to the determined operating status of the at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1) at the current time and the received status information of the controlled device at the current time; wherein the control instruction carries adjustment information for adjusting the at least one determined controlled device operating state.
In one implementation, the manner of determining whether to send a control command to at least one controlled device 120-1, 120-2, …, 120-N (N ≧ 1) is:
and when the running state of one controlled device at the current moment determined by the device scheduling module 1102 is not matched with the state information of the controlled device at the current moment received by the device scheduling module 1102, sending a control instruction to the controlled device.
When the operating state of one controlled device at the current time determined by the device scheduling module 1102 matches the state information of the controlled device at the current time received by the device scheduling module 1102, no control instruction is sent to the controlled device.
For example, when the operating state of one controlled device at the current time determined by the device scheduling module 1102 is off, and the state information of the controlled device at the current time received by the device scheduling module 1102 is on, and is found to be not matched with the state information, a control instruction is sent to the controlled device, where the control instruction carries adjustment information for instructing the controlled device to turn off.
Furthermore, the controlled device receiving the control instruction can adjust the running state according to the adjustment information carried in the control instruction. After adjusting the operating state, the controlled device may feed back response information to the device scheduling module 1102. The device scheduling module 1102 may receive the response information fed back by the controlled device, and may know that the controlled device has adjusted its operating status.
In an implementation manner, as shown in fig. 3, which is a schematic diagram of a third structure of the energy management system according to the embodiment of the present invention, the energy management system may further include a display device 140;
the display device 140 is configured to send an energy consumption data display request to the data acquisition module 1101, where the energy consumption data display request may carry naming information of energy consumption data. The display device may be various electronic devices with communication function and display function, such as a mobile phone, a notebook computer, a tablet computer, and the like.
In this implementation manner, the data acquisition module 1101 may be further configured to receive an energy consumption data display request sent by the display device, search corresponding energy consumption data in the stored energy consumption data according to the identification information of the controlled device and the energy consumption data timestamp information carried in the energy consumption data display request, and send the searched energy consumption data to the display device 140. Further, the display device 140 may receive the energy consumption data sent by the data acquisition module 1101, and display the energy consumption data.
When the energy consumption data corresponding to the energy consumption data display request is not found, the data acquisition module 1101 may send a search failure instruction to the display device 140. When the display device 140 receives the search failure instruction, it may be known that the energy consumption data corresponding to the energy consumption data display request is not stored in the data acquisition module 1101. At this time, in order to obtain the energy consumption data corresponding to the energy consumption data display request, the display device 140 may send the energy consumption data display request to at least one router 130-1, 130-2, …, 130-M (M ≧ 1).
Thus, at least one router 130-1, 130-2, …, 130-M (M is greater than or equal to 1) may receive the energy consumption data display request sent by the display device 140, and then, according to the identification information of the controlled device and the energy consumption data timestamp information carried in the energy consumption data display request, search for the corresponding energy consumption data in the stored energy consumption data, and when the corresponding energy consumption data is searched, the searched energy consumption data may be sent to the display device 140. The display device 140 receives the energy consumption data transmitted by the router and displays the energy consumption data.
In another implementation manner, when the energy consumption data corresponding to the energy consumption data display request is not found, the data acquisition module 1101 may send the energy consumption data display request to at least one router 130-1, 130-2, …, 130-M (M is greater than or equal to 1).
Furthermore, at least one router 130-1, 130-2, …, 130-M (M is greater than or equal to 1) receives the energy consumption data display request sent by the data acquisition module 1101, and then may search for corresponding energy consumption data in the stored energy consumption data according to the identification information of the controlled device and the energy consumption data timestamp information carried in the energy consumption data display request, and when the corresponding energy consumption data is searched, send the searched energy consumption data to the data acquisition module 1101.
After receiving the energy consumption data sent by the router, the data acquisition module 1101 may forward the energy consumption data to the display device 140, and after receiving the energy consumption data, the display device 140 may display the energy consumption data.
In one implementation, the energy management system may be an intelligent home energy management system. Accordingly, the controlled device may be a household electrical appliance, such as a television, a refrigerator, an air conditioner, and the like. The energy management system may be a network system established based on an ICN (Information center network).
Specifically, a router may include three parts, FIB (Forward Information Database), PIB (Pending Interest Base), and CS (Content Store). The FIB can be used for storing naming information and storage addresses sent by controlled equipment connected with the router; the PIB may be an ingress interface for recording real-time energy consumption data requests and/or historical energy consumption data requests sent by the data acquisition module 1101; the CS may be used to store energy consumption data.
Corresponding to the energy management system, an embodiment of the present invention further provides an energy management method, and the energy management method provided by the embodiment of the present invention is introduced below.
The first energy management method provided by the embodiment of the invention is applied to at least one router in an energy management system, and the energy management system comprises: the method comprises the following steps that at least one router, at least one controlled device and a controller are arranged, wherein the controller comprises a data acquisition module, each router is in communication connection with the at least one controlled device, and as shown in fig. 4, the method comprises the following steps:
s401: receiving a historical energy consumption data request sent by a data acquisition module;
the historical energy consumption data request carries naming information of the energy consumption data of the target controlled equipment; the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data;
s402: searching corresponding energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried in the historical energy consumption data request;
wherein, the energy consumption data is: data identifying an operational state of the controlled device; the stored energy consumption data is: energy consumption data stored when the energy consumption data sent by the target controlled equipment is forwarded to the data acquisition module; the target controlled device is: the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the data acquisition module;
s403: and sending the searched energy consumption data to a data acquisition module.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
In one implementation, the first energy management method further includes:
s404: receiving and storing naming information of energy consumption data sent by at least one controlled device and a storage address of the energy consumption data corresponding to the naming information; wherein, the naming information is: the controlled equipment generates naming information of the energy consumption data in real time according to a preset naming rule;
s405: forwarding the received naming information to the data collection module.
In one implementation, the first energy management method further includes:
s406: receiving a real-time energy consumption data request sent by a data acquisition module, wherein the real-time energy consumption data request carries naming information of energy consumption data of at least one controlled device;
s407: according to controlled equipment identification information carried in a real-time energy consumption data request, forwarding the real-time energy consumption data request to controlled equipment corresponding to the controlled equipment identification information;
in one implementation, the storage address includes identification information of a controlled device, and the S407 includes:
s4071: searching a corresponding storage address of the energy consumption data according to identification information of the controlled equipment in the real-time energy consumption data request sent by the data acquisition module;
s4072: and forwarding the real-time energy consumption data request to the controlled equipment corresponding to the identification information of the controlled equipment included in the storage address according to the searched storage address.
S408: receiving energy consumption data sent by the controlled equipment corresponding to the identification information of the controlled equipment, which is included in the storage address;
s409: and sending the received energy consumption data to a data acquisition module.
In one implementation, the energy management system further includes a display device, and the first energy management method further includes:
s410: receiving an energy consumption data display request sent by display equipment, wherein the energy consumption data display request carries naming information of energy consumption data;
s411: searching energy consumption data in the stored energy consumption data according to the identification information and the energy consumption data timestamp information carried in the energy consumption data display request;
s412: and sending the searched data to the display terminal.
In another implementation, the energy management system further includes a display device, and the first energy management method further includes:
s413: receiving an energy consumption data display request sent by a data acquisition module, wherein the energy consumption data display request carries naming information of energy consumption data;
s414: searching energy consumption data in the stored energy consumption data according to the identification information and the energy consumption data timestamp information carried in the energy consumption data display request;
s415: and sending the searched data to the display terminal.
The second energy management method provided in the embodiment of the present invention is applied to at least one controlled device in an energy management system, where the energy management system includes: at least one controlled device, at least one router and a controller, wherein the controller includes a data acquisition module, and each router establishes a communication connection with the at least one controlled device, as shown in fig. 5, the method includes:
s501: generating naming information of the energy consumption data in real time according to a preset naming rule;
wherein, the energy consumption data is: the energy consumption data comprises data for identifying the running state of the controlled equipment, identification information of the naming information controlled equipment and timestamp information of the energy consumption data;
s502: and sending the generated naming information and the energy storage address corresponding to the naming information to the at least one router.
In one implementation, the energy storage address corresponding to the naming information includes identification information of the controlled device.
In one implementation, the second energy management method further includes:
s503: the method comprises the steps of receiving a real-time energy consumption data request forwarded by a router which establishes communication connection, wherein the real-time energy consumption data request carries naming information of energy consumption data of at least one controlled device, and the real-time energy consumption request data forwarded by the router is sent to the router by a data acquisition module.
S504: acquiring energy consumption data from the energy consumption data stored in the controlled equipment according to the timestamp information of the energy consumption data carried by the real-time energy consumption data request;
in an implementation manner, the S504 includes:
s5041: determining a storage address of corresponding energy consumption data according to naming information of the energy consumption data carried by the real-time energy consumption data request;
s5042: and acquiring the energy consumption data to be acquired in the determined storage address.
S505: and sending the acquired energy consumption data to the router which establishes the communication connection.
In one implementation, the controller further includes an equipment scheduling module, and the second energy management method further includes:
s506: sending state information to an equipment scheduling module, wherein the state information carries identification information of the controlled equipment and running information of the controlled equipment at the current moment;
when the controlled device is at least one controlled device to send the control instruction, which is determined by the device scheduling module, the implementation further includes:
s507: receiving a control instruction sent by an equipment scheduling module, wherein the control instruction carries adjustment information for adjusting the determined running state of at least one controlled equipment;
s508: adjusting the running state according to the adjustment information carried in the received control instruction;
s509: and feeding back response information to the equipment scheduling module, wherein the response information is as follows: and the determined running state of the at least one controlled device is adjusted and then sent.
The method for determining whether to send the control instruction to the at least one controlled device by the device scheduling module comprises the following steps:
s1: the device scheduling module receives state information of the current time sent by at least one controlled device and sets a scheduling mode of the current time;
s2: the equipment scheduling module acquires system data, energy consumption data of at least one controlled equipment at the current moment and scheduling type of the at least one controlled equipment from the data acquisition module;
s3: the equipment control module determines the current running state of at least one piece of controlled equipment according to the acquired system data, the current energy consumption data of at least one piece of controlled equipment, the scheduling type of at least one piece of controlled equipment and the set current scheduling mode;
s4: and determining whether to send a control instruction to at least one controlled device according to the determined current running state of the at least one controlled device and the received current state information of the controlled device.
The third energy management method provided by the embodiment of the invention is applied to a controller in an energy management system, and the energy management system comprises: at least one controlled device, at least one router and a controller, wherein each router establishes a communication connection with at least one controlled device, as shown in fig. 6, the method includes:
s601: receiving an energy consumption data acquisition instruction sent by a user;
the energy consumption data acquisition instruction comprises identification information of controlled equipment for generating the energy consumption data to be acquired and timestamp information of generation time of the energy consumption data to be acquired;
searching energy consumption data to be acquired in the energy consumption data stored in the controller according to the identification information and the timestamp information included in the energy consumption data acquiring instruction;
wherein, the energy consumption data that the controller was stored is: receiving energy consumption data of target controlled equipment forwarded by the router, wherein the target controlled equipment is as follows: and the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the controller.
S602: when the energy consumption data required to be acquired is emptied, sending a historical energy consumption data request to at least one router;
the historical energy consumption data request carries naming information of energy consumption data of appointed controlled equipment, and the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data; the energy consumption data is data for identifying the operating state of the controlled equipment;
s603: receiving energy consumption data sent by the router;
the energy consumption data sent by the router is as follows: the router searches the energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried by the historical data request; the stored energy consumption data is: the router forwards the energy consumption data sent by the target controlled equipment to the controller, and the energy consumption data is stored; the target controlled device is: and the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the controller.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
In one implementation, the third energy management method further includes:
s604: receiving and storing naming information of the energy consumption data forwarded by at least one router, wherein the naming information is as follows: and at least one controlled device generates and sends naming information of the energy consumption data of the corresponding router in real time according to a preset naming rule.
In one implementation, the third energy management method further includes:
s605: receiving state information of the current time sent by at least one controlled device and setting a scheduling mode of the current time, wherein the state information carries identification information of the controlled device and running information of the controlled device at the current time;
s606: acquiring or generating system data, wherein the system data is data for identifying energy consumption of an energy management system:
s607: determining the current running state of at least one controlled device according to the system data, the pre-stored scheduling type of at least one controlled device, the energy consumption data of the at least one controlled device at the current moment and the set scheduling mode of the at least one controlled device at the current moment;
s608: determining whether to send a control instruction to at least one controlled device according to the determined running state of the at least one controlled device at the current moment and the received state information of the controlled device at the current moment, and if so, executing S609;
s609: sending a control instruction to at least one determined controlled device; the control instruction carries information for adjusting the running state of at least one controlled device;
s610: and receiving response information fed back by the determined at least one controlled device, wherein the response information is information sent after the operation state of the determined at least one controlled device is adjusted.
In one implementation, the energy management system further includes a display device, and the third energy management method further includes:
s611: receiving an energy consumption data display request sent by display equipment, wherein the energy consumption data display request carries naming information of energy consumption data;
s612: searching energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the energy consumption data timestamp information carried in the energy consumption data display request;
wherein the stored energy consumption data is: receiving energy consumption data which is sent by the controlled equipment corresponding to the identification information of the controlled equipment and is cleaned at regular time, wherein the identification information of the controlled equipment is carried in the real-time energy consumption data request forwarded by the router, and the real-time energy consumption data request carries naming information of the energy consumption data of the at least one controlled equipment;
s613: and sending the searched energy consumption data to a display terminal.
In one implementation, the third energy management method further includes:
s614: and when the energy consumption data corresponding to the naming information of the energy consumption data carried by the energy consumption data display request is not searched, sending a search failure instruction to the display equipment.
The following describes an energy management device according to an embodiment of the present invention.
The first energy management apparatus provided in the embodiment of the present invention is a schematic structural diagram, and is applied to at least one router in an energy management system, where the energy management system includes: at least one router, at least one controlled device and a controller, wherein the controller includes a data acquisition module, each router establishes a communication connection with at least one controlled device, as shown in fig. 7, the apparatus includes:
a first request receiving module 710, configured to receive a historical energy consumption data request sent by a data acquisition module;
the historical energy consumption data request carries naming information of the energy consumption data of the target controlled equipment; the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data;
the first data searching module 720 searches the corresponding energy consumption data in the stored energy consumption data according to the identification information of the controlled device and the timestamp information of the energy consumption data carried in the historical energy consumption data request;
wherein, the energy consumption data is: data identifying an operational state of the controlled device; the stored energy consumption data is: energy consumption data stored when the energy consumption data sent by the target controlled equipment is forwarded to the data acquisition module; the target controlled device is: the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the data acquisition module;
and the first data sending module 730 is configured to send the searched energy consumption data to the data acquisition module.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
In one implementation, the first energy management device further includes:
the naming information storage module 740 is configured to receive and store naming information of the energy consumption data sent by at least one controlled device and a storage address of the energy consumption data corresponding to the naming information; wherein, the naming information is: the controlled equipment generates naming information of the energy consumption data in real time according to a preset naming rule;
a naming information forwarding module 750, configured to forward the received naming information to the data collection module.
In one implementation, the first energy management device further includes:
the second request receiving module 760 is configured to receive a real-time energy consumption data request sent by the data acquisition module, where the real-time energy consumption data request carries naming information of energy consumption data of at least one controlled device;
a request forwarding module 770, configured to forward the real-time energy consumption data request to a controlled device corresponding to the controlled device identification information according to the controlled device identification information carried in the real-time energy consumption data request;
in one implementation, the storage address includes identification information of a controlled device, and the request forwarding module 770 includes:
the address searching submodule 7701 is configured to search a storage address of corresponding energy consumption data according to identification information of the controlled device in the real-time energy consumption data request sent by the data acquisition module;
and the request forwarding submodule 7702 is configured to forward the real-time energy consumption data request to the controlled device corresponding to the identification information of the controlled device included in the storage address according to the found storage address.
The data receiving module 780 is configured to receive energy consumption data sent by the controlled device corresponding to the identification information of the controlled device included in the storage address;
and a second data sending module 790, configured to send the received energy consumption data to the data acquisition module.
In one implementation, the energy management system further includes a display device, and the first energy management apparatus further includes:
a third request receiving module 7100, configured to receive an energy consumption data display request sent by a display device, where the energy consumption data display request carries naming information of energy consumption data;
a second data searching module 7110, configured to search, according to the identification information and the energy consumption data timestamp information carried in the energy consumption data display request, energy consumption data in the stored energy consumption data;
and a third data sending module 7120, configured to send the searched data to the display terminal.
In another implementation, the energy management system further includes a display device, and the first energy management apparatus further includes:
a fourth request receiving module 7130, configured to receive an energy consumption data display request sent by the data acquisition module, where the energy consumption data display request carries naming information of energy consumption data;
a third data searching module 7140, configured to search, according to the identification information and the energy consumption data timestamp information carried in the energy consumption data display request, energy consumption data in the stored energy consumption data;
and a fourth data sending module 7150, configured to send the searched data to the display terminal.
The second energy management apparatus provided in the embodiment of the present invention is a schematic structural diagram, and is applied to at least one controlled device in an energy management system, where the energy management system includes: at least one controlled device, at least one router and a controller, wherein the controller includes a data acquisition module, and each router establishes a communication connection with at least one controlled device, as shown in fig. 8, the apparatus includes:
the naming information generating module 810 is configured to generate naming information of the energy consumption data in real time according to a preset naming rule; wherein, the energy consumption data is: the energy consumption data comprises data for identifying the running state of the controlled equipment, identification information of the naming information controlled equipment and timestamp information of the energy consumption data;
a naming information sending module 820, configured to send the generated naming information and the energy storage address corresponding to the naming information to the at least one router.
In one implementation, the energy storage address corresponding to the naming information includes identification information of the controlled device.
In one implementation, the second energy management device further includes:
the request receiving module 830 is configured to receive a real-time energy consumption data request forwarded by a router that establishes a communication connection, where the real-time energy consumption data request carries naming information of energy consumption data of at least one controlled device, and the real-time energy consumption request data forwarded by the router is sent to the router by the data acquisition module.
The data acquisition module 840 is configured to acquire energy consumption data from the energy consumption data stored in the controlled device according to the timestamp information of the energy consumption data carried in the real-time energy consumption data request;
in an implementation manner, the data obtaining module 840 includes:
the address determining submodule 8401 is configured to determine a storage address of the corresponding energy consumption data according to the naming information of the energy consumption data carried in the real-time energy consumption data request;
and the data acquisition submodule 8402 is used for acquiring the energy consumption data to be acquired from the determined storage address.
And the data sending sub-module 850 is configured to send the acquired energy consumption data to the router with the communication connection established.
In one implementation, the controller further includes an equipment scheduling module, and the second energy management device further includes:
the information sending module 860 is configured to send status information to the device scheduling module, where the status information carries identification information of the controlled device and current operation information of the controlled device;
when the controlled device is at least one controlled device to send the control instruction, which is determined by the device scheduling module, the implementation further includes:
an instruction receiving module 870, configured to receive a control instruction sent by the device scheduling module, where the control instruction carries adjustment information used to adjust the determined running state of at least one controlled device;
a state adjusting module 880, configured to adjust an operating state according to adjustment information carried in the received control instruction;
an information feedback module 890, configured to feed back response information to the device scheduling module, where the response information is: and the determined running state of the at least one controlled device is adjusted and then sent.
The third schematic structural diagram of the energy management device provided in the embodiment of the present invention is applied to a controller in an energy management system, where the energy management system includes: at least one controlled device, at least one router and a controller, wherein each router establishes communication connection with at least one controlled device, and the device comprises: the data collection module 910, as shown in fig. 9, includes:
the instruction obtaining submodule 9101 is used for receiving an instruction for obtaining energy consumption data sent by a user;
the energy consumption data acquisition instruction comprises identification information of controlled equipment for generating the energy consumption data to be acquired and timestamp information of generation time of the energy consumption data to be acquired;
searching energy consumption data to be acquired in the energy consumption data stored in the controller according to the identification information and the timestamp information included in the energy consumption data acquiring instruction;
wherein, the energy consumption data that the controller was stored is: receiving energy consumption data of target controlled equipment forwarded by the router, wherein the target controlled equipment is as follows: and the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the controller.
The request sending submodule 9102 is used for sending a historical energy consumption data request to at least one router when the energy consumption data required to be obtained are emptied;
the historical energy consumption data request carries naming information of energy consumption data of appointed controlled equipment, and the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data; the energy consumption data is data for identifying the operating state of the controlled equipment;
the data sending submodule 9103 is configured to receive the energy consumption data sent by the router;
the energy consumption data sent by the router is as follows: the router searches the energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried by the historical data request; the stored energy consumption data is: the router forwards the energy consumption data sent by the target controlled equipment to the controller, and the energy consumption data is stored; the target controlled device is: and the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the controller.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
In an implementation method, the data acquisition module 910 further includes:
the naming information receiving submodule 9104 is used for receiving and storing naming information of the energy consumption data forwarded by at least one router; the naming information is: and at least one controlled device generates and sends naming information of the energy consumption data of the corresponding router in real time according to a preset naming rule.
In an implementation method, the third energy management apparatus further includes a device scheduling module 920, where the device scheduling module 920 includes:
the state information receiving submodule 9201 is configured to receive state information of the current time sent by at least one controlled device and set a scheduling mode of the current time, where the state information carries identification information of the controlled device and operation information of the controlled device at the current time;
the system data obtaining submodule 9202 is configured to obtain or generate system data, where the system data is data that identifies energy consumption of the energy management system:
the operation state determining submodule 9203 is configured to determine an operation state of the at least one controlled device at the current time according to the system data, a pre-stored scheduling type of the at least one controlled device, energy consumption data of the at least one controlled device at the current time, and a set scheduling mode of the at least one controlled device at the current time;
the instruction sending determining submodule 9204 is configured to determine whether to send a control instruction to the at least one controlled device according to the determined current running state of the at least one controlled device and the received current state information of the controlled device, and if yes, trigger the control instruction sending submodule 9205;
a control instruction transmitting submodule 9205 configured to transmit a control instruction to at least one determined controlled device; the control instruction carries information for adjusting the running state of at least one controlled device;
the response information receiving sub-module 9206 is configured to receive response information fed back by the determined at least one controlled device, where the response information is information sent after the operation state of the at least one determined controlled device is adjusted.
In one implementation, the energy management system further includes a display device, and the data collection module 910 further includes:
the display request receiving submodule 9105 is used for receiving an energy consumption data display request sent by the display device, wherein the energy consumption data display request carries naming information of energy consumption data;
the data searching submodule 9106 is configured to search the energy consumption data in the stored energy consumption data according to the identification information of the controlled device and the energy consumption data timestamp information carried in the energy consumption data display request;
wherein the stored energy consumption data is: receiving energy consumption data which is sent by the controlled equipment corresponding to the identification information of the controlled equipment and is cleaned at regular time, wherein the identification information of the controlled equipment is carried in the real-time energy consumption data request forwarded by the router, and the real-time energy consumption data request carries naming information of the energy consumption data of the at least one controlled equipment;
the energy consumption data sending submodule 9107 is configured to send the searched energy consumption data to the display terminal.
In one implementation, the data acquisition module 910 further includes:
the failure instruction sending submodule 9108 is configured to send a search failure instruction to the display device when the energy consumption data corresponding to the naming information of the energy consumption data carried in the energy consumption data display request is not searched.
An embodiment of the present invention further provides a router, as shown in fig. 10, which includes a processor 1010, a communication interface 1020, a memory 1030, and a communication bus 1040, where the processor 1010, the communication interface 1020, and the memory 1030 communicate with each other through the communication bus 1040,
a memory 1030 for storing a computer program;
a processor 1010, configured to implement a first energy management method in the above method embodiments when executing the program stored in the memory 1030;
specifically, the energy management method is applied to at least one router in an energy management system, and the system includes: the method comprises the following steps that at least one router, at least one controlled device and a controller are arranged, the controller comprises a data acquisition module, and each router is in communication connection with the at least one controlled device, and the method comprises the following steps:
receiving a historical energy consumption data request sent by a data acquisition module; the historical energy consumption data request carries naming information of the energy consumption data of the target controlled equipment; the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data;
searching corresponding energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried in the historical energy consumption data request; wherein, the energy consumption data is: data identifying an operational state of the controlled device; the stored energy consumption data is: energy consumption data stored when the energy consumption data sent by the target controlled equipment is forwarded to the data acquisition module; the target controlled device is: the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the data acquisition module;
and sending the searched energy consumption data to a data acquisition module.
It should be noted that other implementation manners of the energy management method implemented by the processor 1010 executing the program stored in the memory 1030 are the same as the energy management method embodiments provided in the foregoing method embodiment section, and are not described again here.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
The embodiment of the present invention further provides a controlled device, as shown in fig. 11, which includes a processor 1110, a communication interface 1120, a memory 1130, and a communication bus 1140, wherein the processor 1110, the communication interface 1120, and the memory 1130 complete mutual communication through the communication bus 1140,
a memory 1130 for storing computer programs;
a processor 1110, configured to implement the second energy management method in the foregoing method embodiments when executing the program stored in the memory 1130;
the energy management method is applied to at least one controlled device in an energy management system, and the energy management system comprises: the method comprises the following steps that at least one controlled device, at least one router and a controller are included, the controller comprises a data acquisition module, and each router is in communication connection with the at least one controlled device, and the method comprises the following steps:
generating naming information of the energy consumption data in real time according to a preset naming rule; wherein, the energy consumption data is: the energy consumption data comprises data for identifying the running state of the controlled equipment, identification information of the naming information controlled equipment and timestamp information of the energy consumption data;
and sending the generated naming information and the energy storage address corresponding to the naming information to the at least one router.
It should be noted that other implementation manners of the energy management method implemented by the processor 1110 executing the program stored in the memory 1130 are the same as the energy management method embodiments provided in the foregoing method embodiment sections, and are not described again here.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
The embodiment of the present invention further provides a controller, as shown in fig. 12, including a processor 1210, a communication interface 1220, a memory 1230 and a communication bus 1240, where the processor 1210, the communication interface 1220 and the memory 1230 complete mutual communication through the communication bus 1240,
a memory 1230 for storing computer programs;
a processor 1210, configured to implement the third energy management method in the foregoing method embodiments when executing the program stored in the memory 1230;
specifically, the energy management method is applied to a controller in an energy management system, and the energy management system includes: at least one controlled device, at least one router and a controller, each router establishing a communication connection with at least one controlled device, the method comprising:
receiving an energy consumption data acquisition instruction sent by a user;
when the energy consumption data required to be acquired is emptied, sending a historical energy consumption data request to at least one router, wherein the historical energy consumption data request carries naming information of the energy consumption data of specified controlled equipment, and the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data; the energy consumption data is data for identifying the operating state of the controlled equipment;
receiving the energy consumption data sent by the router, wherein the energy consumption data sent by the router is as follows: the router searches the energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried by the historical data request; the stored energy consumption data is: the router forwards the energy consumption data sent by the target controlled equipment to the controller, and the energy consumption data is stored; the target controlled device is: and the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the controller.
It should be noted that other implementation manners of the energy management method implemented by the processor 1210 executing the program stored in the memory 1230 are the same as the energy management method embodiments provided in the foregoing method embodiments, and are not described herein again.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
The embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the first energy management method provided by the embodiment of the present invention is implemented.
Specifically, the energy management method is applied to at least one router in an energy management system, and the system includes: the method comprises the following steps that at least one router, at least one controlled device and a controller are arranged, the controller comprises a data acquisition module, and each router is in communication connection with the at least one controlled device, and the method comprises the following steps:
receiving a historical energy consumption data request sent by a data acquisition module; the historical energy consumption data request carries naming information of the energy consumption data of the target controlled equipment; the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data;
searching corresponding energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried in the historical energy consumption data request; wherein, the energy consumption data is: data identifying an operational state of the controlled device; the stored energy consumption data is: energy consumption data stored when the energy consumption data sent by the target controlled equipment is forwarded to the data acquisition module; the target controlled device is: the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the data acquisition module;
and sending the searched energy consumption data to a data acquisition module.
It should be noted that other implementation manners of the energy management method implemented when the computer program is executed by the processor are the same as the energy management method embodiments provided in the foregoing method embodiment section, and are not described again here.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
The embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the second energy management method provided by the embodiment of the present invention is implemented.
The energy management method is applied to at least one controlled device in an energy management system, and the energy management system comprises: the method comprises the following steps that at least one controlled device, at least one router and a controller are included, the controller comprises a data acquisition module, and each router is in communication connection with the at least one controlled device, and the method comprises the following steps:
generating naming information of the energy consumption data in real time according to a preset naming rule; wherein, the energy consumption data is: the energy consumption data comprises data for identifying the running state of the controlled equipment, identification information of the naming information controlled equipment and timestamp information of the energy consumption data;
and sending the generated naming information and the energy storage address corresponding to the naming information to the at least one router.
It should be noted that other implementation manners of the energy management method implemented when the computer program is executed by the processor are the same as the energy management method embodiments provided in the foregoing method embodiment section, and are not described again here.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
The embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the third energy management method provided by the embodiment of the present invention is implemented.
Specifically, the energy management method is applied to a controller in an energy management system, and the energy management system includes: at least one controlled device, at least one router and a controller, each router establishing a communication connection with at least one controlled device, the method comprising:
receiving an energy consumption data acquisition instruction sent by a user;
when the energy consumption data required to be acquired is emptied, sending a historical energy consumption data request to at least one router, wherein the historical energy consumption data request carries naming information of the energy consumption data of specified controlled equipment, and the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data; the energy consumption data is data for identifying the operating state of the controlled equipment;
receiving the energy consumption data sent by the router, wherein the energy consumption data sent by the router is as follows: the router searches the energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried by the historical data request; the stored energy consumption data is: the router forwards the energy consumption data sent by the target controlled equipment to the controller, and the energy consumption data is stored; the target controlled device is: and the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the controller.
It should be noted that other implementation manners of the energy management method implemented when the computer program is executed by the processor are the same as the energy management method embodiments provided in the foregoing method embodiment section, and are not described again here.
By applying the scheme provided by the embodiment of the invention, because the energy consumption data of the controlled equipment which establishes communication connection with the router is stored in the router, when the data acquisition module needs to acquire the energy consumption data of the controlled equipment, the data acquisition module does not need to send a historical energy consumption data request to the controlled equipment every time, and receives the energy consumption data fed back by the controlled equipment, and can acquire the required energy consumption data from the router which establishes communication connection with the controlled equipment. Therefore, the energy consumption data is transmitted from the router to the controller, the network path of the whole system is not needed, the transmission path is shortened, the transmission time is further shortened, and the transmission efficiency of the system network and the response speed of the system are improved.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method embodiment, the apparatus embodiment, the router embodiment, the controlled device embodiment, the controller embodiment, and the computer-readable storage medium embodiment, since they are substantially similar to the system embodiment, the description is relatively simple, and the relevant points can be referred to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. The energy management system is characterized by comprising a controller, at least one controlled device and at least one router, wherein the controller comprises a data acquisition module, and each router is in communication connection with the at least one controlled device;
the data acquisition module is used for sending a real-time energy consumption data request to the at least one router, receiving and storing the energy consumption data forwarded by the router, and performing timing clearing; when an energy consumption data acquisition instruction of a user is received and energy consumption data required to be acquired is emptied, sending a historical energy consumption data request to the at least one router and receiving the energy consumption data sent by the router; wherein the energy consumption data is: data identifying an operational state of the controlled device; the real-time energy consumption data request carries naming information of the energy consumption data of the at least one controlled device; the historical energy consumption data request carries naming information of energy consumption data of appointed controlled equipment; the naming information includes: identification information of the controlled device and timestamp information of the energy consumption data;
the at least one controlled device is used for receiving the real-time energy consumption data request forwarded by the at least one router and sending energy consumption data to the router;
the at least one router is used for receiving the real-time energy consumption data request sent by the data acquisition module, and forwarding the real-time energy consumption data request to the controlled equipment corresponding to the identification information of the controlled equipment according to the identification information of the controlled equipment carried by the real-time energy consumption data request; receiving energy consumption data sent by the controlled equipment corresponding to the identification information of the controlled equipment, forwarding the received energy consumption data to the data acquisition module, and storing the received energy consumption data; receiving a historical energy consumption data request sent by the data acquisition module, searching corresponding energy consumption data in the stored energy consumption data according to identification information of specified controlled equipment and timestamp information of the energy consumption data carried by the historical energy consumption data request, and sending the searched energy consumption data to the data acquisition module.
2. The system of claim 1,
the at least one controlled device is further used for generating naming information of the energy consumption data in real time according to a preset naming rule; sending the generated naming information and the storage address of the energy consumption data corresponding to the naming information to a corresponding router;
the at least one router is further configured to receive and store naming information sent by the at least one controlled device and a storage address of energy consumption data corresponding to the naming information, and forward the naming information to the data acquisition module;
the data acquisition module is further configured to receive and store naming information of the energy consumption data forwarded by the at least one router.
3. The system of claim 1, wherein the controller further comprises a device scheduling module;
the data acquisition module is further used for acquiring or generating system data and storing a preset scheduling type of the at least one controlled device; wherein the system data is: data identifying energy consumption of the energy management system:
the device scheduling module is used for receiving the current-time state information sent by the at least one controlled device and setting a current-time scheduling mode; acquiring the system data, the energy consumption data of the at least one controlled device at the current moment and the scheduling type of the at least one controlled device from the data acquisition module; determining the current running state of the at least one controlled device according to the acquired system data, the energy consumption data of the at least one controlled device at the current moment, the scheduling type of the at least one controlled device and the set scheduling mode of the at least one controlled device at the current moment; determining whether to send a control instruction to the at least one controlled device according to the determined running state of the at least one controlled device at the current moment and the received state information of the controlled device at the current moment; if yes, sending a control instruction to the at least one determined controlled device; receiving response information fed back by the determined at least one controlled device; the state information carries identification information of the controlled equipment and operation information of the controlled equipment at the current moment; the control instruction carries adjustment information for adjusting the at least one determined controlled device running state; the response information is: the information is sent after the operation state of the at least one determined controlled device is adjusted;
the at least one controlled device is further configured to send state information to the device scheduling module, receive the control instruction, and adjust an operating state according to adjustment information carried in the control instruction; and feeding back response information to the equipment scheduling module after the operation state is adjusted.
4. The system of claim 2, wherein the storage address includes identification information of the controlled device;
the at least one router is specifically configured to search a storage address of corresponding energy consumption data according to identification information of the controlled device in the real-time energy consumption data request sent by the data acquisition module; and forwarding the real-time energy consumption data request to the controlled equipment corresponding to the identification information of the controlled equipment included in the storage address according to the searched storage address.
5. The system of claim 2, further comprising a display device,
the display device is used for sending an energy consumption data display request to the data acquisition module and receiving and displaying the energy consumption data sent by the data acquisition module; the energy consumption data display request carries naming information of the energy consumption data;
the data acquisition module is further configured to receive the energy consumption data display request, search energy consumption data according to identification information of the controlled device and energy consumption data timestamp information carried in the energy consumption data display request, and send the searched energy consumption data to the display device.
6. The system of claim 5,
the data acquisition module is further configured to send a search failure instruction to the display device when the energy consumption data is not searched;
the display device is further configured to receive the search failure instruction, send the energy consumption data display request to the at least one router, and receive and display the energy consumption data sent by the at least one router;
the at least one router is further configured to receive the energy consumption data display request sent by the display device; searching energy consumption data according to the identification information of the controlled equipment and the energy consumption data timestamp information carried in the energy consumption data display request; and sending the searched energy consumption data to the display equipment.
7. The system of claim 1, wherein the system is: an intelligent home energy management system; the controlled equipment is as follows: a household electric appliance.
8. An energy management method applied to at least one router in an energy management system, the system comprising: the method comprises the following steps that at least one router, at least one controlled device and a controller are arranged, the controller comprises a data acquisition module, and each router is in communication connection with the at least one controlled device, and the method comprises the following steps:
receiving a historical energy consumption data request sent by the data acquisition module, wherein the historical energy consumption data request carries naming information of energy consumption data of target controlled equipment; the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data;
searching corresponding energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried in the historical energy consumption data request; wherein the energy consumption data is: data identifying an operational state of the controlled device; the stored energy consumption data is: energy consumption data stored when the energy consumption data sent by the target controlled equipment is forwarded to the data acquisition module; the target controlled device is: the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the data acquisition module;
and sending the searched energy consumption data to the data acquisition module.
9. An energy management method applied to at least one controlled device in an energy management system, the system comprising: the method comprises the following steps that at least one controlled device, at least one router and a controller are included, the controller comprises a data acquisition module, and each router is in communication connection with the at least one controlled device, and the method comprises the following steps:
generating naming information of the energy consumption data in real time according to a preset naming rule; wherein the energy consumption data is: data for identifying the running state of the controlled equipment, wherein the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data;
sending the generated naming information and the energy storage address corresponding to the naming information to the at least one router;
the method further comprises the following steps:
receiving a real-time energy consumption data request forwarded by a router which establishes communication connection, wherein the real-time energy consumption data request carries naming information of energy consumption data of the at least one controlled device, and the real-time energy consumption request data forwarded by the router which is in communication connection is sent to the router which is in communication connection by the data acquisition module;
and acquiring energy consumption data from the energy consumption data stored in the at least one controlled device according to the timestamp information of the energy consumption data carried by the real-time energy consumption data request.
10. An energy management method, applied to a controller in an energy management system, the system comprising: at least one controlled device, at least one router and a controller, each router establishing a communication connection with at least one controlled device, the method comprising:
receiving an energy consumption data acquisition instruction sent by a user;
when the energy consumption data required to be acquired is emptied, sending a historical energy consumption data request to the at least one router; the historical energy consumption data request carries naming information of energy consumption data of specified controlled equipment, the naming information comprises identification information of the controlled equipment and timestamp information of the energy consumption data, and the energy consumption data is as follows: data identifying an operational state of the controlled device;
receiving energy consumption data sent by the router, wherein the energy consumption data sent by the router is as follows: the router searches the energy consumption data in the stored energy consumption data according to the identification information of the controlled equipment and the timestamp information of the energy consumption data carried by the historical energy consumption data request; the stored energy consumption data is: the router forwards the energy consumption data sent by the target controlled equipment to the controller, and the energy consumption data is stored; the target controlled device is: and the controlled equipment corresponds to the controlled equipment identification information in the naming information carried by the real-time energy consumption data request sent by the controller.
CN201810149951.3A 2018-02-13 2018-02-13 Energy management system and method Active CN108429795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810149951.3A CN108429795B (en) 2018-02-13 2018-02-13 Energy management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810149951.3A CN108429795B (en) 2018-02-13 2018-02-13 Energy management system and method

Publications (2)

Publication Number Publication Date
CN108429795A CN108429795A (en) 2018-08-21
CN108429795B true CN108429795B (en) 2020-12-04

Family

ID=63157009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810149951.3A Active CN108429795B (en) 2018-02-13 2018-02-13 Energy management system and method

Country Status (1)

Country Link
CN (1) CN108429795B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162824B (en) * 2019-03-20 2023-07-25 浙江工业大学 Structural design and communication selection method of intelligent household energy management system
CN112147939A (en) * 2020-09-30 2020-12-29 中工铁建绿色建筑科技(海南自贸区)有限公司 Energy monitoring and adjusting system of green building
CN114257536B (en) * 2021-11-05 2023-09-01 浙江木链物联网科技有限公司 Industrial data acquisition method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064374A (en) * 2012-12-18 2013-04-24 重庆邮电大学 Household energy consumption monitoring system based on internet of things technology
CN103336493A (en) * 2013-06-03 2013-10-02 天津至勤投资咨询有限公司 An energy management system
CN103984307A (en) * 2014-05-08 2014-08-13 国网山西省电力公司经济技术研究院 Energy monitoring management system and method based on electricity waveform analysis
CN107328992A (en) * 2017-09-01 2017-11-07 常州工程职业技术学院 A kind of power information collection monitoring system based on cloud
CN107544381A (en) * 2017-08-31 2018-01-05 珠海格力电器股份有限公司 Energy management method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9411323B2 (en) * 2012-04-18 2016-08-09 Tekpea, Inc. Home energy management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064374A (en) * 2012-12-18 2013-04-24 重庆邮电大学 Household energy consumption monitoring system based on internet of things technology
CN103336493A (en) * 2013-06-03 2013-10-02 天津至勤投资咨询有限公司 An energy management system
CN103984307A (en) * 2014-05-08 2014-08-13 国网山西省电力公司经济技术研究院 Energy monitoring management system and method based on electricity waveform analysis
CN107544381A (en) * 2017-08-31 2018-01-05 珠海格力电器股份有限公司 Energy management method and device
CN107328992A (en) * 2017-09-01 2017-11-07 常州工程职业技术学院 A kind of power information collection monitoring system based on cloud

Also Published As

Publication number Publication date
CN108429795A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN108429795B (en) Energy management system and method
US9568973B2 (en) Remote energy management using persistent smart grid network context
US20190163152A1 (en) Power sharing in a mesh energy system
WO2019019396A1 (en) Push result prediction method and apparatus, computer device and storage medium
CN113268004A (en) Scene creating method and device, computer equipment and storage medium
CN101627588A (en) Automatic protocol switching
CN103973638B (en) Access control method, electronic equipment and server
Carreiro et al. In-house monitoring and control network for the Smart Grid of the future
CN111475678B (en) Method, server and terminal for pushing search results
CN113395193A (en) Equipment control method and device, computer equipment and storage medium
CN111397112B (en) Air conditioner control method, device, server and computer readable storage medium
CN110529982B (en) Air conditioner control method and device, air conditioner partner and air conditioner
Kleiminger Occupancy sensing and prediction for automated energy savings
US10353894B1 (en) Systems and methods for subpopulation size estimation and uncertainty quantification
JP6190962B2 (en) Controller, home system, screen generation method, and program
JP2008108105A (en) Information providing device, information providing method and information providing program
CN116346869A (en) Equipment control method, device, electronic equipment and storage medium
JP2016019084A (en) controller
CN112087353B (en) Function recommendation method of equipment, cloud server and storage medium
CN108366003B (en) Home service framework creating method, calling method, device, server and medium
CN108520062B (en) Power utilization information sharing method and device and computer readable storage medium
US10742742B2 (en) Electronic apparatus, system for internet-of-things environment and control method thereof
US11340647B2 (en) Reference voltage generation circuit
JP2020041782A (en) Air conditioning system
WO2023238298A1 (en) Control device, control system, apparatus control method, and program

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