CN116431347B - Method, device, electronic equipment and storage medium for resource processing - Google Patents

Method, device, electronic equipment and storage medium for resource processing Download PDF

Info

Publication number
CN116431347B
CN116431347B CN202310402519.1A CN202310402519A CN116431347B CN 116431347 B CN116431347 B CN 116431347B CN 202310402519 A CN202310402519 A CN 202310402519A CN 116431347 B CN116431347 B CN 116431347B
Authority
CN
China
Prior art keywords
resource
account
control parameter
stage
related information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310402519.1A
Other languages
Chinese (zh)
Other versions
CN116431347A (en
Inventor
李爱宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202310402519.1A priority Critical patent/CN116431347B/en
Publication of CN116431347A publication Critical patent/CN116431347A/en
Application granted granted Critical
Publication of CN116431347B publication Critical patent/CN116431347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure relates to a method, a device, an electronic device and a storage medium for resource processing, wherein the method comprises the following steps: acquiring resource-related information of at least one account, wherein the resource-related information comprises resource parameter information related to resources of the at least one account; determining a resource control parameter for each of the at least one account at least one operational stage for the resource based on the resource-related information; and executing resource processing operation in the at least one operation stage based on the resource control parameter.

Description

Method, device, electronic equipment and storage medium for resource processing
Technical Field
The present disclosure relates to the field of information processing, and in particular, to a method, an apparatus, an electronic device, and a storage medium for resource processing.
Background
Currently, more and more resources are provided in the content platform, and resources which do not meet the requirements easily exist in the content platform, such as: repeated resources, etc., cause degradation in the quality of the resource offerings of the content platform and degradation in the user experience. In view of this, in the prior art, resources that do not meet the demand are generally deleted in a resource engine of a content platform. However, this method cannot efficiently perform resource processing, and is inefficient.
Disclosure of Invention
The disclosure provides an image processing method, an image processing device, an electronic device and a storage medium, so as to at least solve the problem of low resource processing efficiency in the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a method for resource processing, the method comprising: acquiring resource-related information of at least one account, wherein the resource-related information comprises resource parameter information related to resources of the at least one account; determining a resource control parameter for each of the at least one account at least one operational stage for the resource based on the resource-related information; and executing resource processing operation in the at least one operation stage based on the resource control parameter.
Optionally, the resource control parameter comprises a maximum amount of resources preset by the at least one account at each of the at least one operational phase.
Optionally, the at least one operation phase includes a first phase, and the performing, based on the resource control parameter, a resource processing operation in the at least one operation phase includes: and if the amount of the resources which are already transmitted by the at least one account in the first stage exceeds the maximum amount of the resources preset by the at least one account in the first stage, controlling the execution of the resource transmission when the resource transmission request of the at least one account is received.
Optionally, the at least one operation stage further includes one or more of a second stage, a third stage, a fourth stage, and a fifth stage, and the performing a resource processing operation in the at least one operation stage based on the resource control parameter further includes: if the amount of resources of the at least one account at the one or more stages exceeds the maximum amount of resources of the at least one account preset at the one or more stages, processing resources of the at least one account at the one or more stages that exceed the maximum amount of resources of the one or more stages.
Optionally, determining, according to the resource-related information, a resource control parameter for each account of the at least one account in at least one operation phase for the resource, including: determining overall resource control parameters for the at least one account; and determining the resource control parameters of each account according to the overall resource control parameters and the resource related information.
Optionally, the resource parameter information includes historical resource consumption of the at least one account related to a resource, wherein the determining, based on the resource related information, a resource control parameter for each of the at least one account in at least one operational phase for the resource includes: determining a first control parameter for each of the at least one account at the at least one operational stage based on the historical resource consumption, wherein the historical resource consumption is positively correlated with the first control parameter; the resource control parameter is determined based on the first control parameter.
Optionally, the determining the resource control parameter based on the first control parameter includes: the resource control parameters are determined based on the first control parameters and second control parameters, wherein the second control parameters are the same for each account.
Optionally, the resource parameter information further includes an expected resource consumption of the at least one account related to a resource, the determining a resource control parameter for each of the at least one account in at least one operation phase for the resource according to the resource related information further includes: determining a third control parameter for each of the at least one account during the at least one operational phase as a function of the expected resource consumption, the determining the resource control parameter based on the first control parameter and the second control parameter comprising: the resource control parameter is determined based on the first control parameter, the second control parameter, and the third control parameter.
Optionally, the determining, according to the resource-related information, a resource control parameter for each account of the at least one account in at least one operation phase for the resource includes: and if the at least one account comprises a new account according to the resource related information, determining the resource control parameters of the new account included in the at least one account according to the resource control parameters preset for all the new accounts.
According to a second aspect of embodiments of the present disclosure, there is provided an apparatus for resource processing, the apparatus comprising: an information acquisition unit configured to acquire resource-related information of at least one account, the resource-related information including resource parameter information related to a resource of the at least one account; a parameter determination unit configured to determine a resource control parameter for each of the at least one account at least one operational stage of the resource based on the resource-related information; and a resource processing unit configured to perform a resource processing operation in the at least one operation phase based on the resource control parameter.
Optionally, the resource control parameter comprises a maximum amount of resources preset by the at least one account at each of the at least one operational phase.
Optionally, the at least one operation phase includes a first phase, and the performing, based on the resource control parameter, a resource processing operation in the at least one operation phase includes: and if the amount of the resources which are already transmitted by the at least one account in the first stage exceeds the maximum amount of the resources preset by the at least one account in the first stage, controlling the execution of the resource transmission when the resource transmission request of the at least one account is received.
Optionally, the at least one operation stage further includes one or more of a second stage, a third stage, a fourth stage, and a fifth stage, and the performing a resource processing operation in the at least one operation stage based on the resource control parameter further includes: if the amount of resources of the at least one account at the one or more stages exceeds the maximum amount of resources of the at least one account preset at the one or more stages, processing resources of the at least one account at the one or more stages that exceed the maximum amount of resources of the one or more stages.
Optionally, determining, according to the resource-related information, a resource control parameter for each account of the at least one account in at least one operation phase for the resource, including: determining overall resource control parameters for the at least one account; and determining the resource control parameters of each account according to the overall resource control parameters and the resource related information.
Optionally, the resource parameter information includes historical resource consumption of the at least one account related to a resource, wherein the determining, based on the resource related information, a resource control parameter for each of the at least one account in at least one operational phase for the resource includes: determining a first control parameter for each of the at least one account at the at least one operational stage based on the historical resource consumption, wherein the historical resource consumption is positively correlated with the first control parameter; the resource control parameter is determined based on the first control parameter.
Optionally, the determining the resource control parameter based on the first control parameter includes: the resource control parameters are determined based on the first control parameters and second control parameters, wherein the second control parameters are the same for each account.
Optionally, the resource parameter information further comprises an expected resource consumption of the at least one account in relation to the resource; the determining, based on the resource-related information, resource control parameters for each of the at least one account during at least one phase of operation on the resource, further comprises: determining a third control parameter for each of the at least one account at the at least one operational stage based on the expected resource consumption; the determining the resource control parameter based on the first control parameter and the second control parameter includes: the resource control parameter is determined based on the first control parameter, the second control parameter, and the third control parameter.
Optionally, the determining, according to the resource-related information, a resource control parameter for each account of the at least one account in at least one operation phase for the resource includes: and if the at least one account comprises a new account according to the resource related information, determining the resource control parameters of the new account included in the at least one account according to the resource control parameters preset for all new accounts.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including: at least one processor; at least one memory storing computer-executable instructions, wherein the computer-executable instructions, when executed by the at least one processor, cause the at least one processor to perform the method as described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium storing instructions, which when executed by at least one processor, cause the at least one processor to perform a method as described above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions, characterized in that the computer instructions, when executed by a processor, implement the method as described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: since the resource control parameter for each account of the at least one account in at least one operation stage of the resource is determined according to the acquired resource-related information of the at least one account, which includes resource-related resource parameter information of the at least one account, and the resource processing operation is performed in the at least one operation stage based on the resource control parameter, it is possible to more reasonably perform the resource processing, thereby improving the resource processing efficiency.
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 accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments consistent with the disclosure and, together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is an exemplary system architecture in which exemplary embodiments of the present disclosure may be applied;
FIG. 2 is a flowchart of a method for resource processing in accordance with an exemplary embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an example of a method for resource processing according to an example embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a manner of determining resource control parameters according to an example embodiment of the present disclosure;
FIG. 5 is a block diagram illustrating an apparatus for resource processing in accordance with an exemplary embodiment of the present disclosure;
fig. 6 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The embodiments described in the examples below are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, in this disclosure, "at least one of the items" refers to a case where three types of juxtaposition including "any one of the items", "a combination of any of the items", "an entirety of the items" are included. For example, "including at least one of a and B" includes three cases side by side as follows: (1) comprises A; (2) comprising B; (3) includes A and B. For example, "at least one of the first and second steps is executed", that is, three cases are juxtaposed as follows: (1) performing step one; (2) executing the second step; (3) executing the first step and the second step.
Fig. 1 illustrates an exemplary system architecture 100 in which exemplary embodiments of the present disclosure may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others. A user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages (e.g., image or video data upload requests, image or video data download requests), etc. Various communication client applications, such as audio and video communication software, audio and video recording software, even communication software, conference software, mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103. In addition, various image or video capturing editing applications can be installed on the terminal apparatuses 101, 102, and 103. The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen and capable of audio and video playback, recording, editing, etc., including but not limited to smart phones, tablet computers, laptop and desktop computers, etc. When the terminal devices 101, 102, 103 are software, they may be installed in the above-listed electronic devices, which may be implemented as a plurality of software or software modules (e.g. to provide distributed services), or as a single software or software module. The present invention is not particularly limited herein.
The terminal devices 101, 102, 103 may be equipped with image capturing means (e.g. cameras) to capture image or video data. In practice, the smallest visual unit that makes up a video is a Frame. Each frame is a static image. A sequence of temporally successive frames is synthesized together to form a dynamic video. In addition, the terminal apparatuses 101, 102, 103 may also be mounted with components (e.g., speakers) for converting electric signals into sound to play the sound, and may also be mounted with means (e.g., microphones) for converting analog audio signals into digital audio signals to collect the sound. In addition, the terminal devices 101, 102, 103 may communicate with each other in voice or video.
The server 105 may be a server providing various services, such as a background server providing support for multimedia applications installed on the terminal devices 101, 102, 103. The background server may analyze, store, etc. the received data such as the audio and video data upload request, and may also receive the audio and video data download request sent by the terminal devices 101, 102, 103, and feed back the audio and video data indicated by the audio and video data download request to the terminal devices 101, 102, 103.
The server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (e.g., to provide distributed services), or as a single software or software module. The present invention is not particularly limited herein.
It should be noted that, the method for resource processing provided by the embodiment of the present disclosure may be performed by a terminal device, may be performed by a server, or may be performed by a cooperation of the terminal device and the server. Accordingly, the means for resource handling may be provided in the terminal device, in the server or in both the terminal device and the server.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers as desired, and the disclosure is not limited in this regard.
It should be noted that, the user information and data related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Fig. 2 is a flow chart of a method for resource processing in an exemplary embodiment of the present disclosure.
Referring to fig. 2, resource-related information of at least one account is acquired at step S210. According to an embodiment, the resource-related information includes resource parameter information related to the resource of the at least one account, e.g., resource consumption of the account related to the resource (e.g., material resource), recent resource upload amount of the account, etc. In addition, the account can be an account under different levels, and the resource related information of the account can be correspondingly different according to the levels. As described above, accounts may have different tiers. Accounts may be layered at different granularities as desired. As shown in fig. 3, account hierarchy division may be performed at a first granularity, a second granularity, and a third granularity. The first granularity may include a plurality of second granularities, and the second granularity may include a plurality of third granularities. Accordingly, the account of the first granularity may include at least one account of the second granularity, and the account of the second granularity may include at least one account of the third granularity. For accounts of a first granularity, the resource-related information of the account may include the number of accounts of a second granularity included under the account of the first granularity, resource parameter information of the account of the first granularity, and the like. For another example, for an account of the second granularity, the resource-related information of the account may include a number of accounts of the third granularity included under the account of the second granularity, resource parameter information of the account of the second granularity, and the like. For another example, for an account of a third granularity, the resource-related information of the account may include a recent resource upload amount of the account, resource parameter information of the account, or the like. As an example, the above-described resource parameter information may include historical resource consumption of the account related to the resource and/or expected resource consumption of the account related to the resource. Note that, in the present disclosure, the account hierarchical division manner is not limited to the above example, but other manners of layering may be performed according to actual needs, and the resource-related information of the account is also not limited to the above example.
In step S220, a resource control parameter for each of the at least one account during at least one operational phase for the resource may be determined from the resource-related information. According to an embodiment, the resource control parameter may comprise a maximum amount of resources (hereinafter also referred to as "resource bandwidth") preset by the at least one account at each operational stage. By way of example, the resource may be text, audio, images, video, etc., but is not limited thereto. As an example, the at least one operation phase may include a first phase, but is not limited thereto. For example, the at least one operational stage may further include one or more of a second stage, a third stage, a fourth stage, and a fifth stage. Specifically, the first stage may be a stage of transmitting the resource to the resource providing platform, the second stage may be a stage of checking the already transmitted resource, the third stage may be a stage of whether the already transmitted resource is in a state of being selected to be provided outwards, the fourth stage may be a stage of having determined that the outwards provided resource is numbered or marked by the resource providing platform, and the fifth stage may be a stage of the resource providing platform searching for a suitable resource among the already indexed resources for the resource needs. Specifically, the resource control parameters for each of the at least one account at each of the at least one operational phase may be determined according to the resource-related information at step S220. For example, as shown in fig. 3, the resource bandwidth of the first stage, the resource bandwidth of the second stage, the resource bandwidth of the third stage, and the resource bandwidth of the fourth stage may be determined, respectively.
As described above, account layering may be performed at different granularities. In this case, step S220 may include: determining overall resource control parameters for the at least one account; and determining the resource control parameters of each account according to the overall resource control parameters and the resource related information. As described above, the resource control parameter may include a resource bandwidth. For example, if the resource bandwidth of an account of a third granularity is to be determined in at least one operation stage, it is necessary to first determine the total resource bandwidth of an account of a second granularity to which the account belongs (the account of the second granularity includes a plurality of accounts of the third granularity), and then determine the resource bandwidth of at least one stage of the account of the third granularity according to the total resource bandwidth and the resource-related information (e.g., resource parameter information) of the account of the third granularity. According to an embodiment, the resource parameter information includes, but is not limited to, historical resource consumption of at least one account in relation to the resource. The historical resource consumption may be a resource (e.g., an actual resource or a virtual resource) that the account historically devotes to the resource. For example, the more historical resources of the account are consumed, the greater the resource bandwidth it has divided from the total resource bandwidth, i.e., the greater the amount of resources that are preset. The total resource bandwidth is determined according to the total resource bandwidth of the account with the first granularity, to which the account with the second granularity belongs, and the resource related information of the account with the second granularity. For example, the more historical resources are consumed by the account of the second granularity, the greater the resource bandwidth it is separating from the total resource bandwidth of the account of the first granularity. That is, the allocation of the resource bandwidths may be performed hierarchically from high to low, while the sum of all the resource bandwidths allocated to the account of the next granularity is equal to the resource bandwidth of the account of the last granularity to which the account of the next granularity belongs.
As described above, the resource parameter information includes historical resource consumption of at least one account in relation to the resource. In this case, step S220 may include: determining a first control parameter for each of the at least one account at the at least one operational stage based on the historical resource consumption, wherein the historical resource consumption is positively correlated with the first control parameter; the resource control parameter is determined based on the first control parameter. For example, as shown in FIG. 3, the resource bandwidth of the first phase, the resource bandwidth of the second phase, the resource bandwidth of the third phase, and the resource bandwidth of the fourth phase of the account may be determined at each granularity based on historical resource consumption. Here, the historical resource consumption is positively correlated with the first control parameter. That is, the greater the historical resource consumption, the greater the first control parameter. For example, the first control parameter may be a first resource bandwidth, which may also be referred to as "consumed allocation resource bandwidth". Further, optionally, there may be different parameters determining the correspondence between historical resource consumption and the first control parameter for different types of accounts. After the first control parameter is determined, the first control parameter may be determined directly as a resource control parameter for the account during at least one operational phase, or the resource control parameter for the account during at least one operational phase may be determined further based on the first control parameter in combination with other control parameters. For example, the resource control parameter may be determined based on a first control parameter and a second control parameter, wherein the second control parameter is the same for each account. For example, the second control parameter may be a second resource bandwidth, also referred to as "base resource bandwidth". For example, as shown in FIG. 3, the resource bandwidth for each resource operation stage of each granularity account may be a resource bandwidth calculated based on the base resource bandwidth further based on historical resource consumption.
For example, as shown in fig. 4, if the account is an inventory account (non-newly created account), the resource bandwidth allocated to the inventory account may be the sum of the first resource bandwidth (i.e., the consumption allocation material bandwidth) and the second resource bandwidth (the base resource bandwidth). For example, the first resource bandwidth may be a resource bandwidth allocated according to a historical resource consumption of the stock account from a stock consumption allocation pool allocated for an account of a second granularity to which the stock account belongs, and the second resource bandwidth may be a resource bandwidth equally allocated for each stock account from a stock base resource bandwidth pool allocated for an account of the second granularity to which the stock account belongs. In addition, the pool of stock consumption allocations and the pool of stock base resource bandwidth allocated for the second granularity of accounts to which the stock account belongs are in turn derived from the pool of stock resource bandwidth (i.e., the total stock resource bandwidth) for the first granularity of accounts to which the second granularity of accounts belongs. For example, the size of the stock-consumption allocation pool and the size of the stock base resource bandwidth pool may be a% and b% of the total stock resource bandwidth pool size, respectively. The size of the total stock resource bandwidth pool may be x% of the total resource bandwidth size.
Optionally, according to an embodiment, the above-mentioned resource parameter information further comprises an expected resource consumption of the at least one account in relation to the resource. In this case, step S220 may include: a third control parameter for each of the at least one account during at least one operational phase is determined based on the expected resource consumption. Accordingly, the determining the resource control parameter based on the first control parameter and the second control parameter includes: the resource control parameter is determined based on the first control parameter, the second control parameter, and the third control parameter. Here, the expected resource consumption may be a resource (e.g., an actual resource or a virtual resource) that the account expects to be devoted to the resource. For example, if the account is an inventory account, the resource bandwidth of at least one stage of the inventory account may be equal to the sum of the first resource bandwidth, the second resource bandwidth, and the third resource bandwidth.
Alternatively, according to an embodiment, step S220 may include: and if the at least one account comprises a new account according to the resource related information, determining the resource control parameters of the new account included in the at least one account according to the resource control parameters preset for all the new accounts. For example, as shown in fig. 4, if a certain account with the third granularity is a new account, since the new account has no history resource consumption, a new account resource bandwidth pool may be separately divided from the resource bandwidth of the account with the second granularity to which the new account belongs, so as to be used by the new account with the third granularity. The new account resource bandwidth pool is derived from the material bandwidth pool of the new account with the second granularity allocated to the account with the first granularity to which the account with the second granularity belongs (referred to as "the resource bandwidth pool of the new account with the second granularity" in fig. 4). For example, the size of the resource bandwidth pool of the newly created account of the second granularity may be xx% of the total resource bandwidth. For example, an upper limit may be set for each newly created account to apply for resource bandwidth, and if this upper limit is exceeded, no further application may be made. Furthermore, when a newly created account resource bandwidth pool has been allocated, it may be more difficult for a later newly created account to obtain resource bandwidth. That is, depending on the size of the resource bandwidth pool of the new accounts, some of the new accounts may be able to allocate resource bandwidth, while some of the new accounts may not be allocated resource bandwidth.
Finally, after determining the resource control parameters for each of the at least one account during at least one operational phase of the resource, at step S230, a resource processing operation may be performed during the at least one operational phase based on the resource control parameters. According to the method for processing the resources, which is disclosed by the embodiment of the invention, the resource control parameters aiming at the account in at least one operation stage of the resources are determined according to the resource related information of the account, and the resource processing operation is performed in at least one operation stage based on the resource control parameters, so that the resource processing can be more reasonably performed, and the resource processing efficiency is improved.
As described above, the at least one operational stage may include a first stage. In this case, step S230 may include: and if the amount of the resources that the at least one account has transmitted in the first stage exceeds the maximum amount of the resources (i.e., the resource bandwidth) preset by the at least one account in the first stage, controlling the execution of the resource transmission upon receiving the resource transmission request of the at least one account. And the execution of the resource transmission is controlled under the condition that the amount of the resource transmitted by the account exceeds the resource bandwidth preset by the account in the first stage, so that the resource processing efficiency is improved.
Furthermore, as mentioned above, the at least one operation phase further includes one or more of a second phase, a third phase, a fourth phase, and a fifth phase, in which case step S230 may further include: if the amount of resources of the at least one account at the one or more stages exceeds the maximum amount of resources of the at least one account preset at the one or more stages, processing resources of the at least one account at the one or more stages that exceed the maximum amount of resources of the one or more stages. By performing resource processing in a plurality of stages according to the resource bandwidths of the respective stages, the resource processing efficiency can be further improved.
Fig. 5 is a block diagram illustrating an apparatus for resource processing according to an exemplary embodiment of the present disclosure.
Referring to fig. 5, the apparatus 500 may include an information acquisition unit 510, a parameter determination unit 520, and a resource processing unit 530. Specifically, the information obtaining unit 510 may be configured to obtain resource-related information of at least one account, the resource-related information including resource parameter information related to a resource of the at least one account. The parameter determination unit 520 may be configured to determine a resource control parameter for each of the at least one account in at least one operational phase for the resource based on the resource-related information. The resource processing unit 530 may be configured to perform resource processing operations at the at least one operation stage based on the resource control parameters.
Since the method shown in fig. 2 may be performed by the apparatus 500 shown in fig. 5, and the information acquisition unit 510, the parameter determination unit 520, and the resource processing unit 530 perform operations corresponding to step S210, step S220, and step S230 in fig. 2, respectively, any relevant details concerning the operations performed by the units in fig. 5 may be referred to the corresponding description concerning fig. 2, and will not be repeated here.
Further, it should be noted that, although the apparatus 500 is described above as being divided into units for performing the respective processes, it is apparent to those skilled in the art that the processes performed by the respective units described above may be performed without any specific division of units or without explicit demarcation between the units. In addition, the apparatus 500 may further include other units, for example, a storage unit, etc.
Fig. 6 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Referring to fig. 6, an electronic device 600 may include at least one memory 601 and at least one processor 602, the at least one memory storing computer-executable instructions that, when executed by the at least one processor 602, cause the at least one processor 602 to perform the above-described methods for resource processing according to embodiments of the present disclosure.
By way of example, the electronic device may be a PC computer, tablet device, personal digital assistant, smart phone, or other device capable of executing the above-described set of instructions. Here, the electronic device is not necessarily a single electronic device, but may be any device or an aggregate of circuits capable of executing the above-described instructions (or instruction set) singly or in combination. The electronic device may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that interfaces with either locally or remotely (e.g., via wireless transmission).
In an electronic device, a processor may include a Central Processing Unit (CPU), a Graphics Processor (GPU), a programmable logic device, a special purpose processor system, a microcontroller, or a microprocessor. By way of example, and not limitation, processors may also include analog processors, digital processors, microprocessors, multi-core processors, processor arrays, network processors, and the like.
The processor may execute instructions or code stored in the memory, wherein the memory may also store data. The instructions and data may also be transmitted and received over a network via a network interface device, which may employ any known transmission protocol.
The memory may be integrated with the processor, for example, RAM or flash memory disposed within an integrated circuit microprocessor or the like. In addition, the memory may include a stand-alone device, such as an external disk drive, a storage array, or any other storage device usable by a database system. The memory and the processor may be operatively coupled or may communicate with each other, for example, through an I/O port, a network connection, etc., such that the processor is able to read files stored in the memory.
In addition, the electronic device may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, mouse, touch input device, etc.). All components of the electronic device may be connected to each other via a bus and/or a network.
According to an embodiment of the present disclosure, there may also be provided a computer-readable storage medium storing instructions, wherein the instructions, when executed by at least one processor, cause the at least one processor to perform the above-described method for resource processing according to an exemplary embodiment of the present disclosure. Examples of the computer readable storage medium herein include: read-only memory (ROM), random-access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random-access memory (DRAM), static random-access memory (SRAM), flash memory, nonvolatile memory, CD-ROM, CD-R, CD + R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD + R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, blu-ray or optical disk storage, hard Disk Drives (HDD), solid State Disks (SSD), card memory (such as multimedia cards, secure Digital (SD) cards or ultra-fast digital (XD) cards), magnetic tape, floppy disks, magneto-optical data storage, hard disks, solid state disks, and any other means configured to store computer programs and any associated data, data files and data structures in a non-transitory manner and to provide the computer programs and any associated data, data files and data structures to a processor or computer to enable the processor or computer to execute the programs. The instructions or computer programs in the computer-readable storage media described above can be run in an environment deployed in a computer device, such as a client, host, proxy device, server, etc., and further, in one example, the computer programs and any associated data, data files, and data structures are distributed across networked computer systems such that the computer programs and any associated data, data files, and data structures are stored, accessed, and executed in a distributed fashion by one or more processors or computers.
In accordance with embodiments of the present disclosure, there may also be provided a computer program product comprising computer instructions which, when executed by a processor, implement the above-described method for resource processing according to an exemplary embodiment of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (9)

