CN112118310A - Resource processing method, device, platform, electronic equipment and storage medium - Google Patents

Resource processing method, device, platform, electronic equipment and storage medium Download PDF

Info

Publication number
CN112118310A
CN112118310A CN202010979500.XA CN202010979500A CN112118310A CN 112118310 A CN112118310 A CN 112118310A CN 202010979500 A CN202010979500 A CN 202010979500A CN 112118310 A CN112118310 A CN 112118310A
Authority
CN
China
Prior art keywords
resource
processing
virtual number
task
resource processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010979500.XA
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.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202010979500.XA priority Critical patent/CN112118310A/en
Publication of CN112118310A publication Critical patent/CN112118310A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5029Service quality level-based billing, e.g. dependent on measured service level customer is charged more or less

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a resource processing method, a device, a platform, an electronic device and a storage medium, comprising: determining the processing task of the virtual digital object resource of the resource processing mechanism, allocating the lost connection repaired virtual number resource for the processing task, if the resource processing mechanism completes the processing task, adding the residual virtual number resource to a preset resource sharing pool, wherein the resource sharing pool is shared by each resource processing mechanism in the resource processing platform, the resource sharing pool is set by the resource processing platform by introducing the resource sharing pool, and the residual virtual number resources are stored in the resource sharing virtual pool, can avoid the defect of resource waste caused by setting the residual virtual number resources as invalid resources in the related technology, realize the reasonable and full utilization of the virtual number resources, the resource utilization rate of the virtual number resource is improved, the cost of the resource processing platform for acquiring the virtual number resource is reduced, and the interactive resource between the resource processing platform and the operator platform is reduced.

Description

