Movatterモバイル変換


[0]ホーム

URL:


CN114077900A - Regional joint learning method and device, terminal equipment and storage medium - Google Patents

Regional joint learning method and device, terminal equipment and storage medium
Download PDF

Info

Publication number
CN114077900A
CN114077900ACN202010796595.1ACN202010796595ACN114077900ACN 114077900 ACN114077900 ACN 114077900ACN 202010796595 ACN202010796595 ACN 202010796595ACN 114077900 ACN114077900 ACN 114077900A
Authority
CN
China
Prior art keywords
joint learning
energy
model structure
learning area
central server
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.)
Pending
Application number
CN202010796595.1A
Other languages
Chinese (zh)
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.)
Ennew Digital Technology Co Ltd
Original Assignee
Ennew Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ennew Digital Technology Co LtdfiledCriticalEnnew Digital Technology Co Ltd
Priority to CN202010796595.1ApriorityCriticalpatent/CN114077900A/en
Publication of CN114077900ApublicationCriticalpatent/CN114077900A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention is suitable for the technical field of energy management and provides a regional joint learning method, a device, terminal equipment and a storage medium, wherein the method comprises the steps of acquiring user characteristics of energy equipment of the same type/model in different universal energy stations; determining at least one joint learning area according to the user characteristics, wherein the joint learning area comprises at least one central server and a plurality of energy devices of the same type/model which are respectively connected with the central server through a network; and performing joint learning by adopting the same model structure on each joint learning area. The method well solves the problem that the quality of a model trained by utilizing energy equipment in the universal energy station to generate data is not high in the prior art.

Description

