Purchase task processing method and device, equipment, storage medium and program product

By obtaining and processing the configuration information of procurement tasks, the problem of inefficient resource allocation and settlement of multiple procurement projects is solved, and more efficient procurement task processing is achieved.

CN119443683APending Publication Date: 2025-02-14BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411555658.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the commodity procurement scenario of business departments, it is difficult for the existing technology to efficiently handle resource allocation and settlement of multiple procurement projects, resulting in inefficient procurement.

Method used

By obtaining the configuration information of the target procurement task, including the object directory and the subdirectory, in response to the procurement task execution request, the resource amount of the target object is determined, and the amount of resources to be occupied is deducted from the allocated second available resource amount.

Benefits of technology

The resource allocation processing for different procurement tasks is realized, complex resource allocation operation processes are reduced, thereby improving procurement efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119443683A_ABST
    Figure CN119443683A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a purchase task processing method and device, equipment, a storage medium and a program product. The method comprises the steps of obtaining configuration information for a target purchase task, wherein the configuration information comprises an object directory associated with the target purchase task and a plurality of sub-directories included in the object directory; in response to determining that the received purchase task execution request is associated with a target purchase task and at least one target object involved in the purchase task execution request belongs to a plurality of objects, determining at least one target subdirectory associated with the at least one target object from a plurality of subdirectories, and a first available resource amount of the corresponding object category corresponding to the at least one target subdirectory; determining the resource quantity occupied by at least one target object from the first available resource quantity based on the purchase task execution request; and deducting the resource quantity to be occupied from the second available resource quantity allocated to the purchase task execution request. Therefore, the processing flow can be simplified in complex task processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the technical field of the Internet and e-commerce, and more specifically, to a method, apparatus, electronic device, computer-readable storage medium, and computer program product for processing a procurement task. Background Art

[0002] In current Internet businesses, there are often scenarios where tasks are processed according to task configurations. Take the commodity procurement scenario of a business department as an example. Business departments usually have multiple procurement projects. In related technologies, the procurement quota of each procurement project is managed using different procurement accounts, and the procurement accounts of each procurement project are usually held by different business personnel. When settling, multiple procurement accounts need to be used for settlement at one time, which leads to low procurement efficiency. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for processing a procurement task is provided. The method includes: obtaining configuration information for a target procurement task, the configuration information including an object directory associated with the target procurement task and multiple subdirectories included in the object directory, the multiple subdirectories being generated based on the categories of multiple objects involved in the object directory; in response to determining that a received procurement task execution request is associated with the target procurement task, and at least one target object involved in the procurement task execution request belongs to multiple objects, determining at least one target subdirectory associated with at least one target object from the multiple subdirectories, and a first available resource amount corresponding to the corresponding object category of the at least one target subdirectory; based on the procurement task execution request, determining the amount of resources to be occupied of at least one target object from the first available resource amount; deducting the amount of resources to be occupied from the second available resource amount allocated to the procurement task execution request, the second available resource amount corresponding to the multiple first available resource amounts.

[0004] In a second aspect of the present disclosure, a device for processing a procurement task is provided. The device includes: an acquisition module configured to obtain configuration information for a target procurement task, the configuration information including an object directory associated with the target procurement task and multiple subdirectories included in the object directory, the multiple subdirectories being generated based on the categories of multiple objects involved in the object directory; a first determination module configured to determine at least one target subdirectory associated with at least one target object from multiple subdirectories in response to determining that the received procurement task execution request is associated with the target procurement task and at least one target object involved in the procurement task execution request belongs to multiple objects, and a first available resource amount corresponding to the corresponding object category of the at least one target subdirectory; a second determination module configured to determine the amount of resources occupied by at least one target object from the first available resource amount based on the procurement task execution request; and a deduction module configured to deduct the amount of resources to be occupied from the second available resource amount allocated to the procurement task execution request, the second available resource amount corresponding to multiple first available resource amounts.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the electronic device executes the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the medium, and when the computer program is executed by a processor, the method of the first aspect is implemented.

[0007] In a fifth aspect of the present disclosure, a computer program product is provided, which includes a computer program, wherein when the computer program is executed by a processor, the method according to the first aspect of the present disclosure is implemented.

[0008] It should be understood that the content described in this section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In the following, in conjunction with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages and aspects of various implementations of the present disclosure will become more apparent. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0010] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;

[0011] Figure 2A schematic diagram of a procurement task processing system according to some embodiments of the present disclosure is shown;

