CN112348460A - Resource limit adjusting method and device of cooperative task and electronic equipment - Google Patents

Resource limit adjusting method and device of cooperative task and electronic equipment Download PDF

Info

Publication number
CN112348460A
CN112348460A CN202011136757.5A CN202011136757A CN112348460A CN 112348460 A CN112348460 A CN 112348460A CN 202011136757 A CN202011136757 A CN 202011136757A CN 112348460 A CN112348460 A CN 112348460A
Authority
CN
China
Prior art keywords
resource
task
user
limit
target
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.)
Withdrawn
Application number
CN202011136757.5A
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 Qibao Xinan Technology Co ltd
Original Assignee
Beijing Qibao Xinan 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 Qibao Xinan Technology Co ltd filed Critical Beijing Qibao Xinan Technology Co ltd
Priority to CN202011136757.5A priority Critical patent/CN112348460A/en
Publication of CN112348460A publication Critical patent/CN112348460A/en
Withdrawn 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/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services
    • 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/06315Needs-based resource requirements planning or analysis

Abstract

The disclosure relates to a resource limit adjusting method and device for a collaboration task, electronic equipment and a computer readable medium. The method comprises the following steps: acquiring a cooperation task, wherein the cooperation task comprises a task identifier and a plurality of resource limits to be selected; determining a target resource limit to be selected from the plurality of resource limits to be selected according to the operation of the user; calculating in a collaborative task database according to the target resource limit to be selected and the task identifier to generate proportion information; and pushing the occupation information to the user so that the user can conveniently adjust the resource limit of the collaboration task. The resource limit adjusting method, the resource limit adjusting device, the electronic equipment and the computer readable medium for the collaboration task can provide information in various aspects for a user to adjust the limit of the collaboration task, promote the completion speed of the collaboration task and shorten the completion period of the collaboration task.

Description