Regional joint learning method and device, terminal equipment and storage medium
Technical Field
The invention belongs to the technical field of energy management, in particular relates to an application of artificial intelligence in energy management, and particularly relates to a regional joint learning method, a device, terminal equipment and a storage medium.
Background
In energy management, the universal energy station is a core supporting facility of the universal energy network technology, is a novel comprehensive energy system established near a user side, and converts various energy sources into energy sources in the forms of cold, heat, electricity and the like required by a terminal user so as to meet the requirements of the user. Energy equipment in different universal energy stations are mutually independent at present, and due to factors such as difference of the energy equipment in each universal energy station, different supply users and the like, the quality of data generated by the energy equipment in the universal energy station is uneven, so that when the data generated by the energy equipment is used for training a model to realize management, the problem of low quality of the trained model can occur.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for regional joint learning, a terminal device, and a storage medium, so as to solve the problem in the prior art that a quality of a model trained by using energy-source devices in a universal station is not high.
In a first aspect of the embodiments of the present invention, a method for regional joint learning is provided, including: acquiring user characteristics of energy equipment of the same type/model in different universal energy stations; determining at least one joint learning area according to the user characteristics, wherein the joint learning area comprises at least one central server and a plurality of energy devices of the same type/model which are respectively connected with the central server through a network; and performing joint learning by adopting the same model structure on each joint learning area.
In some embodiments, the user characteristics include a user's supply volume; then, determining at least one joint learning region according to the user characteristics specifically includes: determining a relation curve of supply time and supply amount of different users based on the supply amount of the users; and selecting energy equipment corresponding to users with the same or similar relation curves to establish a joint learning area.
In some embodiments, the establishing is a joint learning area, which specifically includes: determining a central server; and respectively connecting the central server to the energy equipment corresponding to the users with the same or similar relation curves through network configuration.
In some embodiments, the user characteristics include a user type; then, determining at least one joint learning region according to the user characteristics specifically includes: classifying users of all energy devices of the same type/model; and selecting the energy equipment corresponding to the users with the same classification according to the classification result to establish a joint learning area.
In some embodiments, a method of establishing a joint learning region, comprises: determining a central server; and respectively connecting the central servers to the energy equipment corresponding to the users of the same classification through network configuration.
In some embodiments, before performing the joint learning on each joint learning region by using the same model structure, the method further includes: when a plurality of joint learning areas are established, judging whether model structures adopted by different joint learning areas are the same; if yes, randomly appointing one of the central servers of different joint learning areas as a global central server; and if not, performing joint learning by adopting the same model structure on each joint learning area.
In some embodiments, performing joint learning on each joint learning region by using the same model structure specifically includes: generating an initial model structure by the central server; sending the model structure to each energy device in the joint learning area, and instructing the energy devices to train the model structure by using data of the energy devices; receiving parameters and gradient data returned after each energy device trains the model structure; aggregating the parameters and gradient data and updating the model structure using the aggregated parameters and gradient data; sending the updated parameters and gradient data of the model structure to each energy device in the joint learning area, and instructing the energy devices to train the local model structure by using the parameters and the gradient data; and repeating the steps of receiving the parameters and the gradient data and sending the updated parameters and the updated gradient data until the set cycle number is repeatedly reached or the precision of the model structure reaches the preset requirement.
In a second aspect of the embodiments of the present invention, there is provided a regional joint learning apparatus, including:
the data acquisition module is configured to acquire user characteristics of energy equipment of the same type/model in different universal energy stations;
a joint region construction module configured to determine at least one joint learning region according to the user characteristics, wherein the joint learning region comprises at least one central server and a plurality of energy devices of the same type/model respectively connected with the central server through a network;
and the joint learning module is configured to perform joint learning by adopting the same model structure on each joint learning area.
In a third aspect of the embodiments of the present invention, a terminal device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the regional joint learning method are implemented.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the regional joint learning method.
The area joint learning method for different universal stations provided by the embodiment of the invention has the beneficial effects that at least: according to the embodiment of the invention, the user characteristics of the energy equipment of the same type/model in different universal stations are obtained, at least one joint learning area is determined according to the user characteristics, finally, the same model structure is adopted in each joint learning area for joint learning, and the problem of low model quality of the energy equipment in the universal stations for generating data training is solved by performing model training on the data generated by the energy equipment in the different universal stations and performing transverse joint learning.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of an implementation of a regional joint learning method provided in an embodiment of the present invention;
FIG. 2 is a flowchart of a first implementation of determining a joint learning area according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for establishing a joint learning area according to an embodiment of the present invention;
FIG. 4 is a flowchart of a second implementation of determining a joint learning area according to an embodiment of the present invention;
FIG. 5 is a flowchart of a second implementation of establishing a joint learning area according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating an implementation of determining model structures used in different joint learning areas according to an embodiment of the present invention;
FIG. 7 is a flowchart of implementing joint learning by using the same model structure in each of the joint learning regions according to the embodiment of the present invention;
fig. 8 is a schematic flow chart of an implementation of the regional joint learning apparatus according to the embodiment of the present invention;
fig. 9 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention. Unless otherwise specified, the technical means used in the examples are conventional means well known to those skilled in the art.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
First embodiment
Fig. 1 is a flowchart of a regional joint learning method for different ubiquitous stations according to an embodiment of the present invention.
The regional joint learning method provided in this embodiment may be executed in a device such as a workstation or a server, as shown in fig. 1, the regional joint learning method includes steps S110 to S130:
s110: user characteristics of the same type/model of energy equipment in different universal stations are acquired.
Specifically, various energy devices, such as a boiler, a heat pump, solar energy and the like, are contained in the same universal station. The energy devices contained in different universal stations may be the same or different, and even if the same device, the type or model may be different in different universal stations.
In the present embodiment, only the same type or model of energy device is employed. Because even for the same device, if the model and type are different, the resulting data is very different, and for this reason the expected effect may not be achieved if the same model is trained with these data.
Specifically, users supplied by different universal energy stations are different, and therefore the energy equipment can be analyzed through the user characteristics, so that the training of the model can be realized by better utilizing the data of the energy equipment.
S120: and determining at least one joint learning area according to the user characteristics, wherein the joint learning area comprises at least one central server and a plurality of energy equipment of the same type/model respectively connected with the central server through a network.
Specifically, if the user characteristics are different, the determined joint learning area is also different.
Fig. 2 is a first flowchart illustrating an implementation of step S120 according to an embodiment of the present invention.
Illustratively, the user characteristic may be a user supply volume, i.e., a volume of energy that the energy source provides energy to the user.
On this basis, as shown in fig. 2, in step S120, at least one joint learning area is determined according to the user characteristics, and specifically includes steps S210 to S220:
and S210, determining a relation curve of the supply time and the supply amount of different users based on the supply amount of the users.
Specifically, the user energy supply amount is projected into a coordinate with time as a horizontal axis and the supply amount as a vertical axis, so that the time law of the energy supply amount of the energy device to the user can be clearly understood.
And S220, selecting energy equipment corresponding to users with the same or similar relation curves to establish a joint learning area.
Specifically, for users with the same or similar relationship curves, the data generated by the corresponding energy devices have similar rules, so that the data of the energy devices can be used for training the same model, and the quality of the model can be improved.
In this embodiment, the joint learning area is used for implementing joint learning of a plurality of energy devices of the same type or model.
Fig. 3 is a flowchart illustrating an implementation of establishing a joint learning area according to an embodiment of the present invention.
As shown in fig. 3, establishing a joint learning area may specifically include the following steps S310 to S320:
s310, a central server is determined.
And S320, respectively connecting the central server to the energy equipment corresponding to the users with the same or similar relation curves through network configuration.
In this example, the central server and the energy devices in the joint learning area form a communication network, and each energy device is connected with the central server in a one-to-one correspondence manner.
Fig. 4 is a flowchart illustrating a second implementation of step S120 according to an embodiment of the present invention.
For example, the user characteristic may be a user type, and the demand of the energy device for energy supply may be different for different users.
On this basis, as shown in fig. 4, in step S120, at least one joint learning area is determined according to the user characteristics, and specifically includes steps S410-S420:
s410: all users of the same type/model of energy device are classified.
Specifically, the users include industrial users and general users, and obviously, the industrial users and the general users have great difference in energy supply requirements, so that the users can be classified.
S420: and selecting the energy equipment corresponding to the users with the same classification according to the classification result to establish a joint learning area.
Specifically, energy devices corresponding to users of the same classification are combined to establish a combined area, data generated by the energy devices corresponding to the users have the same or similar rules due to the fact that the types of the users are similar, and the data are used for performing combined learning training on the same model, so that the model can obtain higher quality.
Fig. 5 is a flowchart illustrating an implementation of establishing a joint learning area according to another embodiment of the present invention.
As shown in fig. 5, establishing a joint learning area may specifically include the following steps S510 to S520:
s510: determining a central server;
s520: and respectively connecting the central servers to the energy equipment corresponding to the users of the same classification through network configuration.
Similar to the example of fig. 3, the present example uses a central server as a center, and the energy devices corresponding to users of the same category are respectively connected to the central server one by one.
S130: and performing joint learning on each joint learning area by adopting the same model structure.
In this embodiment, each joint learning area is correspondingly established with one central server, and on this basis, a joint learning method is adopted to improve the quality of model training of energy devices in the joint learning area under the condition of ensuring data security.
In addition, the same or different situations may exist in consideration of the model structures adopted on different joint learning regions. When a plurality of joint learning areas exist, if the model structures adopted by more than one joint learning area are the same, each joint learning area also insists on using the own central server, and then resources are wasted.
For example, please refer to fig. 6, which is a flowchart illustrating an implementation before step S130 provided in an embodiment of the present invention.
As shown in fig. 6, before performing the joint learning by using the same model structure in each joint learning region, the following steps S610 to S630 are further included:
s610: when a plurality of joint learning areas are established, judging whether model structures adopted by different joint learning areas are the same;
s620: if yes, randomly appointing one of the central servers of different joint learning areas as a global central server;
s630: if not, the process proceeds to step S130.
In this embodiment, by determining the global central server for a plurality of joint learning regions adopting the same model structure, on one hand, energy consumption of the device can be reduced, on the other hand, energy device data can be enriched, and quality of model structure training is further improved.
Fig. 7 is a flowchart of step S130 provided in an embodiment of the present invention.
Illustratively, this embodiment provides a specific flow chart for performing joint learning on a joint learning region by using the same model structure, and as shown in fig. 7, the specific flow chart specifically includes the following steps:
s710: an initial model structure is generated by the central server.
Specifically, the model structure in this embodiment may include various types of models, such as a machine learning model or a deep learning model.
S720: and sending the model structure to each energy device in the joint learning area, and instructing the energy devices to train the model structure by using the data of the energy devices.
S730: and receiving the parameters and gradient data returned after the model structure is trained by each energy device.
S740: aggregating the parameters and gradient data, and updating the model structure using the aggregated parameters and gradient data.
In particular, the polymerization parameters and gradient data may include averaging, or median values.
S750: sending the updated parameters and gradient data of the model structure to each energy device in the joint learning area, and instructing the energy devices to train the local model structure by using the parameters and the gradient data;
s760: and repeating the steps of receiving the parameters and the gradient data and transmitting the updated parameters and the updated gradient data (i.e., S730 to S750) until the set cycle number is repeatedly reached or the precision of the model structure reaches the preset requirement.
According to the embodiment of the invention, the user characteristics of the energy equipment of the same type/model in different universal stations are obtained, at least one joint learning area is determined according to the user characteristics, finally, the same model structure is adopted in each joint learning area for joint learning, and the problem of low model quality of the energy equipment in the universal stations for generating data training is solved by performing model training on the data generated by the energy equipment in the different universal stations and performing transverse joint learning.
Second embodiment
Fig. 8 is a schematic diagram of a regional joint learning device for different universal stations provided by the invention.
As shown in fig. 8, the apparatus includes:
the data acquisition module is configured to acquire user characteristics of energy equipment of the same type/model in different universal energy stations;
a joint region construction module configured to determine at least one joint learning region according to the user characteristics, wherein the joint learning region comprises at least one central server and a plurality of energy devices of the same type/model respectively connected with the central server through a network;
and the joint learning module is configured to perform joint learning by adopting the same model structure on each joint learning area.
In some exemplary embodiments, the user characteristics include a user supply volume.
Correspondingly, the joint area establishing module specifically includes:
a first analysis unit configured to determine a relation curve of supply time and supply amount of different users based on the user supply amount;
and the first joint area establishing unit is configured to select the energy equipment corresponding to the users with the same or similar relation curves to establish the energy equipment as a joint learning area.
In some exemplary embodiments, the first union region establishing unit specifically includes:
a first trust center determination unit configured to determine a central server;
and the first network configuration unit is configured to enable the central server to be respectively connected to the energy equipment corresponding to the users with the same or similar relation curves through network configuration.
In some exemplary embodiments, the user characteristics include a user type.
Correspondingly, the joint area establishing module specifically includes:
a second analysis unit configured to classify users of all energy devices of the same type/model;
and the second joint area establishing unit is configured to select the energy equipment corresponding to the users in the same classification according to the classification result and establish the energy equipment as a joint learning area.
In some exemplary embodiments, the second union area establishing unit specifically includes:
a first trust center determination unit configured to determine a central server;
and the second network configuration unit is configured to enable the central server to be respectively connected to the energy devices corresponding to the users in the same category through network configuration.
In some exemplary embodiments, the apparatus may further include:
the judging module is configured to judge whether model structures adopted by different joint learning areas are the same or not when a plurality of joint learning areas are established;
the second trust center determining unit is configured to randomly designate one of the center servers of different joint learning areas as a global center server if the central server exists;
and the jumping unit is configured to enter joint learning by adopting the same model structure on each joint learning area if not.
In some exemplary embodiments, the joint learning module specifically includes:
a model generation unit configured to generate an initial model structure by the central server.
And the model sending unit is configured to send the model structure to each energy device in the joint learning area, and is used for instructing the energy devices to train the model structure by using own data.
And the parameter receiving unit is configured to receive the parameters and the gradient data returned after the model structure is trained by each energy device.
A parameter aggregation unit configured to aggregate the parameters and gradient data and update the model structure using the aggregated parameters and gradient data.
And the parameter sending unit is configured to send the updated parameters and gradient data of the model structure to each energy device in the joint learning area, and is used for instructing the energy devices to train a local model structure by using the parameters and gradient data.
And the cycle execution unit is configured to repeat the steps of receiving the parameters and the gradient data and sending the updated parameters and the updated gradient data until the set cycle number is repeatedly reached or the precision of the model structure reaches a preset requirement.
Third embodiment
The method and the device can be applied to terminal equipment such as a cloud server.
Fig. 9 is a diagram of a terminal device to which the above method and apparatus may be applied in an embodiment of the present invention, as shown in the figure, the terminal device 9 includes amemory 91, aprocessor 90, and acomputer program 92 stored in thememory 91 and executable on theprocessor 90, and when theprocessor 90 executes thecomputer program 92, the steps of the method for jointly learning the regions of different smart stations are implemented. Such as the functions of the modules 81 to 83 shown in fig. 8.
The terminal device 9 may be a computing device such as a cloud server. The terminal device may include, but is not limited to, theprocessor 90 and thememory 91. Those skilled in the art will appreciate that fig. 9 is only an example of a terminal device 9, and does not constitute a limitation to the terminal device 9, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device may also include an input-output device, a network access device, a bus, etc.
TheProcessor 90 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Thememory 91 may be an internal storage unit of the terminal device 9, such as a hard disk or a memory of the terminal device 9. Thememory 91 may also be an external storage device of the terminal device 9, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the terminal device 9. Further, thememory 91 may also include both an internal storage unit and an external storage device of the terminal device 9. Thememory 91 is used for storing the computer program and other programs and data required by the terminal device. Thememory 91 may also be used to temporarily store data that has been output or is to be output.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
Specifically, the present application further provides a computer-readable storage medium, which may be a computer-readable storage medium contained in the memory in the foregoing embodiments; or it may be a separate computer-readable storage medium not incorporated into the terminal device. The computer readable storage medium stores one or more computer programs:
a computer-readable storage medium comprising a computer program stored thereon which, when being executed by a processor, carries out the steps of the method of regional joint learning of different ubiquitous stations.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

Translated fromChinese
1.一种区域联合学习方法,其特征在于,包括:1. a regional joint learning method, is characterized in that, comprises:获取在不同泛能站中同一类型/型号能源设备的用户特征;Obtain the user characteristics of the same type/model of energy equipment in different ubiquitous energy stations;根据所述用户特征确定至少一个联合学习区域,所述联合学习区域包括至少一个中心服务器和多个分别与所述中心服务器网络连接的同一类型/型号的能源设备;Determine at least one joint learning area according to the user characteristics, and the joint learning area includes at least one central server and a plurality of energy devices of the same type/model respectively connected to the central server network;在每个联合学习区域上采用相同的模型结构进行联合学习。The same model structure is used for joint learning on each joint learning area.2.根据权利要求1所述的方法,其特征在于:2. method according to claim 1, is characterized in that:所述用户特征包括用户供给体量;The user characteristics include user supply volume;那么,根据所述用户特征确定至少一个联合学习区域,具体包括:Then, at least one joint learning area is determined according to the user characteristics, which specifically includes:基于所述用户供给体量,确定不同用户在供应时间与供应体量上的关系曲线;Based on the supply volume of the user, determine the relationship curve between supply time and supply volume of different users;选择所述关系曲线相同或相似的用户所对应的能源设备,建立为一个联合学习区域。The energy equipments corresponding to the users with the same or similar relationship curves are selected to establish a joint learning area.3.根据权利要求2所述的方法,其特征在于,所述建立为一个联合学习区域,具体包括:3. The method according to claim 2, wherein the establishment as a joint learning area specifically includes:确定一个中心服务器;Determine a central server;通过网络配置使所述中心服务器分别连接于关系曲线相同或相似的用户所对应的能源设备。Through the network configuration, the central server is respectively connected to the energy equipment corresponding to the users with the same or similar relationship curves.4.根据权利要求1所述的方法,其特征在于:4. method according to claim 1, is characterized in that:所述用户特征包括用户类型;the user characteristics include user type;那么,根据所述用户特征确定至少一个联合学习区域,具体包括:Then, at least one joint learning area is determined according to the user characteristics, which specifically includes:对所有同一类型/型号能源设备的用户进行分类;Categorize all users of the same type/model of energy equipment;根据所述分类的结果选择相同分类的用户所对应的能源设备,建立为一个联合学习区域。According to the result of the classification, energy equipment corresponding to users of the same classification is selected to establish a joint learning area.5.根据权利要求4所述的方法,其特征在于,建立一个联合学习区域的方法,包括:5. The method according to claim 4, wherein the method for establishing a joint learning area comprises:确定一个中心服务器;Determine a central server;通过网络配置使所述中心服务器分别连接于相同分类的用户所对应的能源设备。Through the network configuration, the central server is connected to the energy equipment corresponding to the users of the same category respectively.6.根据权利要求3或5所述的方法,其特征在于,在每个联合学习区域上采用相同的模型结构进行联合学习之前,还包括:6. The method according to claim 3 or 5, characterized in that, before using the same model structure for joint learning on each joint learning area, further comprising:当建立有多个联合学习区域时,判断是否有不同联合学习区域所采用的模型结构为相同的;When multiple joint learning areas are established, determine whether there are different joint learning areas with the same model structure;若有,则随机指定各个不同联合学习区域的中心服务器中的其中一个为全局中心服务器;If so, randomly designate one of the central servers in different joint learning areas as the global central server;若无,则进入在每个联合学习区域上采用相同的模型结构进行联合学习。If not, enter the joint learning using the same model structure on each joint learning area.7.根据权利要求1-6任一所述的方法,其特征在于,在每个联合学习区域上采用相同的模型结构进行联合学习,具体包括:7. The method according to any one of claims 1-6, characterized in that, on each joint learning area, the same model structure is used for joint learning, which specifically includes:由中心服务器生成初始的模型结构;The initial model structure is generated by the central server;发送所述模型结构给所述联合学习区域内各个能源设备,用于指示所述能源设备使用自身的数据对所述模型结构进行训练;sending the model structure to each energy device in the joint learning area to instruct the energy device to use its own data to train the model structure;接收各个所述能源设备对模型结构进行训练后返回的参数和梯度数据;receiving parameters and gradient data returned by each of the energy devices after training the model structure;聚合所述参数和梯度数据,并使用聚合后的参数和梯度数据更新所述模型结构;aggregating the parameters and gradient data, and using the aggregated parameters and gradient data to update the model structure;发送模型结构更新后的参数和梯度数据给所述联合学习区域内各个能源设备,用于指示所述能源设备使用所述参数和梯度数据对本地的模型结构进行训练;sending the updated parameters and gradient data of the model structure to each energy device in the joint learning area, to instruct the energy device to use the parameters and gradient data to train the local model structure;重复上述接收参数和梯度数据至发送更新后的参数和梯度数据的步骤,直至重复到达设定的循环次数,或所述模型结构的精度到达预设需求。The above steps of receiving parameters and gradient data to sending updated parameters and gradient data are repeated until the set number of cycles is reached, or the accuracy of the model structure reaches a preset requirement.8.一种区域联合学习装置,其特征在于,所述装置包括:8. A regional joint learning device, wherein the device comprises:数据获取模块,被配置为获取在不同泛能站中同一类型/型号能源设备的用户特征;a data acquisition module, configured to acquire user characteristics of the same type/model of energy equipment in different ubiquitous energy stations;联合区域构建模块,被配置为根据所述用户特征确定至少一个联合学习区域,所述联合学习区域包括至少一个中心服务器和多个分别与所述中心服务器网络连接的同一类型/型号的能源设备;a joint area building module, configured to determine at least one joint learning area according to the user characteristics, the joint learning area including at least one central server and a plurality of energy devices of the same type/model respectively connected to the central server network;联合学习模块,被配置为在每个联合学习区域上采用相同的模型结构进行联合学习。The joint learning module is configured to adopt the same model structure on each joint learning area for joint learning.9.一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述方法的步骤。9. A terminal device, comprising a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor implements the computer program as claimed in the claims when executing the computer program The steps of any one of 1 to 7 of the method.10.一种存储介质,所述存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述方法的步骤。10. A storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
CN202010796595.1A2020-08-102020-08-10Regional joint learning method and device, terminal equipment and storage mediumPendingCN114077900A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010796595.1ACN114077900A (en)2020-08-102020-08-10Regional joint learning method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010796595.1ACN114077900A (en)2020-08-102020-08-10Regional joint learning method and device, terminal equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN114077900Atrue CN114077900A (en)2022-02-22