[0012] Figure 3A A schematic diagram showing an example structure of an account binding system according to some embodiments of the present disclosure;

[0013] Figure 3B A flowchart showing a process of account binding according to some embodiments of the present disclosure is shown;

[0014] Figure 4 A flowchart showing a process of purchasing task processing according to some embodiments of the present disclosure;

[0015] Figure 5 A schematic structural block diagram of an apparatus for processing a procurement task according to certain embodiments of the present disclosure is shown; and

[0016] Figure 6 A block diagram of a computing device is shown in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0019] It should be noted that the acquisition, storage and application of user personal information involved in the technical solution of the present disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0020] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the categories, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0021] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information, so that the user can independently choose whether to provide personal information to software or hardware such as electronic devices, applications, servers or storage media that execute operations of the technical solution of the present disclosure based on the prompt message.

[0022] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information is sent to the user in a manner such as a pop-up window, in which the prompt information can be presented in text form. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0023] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation to the embodiments of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the embodiments of the present disclosure.

[0024] As used herein, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning technology. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multi-layer processing units. A neural network model is an example of a model based on deep learning. In this article, "model" may also be referred to as "machine learning model", "learning model", "machine learning network" or "learning network", and these terms are used interchangeably in this article.

[0025] A "neural network" is a machine learning network based on deep learning. A neural network is capable of processing inputs and providing corresponding outputs, and typically includes an input layer and an output layer and one or more hidden layers between the input layer and the output layer. Neural networks used in deep learning applications typically include many hidden layers, thereby increasing the depth of the network. The layers of a neural network are connected in sequence so that the output of the previous layer is provided as input to the next layer, where the input layer receives the input of the neural network and the output of the output layer serves as the final output of the neural network. Each layer of a neural network includes one or more nodes (also called processing nodes or neurons), each of which processes input from the previous layer.

[0026] In some scenarios, an application for purchasing task processing can be provided to display the intermediate status and processing results of purchasing task processing. Taking the office goods purchasing scenario as an example, in some organizations or companies, when purchasing some commonly used items (such as paper, pens, printers, drinking water, etc.), a certain purchase quota is usually allocated to each department within the company or organization or to a certain commodity to facilitate scheduling and allocation within the department. In order to pay suppliers of different categories of goods, departments need to use purchase cards for the corresponding goods. For example, the purchase quota for office supplies can be different from the purchase quota for drinking water, but in order to count the quota for each procurement item (corresponding to the category of goods), it is necessary to set up a purchase card with a different quota for swiping the card.

[0027] In the above-mentioned office goods procurement scenario, each department needs corresponding personnel to purchase from different suppliers, and corresponding procurement cards need to be used for payment during the procurement process. In the scenario of cross-project combined purchases, the deduction cannot be calculated at one time, and multiple cards are required for multiple deductions, which reduces procurement efficiency.

[0028] The embodiment of the present disclosure provides a scheme for processing procurement tasks. According to the scheme, configuration information for a target procurement task is obtained, the configuration information includes an object directory associated with the target procurement task and multiple sub-directories included in the object directory, and the multiple sub-directories are generated based on the categories of multiple objects involved in the object directory; in response to determining that the received procurement task execution request is associated with the target procurement task, and at least one target object involved in the procurement task execution request belongs to multiple objects, at least one target sub-directory associated with at least one target object and a first available resource amount corresponding to the corresponding object category of the at least one target sub-directory are determined from the multiple sub-directories; based on the procurement task execution request, the amount of resources to be occupied by the at least one target object is determined from the corresponding first available resource amount; the amount of resources to be occupied is deducted from the second available resource amount allocated to the procurement task execution request, and the second available resource amount corresponds to the multiple first available resource amounts.

[0029] Therefore, the embodiments of the present disclosure can provide a solution for performing corresponding procurement task processing for different procurement task configurations, thereby reducing the operational procedures for complex resource allocation tasks during the procurement task processing.

[0030] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1As shown, the example environment 100 may include an electronic device 110. The electronic device 110 may run an application 120 that supports procurement task processing. The application 120 may be any appropriate category of application that supports, for example, commodity procurement and resource management, and its examples may include, but are not limited to, e-commerce platforms, payment terminal software, warehouse resource management and other appropriate categories of applications, and the embodiments of the present disclosure are not limited in this respect. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices. The resource usage credential 160 may interact with the electronic device 110 through the application 120. The resource usage credential 160 may, for example, include a carrier of associated user identity information such as a procurement card, an electronic account, and an administrator device. In one example, if the resource usage credential 160 is a procurement card, the electronic device 110 is also connected to a card swiping device for reading the procurement card.

