CN114625491A - Task creation method and device based on joint learning - Google Patents

Task creation method and device based on joint learning Download PDF

Info

Publication number
CN114625491A
CN114625491A CN202011442360.9A CN202011442360A CN114625491A CN 114625491 A CN114625491 A CN 114625491A CN 202011442360 A CN202011442360 A CN 202011442360A CN 114625491 A CN114625491 A CN 114625491A
Authority
CN
China
Prior art keywords
resource node
node list
task
target
configuration instruction
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
CN202011442360.9A
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 Ltd filed Critical Ennew Digital Technology Co Ltd
Priority to CN202011442360.9A priority Critical patent/CN114625491A/en
Publication of CN114625491A publication Critical patent/CN114625491A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a task creating method, a task creating device, a readable medium and electronic equipment based on joint learning, wherein the method comprises the following steps: receiving a task configuration instruction of a target user; determining a current resource node list of a joint center; determining a target resource node list based on the identification information carried by the task configuration instruction and the current resource node list; and creating a task for the target user based on the target resource node list. According to the technical scheme provided by the invention, the target resource node list is determined through the identification information carried by the task configuration instruction of the target user and the current resource node list of the joint center, and the task is created for the target user based on the target resource node list, so that the task is created for the target user according to the task requirement of the target user.

Description