Family

ID=80279548

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010796595.1APendingCN114077900A (en)2020-08-102020-08-10Regional joint learning method and device, terminal equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN114077900A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105335800A (en)*2015-11-192016-02-17国网天津市电力公司Method for forecasting electricity consumption of power consumers based on joint learning
CN109740790A (en)*2018-11-282019-05-10国网天津市电力公司 A user electricity consumption prediction method based on time series feature extraction
US20190171978A1 (en)*2017-12-062019-06-06Google LlcSystems and Methods for Distributed On-Device Learning with Data-Correlated Availability

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105335800A (en)*2015-11-192016-02-17国网天津市电力公司Method for forecasting electricity consumption of power consumers based on joint learning
US20190171978A1 (en)*2017-12-062019-06-06Google LlcSystems and Methods for Distributed On-Device Learning with Data-Correlated Availability
CN109740790A (en)*2018-11-282019-05-10国网天津市电力公司 A user electricity consumption prediction method based on time series feature extraction

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
TRAN NH等: "Federated learning over wireless networks: Optimization model design and analysis", 《 IEEE CONFERENCE ON COMPUTER COMMUNICATIONS (IEEE INFOCOM 2019)》, 30 April 2019 (2019-04-30), pages 1387 - 1395, XP033561203, DOI: 10.1109/INFOCOM.2019.8737464*
刘耕等: "联邦学习在5G云边协同场景中的原理和应用综述", 《通讯世界》, vol. 27, no. 07, 29 July 2020 (2020-07-29), pages 50 - 52*
史佳琪: "区域综合能源系统供需预测及优化运行技术研究", 《中国博士学位论文全文数据库 工程科技Ⅱ辑》, no. 2020, 15 January 2020 (2020-01-15), pages 039 - 20*
王奖等: "数据中心园区能源互联网的关键技术与发展模式", 《中国工程科学》, vol. 22, no. 04, 7 August 2020 (2020-08-07), pages 65 - 73*

