CN114595954A - Resource transfer method, device, storage medium and electronic equipment - Google Patents

Resource transfer method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114595954A
CN114595954A CN202210194976.1A CN202210194976A CN114595954A CN 114595954 A CN114595954 A CN 114595954A CN 202210194976 A CN202210194976 A CN 202210194976A CN 114595954 A CN114595954 A CN 114595954A
Authority
CN
China
Prior art keywords
resource
project
target
resources
target user
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
CN202210194976.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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network 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 Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202210194976.1A priority Critical patent/CN114595954A/en
Publication of CN114595954A publication Critical patent/CN114595954A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Game Theory and Decision Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a resource transfer method, a resource transfer device, a storage medium and electronic equipment. The method comprises the following steps: determining all resources of a target user and projects to which each resource belongs in all the resources, wherein each project corresponds to one or more resources; under the condition of receiving a resource transfer instruction of a target user, acquiring a target resource to be transferred indicated in the resource transfer instruction, an original project to which the target resource belongs and a target project to which the target resource is to be transferred; the target resource is transferred from the original project into the target project. The invention solves the technical problem of resource allocation errors.

Description

Resource transfer method, device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a resource transfer method, device, storage medium, and electronic device.
Background
In the prior art, a user may purchase various resources, and the various resources may be allocated to one or more items, each item corresponding to one or more resources. However, in the prior art, when the user purchases the resource and the resource is allocated to a specific project, an allocation error may occur.
Disclosure of Invention
The embodiment of the invention provides a resource transfer method, a resource transfer device, a storage medium and electronic equipment, which are used for at least solving the technical problem of resource allocation errors.
According to an aspect of an embodiment of the present invention, there is provided a resource transfer method, including: determining all resources of a target user and a project to which each resource belongs, wherein each project corresponds to one or more resources; under the condition of receiving a resource transfer instruction of the target user, acquiring a target resource to be transferred indicated in the resource transfer instruction, an original project to which the target resource belongs and a target project to which the target resource is to be transferred; and transferring the target resource from the original item to the target item.
According to another aspect of the embodiments of the present invention, there is provided a resource transfer apparatus, including: the system comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining all resources of a target user and a project to which each resource belongs, and each project corresponds to one or more resources; a first obtaining module, configured to, in a case that a resource transfer instruction of the target user is received, obtain a target resource to be transferred indicated in the resource transfer instruction, an original item to which the target resource belongs, and a target item to which the target resource is to be transferred; and the transfer module is used for transferring the target resource from the original item to the target item.
As an optional example, the apparatus further includes: a second determining module, configured to determine a type of the first resource when the target user adds the first resource other than all the resources; the third determining module is used for determining a first project matched with the first resource according to the corresponding relation between the resource type and the project; a first allocation module, configured to allocate the first resource to the first item.
As an optional example, the apparatus further includes: a fourth determining module, configured to determine, when a second resource of the all resources of the target user fails, a second item to which the second resource belongs; a deleting module, configured to delete the second resource from the second item.
As an optional example, the apparatus further includes: a fifth determining module, configured to determine an effective period of each resource in all the resources of the target user; and the sixth determining module is used for determining any resource as a failed resource when the current time reaches the end time point of the validity period of any resource.
As an optional example, the apparatus further includes: a seventh determining module, configured to determine, when a first item is newly added to the target user, a resource amount of a third resource required by the first item; a second obtaining module, configured to obtain, from all items of the target user except the first item, an amount of free resources equal to the amount of the resources; and an eighth determining module, configured to use the obtained idle resource as a resource in the first item.
As an optional example, the apparatus further includes: a ninth determining module, configured to determine, when the target user deletes a second item in the items of the target user, a fourth resource in the second item; a second allocating module, configured to allocate the fourth resource to all items of the target user, except the second item.
As an optional example, the apparatus further includes: a tenth determining module, configured to determine a fifth resource in a third item when the target user deactivates the third item in the items of the target user; and the locking module is used for locking the fifth resource.
As an optional example, the apparatus further includes: and the unlocking module is used for unlocking the fifth resource under the condition that the target user enables the third item again.
According to still another aspect of the embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is executed by a processor to perform the above-mentioned resource transfer method.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the resource transfer method by using the computer program.
In the embodiment of the invention, all resources of a target user and projects to which each resource belongs in all the resources are determined, wherein each project corresponds to one or more resources; under the condition of receiving a resource transfer instruction of the target user, acquiring a target resource to be transferred indicated in the resource transfer instruction, an original project to which the target resource belongs and a target project to which the target resource is to be transferred; according to the method for transferring the target resource from the original project to the target project, as for one or more resources under each project, project dimension transfer can be performed on the resources according to the resource transfer instruction of the target user, the purpose of timely correcting under the condition of resource allocation errors is achieved, and the technical problem of resource allocation errors is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow diagram of an alternative resource transfer method according to an embodiment of the invention;
FIG. 2 is a project and resource diagram of an alternative resource transfer method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an alternative resource transfer apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to a first aspect of the embodiments of the present invention, there is provided a resource transfer method, optionally, as shown in fig. 1, the method includes:
s102, determining all resources of a target user and a project to which each resource belongs, wherein each project corresponds to one or more resources;
s104, under the condition that a resource transfer instruction of a target user is received, acquiring a target resource to be transferred indicated in the resource transfer instruction, an original project to which the target resource belongs and a target project to which the target resource is to be transferred;
and S106, transferring the target resource from the original project to the target project.
Optionally, in this embodiment, the target user may correspond to one or more resources. The resource may be a resource purchased by the target user from the platform. For example, cloud server resources, cloud computing resources, cloud storage resources may be provided.
Optionally, in this embodiment, for one or more resources under each project of the target user, the target user may perform resource transfer. For each resource of the target user, an item to which the resource belongs may be determined. If the target user wants to transfer the target resource under a certain project, a resource transfer instruction can be generated, and the target resource to be transferred, the original project to which the target resource belongs and the target project to which the target resource is to be transferred are carried in the resource transfer instruction, and the transfer of the target resource is completed according to the resource transfer instruction under the condition that the resource transfer instruction is received.
By the embodiment, for one or more resources under each project, project dimension transfer can be performed on the resources according to the resource transfer instruction of the target user, and the purpose of timely correcting the resources under the condition of resource allocation errors is achieved.
As an optional example, the method further includes:
determining the type of a first resource under the condition that a target user adds the first resource except all the resources;
determining a first project matched with the first resource according to the corresponding relation between the resource type and the project;
the first resource is allocated to the first project.
Optionally, in this embodiment, the target user may purchase various types of resources. The purchased resources may be of various types. The multiple types of resources can be distributed to different projects of the target user according to the types of the resources.
The resource may have a correspondence with the project, and the correspondence may also be modified. For example, the correspondence between the type of resource and the item to which the resource belongs may be used, and if the user purchases a new resource, the newly purchased resource may be allocated to the corresponding item according to the correspondence. The target user can also create or modify the corresponding relationship, and then, the newly purchased resources are allocated to the corresponding project according to the created or modified corresponding relationship. When the resource is adjusted from one project to another project, the corresponding relation between the resource and the project can be correspondingly modified.
As an optional example, the method further includes:
under the condition that a second resource in all resources of the target user fails, determining a second project to which the second resource belongs;
the second resource is deleted from the second item.
Optionally, in this embodiment, each resource of the target user may correspond to an effective time limit of one resource. The validity period may represent a valid usage period of the resource. For example, if a resource has a valid period of one month, the resource will fail after one month. Alternatively, the validity period may be a plurality of time periods. E.g., 8 am to 12 am of each day, etc. Resources are available from 8 am to 12 am each day. If the resource fails, the failed resource is deleted from the project.
As an optional example, the method further includes:
determining the validity period of each resource in all resources of a target user;
and under the condition that the current time reaches the end time point of the validity period of any one resource, determining that any one resource is a failed resource.
Optionally, in this embodiment, for each resource of the target user, the validity period of each resource may be monitored. And if the resource is in the validity period, continuously monitoring the resource. And if the resources reach the end time point of the validity period and the resources are invalid, deleting the invalid resources.
As an optional example, the method further includes:
determining the resource amount of a third resource required by the first project under the condition that the target user adds the first project;
acquiring idle resources with the same quantity as the resources from all projects of the target user except the first project;
and taking the acquired free resources as resources under the first project.
Optionally, in this embodiment, when the target and the user add a new first item, resources may be purchased for the first item, or resources may be allocated for the first item. If no resources have been purchased or deployed for the first item, the system may obtain free resources from all items other than the first item for allocation to the first item. The allocated free resources satisfy the amount of resources required for the first project. If the free resources are not sufficient, the target user may be prompted to purchase resources or to allocate resources for use.
As an optional example, the method further includes:
determining a fourth resource in the second item under the condition that the target user deletes the second item in the items of the target user;
and allocating the fourth resource to all projects of the target user, except the second project.
Optionally, in this embodiment, when the second item of the target user is deleted by the target user, the fourth resource in the second item may be allocated to another item. For example, resource 1 and resource 2 are included in the second item, and when the second item is deleted, resource 1 and resource 2 are deployed to the other items. When the resource 1 and the resource 2 are allocated, the resource 1 and the resource 2 can be equally allocated to other items except the second item, or the resource 1 and the resource 2 can be allocated to other items except the second item which are matched with the types of the resource 1 and the resource 2.
As an optional example, the method further includes:
determining a fifth resource in a third project in the event that the target user deactivates the third project in the project of the target user;
the fifth resource is locked.
As an optional example, the method further includes:
in the event that the target user re-enables the third item, the fifth resource is unlocked.
Optionally, in this embodiment, for a third item deactivated by the target user, a fifth resource of the third item may be locked. The locked fifth resource may continue to remain occupied and other items may not be invoked. When the target user enables the third item, the fifth resource is unlocked.
Optionally, in this embodiment, the user may maintain the item through Identity and Access Management (IAM). All items can be placed in the current column in a centralized mode, and if a user adds an item in the IAM, the item is started, stopped and deleted, and the current column is automatically synchronized.
The user can show the resource targets purchased in different product lines under specific attribution items, and the resources under the specific items can be displayed in a summary mode in the console-resource management column according to different product lines, different resource types under products and different machine rooms.
FIG. 2 is a diagram of items and resources according to the present embodiment. In FIG. 2, item 1 includes resource 1 and resource 2, item 2 includes resource 3, item 3 includes resource 4, and item 4 includes resource 5. Resources may change affiliations between projects via user adjustment.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiments of the present application, there is also provided a resource transfer apparatus, as shown in fig. 3, including:
a first determining module 302, configured to determine all resources of a target user and an item to which each resource belongs, where each item corresponds to one or more resources;
a first obtaining module 304, configured to obtain, when a resource transfer instruction of a target user is received, a target resource to be transferred indicated in the resource transfer instruction, an original item to which the target resource belongs, and a target item to which the target resource is to be transferred;
a transfer module 306 for transferring the target resource from the original project to the target project.
Optionally, in this embodiment, the target user may correspond to one or more resources. The resource may be a resource purchased by the target user from the platform. For example, cloud server resources, cloud computing resources, cloud storage resources may be provided.
Optionally, in this embodiment, for one or more resources under each project of the target user, the target user may perform resource transfer. For each resource of the target user, an item to which the resource belongs may be determined. If the target user wants to transfer the target resource under a certain project, a resource transfer instruction can be generated, and the target resource to be transferred, the original project to which the target resource belongs and the target project to which the target resource is to be transferred are carried in the resource transfer instruction, and the transfer of the target resource is completed according to the resource transfer instruction under the condition that the resource transfer instruction is received.
By the embodiment, for one or more resources under each project, project dimension transfer can be performed on the resources according to the resource transfer instruction of the target user, and the purpose of timely correcting under the condition of resource allocation error is achieved.
As an optional example, the apparatus further includes:
the second determining module is used for determining the type of the first resource under the condition that the target user adds the first resource except all the resources;
the third determining module is used for determining a first project matched with the first resource according to the corresponding relation between the resource type and the project;
a first allocation module to allocate a first resource to a first project.
Optionally, in this embodiment, the target user may purchase various types of resources. The purchased resources may be of various types. The multiple types of resources can be distributed to different projects of the target user according to the types of the resources.
The resource may have a correspondence with the project, and the correspondence may also be modified. For example, the type of resource may be associated with an item to which the resource belongs, and if the user purchases a new resource, the newly purchased resource may be allocated to the associated item according to the association. The target user can also create or modify the corresponding relationship, and then the newly purchased resources are distributed to the corresponding projects according to the created or modified corresponding relationship. When the resource is adjusted from one project to another project, the corresponding relation between the resource and the project can be correspondingly modified.
As an optional example, the apparatus further includes:
the fourth determining module is used for determining a second item to which a second resource belongs under the condition that the second resource in all the resources of the target user fails;
a deletion module to delete the second resource from the second item.
Optionally, in this embodiment, each resource of the target user may correspond to an effective time limit of one resource. The validity period may represent a valid usage period of the resource. For example, if a resource has a valid period of one month, the resource will fail after one month. Alternatively, the validity period may be a plurality of time periods. E.g., 8 am to 12 am of each day, etc. Resources are available from 8 am to 12 am of each day. If the resource fails, the failed resource is deleted from the project.
As an optional example, the apparatus further includes:
a fifth determining module, configured to determine an effective period of each resource in all resources of the target user;
and the sixth determining module is used for determining any resource as a failed resource when the current time reaches the end time point of the validity period of any resource.
Optionally, in this embodiment, for each resource of the target user, the validity period of each resource may be monitored. And if the resource is in the validity period, continuously monitoring the resource. And if the resources reach the end time point of the validity period and the resources are invalid, deleting the invalid resources.
As an optional example, the apparatus further includes:
a seventh determining module, configured to determine, when a first item is newly added to a target user, a resource amount of a third resource required by the first item;
the second acquisition module is used for acquiring idle resources which are equal to the resource amount from all the projects of the target user except the first project;
and the eighth determining module is used for taking the obtained idle resources as the resources under the first project.
Optionally, in this embodiment, when the target and the user add a new first item, resources may be purchased for the first item, or resources may be allocated for the first item. If no resources have been purchased or deployed for the first item, the system may obtain free resources from all items other than the first item for allocation to the first item. The allocated free resources satisfy the amount of resources required for the first project. If the free resources are not sufficient, the target user may be prompted to purchase resources or to allocate resources for use.
As an optional example, the apparatus further includes:
a ninth determining module, configured to determine a fourth resource in the second item when the target user deletes the second item in the items of the target user;
and the second allocation module is used for allocating the fourth resource to all projects of the target user except the second project.
Optionally, in this embodiment, when the second item of the target user is deleted by the target user, the fourth resource in the second item may be allocated to another item. For example, resource 1 and resource 2 are included in the second item, and when the second item is deleted, resource 1 and resource 2 are deployed to the other items. When the resource 1 and the resource 2 are allocated, the resource 1 and the resource 2 can be equally allocated to other items except the second item, or the resource 1 and the resource 2 can be allocated to other items except the second item which are matched with the types of the resource 1 and the resource 2.
As an optional example, the apparatus further includes:
a tenth determination module to determine a fifth resource in the third item if the target user deactivates the third item in the items of the target user;
and the locking module is used for locking the fifth resource.
As an optional example, the apparatus further includes:
and the unlocking module is used for unlocking the fifth resource under the condition that the target user enables the third item again.
Optionally, in this embodiment, when the second item of the target user is deleted by the target user, the fourth resource in the second item may be allocated to another item. For example, the second item includes resource 1 and resource 2, and when the second item is deleted, resource 1 and resource 2 are allocated to the other items. When the resource 1 and the resource 2 are allocated, the resource 1 and the resource 2 can be equally allocated to other items except the second item, or the resource 1 and the resource 2 can be allocated to other items except the second item which are matched with the types of the resource 1 and the resource 2.
For other examples of this embodiment, please refer to the above examples, which are not described herein.
Fig. 4 is a block diagram of an alternative electronic device according to an embodiment of the present application, as shown in fig. 4, including a processor 402, a communication interface 404, a memory 406, and a communication bus 408, where the processor 402, the communication interface 404, and the memory 406 communicate with each other via the communication bus 408, where,
a memory 406 for storing a computer program;
the processor 402, when executing the computer program stored in the memory 406, performs the following steps:
determining all resources of a target user and projects to which each resource belongs in all the resources, wherein each project corresponds to one or more resources;
under the condition of receiving a resource transfer instruction of a target user, acquiring a target resource to be transferred indicated in the resource transfer instruction, an original project to which the target resource belongs and a target project to which the target resource is to be transferred;
the target resource is transferred from the original project into the target project.
Alternatively, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) 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 in FIG. 4, but this does not indicate 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 RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
As an example, the memory 406 may include, but is not limited to, the first determining module 402, the first obtaining module 404, and the transferring module 406 in the processing device of the request. In addition, the module may further include, but is not limited to, other module units in the processing apparatus of the request, which is not described in this example again.
The processor may be a general-purpose processor, and may include but is not limited to: a CPU (Central Processing Unit), an NP (Network Processor), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 4 is only an illustration, and the device implementing the resource transfer method may be a terminal device, and the terminal device may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 4 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 4, or have a different configuration than shown in FIG. 4.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is executed by a processor to perform the steps of the above-mentioned resource transfer method.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described in detail in a certain embodiment.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be 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, units or modules, and may be in an electrical 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 foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A method for resource transfer, comprising:
determining all resources of a target user and projects to which each resource belongs, wherein each project corresponds to one or more resources;
under the condition that a resource transfer instruction of the target user is received, acquiring a target resource to be transferred indicated in the resource transfer instruction, an original project to which the target resource belongs and a target project to which the target resource is to be transferred;
transferring the target resource from the original project into the target project.
2. The method of claim 1, further comprising:
determining the type of a first resource except all the resources when the target user adds the first resource;
determining a first project matched with the first resource according to the corresponding relation between the resource type and the project;
allocating the first resource into the first item.
3. The method of claim 1, further comprising:
determining a second item to which a second resource belongs when the second resource of all the resources of the target user fails;
deleting the second resource from the second item.
4. The method of claim 3, further comprising:
determining the validity period of each resource in all the resources of the target user;
and determining any one resource as a failed resource when the current time reaches the end time point of the validity period of the any one resource.
5. The method of any one of claims 1 to 4, further comprising:
determining the resource amount of a third resource required by a first project under the condition that the target user newly adds the first project;
acquiring idle resources with the same quantity as the resource quantity from all the projects of the target user except the first project;
and taking the acquired free resources as resources under the first project.
6. The method of any one of claims 1 to 4, further comprising:
determining a fourth resource in a second item of the items of the target user in the case that the target user deletes the second item;
and allocating the fourth resource to all projects of the target user except the second project.
7. The method of any one of claims 1 to 4, further comprising:
determining a fifth resource in a third item of the items of the target user if the target user deactivates the third item;
locking the fifth resource.
8. The method of claim 7, further comprising:
unlocking the fifth resource if the target user re-enables the third item.
9. A resource transfer apparatus, comprising:
the system comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining all resources of a target user and projects to which each resource belongs, and each project corresponds to one or more resources;
the first acquisition module is used for acquiring a target resource to be transferred indicated in a resource transfer instruction under the condition that the resource transfer instruction of the target user is received, and an original project to which the target resource belongs and a target project to which the target resource is transferred;
a transfer module to transfer the target resource from the original project to the target project.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 8.
11. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 8 by means of the computer program.
CN202210194976.1A 2022-03-01 2022-03-01 Resource transfer method, device, storage medium and electronic equipment Pending CN114595954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210194976.1A CN114595954A (en) 2022-03-01 2022-03-01 Resource transfer method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210194976.1A CN114595954A (en) 2022-03-01 2022-03-01 Resource transfer method, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114595954A true CN114595954A (en) 2022-06-07

Family

ID=81816339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210194976.1A Pending CN114595954A (en) 2022-03-01 2022-03-01 Resource transfer method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114595954A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103562942A (en) * 2011-01-28 2014-02-05 Fmr有限责任公司 Method and system for allocation of resources in a project portfolio
CN105912397A (en) * 2016-03-31 2016-08-31 乐视控股(北京)有限公司 Resources management method and device
US20180336555A1 (en) * 2017-05-18 2018-11-22 Bank Of America Corporation System for providing real time tracking of individual resource items to identify unauthorized resource transfers
CN113487245A (en) * 2021-09-06 2021-10-08 苏州浪潮智能科技有限公司 Cross-project resource transfer method and system for cloud platform and computer storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103562942A (en) * 2011-01-28 2014-02-05 Fmr有限责任公司 Method and system for allocation of resources in a project portfolio
CN105912397A (en) * 2016-03-31 2016-08-31 乐视控股(北京)有限公司 Resources management method and device
US20180336555A1 (en) * 2017-05-18 2018-11-22 Bank Of America Corporation System for providing real time tracking of individual resource items to identify unauthorized resource transfers
CN113487245A (en) * 2021-09-06 2021-10-08 苏州浪潮智能科技有限公司 Cross-project resource transfer method and system for cloud platform and computer storage medium

Similar Documents

Publication Publication Date Title
CN108153670B (en) Interface testing method and device and electronic equipment
CN111078140A (en) Nuclear power station file uploading management method and device, terminal equipment and medium
CN110096388A (en) A kind of method, apparatus and computer storage medium of data backup
CN111782339A (en) Container creation method and device, electronic equipment and storage medium
CN114465998A (en) Multi-device file transmission method and device, terminal device and readable storage medium
CN109756533B (en) Mirror image acceleration method and device and server
CN108925145B (en) Device provisioning
CN106325936A (en) Rapid access method and rapid access system for application program
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN114595954A (en) Resource transfer method, device, storage medium and electronic equipment
CN112363997A (en) Data version management method, device and storage medium
CN108647139B (en) System test method, device, storage medium and electronic device
CN114157662B (en) Cloud platform parameter adaptation method, device, terminal equipment and storage medium
US10482253B2 (en) Configuring basic input output system (BIOS) features based on a policy
CN111400091A (en) Factory setting restoring method, factory setting restoring device and mobile terminal
CN110737852A (en) Information processing method, information processing apparatus, electronic device, and medium
CN107203915B (en) Data storage method and device
CN114356456A (en) Service processing method, device, storage medium and electronic equipment
CN107506386A (en) A kind of data aggregation method based on NAS, device, terminal device and storage medium
CN112579189A (en) Configuration file updating method and device
CN111857736A (en) Cloud computing product generation method, device, equipment and storage medium
CN111881148A (en) Object combination attribute determination method and device and electronic equipment
CN111125232A (en) Method and device for accessing public cloud asset information
CN112311716A (en) Data access control method and device based on openstack and server
CN109167775B (en) ACL setting method, device, terminal and storage medium based on distributed storage

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