Resource limit adjusting method and device of cooperative task and electronic equipment
Technical Field
The present disclosure relates to the field of computer information processing, and in particular, to a method and an apparatus for adjusting resource amount of a collaboration task, an electronic device, and a computer-readable medium.
Background
The cooperative task refers to a task which needs to be completed by multiple persons, with the more and more meticulous division of the society, more and more work is completed by team cooperation, the cooperative task is often limited in a company or an enterprise in the past, and in a very individual case, a specially-assigned person is responsible for the task cooperation among multiple companies. Today, as the internet rapidly develops, the medium of the network provides great feasibility for completing the cooperative task. Many information and platforms appear on the network, providing various collaborative tasks for the users to process, and the users distribute themselves after processing, getting their corresponding remuneration or credit.
In various fields in which the idea of a collaboration task has been deeply advanced, in the financial field, there is a collaboration task: and the resource raising task can be established by a demander needing the resource, is audited through the financial platform and then is issued. Each user in the financial platform can be used as a processor of the cooperative task to participate in the task processing. In general processing steps, a user obtains a resource raising task, then the resource raising task is forwarded to other users through other instant messaging platforms, after the resource raising task is opened by other users, the other users often do not know which resource limit to select, and the financial system platform recommends several money amounts for the user, but still does not know which limit is suitable for the user. This situation may cause the resource-raising task to be completed for too long, which is not favorable for the task.
Therefore, a new method, an apparatus, an electronic device and a computer-readable medium for adjusting resource amount of a collaboration task are needed.
The above information disclosed in this background section is only for enhancement of understanding of the background of the disclosure and therefore it may contain information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of this, the present disclosure provides a resource amount adjustment method, device, electronic device and computer readable medium for a collaboration task, which can provide a user with various information to adjust the amount of the collaboration task, promote the completion speed of the collaboration task, and shorten the completion period of the collaboration task.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the disclosure, a method for adjusting resource quota of a collaboration task is provided, the method including: acquiring a cooperation task, wherein the cooperation task comprises a task identifier and a plurality of resource limits to be selected; determining a target resource limit to be selected from the plurality of resource limits to be selected according to the operation of the user; calculating in a collaborative task database according to the target resource limit to be selected and the task identifier to generate proportion information; and pushing the occupation information to the user so that the user can conveniently adjust the resource limit of the collaboration task.
Optionally, the method further comprises: acquiring resource types and resource demand information of the cooperative tasks; extracting the maximum resource limit to be selected based on the resource demand information; and generating a plurality of resource sets according to the resource types and the maximum resource limit to be selected, wherein the initial marking values of the resource sets are 0.
Optionally, generating a plurality of resource sets according to the resource type and the maximum resource quota to be selected includes: and generating a plurality of resource sets in a key-value storage system according to the resource types and the maximum resource quota to be selected.
Optionally, after pushing the occupation information to the user so that the user performs resource quota adjustment of the collaborative task, the method further includes: determining a target resource limit of the collaboration task according to the operation of the user; and generating a processing request of the cooperation task through the target resource quota.
Optionally, the method further comprises: acquiring a cooperative task processing request from a user; extracting a task identifier and a target resource limit of the cooperation task from the processing request; determining a target resource set from a plurality of resource sets according to the target resource limit and the task identifier; increasing the tag value of the target resource set by 1.
Optionally, the extracting, from the processing request, the task identifier and the target resource quota of the collaboration task includes: and extracting the task identifier and the target resource limit of the cooperative task from the processing request in an asynchronous processing mode.
Optionally, calculating in a collaborative task database according to the target candidate resource quota and the task identifier to generate proportion information, including: determining a target resource set in a cooperative task database according to the target resource limit to be selected and the task identifier; acquiring marking values of the plurality of resource sets; and calculating and generating proportion information based on the marking values of the plurality of resource sets and the marking value of the target resource set.
Optionally, determining a target resource set in a collaborative task database according to the target resource quota to be selected and the task identifier, including: determining a plurality of resource sets in a plurality of resource sets of a collaborative task database according to the task identifier; and comparing the target resource quota to be selected with the maximum resource quota to be selected of the plurality of resource sets to obtain the target resource set.
Optionally, comparing the target resource quota to be selected with the maximum resource quota to be selected of the plurality of resource sets to obtain the target resource set, including: comparing the target resource limit to be selected with the maximum resource limit to be selected of the plurality of resource sets; and taking the resource set with the maximum resource limit to be selected smaller than the target resource limit to be selected as the target resource set.
Optionally, calculating based on the labeled values of the plurality of resource sets and the labeled value of the target resource set to generate the proportion information includes: taking a total number of the tag values of the plurality of resource sets as first data; taking the total number of the tag values of the target resource set as second data; generating the proportion information by calculation from the first data and the second data.
According to an aspect of the present disclosure, a resource amount adjusting apparatus for a collaboration task is provided, the apparatus including: the task module is used for acquiring a cooperation task, and the cooperation task comprises a task identifier and a plurality of resource limits to be selected; the limit module is used for determining a target resource limit to be selected in the plurality of resource limits to be selected according to the operation of the user; the calculation module is used for calculating in the collaborative task database according to the target resource quota to be selected and the task identifier to generate proportion information; and the adjusting module is used for pushing the proportion information to the user so that the user can conveniently adjust the resource limit of the collaboration task.
Optionally, the method further comprises: a resource set generation module comprising: the type unit is used for acquiring the resource type and the resource requirement information of the cooperative task; the candidate unit is used for extracting the maximum resource limit to be selected based on the resource demand information; and the generating unit is used for generating a plurality of resource sets according to the resource types and the maximum resource limit to be selected, and the initial marking values of the resource sets are 0.
Optionally, the generating unit is further configured to generate a plurality of resource sets in a key-value storage system according to the resource type and the maximum resource quota to be selected.
Optionally, the method further comprises: the processing module is used for determining the target resource limit of the collaboration task according to the operation of the user; and generating a processing request of the cooperation task through the target resource quota.
Optionally, the method further comprises: a resource set update module comprising: the request unit is used for acquiring a cooperation task processing request from a user;
the extracting unit is used for extracting the task identifier and the target resource limit of the cooperation task from the processing request; the target unit is used for determining a target resource set from a plurality of resource sets according to the target resource limit and the task identifier; and the marking unit is used for increasing the marking value of the target resource set by 1.
Optionally, the resource set update module is further configured to extract the task identifier and the target resource quota of the collaboration task from the processing request in an asynchronous processing manner.
Optionally, the calculation module includes: the resource unit is used for determining a target resource set in the cooperative task database according to the target resource limit to be selected and the task identifier; a value taking unit, configured to obtain tag values of the multiple resource sets; and the calculating unit is used for calculating and generating the proportion information based on the mark values of the plurality of resource sets and the mark value of the target resource set.
Optionally, the resource unit includes: the data subunit is used for determining a plurality of resource sets in a plurality of resource sets of the collaborative task database according to the task identifier; and the comparison subunit is used for comparing the target resource quota to be selected with the maximum resource quota to be selected of the plurality of resource sets to obtain the target resource set.
Optionally, the comparing subunit is further configured to compare the target resource quota to be selected with the maximum resource quota to be selected of the plurality of resource sets; and taking the resource set with the maximum resource limit to be selected smaller than the target resource limit to be selected as the target resource set.
Optionally, the computing unit is further configured to use a total number of the tag values of the plurality of resource sets as the first data; taking the total number of the tag values of the target resource set as second data; generating the proportion information by calculation from the first data and the second data.
According to an aspect of the present disclosure, an electronic device is provided, the electronic device including: one or more processors; storage means for storing one or more programs; when executed by one or more processors, cause the one or more processors to implement a method as above.
According to an aspect of the disclosure, a computer-readable medium is proposed, on which a computer program is stored, which program, when being executed by a processor, carries out the method as above.
According to the resource limit adjusting method and device of the collaboration task, the electronic equipment and the computer readable medium, the collaboration task is obtained, and the collaboration task comprises a task identifier and a plurality of resource limits to be selected; determining a target resource limit to be selected from the plurality of resource limits to be selected according to the operation of the user; calculating in a collaborative task database according to the target resource limit to be selected and the task identifier to generate proportion information; the occupation information is pushed to the user so that the user can conveniently adjust the resource limit of the cooperation task, information in various aspects can be provided for the user to adjust the limit of the cooperation task, the completion speed of the cooperation task is promoted, and the completion period of the cooperation task is shortened.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. The drawings described below are merely some embodiments of the present disclosure, and other drawings may be derived from those drawings by those of ordinary skill in the art without inventive effort.
Fig. 1 is a system block diagram illustrating a resource quota adjusting method and apparatus for a collaboration task according to an exemplary embodiment.
FIG. 2 is a flowchart illustrating a resource quota adjusting method for a collaboration task, according to an example embodiment.
FIG. 3 is a flowchart illustrating a resource quota adjusting method for a collaboration task, according to another example embodiment.
FIG. 4 is a flowchart illustrating a resource quota adjusting method for a collaboration task, according to another example embodiment.
FIG. 5 is a diagram illustrating a resource quota adjusting method for a collaboration task according to another exemplary embodiment.
FIG. 6 is a block diagram illustrating a resource amount adjustment apparatus for a collaborative task according to an exemplary embodiment.
FIG. 7 is a block diagram illustrating a resource amount adjustment apparatus for a collaborative task according to another exemplary embodiment.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 9 is a block diagram illustrating a computer-readable medium in accordance with an example embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one element from another. Thus, a first component discussed below may be termed a second component without departing from the teachings of the disclosed concept. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It is to be understood by those skilled in the art that the drawings are merely schematic representations of exemplary embodiments, and that the blocks or processes shown in the drawings are not necessarily required to practice the present disclosure and are, therefore, not intended to limit the scope of the present disclosure.
In the present invention, resources refer to any available substances, information, time, information resources including computing resources and various types of data resources. The data resources include various private data in various domains. The innovation of the invention is how to use the information interaction technology between the server and the client to make the resource allocation process more automatic, efficient and reduce the labor cost. Thus, the present invention can be applied to the distribution of various resources including physical goods, water, electricity, and meaningful data, essentially. However, for convenience, the resource allocation is described as being implemented by taking financial data resources as an example, but those skilled in the art will understand that the present invention can also be applied to allocation of other resources.
Fig. 1 is a system block diagram illustrating a resource quota adjusting method and apparatus for a collaboration task according to an exemplary embodiment.
As shown in fig. 1, the system architecture 10 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a financial services application, a shopping application, a web browser application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services, such as a background management server that provides support for websites browsed by users using the terminal devices 101, 102, 103. The background management server can analyze and process the received collaboration task, and feed back the processing result, which can be the resource limit to be selected, to the terminal devices 101, 102, and 103, and also feed back the target resource limit selected by the user to the administrator of the financial service website.
The server 105 may, for example, obtain a collaboration task that includes a task identifier and a plurality of resource credits to be selected; the server 105 may determine a target resource quota among the plurality of resource quotas to be selected, for example, according to the operation of the user; the server 105 may calculate in the collaborative task database to generate the proportion information according to the target resource quota to be selected and the task identifier, for example; the server 105 may, for example, push the proportion information to the user so that the user can perform resource amount adjustment of the collaboration task.
The server 105 may also, for example, obtain resource types and resource requirement information for the collaboration task; the server 105 may also extract the maximum resource quota to be selected, for example, based on the resource demand information; the server 105 may also generate a plurality of resource sets with initial tag values of 0, for example, according to the resource types and the maximum resource quota to be selected.
The server 105 may be an entity server, or may be composed of a plurality of servers, for example, it should be noted that the resource amount adjustment method for the collaboration task provided by the embodiment of the present disclosure may be executed by the server 105, and accordingly, the resource amount adjustment device for the collaboration task may be disposed in the server 105. And the web page end provided for the user to browse the financial service platform is generally positioned in the terminal equipment 101, 102 and 103.
FIG. 2 is a flowchart illustrating a resource quota adjusting method for a collaboration task, according to an example embodiment. The method 20 for adjusting resource amount of a collaboration task at least includes steps S202 to S208.
As shown in fig. 2, in S202, a collaboration task is obtained, where the collaboration task includes a task identifier and a plurality of resource quota to be selected. The user can read the relevant information of the collaboration task on the financial service platform, and can click the 'participate in task' option to generate the collaboration task. The user can process the collaboration task, then forward the collaboration task, select an option of 'adding collaboration users', and select a plurality of users as task objects.
The users receiving the collaboration tasks can see the information of the collaboration tasks, and in the information of the collaboration tasks, the system can recommend a plurality of quota to be selected for the users to select.
In S204, a target resource quota to be selected is determined in the plurality of resource quotas to be selected according to the operation of the user. The user may click on the amount to be selected for viewing.
And in S206, calculating in a collaborative task database according to the target resource quota to be selected and the task identifier to generate proportion information. For example, a target resource set is determined in a collaborative task database according to the target resource quota to be selected and the task identifier; acquiring marking values of the plurality of resource sets; and calculating and generating proportion information based on the marking values of the plurality of resource sets and the marking value of the target resource set. More specifically, the system platform can provide the percentage that the current quota of the current collaboration task exceeds the single donation quota, and provide the user with the ratio that the currently selected resource quota accounts for the quota of all the collaboration tasks.
In S208, the occupation information is pushed to the user so that the user can adjust the resource limit of the collaboration task. For example, the user a selects the resource limit as 1 in S204, and the resource limit accounts for 1%. This resource proportion information can be pushed to the users, and the users can see users whose contribution amount only exceeds 1%. The user can adjust the amount to be selected by assisting through the proportion information.
According to the resource limit adjusting method of the cooperative task, the cooperative task is obtained, and the cooperative task comprises a task identifier and a plurality of resource limits to be selected; determining a target resource limit to be selected from the plurality of resource limits to be selected according to the operation of the user; calculating in a collaborative task database according to the target resource limit to be selected and the task identifier to generate proportion information; the occupation information is pushed to the user so that the user can conveniently adjust the resource limit of the cooperation task, information in various aspects can be provided for the user to adjust the limit of the cooperation task, the completion speed of the cooperation task is promoted, and the completion period of the cooperation task is shortened.
It should be clearly understood that this disclosure describes how to make and use particular examples, but the principles of this disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
FIG. 3 is a flowchart illustrating a resource quota adjusting method for a collaboration task, according to another example embodiment. The process 30 shown in fig. 3 is a detailed description of the establishment of multiple resource sets.
As shown in fig. 3, in S302, the resource type and the resource requirement information of the collaboration task are acquired. In the initial stage of system establishment, a plurality of resource sets need to be established to store different resources separately, and in this embodiment, the financial resource collection task is taken as an example to be specifically described. When a resource set establishment request with a resource type of financial resources is acquired, a maximum contribution amount (a maximum resource amount to be selected) of the raising task may be acquired first. That is, when the user displays the quota to be selected, the user is displayed with the maximum quota for selection.
In S304, the maximum resource quota to be selected is extracted based on the resource requirement information. The maximum resource quota to be selected for a certain resource staging task may be 3000.
In S306, a plurality of resource sets are generated according to the resource types and the maximum resource quota to be selected, and the initial tag values of the resource sets are 0. And generating a plurality of resource sets in a key-value storage system according to the resource types and the maximum resource quota to be selected. A set of 3000 resource sets of resource type financial resources is generated. Each set represents a resource quota.
In S308, the tag value of the target resource set is increased by 1 according to the user operation.
After pushing the occupation information to the user so that the user can adjust the resource limit of the collaborative task, the method further includes: determining a target resource limit of the collaboration task according to the operation of the user; and generating a processing request of the cooperation task through the target resource quota.
The process of increasing the tag value of the target resource set by 1 according to the user operation specifically includes: after a user determines to perform a cooperation task, acquiring a cooperation task processing request from the user; extracting a task identifier and a target resource limit of the cooperation task from the processing request; determining a target resource set from a plurality of resource sets according to the target resource limit and the task identifier; increasing the tag value of the target resource set by 1.
More specifically, the task identifier and the target resource quota of the collaboration task can be extracted from the processing request in an asynchronous processing mode.
FIG. 4 is a flowchart illustrating a resource quota adjusting method for a collaboration task, according to another example embodiment. The flow 40 shown in fig. 4 is a detailed description of "calculating and generating proportion information in the collaborative task database according to the target candidate resource quota and the task identifier" in S206 in the flow shown in fig. 2.
As shown in fig. 4, in S402, a target resource set is determined in the collaborative task database according to the target resource quota to be selected and the task identifier. The method comprises the following steps: determining a plurality of resource sets in a plurality of resource sets of a collaborative task database according to the task identifier; and comparing the target resource quota to be selected with the maximum resource quota to be selected of the plurality of resource sets to obtain the target resource set.
Comparing the target resource quota to be selected with the maximum resource quota to be selected of the plurality of resource sets to obtain the target resource set, wherein the method comprises the following steps: comparing the target resource limit to be selected with the maximum resource limit to be selected of the plurality of resource sets; and taking the resource set with the maximum resource limit to be selected smaller than the target resource limit to be selected as the target resource set.
In S404, the tag values of the plurality of resource sets are acquired.
In S406, the proportion information is calculated based on the labeled values of the plurality of resource sets and the labeled value of the target resource set. The method comprises the following steps: taking a total number of the tag values of the plurality of resource sets as first data; taking the total number of the tag values of the target resource set as second data; generating the proportion information by calculation from the first data and the second data.
More specifically, in the resource raising task, each donation is respectively accumulated to a corresponding set thereof through an asynchronous task according to a donation amount, such as a 1-tuple set (n 1), a 2-tuple set (n 2) and up to a 3000-tuple set (n 3000);
open the donation page at user A, input the donation amount and be 10 yuan, at this moment the total number of strokes that the system calculated to be less than 10 yuan is:
mn10=n1+n2+......+n9;
the total number of donations of the system is as follows:
tn=n1+n2+......+n3000;
then the user ratio for which user a donated 10 dollars over is equal to: mn 10/tn.
FIG. 5 is a diagram illustrating a resource quota adjusting method for a collaboration task according to another exemplary embodiment. As shown in fig. 5, a plurality of resource sets are established, and when subsequently receiving a processing application of each resource raising task, the resource sets are respectively accumulated to the corresponding sets according to the contribution amount through asynchronous tasks, and when a user a opens the resource raising task and inputs 10 yuan, the system calculates that the ratio of less than 10 is equal to 1%; user a knows that the donation amount is well below the average or most people, and that there is a high probability of modifying the amount, for example, to 20 dollars. Similarly, if the percentage of people in 20 dollars is more than the percentage of people, a significant improvement is seen, and the user A can decide whether to complete the payment according to the mind expectation.
According to the resource limit adjusting method of the cooperative task, the collection of redis is utilized, the updating and the retrieval can be carried out quickly, so that when a user inputs the donation amount, the system can calculate the number of the overtaking people in real time, the complex calculation simplification is realized, the effect which can be realized only by massive inquiry and circular calculation is realized, the user can not experience any delay, and the overtaking proportion is given in real time.
Those skilled in the art will appreciate that all or part of the steps implementing the above embodiments are implemented as computer programs executed by a CPU. When executed by the CPU, performs the functions defined by the above-described methods provided by the present disclosure. The program may be stored in a computer readable storage medium, which may be a read-only memory, a magnetic or optical disk, or the like.
Furthermore, it should be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
FIG. 6 is a block diagram illustrating a resource amount adjustment apparatus for a collaborative task according to another exemplary embodiment. As shown in fig. 6, the resource amount adjustment device 60 for the cooperation task includes: task module 602, quota module 604, calculation module 606, and adjustment module 608.
The task module 602 is configured to obtain a collaboration task, where the collaboration task includes a task identifier and multiple resource allowances to be selected;
the quota module 604 is configured to determine a target resource quota to be selected from the multiple resource quotas to be selected according to an operation of a user;
the calculation module 606 is used for calculating in the collaborative task database according to the target resource quota to be selected and the task identifier to generate proportion information; the calculation module 606 includes: the resource unit is used for determining a target resource set in the cooperative task database according to the target resource limit to be selected and the task identifier; a value taking unit, configured to obtain tag values of the multiple resource sets; and the calculating unit is used for calculating and generating the proportion information based on the mark values of the plurality of resource sets and the mark value of the target resource set.
Wherein the resource unit includes: the data subunit is used for determining a plurality of resource sets in a plurality of resource sets of the collaborative task database according to the task identifier; and the comparison subunit is used for comparing the target resource quota to be selected with the maximum resource quota to be selected of the plurality of resource sets to obtain the target resource set. The comparison subunit is further configured to compare the target resource quota to be selected with the maximum resource quota to be selected of the plurality of resource sets; and taking the resource set with the maximum resource limit to be selected smaller than the target resource limit to be selected as the target resource set.
Wherein the computing unit is further configured to use a total number of the tag values of the plurality of resource sets as first data; taking the total number of the tag values of the target resource set as second data; generating the proportion information by calculation from the first data and the second data.
The adjusting module 608 is configured to push the occupation information to the user so that the user can perform resource amount adjustment of the collaborative task.
FIG. 7 is a block diagram illustrating a resource amount adjustment apparatus for a collaborative task according to an exemplary embodiment. As shown in fig. 7, the resource amount adjustment device 70 for the cooperation task includes: a resource set generation module 702, a processing module 704, and a resource set update module 706.
The resource set generation module 702 includes: the type unit is used for acquiring the resource type and the resource requirement information of the cooperative task; the candidate unit is used for extracting the maximum resource limit to be selected based on the resource demand information; and the generating unit is used for generating a plurality of resource sets according to the resource types and the maximum resource limit to be selected, and the initial marking values of the resource sets are 0. The generating unit is further configured to generate a plurality of resource sets in a key-value storage system according to the resource types and the maximum resource quota to be selected.
The processing module 704 is configured to determine a target resource quota of the collaboration task according to the operation of the user; and generating a processing request of the cooperation task through the target resource quota.
The resource set update module 706 includes: the request unit is used for acquiring a cooperation task processing request from a user; the extracting unit is used for extracting the task identifier and the target resource limit of the cooperation task from the processing request; the target unit is used for determining a target resource set from a plurality of resource sets according to the target resource limit and the task identifier; and the marking unit is used for increasing the marking value of the target resource set by 1. The resource set update module 706 is further configured to extract the task identifier and the target resource quota of the collaboration task from the processing request in an asynchronous processing manner.
According to the resource limit adjusting device of the cooperative task, the cooperative task is obtained, and comprises a task identifier and a plurality of resource limits to be selected; determining a target resource limit to be selected from the plurality of resource limits to be selected according to the operation of the user; calculating in a collaborative task database according to the target resource limit to be selected and the task identifier to generate proportion information; the occupation information is pushed to the user so that the user can conveniently adjust the resource limit of the cooperation task, information in various aspects can be provided for the user to adjust the limit of the cooperation task, the completion speed of the cooperation task is promoted, and the completion period of the cooperation task is shortened.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
An electronic device 800 according to this embodiment of the disclosure is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 8, electronic device 800 is in the form of a general purpose computing device. The components of the electronic device 800 may include, but are not limited to: at least one processing unit 810, at least one memory unit 820, a bus 830 connecting the various system components (including the memory unit 820 and the processing unit 810), a display unit 840, and the like.
Wherein the storage unit stores program code that can be executed by the processing unit 810, such that the processing unit 810 performs the steps according to various exemplary embodiments of the present disclosure in this specification. For example, the processing unit 810 may perform the steps as shown in fig. 2, 3, 4.
The memory unit 820 may include readable media in the form of volatile memory units such as a random access memory unit (RAM)8201 and/or a cache memory unit 8202, and may further include a read only memory unit (ROM) 8203.
The memory unit 820 may also include a program/utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 830 may be any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 800 may also communicate with one or more external devices 800' (e.g., keyboard, pointing device, bluetooth device, etc.) such that a user can communicate with devices with which the electronic device 800 interacts, and/or any devices (e.g., router, modem, etc.) with which the electronic device 800 can communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 850. Also, the electronic device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 860. The network adapter 860 may communicate with other modules of the electronic device 800 via the bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, as shown in fig. 9, the technical solution according to the embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present disclosure.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The computer readable medium carries one or more programs which, when executed by a device, cause the computer readable medium to perform the functions of: acquiring a cooperation task, wherein the cooperation task comprises a task identifier and a plurality of resource limits to be selected; determining a target resource limit to be selected from the plurality of resource limits to be selected according to the operation of the user; calculating in a collaborative task database according to the target resource limit to be selected and the task identifier to generate proportion information; and pushing the occupation information to the user so that the user can conveniently adjust the resource limit of the collaboration task.
Those skilled in the art will appreciate that the modules described above may be distributed in the apparatus according to the description of the embodiments, or may be modified accordingly in one or more apparatuses unique from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Exemplary embodiments of the present disclosure are specifically illustrated and described above. It is to be understood that the present disclosure is not limited to the precise arrangements, instrumentalities, or instrumentalities described herein; on the contrary, the disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. A resource limit adjusting method of a cooperative task is characterized by comprising the following steps:
acquiring a cooperation task, wherein the cooperation task comprises a task identifier and a plurality of resource limits to be selected;
determining a target resource limit to be selected from the plurality of resource limits to be selected according to the operation of the user;
calculating in a collaborative task database according to the target resource limit to be selected and the task identifier to generate proportion information;
and pushing the occupation information to the user so that the user can conveniently adjust the resource limit of the collaboration task.
2. The method of claim 1, further comprising:
acquiring resource types and resource demand information of the cooperative tasks;
extracting the maximum resource limit to be selected based on the resource demand information;
and generating a plurality of resource sets according to the resource types and the maximum resource limit to be selected, wherein the initial marking values of the resource sets are 0.
3. The method of any of claims 1-2, wherein generating a plurality of resource sets according to the resource type and the maximum candidate resource amount comprises:
and generating a plurality of resource sets in a key-value storage system according to the resource types and the maximum resource quota to be selected.
4. The method according to any one of claims 1-3, wherein after pushing the occupation information to the user for the user to perform resource quota adjustment of the collaboration task, the method further comprises:
determining a target resource limit of the collaboration task according to the operation of the user;
and generating a processing request of the cooperation task through the target resource quota.
5. The method of any one of claims 1-4, further comprising:
acquiring a cooperative task processing request from a user;
extracting a task identifier and a target resource limit of the cooperation task from the processing request;
determining a target resource set from a plurality of resource sets according to the target resource limit and the task identifier;
increasing the tag value of the target resource set by 1.
6. The method of any one of claims 1-5, wherein extracting the task identifier and the target resource quota for the collaboration task from the processing request comprises:
and extracting the task identifier and the target resource limit of the cooperative task from the processing request in an asynchronous processing mode.
7. The method of any one of claims 1-6, wherein calculating in a collaborative task database according to the target candidate resource quota and the task identifier to generate the proportion information comprises:
determining a target resource set in a cooperative task database according to the target resource limit to be selected and the task identifier;
acquiring marking values of the plurality of resource sets;
and calculating and generating proportion information based on the marking values of the plurality of resource sets and the marking value of the target resource set.
8. A resource limit adjusting device for a collaboration task is characterized by comprising:
the task module is used for acquiring a cooperation task, and the cooperation task comprises a task identifier and a plurality of resource limits to be selected;
the limit module is used for determining a target resource limit to be selected in the plurality of resource limits to be selected according to the operation of the user;
the calculation module is used for calculating in the collaborative task database according to the target resource quota to be selected and the task identifier to generate proportion information;
and the adjusting module is used for pushing the proportion information to the user so that the user can conveniently adjust the resource limit of the collaboration task.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202011136757.5A 2020-10-22 2020-10-22 Resource limit adjusting method and device of cooperative task and electronic equipment Withdrawn CN112348460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011136757.5A CN112348460A (en) 2020-10-22 2020-10-22 Resource limit adjusting method and device of cooperative task and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011136757.5A CN112348460A (en) 2020-10-22 2020-10-22 Resource limit adjusting method and device of cooperative task and electronic equipment