1. A method for resource processing, comprising:
acquiring resource-related information of at least one account, wherein the resource-related information comprises resource parameter information related to resources of the at least one account;
determining a resource control parameter for each of the at least one account at least one operational stage for the resource based on the resource-related information;
performing a resource handling operation for the resource itself in the at least one operational phase based on the resource control parameter, wherein the resource handling operation comprises controlling, in a first phase of the at least one operational phase, execution of a transfer of the resource of the at least one account to a resource providing platform,
wherein the assets include at least one of text, audio, images, and video,
wherein the resource parameter information comprises a historical resource consumption of the at least one account related to the resource and an expected resource consumption of the at least one account related to the resource, wherein the historical resource consumption is an actual or virtual resource historically devoted to the resource by the at least one account, the expected resource consumption is an actual or virtual resource to be devoted to the resource by the at least one account, wherein the determining of the resource control parameter for each of the at least one account in at least one operational phase of the resource based on the resource related information comprises:
determining a first control parameter for each of the at least one account at the at least one operational stage based on the historical resource consumption, wherein the historical resource consumption is positively correlated with the first control parameter;
determining a third control parameter for each of the at least one account at the at least one operational stage based on the expected resource consumption,
the resource control parameters are determined based on the first control parameters, a second control parameter, and the third control parameter, wherein the second control parameter is the same for each account.
2. The method of claim 1, wherein the resource control parameter comprises a maximum amount of resources preset by the at least one account at each of the at least one operational phases.
3. The method of claim 2, wherein the at least one operational phase comprises a first phase, the performing resource processing operations at the at least one operational phase based on the resource control parameters comprising:
and if the amount of the resources which are already transmitted by the at least one account in the first stage exceeds the maximum amount of the resources preset by the at least one account in the first stage, controlling the execution of the resource transmission when the resource transmission request of the at least one account is received.
4. The method of claim 3, wherein the at least one operational stage further comprises one or more of a second stage, a third stage, a fourth stage, and a fifth stage,
the performing, based on the resource control parameter, a resource processing operation in the at least one operation phase, further includes:
if the amount of resources of the at least one account at the one or more stages exceeds the maximum amount of resources of the at least one account preset at the one or more stages, processing resources of the at least one account at the one or more stages that exceed the maximum amount of resources of the one or more stages.
5. The method according to claim 1,
wherein determining, based on the resource-related information, a resource control parameter for each of the at least one account during at least one operational phase for the resource, comprises:
determining overall resource control parameters for the at least one account;
and determining the resource control parameters of each account according to the overall resource control parameters and the resource related information.
6. The method of claim 1, wherein the determining, from the resource-related information, resource control parameters for each of the at least one account during at least one phase of operation on the resource comprises:
and if the at least one account comprises a new account according to the resource related information, determining the resource control parameters of the new account included in the at least one account according to the resource control parameters preset for all the new accounts.
7. An apparatus for resource processing, comprising:
an information acquisition unit configured to acquire resource-related information of at least one account, the resource-related information including resource parameter information related to a resource of the at least one account;
a parameter determination unit configured to determine a resource control parameter for each of the at least one account at least one operational stage of the resource based on the resource-related information;
a resource processing unit configured to perform a resource processing operation in the at least one operational phase based on the resource control parameter, wherein the resource processing operation comprises controlling, in a first phase of the at least one operational phase, execution of a transfer of the resource of the at least one account to a resource providing platform,
wherein the assets include at least one of text, audio, images, and video,
wherein the resource parameter information comprises a historical resource consumption of the at least one account related to the resource and an expected resource consumption of the at least one account related to the resource, wherein the historical resource consumption is an actual or virtual resource historically devoted to the resource by the at least one account, the expected resource consumption is an actual or virtual resource to be devoted to the resource by the at least one account, wherein the determining of the resource control parameter for each of the at least one account in at least one operational phase of the resource based on the resource related information comprises:
determining a first control parameter for each of the at least one account at the at least one operational stage based on the historical resource consumption, wherein the historical resource consumption is positively correlated with the first control parameter;
determining a third control parameter for each of the at least one account at the at least one operational stage based on the expected resource consumption,
the resource control parameters are determined based on the first control parameters, a second control parameter, and the third control parameter, wherein the second control parameter is the same for each account.
8. An electronic device, comprising:
at least one processor;
at least one memory storing computer-executable instructions,
wherein the computer executable instructions, when executed by the at least one processor, cause the at least one processor to perform the method of any of claims 1 to 6.
9. A computer-readable storage medium storing instructions that, when executed by at least one processor, cause the at least one processor to perform the method of any of claims 1 to 6.
CN202310402519.1A 2023-04-14 2023-04-14 Method, device, electronic equipment and storage medium for resource processing Active CN116431347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310402519.1A CN116431347B (en) 2023-04-14 2023-04-14 Method, device, electronic equipment and storage medium for resource processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310402519.1A CN116431347B (en) 2023-04-14 2023-04-14 Method, device, electronic equipment and storage medium for resource processing

Publications (2)

Publication Number Publication Date
CN116431347A CN116431347A (en) 2023-07-14
CN116431347B true CN116431347B (en) 2024-03-26

Family

ID=87085004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310402519.1A Active CN116431347B (en) 2023-04-14 2023-04-14 Method, device, electronic equipment and storage medium for resource processing

Country Status (1)

Country Link
CN (1) CN116431347B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108390913A (en) * 2018-01-19 2018-08-10 北京白山耘科技有限公司 A kind of control user uses the method and device of resource
CN111105146A (en) * 2019-12-02 2020-05-05 网联清算有限公司 Method, device and equipment for allocating resources to multiple accounts
CN111612520A (en) * 2020-04-17 2020-09-01 五八有限公司 Resource processing method, device, server and storage medium
CN111784443A (en) * 2015-05-08 2020-10-16 阿里巴巴集团控股有限公司 Order information processing method and device
CN112508694A (en) * 2021-02-05 2021-03-16 北京淇瑀信息科技有限公司 Resource limit application processing method and device and electronic equipment
CN112926994A (en) * 2021-03-29 2021-06-08 支付宝(杭州)信息技术有限公司 Resource processing method and device
CN113487183A (en) * 2021-07-07 2021-10-08 苏州达家迎信息技术有限公司 Method, device and storage medium for determining service resources in vertical service scene
CN115115074A (en) * 2021-03-18 2022-09-27 腾讯科技(深圳)有限公司 Electronic resource consumption information prediction method, device, equipment and storage medium
CN115328953A (en) * 2022-08-01 2022-11-11 北京达佳互联信息技术有限公司 Information processing method, information processing device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9516504B2 (en) * 2014-05-19 2016-12-06 Verizon Patent And Licensing Inc. Intelligent role based access control based on trustee approvals
US10038602B2 (en) * 2016-06-13 2018-07-31 International Business Machines Corporation Monitoring resource consumption based on fixed cost for threshold use and additional cost for use above the threshold
US11449812B2 (en) * 2020-07-24 2022-09-20 Bank Of America Corporation System for establishment and dynamic adjustment of control parameters associated with resource distribution

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111784443A (en) * 2015-05-08 2020-10-16 阿里巴巴集团控股有限公司 Order information processing method and device
CN108390913A (en) * 2018-01-19 2018-08-10 北京白山耘科技有限公司 A kind of control user uses the method and device of resource
CN111105146A (en) * 2019-12-02 2020-05-05 网联清算有限公司 Method, device and equipment for allocating resources to multiple accounts
CN111612520A (en) * 2020-04-17 2020-09-01 五八有限公司 Resource processing method, device, server and storage medium
CN112508694A (en) * 2021-02-05 2021-03-16 北京淇瑀信息科技有限公司 Resource limit application processing method and device and electronic equipment
CN115115074A (en) * 2021-03-18 2022-09-27 腾讯科技(深圳)有限公司 Electronic resource consumption information prediction method, device, equipment and storage medium
CN112926994A (en) * 2021-03-29 2021-06-08 支付宝(杭州)信息技术有限公司 Resource processing method and device
CN113487183A (en) * 2021-07-07 2021-10-08 苏州达家迎信息技术有限公司 Method, device and storage medium for determining service resources in vertical service scene
CN115328953A (en) * 2022-08-01 2022-11-11 北京达佳互联信息技术有限公司 Information processing method, information processing device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN116431347A (en) 2023-07-14

