Resource allocation processing method and apparatus
By performing field parsing and matching checks in the resource allocation system to generate resource allocation identifiers, and by intercepting and detecting risks when the checks fail, the problem of request security assurance in the resource allocation system is solved, achieving more efficient resource allocation security and compliance.
Patent Information
- Application Number
- CN202511535390.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-24
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2045-10-24
AI Technical Summary
In a resource allocation system, how can we ensure the security of resource processing amidst a large number of diverse resource allocation requests, especially when the number of requests is growing exponentially?
By obtaining resource requests, the field types are parsed to generate resource allocation identifiers, which are then matched against templates in the resource allocation template library. If the match fails, the processing component is invoked to intercept and perform risk detection.
This improves the security of resource allocation, reduces the probability of incorrect request interception due to misjudgment, and ensures the compliance and security of resource allocation.
Smart Images

Figure CN121000539B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present document relates to the technical field of data processing, and in particular to a resource allocation processing method and device. BACKGROUND
[0002] With the continuous development of Internet technology, various resource processing systems and resource allocation systems are widely used in the field of financial services. These resource allocation systems usually need to process a large number of resource allocation requests of multiple types and involve multiple request processing scenarios. In the case of a growing trend in the number of requests to be processed, how to ensure the security of the requests to be processed to ensure the security of resource processing has become the focus of attention of all parties. SUMMARY
[0003] One or more embodiments of the present specification provide a resource allocation processing method applied to a resource allocation system, the method comprising: obtaining a resource request sent by a resource processing system in a resource link, calling a processing component deployed by the resource allocation system to perform field analysis on the resource request to obtain at least one field type. Generating a resource allocation identifier according to the at least one field type, and matching the resource allocation identifier with a resource allocation template in a resource allocation template library for detection; the resource allocation template corresponds one-to-one to an allocation scenario of resource allocation of the resource allocation system. If the detection fails, calling the processing component to perform interception processing on the resource request to perform risk detection processing on the resource request.
[0004] One or more embodiments of the present specification provide a resource allocation processing device running in a resource allocation system, the device comprising: a request obtaining module configured to obtain a resource request sent by a resource processing system in a resource link, and call a processing component deployed by the resource allocation system to perform field analysis on the resource request to obtain at least one field type. A matching detection module configured to generate a resource allocation identifier according to the at least one field type, and match the resource allocation identifier with a resource allocation template in a resource allocation template library for detection; the resource allocation template corresponds one-to-one to an allocation scenario of resource allocation of the resource allocation system; if the detection fails, run a request interception module. The request interception module is configured to call the processing component to perform interception processing on the resource request to perform risk detection processing on the resource request.
[0005] The one or more embodiments of the specification provide a resource allocation processing device, comprising: a processor; and a memory configured to store computer executable instructions which, when executed, cause the processor to: acquire a resource request sent by a resource processing system in a resource link, call a processing component deployed by the resource allocation system to perform field parsing on the resource request to obtain at least one field type. According to the at least one field type, a resource allocation identifier is generated, and the resource allocation identifier is matched with a resource allocation template in a resource allocation template library for detection; the resource allocation template corresponds one-to-one to an allocation scenario of the resource allocation system. If the detection fails, the processing component is called to perform interception processing on the resource request for risk detection processing.
[0006] The one or more embodiments of the specification provide a computer readable storage medium for storing computer executable instructions, which, when executed, implement the following processes: acquiring a resource request sent by a resource processing system in a resource link, calling a processing component deployed by the resource allocation system to perform field parsing on the resource request to obtain at least one field type. According to the at least one field type, a resource allocation identifier is generated, and the resource allocation identifier is matched with a resource allocation template in a resource allocation template library for detection; the resource allocation template corresponds one-to-one to an allocation scenario of the resource allocation system. If the detection fails, the processing component is called to perform interception processing on the resource request for risk detection processing. BRIEF DESCRIPTION OF DRAWINGS
[0007] In order to more clearly illustrate the technical solutions in the one or more embodiments of the specification or the prior art, the drawings needed in the embodiment or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments described in the specification, and those skilled in the art can also obtain other drawings according to these drawings without creative labor;
[0008] Figure 1 A schematic diagram of an implementation environment of a resource allocation processing method provided by the one or more embodiments of the specification;
[0009] Figure 2 A processing flowchart of a resource allocation processing method provided by the one or more embodiments of the specification;
[0010] Figure 3 A processing flowchart of a resource allocation processing method applied to a resource allocation scenario provided by the one or more embodiments of the specification;
[0011] Figure 4A schematic diagram of an embodiment of a resource allocation processing device for one or more embodiments of the present specification;
[0012] Figure 5 A structural schematic diagram of an embodiment of a resource allocation processing device for one or more embodiments of the present specification. DETAILED DESCRIPTION
[0013] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of the present specification, the technical solutions in one or more embodiments of the present specification will be described clearly and completely below in conjunction with the drawings in one or more embodiments of the present specification. Obviously, the described embodiments are only a part of the embodiments of the present specification, rather than all the embodiments. Based on one or more embodiments of the present specification, all other embodiments obtained by those skilled in the art without creative labor should belong to the protection scope of the present document.
[0014] The resource allocation processing method provided by one or more embodiments of the present specification can be applied to the implementation environment of resource allocation, and the implementation environment includes at least a resource allocation system 101 and a resource processing system 102. Figure 1
[0015] The resource allocation system 101 is configured to obtain a resource request sent by the resource processing system 102, perform matching detection on a resource allocation identifier generated based on a field type in the resource request, and perform interception processing and risk detection processing on the resource request if the detection fails. The resource allocation system 101 can be deployed with a processing component 101-1. The resource allocation system 101 can also be configured with a server and a database to perform request processing on the resource request and store resource allocation templates.
[0016] The resource processing system 102 is configured to send a resource request to the resource allocation system 101. The resource processing system 102 can be configured with a server. The server can be a single server, a server cluster composed of several servers, or one or more cloud servers in a cloud computing platform.
[0017] The implementation environment can also include a resource settlement system 103. The resource settlement system 103 can obtain a resource allocation result sent by the resource allocation system and perform synchronization, accounting and / or archiving on the resource allocation result. The resource settlement system 103 can also be configured with a server. The server can be a single server, a server cluster composed of several servers, or one or more cloud servers in a cloud computing platform.
[0018] The implementation environment can also include an auditor access terminal 104; the auditor access terminal 104 is used to obtain and display a configuration page of the matching rule matched by the resource allocation system 101 to perform matching detection, so that the auditor continues to submit rule configuration data based on the configuration page, thereby cooperating with the resource allocation system 101 to process resources; the auditor access terminal 104 can be a mobile phone, a personal computer, a tablet computer, an e-book reader, a device for information interaction based on VR (Virtual Reality), AR (Augmented Reality), a vehicle terminal, an IoT device, a wearable smart device, a laptop computer, and a desktop computer, etc.
[0019] In the implementation environment, the resource allocation system 101 obtains the resource request sent by the resource processing system 102 in the resource link, and calls the deployed processing component 101-1 to perform field analysis on the resource request to obtain at least one field type. The resource allocation system 101 generates a resource allocation identifier according to the at least one field type, and matches the resource allocation identifier with the resource allocation template in the resource allocation template library. If the detection fails, the resource allocation system 101 calls the processing component 101-1 to intercept the resource request for risk detection processing, thereby improving the security of resource allocation by detecting the compliance of the resource request.
[0020] One or more embodiments of the resource allocation processing method provided in the specification are as follows:
[0021] Referring to Figure 2 The resource allocation processing method provided in the embodiment specifically includes steps S202 to S206.
[0022] Step S202, obtaining a resource request sent by a resource processing system in a resource link, and calling a processing component deployed by the resource allocation system to perform field analysis on the resource request to obtain at least one field type.
[0023] In the embodiment, the resource processing system refers to a system that performs preliminary processing and / or forwarding on a resource request submitted by a user in a resource link. The resource processing system is located at an upstream node of the resource allocation system in the resource link to perform resource request sending processing to the resource allocation system. For example, the resource processing system can be a resource transaction system.
[0024] The resource allocation system is a system that receives a resource request sent by a resource processing system in a resource link and performs resource allocation processing according to the resource request. For example, the resource allocation system can be an institutional resource system. In this case, the resource allocation performed by the resource allocation system refers to a process of allocating the ownership of a resource object to a subject in a resource transaction process. For example, the resource allocation can be a resource allocation from a user resource account to an institutional resource account. The subject can be a resource provider and / or a resource associated party.
[0025] The resource link can also include a resource settlement system at a downstream node of the resource allocation system. The resource settlement system can be a system located at the end of the resource link, used to synchronize, account and / or archive the resource allocation results sent by the resource allocation system.
[0026] In a specific implementation, in order to improve the accuracy of subsequent request processing of the resource request and reduce the probability of false interception of the resource request due to misjudgment, a processing component can be called to perform field analysis on the obtained resource request to obtain a field type. Specifically, based on obtaining the resource request sent by the resource processing system in the resource link, a processing component deployed in the resource allocation system is called to perform field analysis on the resource request, so as to obtain at least one field type.
[0027] The processing component is a functional unit for processing the resource request. The processing component can perform field analysis on the resource request and intercept the resource request that fails the matching detection. Specifically, the processing component can be a resource processing tool, a resource processing tool package, a request processing tool, a request processing tool package or a resource processing module. For example, the processing component can be an SDK (Software Development Kit).
[0028] In the process of obtaining the field type, the field type identifier of each field type can be further determined based on the determination of the field type, so as to obtain the field type identifier. In an optional embodiment provided by the present embodiment, the field type identifier is obtained in the following manner: at least one field type is obtained by performing field identification on the resource request, and the field type identifier of each field type is determined.
[0029] Specifically, the processing component can be called to analyze the resource request first, so as to obtain at least one field type by performing field identification on the resource request. Then, the field type identifier of each field type can be further determined based on the identified field type by using a preset field library, so as to obtain the field type identifier.
[0030] In addition, in addition to the above-mentioned implementation of field type identification and field type determination, the field type identification can also be read directly based on the resource request. In another optional implementation provided by the embodiment, the field type identification is obtained in the following manner: reading at least one field type identification in the resource request.
[0031] Here, in the process of obtaining the field type identification, the above-mentioned two implementation manners can be adaptively modified and combined. For example, the field type identification is obtained in the following manner: reading at least one field type identification in the resource request, and if the reading fails, performing field identification on the resource request to obtain at least one field type, and determining the field type identification of each field type.
[0032] In step S204, a resource allocation identification is generated according to the at least one field type, and the resource allocation identification is matched and detected with a resource allocation template in the resource allocation template library.
[0033] As described above, based on the field analysis of the resource request to obtain at least one field type, the resource allocation identification can be further generated according to the field type, and the matching detection can be performed based on the resource allocation identification and the resource allocation template. Optionally, the resource allocation identification is generated according to the field type identification corresponding to the at least one field type.
[0034] In specific implementation, the at least one field type obtained by analysis is combined or converted according to a predefined rule to generate a resource allocation identification, and then the generated resource allocation identification is matched and detected with a template in the resource allocation template library, so as to determine whether the resource allocation template corresponding to the resource allocation identification is a newly added resource allocation template in a newly added allocation scenario.
[0035] The resource allocation identification refers to an identification used to represent a specific resource allocation scenario, and the resource allocation identification can be obtained by combining a plurality of field types according to a preset rule. The resource allocation template refers to a service type of a resource allocation service in a specific resource allocation scenario or a processing type of a request processing for resource allocation. Each resource allocation template can correspond to a historical allocation scenario that has been verified. Optionally, the resource allocation template corresponds to one-to-one with the allocation scenario of the resource allocation system.
[0036] In the process of constructing the resource allocation template, the historical field type identification can be obtained by field analysis of the historical verified resource request, and the resource allocation identification can be obtained by combining the historical field type identification according to a preset rule, and the resource allocation identification can be associated with the resource allocation template. Optionally, the resource allocation template is constructed according to the field type identification of the resource processing in the corresponding allocation scenario.
[0037] In the specific implementation process, in the process of matching detection based on the resource allocation identifier and the resource allocation template, in order to improve the efficiency and accuracy of the matching detection, the cache query can be preferentially performed, and if the cache is not hit, the matching detection is further performed based on the database in which the resource allocation template is stored; in an optional implementation provided in the embodiment, the matching detection of the resource allocation identifier and the resource allocation template in the resource allocation template library comprises:
[0038] detecting whether there is a cached resource template matching the resource allocation identifier in the cache of the resource allocation system;
[0039] If not, the matching detection of the resource allocation identifier is performed in the pre-stored template library based on the matching rule;
[0040] If there is no pre-stored resource template matching the resource allocation identifier in the pre-stored template library, it is determined that the detection fails;
[0041] If there is a pre-stored resource template matching the resource allocation identifier in the pre-stored template library, it is determined that the detection passes.
[0042] Specifically, in the process of matching detection of the resource allocation identifier and the resource allocation template in the resource allocation template library, first, whether there is a cached resource template matching the resource allocation identifier in the cache of the resource allocation system can be detected, if there is a cached resource template matching the resource allocation identifier in the cache of the resource allocation system, it is determined that the matching detection passes; otherwise, if there is no cached resource template matching the resource allocation identifier in the cache of the resource allocation system, the matching detection of the resource allocation identifier is performed in the pre-stored template library based on the matching rule; if there is a pre-stored resource template matching the resource allocation identifier in the pre-stored template library, it is determined that the detection passes, and if there is no pre-stored resource template matching the resource allocation identifier in the pre-stored template library, it is determined that the detection fails.
[0043] Among them, in order to realize more refined risk control to adapt to the risk management needs of different allocation scenarios and / or different resource processing nodes, the matching rule for matching detection of the resource allocation identifier can be preconfigured by the auditor through the rule configuration page issued; in an optional implementation provided in the embodiment, the matching rule is generated in the following manner:
[0044] The rule configuration page for matching rule configuration is issued to the access terminal through the front-end management interface of the resource allocation system;
[0045] The matching rule for matching detection is generated based on the rule configuration data submitted by the auditor through the rule configuration page.
[0046] The matching rule refers to a rule set used to determine whether the resource allocation identifier matches the resource allocation template. For example, the matching rule can be a matching rule that requires the resource allocation identifier to be completely consistent with the resource allocation template, or a matching rule that allows partial fields to have error values within a preset error range to achieve partial matching.
[0047] In the process of generating the matching rule, the rule configuration page for matching rule configuration is issued to the access terminal through the front-end management interface, and the access terminal can receive and display the rule configuration page accordingly. After the access terminal displays the rule configuration page, the reviewer can select and submit rule configuration data based on the rule configuration page, such as selecting a matching mode and / or selecting a matching field. Then, the access terminal submits the rule configuration data, based on which the rule configuration data submitted by the reviewer through the rule configuration page is obtained and the matching rule for matching detection is generated based on the rule configuration data.
[0048] In actual implementation, after the resource allocation identifier is matched with the resource allocation template in the resource allocation template library, a detection result of the matching detection can be obtained. If the detection result is a pass, resource allocation processing can be performed based on the resource request. In an optional embodiment of the present embodiment, if the execution result after the matching detection operation of the resource allocation identifier with the resource allocation template in the resource allocation template library is a pass, the following operation is performed:
[0049] Resource allocation is performed on the resource object associated with the resource request based on the resource request, and template synchronization is performed on the cache of the resource allocation system based on the pre-stored resource template.
[0050] Specifically, if the execution result after the matching detection operation of the resource allocation identifier with the resource allocation template in the resource allocation template library is a pass, it indicates that the resource allocation identifier is consistent with the resource allocation template in the resource allocation template library. In this case, it indicates that the resource request corresponding to the resource allocation identifier is a historical resource request that has passed compliance verification. Therefore, resource allocation can be performed on the resource object associated with the resource request based on the resource request. Optionally, the resource allocation is performed based on the resource type field and / or the participant field obtained by field analysis of the resource request. On the other hand, after the matching detection passes, the pre-stored resource template in the pre-stored template library that matches the resource allocation template is synchronized to the cache of the resource allocation system to update the cache resource template in the cache of the resource allocation system.
[0051] In the process of resource allocation, the resource allocation can be performed based on the resource type field and / or the participant field obtained by field analysis of the resource request. In an optional embodiment of the present embodiment, the resource allocation includes:
[0052] The resource allocation strategy is determined based on the resource type field and / or the participating entity field.
[0053] The resource allocation strategy determines at least one participating entity for resource allocation and the corresponding resource allocation share for each participating entity.
[0054] The resource status of each participating entity is updated based on the resource allocation share.
[0055] Among them, the resource type field refers to the field used to characterize the type of resource in which the resource is transferred, such as loan type and repayment type; the participating entity field refers to the field used to characterize the role type of the participating parties in the resource transfer process, such as payer, payee, platform and / or guarantor.
[0056] Specifically, in the process of resource allocation, the resource allocation strategy is first determined based on the resource type field and / or the participating entity field. Based on the determined resource allocation strategy, at least one participating entity and the corresponding resource allocation share of each participating entity are determined. For example, the resource allocation share of each participating entity can be calculated according to the resource allocation formula contained in the resource allocation strategy. After obtaining the resource allocation share and the participating entities, the resource status of each participating entity is updated based on the resource allocation share.
[0057] Here, in determining the resource allocation strategy, in addition to the above-mentioned implementation method of determining the resource allocation strategy based on the resource type field and / or participating entity field, the resource type field and / or participating entity field can also be replaced with other fields of the resource request, or other fields of the resource request can be introduced on this basis, such as resource amount field, time field and / or risk level field; after the resource type field and / or participating entity field are replaced with other fields or other fields are introduced on this basis, the process of determining the resource allocation strategy based on the replaced or introduced fields is similar to the above-mentioned process of determining the resource allocation strategy based on the resource type field and / or participating entity field. You can refer to the above-mentioned process of determining the resource allocation strategy based on the resource type field and / or participating entity field and make adaptive modifications, changes or deletions according to the needs of the actual implementation process.
[0058] In addition, in addition to the implementation manners of determining the resource allocation strategy and allocating resources according to the resource allocation strategy provided above, the resource allocation can also be performed directly based on the field corresponding to the at least one field type obtained by field parsing on the resource request; in this case, the resource allocation includes: determining at least one participating subject for resource allocation based on the resource type field and / or the participating subject field, and determining the resource allocation share corresponding to each participating subject based on the resource amount field; and updating the resource state of each participating subject based on the resource allocation share.
[0059] In actual application, after the resource allocation system allocates resources to the resource object associated with the resource request based on the resource request, a resource allocation result of the resource allocation can be obtained; in this case, the resource allocation system can synchronize the resource allocation result to the resource settlement system of the downstream node located in the resource link, so that the resource settlement system synchronizes, accounts and / or archives the resource allocation result.
[0060] In step S206, if the detection fails, the processing component is called to intercept the resource request for risk detection processing.
[0061] As described above, after the resource allocation identifier is matched with the resource allocation template in the resource allocation template library for detection, if the detection result of the matching detection is that the detection fails, it indicates that the allocation scenario corresponding to the current resource request is a first-occurred allocation scenario, and then the resource request is intercepted.
[0062] In specific implementation, after the resource allocation identifier is matched with the resource allocation template in the resource allocation template library for detection, if there is no resource allocation template matched with the resource allocation identifier in the cache and the pre-stored template library of the resource allocation system, it is determined that the detection fails; in this case, the processing component is called to intercept the resource request, and the intercepted resource request is subjected to risk detection processing.
[0063] In specific execution process, in the process of intercepting the resource request, the resource request running exception can be thrown, so as to prevent the execution of the resource request through the rollback mechanism, so as to achieve the purpose of intercepting the resource request; in an optional implementation manner provided in this embodiment, the process of intercepting the resource request includes:
[0064] An exception message of the resource request is generated, and the pre-resource operation associated with the resource request is subjected to rollback processing based on the exception message.
[0065] Specifically, if the detection fails, an exception message of the resource request is generated, the pre-resource operation associated with the resource request is determined based on the exception message, and a rollback operation is sequentially performed on the pre-resource operation.
[0066] Optionally, the rollback processing includes: undoing the resource locking operation in the preceding resource operation, and undoing the data state change operation in the preceding resource operation.
[0067] For example, an exception message of the resource request is generated, and the exception message can include a request identifier of the resource request, an exception type identifier, a request timestamp, an involved resource allocation identifier, and / or a log index of the preceding operation execution; then, the preceding resource operation associated with the resource request is undone based on the exception message. The undoing can be releasing the temporarily frozen resource share by calling the resource management service interface for the resource locking operation performed in the preceding stage, and can also be performing reverse updating according to the state snapshot saved before the operation for the data state change operation completed in the preceding stage.
[0068] Thereafter, after the interception processing of the resource request, risk detection processing of the resource request is performed; in an optional implementation provided by the embodiment, the risk detection processing of the resource request includes:
[0069] The resource request is assigned to an auditor according to an auditing rule, so that the auditor performs auditing processing on the resource request; the auditing rule is determined based on the associated resource amount of the resource request;
[0070] If the auditing processing is passed, a resource allocation template corresponding to the resource allocation identifier is written into the resource allocation template library to update the resource allocation template library.
[0071] Specifically, in the risk detection processing of the resource request, the resource request is assigned to an auditor according to an auditing rule, for example, for the same batch of resource requests, the resource requests are assigned to the auditor according to the amount of the associated resource amount of each resource request, so as to determine the priority of the auditing processing on the resource request. After the resource request is assigned to the auditor, the auditor performs the auditing processing on the resource request. If the auditing processing is passed, a resource allocation template corresponding to the resource allocation identifier is written into the resource allocation template library to update the resource allocation template library. Otherwise, if the auditing processing is not passed, no processing is performed or an exception message of the resource request processing is generated.
[0072] In the auditing processing of the resource request by the auditor, path verification, field verification, and / or amount verification can be performed on the resource request; in an optional implementation provided by the embodiment, the auditing processing of the resource request includes:
[0073] The resource flow path of the resource request is subjected to path verification, the request field of the resource request is subjected to field verification, and / or the associated resource amount of the resource request is subjected to amount verification.
[0074] Specifically, in the process of auditing the resource request, the resource flow path of the resource request can be path-verified, such as the complete link of the resource in the resource request from the initiator to the receiver can be verified to determine the rationality and compliance of the resource flow path; the request field of the resource request can also be field-verified, such as the integrity, format specification, logical consistency and / or value validity of the request field of the resource request; the amount of associated resources of the resource request can also be amount-verified, such as the authenticity, rationality and / or risk level of the amount of associated resources to prevent the flow of abnormal large resources.
[0075] To sum up, the resource allocation processing method provided in the embodiment, in the process of request processing, after the resource allocation system obtains the resource request sent by the resource processing system in the resource link, in order to improve the accuracy of subsequent request processing of the resource request and reduce the probability of misjudgment caused by misjudgment, the processing component is called to parse the resource request to obtain at least one field type; then the resource allocation identifier is generated according to the at least one field type, and the generated resource allocation identifier is matched with the template in the resource allocation template library for detection, so as to determine whether the resource allocation template corresponding to the resource allocation identifier is a resource allocation template in a new allocation scenario; thereafter, if the detection fails, the processing component is called to intercept the resource request, and the intercepted resource request is subjected to risk detection processing, so as to improve the security of resource allocation by detecting the compliance of the resource request.
[0076] The following takes the application of a resource allocation processing method provided in the embodiment in a resource allocation scenario as an example, combined with Figure 3 The resource allocation processing method provided in the embodiment is further described, referring to Figure 3 The resource allocation processing method applied in the resource allocation scenario specifically includes the following steps.
[0077] Step S302, obtaining the resource request sent by the upstream resource processing system in the resource link.
[0078] Step S304, calling the processing component deployed by the resource allocation system to parse the resource request to obtain at least one field type.
[0079] Step S306, generating a resource allocation identifier according to the at least one field type.
[0080] Step S308, detecting whether there is a cached resource template matching the resource allocation identifier in the cache of the resource allocation system; if not, executing step S310.
[0081] Step S310, detecting whether there is a pre-stored resource template matching the resource allocation identifier in the pre-stored template library based on the matching rule; if not, executing steps S312 to S316; if yes, executing steps S318 to S320.
[0082] Step S312, calling a processing component to generate an exception message of the resource request, and performing rollback processing on the preceding resource operation associated with the resource request based on the exception message.
[0083] Optionally, the rollback processing includes: performing revocation processing on a resource locking operation in the preceding resource operation, and performing revocation processing on a data state change operation in the preceding resource operation.
[0084] Step S314, performing task allocation processing on the resource request according to the auditing rule, so that an auditor performs auditing processing on the resource request; if the auditing processing is passed, executing step S316.
[0085] Step S316, writing the resource allocation template corresponding to the resource allocation identifier into the resource allocation template library to update the resource allocation template library.
[0086] Step S318, performing template synchronization to the cache of the resource allocation system based on the pre-stored resource template.
[0087] Step S320, performing resource allocation on the resource object associated with the resource request based on the resource request.
[0088] Thereafter, the resource allocation result of the resource allocation system can be sent to the resource settlement system, so that the resource settlement system synchronizes, accounts and / or archives the resource allocation result.
[0089] It should be noted that any one step or combination of multiple steps in steps S302 to S316 or steps S302 to S310 and steps S318 to S320 can be combined with any one step or multiple steps of steps S202 to S206 to form a new implementation manner according to the needs of implementation deployment; in addition, any one or more technical features in steps S302 to S316 or steps S302 to S310 and steps S318 to S320 can be combined with any one or more technical features provided in steps S202 to S206 to form a new implementation manner according to the actual deployment needs; or, any one or more technical features in steps S302 to S316 or steps S302 to S310 and steps S318 to S320 can be replaced by any one or more technical features provided in steps S202 to S206 to form a new implementation manner according to the actual deployment needs, which will not be described one by one here.
[0090] The resource allocation processing apparatus provided in the specification implements, for example, the following:
[0091] In the above embodiment, a resource allocation processing method is provided, and a resource allocation processing apparatus corresponding thereto is also provided, which will be described below with reference to the accompanying drawings.
[0092] Referring to Figure 4 which shows a schematic diagram of an embodiment of a resource allocation processing apparatus provided in the present embodiment.
[0093] Since the apparatus embodiment corresponds to the method embodiment, it is described more simply, and the relevant part can be seen from the above-mentioned corresponding description of the method embodiment. The apparatus embodiment described below is only schematic.
[0094] The present embodiment provides a resource allocation processing apparatus running in a resource allocation system, which comprises:
[0095] The request acquisition module 402 is configured to acquire a resource request sent by a resource processing system in a resource link, call a processing component deployed by the resource allocation system to perform field analysis on the resource request to obtain at least one field type;
[0096] The matching detection module 404 is configured to generate a resource allocation identifier according to the at least one field type, and perform matching detection on the resource allocation identifier and a resource allocation template in a resource allocation template library; the resource allocation template corresponds one-to-one to an allocation scene of the resource allocation system.
[0097] If the detection fails, the request interception module 406 is run;
[0098] The request interception module 406 is configured to call the processing component to perform interception processing on the resource request, so as to perform risk detection processing on the resource request.
[0099] For the convenience of description, the above apparatus is described in various modules or units according to functions. Of course, when implementing one or more of the present specification, the functions of each module or unit can be implemented in the same or more software and / or hardware, or the modules implementing the same function can be combined or implemented by a combination of multiple sub-modules or sub-units. The above-described apparatus embodiment is only schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0100] The resource allocation processing device provided in the specification implements, for example, the following:
[0101] Corresponding to the resource allocation processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a resource allocation processing device for executing the resource allocation processing method provided above. Figure 5 This is a schematic diagram of the structure of a resource allocation processing device provided for one or more embodiments of this specification.
[0102] This embodiment provides a resource allocation processing device, including:
[0103] like Figure 5 As shown, device 500 mainly consists of a communication interface 502, a user interface 504, a processor 506, and a data storage 508. These components are interconnected and communicate with each other via a system bus, network, or other connection mechanism 510. The communication interface 502 enables device 500 to communicate with other devices, access networks, and transmission networks via analog or digital modulation. For example, the communication interface 502 may include a chipset and antenna for wireless communication with a radio access network or access point. Furthermore, the communication interface 502 can be a wired interface such as Ethernet, Token Ring, or a USB port, or a wireless interface such as Wi-Fi, Bluetooth, Global Positioning System (GPS), or a wide-area wireless interface (e.g., WiMAX or LTE). Of course, the communication interface 502 can also support other forms of physical layer interfaces and standard or proprietary communication protocols. The communication interface 502 may also include multiple physical communication interfaces, such as Wi-Fi, Bluetooth, and wide-area wireless interfaces. The user interface 504 includes receiving user input and providing output to the user. Therefore, user interface 504 may include input components such as a keypad, keyboard, touch-sensitive or presence-sensitive panel, computer mouse, trackball, joystick, microphone, still camera, and video camera, and output components such as a display screen (which may be combined with a touch-sensitive panel), CRT, LCD, LED, display using DLP technology, printer, and other similar devices known or developed in the future. User interface 504 may also generate auditory output via speakers, speaker jacks, audio output ports, audio output devices, headphones, and other similar devices known or developed in the future. In some embodiments, user interface 504 may include software, circuitry, or other forms of logic capable of transmitting and receiving data to and from external user input / output devices. Additionally or alternatively, device 500 may support remote access from other devices via communication interface 502 or another physical interface (not shown). User interface 504 may be configured to receive user input, the position and movement of which may be indicated by indicators or cursors described herein. User interface 504 may also be configured as a display device for rendering or displaying text fragments.
[0104] The processor 506 can include one or more general-purpose processors and / or special-purpose processors. The data storage 508 can include one or more volatile and / or nonvolatile storage components, and can be integrated in whole or in part with the processor 506. The data storage 508 can include removable and non-removable components.
[0105] The processor 506 is capable of executing program instructions 518 (e.g., compiled or interpreted program logic and / or machine code) stored in the data storage 508 to implement various functionality described herein. The data storage 508 can include non-transitory computer-readable media having stored thereon program instructions that, when executed by the device 500, are capable of causing the device 500 to perform any of the methods, processes, or functions disclosed in the specification and / or drawings. The execution of the program instructions 518 by the processor 506 can cause the processor 506 to utilize the data 512. For example, the program instructions 518 can include an operating system 522 (e.g., operating system kernel, device drivers, and / or other modules) installed on the device 500 as well as one or more application programs 520 (e.g., a browser, a social application, or a gaming application). Similarly, the data 512 can include operating system data 516 and application data 514. The operating system data 516 is primarily accessible to the operating system 522, while the application data 514 is primarily accessible to the one or more application programs 520. The application data 514 can be located in a file system that is visible to or hidden from the device 500 user. The application programs 520 can communicate with the operating system 512 through one or more application programming interfaces (APIs). These APIs facilitate the application programs 520 reading and / or writing application data 514, transmitting or receiving information via the communication interface 502, receiving or displaying information on the user interface 504, and the like. In some terminology, the application programs 520 can be referred to simply as “apps.” Furthermore, the application programs 520 can be downloaded to the device 500 through one or more online application stores or application markets. However, the application programs can also be installed on the device 500 through other means, such as through a web browser or a physical interface (e.g., a USB port) on the device 500.
[0106] In one particular embodiment, a request processing device includes a memory, and one or more programs, wherein one or more programs are stored in the memory and the one or more programs can include one or more modules, and each module can include a series of computer-executable instructions in the request processing device, and configured to be executed by one or more processors the one or more programs include computer-executable instructions for:
[0107] Obtaining a resource request sent by a resource processing system in a resource link, calling a processing component deployed by the resource allocation system to perform field analysis on the resource request to obtain at least one field type;
[0108] Generating a resource allocation identifier according to the at least one field type, and performing matching detection on the resource allocation identifier and a resource allocation template in a resource allocation template library; the resource allocation template corresponds to one allocation scenario of resource allocation of the resource allocation system;
[0109] If the detection fails, calling the processing component to perform interception processing on the resource request to perform risk detection processing on the resource request.
[0110] The computer-readable storage medium provided in the specification implements, for example, the following:
[0111] According to the resource allocation processing method described above, based on the same technical concept, one or more embodiments of the specification also provide a computer-readable storage medium.
[0112] The computer-readable storage medium provided in the embodiment is used to store computer-executable instructions, and the computer-executable instructions, when executed, implement the following processes:
[0113] Obtaining a resource request sent by a resource processing system in a resource link, calling a processing component deployed by the resource allocation system to perform field analysis on the resource request to obtain at least one field type;
[0114] Generating a resource allocation identifier according to the at least one field type, and performing matching detection on the resource allocation identifier and a resource allocation template in a resource allocation template library; the resource allocation template corresponds to one allocation scenario of resource allocation of the resource allocation system;
[0115] If the detection fails, calling the processing component to perform interception processing on the resource request to perform risk detection processing on the resource request.
[0116] It should be noted that the embodiments of the computer-readable storage medium in the specification and the embodiments of the resource allocation processing method in the specification are based on the same inventive concept, so the specific implementation of the embodiments can be referred to the implementation of the corresponding method described above, and the repeated parts will not be described here.
[0117] The computer program product provided in the specification implements, for example, the following:
[0118] According to the resource allocation processing method described above, based on the same technical concept, one or more embodiments of the specification also provide a computer program product.
[0119] A computer program product comprises computer programs / instructions which, when executed by a processor, implement the following steps:
[0120] Obtaining a resource request sent by a resource processing system in a resource link, calling a processing component deployed by the resource allocation system to perform field analysis on the resource request to obtain at least one field type;
[0121] Generating a resource allocation identifier according to the at least one field type, and matching the resource allocation identifier with a resource allocation template in a resource allocation template library; the resource allocation template corresponds to one allocation scenario of the resource allocation system;
[0122] If the detection fails, calling the processing component to perform interception processing on the resource request to perform risk detection processing on the resource request.
[0123] It should be noted that the embodiments of the computer program product in the specification and the embodiments of the resource allocation processing method in the specification are based on the same inventive concept, so the specific implementation of the embodiments can be referred to the implementation of the corresponding method, and the repeated parts will not be described.
[0124] Each embodiment in the specification is described in a progressive manner, and the same or similar parts between each embodiment can be referred to each other. Each embodiment focuses on the difference from other embodiments, such as the device embodiment, the equipment embodiment and the computer readable storage medium embodiment, which are similar to the method embodiment, so the description is relatively simple. Please refer to the part of the method embodiment for the related content in the device embodiment, the equipment embodiment and the computer readable storage medium embodiment.
[0125] Although the embodiments of the specification provide method steps as described in the embodiments or flowcharts, it can be understood that the order of steps listed in the embodiments or flowcharts is only one of the many execution orders, and does not represent the only execution order. Therefore, when the claims involve method steps, the changes and adjustments of the order of the steps or the parallel between the steps are also within the protection scope of the claims. The specification uses specific words to describe the embodiments of the specification. As "one embodiment", "an embodiment", and / or "some embodiments" mean some features, structures or characteristics related to at least one embodiment of the specification. Therefore, it should be emphasized and noted that the "an embodiment" or "one embodiment" or "one alternative embodiment" mentioned in different positions in the specification does not necessarily refer to the same embodiment. In addition, the skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples without contradiction.
[0126] The above described embodiments of the present description have been described. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In certain implementations, multitasking and parallel processing can be advantageous or necessary.
[0127] In the 1930s, it was clear to distinguish whether an improvement in a technology was in hardware (e.g., improvement in circuit structures of diodes, transistors, switches, etc.) or in software (e.g., improvement in method flow). However, as technology has evolved, many improvements in method flow today can be considered as direct improvements in hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structures by programming the improved method flow into hardware circuits. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using hardware entity modules. For example, a programmable logic device (PLD) (e.g., a field programmable gate array (FPGA)) is an integrated circuit whose logic function is determined by user programming of the device. A digital system is "integrated" on a piece of PLD by the designer programming it by himself, without having to ask a chip manufacturer to design and manufacture a special integrated circuit chip. Moreover, instead of manually fabricating integrated circuit chips, this programming is now mostly implemented using "logic compiler" software, which is similar to the software compiler used when developing programs, and the original code before compilation also has to be written in a specific programming language, which is called a hardware description language (HDL), and there are many such languages, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., and the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be aware that it is easy to obtain hardware circuits that implement the logic method flow by simply logically programming the method flow in the above-mentioned hardware description languages and programming it into an integrated circuit.
[0128] The controller can be implemented in any suitable manner, for example, the controller can take the form of a microprocessor or processor and a computer readable medium storing computer readable program code (e.g. software or firmware) executable by the (micro)processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 525D, Atmel AT91SAM, Microchip PIC18F25K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that in addition to being implemented in purely computer readable program code the controller can equally well be implemented as logic gates, switches, an ASIC, a programmable logic controller and an embedded microcontroller to perform the same functions by means of logic programming of the method steps. The controller can thus be considered as a hardware component and the means included therein for performing the various functions can be considered as structures within the hardware component. Alternatively, the means for performing the various functions can be considered as both a software module implementing the method and as a structure within the hardware component.
[0129] The systems, apparatuses, modules or units illustrated by the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0130] For the sake of description, the above apparatuses are described in various units by functions respectively. Of course, the functions of each unit can be implemented in the same or multiple software and / or hardware in the implementation of the embodiments of the present specification.
[0131] Those skilled in the art will appreciate that one or more embodiments of the present specification can be provided as a method, a system or a computer program product. Therefore, one or more embodiments of the present specification can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present specification can take the form of a computer program product implemented on one or more computer readable storage media (including but not limited to disk storage, CD-ROMs, optical storage devices, etc.) containing computer usable program code.
[0132] The specification is presented with reference to flow diagrams and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each block of the flow diagrams and / or block diagrams, and combinations of blocks in the flow diagrams and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing element or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus (system) and / or computer program product according to embodiments of the specification. It will be understood that each block of the flow diagrams and / or block diagrams, and combinations of blocks in the flow diagrams and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing element or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus (system) and / or computer program product according to embodiments of the specification. It will be understood that each block of the flow diagrams and / or block diagrams, and combinations of blocks in the flow diagrams and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing element or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks.
[0133] These computer program instructions can also be loaded into a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus (system) and / or computer program product according to embodiments of the specification. It will be understood that each block of the flow diagrams and / or block diagrams, and combinations of blocks in the flow diagrams and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing element or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus (system) and / or computer program product according to embodiments of the specification. It will be understood that each block of the flow diagrams and / or block diagrams, and combinations of blocks in the flow diagrams and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing element or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks.
[0134] These computer program instructions can also be loaded into a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus (system) and / or computer program product according to embodiments of the specification. It will be understood that each block of the flow diagrams and / or block diagrams, and combinations of blocks in the flow diagrams and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing element or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus (system) and / or computer program product according to embodiments of the specification. It will be understood that each block of the flow diagrams and / or block diagrams, and combinations of blocks in the flow diagrams and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing element or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks.
[0135] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0136] The memory can include non-persistent memory, Random Access Memory (RAM), and / or non-volatile memory, such as Read Only Memory (ROM) or flash memory, among others in a computer readable medium. The memory is an example of computer readable media.
[0137] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer-readable storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0138] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising at least one…" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0139] One or more embodiments of this specification can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a particular task or implement a particular abstract data type. One or more embodiments of this specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0140] The above description is merely an embodiment of this document and is not intended to limit the scope of this document. Various modifications and variations can be made to this document by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this document should be included within the scope of the claims of this document.
Claims
1. A resource allocation processing method, applied to a resource allocation system, the method comprising: Obtain the resource request sent by the resource processing system in the resource link, and call the processing component deployed by the resource allocation system to parse the field of the resource request to obtain at least one field type; A resource allocation identifier is generated based on at least one field type, and the resource allocation identifier is matched and detected against resource allocation templates in the resource allocation template library; the resource allocation templates correspond one-to-one with the allocation scenarios in which the resource allocation system allocates resources; the resource allocation templates include the service type of the resource allocation service or the processing type of the request processing for resource allocation in the resource allocation scenario; the resource allocation includes updating the resource status of each participating entity in the resource allocation according to the resource allocation share determined based on the resource allocation strategy; If the detection fails, the processing component is invoked to intercept the resource request in order to perform risk detection processing on the resource request.
2. The resource allocation processing method according to claim 1, wherein the resource allocation template is constructed based on the field type identifier for resource processing in the corresponding allocation scenario.
3. The resource allocation processing method according to claim 1, wherein the interception processing of the resource request includes: Generate an exception message for the resource request, and roll back the preceding resource operations associated with the resource request based on the exception message; The rollback process includes: reversing the resource locking operation in the preceding resource operation and reversing the data state change operation in the preceding resource operation.
4. The resource allocation processing method according to claim 1, wherein the risk detection processing of the resource request includes: The resource requests are assigned tasks according to the review rules so that reviewers can review and process them. The review rules are determined based on the amount of resources associated with the resource request; If the review is approved, the resource allocation template corresponding to the resource allocation identifier will be written into the resource allocation template library to update the resource allocation template library.
5. The resource allocation processing method according to claim 1, wherein matching the resource allocation identifier with resource allocation templates in the resource allocation template library includes: The system checks whether a cached resource template matching the resource allocation identifier exists in the cache of the resource allocation system. If not, perform a matching detection on the resource allocation identifier in the pre-stored template library based on the matching rules; If there is no pre-stored resource template in the pre-stored template library that matches the resource allocation identifier, the detection is determined to have failed.
6. The resource allocation processing method according to claim 5, wherein the matching rule is generated in the following manner: The resource allocation system sends a rule configuration page to the access terminal for configuring the matching rules through its front-end management interface. The matching rules are generated based on the rule configuration data submitted by the reviewers through the rule configuration page to perform the matching detection.
7. The resource allocation processing method according to claim 5, if the execution result after the matching detection operation of the resource allocation identifier with the resource allocation template in the resource allocation template library is a pass, the following operation is performed: Based on the resource request, resource allocation is performed on the resource object associated with the resource request, and template synchronization is performed on the cache of the resource allocation system based on the pre-stored resource template; in, The resource allocation is performed based on the resource type field and / or the participating subject field obtained by parsing the resource request.
8. The resource allocation processing method according to claim 7, wherein the resource allocation includes: The resource allocation strategy for allocating the resources is determined based on the resource type field and / or the participating entity field. Based on the resource allocation strategy, at least one participating entity and the corresponding resource allocation share for each participating entity are determined. The resource status of each participating entity is updated based on the resource allocation share.
9. The resource allocation processing method according to claim 1, wherein the resource allocation identifier is generated based on the field type identifier corresponding to the at least one field type; The field type identifier is obtained in the following way: The resource request is subjected to field identification to obtain at least one field type, and the field type identifier of each field type is determined; or, at least one field type identifier in the resource request is read.
10. The resource allocation processing method according to claim 4, wherein the step of reviewing the resource request includes: The resource flow path of the resource request is validated, the request fields of the resource request are validated, and / or the associated resource amount of the resource request is validated.
11. A resource allocation processing apparatus, operating in a resource allocation system, the apparatus comprising: The request acquisition module is configured to acquire resource requests sent by the resource processing system in the resource link, and call the processing component deployed by the resource allocation system to parse the resource requests to obtain at least one field type; The matching and detection module is configured to generate a resource allocation identifier based on at least one field type, and perform matching and detection between the resource allocation identifier and resource allocation templates in the resource allocation template library; the resource allocation templates correspond one-to-one with the allocation scenarios in which the resource allocation system performs resource allocation; the resource allocation templates include the service type of the resource allocation service or the processing type of the request processing for resource allocation in the resource allocation scenario; the resource allocation includes updating the resource status of each participating entity in the resource allocation according to the resource allocation share determined based on the resource allocation strategy; If the detection fails, the request interception module will be executed. The request interception module is configured to call the processing component to intercept the resource request in order to perform risk detection processing on the resource request.
12. A resource allocation and processing device, comprising: processor; And, a memory configured to store computer-executable instructions, which, when executed, cause the processor to: Obtain the resource request sent by the resource processing system in the resource link, and call the processing component deployed by the resource allocation system to parse the field of the resource request to obtain at least one field type; A resource allocation identifier is generated based on at least one field type, and the resource allocation identifier is matched and detected against resource allocation templates in the resource allocation template library; the resource allocation templates correspond one-to-one with the allocation scenarios in which the resource allocation system allocates resources; the resource allocation templates include the service type of the resource allocation service or the processing type of the request processing for resource allocation in the resource allocation scenario; the resource allocation includes updating the resource status of each participating entity in the resource allocation according to the resource allocation share determined based on the resource allocation strategy; If the detection fails, the processing component is invoked to intercept the resource request in order to perform risk detection processing on the resource request.
13. A computer-readable storage medium for storing computer-executable instructions that, when executed, implement the steps of the method of claim 1.
Citation Information
Patent Citations
Resource accounting processing method and device, computer equipment, readable storage medium and program product
CN119205345A
Resource processing method and device
CN120258965A