Publications (1)

Publication Number Publication Date
CN112348460A true CN112348460A (en) 2021-02-09

Family

ID=74359671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011136757.5A Withdrawn CN112348460A (en) 2020-10-22 2020-10-22 Resource limit adjusting method and device of cooperative task and electronic equipment

Country Status (1)

Country Link
CN (1) CN112348460A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190339A (en) * 2021-05-26 2021-07-30 中国工商银行股份有限公司 Task processing method and device
CN113298645A (en) * 2021-05-28 2021-08-24 上海淇玥信息技术有限公司 Resource limit adjusting method and device and electronic equipment
CN113312166A (en) * 2021-07-29 2021-08-27 阿里云计算有限公司 Resource processing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190339A (en) * 2021-05-26 2021-07-30 中国工商银行股份有限公司 Task processing method and device
CN113190339B (en) * 2021-05-26 2024-04-09 中国工商银行股份有限公司 Task processing method and device
CN113298645A (en) * 2021-05-28 2021-08-24 上海淇玥信息技术有限公司 Resource limit adjusting method and device and electronic equipment
CN113312166A (en) * 2021-07-29 2021-08-27 阿里云计算有限公司 Resource processing method and device
CN113312166B (en) * 2021-07-29 2022-02-01 阿里云计算有限公司 Resource processing method and device