Resource processing method, device, platform, electronic equipment and storage medium
Technical Field
The present application relates to the field of internet and communication technologies, and in particular, to a resource processing method, device, platform, electronic device, and storage medium.
Background
With the development of internet technology, various platform technologies, such as resource processing platforms, are widely used.
The resource processing platform integrates resources of resource processing parties such as asset mechanisms including banks and the like and resource processing mechanisms including resources, provides asset processing and issuing service for the asset mechanisms, and provides resource processing asset service for the resource processing mechanisms. In the prior art, a resource processing platform allocates a processing task of a virtual digital object resource to a resource processing mechanism, and allocates a virtual number resource to the processing task, and if the processing task is completed by the resource processing mechanism by means of the resource processing platform and the virtual number resource is not used up, the resource processing platform sets the virtual number resource as a failure resource.
In the process of implementing the present application, the inventors found that at least the following problems exist: the utilization rate of the virtual number resource is low.
Disclosure of Invention
The embodiment of the application provides a resource processing method, a resource processing device, a resource processing platform, an electronic device and a storage medium, which are used for improving the utilization rate of resources.
In a first aspect, an embodiment of the present application provides a resource processing method, which is applied to a resource processing platform, and the method includes:
determining a processing task of a virtual digital object resource of a resource processing mechanism;
distributing the virtual number resources for the lost connection repair for the processing task;
and if the resource processing mechanism finishes the processing task, adding the residual virtual number resources to a preset resource sharing pool, wherein the resource sharing pool is shared by all resource processing mechanisms in the resource processing platform.
In some embodiments, the allocating the virtual number resource for the resource processing task of the offline repair includes:
determining the virtual number resource of the processing task;
and if the resource sharing pool comprises the virtual number resource, allocating the virtual number resource in the resource sharing pool to the resource processing mechanism.
In some embodiments, the method further comprises:
acquiring resource attribute information of the resource processing mechanism;
and if the resource attribute information is the proprietary attribute, suspending allocation of the virtual number resources to other resource processing mechanisms in the resource processing platform.
In some embodiments, the processing task includes a unique identification of an identity of a processed object, and the allocating a virtual number resource for failover repair to the processing task includes: and allocating the virtual number resources to the processing tasks from the resource sharing pool according to the unique identifier.
In some embodiments, the number of processing tasks is multiple, and multiple processing tasks have the same unique identifier.
In some embodiments, the method further comprises:
if the resource processing mechanism finishes the processing task, determining the use record of the resource processing mechanism for the virtual number resource;
and determining resource consumption information of the resource processing mechanism according to the usage record.
In some embodiments, the processing task includes a unique identification of an identity of a processed object, and the allocating a virtual number resource for failover repair to the processing task includes:
and if the task to be processed of the resource processing mechanism comprises the task with the unique identifier, determining the virtual number resource of the task to be processed with the unique identifier as the virtual number resource.
In a second aspect, an embodiment of the present application provides a resource processing apparatus, where the apparatus includes:
the first determining module is used for determining the processing task of the virtual digital object resource of the resource processing mechanism;
the allocation module is used for allocating the lost connection repaired virtual number resources for the processing task;
and the adding module is used for adding the residual virtual number resources to a preset resource sharing pool in the resource processing platform if the resource processing mechanism finishes the processing task, wherein the resource sharing pool is shared by all the resource processing mechanisms in the resource processing platform.
In some embodiments, the allocating module is configured to determine the virtual number resource of the processing task, and allocate the virtual number resource in the resource sharing pool to the resource processing mechanism if the resource sharing pool includes the virtual number resource.
In some embodiments, the apparatus further comprises:
the acquisition module is used for acquiring the resource attribute information of the resource processing mechanism;
and the suspension module is used for suspending the allocation of the virtual number resources to other resource processing mechanisms in the resource processing platform if the resource attribute information is the proprietary attribute.
In some embodiments, the processing task includes a unique identifier of an identity of a processed object, and the allocation module is configured to allocate the virtual number resource to the processing task from the resource sharing pool according to the unique identifier.
In some embodiments, the number of processing tasks is multiple, and multiple processing tasks have the same unique identifier.
In some embodiments, the apparatus further comprises:
and the second determining module is used for determining the use record of the resource processing mechanism for the virtual number resource if the resource processing mechanism completes the processing task, and determining the resource consumption information of the resource processing mechanism according to the use record.
In some embodiments, the processing task includes a unique identifier of an identity of a processed object, and the allocation module is configured to determine, if the task to be processed of the resource processing mechanism includes a task with the unique identifier, a virtual number resource of the task to be processed with the unique identifier as the virtual number resource.
In a third aspect, an embodiment of the present application provides a resource processing platform, where the resource processing platform includes:
the resource handling apparatus as in any one of the above embodiments;
and the resource sharing pool is used for storing the residual virtual number resources and is shared by all resource processing mechanisms in the resource processing platform.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
a memory for storing the processor-executable instructions;
wherein, when executing the instructions in the memory, the processor is configured to implement the method of any of the embodiments described above.
In a fifth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method according to any of the above embodiments.
An embodiment of the application provides a resource processing method, a device, a platform, an electronic device and a storage medium, including: determining the processing task of the virtual digital object resource of the resource processing mechanism, allocating the lost connection repaired virtual number resource for the processing task, if the processing mechanism of the virtual digital object resource completes the processing task, adding the remaining virtual number resource to a preset resource sharing pool, wherein the resource sharing pool is shared by each resource processing mechanism in the resource processing platform, in the embodiment, introducing the concept of the resource sharing pool, the resource processing platform can avoid the defect of resource waste caused by setting the remaining virtual number resource as a failed resource in the related technology by setting the resource sharing pool and storing the remaining virtual number resource to the resource sharing virtual pool, thereby realizing reasonable and full utilization of the virtual number resource, namely improving the resource utilization rate of the virtual number resource and reducing the cost of the resource processing platform for acquiring the virtual number resource, and interaction resources between the resource processing platform and the operator platform are reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic diagram of an application scenario of a resource processing method provided in the present application;
FIG. 2 is a flowchart illustrating a resource processing method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a resource processing method according to another embodiment of the present application;
FIG. 4 is a flowchart illustrating a resource processing method according to another embodiment of the present application;
FIG. 5 is a diagram of a resource processing apparatus according to an embodiment of the present application;
FIG. 6 is a diagram illustrating a resource processing apparatus according to another embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of the resource processing method provided in the present application.
As shown in fig. 1, the application scenario includes a resource processing platform and an operator platform.
The resource processing platform includes a plurality of asset organizations and a plurality of resource processing organizations as shown in fig. 1, and the resource processing platform may provide resource processing publishing services for assets for each asset organization and may provide services for processing assets for the resource processing organizations, where an object of a service for the resource processing organizations to perform resource processing may be referred to as a processed object.
In a specific application scenario, the resource processing platform may be a collection urging platform, and the resource processing mechanism may be a collection urging mechanism. For example, the collection platform may provide a collection and release service for assets for each asset organization, and may provide a collection and release service for the collection and release organization, wherein the collection and release service for the collection and release organization may be performed by the debtor.
It should be noted that fig. 1 exemplarily shows three asset mechanisms and three resource handling mechanisms, but it should not be understood that the number of asset mechanisms and the number of resource handling mechanisms are limited, and the asset mechanisms and the resource handling mechanisms have no relationship in number, that is, the number of asset mechanisms may be greater than the number of resource handling mechanisms, the number of asset mechanisms may be smaller than the number of resource handling mechanisms, and the number of asset mechanisms may be equal to the number of resource handling mechanisms.
The operator platform may be a platform for providing a service of offline restoration, specifically, a platform of a unicom operator, a platform of a mobile operator, a platform of a telecom operator, and the like.
In the related art, the resource processing platform may allocate processing tasks to each resource processing mechanism, obtain the offline repaired virtual number resources through interaction with the operator platform, and allocate the offline repaired virtual number resources corresponding to the processing tasks, after any resource processing mechanism completes a processing task, even if the virtual number resources corresponding to the processing task are not used up, the resource processing platform determines the virtual number resources as failed resources, and cannot be reused.
However, the solution in the related art is easy to cause a waste of unused virtual number resources.
The inventor of the present application has obtained the inventive concept of the present application after creative efforts: after the resource processing mechanism finishes the processing task, the resource processing platform recycles the residual virtual number resource corresponding to the processing task.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
According to an aspect of the embodiments of the present application, the embodiments of the present application provide a resource processing method, which may be applied to an application scenario as shown in fig. 1.
Referring to fig. 2, fig. 2 is a flowchart illustrating a resource processing method according to an embodiment of the present application.
As shown in fig. 2, the method includes:
s101: processing tasks of virtual digital object resources of a resource processing mechanism are determined.
The execution main body of the embodiment of the application can be a resource processing device, and the resource processing device can be a platform, a server (including a cloud server and a local server), a processor, a chip and the like, and the embodiment of the application is not limited.
For example, when the resource processing method of the embodiment of the application is applied to the application scenario shown in fig. 1, the resource processing apparatus may be the resource processing platform shown in fig. 1, and in a specific application, the resource processing platform may be a collection platform.
Wherein the processing task may be used to characterize a task assigned by the resource processing platform to reclaim the virtual digital object resource for execution by the resource processing mechanism. For example, when the method of the present embodiment applies the collection application scenario, the processing task may be a task of collecting debts undertaken by debtors.
For example, the asset organization issues the resource processing information of the asset through the resource processing issuing service of the asset of the resource processing platform, such as the amount of money of the asset and the information of the processed object, and the resource processing platform generates and allocates a processing task to the resource processing organization according to the resource processing information of the issued asset, and the resource processing organization can retrieve the debt born by the processed object based on the processing task.
In this embodiment, the method for determining the processing task for the resource processing mechanism by the resource processing platform is not limited, for example, the resource processing platform may randomly determine the processing task for the resource processing mechanism, may determine the processing task for the resource processing mechanism based on a sorting manner, may determine the processing task for the resource processing mechanism based on the location information of the resource processing mechanism and the processed object, and the like, which are not listed here.
S102: and allocating the virtual number resources for the lost connection repair for the processing task.
The loss of connection restoration can be used for representing, the current contact mode (generally default is a mobile phone number, and other communication modes can also be used) of the processed object is changed, and the resource processing platform restores the behavior of the current mobile phone number of the processed object through a related restoration means or channel.
The virtual number can be used for representing the virtual number obtained by the resource processing platform from the operator platform after the virtual processing is carried out on the current mobile phone number of the processed object.
The virtual number resource can be used for representing, and the virtual number can be used by the resource processing mechanism, such as the number of times the virtual number can be used by the resource processing mechanism, the number of days the virtual number can be used by the resource processing mechanism, and the frequency of times the virtual number can be used by the resource processing mechanism, etc.
If the application scenario shown in fig. 1 is combined, in this embodiment, if the resource processing platform generates the resource processing publishing service, the resource processing platform may generate a processing task, acquire a virtual number corresponding to the resource processing service from the operator platform based on the processing task, and determine the processing task and the virtual number resource for the resource processing mechanism.
The virtual number resource may be determined based on payment information of the resource processing mechanism, and if the payment is higher, the corresponding virtual number resource is more, that is, the number of times that the virtual number can be used by the resource processing mechanism is more, and the like.
S103: and if the resource processing mechanism finishes the processing task, adding the residual virtual number resources to a preset resource sharing pool, wherein the resource sharing pool is shared by each resource processing mechanism in the resource processing platform.
The resource sharing pool may be a memory disposed in the resource processing platform, and may be used for representing and storing resources shared by the resource processing mechanisms in the resource processing platform.
The step may specifically include: and when determining that the resource processing mechanism finishes the processing task, the resource processing platform judges whether the resource processing mechanism uses up the virtual number resources allocated to the resource processing mechanism, if not, determines the residual virtual number resources and adds the residual virtual number resources to the resource sharing pool.
For example, if the virtual resource number is m times that the resource processing mechanism can use the virtual resource number, and if the virtual resource number is used by the resource processing mechanism n times (m is greater than n), the resource processing mechanism completes the processing task, and the resource processing platform determines that the remaining virtual resource number is (m-n) times, then the remaining virtual resource number is added to the resource sharing pool, and each resource processing mechanism in the resource processing mechanism can use the remaining virtual resource number.
Based on the above analysis, the present embodiment provides a resource processing method, which is applied to a resource processing platform, and the method includes: determining the processing task of the resource processing mechanism, allocating the lost connection repaired virtual number resource for the processing task, if the resource processing mechanism finishes the processing task, adding the residual virtual number resource to a preset resource sharing pool, wherein, the resource sharing pool is shared by each resource processing mechanism in the resource processing platform, in this embodiment, the concept of the resource sharing pool is introduced, the resource processing platform sets the resource sharing pool and stores the remaining virtual number resources to the resource sharing virtual pool, can avoid the defect of resource waste caused by setting the residual virtual number resources as invalid resources in the related technology, thereby realizing reasonable and full utilization of the virtual number resources, the resource utilization rate of the virtual number resource is improved, the cost of the resource processing platform for acquiring the virtual number resource is reduced, and the interactive resource between the resource processing platform and the operator platform is reduced.
Based on the analysis of the foregoing embodiment, it can be seen that, in the present application, by adding the remaining virtual number resources to the resource sharing pool, each resource processing mechanism in the resource processing platform can share the resources of the resource sharing pool, so as to improve the resource utilization rate, and in order to enable readers to understand the scheme of the present application more deeply, the resource processing method provided in the present application is described in more detail with reference to fig. 3. Fig. 3 is a schematic flow chart of a resource processing method according to another embodiment of the present application.
As shown in fig. 3, the method includes:
s201: processing tasks of virtual digital object resources of a resource processing mechanism are determined.
For the description of S201, reference may be made to S101 in the foregoing embodiment, which is not described in detail again in this embodiment.
In some implementations, the processing task includes a unique identification of an identity of the object being processed, the number of processing tasks is multiple, and the multiple processing tasks have the same unique identification.
The unique identifier is used for distinguishing different processed objects, that is, different processing tasks may be directed to the same processed object, the unique identifiers included in the different processing tasks may be the same, and the unique identifier may be an identity card number of the processed object or a number allocated by the resource processing platform.
That is, when the resource processing platform determines the processing tasks of the resource processing mechanisms, the processing tasks of the same object to be processed can be allocated to the same resource processing mechanisms, so that the disadvantage that the resource processing platform repeatedly allocates the virtual number resources of the same object to be processed can be reduced, and the running resources and the cost of the resource processing platform can be reduced.
S202: and determining the virtual number resource of the processing task.
S203: and if the resource sharing pool comprises the virtual number resource, distributing the virtual number resource in the resource sharing pool to the resource processing mechanism.
Based on the above embodiments, it can be seen that the resource sharing pool includes resources that can be shared by each resource processing mechanism, therefore, in this step, the resource processing platform can preferentially determine whether the resource sharing pool includes a virtual number resource corresponding to the processing task, if the sharing pool includes the virtual number resource corresponding to the processing task, the resource processing platform can directly allocate the virtual number resource in the resource sharing pool to the resource processing mechanism, the resource processing platform does not need to acquire the virtual number resource through interaction with the operator platform, and can save interaction resources and cost, and the resource processing platform allocates the virtual number resource in the resource sharing pool to the resource processing mechanism, thereby implementing reuse of the virtual number resource and improving resource utilization rate.
Based on the above analysis, in some implementations, the processing task includes a unique identifier of the identity of the processed object, and S203 may include: and allocating virtual number resources for the processing tasks from the resource sharing pool according to the unique identifier.
For example, the resource processing platform may establish a mapping relationship between the unique identifier and the virtual number resource, and if a mapping relationship table between the unique identifier and the virtual number resource is established, the resource processing platform may determine, according to the determined unique identifier, the virtual number resource corresponding to the unique identifier from the mapping relationship table, and allocate the virtual number resource in the resource sharing pool to the resource processing mechanism.
S204: resource attribute information of a resource processing mechanism is acquired.
The resource attribute information includes a proprietary attribute, that is, the resource processing mechanism can only use the virtual number resource.
S205: and if the resource attribute information is the proprietary attribute, suspending the allocation of the virtual number resources to other resource processing mechanisms in the resource processing platform.
In this embodiment, when the resource attribute information of the resource processing mechanism is the proprietary attribute, the resource processing platform suspends allocating the virtual number resource to the other resource processing mechanisms, so that the reliability and the effectiveness of the resource processing mechanisms using the virtual number resource can be improved.
S206: and if the resource processing mechanism finishes the processing task, adding the residual virtual number resources to a preset resource sharing pool.
For the description of S206, reference may be made to S103 in the foregoing embodiment, which is not described in detail in this embodiment.
S207: and determining the use record of the resource processing mechanism on the virtual number resource.
The usage record comprises the number of times and/or the number of days for the resource processing mechanism to dial the virtual number.
In some implementations, the resource processing platform obtains the usage record by way of a counter.
For example, the initial count is 0, when the resource processing mechanism dials the virtual number and the call is ended, the resource processing platform adds 1 to the dialing times of the resource processing mechanism, and so on.
S208: resource consumption information of the resource processing mechanism is determined from the usage record.
The resource consumption information includes resource usage cost, resource utilization rate, and the like.
In this embodiment, the resource processing platform determines the resource consumption information by using the record, so that the flexibility of determining the resource consumption information can be realized, and the resource utilization rate can be improved.
Based on the above embodiments, the processing task may include a unique identifier of the identity of the processed object, and in order to make the reader more deeply understand the scheme for improving the resource utilization rate based on the unique identifier, the details are now set forth in conjunction with fig. 4. Fig. 4 is a schematic flow chart of a resource processing method according to another embodiment of the present application.
As shown in fig. 4, the method includes:
s301: determining a processing task of the resource processing mechanism, wherein the processing task comprises a unique identification of the identity of the processed object.
For the description of the processing task and the unique identifier, reference may be made to the above embodiments, which are not described herein again.
S302: and if the tasks to be processed of the resource processing mechanism comprise the tasks with the unique identifiers, determining the virtual number resources of the tasks to be processed with the unique identifiers as the virtual number resources.
That is, the step may specifically include: the resource processing platform judges whether the tasks to be processed have the tasks of the same processed object as the resource processing tasks, if so (namely the tasks to be processed comprise the tasks with the unique identifiers), the resource processing platform does not allocate new virtual number resources to the processing tasks again as in the related technology, but determines the virtual number resources of the tasks to be processed with the unique identifiers as the virtual number resources, namely the processing tasks of the same processed object share the virtual number resources, so that the defect of interactive resource waste caused by interaction between the resource processing platform and the operator platform again is avoided, interactive resources and interactive cost are saved, and the utilization rate of the virtual number resources is improved.
S303: and if the resource processing mechanism finishes the processing task, adding the residual virtual number resources to a preset resource sharing pool, wherein the resource sharing pool is shared by each resource processing mechanism in the resource processing platform.
For the description of S303, reference may be made to the above embodiments, which are not described herein again.
According to another aspect of the embodiments of the present application, there is also provided a resource processing apparatus, which may be configured to perform the method according to any of the above embodiments, such as performing the method according to any of fig. 2 to 4.
Referring to fig. 5, fig. 5 is a schematic diagram of a resource processing apparatus according to an embodiment of the present application.
As shown in fig. 5, the apparatus includes:
a first determining module 11, configured to determine a processing task of a virtual digital object resource of a resource processing mechanism;
the allocation module 12 is configured to allocate a virtual number resource for offline restoration to the processing task;
an adding module 13, configured to add, if the resource processing mechanism completes the processing task, the remaining virtual number resource to a resource sharing pool preset in a resource processing platform, where the resource sharing pool is shared by each resource processing mechanism in the resource processing platform.
In some embodiments, the allocating module 12 is configured to determine the virtual number resource of the processing task, and allocate the virtual number resource in the resource sharing pool to the resource processing mechanism if the virtual number resource is included in the resource sharing pool.
As can be seen in conjunction with fig. 6, in some embodiments, the apparatus further comprises:
an obtaining module 14, configured to obtain resource attribute information of the resource processing mechanism;
and the suspending module 15 is configured to suspend allocating the virtual number resource to other resource processing mechanisms in the resource processing platform if the resource attribute information is a proprietary attribute.
In some embodiments, the processing task includes a unique identifier of an identity of a processed object, and the allocating module 12 is configured to allocate the virtual number resource from the resource sharing pool to the processing task according to the unique identifier.
In some embodiments, the number of processing tasks is multiple, and multiple processing tasks have the same unique identifier.
As can be seen in conjunction with fig. 6, in some embodiments, the apparatus further comprises:
the second determining module 16 is configured to determine, if the resource processing mechanism completes the processing task, a usage record of the resource processing mechanism for the virtual number resource, and determine resource consumption information of the resource processing mechanism according to the usage record.
In some embodiments, the processing task includes a unique identifier of an identity of a processed object, and the allocation module 12 is configured to, if the task to be processed of the resource processing mechanism includes a task with the unique identifier, determine a virtual number resource of the task to be processed with the unique identifier as the virtual number resource.
According to another aspect of the embodiment of the present application, an embodiment of the present application further provides a resource processing platform, where the resource processing platform includes the resource processing apparatus according to any of the above embodiments, for example, the resource processing apparatus shown in fig. 5 or fig. 6, and further includes a resource sharing pool, where the resource sharing pool is used to store the remaining virtual number resources, and the resource sharing pool is shared by each resource processing mechanism in the resource processing platform.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a memory, a processor;
a memory for storing processor-executable instructions;
wherein, when executing the instructions in the memory, the processor is configured to implement the method according to any of the above embodiments, such as implementing the resource processing method according to any of the embodiments shown in fig. 2 to 4.
Referring to fig. 7, fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
As shown in FIG. 7, the electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of embodiments of the present application described and/or claimed herein.
As shown in fig. 7, the electronic apparatus includes: one or more processors 101, memory 102, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 7 illustrates an example of a processor 101.
The memory 102 is a non-transitory computer readable storage medium provided by the embodiments of the present application. The memory stores instructions executable by at least one processor, so that the at least one processor executes the resource processing method provided by the embodiment of the application. The non-transitory computer-readable storage medium of the embodiments of the present application stores computer instructions for causing a computer to execute the resource processing method provided by the embodiments of the present application.
Memory 102, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules in embodiments of the present application. The processor 101 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 102, that is, implements the resource processing method in the above-described method embodiments.
The memory 102 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 102 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 102 may optionally include memory located remotely from processor 101, which may be connected to an electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, Block-chain-Based Service Networks (BSNs), mobile communication networks, and combinations thereof.
The electronic device may further include: an input device 103 and an output device 104. The processor 101, the memory 102, the input device 103, and the output device 104 may be connected by a bus or other means, and fig. 7 illustrates an example of connection by a bus.
The input device 103 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 104 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Block-chain-Based Service Networks (BSNs), Wide Area Networks (WANs), and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in user equipment. Of course, the processor and the storage medium may reside as discrete components in a communication device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (17)