Similar Documents

PublicationPublication DateTitle
CN108386979B (en)Control method and device of air conditioner
CN110213058A (en)A kind of block chain all-in-one machine for realizing data cochain
CN110225453A (en)Mobile terminal locating method, device, electronic equipment and storage medium
CN113703363B (en) Plug-and-play method of intelligent edge computing gateway in electric power dispatching cloud
CN114298319B (en)Determination method and device for joint learning contribution value, electronic equipment and storage medium
CN111159897A (en)Target optimization method and device based on system modeling application
CN110782472B (en)Point cloud ground point identification method and device
CN110620820A (en)Ubiquitous power Internet of things intelligent management system
CN116226531A (en) An intelligent recommendation method for financial products of small and micro enterprises and related products
CN108429642A (en) A topology recognition method, system, device and computer storage medium
CN114077900A (en)Regional joint learning method and device, terminal equipment and storage medium
CN117573340A (en) Resource scheduling methods, devices, electronic equipment and storage media based on blockchain
CN116708181B (en) Power business matching method, electronic device and storage medium
CN109981396B (en)Monitoring method and device for cluster of docker service containers, medium and electronic equipment
CN107707941A (en)Middleware authoring system and method
CN116980017A (en) Signal repeater control method and signal repeater control device
JP7230216B2 (en) How to determine the shared service index based on the communication certificate sharing service
CN116909772A (en)Simulation data communication transmission control method, device and storage medium
CN107770024B (en)Method and device for generating bus cycle scanning table
CN110798863B (en)VR interaction control method based on brain wave data
CN114518798A (en)Low-power-consumption control method and device for equipment cluster
CN113596095A (en)Rapid Internet of things method and device, computer equipment and computer readable storage medium
CN114298194B (en) A business data processing method, device, equipment and storage medium
CN113284217B (en)Method, device, equipment and storage medium for realizing semi-automatic drawing
CN110838759B (en)Management method and system of distribution transformer terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp