Resource information configuration processing method and device, computer equipment, readable storage medium and program product
By working collaboratively with the main equipment and secondary equipment, resource usage parameter values are generated for different target groups, solving the problem of identical resource usage parameter values for secondary equipment and improving the flexibility and efficiency of resource allocation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-23
- Publication Date
- 2026-03-31
AI Technical Summary
In industries with multiple branches, such as finance, when secondary equipment provides resources to different entities, the resource usage parameter values are the same, resulting in poor flexibility.
The main device sends the full configuration information. After the secondary device reports the resource type, the primary device determines the candidate resource configuration information and generates the target resource configuration information according to the allowable range of resource usage parameters of the target group, and sends it to the secondary device.
It improves the flexibility and efficiency of resource processing, ensures the authority of target resource allocation information, and avoids repeated adjustments to the full allocation information.
Smart Images

Figure CN121771012A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of resource processing technology, and in particular to a resource information configuration and processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Technology
[0002] In industries with multiple layers of branches, such as finance, a hierarchical system of "main equipment - primary equipment - secondary equipment" can be adopted. Secondary equipment can provide resources to objects, which can then use those resources. When providing resources, secondary equipment can incorporate resource usage parameters; for example, these parameters can include the amount of resource used, allowing secondary equipment to provide resources matching that usage; alternatively, they can include a resource usage price, enabling secondary equipment to provide resources based on that price.
[0003] In related technologies, when secondary devices provide resources to different objects, the resource usage parameter values used are the same, which results in poor flexibility. Summary of the Invention
[0004] Therefore, it is necessary to provide a resource information configuration processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product to address the above-mentioned technical problems.
[0005] Firstly, this application provides a resource information configuration processing method, including:
[0006] The system receives full configuration information from the main control device and generates resource type reporting instructions, which are then sent to the secondary devices. The full configuration information includes multiple resource configuration information entries. Each resource configuration information entry includes the allowable range of resource usage parameters for different target groups based on the corresponding resource type. The secondary devices are devices controlled by the primary control device.
[0007] Based on the resource type reported by the secondary device, candidate resource configuration information for the secondary device is determined from the multiple resource configuration information included in the full configuration information;
[0008] Based on the allowed range of resource usage parameters for one type of object group according to the resource type included in the candidate resource configuration information, the resource usage parameter value for one type of object group is determined to obtain the target resource configuration information;
[0009] The target resource configuration information is sent to the secondary device.
[0010] In one embodiment, based on the resource type reported by the secondary device, candidate resource configuration information for the secondary device is determined from the multiple resource configuration information included in the full configuration information, including:
[0011] Among the multiple resource configuration information included in the full configuration information, determine the resource configuration information that matches the resource type reported by the secondary device;
[0012] Resource configuration information that matches the resource type reported by the secondary device is determined as candidate resource configuration information for the secondary device.
[0013] In one embodiment, after sending the target resource configuration information to the secondary device, the method further includes:
[0014] Receive incremental update information sent by the main management device; the incremental update information is used to indicate a change to at least one of the resource configuration information;
[0015] When it is determined that the secondary device is affected by the incremental update information, updated target resource configuration information for the secondary device is generated based on the incremental update information and the target resource configuration information.
[0016] The updated target resource configuration information is sent to the secondary device.
[0017] In one embodiment, the method further includes:
[0018] Determine the resource type involved in the incremental update information;
[0019] If the resource type reported by the secondary device includes the resource type involved in the incremental update information, then it is determined that the secondary device is affected by the incremental update information.
[0020] In one embodiment, updated target resource configuration information for the secondary device is generated based on the incremental update information and the target resource configuration information, including:
[0021] When the resource type in the target resource configuration information matches the resource type involved in the incremental update information, the target resource configuration information is updated according to the incremental update information to obtain the updated target resource configuration information for the secondary device.
[0022] In one embodiment, determining the resource usage parameter value for a resource type for a specific object group based on the allowed range of resource usage parameters for a particular object group according to the resource type included in the candidate resource configuration information includes:
[0023] Based on the resource types included in the candidate resource configuration information and the allowable range of resource usage parameters for one type of object group, the recommended resource usage parameter values are determined.
[0024] Send a resource parameter confirmation request to the secondary device; the resource parameter confirmation request carries the suggested resource usage parameter value;
[0025] When the resource parameter confirmation response from the secondary device indicates that the secondary device agrees with the suggested resource usage parameter value, the suggested resource usage parameter value is determined as the resource usage parameter value for one type of object group;
[0026] When the resource parameter confirmation response from the secondary device indicates that the secondary device disagrees with the suggested resource usage parameter value, based on the reason information for the disagreement provided by the secondary device, it is determined whether the suggested resource usage parameter value should be determined as the resource usage parameter value for one type of object group.
[0027] Secondly, this application also provides a resource information configuration processing apparatus, comprising:
[0028] The reporting trigger module is used to receive the full configuration information sent by the master device, and to generate a resource type reporting instruction and send it to the secondary device; the full configuration information includes multiple resource configuration information; each resource configuration information includes the allowable range of resource usage parameters for different target groups for the corresponding resource type; the secondary device is a device controlled by the master device;
[0029] The candidate information determination module is used to determine candidate resource configuration information for the secondary device from among the multiple resource configuration information included in the full configuration information, based on the resource type reported by the secondary device.
[0030] The target information determination module is used to determine the resource usage parameter value of the resource type for one object group based on the allowed range of resource usage parameters for one object group included in the candidate resource configuration information, and obtain the target resource configuration information;
[0031] The target information sending module is used to send the target resource configuration information to the secondary device.
[0032] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0033] The system receives full configuration information from the main control device and generates resource type reporting instructions, which are then sent to the secondary devices. The full configuration information includes multiple resource configuration information entries. Each resource configuration information entry includes the allowable range of resource usage parameters for different target groups based on the corresponding resource type. The secondary devices are devices controlled by the primary control device.
[0034] Based on the resource type reported by the secondary device, candidate resource configuration information for the secondary device is determined from the multiple resource configuration information included in the full configuration information;
[0035] Based on the allowed range of resource usage parameters for one type of object group according to the resource type included in the candidate resource configuration information, the resource usage parameter value for one type of object group is determined to obtain the target resource configuration information;
[0036] The target resource configuration information is sent to the secondary device.
[0037] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0038] The system receives full configuration information from the main control device and generates resource type reporting instructions, which are then sent to the secondary devices. The full configuration information includes multiple resource configuration information entries. Each resource configuration information entry includes the allowable range of resource usage parameters for different target groups based on the corresponding resource type. The secondary devices are devices controlled by the primary control device.
[0039] Based on the resource type reported by the secondary device, candidate resource configuration information for the secondary device is determined from the multiple resource configuration information included in the full configuration information;
[0040] Based on the allowed range of resource usage parameters for one type of object group according to the resource type included in the candidate resource configuration information, the resource usage parameter value for one type of object group is determined to obtain the target resource configuration information;
[0041] The target resource configuration information is sent to the secondary device.
[0042] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0043] The system receives full configuration information from the main control device and generates resource type reporting instructions, which are then sent to the secondary devices. The full configuration information includes multiple resource configuration information entries. Each resource configuration information entry includes the allowable range of resource usage parameters for different target groups based on the corresponding resource type. The secondary devices are devices controlled by the primary control device.
[0044] Based on the resource type reported by the secondary device, candidate resource configuration information for the secondary device is determined from the multiple resource configuration information included in the full configuration information;
[0045] Based on the allowed range of resource usage parameters for one type of object group according to the resource type included in the candidate resource configuration information, the resource usage parameter value for one type of object group is determined to obtain the target resource configuration information;
[0046] The target resource configuration information is sent to the secondary device.
[0047] The aforementioned resource information configuration processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product can configure target resource configuration information for secondary devices. This target resource configuration information can include resource usage parameter values for different target groups based on resource types, thereby avoiding the problem of secondary devices using the same resource usage parameter values when providing resources to different objects, and improving the flexibility of resource processing. Furthermore, after receiving the full configuration information sent by the master device, the primary device determines candidate resource configuration information based on the full configuration information and the resource types reported by the secondary devices. Adjusting the candidate resource configuration information related to the secondary devices is sufficient to generate the target resource configuration information, eliminating the need to adjust the full configuration information and improving resource processing efficiency. Moreover, since the candidate resource configuration information is part of the full configuration information sent by the master device, the allowable range of resource usage parameters for different target groups included in the candidate configuration information can be considered as approved by the master device, thus ensuring the authority of the subsequently generated target resource configuration information. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 This is an application environment diagram of a resource information configuration processing method in one embodiment;
[0050] Figure 2 This is a flowchart illustrating a resource information configuration processing method in one embodiment;
[0051] Figure 3 This is a flowchart illustrating the process of determining candidate resource configuration information in one embodiment.
[0052] Figure 4 This is a flowchart illustrating the resource information configuration processing method in another embodiment;
[0053] Figure 5 This is a structural block diagram of a resource information configuration processing device in one embodiment;
[0054] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. It should be noted that existing industry solutions such as software, components, and models may be mentioned in the embodiments of this application. These should be considered exemplary and are intended only to illustrate the feasibility of implementing the technical solutions of this application, but do not imply that the applicant has already used or necessarily used such solutions.
[0056] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with relevant regulations. The acquisition, storage, use and processing of data in the technical solution of this application all comply with the relevant provisions of national laws and regulations.
[0057] The terms "first," "second," etc., used in this application may be used to describe various objects, but these objects are not limited by these terms. These terms are only used to distinguish the first object from the second object. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0058] The resource information configuration processing method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, a central control device can manage several primary devices, and each primary device can manage several secondary devices. The central control device can send full configuration information to each primary device. After receiving the full configuration information, the primary devices can generate resource type reporting instructions and send them to the secondary devices managed by the primary devices. The primary devices can determine candidate resource configuration information for the secondary devices from the multiple resource configuration information included in the full configuration information based on the resource types reported by the secondary devices. Based on the allowable range of resource usage parameters for a certain object group for the resource type included in the candidate resource configuration information, the primary devices can determine the resource usage parameter values for a certain object group for the resource type, obtain the target resource configuration information, and send the target resource configuration information to the secondary devices.
[0059] Among them, the main control equipment, primary equipment, and secondary equipment can be implemented using servers. Servers can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide cloud computing services.
[0060] In one exemplary embodiment, such as Figure 2 As shown, a resource information configuration processing method is provided, which is applied to... Figure 1 Taking the primary equipment as an example, the explanation includes the following steps 201 to 204. Wherein:
[0061] Step 201: Receive the full configuration information sent by the main control device, and generate a resource type reporting instruction and send it to the secondary device.
[0062] The main equipment can be the equipment that manages and controls the primary equipment; each primary equipment can manage several secondary equipment, that is, secondary equipment can be the equipment managed by the primary equipment.
[0063] The main equipment can generate multiple resource configuration information, and a full configuration information can be formed based on these multiple resource configuration information. In other words, the full configuration information can include multiple resource configuration information.
[0064] Each resource configuration information may include the allowable range of resource usage parameters for different target groups for the corresponding resource type. For example, the multiple resource configuration information generated by the main management device may be as shown in Table 1.
[0065] Table 1
[0066]
[0067] In the example in Table 1, a row can represent a resource configuration information. For example, one resource configuration information may include the allowed range of resource usage parameters for resource type a for object group ①. The object group can be preset, and each object can have an object group to which it belongs. Here, resources can be, but are not limited to, storage space. Accordingly, resource types can include cloud storage space and database storage space, etc., and the allowed range of resource usage parameters can be the lower and upper limits of the allowed storage space. Resources can be, but are not limited to, financial products. Accordingly, resource types can include the type of financial product, and the allowed range of resource usage parameters can be the lower and upper limits of the allowed product price.
[0068] After receiving the full configuration information, the Level 1 device can generate a resource type reporting command and send it to the Level 2 devices controlled by the Level 1 device. The resource type reporting command can be used to instruct the Level 2 devices to report the resource types of the resources they possess to the Level 1 device.
[0069] Step 202: Based on the resource type reported by the secondary device, determine the candidate resource configuration information for the secondary device from the multiple resource configuration information included in the full configuration information.
[0070] As an example, a secondary device might report a resource type of 'a'. A primary device, from among the multiple resource configuration information included in the full configuration information, can identify the resource configuration information corresponding to resource type 'a', such as "Resource type a, object group ①, allowed range of resource usage parameters", "Resource type a, object group ②, allowed range of resource usage parameters", or "Resource type a, object group ③, allowed range of resource usage parameters". The primary device can then identify the resource configuration information corresponding to resource type 'a' as candidate resource configuration information.
[0071] Step 203: Based on the allowable range of resource usage parameters for one type of object group included in the candidate resource configuration information, determine the resource usage parameter values for one type of object group to obtain the target resource configuration information.
[0072] Based on the information of the secondary devices, the primary device can adjust the allowable range of resource usage parameters in the candidate resource configuration information to the corresponding resource usage parameter values, thereby obtaining the target resource configuration information for the secondary devices. For example, if a candidate resource configuration is "cloud storage space, target group ①, 100G-150G", the primary device can determine a value within 100G-150G, such as 120G, based on the secondary devices' information. Alternatively, it can change "100G-150G" in the candidate resource configuration information to 120G, thus obtaining the target resource configuration information for that secondary device, namely "cloud storage space, target group ①, 120G".
[0073] Step 204: Send the target resource configuration information to the secondary device.
[0074] After receiving the target resource configuration information for the secondary device, the primary device can send the target resource configuration information to the secondary device. Subsequently, when the secondary device receives a resource usage request from an object, it can determine the object group to which the object belongs and the resource type requested by the object. Based on the object group and resource type, it can determine the corresponding target resource configuration information from the target resource configuration information sent by the primary device and provide the corresponding resources to the object according to the resource usage parameter values in the corresponding target resource configuration information.
[0075] In the above-described resource information configuration processing method, target resource configuration information can be configured for secondary devices. This target resource configuration information can include resource usage parameter values for different target groups based on resource types. This avoids the problem of secondary devices using the same resource usage parameter values when providing resources to different targets, thus improving the flexibility of resource processing. Moreover, after receiving the full configuration information sent by the master device, the primary device determines candidate resource configuration information based on the full configuration information and the resource types reported by the secondary devices. The target resource configuration information can be generated by adjusting the candidate resource configuration information related to the secondary devices, without needing to adjust the full configuration information, thereby improving resource processing efficiency. Furthermore, since the candidate resource configuration information is part of the resource configuration information in the full configuration information sent by the master device, the allowable range of resource usage parameters for different target groups included in the candidate resource configuration information can be considered as being recognized by the master device, thus ensuring the authority of the subsequently generated target resource configuration information.
[0076] In one exemplary embodiment, such as Figure 3 As shown, step S202, which involves determining candidate resource configuration information for the secondary device from multiple resource configuration information included in the full configuration information based on the resource type reported by the secondary device, may include the following steps:
[0077] Step S301: Among the multiple resource configuration information included in the full configuration information, determine the resource configuration information that matches the resource type reported by the secondary device; Step S302: Determine the resource configuration information that matches the resource type reported by the secondary device as the candidate resource configuration information for the secondary device.
[0078] As an implementation method, after receiving the full configuration information, the primary device can obtain multiple resource configuration information included in the full configuration information; each resource configuration information can have a corresponding resource type. If the resource type corresponding to a certain resource configuration information matches the resource type reported by the secondary device, the primary device can determine that resource configuration information as a candidate resource configuration information for the secondary device.
[0079] As an example, the resource type reported by a secondary device can be resource type b. The primary device, from the multiple resource configuration information included in the full configuration information, can determine the resource configuration information corresponding to resource type b, such as "resource type b, object group ②, allowed range of resource usage parameters" or "resource type b, object group ④, allowed range of resource usage parameters". The primary device can determine the resource configuration information corresponding to resource type b as the candidate resource configuration information for that secondary device.
[0080] In this embodiment, after receiving the full configuration information, the primary device can trigger the managed secondary device to actively report the resource type. Subsequently, the primary device can quickly determine the candidate resource configuration information for the secondary device by matching the resource type reported by the secondary device with the corresponding resource type in the resource configuration information. This can improve the efficiency of resource configuration and avoid sending the full configuration information to the secondary device, thus preventing excessive invalid information from consuming network bandwidth resources.
[0081] In an exemplary embodiment, after sending the target resource configuration information to the secondary device, the method further includes:
[0082] Receive incremental update information sent by the main control device; the incremental update information is used to indicate changes to at least one resource configuration information; when it is determined that a secondary device is affected by the incremental update information, generate updated target resource configuration information for the secondary device based on the incremental update information and the target resource configuration information; and send the updated target resource configuration information to the secondary device.
[0083] As an example, a certain resource configuration information can be "cloud storage space, object group ①, 100G-150G". The managing device can change the upper limit of the storage space in this resource configuration information, for example, to 160G. The managing device can generate incremental update information, such as "cloud storage space, object group ①, upper limit adjusted to 160G".
[0084] After receiving incremental update information, if a Level 1 device determines that a Level 2 device is affected by the incremental update information, it can generate updated target resource configuration information for that Level 2 device based on the incremental update information and the corresponding target resource configuration information for that Level 2 device.
[0085] As an example, the target resource configuration information for this secondary device could be "cloud storage space, target group ①, 120G"; the incremental update information could be "cloud storage space, target group ①, upper limit adjusted to 160G"; the primary device can determine the resource configuration information related to the incremental update information in the full configuration information, which is "cloud storage space, target group ①, 100G-150G". The primary device can adjust the upper limit of the storage space in this resource configuration information according to the incremental update information, thus obtaining "cloud storage space, target group ①, 100G-160G". The primary device can determine a value within 100G-160G, such as 130G, based on the secondary device's situation and the adjusted resource configuration information "cloud storage space, target group ①, 100G-160G". It can then change "120G" in the target resource configuration information to 130G, thus obtaining the updated target resource configuration information for this secondary device, namely "cloud storage space, target group ①, 130G".
[0086] In this embodiment, after receiving the incremental update information sent by the main device, the primary device does not need to resend the incremental update information to each secondary device, thus saving network transmission resources. Subsequently, the primary device can determine the secondary devices affected by the incremental update information. Based on the incremental update information and the target resource configuration information, it can automatically generate updated target resource configuration information for the secondary devices and send the updated target resource configuration information to the secondary devices. This enables targeted updates of resource configuration information for secondary devices, improving processing flexibility.
[0087] In one exemplary embodiment, the method provided in this application further includes:
[0088] Determine the resource types involved in the incremental update information; if the resource types reported by the secondary device include those involved in the incremental update information, then determine that the secondary device is affected by the incremental update information.
[0089] As an example, the incremental update information sent by the main device could be "Cloud storage space, object group ①, upper limit set to 160G".
[0090] Upon receiving incremental update information, Level 1 devices can parse the information to determine that the resource type carried in the update is "cloud storage space." Level 1 devices can also retrieve resource types previously reported by Level 2 devices. If a Level 2 device reports a resource type including "cloud storage space," it can be determined that the Level 2 device has been affected by the incremental update information.
[0091] In this embodiment, after receiving incremental update information, the primary device can quickly and accurately determine whether the secondary device is affected by the incremental update information based on the resource types reported by the secondary device, including the resource types involved in the incremental update information, without triggering the secondary device to report again, which can improve processing efficiency.
[0092] In an exemplary embodiment, updated target resource configuration information for secondary devices is generated based on incremental update information and target resource configuration information, including:
[0093] When the resource type in the target resource configuration information matches the resource type involved in the incremental update information, the target resource configuration information is updated according to the incremental update information to obtain the updated target resource configuration information for the secondary device.
[0094] As an implementation method, after determining that the secondary device is affected by the incremental update information, the primary device can determine the matching target resource configuration information from several target resource configuration information for the secondary device based on the resource type involved in the incremental update information. The resource type in the target resource configuration information can match the resource type involved in the incremental update information.
[0095] Level 1 devices can determine the matching resource configuration information from multiple resource configuration information in the full configuration information based on the resource types involved in the incremental update information. The resource types in this resource configuration information can match the resource types involved in the incremental update information.
[0096] Level 1 devices can adjust matching resource configuration information based on incremental update information, such as adjusting the allowable range of resource usage parameters in the matching resource configuration information, thereby obtaining the adjusted resource configuration information. Level 1 devices can determine the resource usage parameter values for Level 2 devices based on the status of Level 2 devices and the adjusted resource configuration information, thereby obtaining the updated target resource configuration information for Level 2 devices.
[0097] This embodiment can avoid global refresh of irrelevant configurations and can perform targeted modification of target resource configuration information of secondary devices affected by incremental update information, thereby reducing computational overhead and subsequent data synchronization.
[0098] In an exemplary embodiment, determining the resource usage parameter value for a resource type for a particular object group based on the allowed range of resource usage parameters for a particular object group included in the candidate resource configuration information includes:
[0099] Based on the resource type and the allowed range of resource usage parameters for one target group included in the candidate resource configuration information, determine the recommended resource usage parameter values; send a resource parameter confirmation request to the secondary device; the resource parameter confirmation request carries the recommended resource usage parameter values; when the resource parameter confirmation response from the secondary device indicates that the secondary device agrees with the recommended resource usage parameter values, the recommended resource usage parameter values are determined as the resource usage parameter values for one target group of the resource type; when the resource parameter confirmation response from the secondary device indicates that the secondary device disagrees with the recommended resource usage parameter values, determine whether to determine the recommended resource usage parameter values as the resource usage parameter values for one target group of the resource type based on the reason information for disagreement provided by the secondary device.
[0100] As an example, a candidate resource configuration might be "Cloud storage space, target group ①, 100G-150G". The primary device can determine a value within this range, such as 120G, based on the secondary device's configuration. This value can be called the suggested resource usage parameter value. The primary device can send a resource parameter confirmation request to the secondary device. This request can be used by the secondary device to determine whether it agrees to set the cloud storage space usage for target group ① to 120G.
[0101] Upon receiving a resource parameter confirmation request, the secondary device can determine whether to agree based on its own circumstances and generate a corresponding resource parameter confirmation response. The secondary device can then send the resource parameter confirmation response back to the primary device.
[0102] If the resource parameter confirmation response indicates that the secondary device agrees with the suggested resource usage parameter value, the primary device can determine 120G as the cloud storage space usage value for target group ①, and can change "100G-150G" in the candidate resource configuration information to 120G, thereby obtaining the target resource configuration information for the secondary device, namely "cloud storage space, target group ①, 120G".
[0103] If the resource parameter confirmation response indicates disagreement with the suggested resource usage parameter value, the primary device can parse the reason for the secondary device's disagreement from the resource parameter confirmation response. Based on this reason, the primary device can determine whether to continue using 120G. If the primary device decides to continue using 120G, it can change "100G-150G" in the candidate resource configuration information to 120G, thus obtaining the target resource configuration information for that secondary device, namely "cloud storage space, target group ①, 120G". If the primary device decides not to continue using 120G, it can determine a new value from "100G-150G" and use this value as the resource usage parameter value. It can then change "100G-150G" in the candidate resource configuration information to this resource usage parameter value, thus obtaining the target resource configuration information for that secondary device.
[0104] This embodiment utilizes a "suggestion-confirmation-adjudication" negotiation mechanism to ensure that primary equipment retains the final decision-making authority while fully respecting the on-site information advantages of secondary equipment as the front-line execution unit. Secondary equipment can raise objections to suggestions that do not conform to local conditions and explain the reasons, allowing primary equipment to make intelligent adjudications. This improves the rationality of resource allocation and the overall collaborative efficiency of the system.
[0105] In one exemplary embodiment, such as Figure 4 As shown, a resource information configuration processing method is also provided, which may include the following steps:
[0106] Step S401: Receive the full configuration information sent by the main control device, and generate a resource type reporting instruction and send it to the secondary device.
[0107] The full configuration information can include multiple resource configuration information; each resource configuration information can include the allowable range of resource usage parameters for different target groups for the corresponding resource type; secondary devices can be devices managed by primary devices.
[0108] Step S402: Among the multiple resource configuration information included in the full configuration information, determine the resource configuration information that matches the resource type reported by the secondary device.
[0109] Step S403: The resource configuration information that matches the resource type reported by the secondary device is determined as the candidate resource configuration information for the secondary device.
[0110] Step S404: Determine the recommended resource usage parameter values based on the allowed range of resource usage parameters for one type of object group, according to the resource types included in the candidate resource configuration information.
[0111] Step S405: Send a resource parameter confirmation request to the secondary device; the resource parameter confirmation request carries the suggested resource usage parameter values.
[0112] Step S406: When the resource parameter confirmation response from the secondary device indicates that the secondary device agrees with the suggested resource usage parameter value, the suggested resource usage parameter value is determined as the resource usage parameter value for one type of object group, so as to obtain the target resource configuration information.
[0113] Step S407: When the resource parameter confirmation response from the secondary device indicates that the secondary device disagrees with the suggested resource usage parameter value, based on the reason information of the disagreement from the secondary device, determine whether to determine the suggested resource usage parameter value as the resource usage parameter value for one type of object group, so as to obtain the target resource configuration information.
[0114] Step S408: Send the target resource configuration information to the secondary device.
[0115] Step S409: Receive incremental update information sent by the main control device.
[0116] Step S410: Determine the resource types involved in the incremental update information.
[0117] Step S411: If the resource type reported by the secondary device includes the resource type involved in the incremental update information, then it is determined that the secondary device is affected by the incremental update information.
[0118] Step S412: When the resource type in the target resource configuration information matches the resource type involved in the incremental update information, the target resource configuration information is updated according to the incremental update information to obtain the updated target resource configuration information for the secondary device.
[0119] Step S413: Send the updated target resource configuration information to the secondary device.
[0120] As an example, the resource information configuration processing method described above can be applied to the resource information configuration of financial products. Financial products can be, but are not limited to, loan products. Correspondingly, the allowed range of resource usage parameters can be the lower and upper limits of the loan product's interest rate. The master management device can configure and manage the interest rate pricing authorization for loan products, and may include functions for setting customer group interest rate discount control permissions. Configuration information may include product code, target group code, interest rate operator, interest rate calculated value, target interest rate, and pricing model, etc. The primary device can calculate the interest rate of the loan product based on the interest rate operator, interest rate calculated value, target interest rate, and pricing model configured by the master management device, combined with the information from the secondary device. This interest rate is between the lower and upper limits of the loan product's interest rate.
[0121] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0122] Based on the same inventive concept, this application also provides a resource information configuration processing apparatus for implementing the resource information configuration processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more resource information configuration processing apparatus embodiments provided below can be found in the limitations of the resource information configuration processing method described above, and will not be repeated here.
[0123] In one exemplary embodiment, such as Figure 5 As shown, a resource information configuration processing device is provided, comprising:
[0124] The reporting trigger module 501 is used to receive the full configuration information sent by the main management device, and to generate a resource type reporting instruction and send it to the secondary device; the full configuration information includes multiple resource configuration information; each resource configuration information includes the allowable range of resource usage parameters for different target groups for the corresponding resource type; the secondary device is a device managed by the primary device;
[0125] The candidate information determination module 502 is used to determine candidate resource configuration information for the secondary device from among the multiple resource configuration information included in the full configuration information based on the resource type reported by the secondary device.
[0126] The target information determination module 503 is used to determine the resource usage parameter value of the resource type for one object group based on the allowable range of resource usage parameters for one object group according to the resource type included in the candidate resource configuration information, and obtain the target resource configuration information;
[0127] The target information sending module 504 is used to send the target resource configuration information to the secondary device.
[0128] In an exemplary embodiment, the candidate information determination module 502 is configured to:
[0129] Among the multiple resource configuration information included in the full configuration information, resource configuration information that matches the resource type reported by the secondary device is determined; the resource configuration information that matches the resource type reported by the secondary device is determined as candidate resource configuration information for the secondary device.
[0130] In one exemplary embodiment, the apparatus further includes:
[0131] An update information receiving module is used to receive incremental update information sent by the main management device; the incremental update information is used to indicate changes to at least one of the resource configuration information.
[0132] An update processing module is used to generate updated target resource configuration information for the secondary device based on the incremental update information and the target resource configuration information when it is determined that the secondary device is affected by the incremental update information.
[0133] The update information sending module is used to send the updated target resource configuration information to the secondary device.
[0134] In one exemplary embodiment, the apparatus further includes an influence determination module for:
[0135] Determine the resource type involved in the incremental update information; if the resource type reported by the secondary device includes the resource type involved in the incremental update information, then determine that the secondary device is affected by the incremental update information.
[0136] In one exemplary embodiment, the update processing module is configured to:
[0137] When the resource type in the target resource configuration information matches the resource type involved in the incremental update information, the target resource configuration information is updated according to the incremental update information to obtain the updated target resource configuration information for the secondary device.
[0138] In an exemplary embodiment, the target information determination module 504 is used to:
[0139] Based on the allowed range of resource usage parameters for one type of target group according to the resource type included in the candidate resource configuration information, a suggested resource usage parameter value is determined; a resource parameter confirmation request is sent to the secondary device; the resource parameter confirmation request carries the suggested resource usage parameter value; when the resource parameter confirmation response from the secondary device indicates that the secondary device agrees with the suggested resource usage parameter value, the suggested resource usage parameter value is determined as the resource usage parameter value for one type of target group for that resource type; when the resource parameter confirmation response from the secondary device indicates that the secondary device disagrees with the suggested resource usage parameter value, based on the reason information for disagreement provided by the secondary device, it is determined whether to determine the suggested resource usage parameter value as the resource usage parameter value for one type of target group for that resource type.
[0140] Each module in the aforementioned resource information configuration processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0141] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The database stores the data described in the above embodiments. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a resource information configuration processing method.
[0142] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0143] In one exemplary embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps in the various method embodiments described above.
[0144] In one exemplary embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the various method embodiments described above.
[0145] In one exemplary embodiment, a computer program product is provided having a computer program stored thereon, the computer program being executed by a processor of the steps described in the various method embodiments above.
[0146] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0147] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0148] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A resource information configuration processing method, characterized by, The method is applied to a primary device, and the method comprises the following steps: receiving full-amount configuration information sent by a trunk device, and generating a resource type reporting instruction and sending the resource type reporting instruction to a secondary device; the full-amount configuration information comprises a plurality of resource configuration information; each resource configuration information comprises a resource use parameter allowable range of a corresponding resource type for different object groups; the secondary device is a device controlled by the primary device; determining candidate resource configuration information for the secondary device from the plurality of resource configuration information comprised in the full-amount configuration information according to a resource type reported by the secondary device; determining a resource use parameter value of the resource type for one of the object groups according to a resource use parameter allowable range of the resource type for one of the object groups comprised in the candidate resource configuration information, to obtain target resource configuration information; sending the target resource configuration information to the secondary device.
2. The method of claim 1, wherein, The method further comprises the following steps: determining resource configuration information matched with the resource type reported by the secondary device from the plurality of resource configuration information comprised in the full-amount configuration information; determining the resource configuration information matched with the resource type reported by the secondary device as the candidate resource configuration information for the secondary device.
3. The method of claim 1, wherein, After the target resource configuration information is sent to the secondary device, the method further comprises the following steps: receiving incremental update information sent by the trunk device; the incremental update information is used for indicating a change to at least one of the resource configuration information; when it is determined that the secondary device is affected by the incremental update information, generating updated target resource configuration information for the secondary device according to the incremental update information and the target resource configuration information; sending the updated target resource configuration information to the secondary device.
4. The method of claim 3, wherein, The method further comprises the following steps: determining a resource type involved in the incremental update information; if the resource type reported by the secondary device comprises the resource type involved in the incremental update information, it is determined that the secondary device is affected by the incremental update information.
5. The method of claim 3, wherein, The method further comprises the following steps: when the resource type in the target resource configuration information matches the resource type involved in the incremental update information, updating the target resource configuration information according to the incremental update information to obtain the updated target resource configuration information for the secondary device.
6. The method according to any one of claims 1 to 5, characterized in that, determining a suggested resource use parameter value according to the resource use parameter allowable range of the resource type for one of the object groups comprised in the candidate resource configuration information; sending a resource parameter confirmation request to the secondary device; the resource parameter confirmation request carries the suggested resource use parameter value; determining the recommended resource usage parameter value as the resource usage parameter value of the resource type for the one object group when the resource parameter confirmation response fed back by the secondary device indicates that the secondary device agrees with the recommended resource usage parameter value; determining whether to determine the recommended resource usage parameter value as the resource usage parameter value of the resource type for the one object group according to the disagreement reason information fed back by the secondary device when the resource parameter confirmation response fed back by the secondary device indicates that the secondary device disagrees with the recommended resource usage parameter value.
7. A resource information configuration processing apparatus characterized by comprising: The apparatus comprises: a reporting trigger module configured to receive full-quantity configuration information sent by a total management device, and generate and send a resource type reporting instruction to a secondary device; the full-quantity configuration information comprises a plurality of resource configuration information; each resource configuration information comprises a resource usage parameter allowable range of a corresponding resource type for different object groups; the secondary device is a device controlled by a primary device; a candidate information determination module configured to determine candidate resource configuration information for the secondary device from the plurality of resource configuration information comprised in the full-quantity configuration information according to a resource type reported by the secondary device; a target information determination module configured to determine a resource usage parameter value of the resource type for the one object group according to a resource usage parameter allowable range of the resource type for the one object group comprised in the candidate resource configuration information, and obtain target resource configuration information; a target information sending module configured to send the target resource configuration information to the secondary device.
8. The apparatus of claim 7, wherein, The candidate information determination module is configured to: determine resource configuration information matched with the resource type reported by the secondary device from the plurality of resource configuration information comprised in the full-quantity configuration information; and determine the resource configuration information matched with the resource type reported by the secondary device as the candidate resource configuration information for the secondary device.
9. The apparatus of claim 7, wherein, The apparatus further comprises: an update information receiving module configured to receive incremental update information sent by the total management device; the incremental update information is used to indicate a change to at least one of the resource configuration information; an update processing module configured to, when it is determined that the secondary device is affected by the incremental update information, generate updated target resource configuration information for the secondary device according to the incremental update information and the target resource configuration information; an update information sending module configured to send the updated target resource configuration information to the secondary device.
10. The apparatus of claim 9, wherein, The apparatus further comprises an influence determination module configured to: determine a resource type involved in the incremental update information; and determine that the secondary device is affected by the incremental update information if the resource type reported by the secondary device comprises the resource type involved in the incremental update information.
11. The apparatus of claim 9, wherein, The update processing module is configured to: when a resource type in the target resource configuration information matches the resource type involved in the incremental update information, update the target resource configuration information according to the incremental update information to obtain updated target resource configuration information for the secondary device.
12. The apparatus of any one of claims 7 to 11, wherein, The target information determination module is configured to: determining a suggested resource usage parameter value according to the allowed range of resource usage parameter for one of the object groups according to the resource type comprised in the candidate resource configuration information; sending a resource parameter confirmation request to the secondary device, the resource parameter confirmation request carrying the suggested resource usage parameter value; when the resource parameter confirmation response fed back by the secondary device indicates that the secondary device agrees with the suggested resource usage parameter value, determining the suggested resource usage parameter value as the resource usage parameter value for one of the object groups according to the resource type; when the resource parameter confirmation response fed back by the secondary device indicates that the secondary device does not agree with the suggested resource usage parameter value, determining whether to determine the suggested resource usage parameter value as the resource usage parameter value for one of the object groups according to the resource type according to the disagreement reason information fed back by the secondary device.
13. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor, when executing the computer program, implements the steps of the method in any one of claims 1 to 6.
14. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by the processor, implements the steps of the method in any one of claims 1 to 6.
15. A computer program product comprising a computer program, characterized in that, The computer program, when executed by the processor, implements the steps of the method in any one of claims 1 to 6.