1. A resource processing method is applied to a resource processing platform, and the method comprises the following steps:
determining a processing task of a virtual digital object resource of a resource processing mechanism;
distributing the virtual number resources for the lost connection repair for the processing task;
and if the resource processing mechanism finishes the processing task, adding the residual virtual number resources to a preset resource sharing pool, wherein the resource sharing pool is shared by all resource processing mechanisms in the resource processing platform.
2. The method of claim 1, wherein allocating the virtual number resource for the processing task for the failover repair comprises:
determining the virtual number resource of the processing task;
and if the resource sharing pool comprises the virtual number resource, allocating the virtual number resource in the resource sharing pool to the resource processing mechanism.
3. The method of claim 1, further comprising:
acquiring resource attribute information of the resource processing mechanism;
and if the resource attribute information is the proprietary attribute, suspending allocation of the virtual number resources to other resource processing mechanisms in the resource processing platform.
4. The method of claim 1, wherein the processing task comprises a unique identification of an identity of a processed object, and wherein allocating a virtual number resource for failover repair to the processing task comprises: and allocating the virtual number resources to the processing tasks from the resource sharing pool according to the unique identifier.
5. The method of claim 4, wherein the number of processing tasks is plural, and a plurality of processing tasks have the same unique identifier.
6. The method according to any one of claims 1 to 5, further comprising:
if the resource processing mechanism finishes the processing task, determining the use record of the resource processing mechanism for the virtual number resource;
and determining resource consumption information of the resource processing mechanism according to the usage record.
7. The method according to any one of claims 1 to 5, wherein the processing task comprises a unique identification of an identity of a processed object, and wherein allocating a virtual number resource for offline repair to the processing task comprises:
and if the task to be processed of the resource processing mechanism comprises the task with the unique identifier, determining the virtual number resource of the task to be processed with the unique identifier as the virtual number resource.
8. An apparatus for resource handling, the apparatus comprising:
the first determining module is used for determining the processing task of the virtual digital object resource of the resource processing mechanism;
the allocation module is used for allocating the lost connection repaired virtual number resources for the processing task;
and the adding module is used for adding the residual virtual number resources to a preset resource sharing pool in the resource processing platform if the resource processing mechanism finishes the processing task, wherein the resource sharing pool is shared by all the resource processing mechanisms in the resource processing platform.
9. The apparatus of claim 8, wherein the allocating module is configured to determine the virtual number resource of the processing task, and allocate the virtual number resource in the resource sharing pool to the resource processing mechanism if the virtual number resource is included in the resource sharing pool.
10. The apparatus of claim 8, further comprising:
the acquisition module is used for acquiring the resource attribute information of the resource processing mechanism;
and the suspension module is used for suspending the allocation of the virtual number resources to other resource processing mechanisms in the resource processing platform if the resource attribute information is the proprietary attribute.
11. The apparatus of claim 8, wherein the processing task includes a unique identifier of an identity of the processed object, and wherein the allocating module is configured to allocate the virtual number resource from the resource sharing pool to the processing task according to the unique identifier.
12. The apparatus of claim 11, wherein the number of processing tasks is plural, and a plurality of processing tasks have the same unique identifier.
13. The apparatus of any one of claims 8 to 12, further comprising:
and the second determining module is used for determining the use record of the resource processing mechanism for the virtual number resource if the resource processing mechanism completes the processing task, and determining the resource consumption information of the resource processing mechanism according to the use record.
14. The apparatus according to any one of claims 8 to 12, wherein the processing task includes a unique identifier of an identity of a processed object, and the allocation module is configured to, if the task with the unique identifier is included in the tasks to be processed by the resource processing mechanism, determine a virtual number resource of the task to be processed with the unique identifier as the virtual number resource.
15. A resource processing platform, comprising:
the resource processing apparatus of any of claims 8 to 14;
and the resource sharing pool is used for storing the residual virtual number resources and is shared by all resource processing mechanisms in the resource processing platform.
16. An electronic device, comprising: a memory, a processor;
a memory for storing the processor-executable instructions;
wherein the processor, when executing the instructions in the memory, is configured to implement the method of any of claims 1 to 7.
17. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 7.
CN202010979500.XA 2020-09-17 2020-09-17 Resource processing method, device, platform, electronic equipment and storage medium Pending CN112118310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010979500.XA CN112118310A (en) 2020-09-17 2020-09-17 Resource processing method, device, platform, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010979500.XA CN112118310A (en) 2020-09-17 2020-09-17 Resource processing method, device, platform, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112118310A true CN112118310A (en) 2020-12-22