Task creating method and device based on joint learning
Technical Field
The invention relates to the field of energy, in particular to a task creating method and device based on joint learning.
Background
With the rapid development of the internet technology, user data becomes more and more important resources, various prediction models can be trained based on the user data, and an accurate prediction result is the basis for efficient operation of an energy system. However, not every energy user can collect massive user data and train an accurate prediction model, which makes joint learning become a trend, and in order to make more and more energy users participate in joint learning, it becomes more and more important to determine a reasonable task creation method based on joint learning.
Disclosure of Invention
The invention provides a task creating method, a device, a readable medium and electronic equipment based on joint learning.
In a first aspect, the present invention provides a task creating method based on joint learning, including:
receiving a task configuration instruction of a target user;
determining a current resource node list of a joint center;
determining a target resource node list based on the identification information carried by the task configuration instruction and the current resource node list;
and creating a task for the target user based on the target resource node list.
Preferably, the first and second electrodes are formed of a metal,
the identification information includes: algorithm selection information, metadata information, and calculation capability requirement information.
Preferably, the first and second electrodes are formed of a metal,
determining a target resource node list based on the identification information carried by the task configuration instruction and the current resource node list, including:
determining algorithm providing information, metadata providing information and operational capability providing information corresponding to the current resource node list;
and determining a target resource node list in the current resource node list based on algorithm selection information, metadata information and computing capacity requirement information corresponding to the task configuration instruction and algorithm providing information, metadata providing information and computing capacity providing information corresponding to the current resource node list.
Preferably, the first and second electrodes are formed of a metal,
the method further comprises the following steps:
determining the node state of each target resource node in the target resource node list in real time;
if the node state of the target resource node does not accord with the identification information carried by the task configuration instruction, updating the current resource node list;
and if the updated current resource node list has a selected resource node which is not located in the target resource node list and accords with the identification information carried by the task configuration instruction, updating the target resource node of which the node state does not accord with the identification information carried by the task configuration instruction by using the selected resource node.
Preferably, the first and second electrodes are formed of a metal,
the method further comprises the following steps:
and if the target resource node list is empty, feeding back a task creation failure to the target user.
Preferably, the first and second electrodes are formed of a metal,
the method further comprises the following steps:
if the target resource node list is empty, updating the current resource node list after preset time;
and updating a target resource node list based on the identification information carried by the task configuration instruction and the updated current resource node list.
In a second aspect, the present invention provides a task creating device based on joint learning, including:
the instruction receiving module is used for receiving a task configuration instruction of a target user;
the current list determining module is used for determining a current resource node list of the joint center;
a target list determining module, configured to determine a target resource node list based on the identification information carried by the task configuration instruction and the current resource node list;
and the task creating module is used for creating a task for the target user based on the target resource node list.
Preferably, the first and second electrodes are formed of a metal,
the target list determination module includes:
the information determining unit is used for determining algorithm providing information, metadata providing information and operational capability providing information corresponding to the current resource node list;
and the target list determining unit is used for determining a target resource node list in the current resource node list based on the algorithm selection information, the metadata information and the computing capability requirement information corresponding to the task configuration instruction and the algorithm providing information, the metadata providing information and the computing capability providing information corresponding to the current resource node list.
In a third aspect, the invention provides a readable medium comprising executable instructions, which when executed by a processor of an electronic device, perform the method according to any of the first aspect.
In a fourth aspect, the present invention provides an electronic device, including a processor and a memory storing execution instructions, wherein when the processor executes the execution instructions stored in the memory, the processor performs the method according to any one of the first aspect.
The invention provides a task creating method, a device, a readable medium and electronic equipment based on joint learning. In the technical scheme provided by the invention, when a target user needs to create a task, a task configuration instruction is sent, the requirement of the target user for creating the task is reflected through identification information carried by the task configuration instruction, a target resource node list is selected from a current resource node list according to the identification information, and all resource nodes in the target resource node list can meet the requirement of the target user for creating the task, so that the task created for the target user according to the target resource node list meets the requirement of the target user and is reasonable.
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 flowchart of a first joint learning-based task creation method provided in an embodiment of the present invention;
fig. 2 is a flowchart illustrating a second task creation method based on joint learning according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a third joint learning-based task creation method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a task creating device based on joint learning according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a target list determination module in a task creation device based on joint learning according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail and completely with reference to the following embodiments and accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.
As shown in fig. 1, an embodiment of the present invention provides a task creation method based on joint learning, where the method includes:
step 11, receiving a task configuration instruction of a target user;
step 12, determining a current resource node list of a joint center;
step 13, determining a target resource node list based on the identification information carried by the task configuration instruction and the current resource node list;
and 14, creating a task for the target user based on the target resource node list.
In the embodiment, a task configuration instruction of a target user is received, a current resource node list of a joint center is determined in response to the task configuration instruction, identification information carried by the task configuration instruction of the target user is determined, the target resource node list is selected from the current resource node list according to the identification information and the current resource node list, and a task is created for the target user according to the target resource node list. In the technical scheme provided by this embodiment, when a target user needs to create a task, a task configuration instruction is sent, the requirement of the target user for creating the task is embodied through identification information carried by the task configuration instruction, a target resource node list is selected from a current resource node list according to the identification information, and all resource nodes in the target resource node list can meet the requirement of the target user for creating the task, so that the task created for the target user according to the target resource node list meets the requirement of the target user, and the task creation method has rationality.
Specifically, the task configuration instruction refers to an instruction for triggering task creation, and the task configuration instruction carries identification information, where the identification information includes: the algorithm selection information, the metadata information and the computing power requirement information, wherein the metadata information is not real data but describes the real data. The current resource node list refers to a parameter and state list of a joint center resource node at the current time, and it is worth noting that the current resource node list may be different if the current time is different, wherein the resource node corresponds to an energy user, the energy user needs to register, and resource registration information is determined, the resource registration information includes information of local hardware resources, algorithms, operational capability, metadata and the like of the energy user, and when an energy user registers, the resource node becomes a resource node. And screening the current resource node list according to the identification information carried by the task configuration instruction to obtain a target resource node list, wherein the target resource node list is a list corresponding to all target resource nodes selected according to the identification information carried by the task configuration instruction. The task created for the target user may be a training task of the load prediction model, a training task of the fault prediction model, and a training task of the operation and maintenance management model, that is, after the task is completed, the target user may obtain the corresponding load prediction model, the fault prediction model, and the operation and maintenance management model, and may also include training tasks of other models, and the user may adjust the models according to the actual application scenario.
As shown in fig. 2, in an embodiment of the present invention, the determining, in step 13, a target resource node list based on the identification information carried in the task configuration instruction and the current resource node list includes:
step 131, determining algorithm providing information, metadata providing information and operational capability providing information corresponding to the current resource node list;
step 132, determining a target resource node list in the current resource node list based on the algorithm selection information, the metadata information, the computation capability requirement information corresponding to the task configuration instruction and the algorithm provision information, the metadata provision information, and the computation capability provision information corresponding to the current resource node list.
In the above embodiment, the algorithm provision information, the metadata provision information, and the computation capability provision information corresponding to each resource node in the current resource node list are determined, so that the operation information that can be provided by each resource node in the current resource node list is determined, so that the operation information of each resource node can be compared with the identification information corresponding to the task configuration instruction, the algorithm provision information is selected from the current resource node list to satisfy the algorithm selection information in the task configuration instruction, the metadata provision information satisfies the metadata information in the task configuration instruction, the computation capability provision information satisfies the computation capability requirement information in the task configuration instruction, and the resource nodes in the current resource node list that satisfy the above conditions at the same time are determined as the target resource nodes to form the target resource node list.
In a possible case, the determined target resource node list is empty, that is, there is no target resource node in the current resource node list that conforms to the identification information carried by the task configuration instruction, if the resource nodes in the current resource node list provide different algorithms from the algorithms corresponding to the task configuration instructions, or the resource nodes in the current resource node list can not meet the requirement of the computing capability in the task configuration instruction, or the metadata providing information corresponding to the resource nodes in the current resource node list is different from the metadata information in the task configuration instruction, if the resource nodes in the current resource node list all meet any one of the above conditions, the target resource node does not exist in the current resource node list, and thus, when the determined target resource node list is empty, the task creation failure is fed back to the target user. Specifically, a failure option can be fed back to the target user, where the failure option refers to main content in the current resource node list that cannot meet the identification information carried by the task configuration instruction, so that the target user can adjust the identification information carried by the task configuration instruction according to the failure option to ensure that the task is successfully created for the target user more quickly. Certainly, if the target resource node list is empty, the current resource node list may also be updated after a set time, and it is further determined whether the resource nodes in the updated current resource node list conform to the identification information carried by the task configuration instruction, if so, the target resource node list is updated, the updated target resource node list is not empty, and if not, after the preset time is again passed, the current resource node list is updated again until the target resource node list which is not empty is determined.
As shown in fig. 3, in an embodiment of the present invention, the method further includes:
step 15, determining the node state of each target resource node in the target resource node list in real time;
step 16, if the node state of the target resource node does not accord with the identification information carried by the task configuration instruction, updating the current resource node list;
and step 17, if the current resource node list after updating has a selected resource node which is not located in the target resource node list and conforms to the identification information carried by the task configuration instruction, updating the target resource node of which the node state does not conform to the identification information carried by the task configuration instruction by using the selected resource node.
In the above embodiment, the node states of the target resource nodes in the target resource node list are monitored to determine the node states of the target resource nodes in real time, and if the node states of the target resource nodes do not conform to the identification information carried by the task configuration instruction, the current resource node list is updated, that is, the latest current-time resource node list is determined, and whether a selected resource node exists in the updated current resource node list is determined, where the selected resource node is a resource node that conforms to the identification information carried by the task configuration instruction in the updated current resource node list and is not located in the target resource node list, and if the selected resource node exists, the selected resource node is used to update the target resource node whose node state does not conform to the identification information carried by the task configuration instruction. Therefore, the target resource nodes in the target resource node list can always meet the identification information carried by the task configuration instruction, namely the task requirements of the target user can be met at any time. And if the selected resource node does not exist, updating the current resource node list again after the set time.
Based on the same inventive concept as the above method, as shown in fig. 4, an embodiment of the present invention provides a task creating device based on joint learning, including:
an instruction receiving module 41, configured to receive a task configuration instruction of a target user;
a current list determining module 42, configured to determine a current resource node list of the union center;
a target list determining module 43, configured to determine a target resource node list based on the identification information carried by the task configuration instruction and the current resource node list;
and a task creating module 44, configured to create a task for the target user based on the target resource node list.
As shown in fig. 5, in an embodiment of the present invention, the target list determining module 43 includes:
an information determining unit 431, configured to determine algorithm provision information, metadata provision information, and operation capability provision information corresponding to the current resource node list;
a target list determining unit 432, configured to determine a target resource node list in the current resource node list based on algorithm selection information, metadata information, and computation capability requirement information corresponding to the task configuration instruction, and algorithm provision information, metadata provision information, and computation capability provision information corresponding to the current resource node list.
For convenience of description, the above embodiments of the apparatus are described as functionally separated into various units or modules, and the functions of the units or modules may be implemented in one or more of software and/or hardware in implementing the present invention.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. On the hardware level, the electronic device includes a processor 601 and a memory 602 storing executable instructions, and optionally further includes an internal bus 603 and a network interface 604. The Memory 602 may include a Memory 6021, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory 6022 (e.g., at least 1 disk Memory); the processor 601, the network interface 604, and the memory 602 may be connected to each other by an internal bus 603, and the internal bus 603 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like; the internal bus 603 may be divided into an address bus, a data bus, a control bus, etc., which is indicated by only one double-headed arrow in fig. 6 for convenience of illustration, but does not indicate only one bus or one type of bus. Of course, the electronic device may also include hardware required for other services. When the processor 601 executes execution instructions stored by the memory 602, the processor 601 performs a method in any of the embodiments of the present invention and at least for performing the method as shown in fig. 1-3.
In a possible implementation manner, the processor reads the corresponding execution instruction from the nonvolatile memory into the memory and then runs the corresponding execution instruction, and can also obtain the corresponding execution instruction from other equipment, so as to form a task creation device based on joint learning on a logic level. The processor executes the execution instructions stored in the memory, so that the joint learning-based task creation method provided by any embodiment of the invention is realized through the executed execution instructions.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. 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 various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Embodiments of the present invention further provide a computer-readable storage medium, which includes an execution instruction, and when a processor of an electronic device executes the execution instruction, the processor executes a method provided in any one of the embodiments of the present invention. The electronic device may specifically be the electronic device shown in fig. 6; the execution instruction is a computer program corresponding to the task creating device based on joint learning.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects.
The embodiments of the present invention are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or boiler 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 boiler. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or boiler that comprises the element.
The above description is only an example of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. A task creation method based on joint learning is characterized by comprising the following steps:
receiving a task configuration instruction of a target user;
determining a current resource node list of a joint center;
determining a target resource node list based on the identification information carried by the task configuration instruction and the current resource node list;
and creating a task for the target user based on the target resource node list.
2. The joint learning-based task creation method according to claim 1, wherein the identification information includes: algorithm selection information, metadata information, and calculation capability requirement information.
3. The joint learning-based task creating method according to claim 2, wherein the determining a target resource node list based on the identification information carried by the task configuration instruction and the current resource node list includes:
determining algorithm providing information, metadata providing information and operational capability providing information corresponding to the current resource node list;
and determining a target resource node list in the current resource node list based on algorithm selection information, metadata information and computing capacity requirement information corresponding to the task configuration instruction and algorithm providing information, metadata providing information and computing capacity providing information corresponding to the current resource node list.
4. The joint learning-based task creation method according to claim 1, further comprising:
determining the node state of each target resource node in the target resource node list in real time;
if the node state of the target resource node does not accord with the identification information carried by the task configuration instruction, updating the current resource node list;
and if the updated current resource node list has a selected resource node which is not located in the target resource node list and accords with the identification information carried by the task configuration instruction, updating the target resource node of which the node state does not accord with the identification information carried by the task configuration instruction by using the selected resource node.
5. The joint learning-based task creation method according to claim 1, further comprising:
and if the target resource node list is empty, feeding back a task creation failure to the target user.
6. The joint learning-based task creation method according to claim 1, further comprising:
if the target resource node list is empty, updating the current resource node list after preset time;
and updating a target resource node list based on the identification information carried by the task configuration instruction and the updated current resource node list.
7. A task creating apparatus based on joint learning, comprising:
the instruction receiving module is used for receiving a task configuration instruction of a target user;
the current list determining module is used for determining a current resource node list of the joint center;
a target list determining module, configured to determine a target resource node list based on the identification information carried by the task configuration instruction and the current resource node list;
and the task creating module is used for creating a task for the target user based on the target resource node list.
8. The joint learning-based task creation apparatus according to claim 7, wherein the target list determination module includes:
the information determining unit is used for determining algorithm providing information, metadata providing information and operational capability providing information corresponding to the current resource node list;
and the target list determining unit is used for determining a target resource node list in the current resource node list based on the algorithm selection information, the metadata information and the computing capability requirement information corresponding to the task configuration instruction and the algorithm providing information, the metadata providing information and the computing capability providing information corresponding to the current resource node list.
9. A readable medium comprising executable instructions which, when executed by a processor of an electronic device, cause the electronic device to perform the method of any of claims 1 to 6.
10. An electronic device comprising a processor and a memory storing execution instructions, the processor performing the method of any of claims 1-6 when the processor executes the execution instructions stored by the memory.
CN202011442360.9A 2020-12-08 2020-12-08 Task creation method and device based on joint learning Pending CN114625491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011442360.9A CN114625491A (en) 2020-12-08 2020-12-08 Task creation method and device based on joint learning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011442360.9A CN114625491A (en) 2020-12-08 2020-12-08 Task creation method and device based on joint learning

Publications (1)

Publication Number Publication Date
CN114625491A true CN114625491A (en) 2022-06-14

Family

ID=81895311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011442360.9A Pending CN114625491A (en) 2020-12-08 2020-12-08 Task creation method and device based on joint learning

Country Status (1)

Country Link
CN (1) CN114625491A (en)

Similar Documents

Publication Publication Date Title
CN112861346A (en) Data processing system, method and electronic equipment
CN113067875A (en) Access method, device and equipment based on dynamic flow control of micro-service gateway
CN113065779A (en) Data processing method and device and electronic equipment
CN115495142A (en) Cloud resource arranging method and device, computer equipment and storage medium
CN111831408A (en) Asynchronous task processing method and device, electronic equipment and medium
CN112804682B (en) Data transmission method and device, readable medium and electronic equipment
CN112650583B (en) Resource allocation method and device, readable medium and electronic equipment
CN112163734B (en) Cloud platform-based setting computing resource dynamic scheduling method and device
CN111459474B (en) Templated data processing method and device
CN114625491A (en) Task creation method and device based on joint learning
CN112822248A (en) OTA upgrading method, OTA upgrading device, readable medium and electronic equipment
CN112733453B (en) Equipment predictive maintenance method and device based on joint learning
CN114648127A (en) Task creation method and device based on joint learning
CN115014423A (en) Sensor diagnosis method and device and server
CN112348284A (en) Power load prediction method and device, readable medium and electronic equipment
CN114580816A (en) Resource allocation method, device, readable medium and electronic equipment
CN111404715B (en) Network service instantiation method and device, electronic equipment and storage medium
CN106959969B (en) Data processing method and device
CN114548471A (en) Resource allocation method, device, readable medium and electronic equipment
CN114764636A (en) Training method and device for joint learning, readable medium and electronic equipment
CN114595259A (en) Task creating method and device, readable medium and electronic equipment
WO2015135182A1 (en) Method and apparatus for evaluating performance of real-time system
CN114648128A (en) Joint learning task exception handling method and device
CN114580806A (en) Resource allocation method, device, readable medium and electronic equipment
CN115564322B (en) Service processing method and device, electronic equipment and storage medium

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