Similar Documents

Publication Publication Date Title
CN112348460A (en) Resource limit adjusting method and device of cooperative task and electronic equipment
CN110324414B (en) Resource bit flow distribution method and device and electronic equipment
CN112016796B (en) Comprehensive risk score request processing method and device and electronic equipment
CN111598494A (en) Resource limit adjusting method and device and electronic equipment
CN111612513A (en) Resource allocation method and device based on business project information and electronic equipment
CN111967543A (en) User resource quota determining method and device and electronic equipment
CN112016794B (en) Resource quota management method and device and electronic equipment
CN111210255A (en) Advertisement pushing method and device and electronic equipment
CN111311294A (en) Data processing method, device, medium and electronic equipment
CN110333866B (en) Method and device for generating receiving page and electronic equipment
CN112347344A (en) Management method and device for multi-period additional resource certificate and electronic equipment
CN112016792A (en) User resource quota determining method and device and electronic equipment
CN112017062A (en) Resource limit distribution method and device based on guest group subdivision and electronic equipment
CN111612508A (en) Financial resource allocation request processing method and device and electronic equipment
CN110796543A (en) Method and device for obtaining customized information based on relational network and electronic equipment
CN111190670A (en) Page display method and device and electronic equipment
CN113902543A (en) Resource quota adjusting method and device and electronic equipment
CN113902545A (en) Resource limit distribution method and device and electronic equipment
CN114445128A (en) Card ticket management method and device, electronic equipment and computer readable medium
CN111738846A (en) Method and device for generating post-loan management strategy and electronic equipment
CN112819623A (en) Instant transfer method and device for financial resources and electronic equipment
CN112288475A (en) Product recommendation method and device and electronic equipment
CN111985773A (en) User resource allocation strategy determining method and device and electronic equipment
CN112508698B (en) User policy triggering method and device and electronic equipment
CN111723274A (en) Method and apparatus for processing information

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210209

WW01 Invention patent application withdrawn after publication