Family

ID=73799893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010979500.XA Pending CN112118310A (en) 2020-09-17 2020-09-17 Resource processing method, device, platform, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112118310A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626193A (en) * 2021-08-10 2021-11-09 挂号网(杭州)科技有限公司 Resource allocation method, device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070233928A1 (en) * 2006-03-31 2007-10-04 Robert Gough Mechanism and apparatus for dynamically providing required resources for a hot-added PCI express endpoint or hierarchy
CN104657216A (en) * 2015-02-04 2015-05-27 华为技术有限公司 Resource allocation method and device for resource pool
US20160092677A1 (en) * 2014-09-30 2016-03-31 Amazon Technologies, Inc. Allocation of shared system resources
CN106293869A (en) * 2015-05-26 2017-01-04 阿里巴巴集团控股有限公司 A kind of resource allocation methods and device
US9569277B1 (en) * 2016-01-29 2017-02-14 International Business Machines Corporation Rebalancing virtual resources for virtual machines based on multiple resource capacities
CN107563850A (en) * 2017-08-16 2018-01-09 广州亦云信息技术股份有限公司 Based on shared economic virtual resource management method, application method, apparatus and system
CN107580151A (en) * 2017-09-14 2018-01-12 北京行圆汽车信息技术有限公司 The distribution method and device of virtual-number
CN108052384A (en) * 2017-12-27 2018-05-18 联想(北京)有限公司 A kind of task processing method, service platform and electronic equipment
CN110941481A (en) * 2019-10-22 2020-03-31 华为技术有限公司 Resource scheduling method, device and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070233928A1 (en) * 2006-03-31 2007-10-04 Robert Gough Mechanism and apparatus for dynamically providing required resources for a hot-added PCI express endpoint or hierarchy
US20160092677A1 (en) * 2014-09-30 2016-03-31 Amazon Technologies, Inc. Allocation of shared system resources
CN104657216A (en) * 2015-02-04 2015-05-27 华为技术有限公司 Resource allocation method and device for resource pool
CN106293869A (en) * 2015-05-26 2017-01-04 阿里巴巴集团控股有限公司 A kind of resource allocation methods and device
US9569277B1 (en) * 2016-01-29 2017-02-14 International Business Machines Corporation Rebalancing virtual resources for virtual machines based on multiple resource capacities
CN107563850A (en) * 2017-08-16 2018-01-09 广州亦云信息技术股份有限公司 Based on shared economic virtual resource management method, application method, apparatus and system
CN107580151A (en) * 2017-09-14 2018-01-12 北京行圆汽车信息技术有限公司 The distribution method and device of virtual-number
CN108052384A (en) * 2017-12-27 2018-05-18 联想(北京)有限公司 A kind of task processing method, service platform and electronic equipment
CN110941481A (en) * 2019-10-22 2020-03-31 华为技术有限公司 Resource scheduling method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626193A (en) * 2021-08-10 2021-11-09 挂号网(杭州)科技有限公司 Resource allocation method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111694646A (en) Resource scheduling method and device, electronic equipment and computer readable storage medium
CN111586128A (en) Method, device and equipment for acquiring applet data and storage medium
CN111240836A (en) Computing resource management method and device, electronic equipment and storage medium
CN111506401A (en) Automatic driving simulation task scheduling method and device, electronic equipment and storage medium
CN110706093A (en) Accounting processing method and device
CN111880914A (en) Resource scheduling method, resource scheduling apparatus, electronic device, and storage medium
CN113849312A (en) Data processing task allocation method and device, electronic equipment and storage medium
CN110619002A (en) Data processing method, device and storage medium
CN112565356A (en) Data storage method and device and electronic equipment
CN112118310A (en) Resource processing method, device, platform, electronic equipment and storage medium
CN111563253B (en) Intelligent contract operation method, device, equipment and storage medium
CN111985760B (en) Data content evaluation method and device, electronic equipment and storage medium
CN109558210B (en) Method and system for virtual machine to apply GPU (graphics processing Unit) equipment of host
CN111339187A (en) Data processing method, device, equipment and storage medium based on intelligent contract
CN111176838A (en) Method and device for distributing embedded vectors for nodes in bipartite graph
CN111124291A (en) Data storage processing method and device of distributed storage system and electronic equipment
CN114466012B (en) Content initialization method, device, electronic equipment and storage medium
EP3869732A1 (en) Method and apparatus for processing resource of block chain, device, medium and computer program product
CN114090247A (en) Method, device, equipment and storage medium for processing data
CN113747423A (en) Cloud mobile phone state synchronization method, device, equipment, storage medium and program product
CN103051607B (en) Access method, equipment and system
CN113239011A (en) Database capacity expansion method, device and system
CN109561146A (en) Document down loading method, device, terminal device
CN112799790B (en) Scheduling method, scheduling device, electronic equipment and computer storage medium
CN113918402A (en) Early warning method and device for storage resources, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Beijing Economic and Technological Development Zone, 100176

Applicant before: Jingdong Digital Technology Holding Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20201222