[0031] In the example environment 100, if the application 120 is active, the electronic device 110 may present an interface 150 for supporting the purchase task processing through the application 120. The resources required in the task configuration may be allocated through the resource usage voucher 160 in the interface 150 for supporting the purchase task processing.

[0032] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 may be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio receiver, an e-book device, a game device or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 may also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0033] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports content presentation in the electronic device 110.

[0034] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.

[0035] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.

[0036] Figure 2 1 shows a schematic diagram of a procurement task processing system 200 according to some embodiments of the present disclosure. The procurement task processing system 200 may be run at the electronic device 110 to implement the procurement task processing function of the application 120. For ease of discussion, reference will be made to Figure 1 The procurement task processing system 200 is described with reference to the environment 100 .

[0037] like Figure 2 As shown, the procurement task processing system 200 includes a business interface 210 , a verification module 220 , a database 230 , a calculation module 240 , a catalog generation module 250 and an account binding system 260 .

[0038] In some embodiments, the business interface 210 may be configured to receive a pending procurement task and obtain configuration information of the pending procurement task by parsing, the configuration information including resources to be allocated in the pending procurement task. Taking the commodity procurement settlement step as an example of a pending procurement task, the resources to be allocated are a procurement catalog including commodity categories and commodity names.

[0039] like Figure 2As shown, the directory generation module 250 generates an object directory and an object subdirectory after acquiring the object name and object category of a specific object from the database 230. In response to the generation of the object directory and the object subdirectory, the directory generation module 250 stores the main directory and the subdirectory in the database 230. The object directory includes the object name, and the object subdirectory includes the object category.

[0040] In some embodiments, the catalog generation module 250 may be configured to generate an object catalog and an object sub-catalog based on the object name of a specific object and the object category of a specific object. Taking a specific commodity as an example of a specific object, the main catalog (i.e., the object catalog) includes the commodity name (i.e., the object name) of the specific commodity, and the sub-catalog (i.e., the object sub-catalog) includes the commodity category (i.e., the object category) of the specific commodity. Among them, the commodity category (object category) is set by the user independently based on the commodity procurement task, and is not used to limit the content of this disclosure.

[0041] like Figure 2 As shown, the verification module 220 may receive the target directory in the procurement task execution request from the business interface 210, or may obtain the object directory and the object subdirectory from the database 230. Then, the verification module 220 may obtain the target subdirectory corresponding to each first available resource amount according to the target directory, the object directory and the object subdirectory. The first available resource amount is associated with one or more object subdirectories, and each target subdirectory is associated with one object subdirectory.

[0042] In some embodiments, the verification module 220 may be configured to match the target directory sent by the business interface 210 with the object directory and object subdirectory in the database 230 to obtain a target subdirectory. Taking the commodity purchase scenario as an example, the target directory is the catalog of commodities to be settled, and the target subdirectory is the catalog of commodities to be deducted that meet the quota deduction conditions (i.e., the first available resource amount). The catalog of commodities to be deducted (i.e., the target subdirectory) includes the commodity name and commodity category.

[0043] Additionally, the verification module 220 may first match the object category in the target directory with the object category in the object subdirectory, and remove the target object corresponding to the object category not in the object subdirectory from the target directory to obtain a first transition directory. Further, the verification module 220 matches the object name of the target object in the first transition directory with the object name in the object directory, and removes the target corresponding to the object name not in the object directory from the first transition directory to obtain a second transition directory. Finally, the verification module 220 splits the target object in the second transition directory according to the object category to obtain a target subdirectory.

[0044] like Figure 2As shown, the account binding system 260 is associated with the resource usage credential 160 and is used to configure the resource usage credential 160 .

[0045] In some embodiments, the account binding system 260 may be configured to associate the user's account information and identity information with the resource usage voucher 160. The user's account information is associated with the first available resource information in the procurement task execution request. The resource usage voucher 160 may be associated with a target procurement task, and the second available resource amount corresponding to the resource usage voucher 160 is a collection of the first available resource amount in the target procurement task. A target procurement task may correspond to multiple business personnel, and the account binding system 260 is used to bind the identity information of multiple business personnel to the number of the resource usage voucher.

[0046] like Figure 2 As shown, the calculation module 240 can deduct the resource amount from the second available resource amount of the resource usage voucher 160 in response to receiving the target sub-directory sent by the verification module 220, and generate a resource amount deduction result.

[0047] In some embodiments, the calculation module 240 is configured to calculate the amount of resources occupied by all target objects according to the target subdirectory. Further, the calculation module 240 deducts the amount of resources occupied by the target object from the second available amount of resources in the resource usage voucher 160. Taking the commodity purchase scenario as an example, such as the total amount of office supplies (i.e., the target object) (i.e., the amount of resources to be occupied by the target object), it can be deducted from the office supplies quota corresponding to the office supplies in the deduction card (i.e., the resource usage voucher 160) (i.e., the part of the second available amount of resources corresponding to the first available amount of resources).

[0048] Additionally, when the calculation module 240 is deducting the amount of resources, if the amount of resources to be occupied by the target object exceeds the portion of the second available amount of resources corresponding to the first available amount of resources, an alarm is issued and the deduction is terminated. Taking the commodity purchase scenario as an example, when the total amount of office supplies purchased in the third month of this quarter, the total amount of office supplies in the first month, and the total amount of office supplies in the second month add up to exceed the office supplies quota, a prompt message "exceeding the office supplies quota" will be generated, and all deductions in this deduction will be terminated. For example, if the office supplies quota is exceeded, the corresponding drinking water quota deduction will also be terminated.

[0049] like Figure 2 As shown, the database 230 can store object directories and object subdirectories. In one example, when the database 230 stores the object directories and object subdirectories, the directory number (ID) and the product number (ID) / product category are directly stored as keys.

[0050] Figure 3AA schematic diagram of an account binding system 260 according to some embodiments of the present disclosure is shown. The account binding system 260 can run on the application 120 and is used to associate the user's identity information, resource usage credentials 160 and account information. The account binding system 260 includes an employee information center 265, a binding module 270 and an account center 275.

[0051] Reference Figure 3A The employee information center 265 is used to store the identity information of the business personnel, and the account center 275 is used to store the account information associated with the target procurement task. The binding module 270 is used to bind the information in the employee information center 265 and the account center 275 with the resource usage certificate 160.

[0052] In some embodiments, the binding module 270 may be configured to query the employee's identity information from the employee information center 265 in response to receiving the user's mobile phone number. The binding module 270 then retrieves the resource usage voucher number of the corresponding employee based on the employee's identity information. Further, the binding module 270 associates the resource usage voucher number with the target procurement task, and then retrieves the procurement task execution request and configuration information of the corresponding target procurement task from the account center 275.

[0053] Additionally, when the employee's identity information is not bound to the resource usage voucher number, the binding module 270 generates a unique resource usage voucher number and binds it to the employee's identity information. Further, the binding module 270 determines the target procurement task corresponding to the employee based on the employee's identity information, and then retrieves the corresponding target procurement task and associates it with the resource usage voucher number.

[0054] Therefore, unified resource management for multiple users is achieved through the association of target procurement tasks, resource usage voucher numbers and user identity information.

[0055] Figure 3B A schematic diagram of a process 300 in an account binding system is shown.

[0056] In block 310, the binding module 270 searches the employee's identity information from the employee information center 265 according to the user's mobile phone number, and then retrieves the purchase information corresponding to the employee's identity information according to the employee's identity information.

[0057] In block 320 , the binding module 270 queries the resource usage voucher number corresponding to the employee identity information, and generates a unique resource usage voucher number if there is no resource usage voucher number.

[0058] In block 330 , the binding module 270 associates the resource usage voucher number with the target procurement task, and retrieves the procurement task execution request and configuration information corresponding to the target procurement task from the account center 275 .

[0059] Figure 4 FIG. 4 is a flow chart diagram showing a process 400 of purchasing task processing in an embodiment of the present disclosure. The process 400 may be performed at least in part in Figure 1 The process is shown to be executed at the electronic device 110 .

[0060] In block 410 , in response to receiving a procurement task execution request, the electronic device 110 obtains configuration information for the task.

[0061] In box 420, the electronic device 110 determines one or more target sub-directories associated with the at least one target object and corresponding first available resource quantities of corresponding object categories corresponding to the one or more target sub-directories from multiple sub-directories in response to determining that the received procurement task execution request is associated with the target procurement task and at least one target object involved in the procurement task execution request belongs to multiple objects.

[0062] In block 430 , the electronic device 110 determines, based on the procurement task execution request, a resource amount to be occupied by the at least one target object from the corresponding first available resource amount.

[0063] In block 440 , the electronic device 110 deducts the amount of resources to be occupied from the second available amount of resources allocated to the procurement task execution request.

[0064] In some embodiments, obtaining the configuration information for the target procurement task includes: obtaining the name and category of a specific object in the target procurement task, generating an object directory in the configuration information according to the name of the specific object, and generating multiple subdirectories in the configuration information according to the category of the specific object.

[0065] In some embodiments, determining that at least one target object involved in the procurement task execution request belongs to multiple objects includes: generating a transition directory by screening target objects with the same object category as in multiple subdirectories in the procurement task execution request, the transition directory including the names and categories of the target objects with the same object category as in the multiple subdirectories. And screening target objects with the same object name as in the object directory from the transition directory and generating at least one target subdirectory, the at least one target subdirectory including the name and category of the target object with the same object name as in the object directory.

[0066] In some embodiments, determining at least one target subdirectory associated with at least one target object from a plurality of subdirectories, and the first available resource amount of the corresponding object category corresponding to the at least one target subdirectory comprises: determining, according to the object category of the at least one target subdirectory, a plurality of subdirectories of the same object category as the object category, and, according to the plurality of subdirectories, retrieving the first available resources associated with the plurality of subdirectories.

[0067] In some embodiments, deducting the occupied resource amount from the second available resource amount allocated to the procurement task execution request includes: deducting the resource amount to be occupied by the target object in each target sub-directory from the second available resource amount associated with the first available resource amount.

[0068] In some embodiments, the method 400 further includes: if the amount of resources to be occupied exceeds the second amount of available resources, terminating the deduction.

[0069] In some embodiments, the second available resource amount is associated with at least one user information.

[0070] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 5 A schematic structural block diagram of an apparatus 500 for processing a procurement task according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0071] like Figure 5 As shown, the apparatus 500 includes: an acquisition module 510, configured to acquire configuration information for a target procurement task, the configuration information including an object directory associated with the target procurement task and multiple sub-directories included in the object directory, the multiple sub-directories being generated based on the categories of multiple objects involved in the object directory. The apparatus 500 also includes a first determination module 520, configured to determine at least one target sub-directory associated with at least one target object from multiple sub-directories in response to determining that the received procurement task execution request is associated with the target procurement task and at least one target object involved in the procurement task execution request belongs to multiple objects, and a first available resource amount corresponding to the corresponding object category of the at least one target sub-directory. The apparatus 500 also includes a second determination module 530, configured to determine the resource amount to be occupied of at least one target object from the first available resource amount based on the procurement task execution request. The apparatus 500 also includes a deduction module 540, configured to deduct the resource amount to be occupied from the second available resource amount allocated to the procurement task execution request, the second available resource amount corresponding to the multiple first available resource amounts.

[0072] In some embodiments, the acquisition module 510 is further configured to: acquire the name and category of a specific object in the target procurement task, and generate an object directory in the configuration information according to the name of the specific object, and generate a subdirectory in the configuration information according to the category of the specific object.

[0073] In some embodiments, the apparatus 500 is further configured to generate a transitional directory by screening target objects with the same object category as the multiple sub-directories from the procurement task execution request, the transitional directory including the names and categories of the target objects with the same object category as the multiple sub-directories, and to screen target objects with the same object name as the object directory from the transitional directory to generate at least one target sub-directory, the at least one target sub-directory including the name and category of the target object with the same object name as the object directory.

[0074] In some embodiments, the apparatus 500 is further configured to: determine, according to the object category of the at least one target sub-directory, multiple sub-directories with the same object category, and retrieve, according to the multiple sub-directories, first available resources associated with the multiple sub-directories.

[0075] In some embodiments, the deduction module 540 is further configured to: deduct the amount of resources to be occupied by the target object in each target sub-directory from the second available resource amount associated with the first available resource amount.

[0076] In some embodiments, the deduction module 540 is further configured to terminate the deduction if the amount of resources to be occupied exceeds the second amount of available resources.

[0077] The units and / or modules included in the device 500 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units and / or modules can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units and / or modules in the device 500 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary categories of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0078] It should be understood that one or more steps in the above method can be performed by a suitable electronic device or a combination of electronic devices. Such an electronic device or a combination of electronic devices may include, for example, Figure 1 The electronic device 110 in.

[0079] Figure 6 1 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 6 The electronic device 600 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 6 The electronic device 600 shown can be used to implement Figure 1 Electronic device 110 or Figure 5 Device 500.

[0080] like Figure 6 As shown, the electronic device 600 is in the form of a general electronic device. The components of the electronic device 600 may include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 600.

[0081] The electronic device 600 typically includes a plurality of computer storage media. Such media can be any available media accessible to the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 can be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory) or some combination thereof. The storage device 630 can be a removable or non-removable medium, and can include a machine-readable medium, such as a flash drive, a disk, or any other medium, which can be used to store information and / or data and can be accessed within the electronic device 600.

[0082] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 6 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0083] The communication unit 640 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0084] The input device 650 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 660 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 600, or communicate with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0085] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0086] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0087] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0088] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0089] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0090] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A procurement task processing method, comprising: Acquire configuration information for a target procurement task, the configuration information including an object directory associated with the target procurement task and a plurality of sub-directories included in the object directory, wherein the plurality of sub-directories are generated based on categories of a plurality of objects involved in the object directory; In response to determining that the received procurement task execution request is associated with the target procurement task and that at least one target object involved in the procurement task execution request belongs to the plurality of objects, determining at least one target subdirectory associated with the at least one target object from the plurality of subdirectories, and a first available resource amount of a corresponding object category corresponding to the at least one target subdirectory; Based on the procurement task execution request, determining the amount of resources to be occupied by the at least one target object from the first available amount of resources; as well as The amount of resources to be occupied is deducted from a second amount of available resources allocated to the procurement task execution request, where the second amount of available resources corresponds to a plurality of the first amount of available resources.

2. The method according to claim 1, wherein obtaining the configuration information for the target procurement task comprises: Obtaining the name and category of a specific object in the target procurement task; Generate the object directory in the configuration information according to the name of the specific object; as well as The multiple sub-directories in the configuration information are generated according to the category of the specific object.

3. The method according to claim 1, wherein determining that at least one target object involved in the procurement task execution request belongs to the plurality of objects comprises: Filtering target objects of the same category as the objects in the multiple sub-directories from the procurement task execution request to generate a transitional directory, the transitional directory including names and categories of the target objects of the same category as the objects in the multiple sub-directories; as well as The at least one target sub-directory is generated by screening target objects with the same object name as that in the object directory from the transition directory, and the at least one target sub-directory includes the name and category of the target object with the same object name as that in the object directory.

4. The method according to claim 1, wherein determining, from the plurality of sub-directories, the at least one target sub-directory associated with the at least one target object and the first available resource amount of the corresponding object category corresponding to the at least one target sub-directory comprises: According to the object category of the at least one target sub-directory, determining the plurality of sub-directories having the same object category as the at least one target sub-directory; as well as According to the multiple sub-directories, the first available resources associated with the multiple sub-directories are retrieved.

5. The method according to claim 1, wherein determining the amount of resources to be occupied by the at least one target object from the first available amount of resources based on the procurement task execution request comprises: Determining the amount of resources occupied by each of the target objects in the at least one target subdirectory; Calculate the amount of resources to be occupied by the target object in each target subdirectory according to the amount of resources occupied by each target object; as well as The amount of resources occupied by the at least one target object in the procurement task execution request is determined according to the amount of resources to be occupied by the target object in each target sub-directory.

6. The method according to claim 5, wherein deducting the amount of resources to be occupied from the second available amount of resources allocated to the procurement task execution request comprises: The resource amount to be occupied by the target object in each target sub-directory is deducted from the second available resource amount associated with the first available resource amount.

7. The method according to claim 6, further comprising terminating the deduction if the amount of resources to be occupied exceeds the second amount of available resources. The method according to claim 1 , wherein the second available resource amount is associated with at least one user information.

9. A device for processing a procurement task, comprising: an acquisition module configured to acquire configuration information for a target procurement task, the configuration information comprising an object directory associated with the target procurement task and a plurality of sub-directories included in the object directory, the plurality of sub-directories being generated based on categories of a plurality of objects involved in the object directory; A first determining module is configured to, in response to determining that the received procurement task execution request is associated with the target procurement task and that at least one target object involved in the procurement task execution request belongs to the multiple objects, determine from the multiple subdirectories the at least one target subdirectory associated with the at least one target object and the first available resource amount of the corresponding object category corresponding to the at least one target subdirectory; A second determination module is configured to determine the amount of resources occupied by the at least one target object from the first available amount of resources based on the procurement task execution request; The deduction module is configured to deduct the amount of resources to be occupied from a second amount of available resources allocated to the procurement task execution request, wherein the second amount of available resources corresponds to a plurality of the first amount of available resources.

10. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 8 when executed by the at least one processing unit.

11. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 8.

12. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the method according to any one of claims 1 to 8.