Similar Documents

Publication Publication Date Title
US11146502B2 (en) Method and apparatus for allocating resource
US10572285B2 (en) Method and apparatus for elastically scaling virtual machine cluster
CN108052615B (en) Access request processing method, device, medium and electronic equipment
US9614931B2 (en) Identifying a resource set require for a requested application and launching the resource set in a container for execution in a host operating system
CN110399213B (en) Method, device, electronic equipment and medium for determining resource demand of application program
CN109640116B (en) Cloud mobile phone network video coding method and server
US9535754B1 (en) Dynamic provisioning of computing resources
US8843632B2 (en) Allocation of resources between web services in a composite service
US10638168B2 (en) Detecting minimum viable display resolution of media content using optical character recognition
CN106533713A (en) Application deployment method and device
CN110008050B (en) Method and device for processing information
CN116431347B (en) Method, device, electronic equipment and storage medium for resource processing
CN116450353A (en) Processor core matching method and device, electronic equipment and storage medium
CN110347546B (en) Dynamic adjustment method, device, medium and electronic equipment for monitoring task
CN105426125B (en) A kind of date storage method and device
CN109286532B (en) Management method and device for alarm information in cloud computing system
AU2021269911B2 (en) Optimized deployment of analytic models in an edge topology
CN115702565A (en) Improved cross component intra prediction mode
CN113076175A (en) Memory sharing method and device for virtual machine
CN112769643A (en) Resource scheduling method and device, electronic equipment and storage medium
CN113938690B (en) Video encoding method, video encoding device, electronic equipment and storage medium
CN111431951A (en) Data processing method, node equipment, system and storage medium
US20230156690A1 (en) Data processing method and apparatus, device, and storage medium
CN111447258B (en) Method, device and equipment for scheduling offline tasks and storage medium
CN111600949B (en) Data transmission method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant